OLD | NEW |
(Empty) | |
| 1 #library('html'); |
| 2 |
| 3 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 4 // for details. All rights reserved. Use of this source code is governed by a |
| 5 // BSD-style license that can be found in the LICENSE file. |
| 6 |
| 7 // DO NOT EDIT |
| 8 // Auto-generated dart:html library. |
| 9 |
| 10 |
| 11 |
| 12 |
| 13 |
| 14 // TODO(sra): What 'window' do we get in a worker? Perhaps this |
| 15 // should return the interface type. |
| 16 Window get window() native "return window;"; |
| 17 _WindowJs get _window() native "return window;"; |
| 18 |
| 19 Document get document() native "return window.document.documentElement;"; |
| 20 _DocumentJs get _document() native "return window.document.documentElement;"; |
| 21 |
| 22 class _AbstractWorkerJs implements AbstractWorker native "*AbstractWorker" { |
| 23 |
| 24 _AbstractWorkerEventsImpl get on() => |
| 25 new _AbstractWorkerEventsImpl(this); |
| 26 |
| 27 void _addEventListener(String type, EventListener listener, [bool useCapture =
null]) native "this.addEventListener(type, listener, useCapture);"; |
| 28 |
| 29 bool _dispatchEvent(_EventJs evt) native "return this.dispatchEvent(evt);"; |
| 30 |
| 31 void _removeEventListener(String type, EventListener listener, [bool useCaptur
e = null]) native "this.removeEventListener(type, listener, useCapture);"; |
| 32 } |
| 33 |
| 34 class _AbstractWorkerEventsImpl extends _EventsImpl implements AbstractWorkerEve
nts { |
| 35 _AbstractWorkerEventsImpl(_ptr) : super(_ptr); |
| 36 |
| 37 EventListenerList get error() => _get('error'); |
| 38 } |
| 39 |
| 40 class _AnchorElementJs extends _ElementJs implements AnchorElement native "*HTML
AnchorElement" { |
| 41 |
| 42 String charset; |
| 43 |
| 44 String coords; |
| 45 |
| 46 String download; |
| 47 |
| 48 String hash; |
| 49 |
| 50 String host; |
| 51 |
| 52 String hostname; |
| 53 |
| 54 String href; |
| 55 |
| 56 String hreflang; |
| 57 |
| 58 String name; |
| 59 |
| 60 final String origin; |
| 61 |
| 62 String pathname; |
| 63 |
| 64 String ping; |
| 65 |
| 66 String port; |
| 67 |
| 68 String protocol; |
| 69 |
| 70 String rel; |
| 71 |
| 72 String rev; |
| 73 |
| 74 String search; |
| 75 |
| 76 String shape; |
| 77 |
| 78 String target; |
| 79 |
| 80 final String text; |
| 81 |
| 82 String type; |
| 83 |
| 84 String toString() native; |
| 85 } |
| 86 |
| 87 class _AnimationJs implements Animation native "*WebKitAnimation" { |
| 88 |
| 89 static final int DIRECTION_ALTERNATE = 1; |
| 90 |
| 91 static final int DIRECTION_NORMAL = 0; |
| 92 |
| 93 static final int FILL_BACKWARDS = 1; |
| 94 |
| 95 static final int FILL_BOTH = 3; |
| 96 |
| 97 static final int FILL_FORWARDS = 2; |
| 98 |
| 99 static final int FILL_NONE = 0; |
| 100 |
| 101 final num delay; |
| 102 |
| 103 final int direction; |
| 104 |
| 105 final num duration; |
| 106 |
| 107 num elapsedTime; |
| 108 |
| 109 final bool ended; |
| 110 |
| 111 final int fillMode; |
| 112 |
| 113 final int iterationCount; |
| 114 |
| 115 final String name; |
| 116 |
| 117 final bool paused; |
| 118 |
| 119 void pause() native; |
| 120 |
| 121 void play() native; |
| 122 } |
| 123 |
| 124 class _AnimationEventJs extends _EventJs implements AnimationEvent native "*WebK
itAnimationEvent" { |
| 125 |
| 126 final String animationName; |
| 127 |
| 128 final num elapsedTime; |
| 129 } |
| 130 |
| 131 class _AnimationListJs implements AnimationList native "*WebKitAnimationList" { |
| 132 |
| 133 final int length; |
| 134 |
| 135 _AnimationJs item(int index) native; |
| 136 } |
| 137 |
| 138 class _AppletElementJs extends _ElementJs implements AppletElement native "*HTML
AppletElement" { |
| 139 |
| 140 String align; |
| 141 |
| 142 String alt; |
| 143 |
| 144 String archive; |
| 145 |
| 146 String code; |
| 147 |
| 148 String codeBase; |
| 149 |
| 150 String height; |
| 151 |
| 152 String hspace; |
| 153 |
| 154 String name; |
| 155 |
| 156 String object; |
| 157 |
| 158 String vspace; |
| 159 |
| 160 String width; |
| 161 } |
| 162 |
| 163 class _AreaElementJs extends _ElementJs implements AreaElement native "*HTMLArea
Element" { |
| 164 |
| 165 String alt; |
| 166 |
| 167 String coords; |
| 168 |
| 169 final String hash; |
| 170 |
| 171 final String host; |
| 172 |
| 173 final String hostname; |
| 174 |
| 175 String href; |
| 176 |
| 177 bool noHref; |
| 178 |
| 179 final String pathname; |
| 180 |
| 181 String ping; |
| 182 |
| 183 final String port; |
| 184 |
| 185 final String protocol; |
| 186 |
| 187 final String search; |
| 188 |
| 189 String shape; |
| 190 |
| 191 String target; |
| 192 } |
| 193 |
| 194 class _ArrayBufferJs implements ArrayBuffer native "*ArrayBuffer" { |
| 195 |
| 196 final int byteLength; |
| 197 |
| 198 _ArrayBufferJs slice(int begin, [int end = null]) native; |
| 199 } |
| 200 |
| 201 class _ArrayBufferViewJs implements ArrayBufferView native "*ArrayBufferView" { |
| 202 |
| 203 final _ArrayBufferJs buffer; |
| 204 |
| 205 final int byteLength; |
| 206 |
| 207 final int byteOffset; |
| 208 } |
| 209 |
| 210 class _AttrJs extends _NodeJs implements Attr native "*Attr" { |
| 211 |
| 212 final bool isId; |
| 213 |
| 214 final String name; |
| 215 |
| 216 final _ElementJs ownerElement; |
| 217 |
| 218 final bool specified; |
| 219 |
| 220 String value; |
| 221 } |
| 222 |
| 223 class _AudioBufferJs implements AudioBuffer native "*AudioBuffer" { |
| 224 |
| 225 final num duration; |
| 226 |
| 227 num gain; |
| 228 |
| 229 final int length; |
| 230 |
| 231 final int numberOfChannels; |
| 232 |
| 233 final num sampleRate; |
| 234 |
| 235 _Float32ArrayJs getChannelData(int channelIndex) native; |
| 236 } |
| 237 |
| 238 class _AudioBufferSourceNodeJs extends _AudioSourceNodeJs implements AudioBuffer
SourceNode native "*AudioBufferSourceNode" { |
| 239 |
| 240 _AudioBufferJs buffer; |
| 241 |
| 242 final _AudioGainJs gain; |
| 243 |
| 244 bool loop; |
| 245 |
| 246 bool looping; |
| 247 |
| 248 final _AudioParamJs playbackRate; |
| 249 |
| 250 void noteGrainOn(num when, num grainOffset, num grainDuration) native; |
| 251 |
| 252 void noteOff(num when) native; |
| 253 |
| 254 void noteOn(num when) native; |
| 255 } |
| 256 |
| 257 class _AudioChannelMergerJs extends _AudioNodeJs implements AudioChannelMerger n
ative "*AudioChannelMerger" { |
| 258 } |
| 259 |
| 260 class _AudioChannelSplitterJs extends _AudioNodeJs implements AudioChannelSplitt
er native "*AudioChannelSplitter" { |
| 261 } |
| 262 |
| 263 class _AudioContextJs implements AudioContext native "*AudioContext" { |
| 264 |
| 265 final num currentTime; |
| 266 |
| 267 final _AudioDestinationNodeJs destination; |
| 268 |
| 269 final _AudioListenerJs listener; |
| 270 |
| 271 EventListener oncomplete; |
| 272 |
| 273 final num sampleRate; |
| 274 |
| 275 _RealtimeAnalyserNodeJs createAnalyser() native; |
| 276 |
| 277 _BiquadFilterNodeJs createBiquadFilter() native; |
| 278 |
| 279 _AudioBufferJs createBuffer(var buffer_OR_numberOfChannels, var mixToMono_OR_n
umberOfFrames, [num sampleRate = null]) native; |
| 280 |
| 281 _AudioBufferSourceNodeJs createBufferSource() native; |
| 282 |
| 283 _AudioChannelMergerJs createChannelMerger() native; |
| 284 |
| 285 _AudioChannelSplitterJs createChannelSplitter() native; |
| 286 |
| 287 _ConvolverNodeJs createConvolver() native; |
| 288 |
| 289 _DelayNodeJs createDelayNode() native; |
| 290 |
| 291 _DynamicsCompressorNodeJs createDynamicsCompressor() native; |
| 292 |
| 293 _AudioGainNodeJs createGainNode() native; |
| 294 |
| 295 _HighPass2FilterNodeJs createHighPass2Filter() native; |
| 296 |
| 297 _JavaScriptAudioNodeJs createJavaScriptNode(int bufferSize) native; |
| 298 |
| 299 _LowPass2FilterNodeJs createLowPass2Filter() native; |
| 300 |
| 301 _MediaElementAudioSourceNodeJs createMediaElementSource(_MediaElementJs mediaE
lement) native; |
| 302 |
| 303 _AudioPannerNodeJs createPanner() native; |
| 304 |
| 305 _WaveShaperNodeJs createWaveShaper() native; |
| 306 |
| 307 void decodeAudioData(_ArrayBufferJs audioData, AudioBufferCallback successCall
back, [AudioBufferCallback errorCallback = null]) native; |
| 308 |
| 309 void startRendering() native; |
| 310 } |
| 311 |
| 312 class _AudioDestinationNodeJs extends _AudioNodeJs implements AudioDestinationNo
de native "*AudioDestinationNode" { |
| 313 |
| 314 final int numberOfChannels; |
| 315 } |
| 316 |
| 317 class _AudioElementJs extends _MediaElementJs implements AudioElement native "*H
TMLAudioElement" { |
| 318 } |
| 319 |
| 320 class _AudioGainJs extends _AudioParamJs implements AudioGain native "*AudioGain
" { |
| 321 } |
| 322 |
| 323 class _AudioGainNodeJs extends _AudioNodeJs implements AudioGainNode native "*Au
dioGainNode" { |
| 324 |
| 325 final _AudioGainJs gain; |
| 326 } |
| 327 |
| 328 class _AudioListenerJs implements AudioListener native "*AudioListener" { |
| 329 |
| 330 num dopplerFactor; |
| 331 |
| 332 num speedOfSound; |
| 333 |
| 334 void setOrientation(num x, num y, num z, num xUp, num yUp, num zUp) native; |
| 335 |
| 336 void setPosition(num x, num y, num z) native; |
| 337 |
| 338 void setVelocity(num x, num y, num z) native; |
| 339 } |
| 340 |
| 341 class _AudioNodeJs implements AudioNode native "*AudioNode" { |
| 342 |
| 343 final _AudioContextJs context; |
| 344 |
| 345 final int numberOfInputs; |
| 346 |
| 347 final int numberOfOutputs; |
| 348 |
| 349 void connect(_AudioNodeJs destination, int output, int input) native; |
| 350 |
| 351 void disconnect(int output) native; |
| 352 } |
| 353 |
| 354 class _AudioPannerNodeJs extends _AudioNodeJs implements AudioPannerNode native
"*AudioPannerNode" { |
| 355 |
| 356 static final int EQUALPOWER = 0; |
| 357 |
| 358 static final int EXPONENTIAL_DISTANCE = 2; |
| 359 |
| 360 static final int HRTF = 1; |
| 361 |
| 362 static final int INVERSE_DISTANCE = 1; |
| 363 |
| 364 static final int LINEAR_DISTANCE = 0; |
| 365 |
| 366 static final int SOUNDFIELD = 2; |
| 367 |
| 368 final _AudioGainJs coneGain; |
| 369 |
| 370 num coneInnerAngle; |
| 371 |
| 372 num coneOuterAngle; |
| 373 |
| 374 num coneOuterGain; |
| 375 |
| 376 final _AudioGainJs distanceGain; |
| 377 |
| 378 int distanceModel; |
| 379 |
| 380 num maxDistance; |
| 381 |
| 382 int panningModel; |
| 383 |
| 384 num refDistance; |
| 385 |
| 386 num rolloffFactor; |
| 387 |
| 388 void setOrientation(num x, num y, num z) native; |
| 389 |
| 390 void setPosition(num x, num y, num z) native; |
| 391 |
| 392 void setVelocity(num x, num y, num z) native; |
| 393 } |
| 394 |
| 395 class _AudioParamJs implements AudioParam native "*AudioParam" { |
| 396 |
| 397 final num defaultValue; |
| 398 |
| 399 final num maxValue; |
| 400 |
| 401 final num minValue; |
| 402 |
| 403 final String name; |
| 404 |
| 405 final int units; |
| 406 |
| 407 num value; |
| 408 |
| 409 void cancelScheduledValues(num startTime) native; |
| 410 |
| 411 void exponentialRampToValueAtTime(num value, num time) native; |
| 412 |
| 413 void linearRampToValueAtTime(num value, num time) native; |
| 414 |
| 415 void setTargetValueAtTime(num targetValue, num time, num timeConstant) native; |
| 416 |
| 417 void setValueAtTime(num value, num time) native; |
| 418 |
| 419 void setValueCurveAtTime(_Float32ArrayJs values, num time, num duration) nativ
e; |
| 420 } |
| 421 |
| 422 class _AudioProcessingEventJs extends _EventJs implements AudioProcessingEvent n
ative "*AudioProcessingEvent" { |
| 423 |
| 424 final _AudioBufferJs inputBuffer; |
| 425 |
| 426 final _AudioBufferJs outputBuffer; |
| 427 } |
| 428 |
| 429 class _AudioSourceNodeJs extends _AudioNodeJs implements AudioSourceNode native
"*AudioSourceNode" { |
| 430 } |
| 431 |
| 432 class _BRElementJs extends _ElementJs implements BRElement native "*HTMLBRElemen
t" { |
| 433 |
| 434 String clear; |
| 435 } |
| 436 |
| 437 class _BarInfoJs implements BarInfo native "*BarInfo" { |
| 438 |
| 439 final bool visible; |
| 440 } |
| 441 |
| 442 class _BaseElementJs extends _ElementJs implements BaseElement native "*HTMLBase
Element" { |
| 443 |
| 444 String href; |
| 445 |
| 446 String target; |
| 447 } |
| 448 |
| 449 class _BaseFontElementJs extends _ElementJs implements BaseFontElement native "*
HTMLBaseFontElement" { |
| 450 |
| 451 String color; |
| 452 |
| 453 String face; |
| 454 |
| 455 int size; |
| 456 } |
| 457 |
| 458 class _BeforeLoadEventJs extends _EventJs implements BeforeLoadEvent native "*Be
foreLoadEvent" { |
| 459 |
| 460 final String url; |
| 461 } |
| 462 |
| 463 class _BiquadFilterNodeJs extends _AudioNodeJs implements BiquadFilterNode nativ
e "*BiquadFilterNode" { |
| 464 |
| 465 static final int ALLPASS = 7; |
| 466 |
| 467 static final int BANDPASS = 2; |
| 468 |
| 469 static final int HIGHPASS = 1; |
| 470 |
| 471 static final int HIGHSHELF = 4; |
| 472 |
| 473 static final int LOWPASS = 0; |
| 474 |
| 475 static final int LOWSHELF = 3; |
| 476 |
| 477 static final int NOTCH = 6; |
| 478 |
| 479 static final int PEAKING = 5; |
| 480 |
| 481 final _AudioParamJs Q; |
| 482 |
| 483 final _AudioParamJs frequency; |
| 484 |
| 485 final _AudioParamJs gain; |
| 486 |
| 487 int type; |
| 488 |
| 489 void getFrequencyResponse(_Float32ArrayJs frequencyHz, _Float32ArrayJs magResp
onse, _Float32ArrayJs phaseResponse) native; |
| 490 } |
| 491 |
| 492 class _BlobJs implements Blob native "*Blob" { |
| 493 |
| 494 final int size; |
| 495 |
| 496 final String type; |
| 497 |
| 498 _BlobJs webkitSlice([int start = null, int end = null, String contentType = nu
ll]) native; |
| 499 } |
| 500 |
| 501 class _BlobBuilderJs implements BlobBuilder native "*WebKitBlobBuilder" { |
| 502 |
| 503 void append(var arrayBuffer_OR_blob_OR_value, [String endings = null]) native; |
| 504 |
| 505 _BlobJs getBlob([String contentType = null]) native; |
| 506 } |
| 507 |
| 508 class _BodyElementJs extends _ElementJs implements BodyElement native "*HTMLBody
Element" { |
| 509 |
| 510 String aLink; |
| 511 |
| 512 String background; |
| 513 |
| 514 String bgColor; |
| 515 |
| 516 String link; |
| 517 |
| 518 String text; |
| 519 |
| 520 String vLink; |
| 521 |
| 522 _BodyElementEventsImpl get on() => |
| 523 new _BodyElementEventsImpl(this); |
| 524 } |
| 525 |
| 526 class _BodyElementEventsImpl extends _ElementEventsImpl implements BodyElementEv
ents { |
| 527 _BodyElementEventsImpl(_ptr) : super(_ptr); |
| 528 |
| 529 EventListenerList get beforeUnload() => _get('beforeunload'); |
| 530 |
| 531 EventListenerList get blur() => _get('blur'); |
| 532 |
| 533 EventListenerList get error() => _get('error'); |
| 534 |
| 535 EventListenerList get focus() => _get('focus'); |
| 536 |
| 537 EventListenerList get hashChange() => _get('hashchange'); |
| 538 |
| 539 EventListenerList get load() => _get('load'); |
| 540 |
| 541 EventListenerList get message() => _get('message'); |
| 542 |
| 543 EventListenerList get offline() => _get('offline'); |
| 544 |
| 545 EventListenerList get online() => _get('online'); |
| 546 |
| 547 EventListenerList get popState() => _get('popstate'); |
| 548 |
| 549 EventListenerList get resize() => _get('resize'); |
| 550 |
| 551 EventListenerList get storage() => _get('storage'); |
| 552 |
| 553 EventListenerList get unload() => _get('unload'); |
| 554 } |
| 555 |
| 556 class _ButtonElementJs extends _ElementJs implements ButtonElement native "*HTML
ButtonElement" { |
| 557 |
| 558 bool autofocus; |
| 559 |
| 560 bool disabled; |
| 561 |
| 562 final _FormElementJs form; |
| 563 |
| 564 String formAction; |
| 565 |
| 566 String formEnctype; |
| 567 |
| 568 String formMethod; |
| 569 |
| 570 bool formNoValidate; |
| 571 |
| 572 String formTarget; |
| 573 |
| 574 final _NodeListJs labels; |
| 575 |
| 576 String name; |
| 577 |
| 578 final String type; |
| 579 |
| 580 final String validationMessage; |
| 581 |
| 582 final _ValidityStateJs validity; |
| 583 |
| 584 String value; |
| 585 |
| 586 final bool willValidate; |
| 587 |
| 588 bool checkValidity() native; |
| 589 |
| 590 void setCustomValidity(String error) native; |
| 591 } |
| 592 |
| 593 class _CDATASectionJs extends _TextJs implements CDATASection native "*CDATASect
ion" { |
| 594 } |
| 595 |
| 596 class _CSSCharsetRuleJs extends _CSSRuleJs implements CSSCharsetRule native "*CS
SCharsetRule" { |
| 597 |
| 598 String encoding; |
| 599 } |
| 600 |
| 601 class _CSSFontFaceRuleJs extends _CSSRuleJs implements CSSFontFaceRule native "*
CSSFontFaceRule" { |
| 602 |
| 603 final _CSSStyleDeclarationJs style; |
| 604 } |
| 605 |
| 606 class _CSSImportRuleJs extends _CSSRuleJs implements CSSImportRule native "*CSSI
mportRule" { |
| 607 |
| 608 final String href; |
| 609 |
| 610 final _MediaListJs media; |
| 611 |
| 612 final _CSSStyleSheetJs styleSheet; |
| 613 } |
| 614 |
| 615 class _CSSKeyframeRuleJs extends _CSSRuleJs implements CSSKeyframeRule native "*
WebKitCSSKeyframeRule" { |
| 616 |
| 617 String keyText; |
| 618 |
| 619 final _CSSStyleDeclarationJs style; |
| 620 } |
| 621 |
| 622 class _CSSKeyframesRuleJs extends _CSSRuleJs implements CSSKeyframesRule native
"*WebKitCSSKeyframesRule" { |
| 623 |
| 624 final _CSSRuleListJs cssRules; |
| 625 |
| 626 String name; |
| 627 |
| 628 void deleteRule(String key) native; |
| 629 |
| 630 _CSSKeyframeRuleJs findRule(String key) native; |
| 631 |
| 632 void insertRule(String rule) native; |
| 633 } |
| 634 |
| 635 class _CSSMatrixJs implements CSSMatrix native "*WebKitCSSMatrix" { |
| 636 |
| 637 num a; |
| 638 |
| 639 num b; |
| 640 |
| 641 num c; |
| 642 |
| 643 num d; |
| 644 |
| 645 num e; |
| 646 |
| 647 num f; |
| 648 |
| 649 num m11; |
| 650 |
| 651 num m12; |
| 652 |
| 653 num m13; |
| 654 |
| 655 num m14; |
| 656 |
| 657 num m21; |
| 658 |
| 659 num m22; |
| 660 |
| 661 num m23; |
| 662 |
| 663 num m24; |
| 664 |
| 665 num m31; |
| 666 |
| 667 num m32; |
| 668 |
| 669 num m33; |
| 670 |
| 671 num m34; |
| 672 |
| 673 num m41; |
| 674 |
| 675 num m42; |
| 676 |
| 677 num m43; |
| 678 |
| 679 num m44; |
| 680 |
| 681 _CSSMatrixJs inverse() native; |
| 682 |
| 683 _CSSMatrixJs multiply(_CSSMatrixJs secondMatrix) native; |
| 684 |
| 685 _CSSMatrixJs rotate(num rotX, num rotY, num rotZ) native; |
| 686 |
| 687 _CSSMatrixJs rotateAxisAngle(num x, num y, num z, num angle) native; |
| 688 |
| 689 _CSSMatrixJs scale(num scaleX, num scaleY, num scaleZ) native; |
| 690 |
| 691 void setMatrixValue(String string) native; |
| 692 |
| 693 _CSSMatrixJs skewX(num angle) native; |
| 694 |
| 695 _CSSMatrixJs skewY(num angle) native; |
| 696 |
| 697 String toString() native; |
| 698 |
| 699 _CSSMatrixJs translate(num x, num y, num z) native; |
| 700 } |
| 701 |
| 702 class _CSSMediaRuleJs extends _CSSRuleJs implements CSSMediaRule native "*CSSMed
iaRule" { |
| 703 |
| 704 final _CSSRuleListJs cssRules; |
| 705 |
| 706 final _MediaListJs media; |
| 707 |
| 708 void deleteRule(int index) native; |
| 709 |
| 710 int insertRule(String rule, int index) native; |
| 711 } |
| 712 |
| 713 class _CSSPageRuleJs extends _CSSRuleJs implements CSSPageRule native "*CSSPageR
ule" { |
| 714 |
| 715 String selectorText; |
| 716 |
| 717 final _CSSStyleDeclarationJs style; |
| 718 } |
| 719 |
| 720 class _CSSPrimitiveValueJs extends _CSSValueJs implements CSSPrimitiveValue nati
ve "*CSSPrimitiveValue" { |
| 721 |
| 722 static final int CSS_ATTR = 22; |
| 723 |
| 724 static final int CSS_CM = 6; |
| 725 |
| 726 static final int CSS_COUNTER = 23; |
| 727 |
| 728 static final int CSS_DEG = 11; |
| 729 |
| 730 static final int CSS_DIMENSION = 18; |
| 731 |
| 732 static final int CSS_EMS = 3; |
| 733 |
| 734 static final int CSS_EXS = 4; |
| 735 |
| 736 static final int CSS_GRAD = 13; |
| 737 |
| 738 static final int CSS_HZ = 16; |
| 739 |
| 740 static final int CSS_IDENT = 21; |
| 741 |
| 742 static final int CSS_IN = 8; |
| 743 |
| 744 static final int CSS_KHZ = 17; |
| 745 |
| 746 static final int CSS_MM = 7; |
| 747 |
| 748 static final int CSS_MS = 14; |
| 749 |
| 750 static final int CSS_NUMBER = 1; |
| 751 |
| 752 static final int CSS_PC = 10; |
| 753 |
| 754 static final int CSS_PERCENTAGE = 2; |
| 755 |
| 756 static final int CSS_PT = 9; |
| 757 |
| 758 static final int CSS_PX = 5; |
| 759 |
| 760 static final int CSS_RAD = 12; |
| 761 |
| 762 static final int CSS_RECT = 24; |
| 763 |
| 764 static final int CSS_RGBCOLOR = 25; |
| 765 |
| 766 static final int CSS_S = 15; |
| 767 |
| 768 static final int CSS_STRING = 19; |
| 769 |
| 770 static final int CSS_UNKNOWN = 0; |
| 771 |
| 772 static final int CSS_URI = 20; |
| 773 |
| 774 final int primitiveType; |
| 775 |
| 776 _CounterJs getCounterValue() native; |
| 777 |
| 778 num getFloatValue(int unitType) native; |
| 779 |
| 780 _RGBColorJs getRGBColorValue() native; |
| 781 |
| 782 _RectJs getRectValue() native; |
| 783 |
| 784 String getStringValue() native; |
| 785 |
| 786 void setFloatValue(int unitType, num floatValue) native; |
| 787 |
| 788 void setStringValue(int stringType, String stringValue) native; |
| 789 } |
| 790 |
| 791 class _CSSRuleJs implements CSSRule native "*CSSRule" { |
| 792 |
| 793 static final int CHARSET_RULE = 2; |
| 794 |
| 795 static final int FONT_FACE_RULE = 5; |
| 796 |
| 797 static final int IMPORT_RULE = 3; |
| 798 |
| 799 static final int MEDIA_RULE = 4; |
| 800 |
| 801 static final int PAGE_RULE = 6; |
| 802 |
| 803 static final int STYLE_RULE = 1; |
| 804 |
| 805 static final int UNKNOWN_RULE = 0; |
| 806 |
| 807 static final int WEBKIT_KEYFRAMES_RULE = 7; |
| 808 |
| 809 static final int WEBKIT_KEYFRAME_RULE = 8; |
| 810 |
| 811 static final int WEBKIT_REGION_RULE = 10; |
| 812 |
| 813 String cssText; |
| 814 |
| 815 final _CSSRuleJs parentRule; |
| 816 |
| 817 final _CSSStyleSheetJs parentStyleSheet; |
| 818 |
| 819 final int type; |
| 820 } |
| 821 |
| 822 class _CSSRuleListJs implements CSSRuleList native "*CSSRuleList" { |
| 823 |
| 824 final int length; |
| 825 |
| 826 _CSSRuleJs item(int index) native; |
| 827 } |
| 828 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 829 // for details. All rights reserved. Use of this source code is governed by a |
| 830 // BSD-style license that can be found in the LICENSE file. |
| 831 |
| 832 String _cachedBrowserPrefix; |
| 833 |
| 834 class _CSSStyleDeclarationJs implements CSSStyleDeclaration native "*CSSStyleDec
laration" { |
| 835 |
| 836 factory _CSSStyleDeclarationJs.css(String css) { |
| 837 var style = new Element.tag('div').style; |
| 838 style.cssText = css; |
| 839 return style; |
| 840 } |
| 841 |
| 842 factory _CSSStyleDeclarationJs() { |
| 843 return new _CSSStyleDeclarationJs.css(''); |
| 844 } |
| 845 |
| 846 static String get _browserPrefix() { |
| 847 if (_cachedBrowserPrefix === null) { |
| 848 if (_Device.isFirefox) { |
| 849 _cachedBrowserPrefix = '-moz-'; |
| 850 } else { |
| 851 _cachedBrowserPrefix = '-webkit-'; |
| 852 } |
| 853 // TODO(jacobr): support IE 9.0 and Opera as well. |
| 854 } |
| 855 return _cachedBrowserPrefix; |
| 856 } |
| 857 |
| 858 |
| 859 String cssText; |
| 860 |
| 861 final int length; |
| 862 |
| 863 final _CSSRuleJs parentRule; |
| 864 |
| 865 _CSSValueJs getPropertyCSSValue(String propertyName) native; |
| 866 |
| 867 String getPropertyPriority(String propertyName) native; |
| 868 |
| 869 String getPropertyShorthand(String propertyName) native; |
| 870 |
| 871 String getPropertyValue(String propertyName) native; |
| 872 |
| 873 bool isPropertyImplicit(String propertyName) native; |
| 874 |
| 875 String item(int index) native; |
| 876 |
| 877 String removeProperty(String propertyName) native; |
| 878 |
| 879 void setProperty(String propertyName, String value, [String priority = null])
native; |
| 880 |
| 881 |
| 882 // TODO(jacobr): generate this list of properties using the existing script. |
| 883 /** Gets the value of "animation" */ |
| 884 String get animation() => |
| 885 getPropertyValue('${_browserPrefix}animation'); |
| 886 |
| 887 /** Sets the value of "animation" */ |
| 888 void set animation(var value) { |
| 889 setProperty('${_browserPrefix}animation', value, ''); |
| 890 } |
| 891 |
| 892 /** Gets the value of "animation-delay" */ |
| 893 String get animationDelay() => |
| 894 getPropertyValue('${_browserPrefix}animation-delay'); |
| 895 |
| 896 /** Sets the value of "animation-delay" */ |
| 897 void set animationDelay(var value) { |
| 898 setProperty('${_browserPrefix}animation-delay', value, ''); |
| 899 } |
| 900 |
| 901 /** Gets the value of "animation-direction" */ |
| 902 String get animationDirection() => |
| 903 getPropertyValue('${_browserPrefix}animation-direction'); |
| 904 |
| 905 /** Sets the value of "animation-direction" */ |
| 906 void set animationDirection(var value) { |
| 907 setProperty('${_browserPrefix}animation-direction', value, ''); |
| 908 } |
| 909 |
| 910 /** Gets the value of "animation-duration" */ |
| 911 String get animationDuration() => |
| 912 getPropertyValue('${_browserPrefix}animation-duration'); |
| 913 |
| 914 /** Sets the value of "animation-duration" */ |
| 915 void set animationDuration(var value) { |
| 916 setProperty('${_browserPrefix}animation-duration', value, ''); |
| 917 } |
| 918 |
| 919 /** Gets the value of "animation-fill-mode" */ |
| 920 String get animationFillMode() => |
| 921 getPropertyValue('${_browserPrefix}animation-fill-mode'); |
| 922 |
| 923 /** Sets the value of "animation-fill-mode" */ |
| 924 void set animationFillMode(var value) { |
| 925 setProperty('${_browserPrefix}animation-fill-mode', value, ''); |
| 926 } |
| 927 |
| 928 /** Gets the value of "animation-iteration-count" */ |
| 929 String get animationIterationCount() => |
| 930 getPropertyValue('${_browserPrefix}animation-iteration-count'); |
| 931 |
| 932 /** Sets the value of "animation-iteration-count" */ |
| 933 void set animationIterationCount(var value) { |
| 934 setProperty('${_browserPrefix}animation-iteration-count', value, ''); |
| 935 } |
| 936 |
| 937 /** Gets the value of "animation-name" */ |
| 938 String get animationName() => |
| 939 getPropertyValue('${_browserPrefix}animation-name'); |
| 940 |
| 941 /** Sets the value of "animation-name" */ |
| 942 void set animationName(var value) { |
| 943 setProperty('${_browserPrefix}animation-name', value, ''); |
| 944 } |
| 945 |
| 946 /** Gets the value of "animation-play-state" */ |
| 947 String get animationPlayState() => |
| 948 getPropertyValue('${_browserPrefix}animation-play-state'); |
| 949 |
| 950 /** Sets the value of "animation-play-state" */ |
| 951 void set animationPlayState(var value) { |
| 952 setProperty('${_browserPrefix}animation-play-state', value, ''); |
| 953 } |
| 954 |
| 955 /** Gets the value of "animation-timing-function" */ |
| 956 String get animationTimingFunction() => |
| 957 getPropertyValue('${_browserPrefix}animation-timing-function'); |
| 958 |
| 959 /** Sets the value of "animation-timing-function" */ |
| 960 void set animationTimingFunction(var value) { |
| 961 setProperty('${_browserPrefix}animation-timing-function', value, ''); |
| 962 } |
| 963 |
| 964 /** Gets the value of "appearance" */ |
| 965 String get appearance() => |
| 966 getPropertyValue('${_browserPrefix}appearance'); |
| 967 |
| 968 /** Sets the value of "appearance" */ |
| 969 void set appearance(var value) { |
| 970 setProperty('${_browserPrefix}appearance', value, ''); |
| 971 } |
| 972 |
| 973 /** Gets the value of "backface-visibility" */ |
| 974 String get backfaceVisibility() => |
| 975 getPropertyValue('${_browserPrefix}backface-visibility'); |
| 976 |
| 977 /** Sets the value of "backface-visibility" */ |
| 978 void set backfaceVisibility(var value) { |
| 979 setProperty('${_browserPrefix}backface-visibility', value, ''); |
| 980 } |
| 981 |
| 982 /** Gets the value of "background" */ |
| 983 String get background() => |
| 984 getPropertyValue('background'); |
| 985 |
| 986 /** Sets the value of "background" */ |
| 987 void set background(var value) { |
| 988 setProperty('background', value, ''); |
| 989 } |
| 990 |
| 991 /** Gets the value of "background-attachment" */ |
| 992 String get backgroundAttachment() => |
| 993 getPropertyValue('background-attachment'); |
| 994 |
| 995 /** Sets the value of "background-attachment" */ |
| 996 void set backgroundAttachment(var value) { |
| 997 setProperty('background-attachment', value, ''); |
| 998 } |
| 999 |
| 1000 /** Gets the value of "background-clip" */ |
| 1001 String get backgroundClip() => |
| 1002 getPropertyValue('background-clip'); |
| 1003 |
| 1004 /** Sets the value of "background-clip" */ |
| 1005 void set backgroundClip(var value) { |
| 1006 setProperty('background-clip', value, ''); |
| 1007 } |
| 1008 |
| 1009 /** Gets the value of "background-color" */ |
| 1010 String get backgroundColor() => |
| 1011 getPropertyValue('background-color'); |
| 1012 |
| 1013 /** Sets the value of "background-color" */ |
| 1014 void set backgroundColor(var value) { |
| 1015 setProperty('background-color', value, ''); |
| 1016 } |
| 1017 |
| 1018 /** Gets the value of "background-composite" */ |
| 1019 String get backgroundComposite() => |
| 1020 getPropertyValue('${_browserPrefix}background-composite'); |
| 1021 |
| 1022 /** Sets the value of "background-composite" */ |
| 1023 void set backgroundComposite(var value) { |
| 1024 setProperty('${_browserPrefix}background-composite', value, ''); |
| 1025 } |
| 1026 |
| 1027 /** Gets the value of "background-image" */ |
| 1028 String get backgroundImage() => |
| 1029 getPropertyValue('background-image'); |
| 1030 |
| 1031 /** Sets the value of "background-image" */ |
| 1032 void set backgroundImage(var value) { |
| 1033 setProperty('background-image', value, ''); |
| 1034 } |
| 1035 |
| 1036 /** Gets the value of "background-origin" */ |
| 1037 String get backgroundOrigin() => |
| 1038 getPropertyValue('background-origin'); |
| 1039 |
| 1040 /** Sets the value of "background-origin" */ |
| 1041 void set backgroundOrigin(var value) { |
| 1042 setProperty('background-origin', value, ''); |
| 1043 } |
| 1044 |
| 1045 /** Gets the value of "background-position" */ |
| 1046 String get backgroundPosition() => |
| 1047 getPropertyValue('background-position'); |
| 1048 |
| 1049 /** Sets the value of "background-position" */ |
| 1050 void set backgroundPosition(var value) { |
| 1051 setProperty('background-position', value, ''); |
| 1052 } |
| 1053 |
| 1054 /** Gets the value of "background-position-x" */ |
| 1055 String get backgroundPositionX() => |
| 1056 getPropertyValue('background-position-x'); |
| 1057 |
| 1058 /** Sets the value of "background-position-x" */ |
| 1059 void set backgroundPositionX(var value) { |
| 1060 setProperty('background-position-x', value, ''); |
| 1061 } |
| 1062 |
| 1063 /** Gets the value of "background-position-y" */ |
| 1064 String get backgroundPositionY() => |
| 1065 getPropertyValue('background-position-y'); |
| 1066 |
| 1067 /** Sets the value of "background-position-y" */ |
| 1068 void set backgroundPositionY(var value) { |
| 1069 setProperty('background-position-y', value, ''); |
| 1070 } |
| 1071 |
| 1072 /** Gets the value of "background-repeat" */ |
| 1073 String get backgroundRepeat() => |
| 1074 getPropertyValue('background-repeat'); |
| 1075 |
| 1076 /** Sets the value of "background-repeat" */ |
| 1077 void set backgroundRepeat(var value) { |
| 1078 setProperty('background-repeat', value, ''); |
| 1079 } |
| 1080 |
| 1081 /** Gets the value of "background-repeat-x" */ |
| 1082 String get backgroundRepeatX() => |
| 1083 getPropertyValue('background-repeat-x'); |
| 1084 |
| 1085 /** Sets the value of "background-repeat-x" */ |
| 1086 void set backgroundRepeatX(var value) { |
| 1087 setProperty('background-repeat-x', value, ''); |
| 1088 } |
| 1089 |
| 1090 /** Gets the value of "background-repeat-y" */ |
| 1091 String get backgroundRepeatY() => |
| 1092 getPropertyValue('background-repeat-y'); |
| 1093 |
| 1094 /** Sets the value of "background-repeat-y" */ |
| 1095 void set backgroundRepeatY(var value) { |
| 1096 setProperty('background-repeat-y', value, ''); |
| 1097 } |
| 1098 |
| 1099 /** Gets the value of "background-size" */ |
| 1100 String get backgroundSize() => |
| 1101 getPropertyValue('background-size'); |
| 1102 |
| 1103 /** Sets the value of "background-size" */ |
| 1104 void set backgroundSize(var value) { |
| 1105 setProperty('background-size', value, ''); |
| 1106 } |
| 1107 |
| 1108 /** Gets the value of "border" */ |
| 1109 String get border() => |
| 1110 getPropertyValue('border'); |
| 1111 |
| 1112 /** Sets the value of "border" */ |
| 1113 void set border(var value) { |
| 1114 setProperty('border', value, ''); |
| 1115 } |
| 1116 |
| 1117 /** Gets the value of "border-after" */ |
| 1118 String get borderAfter() => |
| 1119 getPropertyValue('${_browserPrefix}border-after'); |
| 1120 |
| 1121 /** Sets the value of "border-after" */ |
| 1122 void set borderAfter(var value) { |
| 1123 setProperty('${_browserPrefix}border-after', value, ''); |
| 1124 } |
| 1125 |
| 1126 /** Gets the value of "border-after-color" */ |
| 1127 String get borderAfterColor() => |
| 1128 getPropertyValue('${_browserPrefix}border-after-color'); |
| 1129 |
| 1130 /** Sets the value of "border-after-color" */ |
| 1131 void set borderAfterColor(var value) { |
| 1132 setProperty('${_browserPrefix}border-after-color', value, ''); |
| 1133 } |
| 1134 |
| 1135 /** Gets the value of "border-after-style" */ |
| 1136 String get borderAfterStyle() => |
| 1137 getPropertyValue('${_browserPrefix}border-after-style'); |
| 1138 |
| 1139 /** Sets the value of "border-after-style" */ |
| 1140 void set borderAfterStyle(var value) { |
| 1141 setProperty('${_browserPrefix}border-after-style', value, ''); |
| 1142 } |
| 1143 |
| 1144 /** Gets the value of "border-after-width" */ |
| 1145 String get borderAfterWidth() => |
| 1146 getPropertyValue('${_browserPrefix}border-after-width'); |
| 1147 |
| 1148 /** Sets the value of "border-after-width" */ |
| 1149 void set borderAfterWidth(var value) { |
| 1150 setProperty('${_browserPrefix}border-after-width', value, ''); |
| 1151 } |
| 1152 |
| 1153 /** Gets the value of "border-before" */ |
| 1154 String get borderBefore() => |
| 1155 getPropertyValue('${_browserPrefix}border-before'); |
| 1156 |
| 1157 /** Sets the value of "border-before" */ |
| 1158 void set borderBefore(var value) { |
| 1159 setProperty('${_browserPrefix}border-before', value, ''); |
| 1160 } |
| 1161 |
| 1162 /** Gets the value of "border-before-color" */ |
| 1163 String get borderBeforeColor() => |
| 1164 getPropertyValue('${_browserPrefix}border-before-color'); |
| 1165 |
| 1166 /** Sets the value of "border-before-color" */ |
| 1167 void set borderBeforeColor(var value) { |
| 1168 setProperty('${_browserPrefix}border-before-color', value, ''); |
| 1169 } |
| 1170 |
| 1171 /** Gets the value of "border-before-style" */ |
| 1172 String get borderBeforeStyle() => |
| 1173 getPropertyValue('${_browserPrefix}border-before-style'); |
| 1174 |
| 1175 /** Sets the value of "border-before-style" */ |
| 1176 void set borderBeforeStyle(var value) { |
| 1177 setProperty('${_browserPrefix}border-before-style', value, ''); |
| 1178 } |
| 1179 |
| 1180 /** Gets the value of "border-before-width" */ |
| 1181 String get borderBeforeWidth() => |
| 1182 getPropertyValue('${_browserPrefix}border-before-width'); |
| 1183 |
| 1184 /** Sets the value of "border-before-width" */ |
| 1185 void set borderBeforeWidth(var value) { |
| 1186 setProperty('${_browserPrefix}border-before-width', value, ''); |
| 1187 } |
| 1188 |
| 1189 /** Gets the value of "border-bottom" */ |
| 1190 String get borderBottom() => |
| 1191 getPropertyValue('border-bottom'); |
| 1192 |
| 1193 /** Sets the value of "border-bottom" */ |
| 1194 void set borderBottom(var value) { |
| 1195 setProperty('border-bottom', value, ''); |
| 1196 } |
| 1197 |
| 1198 /** Gets the value of "border-bottom-color" */ |
| 1199 String get borderBottomColor() => |
| 1200 getPropertyValue('border-bottom-color'); |
| 1201 |
| 1202 /** Sets the value of "border-bottom-color" */ |
| 1203 void set borderBottomColor(var value) { |
| 1204 setProperty('border-bottom-color', value, ''); |
| 1205 } |
| 1206 |
| 1207 /** Gets the value of "border-bottom-left-radius" */ |
| 1208 String get borderBottomLeftRadius() => |
| 1209 getPropertyValue('border-bottom-left-radius'); |
| 1210 |
| 1211 /** Sets the value of "border-bottom-left-radius" */ |
| 1212 void set borderBottomLeftRadius(var value) { |
| 1213 setProperty('border-bottom-left-radius', value, ''); |
| 1214 } |
| 1215 |
| 1216 /** Gets the value of "border-bottom-right-radius" */ |
| 1217 String get borderBottomRightRadius() => |
| 1218 getPropertyValue('border-bottom-right-radius'); |
| 1219 |
| 1220 /** Sets the value of "border-bottom-right-radius" */ |
| 1221 void set borderBottomRightRadius(var value) { |
| 1222 setProperty('border-bottom-right-radius', value, ''); |
| 1223 } |
| 1224 |
| 1225 /** Gets the value of "border-bottom-style" */ |
| 1226 String get borderBottomStyle() => |
| 1227 getPropertyValue('border-bottom-style'); |
| 1228 |
| 1229 /** Sets the value of "border-bottom-style" */ |
| 1230 void set borderBottomStyle(var value) { |
| 1231 setProperty('border-bottom-style', value, ''); |
| 1232 } |
| 1233 |
| 1234 /** Gets the value of "border-bottom-width" */ |
| 1235 String get borderBottomWidth() => |
| 1236 getPropertyValue('border-bottom-width'); |
| 1237 |
| 1238 /** Sets the value of "border-bottom-width" */ |
| 1239 void set borderBottomWidth(var value) { |
| 1240 setProperty('border-bottom-width', value, ''); |
| 1241 } |
| 1242 |
| 1243 /** Gets the value of "border-collapse" */ |
| 1244 String get borderCollapse() => |
| 1245 getPropertyValue('border-collapse'); |
| 1246 |
| 1247 /** Sets the value of "border-collapse" */ |
| 1248 void set borderCollapse(var value) { |
| 1249 setProperty('border-collapse', value, ''); |
| 1250 } |
| 1251 |
| 1252 /** Gets the value of "border-color" */ |
| 1253 String get borderColor() => |
| 1254 getPropertyValue('border-color'); |
| 1255 |
| 1256 /** Sets the value of "border-color" */ |
| 1257 void set borderColor(var value) { |
| 1258 setProperty('border-color', value, ''); |
| 1259 } |
| 1260 |
| 1261 /** Gets the value of "border-end" */ |
| 1262 String get borderEnd() => |
| 1263 getPropertyValue('${_browserPrefix}border-end'); |
| 1264 |
| 1265 /** Sets the value of "border-end" */ |
| 1266 void set borderEnd(var value) { |
| 1267 setProperty('${_browserPrefix}border-end', value, ''); |
| 1268 } |
| 1269 |
| 1270 /** Gets the value of "border-end-color" */ |
| 1271 String get borderEndColor() => |
| 1272 getPropertyValue('${_browserPrefix}border-end-color'); |
| 1273 |
| 1274 /** Sets the value of "border-end-color" */ |
| 1275 void set borderEndColor(var value) { |
| 1276 setProperty('${_browserPrefix}border-end-color', value, ''); |
| 1277 } |
| 1278 |
| 1279 /** Gets the value of "border-end-style" */ |
| 1280 String get borderEndStyle() => |
| 1281 getPropertyValue('${_browserPrefix}border-end-style'); |
| 1282 |
| 1283 /** Sets the value of "border-end-style" */ |
| 1284 void set borderEndStyle(var value) { |
| 1285 setProperty('${_browserPrefix}border-end-style', value, ''); |
| 1286 } |
| 1287 |
| 1288 /** Gets the value of "border-end-width" */ |
| 1289 String get borderEndWidth() => |
| 1290 getPropertyValue('${_browserPrefix}border-end-width'); |
| 1291 |
| 1292 /** Sets the value of "border-end-width" */ |
| 1293 void set borderEndWidth(var value) { |
| 1294 setProperty('${_browserPrefix}border-end-width', value, ''); |
| 1295 } |
| 1296 |
| 1297 /** Gets the value of "border-fit" */ |
| 1298 String get borderFit() => |
| 1299 getPropertyValue('${_browserPrefix}border-fit'); |
| 1300 |
| 1301 /** Sets the value of "border-fit" */ |
| 1302 void set borderFit(var value) { |
| 1303 setProperty('${_browserPrefix}border-fit', value, ''); |
| 1304 } |
| 1305 |
| 1306 /** Gets the value of "border-horizontal-spacing" */ |
| 1307 String get borderHorizontalSpacing() => |
| 1308 getPropertyValue('${_browserPrefix}border-horizontal-spacing'); |
| 1309 |
| 1310 /** Sets the value of "border-horizontal-spacing" */ |
| 1311 void set borderHorizontalSpacing(var value) { |
| 1312 setProperty('${_browserPrefix}border-horizontal-spacing', value, ''); |
| 1313 } |
| 1314 |
| 1315 /** Gets the value of "border-image" */ |
| 1316 String get borderImage() => |
| 1317 getPropertyValue('border-image'); |
| 1318 |
| 1319 /** Sets the value of "border-image" */ |
| 1320 void set borderImage(var value) { |
| 1321 setProperty('border-image', value, ''); |
| 1322 } |
| 1323 |
| 1324 /** Gets the value of "border-image-outset" */ |
| 1325 String get borderImageOutset() => |
| 1326 getPropertyValue('border-image-outset'); |
| 1327 |
| 1328 /** Sets the value of "border-image-outset" */ |
| 1329 void set borderImageOutset(var value) { |
| 1330 setProperty('border-image-outset', value, ''); |
| 1331 } |
| 1332 |
| 1333 /** Gets the value of "border-image-repeat" */ |
| 1334 String get borderImageRepeat() => |
| 1335 getPropertyValue('border-image-repeat'); |
| 1336 |
| 1337 /** Sets the value of "border-image-repeat" */ |
| 1338 void set borderImageRepeat(var value) { |
| 1339 setProperty('border-image-repeat', value, ''); |
| 1340 } |
| 1341 |
| 1342 /** Gets the value of "border-image-slice" */ |
| 1343 String get borderImageSlice() => |
| 1344 getPropertyValue('border-image-slice'); |
| 1345 |
| 1346 /** Sets the value of "border-image-slice" */ |
| 1347 void set borderImageSlice(var value) { |
| 1348 setProperty('border-image-slice', value, ''); |
| 1349 } |
| 1350 |
| 1351 /** Gets the value of "border-image-source" */ |
| 1352 String get borderImageSource() => |
| 1353 getPropertyValue('border-image-source'); |
| 1354 |
| 1355 /** Sets the value of "border-image-source" */ |
| 1356 void set borderImageSource(var value) { |
| 1357 setProperty('border-image-source', value, ''); |
| 1358 } |
| 1359 |
| 1360 /** Gets the value of "border-image-width" */ |
| 1361 String get borderImageWidth() => |
| 1362 getPropertyValue('border-image-width'); |
| 1363 |
| 1364 /** Sets the value of "border-image-width" */ |
| 1365 void set borderImageWidth(var value) { |
| 1366 setProperty('border-image-width', value, ''); |
| 1367 } |
| 1368 |
| 1369 /** Gets the value of "border-left" */ |
| 1370 String get borderLeft() => |
| 1371 getPropertyValue('border-left'); |
| 1372 |
| 1373 /** Sets the value of "border-left" */ |
| 1374 void set borderLeft(var value) { |
| 1375 setProperty('border-left', value, ''); |
| 1376 } |
| 1377 |
| 1378 /** Gets the value of "border-left-color" */ |
| 1379 String get borderLeftColor() => |
| 1380 getPropertyValue('border-left-color'); |
| 1381 |
| 1382 /** Sets the value of "border-left-color" */ |
| 1383 void set borderLeftColor(var value) { |
| 1384 setProperty('border-left-color', value, ''); |
| 1385 } |
| 1386 |
| 1387 /** Gets the value of "border-left-style" */ |
| 1388 String get borderLeftStyle() => |
| 1389 getPropertyValue('border-left-style'); |
| 1390 |
| 1391 /** Sets the value of "border-left-style" */ |
| 1392 void set borderLeftStyle(var value) { |
| 1393 setProperty('border-left-style', value, ''); |
| 1394 } |
| 1395 |
| 1396 /** Gets the value of "border-left-width" */ |
| 1397 String get borderLeftWidth() => |
| 1398 getPropertyValue('border-left-width'); |
| 1399 |
| 1400 /** Sets the value of "border-left-width" */ |
| 1401 void set borderLeftWidth(var value) { |
| 1402 setProperty('border-left-width', value, ''); |
| 1403 } |
| 1404 |
| 1405 /** Gets the value of "border-radius" */ |
| 1406 String get borderRadius() => |
| 1407 getPropertyValue('border-radius'); |
| 1408 |
| 1409 /** Sets the value of "border-radius" */ |
| 1410 void set borderRadius(var value) { |
| 1411 setProperty('border-radius', value, ''); |
| 1412 } |
| 1413 |
| 1414 /** Gets the value of "border-right" */ |
| 1415 String get borderRight() => |
| 1416 getPropertyValue('border-right'); |
| 1417 |
| 1418 /** Sets the value of "border-right" */ |
| 1419 void set borderRight(var value) { |
| 1420 setProperty('border-right', value, ''); |
| 1421 } |
| 1422 |
| 1423 /** Gets the value of "border-right-color" */ |
| 1424 String get borderRightColor() => |
| 1425 getPropertyValue('border-right-color'); |
| 1426 |
| 1427 /** Sets the value of "border-right-color" */ |
| 1428 void set borderRightColor(var value) { |
| 1429 setProperty('border-right-color', value, ''); |
| 1430 } |
| 1431 |
| 1432 /** Gets the value of "border-right-style" */ |
| 1433 String get borderRightStyle() => |
| 1434 getPropertyValue('border-right-style'); |
| 1435 |
| 1436 /** Sets the value of "border-right-style" */ |
| 1437 void set borderRightStyle(var value) { |
| 1438 setProperty('border-right-style', value, ''); |
| 1439 } |
| 1440 |
| 1441 /** Gets the value of "border-right-width" */ |
| 1442 String get borderRightWidth() => |
| 1443 getPropertyValue('border-right-width'); |
| 1444 |
| 1445 /** Sets the value of "border-right-width" */ |
| 1446 void set borderRightWidth(var value) { |
| 1447 setProperty('border-right-width', value, ''); |
| 1448 } |
| 1449 |
| 1450 /** Gets the value of "border-spacing" */ |
| 1451 String get borderSpacing() => |
| 1452 getPropertyValue('border-spacing'); |
| 1453 |
| 1454 /** Sets the value of "border-spacing" */ |
| 1455 void set borderSpacing(var value) { |
| 1456 setProperty('border-spacing', value, ''); |
| 1457 } |
| 1458 |
| 1459 /** Gets the value of "border-start" */ |
| 1460 String get borderStart() => |
| 1461 getPropertyValue('${_browserPrefix}border-start'); |
| 1462 |
| 1463 /** Sets the value of "border-start" */ |
| 1464 void set borderStart(var value) { |
| 1465 setProperty('${_browserPrefix}border-start', value, ''); |
| 1466 } |
| 1467 |
| 1468 /** Gets the value of "border-start-color" */ |
| 1469 String get borderStartColor() => |
| 1470 getPropertyValue('${_browserPrefix}border-start-color'); |
| 1471 |
| 1472 /** Sets the value of "border-start-color" */ |
| 1473 void set borderStartColor(var value) { |
| 1474 setProperty('${_browserPrefix}border-start-color', value, ''); |
| 1475 } |
| 1476 |
| 1477 /** Gets the value of "border-start-style" */ |
| 1478 String get borderStartStyle() => |
| 1479 getPropertyValue('${_browserPrefix}border-start-style'); |
| 1480 |
| 1481 /** Sets the value of "border-start-style" */ |
| 1482 void set borderStartStyle(var value) { |
| 1483 setProperty('${_browserPrefix}border-start-style', value, ''); |
| 1484 } |
| 1485 |
| 1486 /** Gets the value of "border-start-width" */ |
| 1487 String get borderStartWidth() => |
| 1488 getPropertyValue('${_browserPrefix}border-start-width'); |
| 1489 |
| 1490 /** Sets the value of "border-start-width" */ |
| 1491 void set borderStartWidth(var value) { |
| 1492 setProperty('${_browserPrefix}border-start-width', value, ''); |
| 1493 } |
| 1494 |
| 1495 /** Gets the value of "border-style" */ |
| 1496 String get borderStyle() => |
| 1497 getPropertyValue('border-style'); |
| 1498 |
| 1499 /** Sets the value of "border-style" */ |
| 1500 void set borderStyle(var value) { |
| 1501 setProperty('border-style', value, ''); |
| 1502 } |
| 1503 |
| 1504 /** Gets the value of "border-top" */ |
| 1505 String get borderTop() => |
| 1506 getPropertyValue('border-top'); |
| 1507 |
| 1508 /** Sets the value of "border-top" */ |
| 1509 void set borderTop(var value) { |
| 1510 setProperty('border-top', value, ''); |
| 1511 } |
| 1512 |
| 1513 /** Gets the value of "border-top-color" */ |
| 1514 String get borderTopColor() => |
| 1515 getPropertyValue('border-top-color'); |
| 1516 |
| 1517 /** Sets the value of "border-top-color" */ |
| 1518 void set borderTopColor(var value) { |
| 1519 setProperty('border-top-color', value, ''); |
| 1520 } |
| 1521 |
| 1522 /** Gets the value of "border-top-left-radius" */ |
| 1523 String get borderTopLeftRadius() => |
| 1524 getPropertyValue('border-top-left-radius'); |
| 1525 |
| 1526 /** Sets the value of "border-top-left-radius" */ |
| 1527 void set borderTopLeftRadius(var value) { |
| 1528 setProperty('border-top-left-radius', value, ''); |
| 1529 } |
| 1530 |
| 1531 /** Gets the value of "border-top-right-radius" */ |
| 1532 String get borderTopRightRadius() => |
| 1533 getPropertyValue('border-top-right-radius'); |
| 1534 |
| 1535 /** Sets the value of "border-top-right-radius" */ |
| 1536 void set borderTopRightRadius(var value) { |
| 1537 setProperty('border-top-right-radius', value, ''); |
| 1538 } |
| 1539 |
| 1540 /** Gets the value of "border-top-style" */ |
| 1541 String get borderTopStyle() => |
| 1542 getPropertyValue('border-top-style'); |
| 1543 |
| 1544 /** Sets the value of "border-top-style" */ |
| 1545 void set borderTopStyle(var value) { |
| 1546 setProperty('border-top-style', value, ''); |
| 1547 } |
| 1548 |
| 1549 /** Gets the value of "border-top-width" */ |
| 1550 String get borderTopWidth() => |
| 1551 getPropertyValue('border-top-width'); |
| 1552 |
| 1553 /** Sets the value of "border-top-width" */ |
| 1554 void set borderTopWidth(var value) { |
| 1555 setProperty('border-top-width', value, ''); |
| 1556 } |
| 1557 |
| 1558 /** Gets the value of "border-vertical-spacing" */ |
| 1559 String get borderVerticalSpacing() => |
| 1560 getPropertyValue('${_browserPrefix}border-vertical-spacing'); |
| 1561 |
| 1562 /** Sets the value of "border-vertical-spacing" */ |
| 1563 void set borderVerticalSpacing(var value) { |
| 1564 setProperty('${_browserPrefix}border-vertical-spacing', value, ''); |
| 1565 } |
| 1566 |
| 1567 /** Gets the value of "border-width" */ |
| 1568 String get borderWidth() => |
| 1569 getPropertyValue('border-width'); |
| 1570 |
| 1571 /** Sets the value of "border-width" */ |
| 1572 void set borderWidth(var value) { |
| 1573 setProperty('border-width', value, ''); |
| 1574 } |
| 1575 |
| 1576 /** Gets the value of "bottom" */ |
| 1577 String get bottom() => |
| 1578 getPropertyValue('bottom'); |
| 1579 |
| 1580 /** Sets the value of "bottom" */ |
| 1581 void set bottom(var value) { |
| 1582 setProperty('bottom', value, ''); |
| 1583 } |
| 1584 |
| 1585 /** Gets the value of "box-align" */ |
| 1586 String get boxAlign() => |
| 1587 getPropertyValue('${_browserPrefix}box-align'); |
| 1588 |
| 1589 /** Sets the value of "box-align" */ |
| 1590 void set boxAlign(var value) { |
| 1591 setProperty('${_browserPrefix}box-align', value, ''); |
| 1592 } |
| 1593 |
| 1594 /** Gets the value of "box-direction" */ |
| 1595 String get boxDirection() => |
| 1596 getPropertyValue('${_browserPrefix}box-direction'); |
| 1597 |
| 1598 /** Sets the value of "box-direction" */ |
| 1599 void set boxDirection(var value) { |
| 1600 setProperty('${_browserPrefix}box-direction', value, ''); |
| 1601 } |
| 1602 |
| 1603 /** Gets the value of "box-flex" */ |
| 1604 String get boxFlex() => |
| 1605 getPropertyValue('${_browserPrefix}box-flex'); |
| 1606 |
| 1607 /** Sets the value of "box-flex" */ |
| 1608 void set boxFlex(var value) { |
| 1609 setProperty('${_browserPrefix}box-flex', value, ''); |
| 1610 } |
| 1611 |
| 1612 /** Gets the value of "box-flex-group" */ |
| 1613 String get boxFlexGroup() => |
| 1614 getPropertyValue('${_browserPrefix}box-flex-group'); |
| 1615 |
| 1616 /** Sets the value of "box-flex-group" */ |
| 1617 void set boxFlexGroup(var value) { |
| 1618 setProperty('${_browserPrefix}box-flex-group', value, ''); |
| 1619 } |
| 1620 |
| 1621 /** Gets the value of "box-lines" */ |
| 1622 String get boxLines() => |
| 1623 getPropertyValue('${_browserPrefix}box-lines'); |
| 1624 |
| 1625 /** Sets the value of "box-lines" */ |
| 1626 void set boxLines(var value) { |
| 1627 setProperty('${_browserPrefix}box-lines', value, ''); |
| 1628 } |
| 1629 |
| 1630 /** Gets the value of "box-ordinal-group" */ |
| 1631 String get boxOrdinalGroup() => |
| 1632 getPropertyValue('${_browserPrefix}box-ordinal-group'); |
| 1633 |
| 1634 /** Sets the value of "box-ordinal-group" */ |
| 1635 void set boxOrdinalGroup(var value) { |
| 1636 setProperty('${_browserPrefix}box-ordinal-group', value, ''); |
| 1637 } |
| 1638 |
| 1639 /** Gets the value of "box-orient" */ |
| 1640 String get boxOrient() => |
| 1641 getPropertyValue('${_browserPrefix}box-orient'); |
| 1642 |
| 1643 /** Sets the value of "box-orient" */ |
| 1644 void set boxOrient(var value) { |
| 1645 setProperty('${_browserPrefix}box-orient', value, ''); |
| 1646 } |
| 1647 |
| 1648 /** Gets the value of "box-pack" */ |
| 1649 String get boxPack() => |
| 1650 getPropertyValue('${_browserPrefix}box-pack'); |
| 1651 |
| 1652 /** Sets the value of "box-pack" */ |
| 1653 void set boxPack(var value) { |
| 1654 setProperty('${_browserPrefix}box-pack', value, ''); |
| 1655 } |
| 1656 |
| 1657 /** Gets the value of "box-reflect" */ |
| 1658 String get boxReflect() => |
| 1659 getPropertyValue('${_browserPrefix}box-reflect'); |
| 1660 |
| 1661 /** Sets the value of "box-reflect" */ |
| 1662 void set boxReflect(var value) { |
| 1663 setProperty('${_browserPrefix}box-reflect', value, ''); |
| 1664 } |
| 1665 |
| 1666 /** Gets the value of "box-shadow" */ |
| 1667 String get boxShadow() => |
| 1668 getPropertyValue('box-shadow'); |
| 1669 |
| 1670 /** Sets the value of "box-shadow" */ |
| 1671 void set boxShadow(var value) { |
| 1672 setProperty('box-shadow', value, ''); |
| 1673 } |
| 1674 |
| 1675 /** Gets the value of "box-sizing" */ |
| 1676 String get boxSizing() => |
| 1677 getPropertyValue('box-sizing'); |
| 1678 |
| 1679 /** Sets the value of "box-sizing" */ |
| 1680 void set boxSizing(var value) { |
| 1681 setProperty('box-sizing', value, ''); |
| 1682 } |
| 1683 |
| 1684 /** Gets the value of "caption-side" */ |
| 1685 String get captionSide() => |
| 1686 getPropertyValue('caption-side'); |
| 1687 |
| 1688 /** Sets the value of "caption-side" */ |
| 1689 void set captionSide(var value) { |
| 1690 setProperty('caption-side', value, ''); |
| 1691 } |
| 1692 |
| 1693 /** Gets the value of "clear" */ |
| 1694 String get clear() => |
| 1695 getPropertyValue('clear'); |
| 1696 |
| 1697 /** Sets the value of "clear" */ |
| 1698 void set clear(var value) { |
| 1699 setProperty('clear', value, ''); |
| 1700 } |
| 1701 |
| 1702 /** Gets the value of "clip" */ |
| 1703 String get clip() => |
| 1704 getPropertyValue('clip'); |
| 1705 |
| 1706 /** Sets the value of "clip" */ |
| 1707 void set clip(var value) { |
| 1708 setProperty('clip', value, ''); |
| 1709 } |
| 1710 |
| 1711 /** Gets the value of "color" */ |
| 1712 String get color() => |
| 1713 getPropertyValue('color'); |
| 1714 |
| 1715 /** Sets the value of "color" */ |
| 1716 void set color(var value) { |
| 1717 setProperty('color', value, ''); |
| 1718 } |
| 1719 |
| 1720 /** Gets the value of "color-correction" */ |
| 1721 String get colorCorrection() => |
| 1722 getPropertyValue('${_browserPrefix}color-correction'); |
| 1723 |
| 1724 /** Sets the value of "color-correction" */ |
| 1725 void set colorCorrection(var value) { |
| 1726 setProperty('${_browserPrefix}color-correction', value, ''); |
| 1727 } |
| 1728 |
| 1729 /** Gets the value of "column-break-after" */ |
| 1730 String get columnBreakAfter() => |
| 1731 getPropertyValue('${_browserPrefix}column-break-after'); |
| 1732 |
| 1733 /** Sets the value of "column-break-after" */ |
| 1734 void set columnBreakAfter(var value) { |
| 1735 setProperty('${_browserPrefix}column-break-after', value, ''); |
| 1736 } |
| 1737 |
| 1738 /** Gets the value of "column-break-before" */ |
| 1739 String get columnBreakBefore() => |
| 1740 getPropertyValue('${_browserPrefix}column-break-before'); |
| 1741 |
| 1742 /** Sets the value of "column-break-before" */ |
| 1743 void set columnBreakBefore(var value) { |
| 1744 setProperty('${_browserPrefix}column-break-before', value, ''); |
| 1745 } |
| 1746 |
| 1747 /** Gets the value of "column-break-inside" */ |
| 1748 String get columnBreakInside() => |
| 1749 getPropertyValue('${_browserPrefix}column-break-inside'); |
| 1750 |
| 1751 /** Sets the value of "column-break-inside" */ |
| 1752 void set columnBreakInside(var value) { |
| 1753 setProperty('${_browserPrefix}column-break-inside', value, ''); |
| 1754 } |
| 1755 |
| 1756 /** Gets the value of "column-count" */ |
| 1757 String get columnCount() => |
| 1758 getPropertyValue('${_browserPrefix}column-count'); |
| 1759 |
| 1760 /** Sets the value of "column-count" */ |
| 1761 void set columnCount(var value) { |
| 1762 setProperty('${_browserPrefix}column-count', value, ''); |
| 1763 } |
| 1764 |
| 1765 /** Gets the value of "column-gap" */ |
| 1766 String get columnGap() => |
| 1767 getPropertyValue('${_browserPrefix}column-gap'); |
| 1768 |
| 1769 /** Sets the value of "column-gap" */ |
| 1770 void set columnGap(var value) { |
| 1771 setProperty('${_browserPrefix}column-gap', value, ''); |
| 1772 } |
| 1773 |
| 1774 /** Gets the value of "column-rule" */ |
| 1775 String get columnRule() => |
| 1776 getPropertyValue('${_browserPrefix}column-rule'); |
| 1777 |
| 1778 /** Sets the value of "column-rule" */ |
| 1779 void set columnRule(var value) { |
| 1780 setProperty('${_browserPrefix}column-rule', value, ''); |
| 1781 } |
| 1782 |
| 1783 /** Gets the value of "column-rule-color" */ |
| 1784 String get columnRuleColor() => |
| 1785 getPropertyValue('${_browserPrefix}column-rule-color'); |
| 1786 |
| 1787 /** Sets the value of "column-rule-color" */ |
| 1788 void set columnRuleColor(var value) { |
| 1789 setProperty('${_browserPrefix}column-rule-color', value, ''); |
| 1790 } |
| 1791 |
| 1792 /** Gets the value of "column-rule-style" */ |
| 1793 String get columnRuleStyle() => |
| 1794 getPropertyValue('${_browserPrefix}column-rule-style'); |
| 1795 |
| 1796 /** Sets the value of "column-rule-style" */ |
| 1797 void set columnRuleStyle(var value) { |
| 1798 setProperty('${_browserPrefix}column-rule-style', value, ''); |
| 1799 } |
| 1800 |
| 1801 /** Gets the value of "column-rule-width" */ |
| 1802 String get columnRuleWidth() => |
| 1803 getPropertyValue('${_browserPrefix}column-rule-width'); |
| 1804 |
| 1805 /** Sets the value of "column-rule-width" */ |
| 1806 void set columnRuleWidth(var value) { |
| 1807 setProperty('${_browserPrefix}column-rule-width', value, ''); |
| 1808 } |
| 1809 |
| 1810 /** Gets the value of "column-span" */ |
| 1811 String get columnSpan() => |
| 1812 getPropertyValue('${_browserPrefix}column-span'); |
| 1813 |
| 1814 /** Sets the value of "column-span" */ |
| 1815 void set columnSpan(var value) { |
| 1816 setProperty('${_browserPrefix}column-span', value, ''); |
| 1817 } |
| 1818 |
| 1819 /** Gets the value of "column-width" */ |
| 1820 String get columnWidth() => |
| 1821 getPropertyValue('${_browserPrefix}column-width'); |
| 1822 |
| 1823 /** Sets the value of "column-width" */ |
| 1824 void set columnWidth(var value) { |
| 1825 setProperty('${_browserPrefix}column-width', value, ''); |
| 1826 } |
| 1827 |
| 1828 /** Gets the value of "columns" */ |
| 1829 String get columns() => |
| 1830 getPropertyValue('${_browserPrefix}columns'); |
| 1831 |
| 1832 /** Sets the value of "columns" */ |
| 1833 void set columns(var value) { |
| 1834 setProperty('${_browserPrefix}columns', value, ''); |
| 1835 } |
| 1836 |
| 1837 /** Gets the value of "content" */ |
| 1838 String get content() => |
| 1839 getPropertyValue('content'); |
| 1840 |
| 1841 /** Sets the value of "content" */ |
| 1842 void set content(var value) { |
| 1843 setProperty('content', value, ''); |
| 1844 } |
| 1845 |
| 1846 /** Gets the value of "counter-increment" */ |
| 1847 String get counterIncrement() => |
| 1848 getPropertyValue('counter-increment'); |
| 1849 |
| 1850 /** Sets the value of "counter-increment" */ |
| 1851 void set counterIncrement(var value) { |
| 1852 setProperty('counter-increment', value, ''); |
| 1853 } |
| 1854 |
| 1855 /** Gets the value of "counter-reset" */ |
| 1856 String get counterReset() => |
| 1857 getPropertyValue('counter-reset'); |
| 1858 |
| 1859 /** Sets the value of "counter-reset" */ |
| 1860 void set counterReset(var value) { |
| 1861 setProperty('counter-reset', value, ''); |
| 1862 } |
| 1863 |
| 1864 /** Gets the value of "cursor" */ |
| 1865 String get cursor() => |
| 1866 getPropertyValue('cursor'); |
| 1867 |
| 1868 /** Sets the value of "cursor" */ |
| 1869 void set cursor(var value) { |
| 1870 setProperty('cursor', value, ''); |
| 1871 } |
| 1872 |
| 1873 /** Gets the value of "direction" */ |
| 1874 String get direction() => |
| 1875 getPropertyValue('direction'); |
| 1876 |
| 1877 /** Sets the value of "direction" */ |
| 1878 void set direction(var value) { |
| 1879 setProperty('direction', value, ''); |
| 1880 } |
| 1881 |
| 1882 /** Gets the value of "display" */ |
| 1883 String get display() => |
| 1884 getPropertyValue('display'); |
| 1885 |
| 1886 /** Sets the value of "display" */ |
| 1887 void set display(var value) { |
| 1888 setProperty('display', value, ''); |
| 1889 } |
| 1890 |
| 1891 /** Gets the value of "empty-cells" */ |
| 1892 String get emptyCells() => |
| 1893 getPropertyValue('empty-cells'); |
| 1894 |
| 1895 /** Sets the value of "empty-cells" */ |
| 1896 void set emptyCells(var value) { |
| 1897 setProperty('empty-cells', value, ''); |
| 1898 } |
| 1899 |
| 1900 /** Gets the value of "filter" */ |
| 1901 String get filter() => |
| 1902 getPropertyValue('${_browserPrefix}filter'); |
| 1903 |
| 1904 /** Sets the value of "filter" */ |
| 1905 void set filter(var value) { |
| 1906 setProperty('${_browserPrefix}filter', value, ''); |
| 1907 } |
| 1908 |
| 1909 /** Gets the value of "flex-align" */ |
| 1910 String get flexAlign() => |
| 1911 getPropertyValue('${_browserPrefix}flex-align'); |
| 1912 |
| 1913 /** Sets the value of "flex-align" */ |
| 1914 void set flexAlign(var value) { |
| 1915 setProperty('${_browserPrefix}flex-align', value, ''); |
| 1916 } |
| 1917 |
| 1918 /** Gets the value of "flex-flow" */ |
| 1919 String get flexFlow() => |
| 1920 getPropertyValue('${_browserPrefix}flex-flow'); |
| 1921 |
| 1922 /** Sets the value of "flex-flow" */ |
| 1923 void set flexFlow(var value) { |
| 1924 setProperty('${_browserPrefix}flex-flow', value, ''); |
| 1925 } |
| 1926 |
| 1927 /** Gets the value of "flex-order" */ |
| 1928 String get flexOrder() => |
| 1929 getPropertyValue('${_browserPrefix}flex-order'); |
| 1930 |
| 1931 /** Sets the value of "flex-order" */ |
| 1932 void set flexOrder(var value) { |
| 1933 setProperty('${_browserPrefix}flex-order', value, ''); |
| 1934 } |
| 1935 |
| 1936 /** Gets the value of "flex-pack" */ |
| 1937 String get flexPack() => |
| 1938 getPropertyValue('${_browserPrefix}flex-pack'); |
| 1939 |
| 1940 /** Sets the value of "flex-pack" */ |
| 1941 void set flexPack(var value) { |
| 1942 setProperty('${_browserPrefix}flex-pack', value, ''); |
| 1943 } |
| 1944 |
| 1945 /** Gets the value of "float" */ |
| 1946 String get float() => |
| 1947 getPropertyValue('float'); |
| 1948 |
| 1949 /** Sets the value of "float" */ |
| 1950 void set float(var value) { |
| 1951 setProperty('float', value, ''); |
| 1952 } |
| 1953 |
| 1954 /** Gets the value of "flow-from" */ |
| 1955 String get flowFrom() => |
| 1956 getPropertyValue('${_browserPrefix}flow-from'); |
| 1957 |
| 1958 /** Sets the value of "flow-from" */ |
| 1959 void set flowFrom(var value) { |
| 1960 setProperty('${_browserPrefix}flow-from', value, ''); |
| 1961 } |
| 1962 |
| 1963 /** Gets the value of "flow-into" */ |
| 1964 String get flowInto() => |
| 1965 getPropertyValue('${_browserPrefix}flow-into'); |
| 1966 |
| 1967 /** Sets the value of "flow-into" */ |
| 1968 void set flowInto(var value) { |
| 1969 setProperty('${_browserPrefix}flow-into', value, ''); |
| 1970 } |
| 1971 |
| 1972 /** Gets the value of "font" */ |
| 1973 String get font() => |
| 1974 getPropertyValue('font'); |
| 1975 |
| 1976 /** Sets the value of "font" */ |
| 1977 void set font(var value) { |
| 1978 setProperty('font', value, ''); |
| 1979 } |
| 1980 |
| 1981 /** Gets the value of "font-family" */ |
| 1982 String get fontFamily() => |
| 1983 getPropertyValue('font-family'); |
| 1984 |
| 1985 /** Sets the value of "font-family" */ |
| 1986 void set fontFamily(var value) { |
| 1987 setProperty('font-family', value, ''); |
| 1988 } |
| 1989 |
| 1990 /** Gets the value of "font-feature-settings" */ |
| 1991 String get fontFeatureSettings() => |
| 1992 getPropertyValue('${_browserPrefix}font-feature-settings'); |
| 1993 |
| 1994 /** Sets the value of "font-feature-settings" */ |
| 1995 void set fontFeatureSettings(var value) { |
| 1996 setProperty('${_browserPrefix}font-feature-settings', value, ''); |
| 1997 } |
| 1998 |
| 1999 /** Gets the value of "font-size" */ |
| 2000 String get fontSize() => |
| 2001 getPropertyValue('font-size'); |
| 2002 |
| 2003 /** Sets the value of "font-size" */ |
| 2004 void set fontSize(var value) { |
| 2005 setProperty('font-size', value, ''); |
| 2006 } |
| 2007 |
| 2008 /** Gets the value of "font-size-delta" */ |
| 2009 String get fontSizeDelta() => |
| 2010 getPropertyValue('${_browserPrefix}font-size-delta'); |
| 2011 |
| 2012 /** Sets the value of "font-size-delta" */ |
| 2013 void set fontSizeDelta(var value) { |
| 2014 setProperty('${_browserPrefix}font-size-delta', value, ''); |
| 2015 } |
| 2016 |
| 2017 /** Gets the value of "font-smoothing" */ |
| 2018 String get fontSmoothing() => |
| 2019 getPropertyValue('${_browserPrefix}font-smoothing'); |
| 2020 |
| 2021 /** Sets the value of "font-smoothing" */ |
| 2022 void set fontSmoothing(var value) { |
| 2023 setProperty('${_browserPrefix}font-smoothing', value, ''); |
| 2024 } |
| 2025 |
| 2026 /** Gets the value of "font-stretch" */ |
| 2027 String get fontStretch() => |
| 2028 getPropertyValue('font-stretch'); |
| 2029 |
| 2030 /** Sets the value of "font-stretch" */ |
| 2031 void set fontStretch(var value) { |
| 2032 setProperty('font-stretch', value, ''); |
| 2033 } |
| 2034 |
| 2035 /** Gets the value of "font-style" */ |
| 2036 String get fontStyle() => |
| 2037 getPropertyValue('font-style'); |
| 2038 |
| 2039 /** Sets the value of "font-style" */ |
| 2040 void set fontStyle(var value) { |
| 2041 setProperty('font-style', value, ''); |
| 2042 } |
| 2043 |
| 2044 /** Gets the value of "font-variant" */ |
| 2045 String get fontVariant() => |
| 2046 getPropertyValue('font-variant'); |
| 2047 |
| 2048 /** Sets the value of "font-variant" */ |
| 2049 void set fontVariant(var value) { |
| 2050 setProperty('font-variant', value, ''); |
| 2051 } |
| 2052 |
| 2053 /** Gets the value of "font-weight" */ |
| 2054 String get fontWeight() => |
| 2055 getPropertyValue('font-weight'); |
| 2056 |
| 2057 /** Sets the value of "font-weight" */ |
| 2058 void set fontWeight(var value) { |
| 2059 setProperty('font-weight', value, ''); |
| 2060 } |
| 2061 |
| 2062 /** Gets the value of "height" */ |
| 2063 String get height() => |
| 2064 getPropertyValue('height'); |
| 2065 |
| 2066 /** Sets the value of "height" */ |
| 2067 void set height(var value) { |
| 2068 setProperty('height', value, ''); |
| 2069 } |
| 2070 |
| 2071 /** Gets the value of "highlight" */ |
| 2072 String get highlight() => |
| 2073 getPropertyValue('${_browserPrefix}highlight'); |
| 2074 |
| 2075 /** Sets the value of "highlight" */ |
| 2076 void set highlight(var value) { |
| 2077 setProperty('${_browserPrefix}highlight', value, ''); |
| 2078 } |
| 2079 |
| 2080 /** Gets the value of "hyphenate-character" */ |
| 2081 String get hyphenateCharacter() => |
| 2082 getPropertyValue('${_browserPrefix}hyphenate-character'); |
| 2083 |
| 2084 /** Sets the value of "hyphenate-character" */ |
| 2085 void set hyphenateCharacter(var value) { |
| 2086 setProperty('${_browserPrefix}hyphenate-character', value, ''); |
| 2087 } |
| 2088 |
| 2089 /** Gets the value of "hyphenate-limit-after" */ |
| 2090 String get hyphenateLimitAfter() => |
| 2091 getPropertyValue('${_browserPrefix}hyphenate-limit-after'); |
| 2092 |
| 2093 /** Sets the value of "hyphenate-limit-after" */ |
| 2094 void set hyphenateLimitAfter(var value) { |
| 2095 setProperty('${_browserPrefix}hyphenate-limit-after', value, ''); |
| 2096 } |
| 2097 |
| 2098 /** Gets the value of "hyphenate-limit-before" */ |
| 2099 String get hyphenateLimitBefore() => |
| 2100 getPropertyValue('${_browserPrefix}hyphenate-limit-before'); |
| 2101 |
| 2102 /** Sets the value of "hyphenate-limit-before" */ |
| 2103 void set hyphenateLimitBefore(var value) { |
| 2104 setProperty('${_browserPrefix}hyphenate-limit-before', value, ''); |
| 2105 } |
| 2106 |
| 2107 /** Gets the value of "hyphenate-limit-lines" */ |
| 2108 String get hyphenateLimitLines() => |
| 2109 getPropertyValue('${_browserPrefix}hyphenate-limit-lines'); |
| 2110 |
| 2111 /** Sets the value of "hyphenate-limit-lines" */ |
| 2112 void set hyphenateLimitLines(var value) { |
| 2113 setProperty('${_browserPrefix}hyphenate-limit-lines', value, ''); |
| 2114 } |
| 2115 |
| 2116 /** Gets the value of "hyphens" */ |
| 2117 String get hyphens() => |
| 2118 getPropertyValue('${_browserPrefix}hyphens'); |
| 2119 |
| 2120 /** Sets the value of "hyphens" */ |
| 2121 void set hyphens(var value) { |
| 2122 setProperty('${_browserPrefix}hyphens', value, ''); |
| 2123 } |
| 2124 |
| 2125 /** Gets the value of "image-rendering" */ |
| 2126 String get imageRendering() => |
| 2127 getPropertyValue('image-rendering'); |
| 2128 |
| 2129 /** Sets the value of "image-rendering" */ |
| 2130 void set imageRendering(var value) { |
| 2131 setProperty('image-rendering', value, ''); |
| 2132 } |
| 2133 |
| 2134 /** Gets the value of "left" */ |
| 2135 String get left() => |
| 2136 getPropertyValue('left'); |
| 2137 |
| 2138 /** Sets the value of "left" */ |
| 2139 void set left(var value) { |
| 2140 setProperty('left', value, ''); |
| 2141 } |
| 2142 |
| 2143 /** Gets the value of "letter-spacing" */ |
| 2144 String get letterSpacing() => |
| 2145 getPropertyValue('letter-spacing'); |
| 2146 |
| 2147 /** Sets the value of "letter-spacing" */ |
| 2148 void set letterSpacing(var value) { |
| 2149 setProperty('letter-spacing', value, ''); |
| 2150 } |
| 2151 |
| 2152 /** Gets the value of "line-box-contain" */ |
| 2153 String get lineBoxContain() => |
| 2154 getPropertyValue('${_browserPrefix}line-box-contain'); |
| 2155 |
| 2156 /** Sets the value of "line-box-contain" */ |
| 2157 void set lineBoxContain(var value) { |
| 2158 setProperty('${_browserPrefix}line-box-contain', value, ''); |
| 2159 } |
| 2160 |
| 2161 /** Gets the value of "line-break" */ |
| 2162 String get lineBreak() => |
| 2163 getPropertyValue('${_browserPrefix}line-break'); |
| 2164 |
| 2165 /** Sets the value of "line-break" */ |
| 2166 void set lineBreak(var value) { |
| 2167 setProperty('${_browserPrefix}line-break', value, ''); |
| 2168 } |
| 2169 |
| 2170 /** Gets the value of "line-clamp" */ |
| 2171 String get lineClamp() => |
| 2172 getPropertyValue('${_browserPrefix}line-clamp'); |
| 2173 |
| 2174 /** Sets the value of "line-clamp" */ |
| 2175 void set lineClamp(var value) { |
| 2176 setProperty('${_browserPrefix}line-clamp', value, ''); |
| 2177 } |
| 2178 |
| 2179 /** Gets the value of "line-height" */ |
| 2180 String get lineHeight() => |
| 2181 getPropertyValue('line-height'); |
| 2182 |
| 2183 /** Sets the value of "line-height" */ |
| 2184 void set lineHeight(var value) { |
| 2185 setProperty('line-height', value, ''); |
| 2186 } |
| 2187 |
| 2188 /** Gets the value of "list-style" */ |
| 2189 String get listStyle() => |
| 2190 getPropertyValue('list-style'); |
| 2191 |
| 2192 /** Sets the value of "list-style" */ |
| 2193 void set listStyle(var value) { |
| 2194 setProperty('list-style', value, ''); |
| 2195 } |
| 2196 |
| 2197 /** Gets the value of "list-style-image" */ |
| 2198 String get listStyleImage() => |
| 2199 getPropertyValue('list-style-image'); |
| 2200 |
| 2201 /** Sets the value of "list-style-image" */ |
| 2202 void set listStyleImage(var value) { |
| 2203 setProperty('list-style-image', value, ''); |
| 2204 } |
| 2205 |
| 2206 /** Gets the value of "list-style-position" */ |
| 2207 String get listStylePosition() => |
| 2208 getPropertyValue('list-style-position'); |
| 2209 |
| 2210 /** Sets the value of "list-style-position" */ |
| 2211 void set listStylePosition(var value) { |
| 2212 setProperty('list-style-position', value, ''); |
| 2213 } |
| 2214 |
| 2215 /** Gets the value of "list-style-type" */ |
| 2216 String get listStyleType() => |
| 2217 getPropertyValue('list-style-type'); |
| 2218 |
| 2219 /** Sets the value of "list-style-type" */ |
| 2220 void set listStyleType(var value) { |
| 2221 setProperty('list-style-type', value, ''); |
| 2222 } |
| 2223 |
| 2224 /** Gets the value of "locale" */ |
| 2225 String get locale() => |
| 2226 getPropertyValue('${_browserPrefix}locale'); |
| 2227 |
| 2228 /** Sets the value of "locale" */ |
| 2229 void set locale(var value) { |
| 2230 setProperty('${_browserPrefix}locale', value, ''); |
| 2231 } |
| 2232 |
| 2233 /** Gets the value of "logical-height" */ |
| 2234 String get logicalHeight() => |
| 2235 getPropertyValue('${_browserPrefix}logical-height'); |
| 2236 |
| 2237 /** Sets the value of "logical-height" */ |
| 2238 void set logicalHeight(var value) { |
| 2239 setProperty('${_browserPrefix}logical-height', value, ''); |
| 2240 } |
| 2241 |
| 2242 /** Gets the value of "logical-width" */ |
| 2243 String get logicalWidth() => |
| 2244 getPropertyValue('${_browserPrefix}logical-width'); |
| 2245 |
| 2246 /** Sets the value of "logical-width" */ |
| 2247 void set logicalWidth(var value) { |
| 2248 setProperty('${_browserPrefix}logical-width', value, ''); |
| 2249 } |
| 2250 |
| 2251 /** Gets the value of "margin" */ |
| 2252 String get margin() => |
| 2253 getPropertyValue('margin'); |
| 2254 |
| 2255 /** Sets the value of "margin" */ |
| 2256 void set margin(var value) { |
| 2257 setProperty('margin', value, ''); |
| 2258 } |
| 2259 |
| 2260 /** Gets the value of "margin-after" */ |
| 2261 String get marginAfter() => |
| 2262 getPropertyValue('${_browserPrefix}margin-after'); |
| 2263 |
| 2264 /** Sets the value of "margin-after" */ |
| 2265 void set marginAfter(var value) { |
| 2266 setProperty('${_browserPrefix}margin-after', value, ''); |
| 2267 } |
| 2268 |
| 2269 /** Gets the value of "margin-after-collapse" */ |
| 2270 String get marginAfterCollapse() => |
| 2271 getPropertyValue('${_browserPrefix}margin-after-collapse'); |
| 2272 |
| 2273 /** Sets the value of "margin-after-collapse" */ |
| 2274 void set marginAfterCollapse(var value) { |
| 2275 setProperty('${_browserPrefix}margin-after-collapse', value, ''); |
| 2276 } |
| 2277 |
| 2278 /** Gets the value of "margin-before" */ |
| 2279 String get marginBefore() => |
| 2280 getPropertyValue('${_browserPrefix}margin-before'); |
| 2281 |
| 2282 /** Sets the value of "margin-before" */ |
| 2283 void set marginBefore(var value) { |
| 2284 setProperty('${_browserPrefix}margin-before', value, ''); |
| 2285 } |
| 2286 |
| 2287 /** Gets the value of "margin-before-collapse" */ |
| 2288 String get marginBeforeCollapse() => |
| 2289 getPropertyValue('${_browserPrefix}margin-before-collapse'); |
| 2290 |
| 2291 /** Sets the value of "margin-before-collapse" */ |
| 2292 void set marginBeforeCollapse(var value) { |
| 2293 setProperty('${_browserPrefix}margin-before-collapse', value, ''); |
| 2294 } |
| 2295 |
| 2296 /** Gets the value of "margin-bottom" */ |
| 2297 String get marginBottom() => |
| 2298 getPropertyValue('margin-bottom'); |
| 2299 |
| 2300 /** Sets the value of "margin-bottom" */ |
| 2301 void set marginBottom(var value) { |
| 2302 setProperty('margin-bottom', value, ''); |
| 2303 } |
| 2304 |
| 2305 /** Gets the value of "margin-bottom-collapse" */ |
| 2306 String get marginBottomCollapse() => |
| 2307 getPropertyValue('${_browserPrefix}margin-bottom-collapse'); |
| 2308 |
| 2309 /** Sets the value of "margin-bottom-collapse" */ |
| 2310 void set marginBottomCollapse(var value) { |
| 2311 setProperty('${_browserPrefix}margin-bottom-collapse', value, ''); |
| 2312 } |
| 2313 |
| 2314 /** Gets the value of "margin-collapse" */ |
| 2315 String get marginCollapse() => |
| 2316 getPropertyValue('${_browserPrefix}margin-collapse'); |
| 2317 |
| 2318 /** Sets the value of "margin-collapse" */ |
| 2319 void set marginCollapse(var value) { |
| 2320 setProperty('${_browserPrefix}margin-collapse', value, ''); |
| 2321 } |
| 2322 |
| 2323 /** Gets the value of "margin-end" */ |
| 2324 String get marginEnd() => |
| 2325 getPropertyValue('${_browserPrefix}margin-end'); |
| 2326 |
| 2327 /** Sets the value of "margin-end" */ |
| 2328 void set marginEnd(var value) { |
| 2329 setProperty('${_browserPrefix}margin-end', value, ''); |
| 2330 } |
| 2331 |
| 2332 /** Gets the value of "margin-left" */ |
| 2333 String get marginLeft() => |
| 2334 getPropertyValue('margin-left'); |
| 2335 |
| 2336 /** Sets the value of "margin-left" */ |
| 2337 void set marginLeft(var value) { |
| 2338 setProperty('margin-left', value, ''); |
| 2339 } |
| 2340 |
| 2341 /** Gets the value of "margin-right" */ |
| 2342 String get marginRight() => |
| 2343 getPropertyValue('margin-right'); |
| 2344 |
| 2345 /** Sets the value of "margin-right" */ |
| 2346 void set marginRight(var value) { |
| 2347 setProperty('margin-right', value, ''); |
| 2348 } |
| 2349 |
| 2350 /** Gets the value of "margin-start" */ |
| 2351 String get marginStart() => |
| 2352 getPropertyValue('${_browserPrefix}margin-start'); |
| 2353 |
| 2354 /** Sets the value of "margin-start" */ |
| 2355 void set marginStart(var value) { |
| 2356 setProperty('${_browserPrefix}margin-start', value, ''); |
| 2357 } |
| 2358 |
| 2359 /** Gets the value of "margin-top" */ |
| 2360 String get marginTop() => |
| 2361 getPropertyValue('margin-top'); |
| 2362 |
| 2363 /** Sets the value of "margin-top" */ |
| 2364 void set marginTop(var value) { |
| 2365 setProperty('margin-top', value, ''); |
| 2366 } |
| 2367 |
| 2368 /** Gets the value of "margin-top-collapse" */ |
| 2369 String get marginTopCollapse() => |
| 2370 getPropertyValue('${_browserPrefix}margin-top-collapse'); |
| 2371 |
| 2372 /** Sets the value of "margin-top-collapse" */ |
| 2373 void set marginTopCollapse(var value) { |
| 2374 setProperty('${_browserPrefix}margin-top-collapse', value, ''); |
| 2375 } |
| 2376 |
| 2377 /** Gets the value of "marquee" */ |
| 2378 String get marquee() => |
| 2379 getPropertyValue('${_browserPrefix}marquee'); |
| 2380 |
| 2381 /** Sets the value of "marquee" */ |
| 2382 void set marquee(var value) { |
| 2383 setProperty('${_browserPrefix}marquee', value, ''); |
| 2384 } |
| 2385 |
| 2386 /** Gets the value of "marquee-direction" */ |
| 2387 String get marqueeDirection() => |
| 2388 getPropertyValue('${_browserPrefix}marquee-direction'); |
| 2389 |
| 2390 /** Sets the value of "marquee-direction" */ |
| 2391 void set marqueeDirection(var value) { |
| 2392 setProperty('${_browserPrefix}marquee-direction', value, ''); |
| 2393 } |
| 2394 |
| 2395 /** Gets the value of "marquee-increment" */ |
| 2396 String get marqueeIncrement() => |
| 2397 getPropertyValue('${_browserPrefix}marquee-increment'); |
| 2398 |
| 2399 /** Sets the value of "marquee-increment" */ |
| 2400 void set marqueeIncrement(var value) { |
| 2401 setProperty('${_browserPrefix}marquee-increment', value, ''); |
| 2402 } |
| 2403 |
| 2404 /** Gets the value of "marquee-repetition" */ |
| 2405 String get marqueeRepetition() => |
| 2406 getPropertyValue('${_browserPrefix}marquee-repetition'); |
| 2407 |
| 2408 /** Sets the value of "marquee-repetition" */ |
| 2409 void set marqueeRepetition(var value) { |
| 2410 setProperty('${_browserPrefix}marquee-repetition', value, ''); |
| 2411 } |
| 2412 |
| 2413 /** Gets the value of "marquee-speed" */ |
| 2414 String get marqueeSpeed() => |
| 2415 getPropertyValue('${_browserPrefix}marquee-speed'); |
| 2416 |
| 2417 /** Sets the value of "marquee-speed" */ |
| 2418 void set marqueeSpeed(var value) { |
| 2419 setProperty('${_browserPrefix}marquee-speed', value, ''); |
| 2420 } |
| 2421 |
| 2422 /** Gets the value of "marquee-style" */ |
| 2423 String get marqueeStyle() => |
| 2424 getPropertyValue('${_browserPrefix}marquee-style'); |
| 2425 |
| 2426 /** Sets the value of "marquee-style" */ |
| 2427 void set marqueeStyle(var value) { |
| 2428 setProperty('${_browserPrefix}marquee-style', value, ''); |
| 2429 } |
| 2430 |
| 2431 /** Gets the value of "mask" */ |
| 2432 String get mask() => |
| 2433 getPropertyValue('${_browserPrefix}mask'); |
| 2434 |
| 2435 /** Sets the value of "mask" */ |
| 2436 void set mask(var value) { |
| 2437 setProperty('${_browserPrefix}mask', value, ''); |
| 2438 } |
| 2439 |
| 2440 /** Gets the value of "mask-attachment" */ |
| 2441 String get maskAttachment() => |
| 2442 getPropertyValue('${_browserPrefix}mask-attachment'); |
| 2443 |
| 2444 /** Sets the value of "mask-attachment" */ |
| 2445 void set maskAttachment(var value) { |
| 2446 setProperty('${_browserPrefix}mask-attachment', value, ''); |
| 2447 } |
| 2448 |
| 2449 /** Gets the value of "mask-box-image" */ |
| 2450 String get maskBoxImage() => |
| 2451 getPropertyValue('${_browserPrefix}mask-box-image'); |
| 2452 |
| 2453 /** Sets the value of "mask-box-image" */ |
| 2454 void set maskBoxImage(var value) { |
| 2455 setProperty('${_browserPrefix}mask-box-image', value, ''); |
| 2456 } |
| 2457 |
| 2458 /** Gets the value of "mask-box-image-outset" */ |
| 2459 String get maskBoxImageOutset() => |
| 2460 getPropertyValue('${_browserPrefix}mask-box-image-outset'); |
| 2461 |
| 2462 /** Sets the value of "mask-box-image-outset" */ |
| 2463 void set maskBoxImageOutset(var value) { |
| 2464 setProperty('${_browserPrefix}mask-box-image-outset', value, ''); |
| 2465 } |
| 2466 |
| 2467 /** Gets the value of "mask-box-image-repeat" */ |
| 2468 String get maskBoxImageRepeat() => |
| 2469 getPropertyValue('${_browserPrefix}mask-box-image-repeat'); |
| 2470 |
| 2471 /** Sets the value of "mask-box-image-repeat" */ |
| 2472 void set maskBoxImageRepeat(var value) { |
| 2473 setProperty('${_browserPrefix}mask-box-image-repeat', value, ''); |
| 2474 } |
| 2475 |
| 2476 /** Gets the value of "mask-box-image-slice" */ |
| 2477 String get maskBoxImageSlice() => |
| 2478 getPropertyValue('${_browserPrefix}mask-box-image-slice'); |
| 2479 |
| 2480 /** Sets the value of "mask-box-image-slice" */ |
| 2481 void set maskBoxImageSlice(var value) { |
| 2482 setProperty('${_browserPrefix}mask-box-image-slice', value, ''); |
| 2483 } |
| 2484 |
| 2485 /** Gets the value of "mask-box-image-source" */ |
| 2486 String get maskBoxImageSource() => |
| 2487 getPropertyValue('${_browserPrefix}mask-box-image-source'); |
| 2488 |
| 2489 /** Sets the value of "mask-box-image-source" */ |
| 2490 void set maskBoxImageSource(var value) { |
| 2491 setProperty('${_browserPrefix}mask-box-image-source', value, ''); |
| 2492 } |
| 2493 |
| 2494 /** Gets the value of "mask-box-image-width" */ |
| 2495 String get maskBoxImageWidth() => |
| 2496 getPropertyValue('${_browserPrefix}mask-box-image-width'); |
| 2497 |
| 2498 /** Sets the value of "mask-box-image-width" */ |
| 2499 void set maskBoxImageWidth(var value) { |
| 2500 setProperty('${_browserPrefix}mask-box-image-width', value, ''); |
| 2501 } |
| 2502 |
| 2503 /** Gets the value of "mask-clip" */ |
| 2504 String get maskClip() => |
| 2505 getPropertyValue('${_browserPrefix}mask-clip'); |
| 2506 |
| 2507 /** Sets the value of "mask-clip" */ |
| 2508 void set maskClip(var value) { |
| 2509 setProperty('${_browserPrefix}mask-clip', value, ''); |
| 2510 } |
| 2511 |
| 2512 /** Gets the value of "mask-composite" */ |
| 2513 String get maskComposite() => |
| 2514 getPropertyValue('${_browserPrefix}mask-composite'); |
| 2515 |
| 2516 /** Sets the value of "mask-composite" */ |
| 2517 void set maskComposite(var value) { |
| 2518 setProperty('${_browserPrefix}mask-composite', value, ''); |
| 2519 } |
| 2520 |
| 2521 /** Gets the value of "mask-image" */ |
| 2522 String get maskImage() => |
| 2523 getPropertyValue('${_browserPrefix}mask-image'); |
| 2524 |
| 2525 /** Sets the value of "mask-image" */ |
| 2526 void set maskImage(var value) { |
| 2527 setProperty('${_browserPrefix}mask-image', value, ''); |
| 2528 } |
| 2529 |
| 2530 /** Gets the value of "mask-origin" */ |
| 2531 String get maskOrigin() => |
| 2532 getPropertyValue('${_browserPrefix}mask-origin'); |
| 2533 |
| 2534 /** Sets the value of "mask-origin" */ |
| 2535 void set maskOrigin(var value) { |
| 2536 setProperty('${_browserPrefix}mask-origin', value, ''); |
| 2537 } |
| 2538 |
| 2539 /** Gets the value of "mask-position" */ |
| 2540 String get maskPosition() => |
| 2541 getPropertyValue('${_browserPrefix}mask-position'); |
| 2542 |
| 2543 /** Sets the value of "mask-position" */ |
| 2544 void set maskPosition(var value) { |
| 2545 setProperty('${_browserPrefix}mask-position', value, ''); |
| 2546 } |
| 2547 |
| 2548 /** Gets the value of "mask-position-x" */ |
| 2549 String get maskPositionX() => |
| 2550 getPropertyValue('${_browserPrefix}mask-position-x'); |
| 2551 |
| 2552 /** Sets the value of "mask-position-x" */ |
| 2553 void set maskPositionX(var value) { |
| 2554 setProperty('${_browserPrefix}mask-position-x', value, ''); |
| 2555 } |
| 2556 |
| 2557 /** Gets the value of "mask-position-y" */ |
| 2558 String get maskPositionY() => |
| 2559 getPropertyValue('${_browserPrefix}mask-position-y'); |
| 2560 |
| 2561 /** Sets the value of "mask-position-y" */ |
| 2562 void set maskPositionY(var value) { |
| 2563 setProperty('${_browserPrefix}mask-position-y', value, ''); |
| 2564 } |
| 2565 |
| 2566 /** Gets the value of "mask-repeat" */ |
| 2567 String get maskRepeat() => |
| 2568 getPropertyValue('${_browserPrefix}mask-repeat'); |
| 2569 |
| 2570 /** Sets the value of "mask-repeat" */ |
| 2571 void set maskRepeat(var value) { |
| 2572 setProperty('${_browserPrefix}mask-repeat', value, ''); |
| 2573 } |
| 2574 |
| 2575 /** Gets the value of "mask-repeat-x" */ |
| 2576 String get maskRepeatX() => |
| 2577 getPropertyValue('${_browserPrefix}mask-repeat-x'); |
| 2578 |
| 2579 /** Sets the value of "mask-repeat-x" */ |
| 2580 void set maskRepeatX(var value) { |
| 2581 setProperty('${_browserPrefix}mask-repeat-x', value, ''); |
| 2582 } |
| 2583 |
| 2584 /** Gets the value of "mask-repeat-y" */ |
| 2585 String get maskRepeatY() => |
| 2586 getPropertyValue('${_browserPrefix}mask-repeat-y'); |
| 2587 |
| 2588 /** Sets the value of "mask-repeat-y" */ |
| 2589 void set maskRepeatY(var value) { |
| 2590 setProperty('${_browserPrefix}mask-repeat-y', value, ''); |
| 2591 } |
| 2592 |
| 2593 /** Gets the value of "mask-size" */ |
| 2594 String get maskSize() => |
| 2595 getPropertyValue('${_browserPrefix}mask-size'); |
| 2596 |
| 2597 /** Sets the value of "mask-size" */ |
| 2598 void set maskSize(var value) { |
| 2599 setProperty('${_browserPrefix}mask-size', value, ''); |
| 2600 } |
| 2601 |
| 2602 /** Gets the value of "match-nearest-mail-blockquote-color" */ |
| 2603 String get matchNearestMailBlockquoteColor() => |
| 2604 getPropertyValue('${_browserPrefix}match-nearest-mail-blockquote-color'); |
| 2605 |
| 2606 /** Sets the value of "match-nearest-mail-blockquote-color" */ |
| 2607 void set matchNearestMailBlockquoteColor(var value) { |
| 2608 setProperty('${_browserPrefix}match-nearest-mail-blockquote-color', value, '
'); |
| 2609 } |
| 2610 |
| 2611 /** Gets the value of "max-height" */ |
| 2612 String get maxHeight() => |
| 2613 getPropertyValue('max-height'); |
| 2614 |
| 2615 /** Sets the value of "max-height" */ |
| 2616 void set maxHeight(var value) { |
| 2617 setProperty('max-height', value, ''); |
| 2618 } |
| 2619 |
| 2620 /** Gets the value of "max-logical-height" */ |
| 2621 String get maxLogicalHeight() => |
| 2622 getPropertyValue('${_browserPrefix}max-logical-height'); |
| 2623 |
| 2624 /** Sets the value of "max-logical-height" */ |
| 2625 void set maxLogicalHeight(var value) { |
| 2626 setProperty('${_browserPrefix}max-logical-height', value, ''); |
| 2627 } |
| 2628 |
| 2629 /** Gets the value of "max-logical-width" */ |
| 2630 String get maxLogicalWidth() => |
| 2631 getPropertyValue('${_browserPrefix}max-logical-width'); |
| 2632 |
| 2633 /** Sets the value of "max-logical-width" */ |
| 2634 void set maxLogicalWidth(var value) { |
| 2635 setProperty('${_browserPrefix}max-logical-width', value, ''); |
| 2636 } |
| 2637 |
| 2638 /** Gets the value of "max-width" */ |
| 2639 String get maxWidth() => |
| 2640 getPropertyValue('max-width'); |
| 2641 |
| 2642 /** Sets the value of "max-width" */ |
| 2643 void set maxWidth(var value) { |
| 2644 setProperty('max-width', value, ''); |
| 2645 } |
| 2646 |
| 2647 /** Gets the value of "min-height" */ |
| 2648 String get minHeight() => |
| 2649 getPropertyValue('min-height'); |
| 2650 |
| 2651 /** Sets the value of "min-height" */ |
| 2652 void set minHeight(var value) { |
| 2653 setProperty('min-height', value, ''); |
| 2654 } |
| 2655 |
| 2656 /** Gets the value of "min-logical-height" */ |
| 2657 String get minLogicalHeight() => |
| 2658 getPropertyValue('${_browserPrefix}min-logical-height'); |
| 2659 |
| 2660 /** Sets the value of "min-logical-height" */ |
| 2661 void set minLogicalHeight(var value) { |
| 2662 setProperty('${_browserPrefix}min-logical-height', value, ''); |
| 2663 } |
| 2664 |
| 2665 /** Gets the value of "min-logical-width" */ |
| 2666 String get minLogicalWidth() => |
| 2667 getPropertyValue('${_browserPrefix}min-logical-width'); |
| 2668 |
| 2669 /** Sets the value of "min-logical-width" */ |
| 2670 void set minLogicalWidth(var value) { |
| 2671 setProperty('${_browserPrefix}min-logical-width', value, ''); |
| 2672 } |
| 2673 |
| 2674 /** Gets the value of "min-width" */ |
| 2675 String get minWidth() => |
| 2676 getPropertyValue('min-width'); |
| 2677 |
| 2678 /** Sets the value of "min-width" */ |
| 2679 void set minWidth(var value) { |
| 2680 setProperty('min-width', value, ''); |
| 2681 } |
| 2682 |
| 2683 /** Gets the value of "nbsp-mode" */ |
| 2684 String get nbspMode() => |
| 2685 getPropertyValue('${_browserPrefix}nbsp-mode'); |
| 2686 |
| 2687 /** Sets the value of "nbsp-mode" */ |
| 2688 void set nbspMode(var value) { |
| 2689 setProperty('${_browserPrefix}nbsp-mode', value, ''); |
| 2690 } |
| 2691 |
| 2692 /** Gets the value of "opacity" */ |
| 2693 String get opacity() => |
| 2694 getPropertyValue('opacity'); |
| 2695 |
| 2696 /** Sets the value of "opacity" */ |
| 2697 void set opacity(var value) { |
| 2698 setProperty('opacity', value, ''); |
| 2699 } |
| 2700 |
| 2701 /** Gets the value of "orphans" */ |
| 2702 String get orphans() => |
| 2703 getPropertyValue('orphans'); |
| 2704 |
| 2705 /** Sets the value of "orphans" */ |
| 2706 void set orphans(var value) { |
| 2707 setProperty('orphans', value, ''); |
| 2708 } |
| 2709 |
| 2710 /** Gets the value of "outline" */ |
| 2711 String get outline() => |
| 2712 getPropertyValue('outline'); |
| 2713 |
| 2714 /** Sets the value of "outline" */ |
| 2715 void set outline(var value) { |
| 2716 setProperty('outline', value, ''); |
| 2717 } |
| 2718 |
| 2719 /** Gets the value of "outline-color" */ |
| 2720 String get outlineColor() => |
| 2721 getPropertyValue('outline-color'); |
| 2722 |
| 2723 /** Sets the value of "outline-color" */ |
| 2724 void set outlineColor(var value) { |
| 2725 setProperty('outline-color', value, ''); |
| 2726 } |
| 2727 |
| 2728 /** Gets the value of "outline-offset" */ |
| 2729 String get outlineOffset() => |
| 2730 getPropertyValue('outline-offset'); |
| 2731 |
| 2732 /** Sets the value of "outline-offset" */ |
| 2733 void set outlineOffset(var value) { |
| 2734 setProperty('outline-offset', value, ''); |
| 2735 } |
| 2736 |
| 2737 /** Gets the value of "outline-style" */ |
| 2738 String get outlineStyle() => |
| 2739 getPropertyValue('outline-style'); |
| 2740 |
| 2741 /** Sets the value of "outline-style" */ |
| 2742 void set outlineStyle(var value) { |
| 2743 setProperty('outline-style', value, ''); |
| 2744 } |
| 2745 |
| 2746 /** Gets the value of "outline-width" */ |
| 2747 String get outlineWidth() => |
| 2748 getPropertyValue('outline-width'); |
| 2749 |
| 2750 /** Sets the value of "outline-width" */ |
| 2751 void set outlineWidth(var value) { |
| 2752 setProperty('outline-width', value, ''); |
| 2753 } |
| 2754 |
| 2755 /** Gets the value of "overflow" */ |
| 2756 String get overflow() => |
| 2757 getPropertyValue('overflow'); |
| 2758 |
| 2759 /** Sets the value of "overflow" */ |
| 2760 void set overflow(var value) { |
| 2761 setProperty('overflow', value, ''); |
| 2762 } |
| 2763 |
| 2764 /** Gets the value of "overflow-x" */ |
| 2765 String get overflowX() => |
| 2766 getPropertyValue('overflow-x'); |
| 2767 |
| 2768 /** Sets the value of "overflow-x" */ |
| 2769 void set overflowX(var value) { |
| 2770 setProperty('overflow-x', value, ''); |
| 2771 } |
| 2772 |
| 2773 /** Gets the value of "overflow-y" */ |
| 2774 String get overflowY() => |
| 2775 getPropertyValue('overflow-y'); |
| 2776 |
| 2777 /** Sets the value of "overflow-y" */ |
| 2778 void set overflowY(var value) { |
| 2779 setProperty('overflow-y', value, ''); |
| 2780 } |
| 2781 |
| 2782 /** Gets the value of "padding" */ |
| 2783 String get padding() => |
| 2784 getPropertyValue('padding'); |
| 2785 |
| 2786 /** Sets the value of "padding" */ |
| 2787 void set padding(var value) { |
| 2788 setProperty('padding', value, ''); |
| 2789 } |
| 2790 |
| 2791 /** Gets the value of "padding-after" */ |
| 2792 String get paddingAfter() => |
| 2793 getPropertyValue('${_browserPrefix}padding-after'); |
| 2794 |
| 2795 /** Sets the value of "padding-after" */ |
| 2796 void set paddingAfter(var value) { |
| 2797 setProperty('${_browserPrefix}padding-after', value, ''); |
| 2798 } |
| 2799 |
| 2800 /** Gets the value of "padding-before" */ |
| 2801 String get paddingBefore() => |
| 2802 getPropertyValue('${_browserPrefix}padding-before'); |
| 2803 |
| 2804 /** Sets the value of "padding-before" */ |
| 2805 void set paddingBefore(var value) { |
| 2806 setProperty('${_browserPrefix}padding-before', value, ''); |
| 2807 } |
| 2808 |
| 2809 /** Gets the value of "padding-bottom" */ |
| 2810 String get paddingBottom() => |
| 2811 getPropertyValue('padding-bottom'); |
| 2812 |
| 2813 /** Sets the value of "padding-bottom" */ |
| 2814 void set paddingBottom(var value) { |
| 2815 setProperty('padding-bottom', value, ''); |
| 2816 } |
| 2817 |
| 2818 /** Gets the value of "padding-end" */ |
| 2819 String get paddingEnd() => |
| 2820 getPropertyValue('${_browserPrefix}padding-end'); |
| 2821 |
| 2822 /** Sets the value of "padding-end" */ |
| 2823 void set paddingEnd(var value) { |
| 2824 setProperty('${_browserPrefix}padding-end', value, ''); |
| 2825 } |
| 2826 |
| 2827 /** Gets the value of "padding-left" */ |
| 2828 String get paddingLeft() => |
| 2829 getPropertyValue('padding-left'); |
| 2830 |
| 2831 /** Sets the value of "padding-left" */ |
| 2832 void set paddingLeft(var value) { |
| 2833 setProperty('padding-left', value, ''); |
| 2834 } |
| 2835 |
| 2836 /** Gets the value of "padding-right" */ |
| 2837 String get paddingRight() => |
| 2838 getPropertyValue('padding-right'); |
| 2839 |
| 2840 /** Sets the value of "padding-right" */ |
| 2841 void set paddingRight(var value) { |
| 2842 setProperty('padding-right', value, ''); |
| 2843 } |
| 2844 |
| 2845 /** Gets the value of "padding-start" */ |
| 2846 String get paddingStart() => |
| 2847 getPropertyValue('${_browserPrefix}padding-start'); |
| 2848 |
| 2849 /** Sets the value of "padding-start" */ |
| 2850 void set paddingStart(var value) { |
| 2851 setProperty('${_browserPrefix}padding-start', value, ''); |
| 2852 } |
| 2853 |
| 2854 /** Gets the value of "padding-top" */ |
| 2855 String get paddingTop() => |
| 2856 getPropertyValue('padding-top'); |
| 2857 |
| 2858 /** Sets the value of "padding-top" */ |
| 2859 void set paddingTop(var value) { |
| 2860 setProperty('padding-top', value, ''); |
| 2861 } |
| 2862 |
| 2863 /** Gets the value of "page" */ |
| 2864 String get page() => |
| 2865 getPropertyValue('page'); |
| 2866 |
| 2867 /** Sets the value of "page" */ |
| 2868 void set page(var value) { |
| 2869 setProperty('page', value, ''); |
| 2870 } |
| 2871 |
| 2872 /** Gets the value of "page-break-after" */ |
| 2873 String get pageBreakAfter() => |
| 2874 getPropertyValue('page-break-after'); |
| 2875 |
| 2876 /** Sets the value of "page-break-after" */ |
| 2877 void set pageBreakAfter(var value) { |
| 2878 setProperty('page-break-after', value, ''); |
| 2879 } |
| 2880 |
| 2881 /** Gets the value of "page-break-before" */ |
| 2882 String get pageBreakBefore() => |
| 2883 getPropertyValue('page-break-before'); |
| 2884 |
| 2885 /** Sets the value of "page-break-before" */ |
| 2886 void set pageBreakBefore(var value) { |
| 2887 setProperty('page-break-before', value, ''); |
| 2888 } |
| 2889 |
| 2890 /** Gets the value of "page-break-inside" */ |
| 2891 String get pageBreakInside() => |
| 2892 getPropertyValue('page-break-inside'); |
| 2893 |
| 2894 /** Sets the value of "page-break-inside" */ |
| 2895 void set pageBreakInside(var value) { |
| 2896 setProperty('page-break-inside', value, ''); |
| 2897 } |
| 2898 |
| 2899 /** Gets the value of "perspective" */ |
| 2900 String get perspective() => |
| 2901 getPropertyValue('${_browserPrefix}perspective'); |
| 2902 |
| 2903 /** Sets the value of "perspective" */ |
| 2904 void set perspective(var value) { |
| 2905 setProperty('${_browserPrefix}perspective', value, ''); |
| 2906 } |
| 2907 |
| 2908 /** Gets the value of "perspective-origin" */ |
| 2909 String get perspectiveOrigin() => |
| 2910 getPropertyValue('${_browserPrefix}perspective-origin'); |
| 2911 |
| 2912 /** Sets the value of "perspective-origin" */ |
| 2913 void set perspectiveOrigin(var value) { |
| 2914 setProperty('${_browserPrefix}perspective-origin', value, ''); |
| 2915 } |
| 2916 |
| 2917 /** Gets the value of "perspective-origin-x" */ |
| 2918 String get perspectiveOriginX() => |
| 2919 getPropertyValue('${_browserPrefix}perspective-origin-x'); |
| 2920 |
| 2921 /** Sets the value of "perspective-origin-x" */ |
| 2922 void set perspectiveOriginX(var value) { |
| 2923 setProperty('${_browserPrefix}perspective-origin-x', value, ''); |
| 2924 } |
| 2925 |
| 2926 /** Gets the value of "perspective-origin-y" */ |
| 2927 String get perspectiveOriginY() => |
| 2928 getPropertyValue('${_browserPrefix}perspective-origin-y'); |
| 2929 |
| 2930 /** Sets the value of "perspective-origin-y" */ |
| 2931 void set perspectiveOriginY(var value) { |
| 2932 setProperty('${_browserPrefix}perspective-origin-y', value, ''); |
| 2933 } |
| 2934 |
| 2935 /** Gets the value of "pointer-events" */ |
| 2936 String get pointerEvents() => |
| 2937 getPropertyValue('pointer-events'); |
| 2938 |
| 2939 /** Sets the value of "pointer-events" */ |
| 2940 void set pointerEvents(var value) { |
| 2941 setProperty('pointer-events', value, ''); |
| 2942 } |
| 2943 |
| 2944 /** Gets the value of "position" */ |
| 2945 String get position() => |
| 2946 getPropertyValue('position'); |
| 2947 |
| 2948 /** Sets the value of "position" */ |
| 2949 void set position(var value) { |
| 2950 setProperty('position', value, ''); |
| 2951 } |
| 2952 |
| 2953 /** Gets the value of "quotes" */ |
| 2954 String get quotes() => |
| 2955 getPropertyValue('quotes'); |
| 2956 |
| 2957 /** Sets the value of "quotes" */ |
| 2958 void set quotes(var value) { |
| 2959 setProperty('quotes', value, ''); |
| 2960 } |
| 2961 |
| 2962 /** Gets the value of "region-break-after" */ |
| 2963 String get regionBreakAfter() => |
| 2964 getPropertyValue('${_browserPrefix}region-break-after'); |
| 2965 |
| 2966 /** Sets the value of "region-break-after" */ |
| 2967 void set regionBreakAfter(var value) { |
| 2968 setProperty('${_browserPrefix}region-break-after', value, ''); |
| 2969 } |
| 2970 |
| 2971 /** Gets the value of "region-break-before" */ |
| 2972 String get regionBreakBefore() => |
| 2973 getPropertyValue('${_browserPrefix}region-break-before'); |
| 2974 |
| 2975 /** Sets the value of "region-break-before" */ |
| 2976 void set regionBreakBefore(var value) { |
| 2977 setProperty('${_browserPrefix}region-break-before', value, ''); |
| 2978 } |
| 2979 |
| 2980 /** Gets the value of "region-break-inside" */ |
| 2981 String get regionBreakInside() => |
| 2982 getPropertyValue('${_browserPrefix}region-break-inside'); |
| 2983 |
| 2984 /** Sets the value of "region-break-inside" */ |
| 2985 void set regionBreakInside(var value) { |
| 2986 setProperty('${_browserPrefix}region-break-inside', value, ''); |
| 2987 } |
| 2988 |
| 2989 /** Gets the value of "region-overflow" */ |
| 2990 String get regionOverflow() => |
| 2991 getPropertyValue('${_browserPrefix}region-overflow'); |
| 2992 |
| 2993 /** Sets the value of "region-overflow" */ |
| 2994 void set regionOverflow(var value) { |
| 2995 setProperty('${_browserPrefix}region-overflow', value, ''); |
| 2996 } |
| 2997 |
| 2998 /** Gets the value of "resize" */ |
| 2999 String get resize() => |
| 3000 getPropertyValue('resize'); |
| 3001 |
| 3002 /** Sets the value of "resize" */ |
| 3003 void set resize(var value) { |
| 3004 setProperty('resize', value, ''); |
| 3005 } |
| 3006 |
| 3007 /** Gets the value of "right" */ |
| 3008 String get right() => |
| 3009 getPropertyValue('right'); |
| 3010 |
| 3011 /** Sets the value of "right" */ |
| 3012 void set right(var value) { |
| 3013 setProperty('right', value, ''); |
| 3014 } |
| 3015 |
| 3016 /** Gets the value of "rtl-ordering" */ |
| 3017 String get rtlOrdering() => |
| 3018 getPropertyValue('${_browserPrefix}rtl-ordering'); |
| 3019 |
| 3020 /** Sets the value of "rtl-ordering" */ |
| 3021 void set rtlOrdering(var value) { |
| 3022 setProperty('${_browserPrefix}rtl-ordering', value, ''); |
| 3023 } |
| 3024 |
| 3025 /** Gets the value of "size" */ |
| 3026 String get size() => |
| 3027 getPropertyValue('size'); |
| 3028 |
| 3029 /** Sets the value of "size" */ |
| 3030 void set size(var value) { |
| 3031 setProperty('size', value, ''); |
| 3032 } |
| 3033 |
| 3034 /** Gets the value of "speak" */ |
| 3035 String get speak() => |
| 3036 getPropertyValue('speak'); |
| 3037 |
| 3038 /** Sets the value of "speak" */ |
| 3039 void set speak(var value) { |
| 3040 setProperty('speak', value, ''); |
| 3041 } |
| 3042 |
| 3043 /** Gets the value of "src" */ |
| 3044 String get src() => |
| 3045 getPropertyValue('src'); |
| 3046 |
| 3047 /** Sets the value of "src" */ |
| 3048 void set src(var value) { |
| 3049 setProperty('src', value, ''); |
| 3050 } |
| 3051 |
| 3052 /** Gets the value of "table-layout" */ |
| 3053 String get tableLayout() => |
| 3054 getPropertyValue('table-layout'); |
| 3055 |
| 3056 /** Sets the value of "table-layout" */ |
| 3057 void set tableLayout(var value) { |
| 3058 setProperty('table-layout', value, ''); |
| 3059 } |
| 3060 |
| 3061 /** Gets the value of "tap-highlight-color" */ |
| 3062 String get tapHighlightColor() => |
| 3063 getPropertyValue('${_browserPrefix}tap-highlight-color'); |
| 3064 |
| 3065 /** Sets the value of "tap-highlight-color" */ |
| 3066 void set tapHighlightColor(var value) { |
| 3067 setProperty('${_browserPrefix}tap-highlight-color', value, ''); |
| 3068 } |
| 3069 |
| 3070 /** Gets the value of "text-align" */ |
| 3071 String get textAlign() => |
| 3072 getPropertyValue('text-align'); |
| 3073 |
| 3074 /** Sets the value of "text-align" */ |
| 3075 void set textAlign(var value) { |
| 3076 setProperty('text-align', value, ''); |
| 3077 } |
| 3078 |
| 3079 /** Gets the value of "text-combine" */ |
| 3080 String get textCombine() => |
| 3081 getPropertyValue('${_browserPrefix}text-combine'); |
| 3082 |
| 3083 /** Sets the value of "text-combine" */ |
| 3084 void set textCombine(var value) { |
| 3085 setProperty('${_browserPrefix}text-combine', value, ''); |
| 3086 } |
| 3087 |
| 3088 /** Gets the value of "text-decoration" */ |
| 3089 String get textDecoration() => |
| 3090 getPropertyValue('text-decoration'); |
| 3091 |
| 3092 /** Sets the value of "text-decoration" */ |
| 3093 void set textDecoration(var value) { |
| 3094 setProperty('text-decoration', value, ''); |
| 3095 } |
| 3096 |
| 3097 /** Gets the value of "text-decorations-in-effect" */ |
| 3098 String get textDecorationsInEffect() => |
| 3099 getPropertyValue('${_browserPrefix}text-decorations-in-effect'); |
| 3100 |
| 3101 /** Sets the value of "text-decorations-in-effect" */ |
| 3102 void set textDecorationsInEffect(var value) { |
| 3103 setProperty('${_browserPrefix}text-decorations-in-effect', value, ''); |
| 3104 } |
| 3105 |
| 3106 /** Gets the value of "text-emphasis" */ |
| 3107 String get textEmphasis() => |
| 3108 getPropertyValue('${_browserPrefix}text-emphasis'); |
| 3109 |
| 3110 /** Sets the value of "text-emphasis" */ |
| 3111 void set textEmphasis(var value) { |
| 3112 setProperty('${_browserPrefix}text-emphasis', value, ''); |
| 3113 } |
| 3114 |
| 3115 /** Gets the value of "text-emphasis-color" */ |
| 3116 String get textEmphasisColor() => |
| 3117 getPropertyValue('${_browserPrefix}text-emphasis-color'); |
| 3118 |
| 3119 /** Sets the value of "text-emphasis-color" */ |
| 3120 void set textEmphasisColor(var value) { |
| 3121 setProperty('${_browserPrefix}text-emphasis-color', value, ''); |
| 3122 } |
| 3123 |
| 3124 /** Gets the value of "text-emphasis-position" */ |
| 3125 String get textEmphasisPosition() => |
| 3126 getPropertyValue('${_browserPrefix}text-emphasis-position'); |
| 3127 |
| 3128 /** Sets the value of "text-emphasis-position" */ |
| 3129 void set textEmphasisPosition(var value) { |
| 3130 setProperty('${_browserPrefix}text-emphasis-position', value, ''); |
| 3131 } |
| 3132 |
| 3133 /** Gets the value of "text-emphasis-style" */ |
| 3134 String get textEmphasisStyle() => |
| 3135 getPropertyValue('${_browserPrefix}text-emphasis-style'); |
| 3136 |
| 3137 /** Sets the value of "text-emphasis-style" */ |
| 3138 void set textEmphasisStyle(var value) { |
| 3139 setProperty('${_browserPrefix}text-emphasis-style', value, ''); |
| 3140 } |
| 3141 |
| 3142 /** Gets the value of "text-fill-color" */ |
| 3143 String get textFillColor() => |
| 3144 getPropertyValue('${_browserPrefix}text-fill-color'); |
| 3145 |
| 3146 /** Sets the value of "text-fill-color" */ |
| 3147 void set textFillColor(var value) { |
| 3148 setProperty('${_browserPrefix}text-fill-color', value, ''); |
| 3149 } |
| 3150 |
| 3151 /** Gets the value of "text-indent" */ |
| 3152 String get textIndent() => |
| 3153 getPropertyValue('text-indent'); |
| 3154 |
| 3155 /** Sets the value of "text-indent" */ |
| 3156 void set textIndent(var value) { |
| 3157 setProperty('text-indent', value, ''); |
| 3158 } |
| 3159 |
| 3160 /** Gets the value of "text-line-through" */ |
| 3161 String get textLineThrough() => |
| 3162 getPropertyValue('text-line-through'); |
| 3163 |
| 3164 /** Sets the value of "text-line-through" */ |
| 3165 void set textLineThrough(var value) { |
| 3166 setProperty('text-line-through', value, ''); |
| 3167 } |
| 3168 |
| 3169 /** Gets the value of "text-line-through-color" */ |
| 3170 String get textLineThroughColor() => |
| 3171 getPropertyValue('text-line-through-color'); |
| 3172 |
| 3173 /** Sets the value of "text-line-through-color" */ |
| 3174 void set textLineThroughColor(var value) { |
| 3175 setProperty('text-line-through-color', value, ''); |
| 3176 } |
| 3177 |
| 3178 /** Gets the value of "text-line-through-mode" */ |
| 3179 String get textLineThroughMode() => |
| 3180 getPropertyValue('text-line-through-mode'); |
| 3181 |
| 3182 /** Sets the value of "text-line-through-mode" */ |
| 3183 void set textLineThroughMode(var value) { |
| 3184 setProperty('text-line-through-mode', value, ''); |
| 3185 } |
| 3186 |
| 3187 /** Gets the value of "text-line-through-style" */ |
| 3188 String get textLineThroughStyle() => |
| 3189 getPropertyValue('text-line-through-style'); |
| 3190 |
| 3191 /** Sets the value of "text-line-through-style" */ |
| 3192 void set textLineThroughStyle(var value) { |
| 3193 setProperty('text-line-through-style', value, ''); |
| 3194 } |
| 3195 |
| 3196 /** Gets the value of "text-line-through-width" */ |
| 3197 String get textLineThroughWidth() => |
| 3198 getPropertyValue('text-line-through-width'); |
| 3199 |
| 3200 /** Sets the value of "text-line-through-width" */ |
| 3201 void set textLineThroughWidth(var value) { |
| 3202 setProperty('text-line-through-width', value, ''); |
| 3203 } |
| 3204 |
| 3205 /** Gets the value of "text-orientation" */ |
| 3206 String get textOrientation() => |
| 3207 getPropertyValue('${_browserPrefix}text-orientation'); |
| 3208 |
| 3209 /** Sets the value of "text-orientation" */ |
| 3210 void set textOrientation(var value) { |
| 3211 setProperty('${_browserPrefix}text-orientation', value, ''); |
| 3212 } |
| 3213 |
| 3214 /** Gets the value of "text-overflow" */ |
| 3215 String get textOverflow() => |
| 3216 getPropertyValue('text-overflow'); |
| 3217 |
| 3218 /** Sets the value of "text-overflow" */ |
| 3219 void set textOverflow(var value) { |
| 3220 setProperty('text-overflow', value, ''); |
| 3221 } |
| 3222 |
| 3223 /** Gets the value of "text-overline" */ |
| 3224 String get textOverline() => |
| 3225 getPropertyValue('text-overline'); |
| 3226 |
| 3227 /** Sets the value of "text-overline" */ |
| 3228 void set textOverline(var value) { |
| 3229 setProperty('text-overline', value, ''); |
| 3230 } |
| 3231 |
| 3232 /** Gets the value of "text-overline-color" */ |
| 3233 String get textOverlineColor() => |
| 3234 getPropertyValue('text-overline-color'); |
| 3235 |
| 3236 /** Sets the value of "text-overline-color" */ |
| 3237 void set textOverlineColor(var value) { |
| 3238 setProperty('text-overline-color', value, ''); |
| 3239 } |
| 3240 |
| 3241 /** Gets the value of "text-overline-mode" */ |
| 3242 String get textOverlineMode() => |
| 3243 getPropertyValue('text-overline-mode'); |
| 3244 |
| 3245 /** Sets the value of "text-overline-mode" */ |
| 3246 void set textOverlineMode(var value) { |
| 3247 setProperty('text-overline-mode', value, ''); |
| 3248 } |
| 3249 |
| 3250 /** Gets the value of "text-overline-style" */ |
| 3251 String get textOverlineStyle() => |
| 3252 getPropertyValue('text-overline-style'); |
| 3253 |
| 3254 /** Sets the value of "text-overline-style" */ |
| 3255 void set textOverlineStyle(var value) { |
| 3256 setProperty('text-overline-style', value, ''); |
| 3257 } |
| 3258 |
| 3259 /** Gets the value of "text-overline-width" */ |
| 3260 String get textOverlineWidth() => |
| 3261 getPropertyValue('text-overline-width'); |
| 3262 |
| 3263 /** Sets the value of "text-overline-width" */ |
| 3264 void set textOverlineWidth(var value) { |
| 3265 setProperty('text-overline-width', value, ''); |
| 3266 } |
| 3267 |
| 3268 /** Gets the value of "text-rendering" */ |
| 3269 String get textRendering() => |
| 3270 getPropertyValue('text-rendering'); |
| 3271 |
| 3272 /** Sets the value of "text-rendering" */ |
| 3273 void set textRendering(var value) { |
| 3274 setProperty('text-rendering', value, ''); |
| 3275 } |
| 3276 |
| 3277 /** Gets the value of "text-security" */ |
| 3278 String get textSecurity() => |
| 3279 getPropertyValue('${_browserPrefix}text-security'); |
| 3280 |
| 3281 /** Sets the value of "text-security" */ |
| 3282 void set textSecurity(var value) { |
| 3283 setProperty('${_browserPrefix}text-security', value, ''); |
| 3284 } |
| 3285 |
| 3286 /** Gets the value of "text-shadow" */ |
| 3287 String get textShadow() => |
| 3288 getPropertyValue('text-shadow'); |
| 3289 |
| 3290 /** Sets the value of "text-shadow" */ |
| 3291 void set textShadow(var value) { |
| 3292 setProperty('text-shadow', value, ''); |
| 3293 } |
| 3294 |
| 3295 /** Gets the value of "text-size-adjust" */ |
| 3296 String get textSizeAdjust() => |
| 3297 getPropertyValue('${_browserPrefix}text-size-adjust'); |
| 3298 |
| 3299 /** Sets the value of "text-size-adjust" */ |
| 3300 void set textSizeAdjust(var value) { |
| 3301 setProperty('${_browserPrefix}text-size-adjust', value, ''); |
| 3302 } |
| 3303 |
| 3304 /** Gets the value of "text-stroke" */ |
| 3305 String get textStroke() => |
| 3306 getPropertyValue('${_browserPrefix}text-stroke'); |
| 3307 |
| 3308 /** Sets the value of "text-stroke" */ |
| 3309 void set textStroke(var value) { |
| 3310 setProperty('${_browserPrefix}text-stroke', value, ''); |
| 3311 } |
| 3312 |
| 3313 /** Gets the value of "text-stroke-color" */ |
| 3314 String get textStrokeColor() => |
| 3315 getPropertyValue('${_browserPrefix}text-stroke-color'); |
| 3316 |
| 3317 /** Sets the value of "text-stroke-color" */ |
| 3318 void set textStrokeColor(var value) { |
| 3319 setProperty('${_browserPrefix}text-stroke-color', value, ''); |
| 3320 } |
| 3321 |
| 3322 /** Gets the value of "text-stroke-width" */ |
| 3323 String get textStrokeWidth() => |
| 3324 getPropertyValue('${_browserPrefix}text-stroke-width'); |
| 3325 |
| 3326 /** Sets the value of "text-stroke-width" */ |
| 3327 void set textStrokeWidth(var value) { |
| 3328 setProperty('${_browserPrefix}text-stroke-width', value, ''); |
| 3329 } |
| 3330 |
| 3331 /** Gets the value of "text-transform" */ |
| 3332 String get textTransform() => |
| 3333 getPropertyValue('text-transform'); |
| 3334 |
| 3335 /** Sets the value of "text-transform" */ |
| 3336 void set textTransform(var value) { |
| 3337 setProperty('text-transform', value, ''); |
| 3338 } |
| 3339 |
| 3340 /** Gets the value of "text-underline" */ |
| 3341 String get textUnderline() => |
| 3342 getPropertyValue('text-underline'); |
| 3343 |
| 3344 /** Sets the value of "text-underline" */ |
| 3345 void set textUnderline(var value) { |
| 3346 setProperty('text-underline', value, ''); |
| 3347 } |
| 3348 |
| 3349 /** Gets the value of "text-underline-color" */ |
| 3350 String get textUnderlineColor() => |
| 3351 getPropertyValue('text-underline-color'); |
| 3352 |
| 3353 /** Sets the value of "text-underline-color" */ |
| 3354 void set textUnderlineColor(var value) { |
| 3355 setProperty('text-underline-color', value, ''); |
| 3356 } |
| 3357 |
| 3358 /** Gets the value of "text-underline-mode" */ |
| 3359 String get textUnderlineMode() => |
| 3360 getPropertyValue('text-underline-mode'); |
| 3361 |
| 3362 /** Sets the value of "text-underline-mode" */ |
| 3363 void set textUnderlineMode(var value) { |
| 3364 setProperty('text-underline-mode', value, ''); |
| 3365 } |
| 3366 |
| 3367 /** Gets the value of "text-underline-style" */ |
| 3368 String get textUnderlineStyle() => |
| 3369 getPropertyValue('text-underline-style'); |
| 3370 |
| 3371 /** Sets the value of "text-underline-style" */ |
| 3372 void set textUnderlineStyle(var value) { |
| 3373 setProperty('text-underline-style', value, ''); |
| 3374 } |
| 3375 |
| 3376 /** Gets the value of "text-underline-width" */ |
| 3377 String get textUnderlineWidth() => |
| 3378 getPropertyValue('text-underline-width'); |
| 3379 |
| 3380 /** Sets the value of "text-underline-width" */ |
| 3381 void set textUnderlineWidth(var value) { |
| 3382 setProperty('text-underline-width', value, ''); |
| 3383 } |
| 3384 |
| 3385 /** Gets the value of "top" */ |
| 3386 String get top() => |
| 3387 getPropertyValue('top'); |
| 3388 |
| 3389 /** Sets the value of "top" */ |
| 3390 void set top(var value) { |
| 3391 setProperty('top', value, ''); |
| 3392 } |
| 3393 |
| 3394 /** Gets the value of "transform" */ |
| 3395 String get transform() => |
| 3396 getPropertyValue('${_browserPrefix}transform'); |
| 3397 |
| 3398 /** Sets the value of "transform" */ |
| 3399 void set transform(var value) { |
| 3400 setProperty('${_browserPrefix}transform', value, ''); |
| 3401 } |
| 3402 |
| 3403 /** Gets the value of "transform-origin" */ |
| 3404 String get transformOrigin() => |
| 3405 getPropertyValue('${_browserPrefix}transform-origin'); |
| 3406 |
| 3407 /** Sets the value of "transform-origin" */ |
| 3408 void set transformOrigin(var value) { |
| 3409 setProperty('${_browserPrefix}transform-origin', value, ''); |
| 3410 } |
| 3411 |
| 3412 /** Gets the value of "transform-origin-x" */ |
| 3413 String get transformOriginX() => |
| 3414 getPropertyValue('${_browserPrefix}transform-origin-x'); |
| 3415 |
| 3416 /** Sets the value of "transform-origin-x" */ |
| 3417 void set transformOriginX(var value) { |
| 3418 setProperty('${_browserPrefix}transform-origin-x', value, ''); |
| 3419 } |
| 3420 |
| 3421 /** Gets the value of "transform-origin-y" */ |
| 3422 String get transformOriginY() => |
| 3423 getPropertyValue('${_browserPrefix}transform-origin-y'); |
| 3424 |
| 3425 /** Sets the value of "transform-origin-y" */ |
| 3426 void set transformOriginY(var value) { |
| 3427 setProperty('${_browserPrefix}transform-origin-y', value, ''); |
| 3428 } |
| 3429 |
| 3430 /** Gets the value of "transform-origin-z" */ |
| 3431 String get transformOriginZ() => |
| 3432 getPropertyValue('${_browserPrefix}transform-origin-z'); |
| 3433 |
| 3434 /** Sets the value of "transform-origin-z" */ |
| 3435 void set transformOriginZ(var value) { |
| 3436 setProperty('${_browserPrefix}transform-origin-z', value, ''); |
| 3437 } |
| 3438 |
| 3439 /** Gets the value of "transform-style" */ |
| 3440 String get transformStyle() => |
| 3441 getPropertyValue('${_browserPrefix}transform-style'); |
| 3442 |
| 3443 /** Sets the value of "transform-style" */ |
| 3444 void set transformStyle(var value) { |
| 3445 setProperty('${_browserPrefix}transform-style', value, ''); |
| 3446 } |
| 3447 |
| 3448 /** Gets the value of "transition" */ |
| 3449 String get transition() => |
| 3450 getPropertyValue('${_browserPrefix}transition'); |
| 3451 |
| 3452 /** Sets the value of "transition" */ |
| 3453 void set transition(var value) { |
| 3454 setProperty('${_browserPrefix}transition', value, ''); |
| 3455 } |
| 3456 |
| 3457 /** Gets the value of "transition-delay" */ |
| 3458 String get transitionDelay() => |
| 3459 getPropertyValue('${_browserPrefix}transition-delay'); |
| 3460 |
| 3461 /** Sets the value of "transition-delay" */ |
| 3462 void set transitionDelay(var value) { |
| 3463 setProperty('${_browserPrefix}transition-delay', value, ''); |
| 3464 } |
| 3465 |
| 3466 /** Gets the value of "transition-duration" */ |
| 3467 String get transitionDuration() => |
| 3468 getPropertyValue('${_browserPrefix}transition-duration'); |
| 3469 |
| 3470 /** Sets the value of "transition-duration" */ |
| 3471 void set transitionDuration(var value) { |
| 3472 setProperty('${_browserPrefix}transition-duration', value, ''); |
| 3473 } |
| 3474 |
| 3475 /** Gets the value of "transition-property" */ |
| 3476 String get transitionProperty() => |
| 3477 getPropertyValue('${_browserPrefix}transition-property'); |
| 3478 |
| 3479 /** Sets the value of "transition-property" */ |
| 3480 void set transitionProperty(var value) { |
| 3481 setProperty('${_browserPrefix}transition-property', value, ''); |
| 3482 } |
| 3483 |
| 3484 /** Gets the value of "transition-timing-function" */ |
| 3485 String get transitionTimingFunction() => |
| 3486 getPropertyValue('${_browserPrefix}transition-timing-function'); |
| 3487 |
| 3488 /** Sets the value of "transition-timing-function" */ |
| 3489 void set transitionTimingFunction(var value) { |
| 3490 setProperty('${_browserPrefix}transition-timing-function', value, ''); |
| 3491 } |
| 3492 |
| 3493 /** Gets the value of "unicode-bidi" */ |
| 3494 String get unicodeBidi() => |
| 3495 getPropertyValue('unicode-bidi'); |
| 3496 |
| 3497 /** Sets the value of "unicode-bidi" */ |
| 3498 void set unicodeBidi(var value) { |
| 3499 setProperty('unicode-bidi', value, ''); |
| 3500 } |
| 3501 |
| 3502 /** Gets the value of "unicode-range" */ |
| 3503 String get unicodeRange() => |
| 3504 getPropertyValue('unicode-range'); |
| 3505 |
| 3506 /** Sets the value of "unicode-range" */ |
| 3507 void set unicodeRange(var value) { |
| 3508 setProperty('unicode-range', value, ''); |
| 3509 } |
| 3510 |
| 3511 /** Gets the value of "user-drag" */ |
| 3512 String get userDrag() => |
| 3513 getPropertyValue('${_browserPrefix}user-drag'); |
| 3514 |
| 3515 /** Sets the value of "user-drag" */ |
| 3516 void set userDrag(var value) { |
| 3517 setProperty('${_browserPrefix}user-drag', value, ''); |
| 3518 } |
| 3519 |
| 3520 /** Gets the value of "user-modify" */ |
| 3521 String get userModify() => |
| 3522 getPropertyValue('${_browserPrefix}user-modify'); |
| 3523 |
| 3524 /** Sets the value of "user-modify" */ |
| 3525 void set userModify(var value) { |
| 3526 setProperty('${_browserPrefix}user-modify', value, ''); |
| 3527 } |
| 3528 |
| 3529 /** Gets the value of "user-select" */ |
| 3530 String get userSelect() => |
| 3531 getPropertyValue('${_browserPrefix}user-select'); |
| 3532 |
| 3533 /** Sets the value of "user-select" */ |
| 3534 void set userSelect(var value) { |
| 3535 setProperty('${_browserPrefix}user-select', value, ''); |
| 3536 } |
| 3537 |
| 3538 /** Gets the value of "vertical-align" */ |
| 3539 String get verticalAlign() => |
| 3540 getPropertyValue('vertical-align'); |
| 3541 |
| 3542 /** Sets the value of "vertical-align" */ |
| 3543 void set verticalAlign(var value) { |
| 3544 setProperty('vertical-align', value, ''); |
| 3545 } |
| 3546 |
| 3547 /** Gets the value of "visibility" */ |
| 3548 String get visibility() => |
| 3549 getPropertyValue('visibility'); |
| 3550 |
| 3551 /** Sets the value of "visibility" */ |
| 3552 void set visibility(var value) { |
| 3553 setProperty('visibility', value, ''); |
| 3554 } |
| 3555 |
| 3556 /** Gets the value of "white-space" */ |
| 3557 String get whiteSpace() => |
| 3558 getPropertyValue('white-space'); |
| 3559 |
| 3560 /** Sets the value of "white-space" */ |
| 3561 void set whiteSpace(var value) { |
| 3562 setProperty('white-space', value, ''); |
| 3563 } |
| 3564 |
| 3565 /** Gets the value of "widows" */ |
| 3566 String get widows() => |
| 3567 getPropertyValue('widows'); |
| 3568 |
| 3569 /** Sets the value of "widows" */ |
| 3570 void set widows(var value) { |
| 3571 setProperty('widows', value, ''); |
| 3572 } |
| 3573 |
| 3574 /** Gets the value of "width" */ |
| 3575 String get width() => |
| 3576 getPropertyValue('width'); |
| 3577 |
| 3578 /** Sets the value of "width" */ |
| 3579 void set width(var value) { |
| 3580 setProperty('width', value, ''); |
| 3581 } |
| 3582 |
| 3583 /** Gets the value of "word-break" */ |
| 3584 String get wordBreak() => |
| 3585 getPropertyValue('word-break'); |
| 3586 |
| 3587 /** Sets the value of "word-break" */ |
| 3588 void set wordBreak(var value) { |
| 3589 setProperty('word-break', value, ''); |
| 3590 } |
| 3591 |
| 3592 /** Gets the value of "word-spacing" */ |
| 3593 String get wordSpacing() => |
| 3594 getPropertyValue('word-spacing'); |
| 3595 |
| 3596 /** Sets the value of "word-spacing" */ |
| 3597 void set wordSpacing(var value) { |
| 3598 setProperty('word-spacing', value, ''); |
| 3599 } |
| 3600 |
| 3601 /** Gets the value of "word-wrap" */ |
| 3602 String get wordWrap() => |
| 3603 getPropertyValue('word-wrap'); |
| 3604 |
| 3605 /** Sets the value of "word-wrap" */ |
| 3606 void set wordWrap(var value) { |
| 3607 setProperty('word-wrap', value, ''); |
| 3608 } |
| 3609 |
| 3610 /** Gets the value of "wrap-shape" */ |
| 3611 String get wrapShape() => |
| 3612 getPropertyValue('${_browserPrefix}wrap-shape'); |
| 3613 |
| 3614 /** Sets the value of "wrap-shape" */ |
| 3615 void set wrapShape(var value) { |
| 3616 setProperty('${_browserPrefix}wrap-shape', value, ''); |
| 3617 } |
| 3618 |
| 3619 /** Gets the value of "writing-mode" */ |
| 3620 String get writingMode() => |
| 3621 getPropertyValue('${_browserPrefix}writing-mode'); |
| 3622 |
| 3623 /** Sets the value of "writing-mode" */ |
| 3624 void set writingMode(var value) { |
| 3625 setProperty('${_browserPrefix}writing-mode', value, ''); |
| 3626 } |
| 3627 |
| 3628 /** Gets the value of "z-index" */ |
| 3629 String get zIndex() => |
| 3630 getPropertyValue('z-index'); |
| 3631 |
| 3632 /** Sets the value of "z-index" */ |
| 3633 void set zIndex(var value) { |
| 3634 setProperty('z-index', value, ''); |
| 3635 } |
| 3636 |
| 3637 /** Gets the value of "zoom" */ |
| 3638 String get zoom() => |
| 3639 getPropertyValue('zoom'); |
| 3640 |
| 3641 /** Sets the value of "zoom" */ |
| 3642 void set zoom(var value) { |
| 3643 setProperty('zoom', value, ''); |
| 3644 } |
| 3645 } |
| 3646 |
| 3647 class _CSSStyleRuleJs extends _CSSRuleJs implements CSSStyleRule native "*CSSSty
leRule" { |
| 3648 |
| 3649 String selectorText; |
| 3650 |
| 3651 final _CSSStyleDeclarationJs style; |
| 3652 } |
| 3653 |
| 3654 class _CSSStyleSheetJs extends _StyleSheetJs implements CSSStyleSheet native "*C
SSStyleSheet" { |
| 3655 |
| 3656 final _CSSRuleListJs cssRules; |
| 3657 |
| 3658 final _CSSRuleJs ownerRule; |
| 3659 |
| 3660 final _CSSRuleListJs rules; |
| 3661 |
| 3662 int addRule(String selector, String style, [int index = null]) native; |
| 3663 |
| 3664 void deleteRule(int index) native; |
| 3665 |
| 3666 int insertRule(String rule, int index) native; |
| 3667 |
| 3668 void removeRule(int index) native; |
| 3669 } |
| 3670 |
| 3671 class _CSSTransformValueJs extends _CSSValueListJs implements CSSTransformValue
native "*WebKitCSSTransformValue" { |
| 3672 |
| 3673 static final int CSS_MATRIX = 11; |
| 3674 |
| 3675 static final int CSS_MATRIX3D = 21; |
| 3676 |
| 3677 static final int CSS_PERSPECTIVE = 20; |
| 3678 |
| 3679 static final int CSS_ROTATE = 4; |
| 3680 |
| 3681 static final int CSS_ROTATE3D = 17; |
| 3682 |
| 3683 static final int CSS_ROTATEX = 14; |
| 3684 |
| 3685 static final int CSS_ROTATEY = 15; |
| 3686 |
| 3687 static final int CSS_ROTATEZ = 16; |
| 3688 |
| 3689 static final int CSS_SCALE = 5; |
| 3690 |
| 3691 static final int CSS_SCALE3D = 19; |
| 3692 |
| 3693 static final int CSS_SCALEX = 6; |
| 3694 |
| 3695 static final int CSS_SCALEY = 7; |
| 3696 |
| 3697 static final int CSS_SCALEZ = 18; |
| 3698 |
| 3699 static final int CSS_SKEW = 8; |
| 3700 |
| 3701 static final int CSS_SKEWX = 9; |
| 3702 |
| 3703 static final int CSS_SKEWY = 10; |
| 3704 |
| 3705 static final int CSS_TRANSLATE = 1; |
| 3706 |
| 3707 static final int CSS_TRANSLATE3D = 13; |
| 3708 |
| 3709 static final int CSS_TRANSLATEX = 2; |
| 3710 |
| 3711 static final int CSS_TRANSLATEY = 3; |
| 3712 |
| 3713 static final int CSS_TRANSLATEZ = 12; |
| 3714 |
| 3715 final int operationType; |
| 3716 } |
| 3717 |
| 3718 class _CSSUnknownRuleJs extends _CSSRuleJs implements CSSUnknownRule native "*CS
SUnknownRule" { |
| 3719 } |
| 3720 |
| 3721 class _CSSValueJs implements CSSValue native "*CSSValue" { |
| 3722 |
| 3723 static final int CSS_CUSTOM = 3; |
| 3724 |
| 3725 static final int CSS_INHERIT = 0; |
| 3726 |
| 3727 static final int CSS_PRIMITIVE_VALUE = 1; |
| 3728 |
| 3729 static final int CSS_VALUE_LIST = 2; |
| 3730 |
| 3731 String cssText; |
| 3732 |
| 3733 final int cssValueType; |
| 3734 } |
| 3735 |
| 3736 class _CSSValueListJs extends _CSSValueJs implements CSSValueList native "*CSSVa
lueList" { |
| 3737 |
| 3738 final int length; |
| 3739 |
| 3740 _CSSValueJs item(int index) native; |
| 3741 } |
| 3742 |
| 3743 class _CanvasElementJs extends _ElementJs implements CanvasElement native "*HTML
CanvasElement" { |
| 3744 |
| 3745 int height; |
| 3746 |
| 3747 int width; |
| 3748 |
| 3749 Object getContext(String contextId) native; |
| 3750 |
| 3751 String toDataURL(String type) native; |
| 3752 } |
| 3753 |
| 3754 class _CanvasGradientJs implements CanvasGradient native "*CanvasGradient" { |
| 3755 |
| 3756 void addColorStop(num offset, String color) native; |
| 3757 } |
| 3758 |
| 3759 class _CanvasPatternJs implements CanvasPattern native "*CanvasPattern" { |
| 3760 } |
| 3761 |
| 3762 class _CanvasPixelArrayJs implements CanvasPixelArray native "*CanvasPixelArray"
{ |
| 3763 |
| 3764 final int length; |
| 3765 |
| 3766 int operator[](int index) native "return this[index];"; |
| 3767 |
| 3768 void operator[]=(int index, int value) native "this[index] = value"; |
| 3769 // -- start List<int> mixins. |
| 3770 // int is the element type. |
| 3771 |
| 3772 // From Iterable<int>: |
| 3773 |
| 3774 Iterator<int> iterator() { |
| 3775 // Note: NodeLists are not fixed size. And most probably length shouldn't |
| 3776 // be cached in both iterator _and_ forEach method. For now caching it |
| 3777 // for consistency. |
| 3778 return new _FixedSizeListIterator<int>(this); |
| 3779 } |
| 3780 |
| 3781 // From Collection<int>: |
| 3782 |
| 3783 void add(int value) { |
| 3784 throw new UnsupportedOperationException("Cannot add to immutable List."); |
| 3785 } |
| 3786 |
| 3787 void addLast(int value) { |
| 3788 throw new UnsupportedOperationException("Cannot add to immutable List."); |
| 3789 } |
| 3790 |
| 3791 void addAll(Collection<int> collection) { |
| 3792 throw new UnsupportedOperationException("Cannot add to immutable List."); |
| 3793 } |
| 3794 |
| 3795 void forEach(void f(int element)) => _Collections.forEach(this, f); |
| 3796 |
| 3797 Collection map(f(int element)) => _Collections.map(this, [], f); |
| 3798 |
| 3799 Collection<int> filter(bool f(int element)) => |
| 3800 _Collections.filter(this, <int>[], f); |
| 3801 |
| 3802 bool every(bool f(int element)) => _Collections.every(this, f); |
| 3803 |
| 3804 bool some(bool f(int element)) => _Collections.some(this, f); |
| 3805 |
| 3806 bool isEmpty() => this.length == 0; |
| 3807 |
| 3808 // From List<int>: |
| 3809 |
| 3810 void sort(int compare(int a, int b)) { |
| 3811 throw new UnsupportedOperationException("Cannot sort immutable List."); |
| 3812 } |
| 3813 |
| 3814 int indexOf(int element, [int start = 0]) => |
| 3815 _Lists.indexOf(this, element, start, this.length); |
| 3816 |
| 3817 int lastIndexOf(int element, [int start = 0]) => |
| 3818 _Lists.lastIndexOf(this, element, start); |
| 3819 |
| 3820 int last() => this[length - 1]; |
| 3821 |
| 3822 // FIXME: implement thesee. |
| 3823 void setRange(int start, int length, List<int> from, [int startFrom]) { |
| 3824 throw new UnsupportedOperationException("Cannot setRange on immutable List."
); |
| 3825 } |
| 3826 void removeRange(int start, int length) { |
| 3827 throw new UnsupportedOperationException("Cannot removeRange on immutable Lis
t."); |
| 3828 } |
| 3829 void insertRange(int start, int length, [int initialValue]) { |
| 3830 throw new UnsupportedOperationException("Cannot insertRange on immutable Lis
t."); |
| 3831 } |
| 3832 List<int> getRange(int start, int length) => |
| 3833 _Lists.getRange(this, start, length, <int>[]); |
| 3834 |
| 3835 // -- end List<int> mixins. |
| 3836 } |
| 3837 |
| 3838 class _CanvasRenderingContextJs implements CanvasRenderingContext native "*Canva
sRenderingContext" { |
| 3839 |
| 3840 final _CanvasElementJs canvas; |
| 3841 } |
| 3842 |
| 3843 class _CanvasRenderingContext2DJs extends _CanvasRenderingContextJs implements C
anvasRenderingContext2D native "*CanvasRenderingContext2D" { |
| 3844 |
| 3845 Dynamic fillStyle; |
| 3846 |
| 3847 String font; |
| 3848 |
| 3849 num globalAlpha; |
| 3850 |
| 3851 String globalCompositeOperation; |
| 3852 |
| 3853 String lineCap; |
| 3854 |
| 3855 String lineJoin; |
| 3856 |
| 3857 num lineWidth; |
| 3858 |
| 3859 num miterLimit; |
| 3860 |
| 3861 num shadowBlur; |
| 3862 |
| 3863 String shadowColor; |
| 3864 |
| 3865 num shadowOffsetX; |
| 3866 |
| 3867 num shadowOffsetY; |
| 3868 |
| 3869 Dynamic strokeStyle; |
| 3870 |
| 3871 String textAlign; |
| 3872 |
| 3873 String textBaseline; |
| 3874 |
| 3875 List webkitLineDash; |
| 3876 |
| 3877 num webkitLineDashOffset; |
| 3878 |
| 3879 void arc(num x, num y, num radius, num startAngle, num endAngle, bool anticloc
kwise) native; |
| 3880 |
| 3881 void arcTo(num x1, num y1, num x2, num y2, num radius) native; |
| 3882 |
| 3883 void beginPath() native; |
| 3884 |
| 3885 void bezierCurveTo(num cp1x, num cp1y, num cp2x, num cp2y, num x, num y) nativ
e; |
| 3886 |
| 3887 void clearRect(num x, num y, num width, num height) native; |
| 3888 |
| 3889 void clearShadow() native; |
| 3890 |
| 3891 void clip() native; |
| 3892 |
| 3893 void closePath() native; |
| 3894 |
| 3895 _ImageDataJs createImageData(var imagedata_OR_sw, [num sh = null]) native; |
| 3896 |
| 3897 _CanvasGradientJs createLinearGradient(num x0, num y0, num x1, num y1) native; |
| 3898 |
| 3899 _CanvasPatternJs createPattern(var canvas_OR_image, String repetitionType) nat
ive; |
| 3900 |
| 3901 _CanvasGradientJs createRadialGradient(num x0, num y0, num r0, num x1, num y1,
num r1) native; |
| 3902 |
| 3903 void drawImage(var canvas_OR_image_OR_video, num sx_OR_x, num sy_OR_y, [num sw
_OR_width = null, num height_OR_sh = null, num dx = null, num dy = null, num dw
= null, num dh = null]) native; |
| 3904 |
| 3905 void drawImageFromRect(_ImageElementJs image, [num sx = null, num sy = null, n
um sw = null, num sh = null, num dx = null, num dy = null, num dw = null, num dh
= null, String compositeOperation = null]) native; |
| 3906 |
| 3907 void fill() native; |
| 3908 |
| 3909 void fillRect(num x, num y, num width, num height) native; |
| 3910 |
| 3911 void fillText(String text, num x, num y, [num maxWidth = null]) native; |
| 3912 |
| 3913 _ImageDataJs getImageData(num sx, num sy, num sw, num sh) native; |
| 3914 |
| 3915 bool isPointInPath(num x, num y) native; |
| 3916 |
| 3917 void lineTo(num x, num y) native; |
| 3918 |
| 3919 _TextMetricsJs measureText(String text) native; |
| 3920 |
| 3921 void moveTo(num x, num y) native; |
| 3922 |
| 3923 void putImageData(_ImageDataJs imagedata, num dx, num dy, [num dirtyX = null,
num dirtyY = null, num dirtyWidth = null, num dirtyHeight = null]) native; |
| 3924 |
| 3925 void quadraticCurveTo(num cpx, num cpy, num x, num y) native; |
| 3926 |
| 3927 void rect(num x, num y, num width, num height) native; |
| 3928 |
| 3929 void restore() native; |
| 3930 |
| 3931 void rotate(num angle) native; |
| 3932 |
| 3933 void save() native; |
| 3934 |
| 3935 void scale(num sx, num sy) native; |
| 3936 |
| 3937 void setAlpha(num alpha) native; |
| 3938 |
| 3939 void setCompositeOperation(String compositeOperation) native; |
| 3940 |
| 3941 void setFillColor(var c_OR_color_OR_grayLevel_OR_r, [num alpha_OR_g_OR_m = nul
l, num b_OR_y = null, num a_OR_k = null, num a = null]) native; |
| 3942 |
| 3943 void setLineCap(String cap) native; |
| 3944 |
| 3945 void setLineJoin(String join) native; |
| 3946 |
| 3947 void setLineWidth(num width) native; |
| 3948 |
| 3949 void setMiterLimit(num limit) native; |
| 3950 |
| 3951 void setShadow(num width, num height, num blur, [var c_OR_color_OR_grayLevel_O
R_r = null, num alpha_OR_g_OR_m = null, num b_OR_y = null, num a_OR_k = null, nu
m a = null]) native; |
| 3952 |
| 3953 void setStrokeColor(var c_OR_color_OR_grayLevel_OR_r, [num alpha_OR_g_OR_m = n
ull, num b_OR_y = null, num a_OR_k = null, num a = null]) native; |
| 3954 |
| 3955 void setTransform(num m11, num m12, num m21, num m22, num dx, num dy) native; |
| 3956 |
| 3957 void stroke() native; |
| 3958 |
| 3959 void strokeRect(num x, num y, num width, num height, [num lineWidth = null]) n
ative; |
| 3960 |
| 3961 void strokeText(String text, num x, num y, [num maxWidth = null]) native; |
| 3962 |
| 3963 void transform(num m11, num m12, num m21, num m22, num dx, num dy) native; |
| 3964 |
| 3965 void translate(num tx, num ty) native; |
| 3966 } |
| 3967 |
| 3968 class _CharacterDataJs extends _NodeJs implements CharacterData native "*Charact
erData" { |
| 3969 |
| 3970 String data; |
| 3971 |
| 3972 final int length; |
| 3973 |
| 3974 void appendData(String data) native; |
| 3975 |
| 3976 void deleteData(int offset, int length) native; |
| 3977 |
| 3978 void insertData(int offset, String data) native; |
| 3979 |
| 3980 void replaceData(int offset, int length, String data) native; |
| 3981 |
| 3982 String substringData(int offset, int length) native; |
| 3983 } |
| 3984 |
| 3985 class _ClientRectJs implements ClientRect native "*ClientRect" { |
| 3986 |
| 3987 final num bottom; |
| 3988 |
| 3989 final num height; |
| 3990 |
| 3991 final num left; |
| 3992 |
| 3993 final num right; |
| 3994 |
| 3995 final num top; |
| 3996 |
| 3997 final num width; |
| 3998 } |
| 3999 |
| 4000 class _ClientRectListJs implements ClientRectList native "*ClientRectList" { |
| 4001 |
| 4002 final int length; |
| 4003 |
| 4004 _ClientRectJs item(int index) native; |
| 4005 } |
| 4006 |
| 4007 class _ClipboardJs implements Clipboard native "*Clipboard" { |
| 4008 |
| 4009 String dropEffect; |
| 4010 |
| 4011 String effectAllowed; |
| 4012 |
| 4013 final _FileListJs files; |
| 4014 |
| 4015 final _DataTransferItemListJs items; |
| 4016 |
| 4017 final List types; |
| 4018 |
| 4019 void clearData([String type = null]) native; |
| 4020 |
| 4021 void getData(String type) native; |
| 4022 |
| 4023 bool setData(String type, String data) native; |
| 4024 |
| 4025 void setDragImage(_ImageElementJs image, int x, int y) native; |
| 4026 } |
| 4027 |
| 4028 class _CloseEventJs extends _EventJs implements CloseEvent native "*CloseEvent"
{ |
| 4029 |
| 4030 final int code; |
| 4031 |
| 4032 final String reason; |
| 4033 |
| 4034 final bool wasClean; |
| 4035 } |
| 4036 |
| 4037 class _CommentJs extends _CharacterDataJs implements Comment native "*Comment" { |
| 4038 } |
| 4039 |
| 4040 class _CompositionEventJs extends _UIEventJs implements CompositionEvent native
"*CompositionEvent" { |
| 4041 |
| 4042 final String data; |
| 4043 |
| 4044 void initCompositionEvent(String typeArg, bool canBubbleArg, bool cancelableAr
g, _WindowJs viewArg, String dataArg) native; |
| 4045 } |
| 4046 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 4047 // for details. All rights reserved. Use of this source code is governed by a |
| 4048 // BSD-style license that can be found in the LICENSE file. |
| 4049 |
| 4050 class _ConsoleJs |
| 4051 // Console is sometimes a singleton bag-of-properties without a prototype. |
| 4052 implements Console |
| 4053 native "=(typeof console == 'undefined' ? {} : console)" { |
| 4054 |
| 4055 final _MemoryInfoJs memory; |
| 4056 |
| 4057 final List profiles; |
| 4058 |
| 4059 void assertCondition(bool condition, Object arg) native; |
| 4060 |
| 4061 void count() native; |
| 4062 |
| 4063 void debug(Object arg) native; |
| 4064 |
| 4065 void dir() native; |
| 4066 |
| 4067 void dirxml() native; |
| 4068 |
| 4069 void error(Object arg) native; |
| 4070 |
| 4071 void group(Object arg) native; |
| 4072 |
| 4073 void groupCollapsed(Object arg) native; |
| 4074 |
| 4075 void groupEnd() native; |
| 4076 |
| 4077 void info(Object arg) native; |
| 4078 |
| 4079 void log(Object arg) native; |
| 4080 |
| 4081 void markTimeline() native; |
| 4082 |
| 4083 void profile(String title) native; |
| 4084 |
| 4085 void profileEnd(String title) native; |
| 4086 |
| 4087 void time(String title) native; |
| 4088 |
| 4089 void timeEnd(String title, Object arg) native; |
| 4090 |
| 4091 void timeStamp(Object arg) native; |
| 4092 |
| 4093 void trace(Object arg) native; |
| 4094 |
| 4095 void warn(Object arg) native; |
| 4096 |
| 4097 } |
| 4098 |
| 4099 class _ContentElementJs extends _ElementJs implements ContentElement native "*HT
MLContentElement" { |
| 4100 |
| 4101 String select; |
| 4102 } |
| 4103 |
| 4104 class _ConvolverNodeJs extends _AudioNodeJs implements ConvolverNode native "*Co
nvolverNode" { |
| 4105 |
| 4106 _AudioBufferJs buffer; |
| 4107 |
| 4108 bool normalize; |
| 4109 } |
| 4110 |
| 4111 class _CoordinatesJs implements Coordinates native "*Coordinates" { |
| 4112 |
| 4113 final num accuracy; |
| 4114 |
| 4115 final num altitude; |
| 4116 |
| 4117 final num altitudeAccuracy; |
| 4118 |
| 4119 final num heading; |
| 4120 |
| 4121 final num latitude; |
| 4122 |
| 4123 final num longitude; |
| 4124 |
| 4125 final num speed; |
| 4126 } |
| 4127 |
| 4128 class _CounterJs implements Counter native "*Counter" { |
| 4129 |
| 4130 final String identifier; |
| 4131 |
| 4132 final String listStyle; |
| 4133 |
| 4134 final String separator; |
| 4135 } |
| 4136 |
| 4137 class _CryptoJs implements Crypto native "*Crypto" { |
| 4138 |
| 4139 void getRandomValues(_ArrayBufferViewJs array) native; |
| 4140 } |
| 4141 |
| 4142 class _CustomEventJs extends _EventJs implements CustomEvent native "*CustomEven
t" { |
| 4143 |
| 4144 final Object detail; |
| 4145 |
| 4146 void initCustomEvent(String typeArg, bool canBubbleArg, bool cancelableArg, Ob
ject detailArg) native; |
| 4147 } |
| 4148 |
| 4149 class _DListElementJs extends _ElementJs implements DListElement native "*HTMLDL
istElement" { |
| 4150 |
| 4151 bool compact; |
| 4152 } |
| 4153 |
| 4154 class _DOMApplicationCacheJs implements DOMApplicationCache native "*DOMApplicat
ionCache" { |
| 4155 |
| 4156 static final int CHECKING = 2; |
| 4157 |
| 4158 static final int DOWNLOADING = 3; |
| 4159 |
| 4160 static final int IDLE = 1; |
| 4161 |
| 4162 static final int OBSOLETE = 5; |
| 4163 |
| 4164 static final int UNCACHED = 0; |
| 4165 |
| 4166 static final int UPDATEREADY = 4; |
| 4167 |
| 4168 final int status; |
| 4169 |
| 4170 _DOMApplicationCacheEventsImpl get on() => |
| 4171 new _DOMApplicationCacheEventsImpl(this); |
| 4172 |
| 4173 void abort() native; |
| 4174 |
| 4175 void _addEventListener(String type, EventListener listener, [bool useCapture =
null]) native "this.addEventListener(type, listener, useCapture);"; |
| 4176 |
| 4177 bool _dispatchEvent(_EventJs evt) native "return this.dispatchEvent(evt);"; |
| 4178 |
| 4179 void _removeEventListener(String type, EventListener listener, [bool useCaptur
e = null]) native "this.removeEventListener(type, listener, useCapture);"; |
| 4180 |
| 4181 void swapCache() native; |
| 4182 |
| 4183 void update() native; |
| 4184 } |
| 4185 |
| 4186 class _DOMApplicationCacheEventsImpl extends _EventsImpl implements DOMApplicati
onCacheEvents { |
| 4187 _DOMApplicationCacheEventsImpl(_ptr) : super(_ptr); |
| 4188 |
| 4189 EventListenerList get cached() => _get('cached'); |
| 4190 |
| 4191 EventListenerList get checking() => _get('checking'); |
| 4192 |
| 4193 EventListenerList get downloading() => _get('downloading'); |
| 4194 |
| 4195 EventListenerList get error() => _get('error'); |
| 4196 |
| 4197 EventListenerList get noUpdate() => _get('noupdate'); |
| 4198 |
| 4199 EventListenerList get obsolete() => _get('obsolete'); |
| 4200 |
| 4201 EventListenerList get progress() => _get('progress'); |
| 4202 |
| 4203 EventListenerList get updateReady() => _get('updateready'); |
| 4204 } |
| 4205 |
| 4206 class _DOMExceptionJs implements DOMException native "*DOMException" { |
| 4207 |
| 4208 static final int ABORT_ERR = 20; |
| 4209 |
| 4210 static final int DATA_CLONE_ERR = 25; |
| 4211 |
| 4212 static final int DOMSTRING_SIZE_ERR = 2; |
| 4213 |
| 4214 static final int HIERARCHY_REQUEST_ERR = 3; |
| 4215 |
| 4216 static final int INDEX_SIZE_ERR = 1; |
| 4217 |
| 4218 static final int INUSE_ATTRIBUTE_ERR = 10; |
| 4219 |
| 4220 static final int INVALID_ACCESS_ERR = 15; |
| 4221 |
| 4222 static final int INVALID_CHARACTER_ERR = 5; |
| 4223 |
| 4224 static final int INVALID_MODIFICATION_ERR = 13; |
| 4225 |
| 4226 static final int INVALID_NODE_TYPE_ERR = 24; |
| 4227 |
| 4228 static final int INVALID_STATE_ERR = 11; |
| 4229 |
| 4230 static final int NAMESPACE_ERR = 14; |
| 4231 |
| 4232 static final int NETWORK_ERR = 19; |
| 4233 |
| 4234 static final int NOT_FOUND_ERR = 8; |
| 4235 |
| 4236 static final int NOT_SUPPORTED_ERR = 9; |
| 4237 |
| 4238 static final int NO_DATA_ALLOWED_ERR = 6; |
| 4239 |
| 4240 static final int NO_MODIFICATION_ALLOWED_ERR = 7; |
| 4241 |
| 4242 static final int QUOTA_EXCEEDED_ERR = 22; |
| 4243 |
| 4244 static final int SECURITY_ERR = 18; |
| 4245 |
| 4246 static final int SYNTAX_ERR = 12; |
| 4247 |
| 4248 static final int TIMEOUT_ERR = 23; |
| 4249 |
| 4250 static final int TYPE_MISMATCH_ERR = 17; |
| 4251 |
| 4252 static final int URL_MISMATCH_ERR = 21; |
| 4253 |
| 4254 static final int VALIDATION_ERR = 16; |
| 4255 |
| 4256 static final int WRONG_DOCUMENT_ERR = 4; |
| 4257 |
| 4258 final int code; |
| 4259 |
| 4260 final String message; |
| 4261 |
| 4262 final String name; |
| 4263 |
| 4264 String toString() native; |
| 4265 } |
| 4266 |
| 4267 class _DOMFileSystemJs implements DOMFileSystem native "*DOMFileSystem" { |
| 4268 |
| 4269 final String name; |
| 4270 |
| 4271 final _DirectoryEntryJs root; |
| 4272 } |
| 4273 |
| 4274 class _DOMFileSystemSyncJs implements DOMFileSystemSync native "*DOMFileSystemSy
nc" { |
| 4275 |
| 4276 final String name; |
| 4277 |
| 4278 final _DirectoryEntrySyncJs root; |
| 4279 } |
| 4280 |
| 4281 class _DOMFormDataJs implements DOMFormData native "*DOMFormData" { |
| 4282 |
| 4283 void append(String name, String value, String filename) native; |
| 4284 } |
| 4285 |
| 4286 class _DOMImplementationJs implements DOMImplementation native "*DOMImplementati
on" { |
| 4287 |
| 4288 _CSSStyleSheetJs createCSSStyleSheet(String title, String media) native; |
| 4289 |
| 4290 _DocumentJs createDocument(String namespaceURI, String qualifiedName, _Documen
tTypeJs doctype) native; |
| 4291 |
| 4292 _DocumentTypeJs createDocumentType(String qualifiedName, String publicId, Stri
ng systemId) native; |
| 4293 |
| 4294 _DocumentJs createHTMLDocument(String title) native; |
| 4295 |
| 4296 bool hasFeature(String feature, String version) native; |
| 4297 } |
| 4298 |
| 4299 class _DOMMimeTypeJs implements DOMMimeType native "*DOMMimeType" { |
| 4300 |
| 4301 final String description; |
| 4302 |
| 4303 final _DOMPluginJs enabledPlugin; |
| 4304 |
| 4305 final String suffixes; |
| 4306 |
| 4307 final String type; |
| 4308 } |
| 4309 |
| 4310 class _DOMMimeTypeArrayJs implements DOMMimeTypeArray native "*DOMMimeTypeArray"
{ |
| 4311 |
| 4312 final int length; |
| 4313 |
| 4314 _DOMMimeTypeJs item(int index) native; |
| 4315 |
| 4316 _DOMMimeTypeJs namedItem(String name) native; |
| 4317 } |
| 4318 |
| 4319 class _DOMParserJs implements DOMParser native "*DOMParser" { |
| 4320 |
| 4321 _DocumentJs parseFromString(String str, String contentType) native; |
| 4322 } |
| 4323 |
| 4324 class _DOMPluginJs implements DOMPlugin native "*DOMPlugin" { |
| 4325 |
| 4326 final String description; |
| 4327 |
| 4328 final String filename; |
| 4329 |
| 4330 final int length; |
| 4331 |
| 4332 final String name; |
| 4333 |
| 4334 _DOMMimeTypeJs item(int index) native; |
| 4335 |
| 4336 _DOMMimeTypeJs namedItem(String name) native; |
| 4337 } |
| 4338 |
| 4339 class _DOMPluginArrayJs implements DOMPluginArray native "*DOMPluginArray" { |
| 4340 |
| 4341 final int length; |
| 4342 |
| 4343 _DOMPluginJs item(int index) native; |
| 4344 |
| 4345 _DOMPluginJs namedItem(String name) native; |
| 4346 |
| 4347 void refresh(bool reload) native; |
| 4348 } |
| 4349 |
| 4350 class _DOMSelectionJs implements DOMSelection native "*DOMSelection" { |
| 4351 |
| 4352 final _NodeJs anchorNode; |
| 4353 |
| 4354 final int anchorOffset; |
| 4355 |
| 4356 final _NodeJs baseNode; |
| 4357 |
| 4358 final int baseOffset; |
| 4359 |
| 4360 final _NodeJs extentNode; |
| 4361 |
| 4362 final int extentOffset; |
| 4363 |
| 4364 final _NodeJs focusNode; |
| 4365 |
| 4366 final int focusOffset; |
| 4367 |
| 4368 final bool isCollapsed; |
| 4369 |
| 4370 final int rangeCount; |
| 4371 |
| 4372 final String type; |
| 4373 |
| 4374 void addRange(_RangeJs range) native; |
| 4375 |
| 4376 void collapse(_NodeJs node, int index) native; |
| 4377 |
| 4378 void collapseToEnd() native; |
| 4379 |
| 4380 void collapseToStart() native; |
| 4381 |
| 4382 bool containsNode(_NodeJs node, bool allowPartial) native; |
| 4383 |
| 4384 void deleteFromDocument() native; |
| 4385 |
| 4386 void empty() native; |
| 4387 |
| 4388 void extend(_NodeJs node, int offset) native; |
| 4389 |
| 4390 _RangeJs getRangeAt(int index) native; |
| 4391 |
| 4392 void modify(String alter, String direction, String granularity) native; |
| 4393 |
| 4394 void removeAllRanges() native; |
| 4395 |
| 4396 void selectAllChildren(_NodeJs node) native; |
| 4397 |
| 4398 void setBaseAndExtent(_NodeJs baseNode, int baseOffset, _NodeJs extentNode, in
t extentOffset) native; |
| 4399 |
| 4400 void setPosition(_NodeJs node, int offset) native; |
| 4401 |
| 4402 String toString() native; |
| 4403 } |
| 4404 |
| 4405 class _DOMSettableTokenListJs extends _DOMTokenListJs implements DOMSettableToke
nList native "*DOMSettableTokenList" { |
| 4406 |
| 4407 String value; |
| 4408 } |
| 4409 |
| 4410 class _DOMTokenListJs implements DOMTokenList native "*DOMTokenList" { |
| 4411 |
| 4412 final int length; |
| 4413 |
| 4414 void add(String token) native; |
| 4415 |
| 4416 bool contains(String token) native; |
| 4417 |
| 4418 String item(int index) native; |
| 4419 |
| 4420 void remove(String token) native; |
| 4421 |
| 4422 String toString() native; |
| 4423 |
| 4424 bool toggle(String token) native; |
| 4425 } |
| 4426 |
| 4427 class _DOMURLJs implements DOMURL native "*DOMURL" { |
| 4428 } |
| 4429 |
| 4430 class _DataTransferItemJs implements DataTransferItem native "*DataTransferItem"
{ |
| 4431 |
| 4432 final String kind; |
| 4433 |
| 4434 final String type; |
| 4435 |
| 4436 _BlobJs getAsFile() native; |
| 4437 |
| 4438 void getAsString(StringCallback callback) native; |
| 4439 } |
| 4440 |
| 4441 class _DataTransferItemListJs implements DataTransferItemList native "*DataTrans
ferItemList" { |
| 4442 |
| 4443 final int length; |
| 4444 |
| 4445 void add(var data_OR_file, [String type = null]) native; |
| 4446 |
| 4447 void clear() native; |
| 4448 |
| 4449 _DataTransferItemJs item(int index) native; |
| 4450 } |
| 4451 |
| 4452 class _DataViewJs extends _ArrayBufferViewJs implements DataView native "*DataVi
ew" { |
| 4453 |
| 4454 num getFloat32(int byteOffset, [bool littleEndian = null]) native; |
| 4455 |
| 4456 num getFloat64(int byteOffset, [bool littleEndian = null]) native; |
| 4457 |
| 4458 int getInt16(int byteOffset, [bool littleEndian = null]) native; |
| 4459 |
| 4460 int getInt32(int byteOffset, [bool littleEndian = null]) native; |
| 4461 |
| 4462 Object getInt8() native; |
| 4463 |
| 4464 int getUint16(int byteOffset, [bool littleEndian = null]) native; |
| 4465 |
| 4466 int getUint32(int byteOffset, [bool littleEndian = null]) native; |
| 4467 |
| 4468 Object getUint8() native; |
| 4469 |
| 4470 void setFloat32(int byteOffset, num value, [bool littleEndian = null]) native; |
| 4471 |
| 4472 void setFloat64(int byteOffset, num value, [bool littleEndian = null]) native; |
| 4473 |
| 4474 void setInt16(int byteOffset, int value, [bool littleEndian = null]) native; |
| 4475 |
| 4476 void setInt32(int byteOffset, int value, [bool littleEndian = null]) native; |
| 4477 |
| 4478 void setInt8() native; |
| 4479 |
| 4480 void setUint16(int byteOffset, int value, [bool littleEndian = null]) native; |
| 4481 |
| 4482 void setUint32(int byteOffset, int value, [bool littleEndian = null]) native; |
| 4483 |
| 4484 void setUint8() native; |
| 4485 } |
| 4486 |
| 4487 class _DatabaseJs implements Database native "*Database" { |
| 4488 |
| 4489 final String version; |
| 4490 |
| 4491 void changeVersion(String oldVersion, String newVersion, [SQLTransactionCallba
ck callback = null, SQLTransactionErrorCallback errorCallback = null, VoidCallba
ck successCallback = null]) native; |
| 4492 |
| 4493 void readTransaction(SQLTransactionCallback callback, [SQLTransactionErrorCall
back errorCallback = null, VoidCallback successCallback = null]) native; |
| 4494 |
| 4495 void transaction(SQLTransactionCallback callback, [SQLTransactionErrorCallback
errorCallback = null, VoidCallback successCallback = null]) native; |
| 4496 } |
| 4497 |
| 4498 class _DatabaseSyncJs implements DatabaseSync native "*DatabaseSync" { |
| 4499 |
| 4500 final String lastErrorMessage; |
| 4501 |
| 4502 final String version; |
| 4503 |
| 4504 void changeVersion(String oldVersion, String newVersion, [SQLTransactionSyncCa
llback callback = null]) native; |
| 4505 |
| 4506 void readTransaction(SQLTransactionSyncCallback callback) native; |
| 4507 |
| 4508 void transaction(SQLTransactionSyncCallback callback) native; |
| 4509 } |
| 4510 |
| 4511 class _DedicatedWorkerContextJs extends _WorkerContextJs implements DedicatedWor
kerContext native "*DedicatedWorkerContext" { |
| 4512 |
| 4513 EventListener onmessage; |
| 4514 |
| 4515 void postMessage(Object message, [List messagePorts = null]) native; |
| 4516 |
| 4517 void webkitPostMessage(Object message, [List transferList = null]) native; |
| 4518 } |
| 4519 |
| 4520 class _DelayNodeJs extends _AudioNodeJs implements DelayNode native "*DelayNode"
{ |
| 4521 |
| 4522 final _AudioParamJs delayTime; |
| 4523 } |
| 4524 |
| 4525 class _DetailsElementJs extends _ElementJs implements DetailsElement native "*HT
MLDetailsElement" { |
| 4526 |
| 4527 bool open; |
| 4528 } |
| 4529 |
| 4530 class _DeviceMotionEventJs extends _EventJs implements DeviceMotionEvent native
"*DeviceMotionEvent" { |
| 4531 |
| 4532 final num interval; |
| 4533 } |
| 4534 |
| 4535 class _DeviceOrientationEventJs extends _EventJs implements DeviceOrientationEve
nt native "*DeviceOrientationEvent" { |
| 4536 |
| 4537 final bool absolute; |
| 4538 |
| 4539 final num alpha; |
| 4540 |
| 4541 final num beta; |
| 4542 |
| 4543 final num gamma; |
| 4544 |
| 4545 void initDeviceOrientationEvent(String type, bool bubbles, bool cancelable, nu
m alpha, num beta, num gamma, bool absolute) native; |
| 4546 } |
| 4547 |
| 4548 class _DirectoryElementJs extends _ElementJs implements DirectoryElement native
"*HTMLDirectoryElement" { |
| 4549 |
| 4550 bool compact; |
| 4551 } |
| 4552 |
| 4553 class _DirectoryEntryJs extends _EntryJs implements DirectoryEntry native "*Dire
ctoryEntry" { |
| 4554 |
| 4555 _DirectoryReaderJs createReader() native; |
| 4556 |
| 4557 void getDirectory(String path, [Object flags = null, EntryCallback successCall
back = null, ErrorCallback errorCallback = null]) native; |
| 4558 |
| 4559 void getFile(String path, [Object flags = null, EntryCallback successCallback
= null, ErrorCallback errorCallback = null]) native; |
| 4560 |
| 4561 void removeRecursively(VoidCallback successCallback, [ErrorCallback errorCallb
ack = null]) native; |
| 4562 } |
| 4563 |
| 4564 class _DirectoryEntrySyncJs extends _EntrySyncJs implements DirectoryEntrySync n
ative "*DirectoryEntrySync" { |
| 4565 |
| 4566 _DirectoryReaderSyncJs createReader() native; |
| 4567 |
| 4568 _DirectoryEntrySyncJs getDirectory(String path, Object flags) native; |
| 4569 |
| 4570 _FileEntrySyncJs getFile(String path, Object flags) native; |
| 4571 |
| 4572 void removeRecursively() native; |
| 4573 } |
| 4574 |
| 4575 class _DirectoryReaderJs implements DirectoryReader native "*DirectoryReader" { |
| 4576 |
| 4577 void readEntries(EntriesCallback successCallback, [ErrorCallback errorCallback
= null]) native; |
| 4578 } |
| 4579 |
| 4580 class _DirectoryReaderSyncJs implements DirectoryReaderSync native "*DirectoryRe
aderSync" { |
| 4581 |
| 4582 _EntryArraySyncJs readEntries() native; |
| 4583 } |
| 4584 |
| 4585 class _DivElementJs extends _ElementJs implements DivElement native "*HTMLDivEle
ment" { |
| 4586 |
| 4587 String align; |
| 4588 } |
| 4589 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 4590 // for details. All rights reserved. Use of this source code is governed by a |
| 4591 // BSD-style license that can be found in the LICENSE file. |
| 4592 |
| 4593 class _DocumentJs extends _ElementJs |
| 4594 implements Document |
| 4595 native "*HTMLHtmlElement" { |
| 4596 |
| 4597 _ElementJs get activeElement() native "return this.parentNode.activeElement;"; |
| 4598 |
| 4599 _ElementJs get body() native "return this.parentNode.body;"; |
| 4600 |
| 4601 void set body(_ElementJs value) native "this.parentNode.body = value;"; |
| 4602 |
| 4603 String get charset() native "return this.parentNode.charset;"; |
| 4604 |
| 4605 void set charset(String value) native "this.parentNode.charset = value;"; |
| 4606 |
| 4607 String get cookie() native "return this.parentNode.cookie;"; |
| 4608 |
| 4609 void set cookie(String value) native "this.parentNode.cookie = value;"; |
| 4610 |
| 4611 _WindowJs get defaultView() native "return this.parentNode.defaultView;"; |
| 4612 |
| 4613 String get domain() native "return this.parentNode.domain;"; |
| 4614 |
| 4615 _HeadElementJs get head() native "return this.parentNode.head;"; |
| 4616 |
| 4617 String get lastModified() native "return this.parentNode.lastModified;"; |
| 4618 |
| 4619 String get preferredStylesheetSet() native "return this.parentNode.preferredSt
ylesheetSet;"; |
| 4620 |
| 4621 String get readyState() native "return this.parentNode.readyState;"; |
| 4622 |
| 4623 String get referrer() native "return this.parentNode.referrer;"; |
| 4624 |
| 4625 String get selectedStylesheetSet() native "return this.parentNode.selectedStyl
esheetSet;"; |
| 4626 |
| 4627 void set selectedStylesheetSet(String value) native "this.parentNode.selectedS
tylesheetSet = value;"; |
| 4628 |
| 4629 _StyleSheetListJs get styleSheets() native "return this.parentNode.styleSheets
;"; |
| 4630 |
| 4631 _ElementJs get webkitCurrentFullScreenElement() native "return this.parentNode
.webkitCurrentFullScreenElement;"; |
| 4632 |
| 4633 bool get webkitFullScreenKeyboardInputAllowed() native "return this.parentNode
.webkitFullScreenKeyboardInputAllowed;"; |
| 4634 |
| 4635 bool get webkitHidden() native "return this.parentNode.webkitHidden;"; |
| 4636 |
| 4637 bool get webkitIsFullScreen() native "return this.parentNode.webkitIsFullScree
n;"; |
| 4638 |
| 4639 String get webkitVisibilityState() native "return this.parentNode.webkitVisibi
lityState;"; |
| 4640 |
| 4641 _DocumentEventsImpl get on() => |
| 4642 new _DocumentEventsImpl(_jsDocument); |
| 4643 |
| 4644 _NodeJs adoptNode(_NodeJs source) native "return this.parentNode.adoptNode(sou
rce);"; |
| 4645 |
| 4646 void captureEvents() native "this.parentNode.captureEvents();"; |
| 4647 |
| 4648 _RangeJs caretRangeFromPoint(int x, int y) native "return this.parentNode.care
tRangeFromPoint(x, y);"; |
| 4649 |
| 4650 void clear() native "this.parentNode.clear();"; |
| 4651 |
| 4652 void close() native "this.parentNode.close();"; |
| 4653 |
| 4654 _AttrJs createAttribute(String name) native "return this.parentNode.createAttr
ibute(name);"; |
| 4655 |
| 4656 _AttrJs createAttributeNS(String namespaceURI, String qualifiedName) native "r
eturn this.parentNode.createAttributeNS(namespaceURI, qualifiedName);"; |
| 4657 |
| 4658 _CDATASectionJs createCDATASection(String data) native "return this.parentNode
.createCDATASection(data);"; |
| 4659 |
| 4660 _CommentJs createComment(String data) native "return this.parentNode.createCom
ment(data);"; |
| 4661 |
| 4662 _DocumentFragmentJs createDocumentFragment() native "return this.parentNode.cr
eateDocumentFragment();"; |
| 4663 |
| 4664 _ElementJs _createElement(String tagName) native "return this.parentNode.creat
eElement(tagName);"; |
| 4665 |
| 4666 _ElementJs createElementNS(String namespaceURI, String qualifiedName) native "
return this.parentNode.createElementNS(namespaceURI, qualifiedName);"; |
| 4667 |
| 4668 _EntityReferenceJs createEntityReference(String name) native "return this.pare
ntNode.createEntityReference(name);"; |
| 4669 |
| 4670 _EventJs _createEvent(String eventType) native "return this.parentNode.createE
vent(eventType);"; |
| 4671 |
| 4672 _XPathExpressionJs createExpression(String expression, _XPathNSResolverJs reso
lver) native "return this.parentNode.createExpression(expression, resolver);"; |
| 4673 |
| 4674 _XPathNSResolverJs createNSResolver(_NodeJs nodeResolver) native "return this.
parentNode.createNSResolver(nodeResolver);"; |
| 4675 |
| 4676 _NodeIteratorJs createNodeIterator(_NodeJs root, int whatToShow, _NodeFilterJs
filter, bool expandEntityReferences) native "return this.parentNode.createNodeI
terator(root, whatToShow, filter, expandEntityReferences);"; |
| 4677 |
| 4678 _ProcessingInstructionJs createProcessingInstruction(String target, String dat
a) native "return this.parentNode.createProcessingInstruction(target, data);"; |
| 4679 |
| 4680 _RangeJs createRange() native "return this.parentNode.createRange();"; |
| 4681 |
| 4682 _TextJs createTextNode(String data) native "return this.parentNode.createTextN
ode(data);"; |
| 4683 |
| 4684 _TouchJs createTouch(_WindowJs window, _EventTargetJs target, int identifier,
int pageX, int pageY, int screenX, int screenY, int webkitRadiusX, int webkitRad
iusY, num webkitRotationAngle, num webkitForce) native "return this.parentNode.c
reateTouch(window, target, identifier, pageX, pageY, screenX, screenY, webkitRad
iusX, webkitRadiusY, webkitRotationAngle, webkitForce);"; |
| 4685 |
| 4686 _TouchListJs createTouchList() native "return this.parentNode.createTouchList(
);"; |
| 4687 |
| 4688 _TreeWalkerJs createTreeWalker(_NodeJs root, int whatToShow, _NodeFilterJs fil
ter, bool expandEntityReferences) native "return this.parentNode.createTreeWalke
r(root, whatToShow, filter, expandEntityReferences);"; |
| 4689 |
| 4690 _ElementJs elementFromPoint(int x, int y) native "return this.parentNode.eleme
ntFromPoint(x, y);"; |
| 4691 |
| 4692 _XPathResultJs evaluate(String expression, _NodeJs contextNode, _XPathNSResolv
erJs resolver, int type, _XPathResultJs inResult) native "return this.parentNode
.evaluate(expression, contextNode, resolver, type, inResult);"; |
| 4693 |
| 4694 bool execCommand(String command, bool userInterface, String value) native "ret
urn this.parentNode.execCommand(command, userInterface, value);"; |
| 4695 |
| 4696 Object getCSSCanvasContext(String contextId, String name, int width, int heigh
t) native "return this.parentNode.getCSSCanvasContext(contextId, name, width, he
ight);"; |
| 4697 |
| 4698 _ElementJs getElementById(String elementId) native "return this.parentNode.get
ElementById(elementId);"; |
| 4699 |
| 4700 _NodeListJs getElementsByClassName(String tagname) native "return this.parentN
ode.getElementsByClassName(tagname);"; |
| 4701 |
| 4702 _NodeListJs getElementsByName(String elementName) native "return this.parentNo
de.getElementsByName(elementName);"; |
| 4703 |
| 4704 _NodeListJs getElementsByTagName(String tagname) native "return this.parentNod
e.getElementsByTagName(tagname);"; |
| 4705 |
| 4706 _NodeListJs getElementsByTagNameNS(String namespaceURI, String localName) nati
ve "return this.parentNode.getElementsByTagNameNS(namespaceURI, localName);"; |
| 4707 |
| 4708 _CSSStyleDeclarationJs getOverrideStyle(_ElementJs element, String pseudoEleme
nt) native "return this.parentNode.getOverrideStyle(element, pseudoElement);"; |
| 4709 |
| 4710 _DOMSelectionJs getSelection() native "return this.parentNode.getSelection();"
; |
| 4711 |
| 4712 bool hasFocus() native "return this.parentNode.hasFocus();"; |
| 4713 |
| 4714 _NodeJs importNode(_NodeJs importedNode, [bool deep = null]) native "return th
is.parentNode.importNode(importedNode, deep);"; |
| 4715 |
| 4716 void open() native "this.parentNode.open();"; |
| 4717 |
| 4718 bool queryCommandEnabled(String command) native "return this.parentNode.queryC
ommandEnabled(command);"; |
| 4719 |
| 4720 bool queryCommandIndeterm(String command) native "return this.parentNode.query
CommandIndeterm(command);"; |
| 4721 |
| 4722 bool queryCommandState(String command) native "return this.parentNode.queryCom
mandState(command);"; |
| 4723 |
| 4724 bool queryCommandSupported(String command) native "return this.parentNode.quer
yCommandSupported(command);"; |
| 4725 |
| 4726 String queryCommandValue(String command) native "return this.parentNode.queryC
ommandValue(command);"; |
| 4727 |
| 4728 _ElementJs querySelector(String selectors) native "return this.parentNode.quer
ySelector(selectors);"; |
| 4729 |
| 4730 _NodeListJs querySelectorAll(String selectors) native "return this.parentNode.
querySelectorAll(selectors);"; |
| 4731 |
| 4732 void releaseEvents() native "this.parentNode.releaseEvents();"; |
| 4733 |
| 4734 void webkitCancelFullScreen() native "this.parentNode.webkitCancelFullScreen()
;"; |
| 4735 |
| 4736 _WebKitNamedFlowJs webkitGetFlowByName(String name) native "return this.parent
Node.webkitGetFlowByName(name);"; |
| 4737 |
| 4738 void write(String text) native "this.parentNode.write(text);"; |
| 4739 |
| 4740 void writeln(String text) native "this.parentNode.writeln(text);"; |
| 4741 |
| 4742 |
| 4743 // We execute query selectors off the traditional document rather than the |
| 4744 // HTMLHtmlElement to make the result of query and queryAll less surprising. |
| 4745 // Note: this means that document.query('html') will return the Document. |
| 4746 _ElementJs query(String selectors) native "return this.parentNode.querySelecto
r(selectors);"; |
| 4747 ElementList queryAll(String selectors) native "return this.parentNode.querySel
ectorAll(selectors);"; |
| 4748 |
| 4749 // TODO(jacobr): remove these methods and let them be generated automatically |
| 4750 // once dart supports defining fields with the same name in an interface and |
| 4751 // its parent interface. |
| 4752 String get title() native "return this.parentNode.title;"; |
| 4753 void set title(String value) native "this.parentNode.title = value;"; |
| 4754 |
| 4755 |
| 4756 // For efficiency and simplicity, we always use the HtmlElement as the |
| 4757 // Document but sometimes internally we need the real JS document object. |
| 4758 _NodeJs get _jsDocument() native "return this.parentNode;"; |
| 4759 |
| 4760 // The document doesn't have a parent element. |
| 4761 _ElementJs get parent() => null; |
| 4762 } |
| 4763 |
| 4764 // This class should not be externally visible. If a user ever gets access to |
| 4765 // a _SecretHtmlDocumentJs object that is a bug. This object is hidden by |
| 4766 // adding checks to all methods that could an HTMLDocument. We believe that |
| 4767 // list is limited to Event.target, and HTMLHtmlElement.parent. |
| 4768 class _SecretHtmlDocumentJs extends _NodeJs implements Node |
| 4769 native "*HTMLDocument" { |
| 4770 _DocumentJs get _documentElement() native "return this.documentElement;"; |
| 4771 } |
| 4772 |
| 4773 EventTarget _FixHtmlDocumentReference(EventTarget eventTarget) { |
| 4774 if (eventTarget is _SecretHtmlDocumentJs) { |
| 4775 _SecretHtmlDocumentJs secretDocument = eventTarget; |
| 4776 return secretDocument._documentElement; |
| 4777 } else { |
| 4778 return eventTarget; |
| 4779 } |
| 4780 } |
| 4781 |
| 4782 class _DocumentEventsImpl extends _ElementEventsImpl implements DocumentEvents { |
| 4783 _DocumentEventsImpl(_ptr) : super(_ptr); |
| 4784 |
| 4785 EventListenerList get abort() => _get('abort'); |
| 4786 |
| 4787 EventListenerList get beforeCopy() => _get('beforecopy'); |
| 4788 |
| 4789 EventListenerList get beforeCut() => _get('beforecut'); |
| 4790 |
| 4791 EventListenerList get beforePaste() => _get('beforepaste'); |
| 4792 |
| 4793 EventListenerList get blur() => _get('blur'); |
| 4794 |
| 4795 EventListenerList get change() => _get('change'); |
| 4796 |
| 4797 EventListenerList get click() => _get('click'); |
| 4798 |
| 4799 EventListenerList get contextMenu() => _get('contextmenu'); |
| 4800 |
| 4801 EventListenerList get copy() => _get('copy'); |
| 4802 |
| 4803 EventListenerList get cut() => _get('cut'); |
| 4804 |
| 4805 EventListenerList get doubleClick() => _get('dblclick'); |
| 4806 |
| 4807 EventListenerList get drag() => _get('drag'); |
| 4808 |
| 4809 EventListenerList get dragEnd() => _get('dragend'); |
| 4810 |
| 4811 EventListenerList get dragEnter() => _get('dragenter'); |
| 4812 |
| 4813 EventListenerList get dragLeave() => _get('dragleave'); |
| 4814 |
| 4815 EventListenerList get dragOver() => _get('dragover'); |
| 4816 |
| 4817 EventListenerList get dragStart() => _get('dragstart'); |
| 4818 |
| 4819 EventListenerList get drop() => _get('drop'); |
| 4820 |
| 4821 EventListenerList get error() => _get('error'); |
| 4822 |
| 4823 EventListenerList get focus() => _get('focus'); |
| 4824 |
| 4825 EventListenerList get fullScreenChange() => _get('webkitFullScreenChange'); |
| 4826 |
| 4827 EventListenerList get fullScreenError() => _get('webkitFullScreenError'); |
| 4828 |
| 4829 EventListenerList get input() => _get('input'); |
| 4830 |
| 4831 EventListenerList get invalid() => _get('invalid'); |
| 4832 |
| 4833 EventListenerList get keyDown() => _get('keydown'); |
| 4834 |
| 4835 EventListenerList get keyPress() => _get('keypress'); |
| 4836 |
| 4837 EventListenerList get keyUp() => _get('keyup'); |
| 4838 |
| 4839 EventListenerList get load() => _get('load'); |
| 4840 |
| 4841 EventListenerList get mouseDown() => _get('mousedown'); |
| 4842 |
| 4843 EventListenerList get mouseMove() => _get('mousemove'); |
| 4844 |
| 4845 EventListenerList get mouseOut() => _get('mouseout'); |
| 4846 |
| 4847 EventListenerList get mouseOver() => _get('mouseover'); |
| 4848 |
| 4849 EventListenerList get mouseUp() => _get('mouseup'); |
| 4850 |
| 4851 EventListenerList get mouseWheel() => _get('mousewheel'); |
| 4852 |
| 4853 EventListenerList get paste() => _get('paste'); |
| 4854 |
| 4855 EventListenerList get readyStateChange() => _get('readystatechange'); |
| 4856 |
| 4857 EventListenerList get reset() => _get('reset'); |
| 4858 |
| 4859 EventListenerList get scroll() => _get('scroll'); |
| 4860 |
| 4861 EventListenerList get search() => _get('search'); |
| 4862 |
| 4863 EventListenerList get select() => _get('select'); |
| 4864 |
| 4865 EventListenerList get selectStart() => _get('selectstart'); |
| 4866 |
| 4867 EventListenerList get selectionChange() => _get('selectionchange'); |
| 4868 |
| 4869 EventListenerList get submit() => _get('submit'); |
| 4870 |
| 4871 EventListenerList get touchCancel() => _get('touchcancel'); |
| 4872 |
| 4873 EventListenerList get touchEnd() => _get('touchend'); |
| 4874 |
| 4875 EventListenerList get touchMove() => _get('touchmove'); |
| 4876 |
| 4877 EventListenerList get touchStart() => _get('touchstart'); |
| 4878 } |
| 4879 |
| 4880 class _DocumentFragmentJs extends _NodeJs implements DocumentFragment native "*D
ocumentFragment" { |
| 4881 |
| 4882 _ElementJs querySelector(String selectors) native; |
| 4883 |
| 4884 _NodeListJs querySelectorAll(String selectors) native; |
| 4885 } |
| 4886 |
| 4887 class _DocumentTypeJs extends _NodeJs implements DocumentType native "*DocumentT
ype" { |
| 4888 |
| 4889 final _NamedNodeMapJs entities; |
| 4890 |
| 4891 final String internalSubset; |
| 4892 |
| 4893 final String name; |
| 4894 |
| 4895 final _NamedNodeMapJs notations; |
| 4896 |
| 4897 final String publicId; |
| 4898 |
| 4899 final String systemId; |
| 4900 } |
| 4901 |
| 4902 class _DynamicsCompressorNodeJs extends _AudioNodeJs implements DynamicsCompress
orNode native "*DynamicsCompressorNode" { |
| 4903 } |
| 4904 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 4905 // for details. All rights reserved. Use of this source code is governed by a |
| 4906 // BSD-style license that can be found in the LICENSE file. |
| 4907 |
| 4908 // TODO(jacobr): use Lists.dart to remove some of the duplicated functionality. |
| 4909 class _ChildrenElementList implements ElementList { |
| 4910 // Raw Element. |
| 4911 final _ElementJs _element; |
| 4912 final _HTMLCollectionJs _childElements; |
| 4913 |
| 4914 _ChildrenElementList._wrap(_ElementJs element) |
| 4915 : _childElements = element._children, |
| 4916 _element = element; |
| 4917 |
| 4918 List<Element> _toList() { |
| 4919 final output = new List(_childElements.length); |
| 4920 for (int i = 0, len = _childElements.length; i < len; i++) { |
| 4921 output[i] = _childElements[i]; |
| 4922 } |
| 4923 return output; |
| 4924 } |
| 4925 |
| 4926 _ElementJs get first() { |
| 4927 return _element._firstElementChild; |
| 4928 } |
| 4929 |
| 4930 void forEach(void f(Element element)) { |
| 4931 for (_ElementJs element in _childElements) { |
| 4932 f(element); |
| 4933 } |
| 4934 } |
| 4935 |
| 4936 Collection<Element> filter(bool f(Element element)) { |
| 4937 List<Element> output = <Element>[]; |
| 4938 forEach((Element element) { |
| 4939 if (f(element)) { |
| 4940 output.add(element); |
| 4941 } |
| 4942 }); |
| 4943 return output; |
| 4944 } |
| 4945 |
| 4946 bool every(bool f(Element element)) { |
| 4947 for(Element element in this) { |
| 4948 if (!f(element)) { |
| 4949 return false; |
| 4950 } |
| 4951 }; |
| 4952 return true; |
| 4953 } |
| 4954 |
| 4955 bool some(bool f(Element element)) { |
| 4956 for(Element element in this) { |
| 4957 if (f(element)) { |
| 4958 return true; |
| 4959 } |
| 4960 }; |
| 4961 return false; |
| 4962 } |
| 4963 |
| 4964 bool isEmpty() { |
| 4965 return _element._firstElementChild !== null; |
| 4966 } |
| 4967 |
| 4968 int get length() { |
| 4969 return _childElements.length; |
| 4970 } |
| 4971 |
| 4972 _ElementJs operator [](int index) { |
| 4973 return _childElements[index]; |
| 4974 } |
| 4975 |
| 4976 void operator []=(int index, _ElementJs value) { |
| 4977 _element._replaceChild(value, _childElements.item(index)); |
| 4978 } |
| 4979 |
| 4980 void set length(int newLength) { |
| 4981 // TODO(jacobr): remove children when length is reduced. |
| 4982 throw const UnsupportedOperationException(''); |
| 4983 } |
| 4984 |
| 4985 Element add(_ElementJs value) { |
| 4986 _element._appendChild(value); |
| 4987 return value; |
| 4988 } |
| 4989 |
| 4990 Element addLast(_ElementJs value) => add(value); |
| 4991 |
| 4992 Iterator<Element> iterator() => _toList().iterator(); |
| 4993 |
| 4994 void addAll(Collection<_ElementJs> collection) { |
| 4995 for (_ElementJs element in collection) { |
| 4996 _element._appendChild(element); |
| 4997 } |
| 4998 } |
| 4999 |
| 5000 void sort(int compare(Element a, Element b)) { |
| 5001 throw const UnsupportedOperationException('TODO(jacobr): should we impl?'); |
| 5002 } |
| 5003 |
| 5004 void copyFrom(List<Object> src, int srcStart, int dstStart, int count) { |
| 5005 throw 'Not impl yet. todo(jacobr)'; |
| 5006 } |
| 5007 |
| 5008 void setRange(int start, int length, List from, [int startFrom = 0]) { |
| 5009 throw const NotImplementedException(); |
| 5010 } |
| 5011 |
| 5012 void removeRange(int start, int length) { |
| 5013 throw const NotImplementedException(); |
| 5014 } |
| 5015 |
| 5016 void insertRange(int start, int length, [initialValue = null]) { |
| 5017 throw const NotImplementedException(); |
| 5018 } |
| 5019 |
| 5020 List getRange(int start, int length) { |
| 5021 throw const NotImplementedException(); |
| 5022 } |
| 5023 |
| 5024 int indexOf(Element element, [int start = 0]) { |
| 5025 return _Lists.indexOf(this, element, start, this.length); |
| 5026 } |
| 5027 |
| 5028 int lastIndexOf(Element element, [int start = null]) { |
| 5029 if (start === null) start = length - 1; |
| 5030 return _Lists.lastIndexOf(this, element, start); |
| 5031 } |
| 5032 |
| 5033 void clear() { |
| 5034 // It is unclear if we want to keep non element nodes? |
| 5035 _element.text = ''; |
| 5036 } |
| 5037 |
| 5038 Element removeLast() { |
| 5039 final last = this.last(); |
| 5040 if (last != null) { |
| 5041 _element._removeChild(last); |
| 5042 } |
| 5043 return last; |
| 5044 } |
| 5045 |
| 5046 Element last() { |
| 5047 return _element.lastElementChild; |
| 5048 } |
| 5049 } |
| 5050 |
| 5051 class ElementAttributeMap implements Map<String, String> { |
| 5052 |
| 5053 final _ElementJs _element; |
| 5054 |
| 5055 ElementAttributeMap._wrap(this._element); |
| 5056 |
| 5057 bool containsValue(String value) { |
| 5058 final attributes = _element.attributes; |
| 5059 for (int i = 0, len = attributes.length; i < len; i++) { |
| 5060 if(value == attributes.item(i).value) { |
| 5061 return true; |
| 5062 } |
| 5063 } |
| 5064 return false; |
| 5065 } |
| 5066 |
| 5067 bool containsKey(String key) { |
| 5068 return _element._hasAttribute(key); |
| 5069 } |
| 5070 |
| 5071 String operator [](String key) { |
| 5072 return _element._getAttribute(key); |
| 5073 } |
| 5074 |
| 5075 void operator []=(String key, String value) { |
| 5076 _element._setAttribute(key, value); |
| 5077 } |
| 5078 |
| 5079 String putIfAbsent(String key, String ifAbsent()) { |
| 5080 if (!containsKey(key)) { |
| 5081 this[key] = ifAbsent(); |
| 5082 } |
| 5083 } |
| 5084 |
| 5085 String remove(String key) { |
| 5086 _element._removeAttribute(key); |
| 5087 } |
| 5088 |
| 5089 void clear() { |
| 5090 final attributes = _element._attributes; |
| 5091 for (int i = attributes.length - 1; i >= 0; i--) { |
| 5092 remove(attributes.item(i).name); |
| 5093 } |
| 5094 } |
| 5095 |
| 5096 void forEach(void f(String key, String value)) { |
| 5097 final attributes = _element.attributes; |
| 5098 for (int i = 0, len = attributes.length; i < len; i++) { |
| 5099 final item = attributes.item(i); |
| 5100 f(item.name, item.value); |
| 5101 } |
| 5102 } |
| 5103 |
| 5104 Collection<String> getKeys() { |
| 5105 // TODO(jacobr): generate a lazy collection instead. |
| 5106 final attributes = _element.attributes; |
| 5107 final keys = new List<String>(attributes.length); |
| 5108 for (int i = 0, len = attributes.length; i < len; i++) { |
| 5109 keys[i] = attributes.item(i).name; |
| 5110 } |
| 5111 return keys; |
| 5112 } |
| 5113 |
| 5114 Collection<String> getValues() { |
| 5115 // TODO(jacobr): generate a lazy collection instead. |
| 5116 final attributes = _element.attributes; |
| 5117 final values = new List<String>(attributes.length); |
| 5118 for (int i = 0, len = attributes.length; i < len; i++) { |
| 5119 values[i] = attributes.item(i).value; |
| 5120 } |
| 5121 return values; |
| 5122 } |
| 5123 |
| 5124 /** |
| 5125 * The number of {key, value} pairs in the map. |
| 5126 */ |
| 5127 int get length() { |
| 5128 return _element._attributes.length; |
| 5129 } |
| 5130 |
| 5131 /** |
| 5132 * Returns true if there is no {key, value} pair in the map. |
| 5133 */ |
| 5134 bool isEmpty() { |
| 5135 return length == 0; |
| 5136 } |
| 5137 } |
| 5138 |
| 5139 class _SimpleClientRect implements ClientRect { |
| 5140 final num left; |
| 5141 final num top; |
| 5142 final num width; |
| 5143 final num height; |
| 5144 num get right() => left + width; |
| 5145 num get bottom() => top + height; |
| 5146 |
| 5147 const _SimpleClientRect(this.left, this.top, this.width, this.height); |
| 5148 |
| 5149 bool operator ==(ClientRect other) { |
| 5150 return other !== null && left == other.left && top == other.top |
| 5151 && width == other.width && height == other.height; |
| 5152 } |
| 5153 |
| 5154 String toString() => "($left, $top, $width, $height)"; |
| 5155 } |
| 5156 |
| 5157 // TODO(jacobr): we cannot currently be lazy about calculating the client |
| 5158 // rects as we must perform all measurement queries at a safe point to avoid |
| 5159 // triggering unneeded layouts. |
| 5160 /** |
| 5161 * All your element measurement needs in one place |
| 5162 * @domName none |
| 5163 */ |
| 5164 class _ElementRectImpl implements ElementRect { |
| 5165 final ClientRect client; |
| 5166 final ClientRect offset; |
| 5167 final ClientRect scroll; |
| 5168 |
| 5169 // TODO(jacobr): should we move these outside of ElementRect to avoid the |
| 5170 // overhead of computing them every time even though they are rarely used. |
| 5171 final _ClientRectJs _boundingClientRect; |
| 5172 final _ClientRectListJs _clientRects; |
| 5173 |
| 5174 _ElementRectImpl(_ElementJs element) : |
| 5175 client = new _SimpleClientRect(element._clientLeft, |
| 5176 element._clientTop, |
| 5177 element._clientWidth, |
| 5178 element._clientHeight), |
| 5179 offset = new _SimpleClientRect(element._offsetLeft, |
| 5180 element._offsetTop, |
| 5181 element._offsetWidth, |
| 5182 element._offsetHeight), |
| 5183 scroll = new _SimpleClientRect(element._scrollLeft, |
| 5184 element._scrollTop, |
| 5185 element._scrollWidth, |
| 5186 element._scrollHeight), |
| 5187 _boundingClientRect = element.getBoundingClientRect(), |
| 5188 _clientRects = element.getClientRects(); |
| 5189 |
| 5190 _ClientRectJs get bounding() => _boundingClientRect; |
| 5191 |
| 5192 // TODO(jacobr): cleanup. |
| 5193 List<ClientRect> get clientRects() { |
| 5194 final out = new List(_clientRects.length); |
| 5195 for (num i = 0; i < _clientRects.length; i++) { |
| 5196 out[i] = _clientRects.item(i); |
| 5197 } |
| 5198 return out; |
| 5199 } |
| 5200 } |
| 5201 |
| 5202 final _START_TAG_REGEXP = const RegExp('<(\\w+)'); |
| 5203 |
| 5204 class _ElementJs extends _NodeJs implements Element native "*Element" { |
| 5205 |
| 5206 static final _CUSTOM_PARENT_TAG_MAP = const { |
| 5207 'body' : 'html', |
| 5208 'head' : 'html', |
| 5209 'caption' : 'table', |
| 5210 'td': 'tr', |
| 5211 'colgroup': 'table', |
| 5212 'col' : 'colgroup', |
| 5213 'tr' : 'tbody', |
| 5214 'tbody' : 'table', |
| 5215 'tfoot' : 'table', |
| 5216 'thead' : 'table', |
| 5217 'track' : 'audio', |
| 5218 }; |
| 5219 |
| 5220 /** @domName Document.createElement */ |
| 5221 factory Element.html(String html) { |
| 5222 // TODO(jacobr): this method can be made more robust and performant. |
| 5223 // 1) Cache the dummy parent elements required to use innerHTML rather than |
| 5224 // creating them every call. |
| 5225 // 2) Verify that the html does not contain leading or trailing text nodes. |
| 5226 // 3) Verify that the html does not contain both <head> and <body> tags. |
| 5227 // 4) Detatch the created element from its dummy parent. |
| 5228 String parentTag = 'div'; |
| 5229 String tag; |
| 5230 final match = _START_TAG_REGEXP.firstMatch(html); |
| 5231 if (match !== null) { |
| 5232 tag = match.group(1).toLowerCase(); |
| 5233 if (_CUSTOM_PARENT_TAG_MAP.containsKey(tag)) { |
| 5234 parentTag = _CUSTOM_PARENT_TAG_MAP[tag]; |
| 5235 } |
| 5236 } |
| 5237 _ElementJs temp = _document._createElement(parentTag); |
| 5238 temp.innerHTML = html; |
| 5239 |
| 5240 if (temp._childElementCount == 1) { |
| 5241 return temp._firstElementChild; |
| 5242 } else if (parentTag == 'html' && temp._childElementCount == 2) { |
| 5243 // Work around for edge case in WebKit and possibly other browsers where |
| 5244 // both body and head elements are created even though the inner html |
| 5245 // only contains a head or body element. |
| 5246 return temp.elements[tag == 'head' ? 0 : 1]; |
| 5247 } else { |
| 5248 throw new IllegalArgumentException('HTML had ${temp._childElementCount} '
+ |
| 5249 'top level elements but 1 expected'); |
| 5250 } |
| 5251 } |
| 5252 |
| 5253 /** @domName Document.createElement */ |
| 5254 factory Element.tag(String tag) { |
| 5255 return _document._createElement(tag); |
| 5256 } |
| 5257 |
| 5258 // TODO(jacobr): caching these may hurt performance. |
| 5259 ElementAttributeMap _elementAttributeMap; |
| 5260 _CssClassSet _cssClassSet; |
| 5261 _DataAttributeMap _dataAttributes; |
| 5262 |
| 5263 // TODO(jacobr): remove these methods and let them be generated automatically |
| 5264 // once dart supports defining fields with the same name in an interface and |
| 5265 // its parent interface. |
| 5266 String get title() native "return this.parentNode.title;"; |
| 5267 void set title(String value) native "this.parentNode.title = value;"; |
| 5268 |
| 5269 /** |
| 5270 * @domName Element.hasAttribute, Element.getAttribute, Element.setAttribute, |
| 5271 * Element.removeAttribute |
| 5272 */ |
| 5273 Map<String, String> get attributes() { |
| 5274 if (_elementAttributeMap === null) { |
| 5275 _elementAttributeMap = new ElementAttributeMap._wrap(this); |
| 5276 } |
| 5277 return _elementAttributeMap; |
| 5278 } |
| 5279 |
| 5280 void set attributes(Map<String, String> value) { |
| 5281 Map<String, String> attributes = this.attributes; |
| 5282 attributes.clear(); |
| 5283 for (String key in value.getKeys()) { |
| 5284 attributes[key] = value[key]; |
| 5285 } |
| 5286 } |
| 5287 |
| 5288 void set elements(Collection<Element> value) { |
| 5289 final elements = this.elements; |
| 5290 elements.clear(); |
| 5291 elements.addAll(value); |
| 5292 } |
| 5293 |
| 5294 /** |
| 5295 * @domName childElementCount, firstElementChild, lastElementChild, |
| 5296 * children, Node.nodes.add |
| 5297 */ |
| 5298 ElementList get elements() => new _ChildrenElementList._wrap(this); |
| 5299 |
| 5300 /** @domName querySelector, Document.getElementById */ |
| 5301 Element query(String selectors) native "return this.querySelector(selectors);"
; |
| 5302 |
| 5303 /** |
| 5304 * @domName querySelectorAll, getElementsByClassName, getElementsByTagName, |
| 5305 * getElementsByTagNameNS |
| 5306 */ |
| 5307 ElementList queryAll(String selectors) native "return this.querySelectorAll(se
lectors);"; |
| 5308 |
| 5309 /** @domName className, classList */ |
| 5310 Set<String> get classes() { |
| 5311 if (_cssClassSet === null) { |
| 5312 _cssClassSet = new _CssClassSet(this); |
| 5313 } |
| 5314 return _cssClassSet; |
| 5315 } |
| 5316 |
| 5317 void set classes(Collection<String> value) { |
| 5318 _CssClassSet classSet = classes; |
| 5319 classSet.clear(); |
| 5320 classSet.addAll(value); |
| 5321 } |
| 5322 |
| 5323 Map<String, String> get dataAttributes() { |
| 5324 if (_dataAttributes === null) { |
| 5325 _dataAttributes = new _DataAttributeMap(attributes); |
| 5326 } |
| 5327 return _dataAttributes; |
| 5328 } |
| 5329 |
| 5330 void set dataAttributes(Map<String, String> value) { |
| 5331 Map<String, String> dataAttributes = this.dataAttributes; |
| 5332 dataAttributes.clear(); |
| 5333 for (String key in value.getKeys()) { |
| 5334 dataAttributes[key] = value[key]; |
| 5335 } |
| 5336 } |
| 5337 |
| 5338 bool matchesSelector(String selectors) native "return this.webkitMatchesSelect
or(selectors)"; |
| 5339 |
| 5340 /** |
| 5341 * @domName getClientRects, getBoundingClientRect, clientHeight, clientWidth, |
| 5342 * clientTop, clientLeft, offsetHeight, offsetWidth, offsetTop, offsetLeft, |
| 5343 * scrollHeight, scrollWidth, scrollTop, scrollLeft |
| 5344 */ |
| 5345 Future<ElementRect> get rect() { |
| 5346 return _createMeasurementFuture( |
| 5347 () => new _ElementRectImpl(this), |
| 5348 new Completer<ElementRect>()); |
| 5349 } |
| 5350 |
| 5351 /** @domName Window.getComputedStyle */ |
| 5352 Future<CSSStyleDeclaration> get computedStyle() { |
| 5353 // TODO(jacobr): last param should be null, see b/5045788 |
| 5354 return getComputedStyle(''); |
| 5355 } |
| 5356 |
| 5357 /** @domName Window.getComputedStyle */ |
| 5358 Future<CSSStyleDeclaration> getComputedStyle(String pseudoElement) { |
| 5359 return _createMeasurementFuture(() => |
| 5360 _window._getComputedStyle(this, pseudoElement), |
| 5361 new Completer<CSSStyleDeclaration>()); |
| 5362 } |
| 5363 |
| 5364 _ElementJs clone(bool deep) native; |
| 5365 |
| 5366 static final int ALLOW_KEYBOARD_INPUT = 1; |
| 5367 |
| 5368 int get _childElementCount() native "return this.childElementCount;"; |
| 5369 |
| 5370 _HTMLCollectionJs get _children() native "return this.children;"; |
| 5371 |
| 5372 final _DOMTokenListJs classList; |
| 5373 |
| 5374 String get _className() native "return this.className;"; |
| 5375 |
| 5376 void set _className(String value) native "this.className = value;"; |
| 5377 |
| 5378 int get _clientHeight() native "return this.clientHeight;"; |
| 5379 |
| 5380 int get _clientLeft() native "return this.clientLeft;"; |
| 5381 |
| 5382 int get _clientTop() native "return this.clientTop;"; |
| 5383 |
| 5384 int get _clientWidth() native "return this.clientWidth;"; |
| 5385 |
| 5386 String contentEditable; |
| 5387 |
| 5388 String dir; |
| 5389 |
| 5390 bool draggable; |
| 5391 |
| 5392 _ElementJs get _firstElementChild() native "return this.firstElementChild;"; |
| 5393 |
| 5394 bool hidden; |
| 5395 |
| 5396 String id; |
| 5397 |
| 5398 String innerHTML; |
| 5399 |
| 5400 final bool isContentEditable; |
| 5401 |
| 5402 String lang; |
| 5403 |
| 5404 final _ElementJs lastElementChild; |
| 5405 |
| 5406 final _ElementJs nextElementSibling; |
| 5407 |
| 5408 int get _offsetHeight() native "return this.offsetHeight;"; |
| 5409 |
| 5410 int get _offsetLeft() native "return this.offsetLeft;"; |
| 5411 |
| 5412 final _ElementJs offsetParent; |
| 5413 |
| 5414 int get _offsetTop() native "return this.offsetTop;"; |
| 5415 |
| 5416 int get _offsetWidth() native "return this.offsetWidth;"; |
| 5417 |
| 5418 final String outerHTML; |
| 5419 |
| 5420 final _ElementJs previousElementSibling; |
| 5421 |
| 5422 int get _scrollHeight() native "return this.scrollHeight;"; |
| 5423 |
| 5424 int get _scrollLeft() native "return this.scrollLeft;"; |
| 5425 |
| 5426 void set _scrollLeft(int value) native "this.scrollLeft = value;"; |
| 5427 |
| 5428 int get _scrollTop() native "return this.scrollTop;"; |
| 5429 |
| 5430 void set _scrollTop(int value) native "this.scrollTop = value;"; |
| 5431 |
| 5432 int get _scrollWidth() native "return this.scrollWidth;"; |
| 5433 |
| 5434 bool spellcheck; |
| 5435 |
| 5436 final _CSSStyleDeclarationJs style; |
| 5437 |
| 5438 int tabIndex; |
| 5439 |
| 5440 final String tagName; |
| 5441 |
| 5442 final String webkitRegionOverflow; |
| 5443 |
| 5444 String webkitdropzone; |
| 5445 |
| 5446 _ElementEventsImpl get on() => |
| 5447 new _ElementEventsImpl(this); |
| 5448 |
| 5449 void blur() native; |
| 5450 |
| 5451 void click() native; |
| 5452 |
| 5453 void focus() native; |
| 5454 |
| 5455 String _getAttribute(String name) native "return this.getAttribute(name);"; |
| 5456 |
| 5457 _ClientRectJs getBoundingClientRect() native; |
| 5458 |
| 5459 _ClientRectListJs getClientRects() native; |
| 5460 |
| 5461 _NodeListJs getElementsByClassName(String name) native; |
| 5462 |
| 5463 _NodeListJs getElementsByTagName(String name) native; |
| 5464 |
| 5465 _NodeListJs getElementsByTagNameNS(String namespaceURI, String localName) nati
ve; |
| 5466 |
| 5467 bool _hasAttribute(String name) native "return this.hasAttribute(name);"; |
| 5468 |
| 5469 _ElementJs insertAdjacentElement(String where, _ElementJs element) native; |
| 5470 |
| 5471 void insertAdjacentHTML(String where, String html) native; |
| 5472 |
| 5473 void insertAdjacentText(String where, String text) native; |
| 5474 |
| 5475 _ElementJs querySelector(String selectors) native; |
| 5476 |
| 5477 _NodeListJs querySelectorAll(String selectors) native; |
| 5478 |
| 5479 void _removeAttribute(String name) native "this.removeAttribute(name);"; |
| 5480 |
| 5481 void scrollByLines(int lines) native; |
| 5482 |
| 5483 void scrollByPages(int pages) native; |
| 5484 |
| 5485 void scrollIntoView([bool alignWithTop = null]) native; |
| 5486 |
| 5487 void scrollIntoViewIfNeeded([bool centerIfNeeded = null]) native; |
| 5488 |
| 5489 void _setAttribute(String name, String value) native "this.setAttribute(name,
value);"; |
| 5490 |
| 5491 bool webkitMatchesSelector(String selectors) native; |
| 5492 |
| 5493 void webkitRequestFullScreen(int flags) native; |
| 5494 |
| 5495 } |
| 5496 |
| 5497 class _ElementEventsImpl extends _EventsImpl implements ElementEvents { |
| 5498 _ElementEventsImpl(_ptr) : super(_ptr); |
| 5499 |
| 5500 EventListenerList get abort() => _get('abort'); |
| 5501 |
| 5502 EventListenerList get beforeCopy() => _get('beforecopy'); |
| 5503 |
| 5504 EventListenerList get beforeCut() => _get('beforecut'); |
| 5505 |
| 5506 EventListenerList get beforePaste() => _get('beforepaste'); |
| 5507 |
| 5508 EventListenerList get blur() => _get('blur'); |
| 5509 |
| 5510 EventListenerList get change() => _get('change'); |
| 5511 |
| 5512 EventListenerList get click() => _get('click'); |
| 5513 |
| 5514 EventListenerList get contextMenu() => _get('contextmenu'); |
| 5515 |
| 5516 EventListenerList get copy() => _get('copy'); |
| 5517 |
| 5518 EventListenerList get cut() => _get('cut'); |
| 5519 |
| 5520 EventListenerList get doubleClick() => _get('dblclick'); |
| 5521 |
| 5522 EventListenerList get drag() => _get('drag'); |
| 5523 |
| 5524 EventListenerList get dragEnd() => _get('dragend'); |
| 5525 |
| 5526 EventListenerList get dragEnter() => _get('dragenter'); |
| 5527 |
| 5528 EventListenerList get dragLeave() => _get('dragleave'); |
| 5529 |
| 5530 EventListenerList get dragOver() => _get('dragover'); |
| 5531 |
| 5532 EventListenerList get dragStart() => _get('dragstart'); |
| 5533 |
| 5534 EventListenerList get drop() => _get('drop'); |
| 5535 |
| 5536 EventListenerList get error() => _get('error'); |
| 5537 |
| 5538 EventListenerList get focus() => _get('focus'); |
| 5539 |
| 5540 EventListenerList get fullScreenChange() => _get('webkitFullScreenChange'); |
| 5541 |
| 5542 EventListenerList get fullScreenError() => _get('webkitFullScreenError'); |
| 5543 |
| 5544 EventListenerList get input() => _get('input'); |
| 5545 |
| 5546 EventListenerList get invalid() => _get('invalid'); |
| 5547 |
| 5548 EventListenerList get keyDown() => _get('keydown'); |
| 5549 |
| 5550 EventListenerList get keyPress() => _get('keypress'); |
| 5551 |
| 5552 EventListenerList get keyUp() => _get('keyup'); |
| 5553 |
| 5554 EventListenerList get load() => _get('load'); |
| 5555 |
| 5556 EventListenerList get mouseDown() => _get('mousedown'); |
| 5557 |
| 5558 EventListenerList get mouseMove() => _get('mousemove'); |
| 5559 |
| 5560 EventListenerList get mouseOut() => _get('mouseout'); |
| 5561 |
| 5562 EventListenerList get mouseOver() => _get('mouseover'); |
| 5563 |
| 5564 EventListenerList get mouseUp() => _get('mouseup'); |
| 5565 |
| 5566 EventListenerList get mouseWheel() => _get('mousewheel'); |
| 5567 |
| 5568 EventListenerList get paste() => _get('paste'); |
| 5569 |
| 5570 EventListenerList get reset() => _get('reset'); |
| 5571 |
| 5572 EventListenerList get scroll() => _get('scroll'); |
| 5573 |
| 5574 EventListenerList get search() => _get('search'); |
| 5575 |
| 5576 EventListenerList get select() => _get('select'); |
| 5577 |
| 5578 EventListenerList get selectStart() => _get('selectstart'); |
| 5579 |
| 5580 EventListenerList get submit() => _get('submit'); |
| 5581 |
| 5582 EventListenerList get touchCancel() => _get('touchcancel'); |
| 5583 |
| 5584 EventListenerList get touchEnd() => _get('touchend'); |
| 5585 |
| 5586 EventListenerList get touchLeave() => _get('touchleave'); |
| 5587 |
| 5588 EventListenerList get touchMove() => _get('touchmove'); |
| 5589 |
| 5590 EventListenerList get touchStart() => _get('touchstart'); |
| 5591 |
| 5592 EventListenerList get transitionEnd() => _get('webkitTransitionEnd'); |
| 5593 } |
| 5594 |
| 5595 class _ElementTimeControlJs implements ElementTimeControl native "*ElementTimeCo
ntrol" { |
| 5596 |
| 5597 void beginElement() native; |
| 5598 |
| 5599 void beginElementAt(num offset) native; |
| 5600 |
| 5601 void endElement() native; |
| 5602 |
| 5603 void endElementAt(num offset) native; |
| 5604 } |
| 5605 |
| 5606 class _ElementTraversalJs implements ElementTraversal native "*ElementTraversal"
{ |
| 5607 |
| 5608 final int childElementCount; |
| 5609 |
| 5610 final _ElementJs firstElementChild; |
| 5611 |
| 5612 final _ElementJs lastElementChild; |
| 5613 |
| 5614 final _ElementJs nextElementSibling; |
| 5615 |
| 5616 final _ElementJs previousElementSibling; |
| 5617 } |
| 5618 |
| 5619 class _EmbedElementJs extends _ElementJs implements EmbedElement native "*HTMLEm
bedElement" { |
| 5620 |
| 5621 String align; |
| 5622 |
| 5623 String height; |
| 5624 |
| 5625 String name; |
| 5626 |
| 5627 String src; |
| 5628 |
| 5629 String type; |
| 5630 |
| 5631 String width; |
| 5632 } |
| 5633 |
| 5634 class _EntityJs extends _NodeJs implements Entity native "*Entity" { |
| 5635 |
| 5636 final String notationName; |
| 5637 |
| 5638 final String publicId; |
| 5639 |
| 5640 final String systemId; |
| 5641 } |
| 5642 |
| 5643 class _EntityReferenceJs extends _NodeJs implements EntityReference native "*Ent
ityReference" { |
| 5644 } |
| 5645 |
| 5646 class _EntryJs implements Entry native "*Entry" { |
| 5647 |
| 5648 final _DOMFileSystemJs filesystem; |
| 5649 |
| 5650 final String fullPath; |
| 5651 |
| 5652 final bool isDirectory; |
| 5653 |
| 5654 final bool isFile; |
| 5655 |
| 5656 final String name; |
| 5657 |
| 5658 void copyTo(_DirectoryEntryJs parent, [String name = null, EntryCallback succe
ssCallback = null, ErrorCallback errorCallback = null]) native; |
| 5659 |
| 5660 void getMetadata(MetadataCallback successCallback, [ErrorCallback errorCallbac
k = null]) native; |
| 5661 |
| 5662 void getParent([EntryCallback successCallback = null, ErrorCallback errorCallb
ack = null]) native; |
| 5663 |
| 5664 void moveTo(_DirectoryEntryJs parent, [String name = null, EntryCallback succe
ssCallback = null, ErrorCallback errorCallback = null]) native; |
| 5665 |
| 5666 void remove(VoidCallback successCallback, [ErrorCallback errorCallback = null]
) native; |
| 5667 |
| 5668 String toURL() native; |
| 5669 } |
| 5670 |
| 5671 class _EntryArrayJs implements EntryArray native "*EntryArray" { |
| 5672 |
| 5673 final int length; |
| 5674 |
| 5675 _EntryJs item(int index) native; |
| 5676 } |
| 5677 |
| 5678 class _EntryArraySyncJs implements EntryArraySync native "*EntryArraySync" { |
| 5679 |
| 5680 final int length; |
| 5681 |
| 5682 _EntrySyncJs item(int index) native; |
| 5683 } |
| 5684 |
| 5685 class _EntrySyncJs implements EntrySync native "*EntrySync" { |
| 5686 |
| 5687 final _DOMFileSystemSyncJs filesystem; |
| 5688 |
| 5689 final String fullPath; |
| 5690 |
| 5691 final bool isDirectory; |
| 5692 |
| 5693 final bool isFile; |
| 5694 |
| 5695 final String name; |
| 5696 |
| 5697 _EntrySyncJs copyTo(_DirectoryEntrySyncJs parent, String name) native; |
| 5698 |
| 5699 _MetadataJs getMetadata() native; |
| 5700 |
| 5701 _DirectoryEntrySyncJs getParent() native; |
| 5702 |
| 5703 _EntrySyncJs moveTo(_DirectoryEntrySyncJs parent, String name) native; |
| 5704 |
| 5705 void remove() native; |
| 5706 |
| 5707 String toURL() native; |
| 5708 } |
| 5709 |
| 5710 class _ErrorEventJs extends _EventJs implements ErrorEvent native "*ErrorEvent"
{ |
| 5711 |
| 5712 final String filename; |
| 5713 |
| 5714 final int lineno; |
| 5715 |
| 5716 final String message; |
| 5717 } |
| 5718 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5719 // for details. All rights reserved. Use of this source code is governed by a |
| 5720 // BSD-style license that can be found in the LICENSE file. |
| 5721 |
| 5722 class _EventJs implements Event native "*Event" { |
| 5723 |
| 5724 EventTarget get target() => _FixHtmlDocumentReference(_target); |
| 5725 EventTarget get srcElement() => _FixHtmlDocumentReference(_srcElement); |
| 5726 EventTarget get currentTarget() => |
| 5727 _FixHtmlDocumentReference(_currentTarget); |
| 5728 |
| 5729 static final int AT_TARGET = 2; |
| 5730 |
| 5731 static final int BLUR = 8192; |
| 5732 |
| 5733 static final int BUBBLING_PHASE = 3; |
| 5734 |
| 5735 static final int CAPTURING_PHASE = 1; |
| 5736 |
| 5737 static final int CHANGE = 32768; |
| 5738 |
| 5739 static final int CLICK = 64; |
| 5740 |
| 5741 static final int DBLCLICK = 128; |
| 5742 |
| 5743 static final int DRAGDROP = 2048; |
| 5744 |
| 5745 static final int FOCUS = 4096; |
| 5746 |
| 5747 static final int KEYDOWN = 256; |
| 5748 |
| 5749 static final int KEYPRESS = 1024; |
| 5750 |
| 5751 static final int KEYUP = 512; |
| 5752 |
| 5753 static final int MOUSEDOWN = 1; |
| 5754 |
| 5755 static final int MOUSEDRAG = 32; |
| 5756 |
| 5757 static final int MOUSEMOVE = 16; |
| 5758 |
| 5759 static final int MOUSEOUT = 8; |
| 5760 |
| 5761 static final int MOUSEOVER = 4; |
| 5762 |
| 5763 static final int MOUSEUP = 2; |
| 5764 |
| 5765 static final int SELECT = 16384; |
| 5766 |
| 5767 final bool bubbles; |
| 5768 |
| 5769 bool cancelBubble; |
| 5770 |
| 5771 final bool cancelable; |
| 5772 |
| 5773 final _ClipboardJs clipboardData; |
| 5774 |
| 5775 _EventTargetJs get _currentTarget() native "return this.currentTarget;"; |
| 5776 |
| 5777 final bool defaultPrevented; |
| 5778 |
| 5779 final int eventPhase; |
| 5780 |
| 5781 bool returnValue; |
| 5782 |
| 5783 _EventTargetJs get _srcElement() native "return this.srcElement;"; |
| 5784 |
| 5785 _EventTargetJs get _target() native "return this.target;"; |
| 5786 |
| 5787 final int timeStamp; |
| 5788 |
| 5789 final String type; |
| 5790 |
| 5791 void _initEvent(String eventTypeArg, bool canBubbleArg, bool cancelableArg) na
tive "this.initEvent(eventTypeArg, canBubbleArg, cancelableArg);"; |
| 5792 |
| 5793 void preventDefault() native; |
| 5794 |
| 5795 void stopImmediatePropagation() native; |
| 5796 |
| 5797 void stopPropagation() native; |
| 5798 |
| 5799 } |
| 5800 |
| 5801 class _EventExceptionJs implements EventException native "*EventException" { |
| 5802 |
| 5803 static final int DISPATCH_REQUEST_ERR = 1; |
| 5804 |
| 5805 static final int UNSPECIFIED_EVENT_TYPE_ERR = 0; |
| 5806 |
| 5807 final int code; |
| 5808 |
| 5809 final String message; |
| 5810 |
| 5811 final String name; |
| 5812 |
| 5813 String toString() native; |
| 5814 } |
| 5815 |
| 5816 class _EventSourceJs implements EventSource native "*EventSource" { |
| 5817 |
| 5818 static final int CLOSED = 2; |
| 5819 |
| 5820 static final int CONNECTING = 0; |
| 5821 |
| 5822 static final int OPEN = 1; |
| 5823 |
| 5824 final String URL; |
| 5825 |
| 5826 final int readyState; |
| 5827 |
| 5828 final String url; |
| 5829 |
| 5830 _EventSourceEventsImpl get on() => |
| 5831 new _EventSourceEventsImpl(this); |
| 5832 |
| 5833 void _addEventListener(String type, EventListener listener, [bool useCapture =
null]) native "this.addEventListener(type, listener, useCapture);"; |
| 5834 |
| 5835 void close() native; |
| 5836 |
| 5837 bool _dispatchEvent(_EventJs evt) native "return this.dispatchEvent(evt);"; |
| 5838 |
| 5839 void _removeEventListener(String type, EventListener listener, [bool useCaptur
e = null]) native "this.removeEventListener(type, listener, useCapture);"; |
| 5840 } |
| 5841 |
| 5842 class _EventSourceEventsImpl extends _EventsImpl implements EventSourceEvents { |
| 5843 _EventSourceEventsImpl(_ptr) : super(_ptr); |
| 5844 |
| 5845 EventListenerList get error() => _get('error'); |
| 5846 |
| 5847 EventListenerList get message() => _get('message'); |
| 5848 |
| 5849 EventListenerList get open() => _get('open'); |
| 5850 } |
| 5851 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5852 // for details. All rights reserved. Use of this source code is governed by a |
| 5853 // BSD-style license that can be found in the LICENSE file. |
| 5854 |
| 5855 class _EventsImpl implements Events { |
| 5856 /* Raw event target. */ |
| 5857 // TODO(jacobr): it would be nice if we could specify this as |
| 5858 // _EventTargetJs or EventTarget |
| 5859 final var _ptr; |
| 5860 |
| 5861 _EventsImpl(this._ptr); |
| 5862 |
| 5863 _EventListenerListImpl operator [](String type) => _get(type.toLowerCase()); |
| 5864 |
| 5865 _EventListenerListImpl _get(String type) { |
| 5866 return new _EventListenerListImpl(_ptr, type); |
| 5867 } |
| 5868 } |
| 5869 |
| 5870 class _EventListenerListImpl implements EventListenerList { |
| 5871 |
| 5872 // TODO(jacobr): make this _EventTargetJs |
| 5873 final var _ptr; |
| 5874 final String _type; |
| 5875 |
| 5876 _EventListenerListImpl(this._ptr, this._type); |
| 5877 |
| 5878 // TODO(jacobr): implement equals. |
| 5879 |
| 5880 _EventListenerListImpl add(EventListener listener, |
| 5881 [bool useCapture = false]) { |
| 5882 _add(listener, useCapture); |
| 5883 return this; |
| 5884 } |
| 5885 |
| 5886 _EventListenerListImpl remove(EventListener listener, |
| 5887 [bool useCapture = false]) { |
| 5888 _remove(listener, useCapture); |
| 5889 return this; |
| 5890 } |
| 5891 |
| 5892 bool dispatch(Event evt) { |
| 5893 // TODO(jacobr): what is the correct behavior here. We could alternately |
| 5894 // force the event to have the expected type. |
| 5895 assert(evt.type == _type); |
| 5896 return _ptr._dispatchEvent(evt); |
| 5897 } |
| 5898 |
| 5899 void _add(EventListener listener, bool useCapture) { |
| 5900 _ptr._addEventListener(_type, listener, useCapture); |
| 5901 } |
| 5902 |
| 5903 void _remove(EventListener listener, bool useCapture) { |
| 5904 _ptr._removeEventListener(_type, listener, useCapture); |
| 5905 } |
| 5906 } |
| 5907 |
| 5908 |
| 5909 class _EventTargetJs implements EventTarget native "*EventTarget" { |
| 5910 |
| 5911 Events get on() => new _EventsImpl(this); |
| 5912 |
| 5913 void _addEventListener(String type, EventListener listener, [bool useCapture =
null]) native "this.addEventListener(type, listener, useCapture);"; |
| 5914 |
| 5915 bool _dispatchEvent(_EventJs event) native "return this.dispatchEvent(event);"
; |
| 5916 |
| 5917 void _removeEventListener(String type, EventListener listener, [bool useCaptur
e = null]) native "this.removeEventListener(type, listener, useCapture);"; |
| 5918 |
| 5919 } |
| 5920 |
| 5921 class _FieldSetElementJs extends _ElementJs implements FieldSetElement native "*
HTMLFieldSetElement" { |
| 5922 |
| 5923 final _FormElementJs form; |
| 5924 |
| 5925 final String validationMessage; |
| 5926 |
| 5927 final _ValidityStateJs validity; |
| 5928 |
| 5929 final bool willValidate; |
| 5930 |
| 5931 bool checkValidity() native; |
| 5932 |
| 5933 void setCustomValidity(String error) native; |
| 5934 } |
| 5935 |
| 5936 class _FileJs extends _BlobJs implements File native "*File" { |
| 5937 |
| 5938 final String fileName; |
| 5939 |
| 5940 final int fileSize; |
| 5941 |
| 5942 final Date lastModifiedDate; |
| 5943 |
| 5944 final String name; |
| 5945 |
| 5946 final String webkitRelativePath; |
| 5947 } |
| 5948 |
| 5949 class _FileEntryJs extends _EntryJs implements FileEntry native "*FileEntry" { |
| 5950 |
| 5951 void createWriter(FileWriterCallback successCallback, [ErrorCallback errorCall
back = null]) native; |
| 5952 |
| 5953 void file(FileCallback successCallback, [ErrorCallback errorCallback = null])
native; |
| 5954 } |
| 5955 |
| 5956 class _FileEntrySyncJs extends _EntrySyncJs implements FileEntrySync native "*Fi
leEntrySync" { |
| 5957 |
| 5958 _FileWriterSyncJs createWriter() native; |
| 5959 |
| 5960 _FileJs file() native; |
| 5961 } |
| 5962 |
| 5963 class _FileErrorJs implements FileError native "*FileError" { |
| 5964 |
| 5965 static final int ABORT_ERR = 3; |
| 5966 |
| 5967 static final int ENCODING_ERR = 5; |
| 5968 |
| 5969 static final int INVALID_MODIFICATION_ERR = 9; |
| 5970 |
| 5971 static final int INVALID_STATE_ERR = 7; |
| 5972 |
| 5973 static final int NOT_FOUND_ERR = 1; |
| 5974 |
| 5975 static final int NOT_READABLE_ERR = 4; |
| 5976 |
| 5977 static final int NO_MODIFICATION_ALLOWED_ERR = 6; |
| 5978 |
| 5979 static final int PATH_EXISTS_ERR = 12; |
| 5980 |
| 5981 static final int QUOTA_EXCEEDED_ERR = 10; |
| 5982 |
| 5983 static final int SECURITY_ERR = 2; |
| 5984 |
| 5985 static final int SYNTAX_ERR = 8; |
| 5986 |
| 5987 static final int TYPE_MISMATCH_ERR = 11; |
| 5988 |
| 5989 final int code; |
| 5990 } |
| 5991 |
| 5992 class _FileExceptionJs implements FileException native "*FileException" { |
| 5993 |
| 5994 static final int ABORT_ERR = 3; |
| 5995 |
| 5996 static final int ENCODING_ERR = 5; |
| 5997 |
| 5998 static final int INVALID_MODIFICATION_ERR = 9; |
| 5999 |
| 6000 static final int INVALID_STATE_ERR = 7; |
| 6001 |
| 6002 static final int NOT_FOUND_ERR = 1; |
| 6003 |
| 6004 static final int NOT_READABLE_ERR = 4; |
| 6005 |
| 6006 static final int NO_MODIFICATION_ALLOWED_ERR = 6; |
| 6007 |
| 6008 static final int PATH_EXISTS_ERR = 12; |
| 6009 |
| 6010 static final int QUOTA_EXCEEDED_ERR = 10; |
| 6011 |
| 6012 static final int SECURITY_ERR = 2; |
| 6013 |
| 6014 static final int SYNTAX_ERR = 8; |
| 6015 |
| 6016 static final int TYPE_MISMATCH_ERR = 11; |
| 6017 |
| 6018 final int code; |
| 6019 |
| 6020 final String message; |
| 6021 |
| 6022 final String name; |
| 6023 |
| 6024 String toString() native; |
| 6025 } |
| 6026 |
| 6027 class _FileListJs implements FileList native "*FileList" { |
| 6028 |
| 6029 final int length; |
| 6030 |
| 6031 _FileJs item(int index) native; |
| 6032 } |
| 6033 |
| 6034 class _FileReaderJs implements FileReader native "*FileReader" { |
| 6035 |
| 6036 static final int DONE = 2; |
| 6037 |
| 6038 static final int EMPTY = 0; |
| 6039 |
| 6040 static final int LOADING = 1; |
| 6041 |
| 6042 final _FileErrorJs error; |
| 6043 |
| 6044 EventListener onabort; |
| 6045 |
| 6046 EventListener onerror; |
| 6047 |
| 6048 EventListener onload; |
| 6049 |
| 6050 EventListener onloadend; |
| 6051 |
| 6052 EventListener onloadstart; |
| 6053 |
| 6054 EventListener onprogress; |
| 6055 |
| 6056 final int readyState; |
| 6057 |
| 6058 final Object result; |
| 6059 |
| 6060 void abort() native; |
| 6061 |
| 6062 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; |
| 6063 |
| 6064 bool dispatchEvent(_EventJs evt) native; |
| 6065 |
| 6066 void readAsArrayBuffer(_BlobJs blob) native; |
| 6067 |
| 6068 void readAsBinaryString(_BlobJs blob) native; |
| 6069 |
| 6070 void readAsDataURL(_BlobJs blob) native; |
| 6071 |
| 6072 void readAsText(_BlobJs blob, [String encoding = null]) native; |
| 6073 |
| 6074 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; |
| 6075 } |
| 6076 |
| 6077 class _FileReaderSyncJs implements FileReaderSync native "*FileReaderSync" { |
| 6078 |
| 6079 _ArrayBufferJs readAsArrayBuffer(_BlobJs blob) native; |
| 6080 |
| 6081 String readAsBinaryString(_BlobJs blob) native; |
| 6082 |
| 6083 String readAsDataURL(_BlobJs blob) native; |
| 6084 |
| 6085 String readAsText(_BlobJs blob, [String encoding = null]) native; |
| 6086 } |
| 6087 |
| 6088 class _FileWriterJs implements FileWriter native "*FileWriter" { |
| 6089 |
| 6090 static final int DONE = 2; |
| 6091 |
| 6092 static final int INIT = 0; |
| 6093 |
| 6094 static final int WRITING = 1; |
| 6095 |
| 6096 final _FileErrorJs error; |
| 6097 |
| 6098 final int length; |
| 6099 |
| 6100 EventListener onabort; |
| 6101 |
| 6102 EventListener onerror; |
| 6103 |
| 6104 EventListener onprogress; |
| 6105 |
| 6106 EventListener onwrite; |
| 6107 |
| 6108 EventListener onwriteend; |
| 6109 |
| 6110 EventListener onwritestart; |
| 6111 |
| 6112 final int position; |
| 6113 |
| 6114 final int readyState; |
| 6115 |
| 6116 void abort() native; |
| 6117 |
| 6118 void seek(int position) native; |
| 6119 |
| 6120 void truncate(int size) native; |
| 6121 |
| 6122 void write(_BlobJs data) native; |
| 6123 } |
| 6124 |
| 6125 class _FileWriterSyncJs implements FileWriterSync native "*FileWriterSync" { |
| 6126 |
| 6127 final int length; |
| 6128 |
| 6129 final int position; |
| 6130 |
| 6131 void seek(int position) native; |
| 6132 |
| 6133 void truncate(int size) native; |
| 6134 |
| 6135 void write(_BlobJs data) native; |
| 6136 } |
| 6137 |
| 6138 class _Float32ArrayJs extends _ArrayBufferViewJs implements Float32Array, List<n
um> native "*Float32Array" { |
| 6139 |
| 6140 factory Float32Array(int length) => _construct_Float32Array(length); |
| 6141 |
| 6142 factory Float32Array.fromList(List<num> list) => _construct_Float32Array(list)
; |
| 6143 |
| 6144 factory Float32Array.fromBuffer(ArrayBuffer buffer) => _construct_Float32Array
(buffer); |
| 6145 |
| 6146 static _construct_Float32Array(arg) native 'return new Float32Array(arg);'; |
| 6147 |
| 6148 static final int BYTES_PER_ELEMENT = 4; |
| 6149 |
| 6150 final int length; |
| 6151 |
| 6152 num operator[](int index) native "return this[index];"; |
| 6153 |
| 6154 void operator[]=(int index, num value) native "this[index] = value"; |
| 6155 // -- start List<num> mixins. |
| 6156 // num is the element type. |
| 6157 |
| 6158 // From Iterable<num>: |
| 6159 |
| 6160 Iterator<num> iterator() { |
| 6161 // Note: NodeLists are not fixed size. And most probably length shouldn't |
| 6162 // be cached in both iterator _and_ forEach method. For now caching it |
| 6163 // for consistency. |
| 6164 return new _FixedSizeListIterator<num>(this); |
| 6165 } |
| 6166 |
| 6167 // From Collection<num>: |
| 6168 |
| 6169 void add(num value) { |
| 6170 throw new UnsupportedOperationException("Cannot add to immutable List."); |
| 6171 } |
| 6172 |
| 6173 void addLast(num value) { |
| 6174 throw new UnsupportedOperationException("Cannot add to immutable List."); |
| 6175 } |
| 6176 |
| 6177 void addAll(Collection<num> collection) { |
| 6178 throw new UnsupportedOperationException("Cannot add to immutable List."); |
| 6179 } |
| 6180 |
| 6181 void forEach(void f(num element)) => _Collections.forEach(this, f); |
| 6182 |
| 6183 Collection map(f(num element)) => _Collections.map(this, [], f); |
| 6184 |
| 6185 Collection<num> filter(bool f(num element)) => |
| 6186 _Collections.filter(this, <num>[], f); |
| 6187 |
| 6188 bool every(bool f(num element)) => _Collections.every(this, f); |
| 6189 |
| 6190 bool some(bool f(num element)) => _Collections.some(this, f); |
| 6191 |
| 6192 bool isEmpty() => this.length == 0; |
| 6193 |
| 6194 // From List<num>: |
| 6195 |
| 6196 void sort(int compare(num a, num b)) { |
| 6197 throw new UnsupportedOperationException("Cannot sort immutable List."); |
| 6198 } |
| 6199 |
| 6200 int indexOf(num element, [int start = 0]) => |
| 6201 _Lists.indexOf(this, element, start, this.length); |
| 6202 |
| 6203 int lastIndexOf(num element, [int start = 0]) => |
| 6204 _Lists.lastIndexOf(this, element, start); |
| 6205 |
| 6206 num last() => this[length - 1]; |
| 6207 |
| 6208 // FIXME: implement thesee. |
| 6209 void setRange(int start, int length, List<num> from, [int startFrom]) { |
| 6210 throw new UnsupportedOperationException("Cannot setRange on immutable List."
); |
| 6211 } |
| 6212 void removeRange(int start, int length) { |
| 6213 throw new UnsupportedOperationException("Cannot removeRange on immutable Lis
t."); |
| 6214 } |
| 6215 void insertRange(int start, int length, [num initialValue]) { |
| 6216 throw new UnsupportedOperationException("Cannot insertRange on immutable Lis
t."); |
| 6217 } |
| 6218 List<num> getRange(int start, int length) => |
| 6219 _Lists.getRange(this, start, length, <num>[]); |
| 6220 |
| 6221 // -- end List<num> mixins. |
| 6222 |
| 6223 void setElements(Object array, [int offset = null]) native; |
| 6224 |
| 6225 _Float32ArrayJs subarray(int start, [int end = null]) native; |
| 6226 } |
| 6227 |
| 6228 class _Float64ArrayJs extends _ArrayBufferViewJs implements Float64Array, List<n
um> native "*Float64Array" { |
| 6229 |
| 6230 factory Float64Array(int length) => _construct_Float64Array(length); |
| 6231 |
| 6232 factory Float64Array.fromList(List<num> list) => _construct_Float64Array(list)
; |
| 6233 |
| 6234 factory Float64Array.fromBuffer(ArrayBuffer buffer) => _construct_Float64Array
(buffer); |
| 6235 |
| 6236 static _construct_Float64Array(arg) native 'return new Float64Array(arg);'; |
| 6237 |
| 6238 static final int BYTES_PER_ELEMENT = 8; |
| 6239 |
| 6240 final int length; |
| 6241 |
| 6242 num operator[](int index) native "return this[index];"; |
| 6243 |
| 6244 void operator[]=(int index, num value) native "this[index] = value"; |
| 6245 // -- start List<num> mixins. |
| 6246 // num is the element type. |
| 6247 |
| 6248 // From Iterable<num>: |
| 6249 |
| 6250 Iterator<num> iterator() { |
| 6251 // Note: NodeLists are not fixed size. And most probably length shouldn't |
| 6252 // be cached in both iterator _and_ forEach method. For now caching it |
| 6253 // for consistency. |
| 6254 return new _FixedSizeListIterator<num>(this); |
| 6255 } |
| 6256 |
| 6257 // From Collection<num>: |
| 6258 |
| 6259 void add(num value) { |
| 6260 throw new UnsupportedOperationException("Cannot add to immutable List."); |
| 6261 } |
| 6262 |
| 6263 void addLast(num value) { |
| 6264 throw new UnsupportedOperationException("Cannot add to immutable List."); |
| 6265 } |
| 6266 |
| 6267 void addAll(Collection<num> collection) { |
| 6268 throw new UnsupportedOperationException("Cannot add to immutable List."); |
| 6269 } |
| 6270 |
| 6271 void forEach(void f(num element)) => _Collections.forEach(this, f); |
| 6272 |
| 6273 Collection map(f(num element)) => _Collections.map(this, [], f); |
| 6274 |
| 6275 Collection<num> filter(bool f(num element)) => |
| 6276 _Collections.filter(this, <num>[], f); |
| 6277 |
| 6278 bool every(bool f(num element)) => _Collections.every(this, f); |
| 6279 |
| 6280 bool some(bool f(num element)) => _Collections.some(this, f); |
| 6281 |
| 6282 bool isEmpty() => this.length == 0; |
| 6283 |
| 6284 // From List<num>: |
| 6285 |
| 6286 void sort(int compare(num a, num b)) { |
| 6287 throw new UnsupportedOperationException("Cannot sort immutable List."); |
| 6288 } |
| 6289 |
| 6290 int indexOf(num element, [int start = 0]) => |
| 6291 _Lists.indexOf(this, element, start, this.length); |
| 6292 |
| 6293 int lastIndexOf(num element, [int start = 0]) => |
| 6294 _Lists.lastIndexOf(this, element, start); |
| 6295 |
| 6296 num last() => this[length - 1]; |
| 6297 |
| 6298 // FIXME: implement thesee. |
| 6299 void setRange(int start, int length, List<num> from, [int startFrom]) { |
| 6300 throw new UnsupportedOperationException("Cannot setRange on immutable List."
); |
| 6301 } |
| 6302 void removeRange(int start, int length) { |
| 6303 throw new UnsupportedOperationException("Cannot removeRange on immutable Lis
t."); |
| 6304 } |
| 6305 void insertRange(int start, int length, [num initialValue]) { |
| 6306 throw new UnsupportedOperationException("Cannot insertRange on immutable Lis
t."); |
| 6307 } |
| 6308 List<num> getRange(int start, int length) => |
| 6309 _Lists.getRange(this, start, length, <num>[]); |
| 6310 |
| 6311 // -- end List<num> mixins. |
| 6312 |
| 6313 void setElements(Object array, [int offset = null]) native; |
| 6314 |
| 6315 _Float64ArrayJs subarray(int start, [int end = null]) native; |
| 6316 } |
| 6317 |
| 6318 class _FontElementJs extends _ElementJs implements FontElement native "*HTMLFont
Element" { |
| 6319 |
| 6320 String color; |
| 6321 |
| 6322 String face; |
| 6323 |
| 6324 String size; |
| 6325 } |
| 6326 |
| 6327 class _FormElementJs extends _ElementJs implements FormElement native "*HTMLForm
Element" { |
| 6328 |
| 6329 String acceptCharset; |
| 6330 |
| 6331 String action; |
| 6332 |
| 6333 String autocomplete; |
| 6334 |
| 6335 String encoding; |
| 6336 |
| 6337 String enctype; |
| 6338 |
| 6339 final int length; |
| 6340 |
| 6341 String method; |
| 6342 |
| 6343 String name; |
| 6344 |
| 6345 bool noValidate; |
| 6346 |
| 6347 String target; |
| 6348 |
| 6349 bool checkValidity() native; |
| 6350 |
| 6351 void reset() native; |
| 6352 |
| 6353 void submit() native; |
| 6354 } |
| 6355 |
| 6356 class _FrameElementJs extends _ElementJs implements FrameElement native "*HTMLFr
ameElement" { |
| 6357 |
| 6358 final _DocumentJs contentDocument; |
| 6359 |
| 6360 final _WindowJs contentWindow; |
| 6361 |
| 6362 String frameBorder; |
| 6363 |
| 6364 final int height; |
| 6365 |
| 6366 String location; |
| 6367 |
| 6368 String longDesc; |
| 6369 |
| 6370 String marginHeight; |
| 6371 |
| 6372 String marginWidth; |
| 6373 |
| 6374 String name; |
| 6375 |
| 6376 bool noResize; |
| 6377 |
| 6378 String scrolling; |
| 6379 |
| 6380 String src; |
| 6381 |
| 6382 final int width; |
| 6383 |
| 6384 _SVGDocumentJs getSVGDocument() native; |
| 6385 } |
| 6386 |
| 6387 class _FrameSetElementJs extends _ElementJs implements FrameSetElement native "*
HTMLFrameSetElement" { |
| 6388 |
| 6389 String cols; |
| 6390 |
| 6391 String rows; |
| 6392 |
| 6393 _FrameSetElementEventsImpl get on() => |
| 6394 new _FrameSetElementEventsImpl(this); |
| 6395 } |
| 6396 |
| 6397 class _FrameSetElementEventsImpl extends _ElementEventsImpl implements FrameSetE
lementEvents { |
| 6398 _FrameSetElementEventsImpl(_ptr) : super(_ptr); |
| 6399 |
| 6400 EventListenerList get beforeUnload() => _get('beforeunload'); |
| 6401 |
| 6402 EventListenerList get blur() => _get('blur'); |
| 6403 |
| 6404 EventListenerList get error() => _get('error'); |
| 6405 |
| 6406 EventListenerList get focus() => _get('focus'); |
| 6407 |
| 6408 EventListenerList get hashChange() => _get('hashchange'); |
| 6409 |
| 6410 EventListenerList get load() => _get('load'); |
| 6411 |
| 6412 EventListenerList get message() => _get('message'); |
| 6413 |
| 6414 EventListenerList get offline() => _get('offline'); |
| 6415 |
| 6416 EventListenerList get online() => _get('online'); |
| 6417 |
| 6418 EventListenerList get popState() => _get('popstate'); |
| 6419 |
| 6420 EventListenerList get resize() => _get('resize'); |
| 6421 |
| 6422 EventListenerList get storage() => _get('storage'); |
| 6423 |
| 6424 EventListenerList get unload() => _get('unload'); |
| 6425 } |
| 6426 |
| 6427 class _GeolocationJs implements Geolocation native "*Geolocation" { |
| 6428 |
| 6429 void clearWatch(int watchId) native; |
| 6430 |
| 6431 void getCurrentPosition(PositionCallback successCallback, [PositionErrorCallba
ck errorCallback = null]) native; |
| 6432 |
| 6433 int watchPosition(PositionCallback successCallback, [PositionErrorCallback err
orCallback = null]) native; |
| 6434 } |
| 6435 |
| 6436 class _GeopositionJs implements Geoposition native "*Geoposition" { |
| 6437 |
| 6438 final _CoordinatesJs coords; |
| 6439 |
| 6440 final int timestamp; |
| 6441 } |
| 6442 |
| 6443 class _HRElementJs extends _ElementJs implements HRElement native "*HTMLHRElemen
t" { |
| 6444 |
| 6445 String align; |
| 6446 |
| 6447 bool noShade; |
| 6448 |
| 6449 String size; |
| 6450 |
| 6451 String width; |
| 6452 } |
| 6453 |
| 6454 class _HTMLAllCollectionJs implements HTMLAllCollection native "*HTMLAllCollecti
on" { |
| 6455 |
| 6456 final int length; |
| 6457 |
| 6458 _NodeJs item(int index) native; |
| 6459 |
| 6460 _NodeJs namedItem(String name) native; |
| 6461 |
| 6462 _NodeListJs tags(String name) native; |
| 6463 } |
| 6464 |
| 6465 class _HTMLCollectionJs implements HTMLCollection native "*HTMLCollection" { |
| 6466 |
| 6467 final int length; |
| 6468 |
| 6469 _NodeJs operator[](int index) native "return this[index];"; |
| 6470 |
| 6471 void operator[]=(int index, _NodeJs value) { |
| 6472 throw new UnsupportedOperationException("Cannot assign element of immutable
List."); |
| 6473 } |
| 6474 // -- start List<Node> mixins. |
| 6475 // Node is the element type. |
| 6476 |
| 6477 // From Iterable<Node>: |
| 6478 |
| 6479 Iterator<Node> iterator() { |
| 6480 // Note: NodeLists are not fixed size. And most probably length shouldn't |
| 6481 // be cached in both iterator _and_ forEach method. For now caching it |
| 6482 // for consistency. |
| 6483 return new _FixedSizeListIterator<Node>(this); |
| 6484 } |
| 6485 |
| 6486 // From Collection<Node>: |
| 6487 |
| 6488 void add(Node value) { |
| 6489 throw new UnsupportedOperationException("Cannot add to immutable List."); |
| 6490 } |
| 6491 |
| 6492 void addLast(Node value) { |
| 6493 throw new UnsupportedOperationException("Cannot add to immutable List."); |
| 6494 } |
| 6495 |
| 6496 void addAll(Collection<Node> collection) { |
| 6497 throw new UnsupportedOperationException("Cannot add to immutable List."); |
| 6498 } |
| 6499 |
| 6500 void forEach(void f(Node element)) => _Collections.forEach(this, f); |
| 6501 |
| 6502 Collection map(f(Node element)) => _Collections.map(this, [], f); |
| 6503 |
| 6504 Collection<Node> filter(bool f(Node element)) => |
| 6505 _Collections.filter(this, <Node>[], f); |
| 6506 |
| 6507 bool every(bool f(Node element)) => _Collections.every(this, f); |
| 6508 |
| 6509 bool some(bool f(Node element)) => _Collections.some(this, f); |
| 6510 |
| 6511 bool isEmpty() => this.length == 0; |
| 6512 |
| 6513 // From List<Node>: |
| 6514 |
| 6515 void sort(int compare(Node a, Node b)) { |
| 6516 throw new UnsupportedOperationException("Cannot sort immutable List."); |
| 6517 } |
| 6518 |
| 6519 int indexOf(Node element, [int start = 0]) => |
| 6520 _Lists.indexOf(this, element, start, this.length); |
| 6521 |
| 6522 int lastIndexOf(Node element, [int start = 0]) => |
| 6523 _Lists.lastIndexOf(this, element, start); |
| 6524 |
| 6525 Node last() => this[length - 1]; |
| 6526 |
| 6527 // FIXME: implement thesee. |
| 6528 void setRange(int start, int length, List<Node> from, [int startFrom]) { |
| 6529 throw new UnsupportedOperationException("Cannot setRange on immutable List."
); |
| 6530 } |
| 6531 void removeRange(int start, int length) { |
| 6532 throw new UnsupportedOperationException("Cannot removeRange on immutable Lis
t."); |
| 6533 } |
| 6534 void insertRange(int start, int length, [Node initialValue]) { |
| 6535 throw new UnsupportedOperationException("Cannot insertRange on immutable Lis
t."); |
| 6536 } |
| 6537 List<Node> getRange(int start, int length) => |
| 6538 _Lists.getRange(this, start, length, <Node>[]); |
| 6539 |
| 6540 // -- end List<Node> mixins. |
| 6541 |
| 6542 _NodeJs item(int index) native; |
| 6543 |
| 6544 _NodeJs namedItem(String name) native; |
| 6545 } |
| 6546 |
| 6547 class _HTMLOptionsCollectionJs extends _HTMLCollectionJs implements HTMLOptionsC
ollection native "*HTMLOptionsCollection" { |
| 6548 |
| 6549 // Shadowing definition. |
| 6550 int get length() native "return this.length;"; |
| 6551 |
| 6552 void set length(int value) native "this.length = value;"; |
| 6553 |
| 6554 int selectedIndex; |
| 6555 |
| 6556 void remove(int index) native; |
| 6557 } |
| 6558 |
| 6559 class _HashChangeEventJs extends _EventJs implements HashChangeEvent native "*Ha
shChangeEvent" { |
| 6560 |
| 6561 final String newURL; |
| 6562 |
| 6563 final String oldURL; |
| 6564 |
| 6565 void initHashChangeEvent(String type, bool canBubble, bool cancelable, String
oldURL, String newURL) native; |
| 6566 } |
| 6567 |
| 6568 class _HeadElementJs extends _ElementJs implements HeadElement native "*HTMLHead
Element" { |
| 6569 |
| 6570 String profile; |
| 6571 } |
| 6572 |
| 6573 class _HeadingElementJs extends _ElementJs implements HeadingElement native "*HT
MLHeadingElement" { |
| 6574 |
| 6575 String align; |
| 6576 } |
| 6577 |
| 6578 class _HighPass2FilterNodeJs extends _AudioNodeJs implements HighPass2FilterNode
native "*HighPass2FilterNode" { |
| 6579 |
| 6580 final _AudioParamJs cutoff; |
| 6581 |
| 6582 final _AudioParamJs resonance; |
| 6583 } |
| 6584 |
| 6585 class _HistoryJs implements History native "*History" { |
| 6586 |
| 6587 final int length; |
| 6588 |
| 6589 final Dynamic state; |
| 6590 |
| 6591 void back() native; |
| 6592 |
| 6593 void forward() native; |
| 6594 |
| 6595 void go(int distance) native; |
| 6596 |
| 6597 void pushState(Object data, String title, [String url = null]) native; |
| 6598 |
| 6599 void replaceState(Object data, String title, [String url = null]) native; |
| 6600 } |
| 6601 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 6602 // for details. All rights reserved. Use of this source code is governed by a |
| 6603 // BSD-style license that can be found in the LICENSE file. |
| 6604 |
| 6605 class _HtmlElementJs extends _ElementJs implements HtmlElement |
| 6606 native "*IntentionallyInvalid" { |
| 6607 |
| 6608 String manifest; |
| 6609 |
| 6610 String version; |
| 6611 |
| 6612 } |
| 6613 |
| 6614 class _IDBAnyJs implements IDBAny native "*IDBAny" { |
| 6615 } |
| 6616 |
| 6617 class _IDBCursorJs implements IDBCursor native "*IDBCursor" { |
| 6618 |
| 6619 static final int NEXT = 0; |
| 6620 |
| 6621 static final int NEXT_NO_DUPLICATE = 1; |
| 6622 |
| 6623 static final int PREV = 2; |
| 6624 |
| 6625 static final int PREV_NO_DUPLICATE = 3; |
| 6626 |
| 6627 final int direction; |
| 6628 |
| 6629 final _IDBKeyJs key; |
| 6630 |
| 6631 final _IDBKeyJs primaryKey; |
| 6632 |
| 6633 final _IDBAnyJs source; |
| 6634 |
| 6635 void continueFunction([_IDBKeyJs key = null]) native; |
| 6636 |
| 6637 _IDBRequestJs delete() native; |
| 6638 |
| 6639 _IDBRequestJs update(Dynamic value) native; |
| 6640 } |
| 6641 |
| 6642 class _IDBCursorWithValueJs extends _IDBCursorJs implements IDBCursorWithValue n
ative "*IDBCursorWithValue" { |
| 6643 |
| 6644 final _IDBAnyJs value; |
| 6645 } |
| 6646 |
| 6647 class _IDBDatabaseJs implements IDBDatabase native "*IDBDatabase" { |
| 6648 |
| 6649 final String name; |
| 6650 |
| 6651 EventListener onabort; |
| 6652 |
| 6653 EventListener onerror; |
| 6654 |
| 6655 EventListener onversionchange; |
| 6656 |
| 6657 final String version; |
| 6658 |
| 6659 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; |
| 6660 |
| 6661 void close() native; |
| 6662 |
| 6663 _IDBObjectStoreJs createObjectStore(String name) native; |
| 6664 |
| 6665 void deleteObjectStore(String name) native; |
| 6666 |
| 6667 bool dispatchEvent(_EventJs evt) native; |
| 6668 |
| 6669 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; |
| 6670 |
| 6671 _IDBVersionChangeRequestJs setVersion(String version) native; |
| 6672 |
| 6673 _IDBTransactionJs transaction(String storeName, int mode) native; |
| 6674 } |
| 6675 |
| 6676 class _IDBDatabaseErrorJs implements IDBDatabaseError native "*IDBDatabaseError"
{ |
| 6677 |
| 6678 int code; |
| 6679 |
| 6680 String message; |
| 6681 } |
| 6682 |
| 6683 class _IDBDatabaseExceptionJs implements IDBDatabaseException native "*IDBDataba
seException" { |
| 6684 |
| 6685 static final int ABORT_ERR = 8; |
| 6686 |
| 6687 static final int CONSTRAINT_ERR = 4; |
| 6688 |
| 6689 static final int DATA_ERR = 5; |
| 6690 |
| 6691 static final int NON_TRANSIENT_ERR = 2; |
| 6692 |
| 6693 static final int NOT_ALLOWED_ERR = 6; |
| 6694 |
| 6695 static final int NOT_FOUND_ERR = 3; |
| 6696 |
| 6697 static final int NO_ERR = 0; |
| 6698 |
| 6699 static final int QUOTA_ERR = 11; |
| 6700 |
| 6701 static final int READ_ONLY_ERR = 9; |
| 6702 |
| 6703 static final int TIMEOUT_ERR = 10; |
| 6704 |
| 6705 static final int TRANSACTION_INACTIVE_ERR = 7; |
| 6706 |
| 6707 static final int UNKNOWN_ERR = 1; |
| 6708 |
| 6709 static final int VER_ERR = 12; |
| 6710 |
| 6711 final int code; |
| 6712 |
| 6713 final String message; |
| 6714 |
| 6715 final String name; |
| 6716 |
| 6717 String toString() native; |
| 6718 } |
| 6719 |
| 6720 class _IDBFactoryJs implements IDBFactory native "*IDBFactory" { |
| 6721 |
| 6722 int cmp(_IDBKeyJs first, _IDBKeyJs second) native; |
| 6723 |
| 6724 _IDBVersionChangeRequestJs deleteDatabase(String name) native; |
| 6725 |
| 6726 _IDBRequestJs getDatabaseNames() native; |
| 6727 |
| 6728 _IDBRequestJs open(String name) native; |
| 6729 } |
| 6730 |
| 6731 class _IDBIndexJs implements IDBIndex native "*IDBIndex" { |
| 6732 |
| 6733 final String keyPath; |
| 6734 |
| 6735 final bool multiEntry; |
| 6736 |
| 6737 final String name; |
| 6738 |
| 6739 final _IDBObjectStoreJs objectStore; |
| 6740 |
| 6741 final bool unique; |
| 6742 |
| 6743 _IDBRequestJs count([_IDBKeyRangeJs range = null]) native; |
| 6744 |
| 6745 _IDBRequestJs getObject(_IDBKeyJs key) native; |
| 6746 |
| 6747 _IDBRequestJs getKey(_IDBKeyJs key) native; |
| 6748 |
| 6749 _IDBRequestJs openCursor([_IDBKeyRangeJs range = null, int direction = null])
native; |
| 6750 |
| 6751 _IDBRequestJs openKeyCursor([_IDBKeyRangeJs range = null, int direction = null
]) native; |
| 6752 } |
| 6753 |
| 6754 class _IDBKeyJs implements IDBKey native "*IDBKey" { |
| 6755 } |
| 6756 |
| 6757 class _IDBKeyRangeJs implements IDBKeyRange native "*IDBKeyRange" { |
| 6758 |
| 6759 final _IDBKeyJs lower; |
| 6760 |
| 6761 final bool lowerOpen; |
| 6762 |
| 6763 final _IDBKeyJs upper; |
| 6764 |
| 6765 final bool upperOpen; |
| 6766 |
| 6767 _IDBKeyRangeJs bound(_IDBKeyJs lower, _IDBKeyJs upper, [bool lowerOpen = null,
bool upperOpen = null]) native; |
| 6768 |
| 6769 _IDBKeyRangeJs lowerBound(_IDBKeyJs bound, [bool open = null]) native; |
| 6770 |
| 6771 _IDBKeyRangeJs only(_IDBKeyJs value) native; |
| 6772 |
| 6773 _IDBKeyRangeJs upperBound(_IDBKeyJs bound, [bool open = null]) native; |
| 6774 } |
| 6775 |
| 6776 class _IDBObjectStoreJs implements IDBObjectStore native "*IDBObjectStore" { |
| 6777 |
| 6778 final String keyPath; |
| 6779 |
| 6780 final String name; |
| 6781 |
| 6782 final _IDBTransactionJs transaction; |
| 6783 |
| 6784 _IDBRequestJs add(Dynamic value, [_IDBKeyJs key = null]) native; |
| 6785 |
| 6786 _IDBRequestJs clear() native; |
| 6787 |
| 6788 _IDBRequestJs count([_IDBKeyRangeJs range = null]) native; |
| 6789 |
| 6790 _IDBIndexJs createIndex(String name, String keyPath) native; |
| 6791 |
| 6792 _IDBRequestJs delete(_IDBKeyJs key) native; |
| 6793 |
| 6794 void deleteIndex(String name) native; |
| 6795 |
| 6796 _IDBRequestJs getObject(_IDBKeyJs key) native; |
| 6797 |
| 6798 _IDBIndexJs index(String name) native; |
| 6799 |
| 6800 _IDBRequestJs openCursor([_IDBKeyRangeJs range = null, int direction = null])
native; |
| 6801 |
| 6802 _IDBRequestJs put(Dynamic value, [_IDBKeyJs key = null]) native; |
| 6803 } |
| 6804 |
| 6805 class _IDBRequestJs implements IDBRequest native "*IDBRequest" { |
| 6806 |
| 6807 static final int DONE = 2; |
| 6808 |
| 6809 static final int LOADING = 1; |
| 6810 |
| 6811 final int errorCode; |
| 6812 |
| 6813 EventListener onerror; |
| 6814 |
| 6815 EventListener onsuccess; |
| 6816 |
| 6817 final int readyState; |
| 6818 |
| 6819 final _IDBAnyJs result; |
| 6820 |
| 6821 final _IDBAnyJs source; |
| 6822 |
| 6823 final _IDBTransactionJs transaction; |
| 6824 |
| 6825 final String webkitErrorMessage; |
| 6826 |
| 6827 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; |
| 6828 |
| 6829 bool dispatchEvent(_EventJs evt) native; |
| 6830 |
| 6831 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; |
| 6832 } |
| 6833 |
| 6834 class _IDBTransactionJs implements IDBTransaction native "*IDBTransaction" { |
| 6835 |
| 6836 static final int READ_ONLY = 0; |
| 6837 |
| 6838 static final int READ_WRITE = 1; |
| 6839 |
| 6840 static final int VERSION_CHANGE = 2; |
| 6841 |
| 6842 final _IDBDatabaseJs db; |
| 6843 |
| 6844 final int mode; |
| 6845 |
| 6846 EventListener onabort; |
| 6847 |
| 6848 EventListener oncomplete; |
| 6849 |
| 6850 EventListener onerror; |
| 6851 |
| 6852 void abort() native; |
| 6853 |
| 6854 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; |
| 6855 |
| 6856 bool dispatchEvent(_EventJs evt) native; |
| 6857 |
| 6858 _IDBObjectStoreJs objectStore(String name) native; |
| 6859 |
| 6860 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; |
| 6861 } |
| 6862 |
| 6863 class _IDBVersionChangeEventJs extends _EventJs implements IDBVersionChangeEvent
native "*IDBVersionChangeEvent" { |
| 6864 |
| 6865 final String version; |
| 6866 } |
| 6867 |
| 6868 class _IDBVersionChangeRequestJs extends _IDBRequestJs implements IDBVersionChan
geRequest native "*IDBVersionChangeRequest" { |
| 6869 |
| 6870 EventListener onblocked; |
| 6871 } |
| 6872 |
| 6873 class _IFrameElementJs extends _ElementJs implements IFrameElement native "*HTML
IFrameElement" { |
| 6874 |
| 6875 String align; |
| 6876 |
| 6877 final _DocumentJs contentDocument; |
| 6878 |
| 6879 final _WindowJs contentWindow; |
| 6880 |
| 6881 String frameBorder; |
| 6882 |
| 6883 String height; |
| 6884 |
| 6885 String longDesc; |
| 6886 |
| 6887 String marginHeight; |
| 6888 |
| 6889 String marginWidth; |
| 6890 |
| 6891 String name; |
| 6892 |
| 6893 String sandbox; |
| 6894 |
| 6895 String scrolling; |
| 6896 |
| 6897 String src; |
| 6898 |
| 6899 String width; |
| 6900 |
| 6901 _SVGDocumentJs getSVGDocument() native; |
| 6902 } |
| 6903 |
| 6904 class _ImageDataJs implements ImageData native "*ImageData" { |
| 6905 |
| 6906 final _CanvasPixelArrayJs data; |
| 6907 |
| 6908 final int height; |
| 6909 |
| 6910 final int width; |
| 6911 } |
| 6912 |
| 6913 class _ImageElementJs extends _ElementJs implements ImageElement native "*HTMLIm
ageElement" { |
| 6914 |
| 6915 String align; |
| 6916 |
| 6917 String alt; |
| 6918 |
| 6919 String border; |
| 6920 |
| 6921 final bool complete; |
| 6922 |
| 6923 String crossOrigin; |
| 6924 |
| 6925 int height; |
| 6926 |
| 6927 int hspace; |
| 6928 |
| 6929 bool isMap; |
| 6930 |
| 6931 String longDesc; |
| 6932 |
| 6933 String lowsrc; |
| 6934 |
| 6935 String name; |
| 6936 |
| 6937 final int naturalHeight; |
| 6938 |
| 6939 final int naturalWidth; |
| 6940 |
| 6941 String src; |
| 6942 |
| 6943 String useMap; |
| 6944 |
| 6945 int vspace; |
| 6946 |
| 6947 int width; |
| 6948 |
| 6949 final int x; |
| 6950 |
| 6951 final int y; |
| 6952 } |
| 6953 |
| 6954 class _InputElementJs extends _ElementJs implements InputElement native "*HTMLIn
putElement" { |
| 6955 |
| 6956 String accept; |
| 6957 |
| 6958 String align; |
| 6959 |
| 6960 String alt; |
| 6961 |
| 6962 String autocomplete; |
| 6963 |
| 6964 bool autofocus; |
| 6965 |
| 6966 bool checked; |
| 6967 |
| 6968 bool defaultChecked; |
| 6969 |
| 6970 String defaultValue; |
| 6971 |
| 6972 bool disabled; |
| 6973 |
| 6974 final _FileListJs files; |
| 6975 |
| 6976 final _FormElementJs form; |
| 6977 |
| 6978 String formAction; |
| 6979 |
| 6980 String formEnctype; |
| 6981 |
| 6982 String formMethod; |
| 6983 |
| 6984 bool formNoValidate; |
| 6985 |
| 6986 String formTarget; |
| 6987 |
| 6988 bool incremental; |
| 6989 |
| 6990 bool indeterminate; |
| 6991 |
| 6992 final _NodeListJs labels; |
| 6993 |
| 6994 String max; |
| 6995 |
| 6996 int maxLength; |
| 6997 |
| 6998 String min; |
| 6999 |
| 7000 bool multiple; |
| 7001 |
| 7002 String name; |
| 7003 |
| 7004 String pattern; |
| 7005 |
| 7006 String placeholder; |
| 7007 |
| 7008 bool readOnly; |
| 7009 |
| 7010 bool required; |
| 7011 |
| 7012 String selectionDirection; |
| 7013 |
| 7014 int selectionEnd; |
| 7015 |
| 7016 int selectionStart; |
| 7017 |
| 7018 int size; |
| 7019 |
| 7020 String src; |
| 7021 |
| 7022 String step; |
| 7023 |
| 7024 String type; |
| 7025 |
| 7026 String useMap; |
| 7027 |
| 7028 final String validationMessage; |
| 7029 |
| 7030 final _ValidityStateJs validity; |
| 7031 |
| 7032 String value; |
| 7033 |
| 7034 Date valueAsDate; |
| 7035 |
| 7036 num valueAsNumber; |
| 7037 |
| 7038 bool webkitGrammar; |
| 7039 |
| 7040 bool webkitSpeech; |
| 7041 |
| 7042 bool webkitdirectory; |
| 7043 |
| 7044 final bool willValidate; |
| 7045 |
| 7046 _InputElementEventsImpl get on() => |
| 7047 new _InputElementEventsImpl(this); |
| 7048 |
| 7049 bool checkValidity() native; |
| 7050 |
| 7051 void select() native; |
| 7052 |
| 7053 void setCustomValidity(String error) native; |
| 7054 |
| 7055 void setSelectionRange(int start, int end, [String direction = null]) native; |
| 7056 |
| 7057 void stepDown([int n = null]) native; |
| 7058 |
| 7059 void stepUp([int n = null]) native; |
| 7060 } |
| 7061 |
| 7062 class _InputElementEventsImpl extends _ElementEventsImpl implements InputElement
Events { |
| 7063 _InputElementEventsImpl(_ptr) : super(_ptr); |
| 7064 |
| 7065 EventListenerList get speechChange() => _get('webkitSpeechChange'); |
| 7066 } |
| 7067 |
| 7068 class _Int16ArrayJs extends _ArrayBufferViewJs implements Int16Array, List<int>
native "*Int16Array" { |
| 7069 |
| 7070 factory Int16Array(int length) => _construct_Int16Array(length); |
| 7071 |
| 7072 factory Int16Array.fromList(List<int> list) => _construct_Int16Array(list); |
| 7073 |
| 7074 factory Int16Array.fromBuffer(ArrayBuffer buffer) => _construct_Int16Array(buf
fer); |
| 7075 |
| 7076 static _construct_Int16Array(arg) native 'return new Int16Array(arg);'; |
| 7077 |
| 7078 static final int BYTES_PER_ELEMENT = 2; |
| 7079 |
| 7080 final int length; |
| 7081 |
| 7082 int operator[](int index) native "return this[index];"; |
| 7083 |
| 7084 void operator[]=(int index, int value) native "this[index] = value"; |
| 7085 // -- start List<int> mixins. |
| 7086 // int is the element type. |
| 7087 |
| 7088 // From Iterable<int>: |
| 7089 |
| 7090 Iterator<int> iterator() { |
| 7091 // Note: NodeLists are not fixed size. And most probably length shouldn't |
| 7092 // be cached in both iterator _and_ forEach method. For now caching it |
| 7093 // for consistency. |
| 7094 return new _FixedSizeListIterator<int>(this); |
| 7095 } |
| 7096 |
| 7097 // From Collection<int>: |
| 7098 |
| 7099 void add(int value) { |
| 7100 throw new UnsupportedOperationException("Cannot add to immutable List."); |
| 7101 } |
| 7102 |
| 7103 void addLast(int value) { |
| 7104 throw new UnsupportedOperationException("Cannot add to immutable List."); |
| 7105 } |
| 7106 |
| 7107 void addAll(Collection<int> collection) { |
| 7108 throw new UnsupportedOperationException("Cannot add to immutable List."); |
| 7109 } |
| 7110 |
| 7111 void forEach(void f(int element)) => _Collections.forEach(this, f); |
| 7112 |
| 7113 Collection map(f(int element)) => _Collections.map(this, [], f); |
| 7114 |
| 7115 Collection<int> filter(bool f(int element)) => |
| 7116 _Collections.filter(this, <int>[], f); |
| 7117 |
| 7118 bool every(bool f(int element)) => _Collections.every(this, f); |
| 7119 |
| 7120 bool some(bool f(int element)) => _Collections.some(this, f); |
| 7121 |
| 7122 bool isEmpty() => this.length == 0; |
| 7123 |
| 7124 // From List<int>: |
| 7125 |
| 7126 void sort(int compare(int a, int b)) { |
| 7127 throw new UnsupportedOperationException("Cannot sort immutable List."); |
| 7128 } |
| 7129 |
| 7130 int indexOf(int element, [int start = 0]) => |
| 7131 _Lists.indexOf(this, element, start, this.length); |
| 7132 |
| 7133 int lastIndexOf(int element, [int start = 0]) => |
| 7134 _Lists.lastIndexOf(this, element, start); |
| 7135 |
| 7136 int last() => this[length - 1]; |
| 7137 |
| 7138 // FIXME: implement thesee. |
| 7139 void setRange(int start, int length, List<int> from, [int startFrom]) { |
| 7140 throw new UnsupportedOperationException("Cannot setRange on immutable List."
); |
| 7141 } |
| 7142 void removeRange(int start, int length) { |
| 7143 throw new UnsupportedOperationException("Cannot removeRange on immutable Lis
t."); |
| 7144 } |
| 7145 void insertRange(int start, int length, [int initialValue]) { |
| 7146 throw new UnsupportedOperationException("Cannot insertRange on immutable Lis
t."); |
| 7147 } |
| 7148 List<int> getRange(int start, int length) => |
| 7149 _Lists.getRange(this, start, length, <int>[]); |
| 7150 |
| 7151 // -- end List<int> mixins. |
| 7152 |
| 7153 void setElements(Object array, [int offset = null]) native; |
| 7154 |
| 7155 _Int16ArrayJs subarray(int start, [int end = null]) native; |
| 7156 } |
| 7157 |
| 7158 class _Int32ArrayJs extends _ArrayBufferViewJs implements Int32Array, List<int>
native "*Int32Array" { |
| 7159 |
| 7160 factory Int32Array(int length) => _construct_Int32Array(length); |
| 7161 |
| 7162 factory Int32Array.fromList(List<int> list) => _construct_Int32Array(list); |
| 7163 |
| 7164 factory Int32Array.fromBuffer(ArrayBuffer buffer) => _construct_Int32Array(buf
fer); |
| 7165 |
| 7166 static _construct_Int32Array(arg) native 'return new Int32Array(arg);'; |
| 7167 |
| 7168 static final int BYTES_PER_ELEMENT = 4; |
| 7169 |
| 7170 final int length; |
| 7171 |
| 7172 int operator[](int index) native "return this[index];"; |
| 7173 |
| 7174 void operator[]=(int index, int value) native "this[index] = value"; |
| 7175 // -- start List<int> mixins. |
| 7176 // int is the element type. |
| 7177 |
| 7178 // From Iterable<int>: |
| 7179 |
| 7180 Iterator<int> iterator() { |
| 7181 // Note: NodeLists are not fixed size. And most probably length shouldn't |
| 7182 // be cached in both iterator _and_ forEach method. For now caching it |
| 7183 // for consistency. |
| 7184 return new _FixedSizeListIterator<int>(this); |
| 7185 } |
| 7186 |
| 7187 // From Collection<int>: |
| 7188 |
| 7189 void add(int value) { |
| 7190 throw new UnsupportedOperationException("Cannot add to immutable List."); |
| 7191 } |
| 7192 |
| 7193 void addLast(int value) { |
| 7194 throw new UnsupportedOperationException("Cannot add to immutable List."); |
| 7195 } |
| 7196 |
| 7197 void addAll(Collection<int> collection) { |
| 7198 throw new UnsupportedOperationException("Cannot add to immutable List."); |
| 7199 } |
| 7200 |
| 7201 void forEach(void f(int element)) => _Collections.forEach(this, f); |
| 7202 |
| 7203 Collection map(f(int element)) => _Collections.map(this, [], f); |
| 7204 |
| 7205 Collection<int> filter(bool f(int element)) => |
| 7206 _Collections.filter(this, <int>[], f); |
| 7207 |
| 7208 bool every(bool f(int element)) => _Collections.every(this, f); |
| 7209 |
| 7210 bool some(bool f(int element)) => _Collections.some(this, f); |
| 7211 |
| 7212 bool isEmpty() => this.length == 0; |
| 7213 |
| 7214 // From List<int>: |
| 7215 |
| 7216 void sort(int compare(int a, int b)) { |
| 7217 throw new UnsupportedOperationException("Cannot sort immutable List."); |
| 7218 } |
| 7219 |
| 7220 int indexOf(int element, [int start = 0]) => |
| 7221 _Lists.indexOf(this, element, start, this.length); |
| 7222 |
| 7223 int lastIndexOf(int element, [int start = 0]) => |
| 7224 _Lists.lastIndexOf(this, element, start); |
| 7225 |
| 7226 int last() => this[length - 1]; |
| 7227 |
| 7228 // FIXME: implement thesee. |
| 7229 void setRange(int start, int length, List<int> from, [int startFrom]) { |
| 7230 throw new UnsupportedOperationException("Cannot setRange on immutable List."
); |
| 7231 } |
| 7232 void removeRange(int start, int length) { |
| 7233 throw new UnsupportedOperationException("Cannot removeRange on immutable Lis
t."); |
| 7234 } |
| 7235 void insertRange(int start, int length, [int initialValue]) { |
| 7236 throw new UnsupportedOperationException("Cannot insertRange on immutable Lis
t."); |
| 7237 } |
| 7238 List<int> getRange(int start, int length) => |
| 7239 _Lists.getRange(this, start, length, <int>[]); |
| 7240 |
| 7241 // -- end List<int> mixins. |
| 7242 |
| 7243 void setElements(Object array, [int offset = null]) native; |
| 7244 |
| 7245 _Int32ArrayJs subarray(int start, [int end = null]) native; |
| 7246 } |
| 7247 |
| 7248 class _Int8ArrayJs extends _ArrayBufferViewJs implements Int8Array, List<int> na
tive "*Int8Array" { |
| 7249 |
| 7250 factory Int8Array(int length) => _construct_Int8Array(length); |
| 7251 |
| 7252 factory Int8Array.fromList(List<int> list) => _construct_Int8Array(list); |
| 7253 |
| 7254 factory Int8Array.fromBuffer(ArrayBuffer buffer) => _construct_Int8Array(buffe
r); |
| 7255 |
| 7256 static _construct_Int8Array(arg) native 'return new Int8Array(arg);'; |
| 7257 |
| 7258 static final int BYTES_PER_ELEMENT = 1; |
| 7259 |
| 7260 final int length; |
| 7261 |
| 7262 int operator[](int index) native "return this[index];"; |
| 7263 |
| 7264 void operator[]=(int index, int value) native "this[index] = value"; |
| 7265 // -- start List<int> mixins. |
| 7266 // int is the element type. |
| 7267 |
| 7268 // From Iterable<int>: |
| 7269 |
| 7270 Iterator<int> iterator() { |
| 7271 // Note: NodeLists are not fixed size. And most probably length shouldn't |
| 7272 // be cached in both iterator _and_ forEach method. For now caching it |
| 7273 // for consistency. |
| 7274 return new _FixedSizeListIterator<int>(this); |
| 7275 } |
| 7276 |
| 7277 // From Collection<int>: |
| 7278 |
| 7279 void add(int value) { |
| 7280 throw new UnsupportedOperationException("Cannot add to immutable List."); |
| 7281 } |
| 7282 |
| 7283 void addLast(int value) { |
| 7284 throw new UnsupportedOperationException("Cannot add to immutable List."); |
| 7285 } |
| 7286 |
| 7287 void addAll(Collection<int> collection) { |
| 7288 throw new UnsupportedOperationException("Cannot add to immutable List."); |
| 7289 } |
| 7290 |
| 7291 void forEach(void f(int element)) => _Collections.forEach(this, f); |
| 7292 |
| 7293 Collection map(f(int element)) => _Collections.map(this, [], f); |
| 7294 |
| 7295 Collection<int> filter(bool f(int element)) => |
| 7296 _Collections.filter(this, <int>[], f); |
| 7297 |
| 7298 bool every(bool f(int element)) => _Collections.every(this, f); |
| 7299 |
| 7300 bool some(bool f(int element)) => _Collections.some(this, f); |
| 7301 |
| 7302 bool isEmpty() => this.length == 0; |
| 7303 |
| 7304 // From List<int>: |
| 7305 |
| 7306 void sort(int compare(int a, int b)) { |
| 7307 throw new UnsupportedOperationException("Cannot sort immutable List."); |
| 7308 } |
| 7309 |
| 7310 int indexOf(int element, [int start = 0]) => |
| 7311 _Lists.indexOf(this, element, start, this.length); |
| 7312 |
| 7313 int lastIndexOf(int element, [int start = 0]) => |
| 7314 _Lists.lastIndexOf(this, element, start); |
| 7315 |
| 7316 int last() => this[length - 1]; |
| 7317 |
| 7318 // FIXME: implement thesee. |
| 7319 void setRange(int start, int length, List<int> from, [int startFrom]) { |
| 7320 throw new UnsupportedOperationException("Cannot setRange on immutable List."
); |
| 7321 } |
| 7322 void removeRange(int start, int length) { |
| 7323 throw new UnsupportedOperationException("Cannot removeRange on immutable Lis
t."); |
| 7324 } |
| 7325 void insertRange(int start, int length, [int initialValue]) { |
| 7326 throw new UnsupportedOperationException("Cannot insertRange on immutable Lis
t."); |
| 7327 } |
| 7328 List<int> getRange(int start, int length) => |
| 7329 _Lists.getRange(this, start, length, <int>[]); |
| 7330 |
| 7331 // -- end List<int> mixins. |
| 7332 |
| 7333 void setElements(Object array, [int offset = null]) native; |
| 7334 |
| 7335 _Int8ArrayJs subarray(int start, [int end = null]) native; |
| 7336 } |
| 7337 |
| 7338 class _JavaScriptAudioNodeJs extends _AudioNodeJs implements JavaScriptAudioNode
native "*JavaScriptAudioNode" { |
| 7339 |
| 7340 final int bufferSize; |
| 7341 |
| 7342 EventListener onaudioprocess; |
| 7343 } |
| 7344 |
| 7345 class _JavaScriptCallFrameJs implements JavaScriptCallFrame native "*JavaScriptC
allFrame" { |
| 7346 |
| 7347 static final int CATCH_SCOPE = 4; |
| 7348 |
| 7349 static final int CLOSURE_SCOPE = 3; |
| 7350 |
| 7351 static final int GLOBAL_SCOPE = 0; |
| 7352 |
| 7353 static final int LOCAL_SCOPE = 1; |
| 7354 |
| 7355 static final int WITH_SCOPE = 2; |
| 7356 |
| 7357 final _JavaScriptCallFrameJs caller; |
| 7358 |
| 7359 final int column; |
| 7360 |
| 7361 final String functionName; |
| 7362 |
| 7363 final int line; |
| 7364 |
| 7365 final List scopeChain; |
| 7366 |
| 7367 final int sourceID; |
| 7368 |
| 7369 final Object thisObject; |
| 7370 |
| 7371 final String type; |
| 7372 |
| 7373 void evaluate(String script) native; |
| 7374 |
| 7375 int scopeType(int scopeIndex) native; |
| 7376 } |
| 7377 |
| 7378 class _KeyboardEventJs extends _UIEventJs implements KeyboardEvent native "*Keyb
oardEvent" { |
| 7379 |
| 7380 final bool altGraphKey; |
| 7381 |
| 7382 final bool altKey; |
| 7383 |
| 7384 final bool ctrlKey; |
| 7385 |
| 7386 final String keyIdentifier; |
| 7387 |
| 7388 final int keyLocation; |
| 7389 |
| 7390 final bool metaKey; |
| 7391 |
| 7392 final bool shiftKey; |
| 7393 |
| 7394 void initKeyboardEvent(String type, bool canBubble, bool cancelable, _WindowJs
view, String keyIdentifier, int keyLocation, bool ctrlKey, bool altKey, bool sh
iftKey, bool metaKey, bool altGraphKey) native; |
| 7395 } |
| 7396 |
| 7397 class _KeygenElementJs extends _ElementJs implements KeygenElement native "*HTML
KeygenElement" { |
| 7398 |
| 7399 bool autofocus; |
| 7400 |
| 7401 String challenge; |
| 7402 |
| 7403 bool disabled; |
| 7404 |
| 7405 final _FormElementJs form; |
| 7406 |
| 7407 String keytype; |
| 7408 |
| 7409 final _NodeListJs labels; |
| 7410 |
| 7411 String name; |
| 7412 |
| 7413 final String type; |
| 7414 |
| 7415 final String validationMessage; |
| 7416 |
| 7417 final _ValidityStateJs validity; |
| 7418 |
| 7419 final bool willValidate; |
| 7420 |
| 7421 bool checkValidity() native; |
| 7422 |
| 7423 void setCustomValidity(String error) native; |
| 7424 } |
| 7425 |
| 7426 class _LIElementJs extends _ElementJs implements LIElement native "*HTMLLIElemen
t" { |
| 7427 |
| 7428 String type; |
| 7429 |
| 7430 int value; |
| 7431 } |
| 7432 |
| 7433 class _LabelElementJs extends _ElementJs implements LabelElement native "*HTMLLa
belElement" { |
| 7434 |
| 7435 final _ElementJs control; |
| 7436 |
| 7437 final _FormElementJs form; |
| 7438 |
| 7439 String htmlFor; |
| 7440 } |
| 7441 |
| 7442 class _LegendElementJs extends _ElementJs implements LegendElement native "*HTML
LegendElement" { |
| 7443 |
| 7444 String align; |
| 7445 |
| 7446 final _FormElementJs form; |
| 7447 } |
| 7448 |
| 7449 class _LinkElementJs extends _ElementJs implements LinkElement native "*HTMLLink
Element" { |
| 7450 |
| 7451 String charset; |
| 7452 |
| 7453 bool disabled; |
| 7454 |
| 7455 String href; |
| 7456 |
| 7457 String hreflang; |
| 7458 |
| 7459 String media; |
| 7460 |
| 7461 String rel; |
| 7462 |
| 7463 String rev; |
| 7464 |
| 7465 final _StyleSheetJs sheet; |
| 7466 |
| 7467 _DOMSettableTokenListJs sizes; |
| 7468 |
| 7469 String target; |
| 7470 |
| 7471 String type; |
| 7472 } |
| 7473 |
| 7474 class _LocalMediaStreamJs extends _MediaStreamJs implements LocalMediaStream nat
ive "*LocalMediaStream" { |
| 7475 |
| 7476 void stop() native; |
| 7477 } |
| 7478 |
| 7479 class _LocationJs implements Location native "*Location" { |
| 7480 |
| 7481 String hash; |
| 7482 |
| 7483 String host; |
| 7484 |
| 7485 String hostname; |
| 7486 |
| 7487 String href; |
| 7488 |
| 7489 final String origin; |
| 7490 |
| 7491 String pathname; |
| 7492 |
| 7493 String port; |
| 7494 |
| 7495 String protocol; |
| 7496 |
| 7497 String search; |
| 7498 |
| 7499 void assign(String url) native; |
| 7500 |
| 7501 void reload() native; |
| 7502 |
| 7503 void replace(String url) native; |
| 7504 |
| 7505 String toString() native; |
| 7506 } |
| 7507 |
| 7508 class _LowPass2FilterNodeJs extends _AudioNodeJs implements LowPass2FilterNode n
ative "*LowPass2FilterNode" { |
| 7509 |
| 7510 final _AudioParamJs cutoff; |
| 7511 |
| 7512 final _AudioParamJs resonance; |
| 7513 } |
| 7514 |
| 7515 class _MapElementJs extends _ElementJs implements MapElement native "*HTMLMapEle
ment" { |
| 7516 |
| 7517 final _HTMLCollectionJs areas; |
| 7518 |
| 7519 String name; |
| 7520 } |
| 7521 |
| 7522 class _MarqueeElementJs extends _ElementJs implements MarqueeElement native "*HT
MLMarqueeElement" { |
| 7523 |
| 7524 String behavior; |
| 7525 |
| 7526 String bgColor; |
| 7527 |
| 7528 String direction; |
| 7529 |
| 7530 String height; |
| 7531 |
| 7532 int hspace; |
| 7533 |
| 7534 int loop; |
| 7535 |
| 7536 int scrollAmount; |
| 7537 |
| 7538 int scrollDelay; |
| 7539 |
| 7540 bool trueSpeed; |
| 7541 |
| 7542 int vspace; |
| 7543 |
| 7544 String width; |
| 7545 |
| 7546 void start() native; |
| 7547 |
| 7548 void stop() native; |
| 7549 } |
| 7550 |
| 7551 class _MediaControllerJs implements MediaController native "*MediaController" { |
| 7552 |
| 7553 final _TimeRangesJs buffered; |
| 7554 |
| 7555 num currentTime; |
| 7556 |
| 7557 num defaultPlaybackRate; |
| 7558 |
| 7559 final num duration; |
| 7560 |
| 7561 bool muted; |
| 7562 |
| 7563 final bool paused; |
| 7564 |
| 7565 num playbackRate; |
| 7566 |
| 7567 final _TimeRangesJs played; |
| 7568 |
| 7569 final _TimeRangesJs seekable; |
| 7570 |
| 7571 num volume; |
| 7572 |
| 7573 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; |
| 7574 |
| 7575 bool dispatchEvent(_EventJs evt) native; |
| 7576 |
| 7577 void pause() native; |
| 7578 |
| 7579 void play() native; |
| 7580 |
| 7581 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; |
| 7582 } |
| 7583 |
| 7584 class _MediaElementJs extends _ElementJs implements MediaElement native "*HTMLMe
diaElement" { |
| 7585 |
| 7586 static final int EOS_DECODE_ERR = 2; |
| 7587 |
| 7588 static final int EOS_NETWORK_ERR = 1; |
| 7589 |
| 7590 static final int EOS_NO_ERROR = 0; |
| 7591 |
| 7592 static final int HAVE_CURRENT_DATA = 2; |
| 7593 |
| 7594 static final int HAVE_ENOUGH_DATA = 4; |
| 7595 |
| 7596 static final int HAVE_FUTURE_DATA = 3; |
| 7597 |
| 7598 static final int HAVE_METADATA = 1; |
| 7599 |
| 7600 static final int HAVE_NOTHING = 0; |
| 7601 |
| 7602 static final int NETWORK_EMPTY = 0; |
| 7603 |
| 7604 static final int NETWORK_IDLE = 1; |
| 7605 |
| 7606 static final int NETWORK_LOADING = 2; |
| 7607 |
| 7608 static final int NETWORK_NO_SOURCE = 3; |
| 7609 |
| 7610 static final int SOURCE_CLOSED = 0; |
| 7611 |
| 7612 static final int SOURCE_ENDED = 2; |
| 7613 |
| 7614 static final int SOURCE_OPEN = 1; |
| 7615 |
| 7616 bool autoplay; |
| 7617 |
| 7618 final _TimeRangesJs buffered; |
| 7619 |
| 7620 _MediaControllerJs controller; |
| 7621 |
| 7622 bool controls; |
| 7623 |
| 7624 final String currentSrc; |
| 7625 |
| 7626 num currentTime; |
| 7627 |
| 7628 bool defaultMuted; |
| 7629 |
| 7630 num defaultPlaybackRate; |
| 7631 |
| 7632 final num duration; |
| 7633 |
| 7634 final bool ended; |
| 7635 |
| 7636 final _MediaErrorJs error; |
| 7637 |
| 7638 final num initialTime; |
| 7639 |
| 7640 bool loop; |
| 7641 |
| 7642 String mediaGroup; |
| 7643 |
| 7644 bool muted; |
| 7645 |
| 7646 final int networkState; |
| 7647 |
| 7648 final bool paused; |
| 7649 |
| 7650 num playbackRate; |
| 7651 |
| 7652 final _TimeRangesJs played; |
| 7653 |
| 7654 String preload; |
| 7655 |
| 7656 final int readyState; |
| 7657 |
| 7658 final _TimeRangesJs seekable; |
| 7659 |
| 7660 final bool seeking; |
| 7661 |
| 7662 String src; |
| 7663 |
| 7664 final num startTime; |
| 7665 |
| 7666 final _TextTrackListJs textTracks; |
| 7667 |
| 7668 num volume; |
| 7669 |
| 7670 final int webkitAudioDecodedByteCount; |
| 7671 |
| 7672 bool webkitClosedCaptionsVisible; |
| 7673 |
| 7674 final bool webkitHasClosedCaptions; |
| 7675 |
| 7676 final String webkitMediaSourceURL; |
| 7677 |
| 7678 bool webkitPreservesPitch; |
| 7679 |
| 7680 final int webkitSourceState; |
| 7681 |
| 7682 final int webkitVideoDecodedByteCount; |
| 7683 |
| 7684 _TextTrackJs addTextTrack(String kind, [String label = null, String language =
null]) native; |
| 7685 |
| 7686 String canPlayType(String type) native; |
| 7687 |
| 7688 void load() native; |
| 7689 |
| 7690 void pause() native; |
| 7691 |
| 7692 void play() native; |
| 7693 |
| 7694 void webkitSourceAppend(_Uint8ArrayJs data) native; |
| 7695 |
| 7696 void webkitSourceEndOfStream(int status) native; |
| 7697 } |
| 7698 |
| 7699 class _MediaElementAudioSourceNodeJs extends _AudioSourceNodeJs implements Media
ElementAudioSourceNode native "*MediaElementAudioSourceNode" { |
| 7700 |
| 7701 final _MediaElementJs mediaElement; |
| 7702 } |
| 7703 |
| 7704 class _MediaErrorJs implements MediaError native "*MediaError" { |
| 7705 |
| 7706 static final int MEDIA_ERR_ABORTED = 1; |
| 7707 |
| 7708 static final int MEDIA_ERR_DECODE = 3; |
| 7709 |
| 7710 static final int MEDIA_ERR_NETWORK = 2; |
| 7711 |
| 7712 static final int MEDIA_ERR_SRC_NOT_SUPPORTED = 4; |
| 7713 |
| 7714 final int code; |
| 7715 } |
| 7716 |
| 7717 class _MediaListJs implements MediaList native "*MediaList" { |
| 7718 |
| 7719 final int length; |
| 7720 |
| 7721 String mediaText; |
| 7722 |
| 7723 String operator[](int index) native "return this[index];"; |
| 7724 |
| 7725 void operator[]=(int index, String value) { |
| 7726 throw new UnsupportedOperationException("Cannot assign element of immutable
List."); |
| 7727 } |
| 7728 // -- start List<String> mixins. |
| 7729 // String is the element type. |
| 7730 |
| 7731 // From Iterable<String>: |
| 7732 |
| 7733 Iterator<String> iterator() { |
| 7734 // Note: NodeLists are not fixed size. And most probably length shouldn't |
| 7735 // be cached in both iterator _and_ forEach method. For now caching it |
| 7736 // for consistency. |
| 7737 return new _FixedSizeListIterator<String>(this); |
| 7738 } |
| 7739 |
| 7740 // From Collection<String>: |
| 7741 |
| 7742 void add(String value) { |
| 7743 throw new UnsupportedOperationException("Cannot add to immutable List."); |
| 7744 } |
| 7745 |
| 7746 void addLast(String value) { |
| 7747 throw new UnsupportedOperationException("Cannot add to immutable List."); |
| 7748 } |
| 7749 |
| 7750 void addAll(Collection<String> collection) { |
| 7751 throw new UnsupportedOperationException("Cannot add to immutable List."); |
| 7752 } |
| 7753 |
| 7754 void forEach(void f(String element)) => _Collections.forEach(this, f); |
| 7755 |
| 7756 Collection map(f(String element)) => _Collections.map(this, [], f); |
| 7757 |
| 7758 Collection<String> filter(bool f(String element)) => |
| 7759 _Collections.filter(this, <String>[], f); |
| 7760 |
| 7761 bool every(bool f(String element)) => _Collections.every(this, f); |
| 7762 |
| 7763 bool some(bool f(String element)) => _Collections.some(this, f); |
| 7764 |
| 7765 bool isEmpty() => this.length == 0; |
| 7766 |
| 7767 // From List<String>: |
| 7768 |
| 7769 void sort(int compare(String a, String b)) { |
| 7770 throw new UnsupportedOperationException("Cannot sort immutable List."); |
| 7771 } |
| 7772 |
| 7773 int indexOf(String element, [int start = 0]) => |
| 7774 _Lists.indexOf(this, element, start, this.length); |
| 7775 |
| 7776 int lastIndexOf(String element, [int start = 0]) => |
| 7777 _Lists.lastIndexOf(this, element, start); |
| 7778 |
| 7779 String last() => this[length - 1]; |
| 7780 |
| 7781 // FIXME: implement thesee. |
| 7782 void setRange(int start, int length, List<String> from, [int startFrom]) { |
| 7783 throw new UnsupportedOperationException("Cannot setRange on immutable List."
); |
| 7784 } |
| 7785 void removeRange(int start, int length) { |
| 7786 throw new UnsupportedOperationException("Cannot removeRange on immutable Lis
t."); |
| 7787 } |
| 7788 void insertRange(int start, int length, [String initialValue]) { |
| 7789 throw new UnsupportedOperationException("Cannot insertRange on immutable Lis
t."); |
| 7790 } |
| 7791 List<String> getRange(int start, int length) => |
| 7792 _Lists.getRange(this, start, length, <String>[]); |
| 7793 |
| 7794 // -- end List<String> mixins. |
| 7795 |
| 7796 void appendMedium(String newMedium) native; |
| 7797 |
| 7798 void deleteMedium(String oldMedium) native; |
| 7799 |
| 7800 String item(int index) native; |
| 7801 } |
| 7802 |
| 7803 class _MediaQueryListJs implements MediaQueryList native "*MediaQueryList" { |
| 7804 |
| 7805 final bool matches; |
| 7806 |
| 7807 final String media; |
| 7808 |
| 7809 void addListener(_MediaQueryListListenerJs listener) native; |
| 7810 |
| 7811 void removeListener(_MediaQueryListListenerJs listener) native; |
| 7812 } |
| 7813 |
| 7814 class _MediaQueryListListenerJs implements MediaQueryListListener native "*Media
QueryListListener" { |
| 7815 |
| 7816 void queryChanged(_MediaQueryListJs list) native; |
| 7817 } |
| 7818 |
| 7819 class _MediaStreamJs implements MediaStream native "*MediaStream" { |
| 7820 |
| 7821 static final int ENDED = 2; |
| 7822 |
| 7823 static final int LIVE = 1; |
| 7824 |
| 7825 final _MediaStreamTrackListJs audioTracks; |
| 7826 |
| 7827 final String label; |
| 7828 |
| 7829 EventListener onended; |
| 7830 |
| 7831 final int readyState; |
| 7832 |
| 7833 final _MediaStreamTrackListJs videoTracks; |
| 7834 |
| 7835 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; |
| 7836 |
| 7837 bool dispatchEvent(_EventJs event) native; |
| 7838 |
| 7839 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; |
| 7840 } |
| 7841 |
| 7842 class _MediaStreamEventJs extends _EventJs implements MediaStreamEvent native "*
MediaStreamEvent" { |
| 7843 |
| 7844 final _MediaStreamJs stream; |
| 7845 } |
| 7846 |
| 7847 class _MediaStreamListJs implements MediaStreamList native "*MediaStreamList" { |
| 7848 |
| 7849 final int length; |
| 7850 |
| 7851 _MediaStreamJs item(int index) native; |
| 7852 } |
| 7853 |
| 7854 class _MediaStreamTrackJs implements MediaStreamTrack native "*MediaStreamTrack"
{ |
| 7855 |
| 7856 bool enabled; |
| 7857 |
| 7858 final String kind; |
| 7859 |
| 7860 final String label; |
| 7861 } |
| 7862 |
| 7863 class _MediaStreamTrackListJs implements MediaStreamTrackList native "*MediaStre
amTrackList" { |
| 7864 |
| 7865 final int length; |
| 7866 |
| 7867 _MediaStreamTrackJs item(int index) native; |
| 7868 } |
| 7869 |
| 7870 class _MemoryInfoJs implements MemoryInfo native "*MemoryInfo" { |
| 7871 |
| 7872 final int jsHeapSizeLimit; |
| 7873 |
| 7874 final int totalJSHeapSize; |
| 7875 |
| 7876 final int usedJSHeapSize; |
| 7877 } |
| 7878 |
| 7879 class _MenuElementJs extends _ElementJs implements MenuElement native "*HTMLMenu
Element" { |
| 7880 |
| 7881 bool compact; |
| 7882 } |
| 7883 |
| 7884 class _MessageChannelJs implements MessageChannel native "*MessageChannel" { |
| 7885 |
| 7886 final _MessagePortJs port1; |
| 7887 |
| 7888 final _MessagePortJs port2; |
| 7889 } |
| 7890 |
| 7891 class _MessageEventJs extends _EventJs implements MessageEvent native "*MessageE
vent" { |
| 7892 |
| 7893 final Object data; |
| 7894 |
| 7895 final String lastEventId; |
| 7896 |
| 7897 final String origin; |
| 7898 |
| 7899 final List ports; |
| 7900 |
| 7901 final _WindowJs source; |
| 7902 |
| 7903 void initMessageEvent(String typeArg, bool canBubbleArg, bool cancelableArg, O
bject dataArg, String originArg, String lastEventIdArg, _WindowJs sourceArg, Lis
t messagePorts) native; |
| 7904 |
| 7905 void webkitInitMessageEvent(String typeArg, bool canBubbleArg, bool cancelable
Arg, Object dataArg, String originArg, String lastEventIdArg, _WindowJs sourceAr
g, List transferables) native; |
| 7906 } |
| 7907 |
| 7908 class _MessagePortJs implements MessagePort native "*MessagePort" { |
| 7909 |
| 7910 _MessagePortEventsImpl get on() => |
| 7911 new _MessagePortEventsImpl(this); |
| 7912 |
| 7913 void _addEventListener(String type, EventListener listener, [bool useCapture =
null]) native "this.addEventListener(type, listener, useCapture);"; |
| 7914 |
| 7915 void close() native; |
| 7916 |
| 7917 bool _dispatchEvent(_EventJs evt) native "return this.dispatchEvent(evt);"; |
| 7918 |
| 7919 void postMessage(String message, [List messagePorts = null]) native; |
| 7920 |
| 7921 void _removeEventListener(String type, EventListener listener, [bool useCaptur
e = null]) native "this.removeEventListener(type, listener, useCapture);"; |
| 7922 |
| 7923 void start() native; |
| 7924 |
| 7925 void webkitPostMessage(String message, [List transfer = null]) native; |
| 7926 } |
| 7927 |
| 7928 class _MessagePortEventsImpl extends _EventsImpl implements MessagePortEvents { |
| 7929 _MessagePortEventsImpl(_ptr) : super(_ptr); |
| 7930 |
| 7931 EventListenerList get message() => _get('message'); |
| 7932 } |
| 7933 |
| 7934 class _MetaElementJs extends _ElementJs implements MetaElement native "*HTMLMeta
Element" { |
| 7935 |
| 7936 String content; |
| 7937 |
| 7938 String httpEquiv; |
| 7939 |
| 7940 String name; |
| 7941 |
| 7942 String scheme; |
| 7943 } |
| 7944 |
| 7945 class _MetadataJs implements Metadata native "*Metadata" { |
| 7946 |
| 7947 final Date modificationTime; |
| 7948 } |
| 7949 |
| 7950 class _MeterElementJs extends _ElementJs implements MeterElement native "*HTMLMe
terElement" { |
| 7951 |
| 7952 final _FormElementJs form; |
| 7953 |
| 7954 num high; |
| 7955 |
| 7956 final _NodeListJs labels; |
| 7957 |
| 7958 num low; |
| 7959 |
| 7960 num max; |
| 7961 |
| 7962 num min; |
| 7963 |
| 7964 num optimum; |
| 7965 |
| 7966 num value; |
| 7967 } |
| 7968 |
| 7969 class _ModElementJs extends _ElementJs implements ModElement native "*HTMLModEle
ment" { |
| 7970 |
| 7971 String cite; |
| 7972 |
| 7973 String dateTime; |
| 7974 } |
| 7975 |
| 7976 class _MouseEventJs extends _UIEventJs implements MouseEvent native "*MouseEvent
" { |
| 7977 |
| 7978 final bool altKey; |
| 7979 |
| 7980 final int button; |
| 7981 |
| 7982 final int clientX; |
| 7983 |
| 7984 final int clientY; |
| 7985 |
| 7986 final bool ctrlKey; |
| 7987 |
| 7988 final _ClipboardJs dataTransfer; |
| 7989 |
| 7990 final _NodeJs fromElement; |
| 7991 |
| 7992 final bool metaKey; |
| 7993 |
| 7994 final int offsetX; |
| 7995 |
| 7996 final int offsetY; |
| 7997 |
| 7998 final _EventTargetJs relatedTarget; |
| 7999 |
| 8000 final int screenX; |
| 8001 |
| 8002 final int screenY; |
| 8003 |
| 8004 final bool shiftKey; |
| 8005 |
| 8006 final _NodeJs toElement; |
| 8007 |
| 8008 final int x; |
| 8009 |
| 8010 final int y; |
| 8011 |
| 8012 void initMouseEvent(String type, bool canBubble, bool cancelable, _WindowJs vi
ew, int detail, int screenX, int screenY, int clientX, int clientY, bool ctrlKey
, bool altKey, bool shiftKey, bool metaKey, int button, _EventTargetJs relatedTa
rget) native; |
| 8013 } |
| 8014 |
| 8015 class _MutationEventJs extends _EventJs implements MutationEvent native "*Mutati
onEvent" { |
| 8016 |
| 8017 static final int ADDITION = 2; |
| 8018 |
| 8019 static final int MODIFICATION = 1; |
| 8020 |
| 8021 static final int REMOVAL = 3; |
| 8022 |
| 8023 final int attrChange; |
| 8024 |
| 8025 final String attrName; |
| 8026 |
| 8027 final String newValue; |
| 8028 |
| 8029 final String prevValue; |
| 8030 |
| 8031 final _NodeJs relatedNode; |
| 8032 |
| 8033 void initMutationEvent(String type, bool canBubble, bool cancelable, _NodeJs r
elatedNode, String prevValue, String newValue, String attrName, int attrChange)
native; |
| 8034 } |
| 8035 |
| 8036 class _NamedNodeMapJs implements NamedNodeMap native "*NamedNodeMap" { |
| 8037 |
| 8038 final int length; |
| 8039 |
| 8040 _NodeJs operator[](int index) native "return this[index];"; |
| 8041 |
| 8042 void operator[]=(int index, _NodeJs value) { |
| 8043 throw new UnsupportedOperationException("Cannot assign element of immutable
List."); |
| 8044 } |
| 8045 // -- start List<Node> mixins. |
| 8046 // Node is the element type. |
| 8047 |
| 8048 // From Iterable<Node>: |
| 8049 |
| 8050 Iterator<Node> iterator() { |
| 8051 // Note: NodeLists are not fixed size. And most probably length shouldn't |
| 8052 // be cached in both iterator _and_ forEach method. For now caching it |
| 8053 // for consistency. |
| 8054 return new _FixedSizeListIterator<Node>(this); |
| 8055 } |
| 8056 |
| 8057 // From Collection<Node>: |
| 8058 |
| 8059 void add(Node value) { |
| 8060 throw new UnsupportedOperationException("Cannot add to immutable List."); |
| 8061 } |
| 8062 |
| 8063 void addLast(Node value) { |
| 8064 throw new UnsupportedOperationException("Cannot add to immutable List."); |
| 8065 } |
| 8066 |
| 8067 void addAll(Collection<Node> collection) { |
| 8068 throw new UnsupportedOperationException("Cannot add to immutable List."); |
| 8069 } |
| 8070 |
| 8071 void forEach(void f(Node element)) => _Collections.forEach(this, f); |
| 8072 |
| 8073 Collection map(f(Node element)) => _Collections.map(this, [], f); |
| 8074 |
| 8075 Collection<Node> filter(bool f(Node element)) => |
| 8076 _Collections.filter(this, <Node>[], f); |
| 8077 |
| 8078 bool every(bool f(Node element)) => _Collections.every(this, f); |
| 8079 |
| 8080 bool some(bool f(Node element)) => _Collections.some(this, f); |
| 8081 |
| 8082 bool isEmpty() => this.length == 0; |
| 8083 |
| 8084 // From List<Node>: |
| 8085 |
| 8086 void sort(int compare(Node a, Node b)) { |
| 8087 throw new UnsupportedOperationException("Cannot sort immutable List."); |
| 8088 } |
| 8089 |
| 8090 int indexOf(Node element, [int start = 0]) => |
| 8091 _Lists.indexOf(this, element, start, this.length); |
| 8092 |
| 8093 int lastIndexOf(Node element, [int start = 0]) => |
| 8094 _Lists.lastIndexOf(this, element, start); |
| 8095 |
| 8096 Node last() => this[length - 1]; |
| 8097 |
| 8098 // FIXME: implement thesee. |
| 8099 void setRange(int start, int length, List<Node> from, [int startFrom]) { |
| 8100 throw new UnsupportedOperationException("Cannot setRange on immutable List."
); |
| 8101 } |
| 8102 void removeRange(int start, int length) { |
| 8103 throw new UnsupportedOperationException("Cannot removeRange on immutable Lis
t."); |
| 8104 } |
| 8105 void insertRange(int start, int length, [Node initialValue]) { |
| 8106 throw new UnsupportedOperationException("Cannot insertRange on immutable Lis
t."); |
| 8107 } |
| 8108 List<Node> getRange(int start, int length) => |
| 8109 _Lists.getRange(this, start, length, <Node>[]); |
| 8110 |
| 8111 // -- end List<Node> mixins. |
| 8112 |
| 8113 _NodeJs getNamedItem(String name) native; |
| 8114 |
| 8115 _NodeJs getNamedItemNS(String namespaceURI, String localName) native; |
| 8116 |
| 8117 _NodeJs item(int index) native; |
| 8118 |
| 8119 _NodeJs removeNamedItem(String name) native; |
| 8120 |
| 8121 _NodeJs removeNamedItemNS(String namespaceURI, String localName) native; |
| 8122 |
| 8123 _NodeJs setNamedItem(_NodeJs node) native; |
| 8124 |
| 8125 _NodeJs setNamedItemNS(_NodeJs node) native; |
| 8126 } |
| 8127 |
| 8128 class _NavigatorJs implements Navigator native "*Navigator" { |
| 8129 |
| 8130 final String appCodeName; |
| 8131 |
| 8132 final String appName; |
| 8133 |
| 8134 final String appVersion; |
| 8135 |
| 8136 final bool cookieEnabled; |
| 8137 |
| 8138 final _GeolocationJs geolocation; |
| 8139 |
| 8140 final String language; |
| 8141 |
| 8142 final _DOMMimeTypeArrayJs mimeTypes; |
| 8143 |
| 8144 final bool onLine; |
| 8145 |
| 8146 final String platform; |
| 8147 |
| 8148 final _DOMPluginArrayJs plugins; |
| 8149 |
| 8150 final String product; |
| 8151 |
| 8152 final String productSub; |
| 8153 |
| 8154 final String userAgent; |
| 8155 |
| 8156 final String vendor; |
| 8157 |
| 8158 final String vendorSub; |
| 8159 |
| 8160 void getStorageUpdates() native; |
| 8161 |
| 8162 bool javaEnabled() native; |
| 8163 |
| 8164 void registerProtocolHandler(String scheme, String url, String title) native; |
| 8165 |
| 8166 void webkitGetUserMedia(String options, NavigatorUserMediaSuccessCallback succ
essCallback, [NavigatorUserMediaErrorCallback errorCallback = null]) native; |
| 8167 } |
| 8168 |
| 8169 class _NavigatorUserMediaErrorJs implements NavigatorUserMediaError native "*Nav
igatorUserMediaError" { |
| 8170 |
| 8171 static final int PERMISSION_DENIED = 1; |
| 8172 |
| 8173 final int code; |
| 8174 } |
| 8175 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 8176 // for details. All rights reserved. Use of this source code is governed by a |
| 8177 // BSD-style license that can be found in the LICENSE file. |
| 8178 |
| 8179 // TODO(nweiz): when all implementations we target have the same name for the |
| 8180 // coreimpl implementation of List<E>, extend that rather than wrapping. |
| 8181 class _ListWrapper<E> implements List<E> { |
| 8182 List<E> _list; |
| 8183 |
| 8184 _ListWrapper(List<E> this._list); |
| 8185 |
| 8186 Iterator<E> iterator() => _list.iterator(); |
| 8187 |
| 8188 void forEach(void f(E element)) => _list.forEach(f); |
| 8189 |
| 8190 Collection map(f(E element)) => _list.map(f); |
| 8191 |
| 8192 List<E> filter(bool f(E element)) => _list.filter(f); |
| 8193 |
| 8194 bool every(bool f(E element)) => _list.every(f); |
| 8195 |
| 8196 bool some(bool f(E element)) => _list.some(f); |
| 8197 |
| 8198 bool isEmpty() => _list.isEmpty(); |
| 8199 |
| 8200 int get length() => _list.length; |
| 8201 |
| 8202 E operator [](int index) => _list[index]; |
| 8203 |
| 8204 void operator []=(int index, E value) { _list[index] = value; } |
| 8205 |
| 8206 void set length(int newLength) { _list.length = newLength; } |
| 8207 |
| 8208 void add(E value) => _list.add(value); |
| 8209 |
| 8210 void addLast(E value) => _list.addLast(value); |
| 8211 |
| 8212 void addAll(Collection<E> collection) => _list.addAll(collection); |
| 8213 |
| 8214 void sort(int compare(E a, E b)) => _list.sort(compare); |
| 8215 |
| 8216 int indexOf(E element, [int start = 0]) => _list.indexOf(element, start); |
| 8217 |
| 8218 int lastIndexOf(E element, [int start = 0]) => |
| 8219 _list.lastIndexOf(element, start); |
| 8220 |
| 8221 void clear() => _list.clear(); |
| 8222 |
| 8223 E removeLast() => _list.removeLast(); |
| 8224 |
| 8225 E last() => _list.last(); |
| 8226 |
| 8227 List<E> getRange(int start, int length) => _list.getRange(start, length); |
| 8228 |
| 8229 void setRange(int start, int length, List<E> from, [int startFrom = 0]) => |
| 8230 _list.setRange(start, length, from, startFrom); |
| 8231 |
| 8232 void removeRange(int start, int length) => _list.removeRange(start, length); |
| 8233 |
| 8234 void insertRange(int start, int length, [E initialValue = null]) => |
| 8235 _list.insertRange(start, length, initialValue); |
| 8236 |
| 8237 E get first() => _list[0]; |
| 8238 } |
| 8239 |
| 8240 class _NodeList extends _ListWrapper<Node> implements NodeList { |
| 8241 _NodeList(List<Node> list) : super(list); |
| 8242 |
| 8243 NodeList filter(bool f(Node element)) => new _NodeList(super.filter(f)); |
| 8244 |
| 8245 NodeList getRange(int start, int length) => |
| 8246 new _NodeList(super.getRange(start, length)); |
| 8247 } |
| 8248 |
| 8249 class _NodeJs implements Node native "*Node" { |
| 8250 _NodeListJs get nodes() { |
| 8251 final list = _childNodes; |
| 8252 list._parent = this; |
| 8253 return list; |
| 8254 } |
| 8255 |
| 8256 void set nodes(Collection<Node> value) { |
| 8257 // Copy list first since we don't want liveness during iteration. |
| 8258 // TODO(jacobr): there is a better way to do this. |
| 8259 List copy = new List.from(value); |
| 8260 nodes.clear(); |
| 8261 nodes.addAll(copy); |
| 8262 } |
| 8263 |
| 8264 _NodeJs get nextNode() native "return this.nextSibling;"; |
| 8265 |
| 8266 _NodeJs get previousNode() native "return this.previousSibling;"; |
| 8267 |
| 8268 _DocumentJs get document() native "return this.ownerDocument;"; |
| 8269 |
| 8270 _NodeJs get parent() native "return this.parentNode;"; |
| 8271 |
| 8272 String get text() native "return this.textContent;"; |
| 8273 |
| 8274 void set text(String value) native "this.textContent = value;"; |
| 8275 |
| 8276 // TODO(jacobr): should we throw an exception if parent is already null? |
| 8277 _NodeJs remove() { |
| 8278 if (this.parent != null) { |
| 8279 this.parent._removeChild(this); |
| 8280 } |
| 8281 return this; |
| 8282 } |
| 8283 |
| 8284 _NodeJs replaceWith(Node otherNode) { |
| 8285 try { |
| 8286 this.parent._replaceChild(otherNode, this); |
| 8287 } catch(var e) { |
| 8288 |
| 8289 }; |
| 8290 return this; |
| 8291 } |
| 8292 |
| 8293 |
| 8294 static final int ATTRIBUTE_NODE = 2; |
| 8295 |
| 8296 static final int CDATA_SECTION_NODE = 4; |
| 8297 |
| 8298 static final int COMMENT_NODE = 8; |
| 8299 |
| 8300 static final int DOCUMENT_FRAGMENT_NODE = 11; |
| 8301 |
| 8302 static final int DOCUMENT_NODE = 9; |
| 8303 |
| 8304 static final int DOCUMENT_POSITION_CONTAINED_BY = 0x10; |
| 8305 |
| 8306 static final int DOCUMENT_POSITION_CONTAINS = 0x08; |
| 8307 |
| 8308 static final int DOCUMENT_POSITION_DISCONNECTED = 0x01; |
| 8309 |
| 8310 static final int DOCUMENT_POSITION_FOLLOWING = 0x04; |
| 8311 |
| 8312 static final int DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = 0x20; |
| 8313 |
| 8314 static final int DOCUMENT_POSITION_PRECEDING = 0x02; |
| 8315 |
| 8316 static final int DOCUMENT_TYPE_NODE = 10; |
| 8317 |
| 8318 static final int ELEMENT_NODE = 1; |
| 8319 |
| 8320 static final int ENTITY_NODE = 6; |
| 8321 |
| 8322 static final int ENTITY_REFERENCE_NODE = 5; |
| 8323 |
| 8324 static final int NOTATION_NODE = 12; |
| 8325 |
| 8326 static final int PROCESSING_INSTRUCTION_NODE = 7; |
| 8327 |
| 8328 static final int TEXT_NODE = 3; |
| 8329 |
| 8330 _NamedNodeMapJs get _attributes() native "return this.attributes;"; |
| 8331 |
| 8332 _NodeListJs get _childNodes() native "return this.childNodes;"; |
| 8333 |
| 8334 final _NodeJs nextSibling; |
| 8335 |
| 8336 final _DocumentJs ownerDocument; |
| 8337 |
| 8338 final _NodeJs parentNode; |
| 8339 |
| 8340 final _NodeJs previousSibling; |
| 8341 |
| 8342 String textContent; |
| 8343 |
| 8344 void _addEventListener(String type, EventListener listener, [bool useCapture =
null]) native "this.addEventListener(type, listener, useCapture);"; |
| 8345 |
| 8346 _NodeJs _appendChild(_NodeJs newChild) native "return this.appendChild(newChil
d);"; |
| 8347 |
| 8348 _NodeJs cloneNode(bool deep) native; |
| 8349 |
| 8350 bool contains(_NodeJs other) native; |
| 8351 |
| 8352 bool _dispatchEvent(_EventJs event) native "return this.dispatchEvent(event);"
; |
| 8353 |
| 8354 bool hasChildNodes() native; |
| 8355 |
| 8356 _NodeJs insertBefore(_NodeJs newChild, _NodeJs refChild) native; |
| 8357 |
| 8358 _NodeJs _removeChild(_NodeJs oldChild) native "return this.removeChild(oldChil
d);"; |
| 8359 |
| 8360 void _removeEventListener(String type, EventListener listener, [bool useCaptur
e = null]) native "this.removeEventListener(type, listener, useCapture);"; |
| 8361 |
| 8362 _NodeJs _replaceChild(_NodeJs newChild, _NodeJs oldChild) native "return this.
replaceChild(newChild, oldChild);"; |
| 8363 |
| 8364 } |
| 8365 |
| 8366 class _NodeFilterJs implements NodeFilter native "*NodeFilter" { |
| 8367 |
| 8368 static final int FILTER_ACCEPT = 1; |
| 8369 |
| 8370 static final int FILTER_REJECT = 2; |
| 8371 |
| 8372 static final int FILTER_SKIP = 3; |
| 8373 |
| 8374 static final int SHOW_ALL = 0xFFFFFFFF; |
| 8375 |
| 8376 static final int SHOW_ATTRIBUTE = 0x00000002; |
| 8377 |
| 8378 static final int SHOW_CDATA_SECTION = 0x00000008; |
| 8379 |
| 8380 static final int SHOW_COMMENT = 0x00000080; |
| 8381 |
| 8382 static final int SHOW_DOCUMENT = 0x00000100; |
| 8383 |
| 8384 static final int SHOW_DOCUMENT_FRAGMENT = 0x00000400; |
| 8385 |
| 8386 static final int SHOW_DOCUMENT_TYPE = 0x00000200; |
| 8387 |
| 8388 static final int SHOW_ELEMENT = 0x00000001; |
| 8389 |
| 8390 static final int SHOW_ENTITY = 0x00000020; |
| 8391 |
| 8392 static final int SHOW_ENTITY_REFERENCE = 0x00000010; |
| 8393 |
| 8394 static final int SHOW_NOTATION = 0x00000800; |
| 8395 |
| 8396 static final int SHOW_PROCESSING_INSTRUCTION = 0x00000040; |
| 8397 |
| 8398 static final int SHOW_TEXT = 0x00000004; |
| 8399 |
| 8400 int acceptNode(_NodeJs n) native; |
| 8401 } |
| 8402 |
| 8403 class _NodeIteratorJs implements NodeIterator native "*NodeIterator" { |
| 8404 |
| 8405 final bool expandEntityReferences; |
| 8406 |
| 8407 final _NodeFilterJs filter; |
| 8408 |
| 8409 final bool pointerBeforeReferenceNode; |
| 8410 |
| 8411 final _NodeJs referenceNode; |
| 8412 |
| 8413 final _NodeJs root; |
| 8414 |
| 8415 final int whatToShow; |
| 8416 |
| 8417 void detach() native; |
| 8418 |
| 8419 _NodeJs nextNode() native; |
| 8420 |
| 8421 _NodeJs previousNode() native; |
| 8422 } |
| 8423 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 8424 // for details. All rights reserved. Use of this source code is governed by a |
| 8425 // BSD-style license that can be found in the LICENSE file. |
| 8426 |
| 8427 class _NodeListJs implements NodeList native "*NodeList" { |
| 8428 _NodeJs _parent; |
| 8429 |
| 8430 int get length() native "return this.length;"; |
| 8431 |
| 8432 _NodeJs operator[](int index) native "return this[index];"; |
| 8433 |
| 8434 void operator[]=(int index, _NodeJs value) { |
| 8435 throw new UnsupportedOperationException("Cannot assign element of immutable
List."); |
| 8436 } |
| 8437 // -- start List<Node> mixins. |
| 8438 // Node is the element type. |
| 8439 |
| 8440 // From Iterable<Node>: |
| 8441 |
| 8442 Iterator<Node> iterator() { |
| 8443 // Note: NodeLists are not fixed size. And most probably length shouldn't |
| 8444 // be cached in both iterator _and_ forEach method. For now caching it |
| 8445 // for consistency. |
| 8446 return new _FixedSizeListIterator<Node>(this); |
| 8447 } |
| 8448 |
| 8449 // From Collection<Node>: |
| 8450 |
| 8451 void add(_NodeJs value) { |
| 8452 _parent._appendChild(value); |
| 8453 } |
| 8454 |
| 8455 void addLast(_NodeJs value) { |
| 8456 _parent._appendChild(value); |
| 8457 } |
| 8458 |
| 8459 void addAll(Collection<_NodeJs> collection) { |
| 8460 for (_NodeJs node in collection) { |
| 8461 _parent._appendChild(node); |
| 8462 } |
| 8463 } |
| 8464 |
| 8465 void forEach(void f(Node element)) => _Collections.forEach(this, f); |
| 8466 |
| 8467 Collection map(f(Node element)) => _Collections.map(this, [], f); |
| 8468 |
| 8469 Collection<Node> filter(bool f(Node element)) => |
| 8470 _Collections.filter(this, <Node>[], f); |
| 8471 |
| 8472 bool every(bool f(Node element)) => _Collections.every(this, f); |
| 8473 |
| 8474 bool some(bool f(Node element)) => _Collections.some(this, f); |
| 8475 |
| 8476 bool isEmpty() => this.length == 0; |
| 8477 |
| 8478 // From List<Node>: |
| 8479 |
| 8480 void sort(int compare(Node a, Node b)) { |
| 8481 throw new UnsupportedOperationException("Cannot sort immutable List."); |
| 8482 } |
| 8483 |
| 8484 int indexOf(Node element, [int start = 0]) => |
| 8485 _Lists.indexOf(this, element, start, this.length); |
| 8486 |
| 8487 int lastIndexOf(Node element, [int start = 0]) => |
| 8488 _Lists.lastIndexOf(this, element, start); |
| 8489 |
| 8490 Node last() => this[length - 1]; |
| 8491 |
| 8492 // FIXME: implement thesee. |
| 8493 void setRange(int start, int length, List<Node> from, [int startFrom]) { |
| 8494 throw new UnsupportedOperationException("Cannot setRange on immutable List."
); |
| 8495 } |
| 8496 void removeRange(int start, int length) { |
| 8497 throw new UnsupportedOperationException("Cannot removeRange on immutable Lis
t."); |
| 8498 } |
| 8499 void insertRange(int start, int length, [Node initialValue]) { |
| 8500 throw new UnsupportedOperationException("Cannot insertRange on immutable Lis
t."); |
| 8501 } |
| 8502 List<Node> getRange(int start, int length) => |
| 8503 _Lists.getRange(this, start, length, <Node>[]); |
| 8504 |
| 8505 // -- end List<Node> mixins. |
| 8506 |
| 8507 /* |
| 8508 Ignore members. TODO(jacobr): find a cleaner solution. |
| 8509 |
| 8510 final int length; |
| 8511 |
| 8512 _NodeJs operator[](int index) native "return this[index];"; |
| 8513 |
| 8514 void operator[]=(int index, _NodeJs value) { |
| 8515 throw new UnsupportedOperationException("Cannot assign element of immutable
List."); |
| 8516 } |
| 8517 // -- start List<Node> mixins. |
| 8518 // Node is the element type. |
| 8519 |
| 8520 // From Iterable<Node>: |
| 8521 |
| 8522 Iterator<Node> iterator() { |
| 8523 // Note: NodeLists are not fixed size. And most probably length shouldn't |
| 8524 // be cached in both iterator _and_ forEach method. For now caching it |
| 8525 // for consistency. |
| 8526 return new _FixedSizeListIterator<Node>(this); |
| 8527 } |
| 8528 |
| 8529 // From Collection<Node>: |
| 8530 |
| 8531 void add(Node value) { |
| 8532 throw new UnsupportedOperationException("Cannot add to immutable List."); |
| 8533 } |
| 8534 |
| 8535 void addLast(Node value) { |
| 8536 throw new UnsupportedOperationException("Cannot add to immutable List."); |
| 8537 } |
| 8538 |
| 8539 void addAll(Collection<Node> collection) { |
| 8540 throw new UnsupportedOperationException("Cannot add to immutable List."); |
| 8541 } |
| 8542 |
| 8543 void forEach(void f(Node element)) => _Collections.forEach(this, f); |
| 8544 |
| 8545 Collection map(f(Node element)) => _Collections.map(this, [], f); |
| 8546 |
| 8547 Collection<Node> filter(bool f(Node element)) => |
| 8548 _Collections.filter(this, <Node>[], f); |
| 8549 |
| 8550 bool every(bool f(Node element)) => _Collections.every(this, f); |
| 8551 |
| 8552 bool some(bool f(Node element)) => _Collections.some(this, f); |
| 8553 |
| 8554 bool isEmpty() => this.length == 0; |
| 8555 |
| 8556 // From List<Node>: |
| 8557 |
| 8558 void sort(int compare(Node a, Node b)) { |
| 8559 throw new UnsupportedOperationException("Cannot sort immutable List."); |
| 8560 } |
| 8561 |
| 8562 int indexOf(Node element, [int start = 0]) => |
| 8563 _Lists.indexOf(this, element, start, this.length); |
| 8564 |
| 8565 int lastIndexOf(Node element, [int start = 0]) => |
| 8566 _Lists.lastIndexOf(this, element, start); |
| 8567 |
| 8568 Node last() => this[length - 1]; |
| 8569 |
| 8570 // FIXME: implement thesee. |
| 8571 void setRange(int start, int length, List<Node> from, [int startFrom]) { |
| 8572 throw new UnsupportedOperationException("Cannot setRange on immutable List."
); |
| 8573 } |
| 8574 void removeRange(int start, int length) { |
| 8575 throw new UnsupportedOperationException("Cannot removeRange on immutable Lis
t."); |
| 8576 } |
| 8577 void insertRange(int start, int length, [Node initialValue]) { |
| 8578 throw new UnsupportedOperationException("Cannot insertRange on immutable Lis
t."); |
| 8579 } |
| 8580 List<Node> getRange(int start, int length) => |
| 8581 _Lists.getRange(this, start, length, <Node>[]); |
| 8582 |
| 8583 // -- end List<Node> mixins. |
| 8584 |
| 8585 */ |
| 8586 } |
| 8587 |
| 8588 class _NodeSelectorJs implements NodeSelector native "*NodeSelector" { |
| 8589 |
| 8590 _ElementJs querySelector(String selectors) native; |
| 8591 |
| 8592 _NodeListJs querySelectorAll(String selectors) native; |
| 8593 } |
| 8594 |
| 8595 class _NotationJs extends _NodeJs implements Notation native "*Notation" { |
| 8596 |
| 8597 final String publicId; |
| 8598 |
| 8599 final String systemId; |
| 8600 } |
| 8601 |
| 8602 class _NotificationJs implements Notification native "*Notification" { |
| 8603 |
| 8604 String dir; |
| 8605 |
| 8606 String replaceId; |
| 8607 |
| 8608 _NotificationEventsImpl get on() => |
| 8609 new _NotificationEventsImpl(this); |
| 8610 |
| 8611 void _addEventListener(String type, EventListener listener, [bool useCapture =
null]) native "this.addEventListener(type, listener, useCapture);"; |
| 8612 |
| 8613 void cancel() native; |
| 8614 |
| 8615 bool _dispatchEvent(_EventJs evt) native "return this.dispatchEvent(evt);"; |
| 8616 |
| 8617 void _removeEventListener(String type, EventListener listener, [bool useCaptur
e = null]) native "this.removeEventListener(type, listener, useCapture);"; |
| 8618 |
| 8619 void show() native; |
| 8620 } |
| 8621 |
| 8622 class _NotificationEventsImpl extends _EventsImpl implements NotificationEvents
{ |
| 8623 _NotificationEventsImpl(_ptr) : super(_ptr); |
| 8624 |
| 8625 EventListenerList get click() => _get('click'); |
| 8626 |
| 8627 EventListenerList get close() => _get('close'); |
| 8628 |
| 8629 EventListenerList get display() => _get('display'); |
| 8630 |
| 8631 EventListenerList get error() => _get('error'); |
| 8632 |
| 8633 EventListenerList get show() => _get('show'); |
| 8634 } |
| 8635 |
| 8636 class _NotificationCenterJs implements NotificationCenter native "*NotificationC
enter" { |
| 8637 |
| 8638 int checkPermission() native; |
| 8639 |
| 8640 _NotificationJs createHTMLNotification(String url) native; |
| 8641 |
| 8642 _NotificationJs createNotification(String iconUrl, String title, String body)
native; |
| 8643 |
| 8644 void requestPermission(VoidCallback callback) native; |
| 8645 } |
| 8646 |
| 8647 class _OESStandardDerivativesJs implements OESStandardDerivatives native "*OESSt
andardDerivatives" { |
| 8648 |
| 8649 static final int FRAGMENT_SHADER_DERIVATIVE_HINT_OES = 0x8B8B; |
| 8650 } |
| 8651 |
| 8652 class _OESTextureFloatJs implements OESTextureFloat native "*OESTextureFloat" { |
| 8653 } |
| 8654 |
| 8655 class _OESVertexArrayObjectJs implements OESVertexArrayObject native "*OESVertex
ArrayObject" { |
| 8656 |
| 8657 static final int VERTEX_ARRAY_BINDING_OES = 0x85B5; |
| 8658 |
| 8659 void bindVertexArrayOES(_WebGLVertexArrayObjectOESJs arrayObject) native; |
| 8660 |
| 8661 _WebGLVertexArrayObjectOESJs createVertexArrayOES() native; |
| 8662 |
| 8663 void deleteVertexArrayOES(_WebGLVertexArrayObjectOESJs arrayObject) native; |
| 8664 |
| 8665 bool isVertexArrayOES(_WebGLVertexArrayObjectOESJs arrayObject) native; |
| 8666 } |
| 8667 |
| 8668 class _OListElementJs extends _ElementJs implements OListElement native "*HTMLOL
istElement" { |
| 8669 |
| 8670 bool compact; |
| 8671 |
| 8672 bool reversed; |
| 8673 |
| 8674 int start; |
| 8675 |
| 8676 String type; |
| 8677 } |
| 8678 |
| 8679 class _ObjectElementJs extends _ElementJs implements ObjectElement native "*HTML
ObjectElement" { |
| 8680 |
| 8681 String align; |
| 8682 |
| 8683 String archive; |
| 8684 |
| 8685 String border; |
| 8686 |
| 8687 String code; |
| 8688 |
| 8689 String codeBase; |
| 8690 |
| 8691 String codeType; |
| 8692 |
| 8693 final _DocumentJs contentDocument; |
| 8694 |
| 8695 String data; |
| 8696 |
| 8697 bool declare; |
| 8698 |
| 8699 final _FormElementJs form; |
| 8700 |
| 8701 String height; |
| 8702 |
| 8703 int hspace; |
| 8704 |
| 8705 String name; |
| 8706 |
| 8707 String standby; |
| 8708 |
| 8709 String type; |
| 8710 |
| 8711 String useMap; |
| 8712 |
| 8713 final String validationMessage; |
| 8714 |
| 8715 final _ValidityStateJs validity; |
| 8716 |
| 8717 int vspace; |
| 8718 |
| 8719 String width; |
| 8720 |
| 8721 final bool willValidate; |
| 8722 |
| 8723 bool checkValidity() native; |
| 8724 |
| 8725 void setCustomValidity(String error) native; |
| 8726 } |
| 8727 |
| 8728 class _OfflineAudioCompletionEventJs extends _EventJs implements OfflineAudioCom
pletionEvent native "*OfflineAudioCompletionEvent" { |
| 8729 |
| 8730 final _AudioBufferJs renderedBuffer; |
| 8731 } |
| 8732 |
| 8733 class _OperationNotAllowedExceptionJs implements OperationNotAllowedException na
tive "*OperationNotAllowedException" { |
| 8734 |
| 8735 static final int NOT_ALLOWED_ERR = 1; |
| 8736 |
| 8737 final int code; |
| 8738 |
| 8739 final String message; |
| 8740 |
| 8741 final String name; |
| 8742 |
| 8743 String toString() native; |
| 8744 } |
| 8745 |
| 8746 class _OptGroupElementJs extends _ElementJs implements OptGroupElement native "*
HTMLOptGroupElement" { |
| 8747 |
| 8748 bool disabled; |
| 8749 |
| 8750 String label; |
| 8751 } |
| 8752 |
| 8753 class _OptionElementJs extends _ElementJs implements OptionElement native "*HTML
OptionElement" { |
| 8754 |
| 8755 bool defaultSelected; |
| 8756 |
| 8757 bool disabled; |
| 8758 |
| 8759 final _FormElementJs form; |
| 8760 |
| 8761 final int index; |
| 8762 |
| 8763 String label; |
| 8764 |
| 8765 bool selected; |
| 8766 |
| 8767 String text; |
| 8768 |
| 8769 String value; |
| 8770 } |
| 8771 |
| 8772 class _OutputElementJs extends _ElementJs implements OutputElement native "*HTML
OutputElement" { |
| 8773 |
| 8774 String defaultValue; |
| 8775 |
| 8776 final _FormElementJs form; |
| 8777 |
| 8778 _DOMSettableTokenListJs htmlFor; |
| 8779 |
| 8780 final _NodeListJs labels; |
| 8781 |
| 8782 String name; |
| 8783 |
| 8784 final String type; |
| 8785 |
| 8786 final String validationMessage; |
| 8787 |
| 8788 final _ValidityStateJs validity; |
| 8789 |
| 8790 String value; |
| 8791 |
| 8792 final bool willValidate; |
| 8793 |
| 8794 bool checkValidity() native; |
| 8795 |
| 8796 void setCustomValidity(String error) native; |
| 8797 } |
| 8798 |
| 8799 class _OverflowEventJs extends _EventJs implements OverflowEvent native "*Overfl
owEvent" { |
| 8800 |
| 8801 static final int BOTH = 2; |
| 8802 |
| 8803 static final int HORIZONTAL = 0; |
| 8804 |
| 8805 static final int VERTICAL = 1; |
| 8806 |
| 8807 final bool horizontalOverflow; |
| 8808 |
| 8809 final int orient; |
| 8810 |
| 8811 final bool verticalOverflow; |
| 8812 } |
| 8813 |
| 8814 class _PageTransitionEventJs extends _EventJs implements PageTransitionEvent nat
ive "*PageTransitionEvent" { |
| 8815 |
| 8816 final bool persisted; |
| 8817 } |
| 8818 |
| 8819 class _ParagraphElementJs extends _ElementJs implements ParagraphElement native
"*HTMLParagraphElement" { |
| 8820 |
| 8821 String align; |
| 8822 } |
| 8823 |
| 8824 class _ParamElementJs extends _ElementJs implements ParamElement native "*HTMLPa
ramElement" { |
| 8825 |
| 8826 String name; |
| 8827 |
| 8828 String type; |
| 8829 |
| 8830 String value; |
| 8831 |
| 8832 String valueType; |
| 8833 } |
| 8834 |
| 8835 class _PeerConnectionJs implements PeerConnection native "*PeerConnection" { |
| 8836 |
| 8837 static final int ACTIVE = 2; |
| 8838 |
| 8839 static final int CLOSED = 3; |
| 8840 |
| 8841 static final int NEGOTIATING = 1; |
| 8842 |
| 8843 static final int NEW = 0; |
| 8844 |
| 8845 final _MediaStreamListJs localStreams; |
| 8846 |
| 8847 EventListener onaddstream; |
| 8848 |
| 8849 EventListener onconnecting; |
| 8850 |
| 8851 EventListener onmessage; |
| 8852 |
| 8853 EventListener onopen; |
| 8854 |
| 8855 EventListener onremovestream; |
| 8856 |
| 8857 EventListener onstatechange; |
| 8858 |
| 8859 final int readyState; |
| 8860 |
| 8861 final _MediaStreamListJs remoteStreams; |
| 8862 |
| 8863 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; |
| 8864 |
| 8865 void addStream(_MediaStreamJs stream) native; |
| 8866 |
| 8867 void close() native; |
| 8868 |
| 8869 bool dispatchEvent(_EventJs event) native; |
| 8870 |
| 8871 void processSignalingMessage(String message) native; |
| 8872 |
| 8873 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; |
| 8874 |
| 8875 void removeStream(_MediaStreamJs stream) native; |
| 8876 |
| 8877 void send(String text) native; |
| 8878 } |
| 8879 |
| 8880 class _PerformanceJs implements Performance native "*Performance" { |
| 8881 |
| 8882 final _MemoryInfoJs memory; |
| 8883 |
| 8884 final _PerformanceNavigationJs navigation; |
| 8885 |
| 8886 final _PerformanceTimingJs timing; |
| 8887 } |
| 8888 |
| 8889 class _PerformanceNavigationJs implements PerformanceNavigation native "*Perform
anceNavigation" { |
| 8890 |
| 8891 static final int TYPE_BACK_FORWARD = 2; |
| 8892 |
| 8893 static final int TYPE_NAVIGATE = 0; |
| 8894 |
| 8895 static final int TYPE_RELOAD = 1; |
| 8896 |
| 8897 static final int TYPE_RESERVED = 255; |
| 8898 |
| 8899 final int redirectCount; |
| 8900 |
| 8901 final int type; |
| 8902 } |
| 8903 |
| 8904 class _PerformanceTimingJs implements PerformanceTiming native "*PerformanceTimi
ng" { |
| 8905 |
| 8906 final int connectEnd; |
| 8907 |
| 8908 final int connectStart; |
| 8909 |
| 8910 final int domComplete; |
| 8911 |
| 8912 final int domContentLoadedEventEnd; |
| 8913 |
| 8914 final int domContentLoadedEventStart; |
| 8915 |
| 8916 final int domInteractive; |
| 8917 |
| 8918 final int domLoading; |
| 8919 |
| 8920 final int domainLookupEnd; |
| 8921 |
| 8922 final int domainLookupStart; |
| 8923 |
| 8924 final int fetchStart; |
| 8925 |
| 8926 final int loadEventEnd; |
| 8927 |
| 8928 final int loadEventStart; |
| 8929 |
| 8930 final int navigationStart; |
| 8931 |
| 8932 final int redirectEnd; |
| 8933 |
| 8934 final int redirectStart; |
| 8935 |
| 8936 final int requestStart; |
| 8937 |
| 8938 final int responseEnd; |
| 8939 |
| 8940 final int responseStart; |
| 8941 |
| 8942 final int secureConnectionStart; |
| 8943 |
| 8944 final int unloadEventEnd; |
| 8945 |
| 8946 final int unloadEventStart; |
| 8947 } |
| 8948 |
| 8949 class _PointJs implements Point native "*WebKitPoint" { |
| 8950 |
| 8951 num x; |
| 8952 |
| 8953 num y; |
| 8954 } |
| 8955 |
| 8956 class _PopStateEventJs extends _EventJs implements PopStateEvent native "*PopSta
teEvent" { |
| 8957 |
| 8958 final Object state; |
| 8959 } |
| 8960 |
| 8961 class _PositionErrorJs implements PositionError native "*PositionError" { |
| 8962 |
| 8963 static final int PERMISSION_DENIED = 1; |
| 8964 |
| 8965 static final int POSITION_UNAVAILABLE = 2; |
| 8966 |
| 8967 static final int TIMEOUT = 3; |
| 8968 |
| 8969 final int code; |
| 8970 |
| 8971 final String message; |
| 8972 } |
| 8973 |
| 8974 class _PreElementJs extends _ElementJs implements PreElement native "*HTMLPreEle
ment" { |
| 8975 |
| 8976 int width; |
| 8977 |
| 8978 bool wrap; |
| 8979 } |
| 8980 |
| 8981 class _ProcessingInstructionJs extends _NodeJs implements ProcessingInstruction
native "*ProcessingInstruction" { |
| 8982 |
| 8983 String data; |
| 8984 |
| 8985 final _StyleSheetJs sheet; |
| 8986 |
| 8987 final String target; |
| 8988 } |
| 8989 |
| 8990 class _ProgressElementJs extends _ElementJs implements ProgressElement native "*
HTMLProgressElement" { |
| 8991 |
| 8992 final _FormElementJs form; |
| 8993 |
| 8994 final _NodeListJs labels; |
| 8995 |
| 8996 num max; |
| 8997 |
| 8998 final num position; |
| 8999 |
| 9000 num value; |
| 9001 } |
| 9002 |
| 9003 class _ProgressEventJs extends _EventJs implements ProgressEvent native "*Progre
ssEvent" { |
| 9004 |
| 9005 final bool lengthComputable; |
| 9006 |
| 9007 final int loaded; |
| 9008 |
| 9009 final int total; |
| 9010 } |
| 9011 |
| 9012 class _QuoteElementJs extends _ElementJs implements QuoteElement native "*HTMLQu
oteElement" { |
| 9013 |
| 9014 String cite; |
| 9015 } |
| 9016 |
| 9017 class _RGBColorJs implements RGBColor native "*RGBColor" { |
| 9018 |
| 9019 final _CSSPrimitiveValueJs blue; |
| 9020 |
| 9021 final _CSSPrimitiveValueJs green; |
| 9022 |
| 9023 final _CSSPrimitiveValueJs red; |
| 9024 } |
| 9025 |
| 9026 class _RangeJs implements Range native "*Range" { |
| 9027 |
| 9028 static final int END_TO_END = 2; |
| 9029 |
| 9030 static final int END_TO_START = 3; |
| 9031 |
| 9032 static final int NODE_AFTER = 1; |
| 9033 |
| 9034 static final int NODE_BEFORE = 0; |
| 9035 |
| 9036 static final int NODE_BEFORE_AND_AFTER = 2; |
| 9037 |
| 9038 static final int NODE_INSIDE = 3; |
| 9039 |
| 9040 static final int START_TO_END = 1; |
| 9041 |
| 9042 static final int START_TO_START = 0; |
| 9043 |
| 9044 final bool collapsed; |
| 9045 |
| 9046 final _NodeJs commonAncestorContainer; |
| 9047 |
| 9048 final _NodeJs endContainer; |
| 9049 |
| 9050 final int endOffset; |
| 9051 |
| 9052 final _NodeJs startContainer; |
| 9053 |
| 9054 final int startOffset; |
| 9055 |
| 9056 _DocumentFragmentJs cloneContents() native; |
| 9057 |
| 9058 _RangeJs cloneRange() native; |
| 9059 |
| 9060 void collapse(bool toStart) native; |
| 9061 |
| 9062 int compareNode(_NodeJs refNode) native; |
| 9063 |
| 9064 int comparePoint(_NodeJs refNode, int offset) native; |
| 9065 |
| 9066 _DocumentFragmentJs createContextualFragment(String html) native; |
| 9067 |
| 9068 void deleteContents() native; |
| 9069 |
| 9070 void detach() native; |
| 9071 |
| 9072 void expand(String unit) native; |
| 9073 |
| 9074 _DocumentFragmentJs extractContents() native; |
| 9075 |
| 9076 _ClientRectJs getBoundingClientRect() native; |
| 9077 |
| 9078 _ClientRectListJs getClientRects() native; |
| 9079 |
| 9080 void insertNode(_NodeJs newNode) native; |
| 9081 |
| 9082 bool intersectsNode(_NodeJs refNode) native; |
| 9083 |
| 9084 bool isPointInRange(_NodeJs refNode, int offset) native; |
| 9085 |
| 9086 void selectNode(_NodeJs refNode) native; |
| 9087 |
| 9088 void selectNodeContents(_NodeJs refNode) native; |
| 9089 |
| 9090 void setEnd(_NodeJs refNode, int offset) native; |
| 9091 |
| 9092 void setEndAfter(_NodeJs refNode) native; |
| 9093 |
| 9094 void setEndBefore(_NodeJs refNode) native; |
| 9095 |
| 9096 void setStart(_NodeJs refNode, int offset) native; |
| 9097 |
| 9098 void setStartAfter(_NodeJs refNode) native; |
| 9099 |
| 9100 void setStartBefore(_NodeJs refNode) native; |
| 9101 |
| 9102 void surroundContents(_NodeJs newParent) native; |
| 9103 |
| 9104 String toString() native; |
| 9105 } |
| 9106 |
| 9107 class _RangeExceptionJs implements RangeException native "*RangeException" { |
| 9108 |
| 9109 static final int BAD_BOUNDARYPOINTS_ERR = 1; |
| 9110 |
| 9111 static final int INVALID_NODE_TYPE_ERR = 2; |
| 9112 |
| 9113 final int code; |
| 9114 |
| 9115 final String message; |
| 9116 |
| 9117 final String name; |
| 9118 |
| 9119 String toString() native; |
| 9120 } |
| 9121 |
| 9122 class _RealtimeAnalyserNodeJs extends _AudioNodeJs implements RealtimeAnalyserNo
de native "*RealtimeAnalyserNode" { |
| 9123 |
| 9124 int fftSize; |
| 9125 |
| 9126 final int frequencyBinCount; |
| 9127 |
| 9128 num maxDecibels; |
| 9129 |
| 9130 num minDecibels; |
| 9131 |
| 9132 num smoothingTimeConstant; |
| 9133 |
| 9134 void getByteFrequencyData(_Uint8ArrayJs array) native; |
| 9135 |
| 9136 void getByteTimeDomainData(_Uint8ArrayJs array) native; |
| 9137 |
| 9138 void getFloatFrequencyData(_Float32ArrayJs array) native; |
| 9139 } |
| 9140 |
| 9141 class _RectJs implements Rect native "*Rect" { |
| 9142 |
| 9143 final _CSSPrimitiveValueJs bottom; |
| 9144 |
| 9145 final _CSSPrimitiveValueJs left; |
| 9146 |
| 9147 final _CSSPrimitiveValueJs right; |
| 9148 |
| 9149 final _CSSPrimitiveValueJs top; |
| 9150 } |
| 9151 |
| 9152 class _SQLErrorJs implements SQLError native "*SQLError" { |
| 9153 |
| 9154 static final int CONSTRAINT_ERR = 6; |
| 9155 |
| 9156 static final int DATABASE_ERR = 1; |
| 9157 |
| 9158 static final int QUOTA_ERR = 4; |
| 9159 |
| 9160 static final int SYNTAX_ERR = 5; |
| 9161 |
| 9162 static final int TIMEOUT_ERR = 7; |
| 9163 |
| 9164 static final int TOO_LARGE_ERR = 3; |
| 9165 |
| 9166 static final int UNKNOWN_ERR = 0; |
| 9167 |
| 9168 static final int VERSION_ERR = 2; |
| 9169 |
| 9170 final int code; |
| 9171 |
| 9172 final String message; |
| 9173 } |
| 9174 |
| 9175 class _SQLExceptionJs implements SQLException native "*SQLException" { |
| 9176 |
| 9177 static final int CONSTRAINT_ERR = 6; |
| 9178 |
| 9179 static final int DATABASE_ERR = 1; |
| 9180 |
| 9181 static final int QUOTA_ERR = 4; |
| 9182 |
| 9183 static final int SYNTAX_ERR = 5; |
| 9184 |
| 9185 static final int TIMEOUT_ERR = 7; |
| 9186 |
| 9187 static final int TOO_LARGE_ERR = 3; |
| 9188 |
| 9189 static final int UNKNOWN_ERR = 0; |
| 9190 |
| 9191 static final int VERSION_ERR = 2; |
| 9192 |
| 9193 final int code; |
| 9194 |
| 9195 final String message; |
| 9196 } |
| 9197 |
| 9198 class _SQLResultSetJs implements SQLResultSet native "*SQLResultSet" { |
| 9199 |
| 9200 final int insertId; |
| 9201 |
| 9202 final _SQLResultSetRowListJs rows; |
| 9203 |
| 9204 final int rowsAffected; |
| 9205 } |
| 9206 |
| 9207 class _SQLResultSetRowListJs implements SQLResultSetRowList native "*SQLResultSe
tRowList" { |
| 9208 |
| 9209 final int length; |
| 9210 |
| 9211 Object item(int index) native; |
| 9212 } |
| 9213 |
| 9214 class _SQLTransactionJs implements SQLTransaction native "*SQLTransaction" { |
| 9215 } |
| 9216 |
| 9217 class _SQLTransactionSyncJs implements SQLTransactionSync native "*SQLTransactio
nSync" { |
| 9218 } |
| 9219 |
| 9220 class _SVGAElementJs extends _SVGElementJs implements SVGAElement native "*SVGAE
lement" { |
| 9221 |
| 9222 final _SVGAnimatedStringJs target; |
| 9223 |
| 9224 // From SVGURIReference |
| 9225 |
| 9226 final _SVGAnimatedStringJs href; |
| 9227 |
| 9228 // From SVGTests |
| 9229 |
| 9230 final _SVGStringListJs requiredExtensions; |
| 9231 |
| 9232 final _SVGStringListJs requiredFeatures; |
| 9233 |
| 9234 final _SVGStringListJs systemLanguage; |
| 9235 |
| 9236 bool hasExtension(String extension) native; |
| 9237 |
| 9238 // From SVGLangSpace |
| 9239 |
| 9240 String xmllang; |
| 9241 |
| 9242 String xmlspace; |
| 9243 |
| 9244 // From SVGExternalResourcesRequired |
| 9245 |
| 9246 final _SVGAnimatedBooleanJs externalResourcesRequired; |
| 9247 |
| 9248 // From SVGStylable |
| 9249 |
| 9250 _SVGAnimatedStringJs get _className() native "return this.className;"; |
| 9251 |
| 9252 // Use implementation from Element. |
| 9253 // final _CSSStyleDeclarationJs style; |
| 9254 |
| 9255 _CSSValueJs getPresentationAttribute(String name) native; |
| 9256 |
| 9257 // From SVGTransformable |
| 9258 |
| 9259 final _SVGAnimatedTransformListJs transform; |
| 9260 |
| 9261 // From SVGLocatable |
| 9262 |
| 9263 final _SVGElementJs farthestViewportElement; |
| 9264 |
| 9265 final _SVGElementJs nearestViewportElement; |
| 9266 |
| 9267 _SVGRectJs getBBox() native; |
| 9268 |
| 9269 _SVGMatrixJs getCTM() native; |
| 9270 |
| 9271 _SVGMatrixJs getScreenCTM() native; |
| 9272 |
| 9273 _SVGMatrixJs getTransformToElement(_SVGElementJs element) native; |
| 9274 } |
| 9275 |
| 9276 class _SVGAltGlyphDefElementJs extends _SVGElementJs implements SVGAltGlyphDefEl
ement native "*SVGAltGlyphDefElement" { |
| 9277 } |
| 9278 |
| 9279 class _SVGAltGlyphElementJs extends _SVGTextPositioningElementJs implements SVGA
ltGlyphElement native "*SVGAltGlyphElement" { |
| 9280 |
| 9281 String format; |
| 9282 |
| 9283 String glyphRef; |
| 9284 |
| 9285 // From SVGURIReference |
| 9286 |
| 9287 final _SVGAnimatedStringJs href; |
| 9288 } |
| 9289 |
| 9290 class _SVGAltGlyphItemElementJs extends _SVGElementJs implements SVGAltGlyphItem
Element native "*SVGAltGlyphItemElement" { |
| 9291 } |
| 9292 |
| 9293 class _SVGAngleJs implements SVGAngle native "*SVGAngle" { |
| 9294 |
| 9295 static final int SVG_ANGLETYPE_DEG = 2; |
| 9296 |
| 9297 static final int SVG_ANGLETYPE_GRAD = 4; |
| 9298 |
| 9299 static final int SVG_ANGLETYPE_RAD = 3; |
| 9300 |
| 9301 static final int SVG_ANGLETYPE_UNKNOWN = 0; |
| 9302 |
| 9303 static final int SVG_ANGLETYPE_UNSPECIFIED = 1; |
| 9304 |
| 9305 final int unitType; |
| 9306 |
| 9307 num value; |
| 9308 |
| 9309 String valueAsString; |
| 9310 |
| 9311 num valueInSpecifiedUnits; |
| 9312 |
| 9313 void convertToSpecifiedUnits(int unitType) native; |
| 9314 |
| 9315 void newValueSpecifiedUnits(int unitType, num valueInSpecifiedUnits) native; |
| 9316 } |
| 9317 |
| 9318 class _SVGAnimateColorElementJs extends _SVGAnimationElementJs implements SVGAni
mateColorElement native "*SVGAnimateColorElement" { |
| 9319 } |
| 9320 |
| 9321 class _SVGAnimateElementJs extends _SVGAnimationElementJs implements SVGAnimateE
lement native "*SVGAnimateElement" { |
| 9322 } |
| 9323 |
| 9324 class _SVGAnimateMotionElementJs extends _SVGAnimationElementJs implements SVGAn
imateMotionElement native "*SVGAnimateMotionElement" { |
| 9325 } |
| 9326 |
| 9327 class _SVGAnimateTransformElementJs extends _SVGAnimationElementJs implements SV
GAnimateTransformElement native "*SVGAnimateTransformElement" { |
| 9328 } |
| 9329 |
| 9330 class _SVGAnimatedAngleJs implements SVGAnimatedAngle native "*SVGAnimatedAngle"
{ |
| 9331 |
| 9332 final _SVGAngleJs animVal; |
| 9333 |
| 9334 final _SVGAngleJs baseVal; |
| 9335 } |
| 9336 |
| 9337 class _SVGAnimatedBooleanJs implements SVGAnimatedBoolean native "*SVGAnimatedBo
olean" { |
| 9338 |
| 9339 final bool animVal; |
| 9340 |
| 9341 bool baseVal; |
| 9342 } |
| 9343 |
| 9344 class _SVGAnimatedEnumerationJs implements SVGAnimatedEnumeration native "*SVGAn
imatedEnumeration" { |
| 9345 |
| 9346 final int animVal; |
| 9347 |
| 9348 int baseVal; |
| 9349 } |
| 9350 |
| 9351 class _SVGAnimatedIntegerJs implements SVGAnimatedInteger native "*SVGAnimatedIn
teger" { |
| 9352 |
| 9353 final int animVal; |
| 9354 |
| 9355 int baseVal; |
| 9356 } |
| 9357 |
| 9358 class _SVGAnimatedLengthJs implements SVGAnimatedLength native "*SVGAnimatedLeng
th" { |
| 9359 |
| 9360 final _SVGLengthJs animVal; |
| 9361 |
| 9362 final _SVGLengthJs baseVal; |
| 9363 } |
| 9364 |
| 9365 class _SVGAnimatedLengthListJs implements SVGAnimatedLengthList native "*SVGAnim
atedLengthList" { |
| 9366 |
| 9367 final _SVGLengthListJs animVal; |
| 9368 |
| 9369 final _SVGLengthListJs baseVal; |
| 9370 } |
| 9371 |
| 9372 class _SVGAnimatedNumberJs implements SVGAnimatedNumber native "*SVGAnimatedNumb
er" { |
| 9373 |
| 9374 final num animVal; |
| 9375 |
| 9376 num baseVal; |
| 9377 } |
| 9378 |
| 9379 class _SVGAnimatedNumberListJs implements SVGAnimatedNumberList native "*SVGAnim
atedNumberList" { |
| 9380 |
| 9381 final _SVGNumberListJs animVal; |
| 9382 |
| 9383 final _SVGNumberListJs baseVal; |
| 9384 } |
| 9385 |
| 9386 class _SVGAnimatedPreserveAspectRatioJs implements SVGAnimatedPreserveAspectRati
o native "*SVGAnimatedPreserveAspectRatio" { |
| 9387 |
| 9388 final _SVGPreserveAspectRatioJs animVal; |
| 9389 |
| 9390 final _SVGPreserveAspectRatioJs baseVal; |
| 9391 } |
| 9392 |
| 9393 class _SVGAnimatedRectJs implements SVGAnimatedRect native "*SVGAnimatedRect" { |
| 9394 |
| 9395 final _SVGRectJs animVal; |
| 9396 |
| 9397 final _SVGRectJs baseVal; |
| 9398 } |
| 9399 |
| 9400 class _SVGAnimatedStringJs implements SVGAnimatedString native "*SVGAnimatedStri
ng" { |
| 9401 |
| 9402 final String animVal; |
| 9403 |
| 9404 String baseVal; |
| 9405 } |
| 9406 |
| 9407 class _SVGAnimatedTransformListJs implements SVGAnimatedTransformList native "*S
VGAnimatedTransformList" { |
| 9408 |
| 9409 final _SVGTransformListJs animVal; |
| 9410 |
| 9411 final _SVGTransformListJs baseVal; |
| 9412 } |
| 9413 |
| 9414 class _SVGAnimationElementJs extends _SVGElementJs implements SVGAnimationElemen
t native "*SVGAnimationElement" { |
| 9415 |
| 9416 final _SVGElementJs targetElement; |
| 9417 |
| 9418 num getCurrentTime() native; |
| 9419 |
| 9420 num getSimpleDuration() native; |
| 9421 |
| 9422 num getStartTime() native; |
| 9423 |
| 9424 // From SVGTests |
| 9425 |
| 9426 final _SVGStringListJs requiredExtensions; |
| 9427 |
| 9428 final _SVGStringListJs requiredFeatures; |
| 9429 |
| 9430 final _SVGStringListJs systemLanguage; |
| 9431 |
| 9432 bool hasExtension(String extension) native; |
| 9433 |
| 9434 // From SVGExternalResourcesRequired |
| 9435 |
| 9436 final _SVGAnimatedBooleanJs externalResourcesRequired; |
| 9437 |
| 9438 // From ElementTimeControl |
| 9439 |
| 9440 void beginElement() native; |
| 9441 |
| 9442 void beginElementAt(num offset) native; |
| 9443 |
| 9444 void endElement() native; |
| 9445 |
| 9446 void endElementAt(num offset) native; |
| 9447 } |
| 9448 |
| 9449 class _SVGCircleElementJs extends _SVGElementJs implements SVGCircleElement nati
ve "*SVGCircleElement" { |
| 9450 |
| 9451 final _SVGAnimatedLengthJs cx; |
| 9452 |
| 9453 final _SVGAnimatedLengthJs cy; |
| 9454 |
| 9455 final _SVGAnimatedLengthJs r; |
| 9456 |
| 9457 // From SVGTests |
| 9458 |
| 9459 final _SVGStringListJs requiredExtensions; |
| 9460 |
| 9461 final _SVGStringListJs requiredFeatures; |
| 9462 |
| 9463 final _SVGStringListJs systemLanguage; |
| 9464 |
| 9465 bool hasExtension(String extension) native; |
| 9466 |
| 9467 // From SVGLangSpace |
| 9468 |
| 9469 String xmllang; |
| 9470 |
| 9471 String xmlspace; |
| 9472 |
| 9473 // From SVGExternalResourcesRequired |
| 9474 |
| 9475 final _SVGAnimatedBooleanJs externalResourcesRequired; |
| 9476 |
| 9477 // From SVGStylable |
| 9478 |
| 9479 _SVGAnimatedStringJs get _className() native "return this.className;"; |
| 9480 |
| 9481 // Use implementation from Element. |
| 9482 // final _CSSStyleDeclarationJs style; |
| 9483 |
| 9484 _CSSValueJs getPresentationAttribute(String name) native; |
| 9485 |
| 9486 // From SVGTransformable |
| 9487 |
| 9488 final _SVGAnimatedTransformListJs transform; |
| 9489 |
| 9490 // From SVGLocatable |
| 9491 |
| 9492 final _SVGElementJs farthestViewportElement; |
| 9493 |
| 9494 final _SVGElementJs nearestViewportElement; |
| 9495 |
| 9496 _SVGRectJs getBBox() native; |
| 9497 |
| 9498 _SVGMatrixJs getCTM() native; |
| 9499 |
| 9500 _SVGMatrixJs getScreenCTM() native; |
| 9501 |
| 9502 _SVGMatrixJs getTransformToElement(_SVGElementJs element) native; |
| 9503 } |
| 9504 |
| 9505 class _SVGClipPathElementJs extends _SVGElementJs implements SVGClipPathElement
native "*SVGClipPathElement" { |
| 9506 |
| 9507 final _SVGAnimatedEnumerationJs clipPathUnits; |
| 9508 |
| 9509 // From SVGTests |
| 9510 |
| 9511 final _SVGStringListJs requiredExtensions; |
| 9512 |
| 9513 final _SVGStringListJs requiredFeatures; |
| 9514 |
| 9515 final _SVGStringListJs systemLanguage; |
| 9516 |
| 9517 bool hasExtension(String extension) native; |
| 9518 |
| 9519 // From SVGLangSpace |
| 9520 |
| 9521 String xmllang; |
| 9522 |
| 9523 String xmlspace; |
| 9524 |
| 9525 // From SVGExternalResourcesRequired |
| 9526 |
| 9527 final _SVGAnimatedBooleanJs externalResourcesRequired; |
| 9528 |
| 9529 // From SVGStylable |
| 9530 |
| 9531 _SVGAnimatedStringJs get _className() native "return this.className;"; |
| 9532 |
| 9533 // Use implementation from Element. |
| 9534 // final _CSSStyleDeclarationJs style; |
| 9535 |
| 9536 _CSSValueJs getPresentationAttribute(String name) native; |
| 9537 |
| 9538 // From SVGTransformable |
| 9539 |
| 9540 final _SVGAnimatedTransformListJs transform; |
| 9541 |
| 9542 // From SVGLocatable |
| 9543 |
| 9544 final _SVGElementJs farthestViewportElement; |
| 9545 |
| 9546 final _SVGElementJs nearestViewportElement; |
| 9547 |
| 9548 _SVGRectJs getBBox() native; |
| 9549 |
| 9550 _SVGMatrixJs getCTM() native; |
| 9551 |
| 9552 _SVGMatrixJs getScreenCTM() native; |
| 9553 |
| 9554 _SVGMatrixJs getTransformToElement(_SVGElementJs element) native; |
| 9555 } |
| 9556 |
| 9557 class _SVGColorJs extends _CSSValueJs implements SVGColor native "*SVGColor" { |
| 9558 |
| 9559 static final int SVG_COLORTYPE_CURRENTCOLOR = 3; |
| 9560 |
| 9561 static final int SVG_COLORTYPE_RGBCOLOR = 1; |
| 9562 |
| 9563 static final int SVG_COLORTYPE_RGBCOLOR_ICCCOLOR = 2; |
| 9564 |
| 9565 static final int SVG_COLORTYPE_UNKNOWN = 0; |
| 9566 |
| 9567 final int colorType; |
| 9568 |
| 9569 final _RGBColorJs rgbColor; |
| 9570 |
| 9571 void setColor(int colorType, String rgbColor, String iccColor) native; |
| 9572 |
| 9573 void setRGBColor(String rgbColor) native; |
| 9574 |
| 9575 void setRGBColorICCColor(String rgbColor, String iccColor) native; |
| 9576 } |
| 9577 |
| 9578 class _SVGComponentTransferFunctionElementJs extends _SVGElementJs implements SV
GComponentTransferFunctionElement native "*SVGComponentTransferFunctionElement"
{ |
| 9579 |
| 9580 static final int SVG_FECOMPONENTTRANSFER_TYPE_DISCRETE = 3; |
| 9581 |
| 9582 static final int SVG_FECOMPONENTTRANSFER_TYPE_GAMMA = 5; |
| 9583 |
| 9584 static final int SVG_FECOMPONENTTRANSFER_TYPE_IDENTITY = 1; |
| 9585 |
| 9586 static final int SVG_FECOMPONENTTRANSFER_TYPE_LINEAR = 4; |
| 9587 |
| 9588 static final int SVG_FECOMPONENTTRANSFER_TYPE_TABLE = 2; |
| 9589 |
| 9590 static final int SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN = 0; |
| 9591 |
| 9592 final _SVGAnimatedNumberJs amplitude; |
| 9593 |
| 9594 final _SVGAnimatedNumberJs exponent; |
| 9595 |
| 9596 final _SVGAnimatedNumberJs intercept; |
| 9597 |
| 9598 final _SVGAnimatedNumberJs offset; |
| 9599 |
| 9600 final _SVGAnimatedNumberJs slope; |
| 9601 |
| 9602 final _SVGAnimatedNumberListJs tableValues; |
| 9603 |
| 9604 final _SVGAnimatedEnumerationJs type; |
| 9605 } |
| 9606 |
| 9607 class _SVGCursorElementJs extends _SVGElementJs implements SVGCursorElement nati
ve "*SVGCursorElement" { |
| 9608 |
| 9609 final _SVGAnimatedLengthJs x; |
| 9610 |
| 9611 final _SVGAnimatedLengthJs y; |
| 9612 |
| 9613 // From SVGURIReference |
| 9614 |
| 9615 final _SVGAnimatedStringJs href; |
| 9616 |
| 9617 // From SVGTests |
| 9618 |
| 9619 final _SVGStringListJs requiredExtensions; |
| 9620 |
| 9621 final _SVGStringListJs requiredFeatures; |
| 9622 |
| 9623 final _SVGStringListJs systemLanguage; |
| 9624 |
| 9625 bool hasExtension(String extension) native; |
| 9626 |
| 9627 // From SVGExternalResourcesRequired |
| 9628 |
| 9629 final _SVGAnimatedBooleanJs externalResourcesRequired; |
| 9630 } |
| 9631 |
| 9632 class _SVGDefsElementJs extends _SVGElementJs implements SVGDefsElement native "
*SVGDefsElement" { |
| 9633 |
| 9634 // From SVGTests |
| 9635 |
| 9636 final _SVGStringListJs requiredExtensions; |
| 9637 |
| 9638 final _SVGStringListJs requiredFeatures; |
| 9639 |
| 9640 final _SVGStringListJs systemLanguage; |
| 9641 |
| 9642 bool hasExtension(String extension) native; |
| 9643 |
| 9644 // From SVGLangSpace |
| 9645 |
| 9646 String xmllang; |
| 9647 |
| 9648 String xmlspace; |
| 9649 |
| 9650 // From SVGExternalResourcesRequired |
| 9651 |
| 9652 final _SVGAnimatedBooleanJs externalResourcesRequired; |
| 9653 |
| 9654 // From SVGStylable |
| 9655 |
| 9656 _SVGAnimatedStringJs get _className() native "return this.className;"; |
| 9657 |
| 9658 // Use implementation from Element. |
| 9659 // final _CSSStyleDeclarationJs style; |
| 9660 |
| 9661 _CSSValueJs getPresentationAttribute(String name) native; |
| 9662 |
| 9663 // From SVGTransformable |
| 9664 |
| 9665 final _SVGAnimatedTransformListJs transform; |
| 9666 |
| 9667 // From SVGLocatable |
| 9668 |
| 9669 final _SVGElementJs farthestViewportElement; |
| 9670 |
| 9671 final _SVGElementJs nearestViewportElement; |
| 9672 |
| 9673 _SVGRectJs getBBox() native; |
| 9674 |
| 9675 _SVGMatrixJs getCTM() native; |
| 9676 |
| 9677 _SVGMatrixJs getScreenCTM() native; |
| 9678 |
| 9679 _SVGMatrixJs getTransformToElement(_SVGElementJs element) native; |
| 9680 } |
| 9681 |
| 9682 class _SVGDescElementJs extends _SVGElementJs implements SVGDescElement native "
*SVGDescElement" { |
| 9683 |
| 9684 // From SVGLangSpace |
| 9685 |
| 9686 String xmllang; |
| 9687 |
| 9688 String xmlspace; |
| 9689 |
| 9690 // From SVGStylable |
| 9691 |
| 9692 _SVGAnimatedStringJs get _className() native "return this.className;"; |
| 9693 |
| 9694 // Use implementation from Element. |
| 9695 // final _CSSStyleDeclarationJs style; |
| 9696 |
| 9697 _CSSValueJs getPresentationAttribute(String name) native; |
| 9698 } |
| 9699 |
| 9700 class _SVGDocumentJs extends _DocumentJs implements SVGDocument native "*SVGDocu
ment" { |
| 9701 |
| 9702 final _SVGSVGElementJs rootElement; |
| 9703 |
| 9704 _EventJs _createEvent(String eventType) native "return this.createEvent(eventT
ype);"; |
| 9705 } |
| 9706 |
| 9707 class _SVGElementJs extends _ElementJs implements SVGElement native "*SVGElement
" { |
| 9708 |
| 9709 // Shadowing definition. |
| 9710 String get id() native "return this.id;"; |
| 9711 |
| 9712 void set id(String value) native "this.id = value;"; |
| 9713 |
| 9714 final _SVGSVGElementJs ownerSVGElement; |
| 9715 |
| 9716 final _SVGElementJs viewportElement; |
| 9717 |
| 9718 String xmlbase; |
| 9719 } |
| 9720 |
| 9721 class _SVGElementInstanceJs implements SVGElementInstance native "*SVGElementIns
tance" { |
| 9722 |
| 9723 final _SVGElementInstanceListJs childNodes; |
| 9724 |
| 9725 final _SVGElementJs correspondingElement; |
| 9726 |
| 9727 final _SVGUseElementJs correspondingUseElement; |
| 9728 |
| 9729 final _SVGElementInstanceJs firstChild; |
| 9730 |
| 9731 final _SVGElementInstanceJs lastChild; |
| 9732 |
| 9733 final _SVGElementInstanceJs nextSibling; |
| 9734 |
| 9735 final _SVGElementInstanceJs parentNode; |
| 9736 |
| 9737 final _SVGElementInstanceJs previousSibling; |
| 9738 |
| 9739 _SVGElementInstanceEventsImpl get on() => |
| 9740 new _SVGElementInstanceEventsImpl(this); |
| 9741 |
| 9742 void _addEventListener(String type, EventListener listener, [bool useCapture =
null]) native "this.addEventListener(type, listener, useCapture);"; |
| 9743 |
| 9744 bool _dispatchEvent(_EventJs event) native "return this.dispatchEvent(event);"
; |
| 9745 |
| 9746 void _removeEventListener(String type, EventListener listener, [bool useCaptur
e = null]) native "this.removeEventListener(type, listener, useCapture);"; |
| 9747 } |
| 9748 |
| 9749 class _SVGElementInstanceEventsImpl extends _EventsImpl implements SVGElementIns
tanceEvents { |
| 9750 _SVGElementInstanceEventsImpl(_ptr) : super(_ptr); |
| 9751 |
| 9752 EventListenerList get abort() => _get('abort'); |
| 9753 |
| 9754 EventListenerList get beforeCopy() => _get('beforecopy'); |
| 9755 |
| 9756 EventListenerList get beforeCut() => _get('beforecut'); |
| 9757 |
| 9758 EventListenerList get beforePaste() => _get('beforepaste'); |
| 9759 |
| 9760 EventListenerList get blur() => _get('blur'); |
| 9761 |
| 9762 EventListenerList get change() => _get('change'); |
| 9763 |
| 9764 EventListenerList get click() => _get('click'); |
| 9765 |
| 9766 EventListenerList get contextMenu() => _get('contextmenu'); |
| 9767 |
| 9768 EventListenerList get copy() => _get('copy'); |
| 9769 |
| 9770 EventListenerList get cut() => _get('cut'); |
| 9771 |
| 9772 EventListenerList get doubleClick() => _get('dblclick'); |
| 9773 |
| 9774 EventListenerList get drag() => _get('drag'); |
| 9775 |
| 9776 EventListenerList get dragEnd() => _get('dragend'); |
| 9777 |
| 9778 EventListenerList get dragEnter() => _get('dragenter'); |
| 9779 |
| 9780 EventListenerList get dragLeave() => _get('dragleave'); |
| 9781 |
| 9782 EventListenerList get dragOver() => _get('dragover'); |
| 9783 |
| 9784 EventListenerList get dragStart() => _get('dragstart'); |
| 9785 |
| 9786 EventListenerList get drop() => _get('drop'); |
| 9787 |
| 9788 EventListenerList get error() => _get('error'); |
| 9789 |
| 9790 EventListenerList get focus() => _get('focus'); |
| 9791 |
| 9792 EventListenerList get input() => _get('input'); |
| 9793 |
| 9794 EventListenerList get keyDown() => _get('keydown'); |
| 9795 |
| 9796 EventListenerList get keyPress() => _get('keypress'); |
| 9797 |
| 9798 EventListenerList get keyUp() => _get('keyup'); |
| 9799 |
| 9800 EventListenerList get load() => _get('load'); |
| 9801 |
| 9802 EventListenerList get mouseDown() => _get('mousedown'); |
| 9803 |
| 9804 EventListenerList get mouseMove() => _get('mousemove'); |
| 9805 |
| 9806 EventListenerList get mouseOut() => _get('mouseout'); |
| 9807 |
| 9808 EventListenerList get mouseOver() => _get('mouseover'); |
| 9809 |
| 9810 EventListenerList get mouseUp() => _get('mouseup'); |
| 9811 |
| 9812 EventListenerList get mouseWheel() => _get('mousewheel'); |
| 9813 |
| 9814 EventListenerList get paste() => _get('paste'); |
| 9815 |
| 9816 EventListenerList get reset() => _get('reset'); |
| 9817 |
| 9818 EventListenerList get resize() => _get('resize'); |
| 9819 |
| 9820 EventListenerList get scroll() => _get('scroll'); |
| 9821 |
| 9822 EventListenerList get search() => _get('search'); |
| 9823 |
| 9824 EventListenerList get select() => _get('select'); |
| 9825 |
| 9826 EventListenerList get selectStart() => _get('selectstart'); |
| 9827 |
| 9828 EventListenerList get submit() => _get('submit'); |
| 9829 |
| 9830 EventListenerList get unload() => _get('unload'); |
| 9831 } |
| 9832 |
| 9833 class _SVGElementInstanceListJs implements SVGElementInstanceList native "*SVGEl
ementInstanceList" { |
| 9834 |
| 9835 final int length; |
| 9836 |
| 9837 _SVGElementInstanceJs item(int index) native; |
| 9838 } |
| 9839 |
| 9840 class _SVGEllipseElementJs extends _SVGElementJs implements SVGEllipseElement na
tive "*SVGEllipseElement" { |
| 9841 |
| 9842 final _SVGAnimatedLengthJs cx; |
| 9843 |
| 9844 final _SVGAnimatedLengthJs cy; |
| 9845 |
| 9846 final _SVGAnimatedLengthJs rx; |
| 9847 |
| 9848 final _SVGAnimatedLengthJs ry; |
| 9849 |
| 9850 // From SVGTests |
| 9851 |
| 9852 final _SVGStringListJs requiredExtensions; |
| 9853 |
| 9854 final _SVGStringListJs requiredFeatures; |
| 9855 |
| 9856 final _SVGStringListJs systemLanguage; |
| 9857 |
| 9858 bool hasExtension(String extension) native; |
| 9859 |
| 9860 // From SVGLangSpace |
| 9861 |
| 9862 String xmllang; |
| 9863 |
| 9864 String xmlspace; |
| 9865 |
| 9866 // From SVGExternalResourcesRequired |
| 9867 |
| 9868 final _SVGAnimatedBooleanJs externalResourcesRequired; |
| 9869 |
| 9870 // From SVGStylable |
| 9871 |
| 9872 _SVGAnimatedStringJs get _className() native "return this.className;"; |
| 9873 |
| 9874 // Use implementation from Element. |
| 9875 // final _CSSStyleDeclarationJs style; |
| 9876 |
| 9877 _CSSValueJs getPresentationAttribute(String name) native; |
| 9878 |
| 9879 // From SVGTransformable |
| 9880 |
| 9881 final _SVGAnimatedTransformListJs transform; |
| 9882 |
| 9883 // From SVGLocatable |
| 9884 |
| 9885 final _SVGElementJs farthestViewportElement; |
| 9886 |
| 9887 final _SVGElementJs nearestViewportElement; |
| 9888 |
| 9889 _SVGRectJs getBBox() native; |
| 9890 |
| 9891 _SVGMatrixJs getCTM() native; |
| 9892 |
| 9893 _SVGMatrixJs getScreenCTM() native; |
| 9894 |
| 9895 _SVGMatrixJs getTransformToElement(_SVGElementJs element) native; |
| 9896 } |
| 9897 |
| 9898 class _SVGExceptionJs implements SVGException native "*SVGException" { |
| 9899 |
| 9900 static final int SVG_INVALID_VALUE_ERR = 1; |
| 9901 |
| 9902 static final int SVG_MATRIX_NOT_INVERTABLE = 2; |
| 9903 |
| 9904 static final int SVG_WRONG_TYPE_ERR = 0; |
| 9905 |
| 9906 final int code; |
| 9907 |
| 9908 final String message; |
| 9909 |
| 9910 final String name; |
| 9911 |
| 9912 String toString() native; |
| 9913 } |
| 9914 |
| 9915 class _SVGExternalResourcesRequiredJs implements SVGExternalResourcesRequired na
tive "*SVGExternalResourcesRequired" { |
| 9916 |
| 9917 final _SVGAnimatedBooleanJs externalResourcesRequired; |
| 9918 } |
| 9919 |
| 9920 class _SVGFEBlendElementJs extends _SVGElementJs implements SVGFEBlendElement na
tive "*SVGFEBlendElement" { |
| 9921 |
| 9922 static final int SVG_FEBLEND_MODE_DARKEN = 4; |
| 9923 |
| 9924 static final int SVG_FEBLEND_MODE_LIGHTEN = 5; |
| 9925 |
| 9926 static final int SVG_FEBLEND_MODE_MULTIPLY = 2; |
| 9927 |
| 9928 static final int SVG_FEBLEND_MODE_NORMAL = 1; |
| 9929 |
| 9930 static final int SVG_FEBLEND_MODE_SCREEN = 3; |
| 9931 |
| 9932 static final int SVG_FEBLEND_MODE_UNKNOWN = 0; |
| 9933 |
| 9934 final _SVGAnimatedStringJs in1; |
| 9935 |
| 9936 final _SVGAnimatedStringJs in2; |
| 9937 |
| 9938 final _SVGAnimatedEnumerationJs mode; |
| 9939 |
| 9940 // From SVGFilterPrimitiveStandardAttributes |
| 9941 |
| 9942 final _SVGAnimatedLengthJs height; |
| 9943 |
| 9944 final _SVGAnimatedStringJs result; |
| 9945 |
| 9946 final _SVGAnimatedLengthJs width; |
| 9947 |
| 9948 final _SVGAnimatedLengthJs x; |
| 9949 |
| 9950 final _SVGAnimatedLengthJs y; |
| 9951 |
| 9952 // From SVGStylable |
| 9953 |
| 9954 _SVGAnimatedStringJs get _className() native "return this.className;"; |
| 9955 |
| 9956 // Use implementation from Element. |
| 9957 // final _CSSStyleDeclarationJs style; |
| 9958 |
| 9959 _CSSValueJs getPresentationAttribute(String name) native; |
| 9960 } |
| 9961 |
| 9962 class _SVGFEColorMatrixElementJs extends _SVGElementJs implements SVGFEColorMatr
ixElement native "*SVGFEColorMatrixElement" { |
| 9963 |
| 9964 static final int SVG_FECOLORMATRIX_TYPE_HUEROTATE = 3; |
| 9965 |
| 9966 static final int SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA = 4; |
| 9967 |
| 9968 static final int SVG_FECOLORMATRIX_TYPE_MATRIX = 1; |
| 9969 |
| 9970 static final int SVG_FECOLORMATRIX_TYPE_SATURATE = 2; |
| 9971 |
| 9972 static final int SVG_FECOLORMATRIX_TYPE_UNKNOWN = 0; |
| 9973 |
| 9974 final _SVGAnimatedStringJs in1; |
| 9975 |
| 9976 final _SVGAnimatedEnumerationJs type; |
| 9977 |
| 9978 final _SVGAnimatedNumberListJs values; |
| 9979 |
| 9980 // From SVGFilterPrimitiveStandardAttributes |
| 9981 |
| 9982 final _SVGAnimatedLengthJs height; |
| 9983 |
| 9984 final _SVGAnimatedStringJs result; |
| 9985 |
| 9986 final _SVGAnimatedLengthJs width; |
| 9987 |
| 9988 final _SVGAnimatedLengthJs x; |
| 9989 |
| 9990 final _SVGAnimatedLengthJs y; |
| 9991 |
| 9992 // From SVGStylable |
| 9993 |
| 9994 _SVGAnimatedStringJs get _className() native "return this.className;"; |
| 9995 |
| 9996 // Use implementation from Element. |
| 9997 // final _CSSStyleDeclarationJs style; |
| 9998 |
| 9999 _CSSValueJs getPresentationAttribute(String name) native; |
| 10000 } |
| 10001 |
| 10002 class _SVGFEComponentTransferElementJs extends _SVGElementJs implements SVGFECom
ponentTransferElement native "*SVGFEComponentTransferElement" { |
| 10003 |
| 10004 final _SVGAnimatedStringJs in1; |
| 10005 |
| 10006 // From SVGFilterPrimitiveStandardAttributes |
| 10007 |
| 10008 final _SVGAnimatedLengthJs height; |
| 10009 |
| 10010 final _SVGAnimatedStringJs result; |
| 10011 |
| 10012 final _SVGAnimatedLengthJs width; |
| 10013 |
| 10014 final _SVGAnimatedLengthJs x; |
| 10015 |
| 10016 final _SVGAnimatedLengthJs y; |
| 10017 |
| 10018 // From SVGStylable |
| 10019 |
| 10020 _SVGAnimatedStringJs get _className() native "return this.className;"; |
| 10021 |
| 10022 // Use implementation from Element. |
| 10023 // final _CSSStyleDeclarationJs style; |
| 10024 |
| 10025 _CSSValueJs getPresentationAttribute(String name) native; |
| 10026 } |
| 10027 |
| 10028 class _SVGFECompositeElementJs extends _SVGElementJs implements SVGFECompositeEl
ement native "*SVGFECompositeElement" { |
| 10029 |
| 10030 static final int SVG_FECOMPOSITE_OPERATOR_ARITHMETIC = 6; |
| 10031 |
| 10032 static final int SVG_FECOMPOSITE_OPERATOR_ATOP = 4; |
| 10033 |
| 10034 static final int SVG_FECOMPOSITE_OPERATOR_IN = 2; |
| 10035 |
| 10036 static final int SVG_FECOMPOSITE_OPERATOR_OUT = 3; |
| 10037 |
| 10038 static final int SVG_FECOMPOSITE_OPERATOR_OVER = 1; |
| 10039 |
| 10040 static final int SVG_FECOMPOSITE_OPERATOR_UNKNOWN = 0; |
| 10041 |
| 10042 static final int SVG_FECOMPOSITE_OPERATOR_XOR = 5; |
| 10043 |
| 10044 final _SVGAnimatedStringJs in1; |
| 10045 |
| 10046 final _SVGAnimatedStringJs in2; |
| 10047 |
| 10048 final _SVGAnimatedNumberJs k1; |
| 10049 |
| 10050 final _SVGAnimatedNumberJs k2; |
| 10051 |
| 10052 final _SVGAnimatedNumberJs k3; |
| 10053 |
| 10054 final _SVGAnimatedNumberJs k4; |
| 10055 |
| 10056 final _SVGAnimatedEnumerationJs operator; |
| 10057 |
| 10058 // From SVGFilterPrimitiveStandardAttributes |
| 10059 |
| 10060 final _SVGAnimatedLengthJs height; |
| 10061 |
| 10062 final _SVGAnimatedStringJs result; |
| 10063 |
| 10064 final _SVGAnimatedLengthJs width; |
| 10065 |
| 10066 final _SVGAnimatedLengthJs x; |
| 10067 |
| 10068 final _SVGAnimatedLengthJs y; |
| 10069 |
| 10070 // From SVGStylable |
| 10071 |
| 10072 _SVGAnimatedStringJs get _className() native "return this.className;"; |
| 10073 |
| 10074 // Use implementation from Element. |
| 10075 // final _CSSStyleDeclarationJs style; |
| 10076 |
| 10077 _CSSValueJs getPresentationAttribute(String name) native; |
| 10078 } |
| 10079 |
| 10080 class _SVGFEConvolveMatrixElementJs extends _SVGElementJs implements SVGFEConvol
veMatrixElement native "*SVGFEConvolveMatrixElement" { |
| 10081 |
| 10082 static final int SVG_EDGEMODE_DUPLICATE = 1; |
| 10083 |
| 10084 static final int SVG_EDGEMODE_NONE = 3; |
| 10085 |
| 10086 static final int SVG_EDGEMODE_UNKNOWN = 0; |
| 10087 |
| 10088 static final int SVG_EDGEMODE_WRAP = 2; |
| 10089 |
| 10090 final _SVGAnimatedNumberJs bias; |
| 10091 |
| 10092 final _SVGAnimatedNumberJs divisor; |
| 10093 |
| 10094 final _SVGAnimatedEnumerationJs edgeMode; |
| 10095 |
| 10096 final _SVGAnimatedStringJs in1; |
| 10097 |
| 10098 final _SVGAnimatedNumberListJs kernelMatrix; |
| 10099 |
| 10100 final _SVGAnimatedNumberJs kernelUnitLengthX; |
| 10101 |
| 10102 final _SVGAnimatedNumberJs kernelUnitLengthY; |
| 10103 |
| 10104 final _SVGAnimatedIntegerJs orderX; |
| 10105 |
| 10106 final _SVGAnimatedIntegerJs orderY; |
| 10107 |
| 10108 final _SVGAnimatedBooleanJs preserveAlpha; |
| 10109 |
| 10110 final _SVGAnimatedIntegerJs targetX; |
| 10111 |
| 10112 final _SVGAnimatedIntegerJs targetY; |
| 10113 |
| 10114 // From SVGFilterPrimitiveStandardAttributes |
| 10115 |
| 10116 final _SVGAnimatedLengthJs height; |
| 10117 |
| 10118 final _SVGAnimatedStringJs result; |
| 10119 |
| 10120 final _SVGAnimatedLengthJs width; |
| 10121 |
| 10122 final _SVGAnimatedLengthJs x; |
| 10123 |
| 10124 final _SVGAnimatedLengthJs y; |
| 10125 |
| 10126 // From SVGStylable |
| 10127 |
| 10128 _SVGAnimatedStringJs get _className() native "return this.className;"; |
| 10129 |
| 10130 // Use implementation from Element. |
| 10131 // final _CSSStyleDeclarationJs style; |
| 10132 |
| 10133 _CSSValueJs getPresentationAttribute(String name) native; |
| 10134 } |
| 10135 |
| 10136 class _SVGFEDiffuseLightingElementJs extends _SVGElementJs implements SVGFEDiffu
seLightingElement native "*SVGFEDiffuseLightingElement" { |
| 10137 |
| 10138 final _SVGAnimatedNumberJs diffuseConstant; |
| 10139 |
| 10140 final _SVGAnimatedStringJs in1; |
| 10141 |
| 10142 final _SVGAnimatedNumberJs kernelUnitLengthX; |
| 10143 |
| 10144 final _SVGAnimatedNumberJs kernelUnitLengthY; |
| 10145 |
| 10146 final _SVGAnimatedNumberJs surfaceScale; |
| 10147 |
| 10148 // From SVGFilterPrimitiveStandardAttributes |
| 10149 |
| 10150 final _SVGAnimatedLengthJs height; |
| 10151 |
| 10152 final _SVGAnimatedStringJs result; |
| 10153 |
| 10154 final _SVGAnimatedLengthJs width; |
| 10155 |
| 10156 final _SVGAnimatedLengthJs x; |
| 10157 |
| 10158 final _SVGAnimatedLengthJs y; |
| 10159 |
| 10160 // From SVGStylable |
| 10161 |
| 10162 _SVGAnimatedStringJs get _className() native "return this.className;"; |
| 10163 |
| 10164 // Use implementation from Element. |
| 10165 // final _CSSStyleDeclarationJs style; |
| 10166 |
| 10167 _CSSValueJs getPresentationAttribute(String name) native; |
| 10168 } |
| 10169 |
| 10170 class _SVGFEDisplacementMapElementJs extends _SVGElementJs implements SVGFEDispl
acementMapElement native "*SVGFEDisplacementMapElement" { |
| 10171 |
| 10172 static final int SVG_CHANNEL_A = 4; |
| 10173 |
| 10174 static final int SVG_CHANNEL_B = 3; |
| 10175 |
| 10176 static final int SVG_CHANNEL_G = 2; |
| 10177 |
| 10178 static final int SVG_CHANNEL_R = 1; |
| 10179 |
| 10180 static final int SVG_CHANNEL_UNKNOWN = 0; |
| 10181 |
| 10182 final _SVGAnimatedStringJs in1; |
| 10183 |
| 10184 final _SVGAnimatedStringJs in2; |
| 10185 |
| 10186 final _SVGAnimatedNumberJs scale; |
| 10187 |
| 10188 final _SVGAnimatedEnumerationJs xChannelSelector; |
| 10189 |
| 10190 final _SVGAnimatedEnumerationJs yChannelSelector; |
| 10191 |
| 10192 // From SVGFilterPrimitiveStandardAttributes |
| 10193 |
| 10194 final _SVGAnimatedLengthJs height; |
| 10195 |
| 10196 final _SVGAnimatedStringJs result; |
| 10197 |
| 10198 final _SVGAnimatedLengthJs width; |
| 10199 |
| 10200 final _SVGAnimatedLengthJs x; |
| 10201 |
| 10202 final _SVGAnimatedLengthJs y; |
| 10203 |
| 10204 // From SVGStylable |
| 10205 |
| 10206 _SVGAnimatedStringJs get _className() native "return this.className;"; |
| 10207 |
| 10208 // Use implementation from Element. |
| 10209 // final _CSSStyleDeclarationJs style; |
| 10210 |
| 10211 _CSSValueJs getPresentationAttribute(String name) native; |
| 10212 } |
| 10213 |
| 10214 class _SVGFEDistantLightElementJs extends _SVGElementJs implements SVGFEDistantL
ightElement native "*SVGFEDistantLightElement" { |
| 10215 |
| 10216 final _SVGAnimatedNumberJs azimuth; |
| 10217 |
| 10218 final _SVGAnimatedNumberJs elevation; |
| 10219 } |
| 10220 |
| 10221 class _SVGFEDropShadowElementJs extends _SVGElementJs implements SVGFEDropShadow
Element native "*SVGFEDropShadowElement" { |
| 10222 |
| 10223 final _SVGAnimatedNumberJs dx; |
| 10224 |
| 10225 final _SVGAnimatedNumberJs dy; |
| 10226 |
| 10227 final _SVGAnimatedStringJs in1; |
| 10228 |
| 10229 final _SVGAnimatedNumberJs stdDeviationX; |
| 10230 |
| 10231 final _SVGAnimatedNumberJs stdDeviationY; |
| 10232 |
| 10233 void setStdDeviation(num stdDeviationX, num stdDeviationY) native; |
| 10234 |
| 10235 // From SVGFilterPrimitiveStandardAttributes |
| 10236 |
| 10237 final _SVGAnimatedLengthJs height; |
| 10238 |
| 10239 final _SVGAnimatedStringJs result; |
| 10240 |
| 10241 final _SVGAnimatedLengthJs width; |
| 10242 |
| 10243 final _SVGAnimatedLengthJs x; |
| 10244 |
| 10245 final _SVGAnimatedLengthJs y; |
| 10246 |
| 10247 // From SVGStylable |
| 10248 |
| 10249 _SVGAnimatedStringJs get _className() native "return this.className;"; |
| 10250 |
| 10251 // Use implementation from Element. |
| 10252 // final _CSSStyleDeclarationJs style; |
| 10253 |
| 10254 _CSSValueJs getPresentationAttribute(String name) native; |
| 10255 } |
| 10256 |
| 10257 class _SVGFEFloodElementJs extends _SVGElementJs implements SVGFEFloodElement na
tive "*SVGFEFloodElement" { |
| 10258 |
| 10259 // From SVGFilterPrimitiveStandardAttributes |
| 10260 |
| 10261 final _SVGAnimatedLengthJs height; |
| 10262 |
| 10263 final _SVGAnimatedStringJs result; |
| 10264 |
| 10265 final _SVGAnimatedLengthJs width; |
| 10266 |
| 10267 final _SVGAnimatedLengthJs x; |
| 10268 |
| 10269 final _SVGAnimatedLengthJs y; |
| 10270 |
| 10271 // From SVGStylable |
| 10272 |
| 10273 _SVGAnimatedStringJs get _className() native "return this.className;"; |
| 10274 |
| 10275 // Use implementation from Element. |
| 10276 // final _CSSStyleDeclarationJs style; |
| 10277 |
| 10278 _CSSValueJs getPresentationAttribute(String name) native; |
| 10279 } |
| 10280 |
| 10281 class _SVGFEFuncAElementJs extends _SVGComponentTransferFunctionElementJs implem
ents SVGFEFuncAElement native "*SVGFEFuncAElement" { |
| 10282 } |
| 10283 |
| 10284 class _SVGFEFuncBElementJs extends _SVGComponentTransferFunctionElementJs implem
ents SVGFEFuncBElement native "*SVGFEFuncBElement" { |
| 10285 } |
| 10286 |
| 10287 class _SVGFEFuncGElementJs extends _SVGComponentTransferFunctionElementJs implem
ents SVGFEFuncGElement native "*SVGFEFuncGElement" { |
| 10288 } |
| 10289 |
| 10290 class _SVGFEFuncRElementJs extends _SVGComponentTransferFunctionElementJs implem
ents SVGFEFuncRElement native "*SVGFEFuncRElement" { |
| 10291 } |
| 10292 |
| 10293 class _SVGFEGaussianBlurElementJs extends _SVGElementJs implements SVGFEGaussian
BlurElement native "*SVGFEGaussianBlurElement" { |
| 10294 |
| 10295 final _SVGAnimatedStringJs in1; |
| 10296 |
| 10297 final _SVGAnimatedNumberJs stdDeviationX; |
| 10298 |
| 10299 final _SVGAnimatedNumberJs stdDeviationY; |
| 10300 |
| 10301 void setStdDeviation(num stdDeviationX, num stdDeviationY) native; |
| 10302 |
| 10303 // From SVGFilterPrimitiveStandardAttributes |
| 10304 |
| 10305 final _SVGAnimatedLengthJs height; |
| 10306 |
| 10307 final _SVGAnimatedStringJs result; |
| 10308 |
| 10309 final _SVGAnimatedLengthJs width; |
| 10310 |
| 10311 final _SVGAnimatedLengthJs x; |
| 10312 |
| 10313 final _SVGAnimatedLengthJs y; |
| 10314 |
| 10315 // From SVGStylable |
| 10316 |
| 10317 _SVGAnimatedStringJs get _className() native "return this.className;"; |
| 10318 |
| 10319 // Use implementation from Element. |
| 10320 // final _CSSStyleDeclarationJs style; |
| 10321 |
| 10322 _CSSValueJs getPresentationAttribute(String name) native; |
| 10323 } |
| 10324 |
| 10325 class _SVGFEImageElementJs extends _SVGElementJs implements SVGFEImageElement na
tive "*SVGFEImageElement" { |
| 10326 |
| 10327 final _SVGAnimatedPreserveAspectRatioJs preserveAspectRatio; |
| 10328 |
| 10329 // From SVGURIReference |
| 10330 |
| 10331 final _SVGAnimatedStringJs href; |
| 10332 |
| 10333 // From SVGLangSpace |
| 10334 |
| 10335 String xmllang; |
| 10336 |
| 10337 String xmlspace; |
| 10338 |
| 10339 // From SVGExternalResourcesRequired |
| 10340 |
| 10341 final _SVGAnimatedBooleanJs externalResourcesRequired; |
| 10342 |
| 10343 // From SVGFilterPrimitiveStandardAttributes |
| 10344 |
| 10345 final _SVGAnimatedLengthJs height; |
| 10346 |
| 10347 final _SVGAnimatedStringJs result; |
| 10348 |
| 10349 final _SVGAnimatedLengthJs width; |
| 10350 |
| 10351 final _SVGAnimatedLengthJs x; |
| 10352 |
| 10353 final _SVGAnimatedLengthJs y; |
| 10354 |
| 10355 // From SVGStylable |
| 10356 |
| 10357 _SVGAnimatedStringJs get _className() native "return this.className;"; |
| 10358 |
| 10359 // Use implementation from Element. |
| 10360 // final _CSSStyleDeclarationJs style; |
| 10361 |
| 10362 _CSSValueJs getPresentationAttribute(String name) native; |
| 10363 } |
| 10364 |
| 10365 class _SVGFEMergeElementJs extends _SVGElementJs implements SVGFEMergeElement na
tive "*SVGFEMergeElement" { |
| 10366 |
| 10367 // From SVGFilterPrimitiveStandardAttributes |
| 10368 |
| 10369 final _SVGAnimatedLengthJs height; |
| 10370 |
| 10371 final _SVGAnimatedStringJs result; |
| 10372 |
| 10373 final _SVGAnimatedLengthJs width; |
| 10374 |
| 10375 final _SVGAnimatedLengthJs x; |
| 10376 |
| 10377 final _SVGAnimatedLengthJs y; |
| 10378 |
| 10379 // From SVGStylable |
| 10380 |
| 10381 _SVGAnimatedStringJs get _className() native "return this.className;"; |
| 10382 |
| 10383 // Use implementation from Element. |
| 10384 // final _CSSStyleDeclarationJs style; |
| 10385 |
| 10386 _CSSValueJs getPresentationAttribute(String name) native; |
| 10387 } |
| 10388 |
| 10389 class _SVGFEMergeNodeElementJs extends _SVGElementJs implements SVGFEMergeNodeEl
ement native "*SVGFEMergeNodeElement" { |
| 10390 |
| 10391 final _SVGAnimatedStringJs in1; |
| 10392 } |
| 10393 |
| 10394 class _SVGFEMorphologyElementJs extends _SVGElementJs implements SVGFEMorphology
Element native "*SVGFEMorphologyElement" { |
| 10395 |
| 10396 static final int SVG_MORPHOLOGY_OPERATOR_DILATE = 2; |
| 10397 |
| 10398 static final int SVG_MORPHOLOGY_OPERATOR_ERODE = 1; |
| 10399 |
| 10400 static final int SVG_MORPHOLOGY_OPERATOR_UNKNOWN = 0; |
| 10401 |
| 10402 final _SVGAnimatedStringJs in1; |
| 10403 |
| 10404 final _SVGAnimatedEnumerationJs operator; |
| 10405 |
| 10406 final _SVGAnimatedNumberJs radiusX; |
| 10407 |
| 10408 final _SVGAnimatedNumberJs radiusY; |
| 10409 |
| 10410 void setRadius(num radiusX, num radiusY) native; |
| 10411 |
| 10412 // From SVGFilterPrimitiveStandardAttributes |
| 10413 |
| 10414 final _SVGAnimatedLengthJs height; |
| 10415 |
| 10416 final _SVGAnimatedStringJs result; |
| 10417 |
| 10418 final _SVGAnimatedLengthJs width; |
| 10419 |
| 10420 final _SVGAnimatedLengthJs x; |
| 10421 |
| 10422 final _SVGAnimatedLengthJs y; |
| 10423 |
| 10424 // From SVGStylable |
| 10425 |
| 10426 _SVGAnimatedStringJs get _className() native "return this.className;"; |
| 10427 |
| 10428 // Use implementation from Element. |
| 10429 // final _CSSStyleDeclarationJs style; |
| 10430 |
| 10431 _CSSValueJs getPresentationAttribute(String name) native; |
| 10432 } |
| 10433 |
| 10434 class _SVGFEOffsetElementJs extends _SVGElementJs implements SVGFEOffsetElement
native "*SVGFEOffsetElement" { |
| 10435 |
| 10436 final _SVGAnimatedNumberJs dx; |
| 10437 |
| 10438 final _SVGAnimatedNumberJs dy; |
| 10439 |
| 10440 final _SVGAnimatedStringJs in1; |
| 10441 |
| 10442 // From SVGFilterPrimitiveStandardAttributes |
| 10443 |
| 10444 final _SVGAnimatedLengthJs height; |
| 10445 |
| 10446 final _SVGAnimatedStringJs result; |
| 10447 |
| 10448 final _SVGAnimatedLengthJs width; |
| 10449 |
| 10450 final _SVGAnimatedLengthJs x; |
| 10451 |
| 10452 final _SVGAnimatedLengthJs y; |
| 10453 |
| 10454 // From SVGStylable |
| 10455 |
| 10456 _SVGAnimatedStringJs get _className() native "return this.className;"; |
| 10457 |
| 10458 // Use implementation from Element. |
| 10459 // final _CSSStyleDeclarationJs style; |
| 10460 |
| 10461 _CSSValueJs getPresentationAttribute(String name) native; |
| 10462 } |
| 10463 |
| 10464 class _SVGFEPointLightElementJs extends _SVGElementJs implements SVGFEPointLight
Element native "*SVGFEPointLightElement" { |
| 10465 |
| 10466 final _SVGAnimatedNumberJs x; |
| 10467 |
| 10468 final _SVGAnimatedNumberJs y; |
| 10469 |
| 10470 final _SVGAnimatedNumberJs z; |
| 10471 } |
| 10472 |
| 10473 class _SVGFESpecularLightingElementJs extends _SVGElementJs implements SVGFESpec
ularLightingElement native "*SVGFESpecularLightingElement" { |
| 10474 |
| 10475 final _SVGAnimatedStringJs in1; |
| 10476 |
| 10477 final _SVGAnimatedNumberJs specularConstant; |
| 10478 |
| 10479 final _SVGAnimatedNumberJs specularExponent; |
| 10480 |
| 10481 final _SVGAnimatedNumberJs surfaceScale; |
| 10482 |
| 10483 // From SVGFilterPrimitiveStandardAttributes |
| 10484 |
| 10485 final _SVGAnimatedLengthJs height; |
| 10486 |
| 10487 final _SVGAnimatedStringJs result; |
| 10488 |
| 10489 final _SVGAnimatedLengthJs width; |
| 10490 |
| 10491 final _SVGAnimatedLengthJs x; |
| 10492 |
| 10493 final _SVGAnimatedLengthJs y; |
| 10494 |
| 10495 // From SVGStylable |
| 10496 |
| 10497 _SVGAnimatedStringJs get _className() native "return this.className;"; |
| 10498 |
| 10499 // Use implementation from Element. |
| 10500 // final _CSSStyleDeclarationJs style; |
| 10501 |
| 10502 _CSSValueJs getPresentationAttribute(String name) native; |
| 10503 } |
| 10504 |
| 10505 class _SVGFESpotLightElementJs extends _SVGElementJs implements SVGFESpotLightEl
ement native "*SVGFESpotLightElement" { |
| 10506 |
| 10507 final _SVGAnimatedNumberJs limitingConeAngle; |
| 10508 |
| 10509 final _SVGAnimatedNumberJs pointsAtX; |
| 10510 |
| 10511 final _SVGAnimatedNumberJs pointsAtY; |
| 10512 |
| 10513 final _SVGAnimatedNumberJs pointsAtZ; |
| 10514 |
| 10515 final _SVGAnimatedNumberJs specularExponent; |
| 10516 |
| 10517 final _SVGAnimatedNumberJs x; |
| 10518 |
| 10519 final _SVGAnimatedNumberJs y; |
| 10520 |
| 10521 final _SVGAnimatedNumberJs z; |
| 10522 } |
| 10523 |
| 10524 class _SVGFETileElementJs extends _SVGElementJs implements SVGFETileElement nati
ve "*SVGFETileElement" { |
| 10525 |
| 10526 final _SVGAnimatedStringJs in1; |
| 10527 |
| 10528 // From SVGFilterPrimitiveStandardAttributes |
| 10529 |
| 10530 final _SVGAnimatedLengthJs height; |
| 10531 |
| 10532 final _SVGAnimatedStringJs result; |
| 10533 |
| 10534 final _SVGAnimatedLengthJs width; |
| 10535 |
| 10536 final _SVGAnimatedLengthJs x; |
| 10537 |
| 10538 final _SVGAnimatedLengthJs y; |
| 10539 |
| 10540 // From SVGStylable |
| 10541 |
| 10542 _SVGAnimatedStringJs get _className() native "return this.className;"; |
| 10543 |
| 10544 // Use implementation from Element. |
| 10545 // final _CSSStyleDeclarationJs style; |
| 10546 |
| 10547 _CSSValueJs getPresentationAttribute(String name) native; |
| 10548 } |
| 10549 |
| 10550 class _SVGFETurbulenceElementJs extends _SVGElementJs implements SVGFETurbulence
Element native "*SVGFETurbulenceElement" { |
| 10551 |
| 10552 static final int SVG_STITCHTYPE_NOSTITCH = 2; |
| 10553 |
| 10554 static final int SVG_STITCHTYPE_STITCH = 1; |
| 10555 |
| 10556 static final int SVG_STITCHTYPE_UNKNOWN = 0; |
| 10557 |
| 10558 static final int SVG_TURBULENCE_TYPE_FRACTALNOISE = 1; |
| 10559 |
| 10560 static final int SVG_TURBULENCE_TYPE_TURBULENCE = 2; |
| 10561 |
| 10562 static final int SVG_TURBULENCE_TYPE_UNKNOWN = 0; |
| 10563 |
| 10564 final _SVGAnimatedNumberJs baseFrequencyX; |
| 10565 |
| 10566 final _SVGAnimatedNumberJs baseFrequencyY; |
| 10567 |
| 10568 final _SVGAnimatedIntegerJs numOctaves; |
| 10569 |
| 10570 final _SVGAnimatedNumberJs seed; |
| 10571 |
| 10572 final _SVGAnimatedEnumerationJs stitchTiles; |
| 10573 |
| 10574 final _SVGAnimatedEnumerationJs type; |
| 10575 |
| 10576 // From SVGFilterPrimitiveStandardAttributes |
| 10577 |
| 10578 final _SVGAnimatedLengthJs height; |
| 10579 |
| 10580 final _SVGAnimatedStringJs result; |
| 10581 |
| 10582 final _SVGAnimatedLengthJs width; |
| 10583 |
| 10584 final _SVGAnimatedLengthJs x; |
| 10585 |
| 10586 final _SVGAnimatedLengthJs y; |
| 10587 |
| 10588 // From SVGStylable |
| 10589 |
| 10590 _SVGAnimatedStringJs get _className() native "return this.className;"; |
| 10591 |
| 10592 // Use implementation from Element. |
| 10593 // final _CSSStyleDeclarationJs style; |
| 10594 |
| 10595 _CSSValueJs getPresentationAttribute(String name) native; |
| 10596 } |
| 10597 |
| 10598 class _SVGFilterElementJs extends _SVGElementJs implements SVGFilterElement nati
ve "*SVGFilterElement" { |
| 10599 |
| 10600 final _SVGAnimatedIntegerJs filterResX; |
| 10601 |
| 10602 final _SVGAnimatedIntegerJs filterResY; |
| 10603 |
| 10604 final _SVGAnimatedEnumerationJs filterUnits; |
| 10605 |
| 10606 final _SVGAnimatedLengthJs height; |
| 10607 |
| 10608 final _SVGAnimatedEnumerationJs primitiveUnits; |
| 10609 |
| 10610 final _SVGAnimatedLengthJs width; |
| 10611 |
| 10612 final _SVGAnimatedLengthJs x; |
| 10613 |
| 10614 final _SVGAnimatedLengthJs y; |
| 10615 |
| 10616 void setFilterRes(int filterResX, int filterResY) native; |
| 10617 |
| 10618 // From SVGURIReference |
| 10619 |
| 10620 final _SVGAnimatedStringJs href; |
| 10621 |
| 10622 // From SVGLangSpace |
| 10623 |
| 10624 String xmllang; |
| 10625 |
| 10626 String xmlspace; |
| 10627 |
| 10628 // From SVGExternalResourcesRequired |
| 10629 |
| 10630 final _SVGAnimatedBooleanJs externalResourcesRequired; |
| 10631 |
| 10632 // From SVGStylable |
| 10633 |
| 10634 _SVGAnimatedStringJs get _className() native "return this.className;"; |
| 10635 |
| 10636 // Use implementation from Element. |
| 10637 // final _CSSStyleDeclarationJs style; |
| 10638 |
| 10639 _CSSValueJs getPresentationAttribute(String name) native; |
| 10640 } |
| 10641 |
| 10642 class _SVGFilterPrimitiveStandardAttributesJs extends _SVGStylableJs implements
SVGFilterPrimitiveStandardAttributes native "*SVGFilterPrimitiveStandardAttribut
es" { |
| 10643 |
| 10644 final _SVGAnimatedLengthJs height; |
| 10645 |
| 10646 final _SVGAnimatedStringJs result; |
| 10647 |
| 10648 final _SVGAnimatedLengthJs width; |
| 10649 |
| 10650 final _SVGAnimatedLengthJs x; |
| 10651 |
| 10652 final _SVGAnimatedLengthJs y; |
| 10653 } |
| 10654 |
| 10655 class _SVGFitToViewBoxJs implements SVGFitToViewBox native "*SVGFitToViewBox" { |
| 10656 |
| 10657 final _SVGAnimatedPreserveAspectRatioJs preserveAspectRatio; |
| 10658 |
| 10659 final _SVGAnimatedRectJs viewBox; |
| 10660 } |
| 10661 |
| 10662 class _SVGFontElementJs extends _SVGElementJs implements SVGFontElement native "
*SVGFontElement" { |
| 10663 } |
| 10664 |
| 10665 class _SVGFontFaceElementJs extends _SVGElementJs implements SVGFontFaceElement
native "*SVGFontFaceElement" { |
| 10666 } |
| 10667 |
| 10668 class _SVGFontFaceFormatElementJs extends _SVGElementJs implements SVGFontFaceFo
rmatElement native "*SVGFontFaceFormatElement" { |
| 10669 } |
| 10670 |
| 10671 class _SVGFontFaceNameElementJs extends _SVGElementJs implements SVGFontFaceName
Element native "*SVGFontFaceNameElement" { |
| 10672 } |
| 10673 |
| 10674 class _SVGFontFaceSrcElementJs extends _SVGElementJs implements SVGFontFaceSrcEl
ement native "*SVGFontFaceSrcElement" { |
| 10675 } |
| 10676 |
| 10677 class _SVGFontFaceUriElementJs extends _SVGElementJs implements SVGFontFaceUriEl
ement native "*SVGFontFaceUriElement" { |
| 10678 } |
| 10679 |
| 10680 class _SVGForeignObjectElementJs extends _SVGElementJs implements SVGForeignObje
ctElement native "*SVGForeignObjectElement" { |
| 10681 |
| 10682 final _SVGAnimatedLengthJs height; |
| 10683 |
| 10684 final _SVGAnimatedLengthJs width; |
| 10685 |
| 10686 final _SVGAnimatedLengthJs x; |
| 10687 |
| 10688 final _SVGAnimatedLengthJs y; |
| 10689 |
| 10690 // From SVGTests |
| 10691 |
| 10692 final _SVGStringListJs requiredExtensions; |
| 10693 |
| 10694 final _SVGStringListJs requiredFeatures; |
| 10695 |
| 10696 final _SVGStringListJs systemLanguage; |
| 10697 |
| 10698 bool hasExtension(String extension) native; |
| 10699 |
| 10700 // From SVGLangSpace |
| 10701 |
| 10702 String xmllang; |
| 10703 |
| 10704 String xmlspace; |
| 10705 |
| 10706 // From SVGExternalResourcesRequired |
| 10707 |
| 10708 final _SVGAnimatedBooleanJs externalResourcesRequired; |
| 10709 |
| 10710 // From SVGStylable |
| 10711 |
| 10712 _SVGAnimatedStringJs get _className() native "return this.className;"; |
| 10713 |
| 10714 // Use implementation from Element. |
| 10715 // final _CSSStyleDeclarationJs style; |
| 10716 |
| 10717 _CSSValueJs getPresentationAttribute(String name) native; |
| 10718 |
| 10719 // From SVGTransformable |
| 10720 |
| 10721 final _SVGAnimatedTransformListJs transform; |
| 10722 |
| 10723 // From SVGLocatable |
| 10724 |
| 10725 final _SVGElementJs farthestViewportElement; |
| 10726 |
| 10727 final _SVGElementJs nearestViewportElement; |
| 10728 |
| 10729 _SVGRectJs getBBox() native; |
| 10730 |
| 10731 _SVGMatrixJs getCTM() native; |
| 10732 |
| 10733 _SVGMatrixJs getScreenCTM() native; |
| 10734 |
| 10735 _SVGMatrixJs getTransformToElement(_SVGElementJs element) native; |
| 10736 } |
| 10737 |
| 10738 class _SVGGElementJs extends _SVGElementJs implements SVGGElement native "*SVGGE
lement" { |
| 10739 |
| 10740 // From SVGTests |
| 10741 |
| 10742 final _SVGStringListJs requiredExtensions; |
| 10743 |
| 10744 final _SVGStringListJs requiredFeatures; |
| 10745 |
| 10746 final _SVGStringListJs systemLanguage; |
| 10747 |
| 10748 bool hasExtension(String extension) native; |
| 10749 |
| 10750 // From SVGLangSpace |
| 10751 |
| 10752 String xmllang; |
| 10753 |
| 10754 String xmlspace; |
| 10755 |
| 10756 // From SVGExternalResourcesRequired |
| 10757 |
| 10758 final _SVGAnimatedBooleanJs externalResourcesRequired; |
| 10759 |
| 10760 // From SVGStylable |
| 10761 |
| 10762 _SVGAnimatedStringJs get _className() native "return this.className;"; |
| 10763 |
| 10764 // Use implementation from Element. |
| 10765 // final _CSSStyleDeclarationJs style; |
| 10766 |
| 10767 _CSSValueJs getPresentationAttribute(String name) native; |
| 10768 |
| 10769 // From SVGTransformable |
| 10770 |
| 10771 final _SVGAnimatedTransformListJs transform; |
| 10772 |
| 10773 // From SVGLocatable |
| 10774 |
| 10775 final _SVGElementJs farthestViewportElement; |
| 10776 |
| 10777 final _SVGElementJs nearestViewportElement; |
| 10778 |
| 10779 _SVGRectJs getBBox() native; |
| 10780 |
| 10781 _SVGMatrixJs getCTM() native; |
| 10782 |
| 10783 _SVGMatrixJs getScreenCTM() native; |
| 10784 |
| 10785 _SVGMatrixJs getTransformToElement(_SVGElementJs element) native; |
| 10786 } |
| 10787 |
| 10788 class _SVGGlyphElementJs extends _SVGElementJs implements SVGGlyphElement native
"*SVGGlyphElement" { |
| 10789 } |
| 10790 |
| 10791 class _SVGGlyphRefElementJs extends _SVGElementJs implements SVGGlyphRefElement
native "*SVGGlyphRefElement" { |
| 10792 |
| 10793 num dx; |
| 10794 |
| 10795 num dy; |
| 10796 |
| 10797 String format; |
| 10798 |
| 10799 String glyphRef; |
| 10800 |
| 10801 num x; |
| 10802 |
| 10803 num y; |
| 10804 |
| 10805 // From SVGURIReference |
| 10806 |
| 10807 final _SVGAnimatedStringJs href; |
| 10808 |
| 10809 // From SVGStylable |
| 10810 |
| 10811 _SVGAnimatedStringJs get _className() native "return this.className;"; |
| 10812 |
| 10813 // Use implementation from Element. |
| 10814 // final _CSSStyleDeclarationJs style; |
| 10815 |
| 10816 _CSSValueJs getPresentationAttribute(String name) native; |
| 10817 } |
| 10818 |
| 10819 class _SVGGradientElementJs extends _SVGElementJs implements SVGGradientElement
native "*SVGGradientElement" { |
| 10820 |
| 10821 static final int SVG_SPREADMETHOD_PAD = 1; |
| 10822 |
| 10823 static final int SVG_SPREADMETHOD_REFLECT = 2; |
| 10824 |
| 10825 static final int SVG_SPREADMETHOD_REPEAT = 3; |
| 10826 |
| 10827 static final int SVG_SPREADMETHOD_UNKNOWN = 0; |
| 10828 |
| 10829 final _SVGAnimatedTransformListJs gradientTransform; |
| 10830 |
| 10831 final _SVGAnimatedEnumerationJs gradientUnits; |
| 10832 |
| 10833 final _SVGAnimatedEnumerationJs spreadMethod; |
| 10834 |
| 10835 // From SVGURIReference |
| 10836 |
| 10837 final _SVGAnimatedStringJs href; |
| 10838 |
| 10839 // From SVGExternalResourcesRequired |
| 10840 |
| 10841 final _SVGAnimatedBooleanJs externalResourcesRequired; |
| 10842 |
| 10843 // From SVGStylable |
| 10844 |
| 10845 _SVGAnimatedStringJs get _className() native "return this.className;"; |
| 10846 |
| 10847 // Use implementation from Element. |
| 10848 // final _CSSStyleDeclarationJs style; |
| 10849 |
| 10850 _CSSValueJs getPresentationAttribute(String name) native; |
| 10851 } |
| 10852 |
| 10853 class _SVGHKernElementJs extends _SVGElementJs implements SVGHKernElement native
"*SVGHKernElement" { |
| 10854 } |
| 10855 |
| 10856 class _SVGImageElementJs extends _SVGElementJs implements SVGImageElement native
"*SVGImageElement" { |
| 10857 |
| 10858 final _SVGAnimatedLengthJs height; |
| 10859 |
| 10860 final _SVGAnimatedPreserveAspectRatioJs preserveAspectRatio; |
| 10861 |
| 10862 final _SVGAnimatedLengthJs width; |
| 10863 |
| 10864 final _SVGAnimatedLengthJs x; |
| 10865 |
| 10866 final _SVGAnimatedLengthJs y; |
| 10867 |
| 10868 // From SVGURIReference |
| 10869 |
| 10870 final _SVGAnimatedStringJs href; |
| 10871 |
| 10872 // From SVGTests |
| 10873 |
| 10874 final _SVGStringListJs requiredExtensions; |
| 10875 |
| 10876 final _SVGStringListJs requiredFeatures; |
| 10877 |
| 10878 final _SVGStringListJs systemLanguage; |
| 10879 |
| 10880 bool hasExtension(String extension) native; |
| 10881 |
| 10882 // From SVGLangSpace |
| 10883 |
| 10884 String xmllang; |
| 10885 |
| 10886 String xmlspace; |
| 10887 |
| 10888 // From SVGExternalResourcesRequired |
| 10889 |
| 10890 final _SVGAnimatedBooleanJs externalResourcesRequired; |
| 10891 |
| 10892 // From SVGStylable |
| 10893 |
| 10894 _SVGAnimatedStringJs get _className() native "return this.className;"; |
| 10895 |
| 10896 // Use implementation from Element. |
| 10897 // final _CSSStyleDeclarationJs style; |
| 10898 |
| 10899 _CSSValueJs getPresentationAttribute(String name) native; |
| 10900 |
| 10901 // From SVGTransformable |
| 10902 |
| 10903 final _SVGAnimatedTransformListJs transform; |
| 10904 |
| 10905 // From SVGLocatable |
| 10906 |
| 10907 final _SVGElementJs farthestViewportElement; |
| 10908 |
| 10909 final _SVGElementJs nearestViewportElement; |
| 10910 |
| 10911 _SVGRectJs getBBox() native; |
| 10912 |
| 10913 _SVGMatrixJs getCTM() native; |
| 10914 |
| 10915 _SVGMatrixJs getScreenCTM() native; |
| 10916 |
| 10917 _SVGMatrixJs getTransformToElement(_SVGElementJs element) native; |
| 10918 } |
| 10919 |
| 10920 class _SVGLangSpaceJs implements SVGLangSpace native "*SVGLangSpace" { |
| 10921 |
| 10922 String xmllang; |
| 10923 |
| 10924 String xmlspace; |
| 10925 } |
| 10926 |
| 10927 class _SVGLengthJs implements SVGLength native "*SVGLength" { |
| 10928 |
| 10929 static final int SVG_LENGTHTYPE_CM = 6; |
| 10930 |
| 10931 static final int SVG_LENGTHTYPE_EMS = 3; |
| 10932 |
| 10933 static final int SVG_LENGTHTYPE_EXS = 4; |
| 10934 |
| 10935 static final int SVG_LENGTHTYPE_IN = 8; |
| 10936 |
| 10937 static final int SVG_LENGTHTYPE_MM = 7; |
| 10938 |
| 10939 static final int SVG_LENGTHTYPE_NUMBER = 1; |
| 10940 |
| 10941 static final int SVG_LENGTHTYPE_PC = 10; |
| 10942 |
| 10943 static final int SVG_LENGTHTYPE_PERCENTAGE = 2; |
| 10944 |
| 10945 static final int SVG_LENGTHTYPE_PT = 9; |
| 10946 |
| 10947 static final int SVG_LENGTHTYPE_PX = 5; |
| 10948 |
| 10949 static final int SVG_LENGTHTYPE_UNKNOWN = 0; |
| 10950 |
| 10951 final int unitType; |
| 10952 |
| 10953 num value; |
| 10954 |
| 10955 String valueAsString; |
| 10956 |
| 10957 num valueInSpecifiedUnits; |
| 10958 |
| 10959 void convertToSpecifiedUnits(int unitType) native; |
| 10960 |
| 10961 void newValueSpecifiedUnits(int unitType, num valueInSpecifiedUnits) native; |
| 10962 } |
| 10963 |
| 10964 class _SVGLengthListJs implements SVGLengthList native "*SVGLengthList" { |
| 10965 |
| 10966 final int numberOfItems; |
| 10967 |
| 10968 _SVGLengthJs appendItem(_SVGLengthJs item) native; |
| 10969 |
| 10970 void clear() native; |
| 10971 |
| 10972 _SVGLengthJs getItem(int index) native; |
| 10973 |
| 10974 _SVGLengthJs initialize(_SVGLengthJs item) native; |
| 10975 |
| 10976 _SVGLengthJs insertItemBefore(_SVGLengthJs item, int index) native; |
| 10977 |
| 10978 _SVGLengthJs removeItem(int index) native; |
| 10979 |
| 10980 _SVGLengthJs replaceItem(_SVGLengthJs item, int index) native; |
| 10981 } |
| 10982 |
| 10983 class _SVGLineElementJs extends _SVGElementJs implements SVGLineElement native "
*SVGLineElement" { |
| 10984 |
| 10985 final _SVGAnimatedLengthJs x1; |
| 10986 |
| 10987 final _SVGAnimatedLengthJs x2; |
| 10988 |
| 10989 final _SVGAnimatedLengthJs y1; |
| 10990 |
| 10991 final _SVGAnimatedLengthJs y2; |
| 10992 |
| 10993 // From SVGTests |
| 10994 |
| 10995 final _SVGStringListJs requiredExtensions; |
| 10996 |
| 10997 final _SVGStringListJs requiredFeatures; |
| 10998 |
| 10999 final _SVGStringListJs systemLanguage; |
| 11000 |
| 11001 bool hasExtension(String extension) native; |
| 11002 |
| 11003 // From SVGLangSpace |
| 11004 |
| 11005 String xmllang; |
| 11006 |
| 11007 String xmlspace; |
| 11008 |
| 11009 // From SVGExternalResourcesRequired |
| 11010 |
| 11011 final _SVGAnimatedBooleanJs externalResourcesRequired; |
| 11012 |
| 11013 // From SVGStylable |
| 11014 |
| 11015 _SVGAnimatedStringJs get _className() native "return this.className;"; |
| 11016 |
| 11017 // Use implementation from Element. |
| 11018 // final _CSSStyleDeclarationJs style; |
| 11019 |
| 11020 _CSSValueJs getPresentationAttribute(String name) native; |
| 11021 |
| 11022 // From SVGTransformable |
| 11023 |
| 11024 final _SVGAnimatedTransformListJs transform; |
| 11025 |
| 11026 // From SVGLocatable |
| 11027 |
| 11028 final _SVGElementJs farthestViewportElement; |
| 11029 |
| 11030 final _SVGElementJs nearestViewportElement; |
| 11031 |
| 11032 _SVGRectJs getBBox() native; |
| 11033 |
| 11034 _SVGMatrixJs getCTM() native; |
| 11035 |
| 11036 _SVGMatrixJs getScreenCTM() native; |
| 11037 |
| 11038 _SVGMatrixJs getTransformToElement(_SVGElementJs element) native; |
| 11039 } |
| 11040 |
| 11041 class _SVGLinearGradientElementJs extends _SVGGradientElementJs implements SVGLi
nearGradientElement native "*SVGLinearGradientElement" { |
| 11042 |
| 11043 final _SVGAnimatedLengthJs x1; |
| 11044 |
| 11045 final _SVGAnimatedLengthJs x2; |
| 11046 |
| 11047 final _SVGAnimatedLengthJs y1; |
| 11048 |
| 11049 final _SVGAnimatedLengthJs y2; |
| 11050 } |
| 11051 |
| 11052 class _SVGLocatableJs implements SVGLocatable native "*SVGLocatable" { |
| 11053 |
| 11054 final _SVGElementJs farthestViewportElement; |
| 11055 |
| 11056 final _SVGElementJs nearestViewportElement; |
| 11057 |
| 11058 _SVGRectJs getBBox() native; |
| 11059 |
| 11060 _SVGMatrixJs getCTM() native; |
| 11061 |
| 11062 _SVGMatrixJs getScreenCTM() native; |
| 11063 |
| 11064 _SVGMatrixJs getTransformToElement(_SVGElementJs element) native; |
| 11065 } |
| 11066 |
| 11067 class _SVGMPathElementJs extends _SVGElementJs implements SVGMPathElement native
"*SVGMPathElement" { |
| 11068 |
| 11069 // From SVGURIReference |
| 11070 |
| 11071 final _SVGAnimatedStringJs href; |
| 11072 |
| 11073 // From SVGExternalResourcesRequired |
| 11074 |
| 11075 final _SVGAnimatedBooleanJs externalResourcesRequired; |
| 11076 } |
| 11077 |
| 11078 class _SVGMarkerElementJs extends _SVGElementJs implements SVGMarkerElement nati
ve "*SVGMarkerElement" { |
| 11079 |
| 11080 static final int SVG_MARKERUNITS_STROKEWIDTH = 2; |
| 11081 |
| 11082 static final int SVG_MARKERUNITS_UNKNOWN = 0; |
| 11083 |
| 11084 static final int SVG_MARKERUNITS_USERSPACEONUSE = 1; |
| 11085 |
| 11086 static final int SVG_MARKER_ORIENT_ANGLE = 2; |
| 11087 |
| 11088 static final int SVG_MARKER_ORIENT_AUTO = 1; |
| 11089 |
| 11090 static final int SVG_MARKER_ORIENT_UNKNOWN = 0; |
| 11091 |
| 11092 final _SVGAnimatedLengthJs markerHeight; |
| 11093 |
| 11094 final _SVGAnimatedEnumerationJs markerUnits; |
| 11095 |
| 11096 final _SVGAnimatedLengthJs markerWidth; |
| 11097 |
| 11098 final _SVGAnimatedAngleJs orientAngle; |
| 11099 |
| 11100 final _SVGAnimatedEnumerationJs orientType; |
| 11101 |
| 11102 final _SVGAnimatedLengthJs refX; |
| 11103 |
| 11104 final _SVGAnimatedLengthJs refY; |
| 11105 |
| 11106 void setOrientToAngle(_SVGAngleJs angle) native; |
| 11107 |
| 11108 void setOrientToAuto() native; |
| 11109 |
| 11110 // From SVGLangSpace |
| 11111 |
| 11112 String xmllang; |
| 11113 |
| 11114 String xmlspace; |
| 11115 |
| 11116 // From SVGExternalResourcesRequired |
| 11117 |
| 11118 final _SVGAnimatedBooleanJs externalResourcesRequired; |
| 11119 |
| 11120 // From SVGStylable |
| 11121 |
| 11122 _SVGAnimatedStringJs get _className() native "return this.className;"; |
| 11123 |
| 11124 // Use implementation from Element. |
| 11125 // final _CSSStyleDeclarationJs style; |
| 11126 |
| 11127 _CSSValueJs getPresentationAttribute(String name) native; |
| 11128 |
| 11129 // From SVGFitToViewBox |
| 11130 |
| 11131 final _SVGAnimatedPreserveAspectRatioJs preserveAspectRatio; |
| 11132 |
| 11133 final _SVGAnimatedRectJs viewBox; |
| 11134 } |
| 11135 |
| 11136 class _SVGMaskElementJs extends _SVGElementJs implements SVGMaskElement native "
*SVGMaskElement" { |
| 11137 |
| 11138 final _SVGAnimatedLengthJs height; |
| 11139 |
| 11140 final _SVGAnimatedEnumerationJs maskContentUnits; |
| 11141 |
| 11142 final _SVGAnimatedEnumerationJs maskUnits; |
| 11143 |
| 11144 final _SVGAnimatedLengthJs width; |
| 11145 |
| 11146 final _SVGAnimatedLengthJs x; |
| 11147 |
| 11148 final _SVGAnimatedLengthJs y; |
| 11149 |
| 11150 // From SVGTests |
| 11151 |
| 11152 final _SVGStringListJs requiredExtensions; |
| 11153 |
| 11154 final _SVGStringListJs requiredFeatures; |
| 11155 |
| 11156 final _SVGStringListJs systemLanguage; |
| 11157 |
| 11158 bool hasExtension(String extension) native; |
| 11159 |
| 11160 // From SVGLangSpace |
| 11161 |
| 11162 String xmllang; |
| 11163 |
| 11164 String xmlspace; |
| 11165 |
| 11166 // From SVGExternalResourcesRequired |
| 11167 |
| 11168 final _SVGAnimatedBooleanJs externalResourcesRequired; |
| 11169 |
| 11170 // From SVGStylable |
| 11171 |
| 11172 _SVGAnimatedStringJs get _className() native "return this.className;"; |
| 11173 |
| 11174 // Use implementation from Element. |
| 11175 // final _CSSStyleDeclarationJs style; |
| 11176 |
| 11177 _CSSValueJs getPresentationAttribute(String name) native; |
| 11178 } |
| 11179 |
| 11180 class _SVGMatrixJs implements SVGMatrix native "*SVGMatrix" { |
| 11181 |
| 11182 num a; |
| 11183 |
| 11184 num b; |
| 11185 |
| 11186 num c; |
| 11187 |
| 11188 num d; |
| 11189 |
| 11190 num e; |
| 11191 |
| 11192 num f; |
| 11193 |
| 11194 _SVGMatrixJs flipX() native; |
| 11195 |
| 11196 _SVGMatrixJs flipY() native; |
| 11197 |
| 11198 _SVGMatrixJs inverse() native; |
| 11199 |
| 11200 _SVGMatrixJs multiply(_SVGMatrixJs secondMatrix) native; |
| 11201 |
| 11202 _SVGMatrixJs rotate(num angle) native; |
| 11203 |
| 11204 _SVGMatrixJs rotateFromVector(num x, num y) native; |
| 11205 |
| 11206 _SVGMatrixJs scale(num scaleFactor) native; |
| 11207 |
| 11208 _SVGMatrixJs scaleNonUniform(num scaleFactorX, num scaleFactorY) native; |
| 11209 |
| 11210 _SVGMatrixJs skewX(num angle) native; |
| 11211 |
| 11212 _SVGMatrixJs skewY(num angle) native; |
| 11213 |
| 11214 _SVGMatrixJs translate(num x, num y) native; |
| 11215 } |
| 11216 |
| 11217 class _SVGMetadataElementJs extends _SVGElementJs implements SVGMetadataElement
native "*SVGMetadataElement" { |
| 11218 } |
| 11219 |
| 11220 class _SVGMissingGlyphElementJs extends _SVGElementJs implements SVGMissingGlyph
Element native "*SVGMissingGlyphElement" { |
| 11221 } |
| 11222 |
| 11223 class _SVGNumberJs implements SVGNumber native "*SVGNumber" { |
| 11224 |
| 11225 num value; |
| 11226 } |
| 11227 |
| 11228 class _SVGNumberListJs implements SVGNumberList native "*SVGNumberList" { |
| 11229 |
| 11230 final int numberOfItems; |
| 11231 |
| 11232 _SVGNumberJs appendItem(_SVGNumberJs item) native; |
| 11233 |
| 11234 void clear() native; |
| 11235 |
| 11236 _SVGNumberJs getItem(int index) native; |
| 11237 |
| 11238 _SVGNumberJs initialize(_SVGNumberJs item) native; |
| 11239 |
| 11240 _SVGNumberJs insertItemBefore(_SVGNumberJs item, int index) native; |
| 11241 |
| 11242 _SVGNumberJs removeItem(int index) native; |
| 11243 |
| 11244 _SVGNumberJs replaceItem(_SVGNumberJs item, int index) native; |
| 11245 } |
| 11246 |
| 11247 class _SVGPaintJs extends _SVGColorJs implements SVGPaint native "*SVGPaint" { |
| 11248 |
| 11249 static final int SVG_PAINTTYPE_CURRENTCOLOR = 102; |
| 11250 |
| 11251 static final int SVG_PAINTTYPE_NONE = 101; |
| 11252 |
| 11253 static final int SVG_PAINTTYPE_RGBCOLOR = 1; |
| 11254 |
| 11255 static final int SVG_PAINTTYPE_RGBCOLOR_ICCCOLOR = 2; |
| 11256 |
| 11257 static final int SVG_PAINTTYPE_UNKNOWN = 0; |
| 11258 |
| 11259 static final int SVG_PAINTTYPE_URI = 107; |
| 11260 |
| 11261 static final int SVG_PAINTTYPE_URI_CURRENTCOLOR = 104; |
| 11262 |
| 11263 static final int SVG_PAINTTYPE_URI_NONE = 103; |
| 11264 |
| 11265 static final int SVG_PAINTTYPE_URI_RGBCOLOR = 105; |
| 11266 |
| 11267 static final int SVG_PAINTTYPE_URI_RGBCOLOR_ICCCOLOR = 106; |
| 11268 |
| 11269 final int paintType; |
| 11270 |
| 11271 final String uri; |
| 11272 |
| 11273 void setPaint(int paintType, String uri, String rgbColor, String iccColor) nat
ive; |
| 11274 |
| 11275 void setUri(String uri) native; |
| 11276 } |
| 11277 |
| 11278 class _SVGPathElementJs extends _SVGElementJs implements SVGPathElement native "
*SVGPathElement" { |
| 11279 |
| 11280 final _SVGPathSegListJs animatedNormalizedPathSegList; |
| 11281 |
| 11282 final _SVGPathSegListJs animatedPathSegList; |
| 11283 |
| 11284 final _SVGPathSegListJs normalizedPathSegList; |
| 11285 |
| 11286 final _SVGAnimatedNumberJs pathLength; |
| 11287 |
| 11288 final _SVGPathSegListJs pathSegList; |
| 11289 |
| 11290 _SVGPathSegArcAbsJs createSVGPathSegArcAbs(num x, num y, num r1, num r2, num a
ngle, bool largeArcFlag, bool sweepFlag) native; |
| 11291 |
| 11292 _SVGPathSegArcRelJs createSVGPathSegArcRel(num x, num y, num r1, num r2, num a
ngle, bool largeArcFlag, bool sweepFlag) native; |
| 11293 |
| 11294 _SVGPathSegClosePathJs createSVGPathSegClosePath() native; |
| 11295 |
| 11296 _SVGPathSegCurvetoCubicAbsJs createSVGPathSegCurvetoCubicAbs(num x, num y, num
x1, num y1, num x2, num y2) native; |
| 11297 |
| 11298 _SVGPathSegCurvetoCubicRelJs createSVGPathSegCurvetoCubicRel(num x, num y, num
x1, num y1, num x2, num y2) native; |
| 11299 |
| 11300 _SVGPathSegCurvetoCubicSmoothAbsJs createSVGPathSegCurvetoCubicSmoothAbs(num x
, num y, num x2, num y2) native; |
| 11301 |
| 11302 _SVGPathSegCurvetoCubicSmoothRelJs createSVGPathSegCurvetoCubicSmoothRel(num x
, num y, num x2, num y2) native; |
| 11303 |
| 11304 _SVGPathSegCurvetoQuadraticAbsJs createSVGPathSegCurvetoQuadraticAbs(num x, nu
m y, num x1, num y1) native; |
| 11305 |
| 11306 _SVGPathSegCurvetoQuadraticRelJs createSVGPathSegCurvetoQuadraticRel(num x, nu
m y, num x1, num y1) native; |
| 11307 |
| 11308 _SVGPathSegCurvetoQuadraticSmoothAbsJs createSVGPathSegCurvetoQuadraticSmoothA
bs(num x, num y) native; |
| 11309 |
| 11310 _SVGPathSegCurvetoQuadraticSmoothRelJs createSVGPathSegCurvetoQuadraticSmoothR
el(num x, num y) native; |
| 11311 |
| 11312 _SVGPathSegLinetoAbsJs createSVGPathSegLinetoAbs(num x, num y) native; |
| 11313 |
| 11314 _SVGPathSegLinetoHorizontalAbsJs createSVGPathSegLinetoHorizontalAbs(num x) na
tive; |
| 11315 |
| 11316 _SVGPathSegLinetoHorizontalRelJs createSVGPathSegLinetoHorizontalRel(num x) na
tive; |
| 11317 |
| 11318 _SVGPathSegLinetoRelJs createSVGPathSegLinetoRel(num x, num y) native; |
| 11319 |
| 11320 _SVGPathSegLinetoVerticalAbsJs createSVGPathSegLinetoVerticalAbs(num y) native
; |
| 11321 |
| 11322 _SVGPathSegLinetoVerticalRelJs createSVGPathSegLinetoVerticalRel(num y) native
; |
| 11323 |
| 11324 _SVGPathSegMovetoAbsJs createSVGPathSegMovetoAbs(num x, num y) native; |
| 11325 |
| 11326 _SVGPathSegMovetoRelJs createSVGPathSegMovetoRel(num x, num y) native; |
| 11327 |
| 11328 int getPathSegAtLength(num distance) native; |
| 11329 |
| 11330 _SVGPointJs getPointAtLength(num distance) native; |
| 11331 |
| 11332 num getTotalLength() native; |
| 11333 |
| 11334 // From SVGTests |
| 11335 |
| 11336 final _SVGStringListJs requiredExtensions; |
| 11337 |
| 11338 final _SVGStringListJs requiredFeatures; |
| 11339 |
| 11340 final _SVGStringListJs systemLanguage; |
| 11341 |
| 11342 bool hasExtension(String extension) native; |
| 11343 |
| 11344 // From SVGLangSpace |
| 11345 |
| 11346 String xmllang; |
| 11347 |
| 11348 String xmlspace; |
| 11349 |
| 11350 // From SVGExternalResourcesRequired |
| 11351 |
| 11352 final _SVGAnimatedBooleanJs externalResourcesRequired; |
| 11353 |
| 11354 // From SVGStylable |
| 11355 |
| 11356 _SVGAnimatedStringJs get _className() native "return this.className;"; |
| 11357 |
| 11358 // Use implementation from Element. |
| 11359 // final _CSSStyleDeclarationJs style; |
| 11360 |
| 11361 _CSSValueJs getPresentationAttribute(String name) native; |
| 11362 |
| 11363 // From SVGTransformable |
| 11364 |
| 11365 final _SVGAnimatedTransformListJs transform; |
| 11366 |
| 11367 // From SVGLocatable |
| 11368 |
| 11369 final _SVGElementJs farthestViewportElement; |
| 11370 |
| 11371 final _SVGElementJs nearestViewportElement; |
| 11372 |
| 11373 _SVGRectJs getBBox() native; |
| 11374 |
| 11375 _SVGMatrixJs getCTM() native; |
| 11376 |
| 11377 _SVGMatrixJs getScreenCTM() native; |
| 11378 |
| 11379 _SVGMatrixJs getTransformToElement(_SVGElementJs element) native; |
| 11380 } |
| 11381 |
| 11382 class _SVGPathSegJs implements SVGPathSeg native "*SVGPathSeg" { |
| 11383 |
| 11384 static final int PATHSEG_ARC_ABS = 10; |
| 11385 |
| 11386 static final int PATHSEG_ARC_REL = 11; |
| 11387 |
| 11388 static final int PATHSEG_CLOSEPATH = 1; |
| 11389 |
| 11390 static final int PATHSEG_CURVETO_CUBIC_ABS = 6; |
| 11391 |
| 11392 static final int PATHSEG_CURVETO_CUBIC_REL = 7; |
| 11393 |
| 11394 static final int PATHSEG_CURVETO_CUBIC_SMOOTH_ABS = 16; |
| 11395 |
| 11396 static final int PATHSEG_CURVETO_CUBIC_SMOOTH_REL = 17; |
| 11397 |
| 11398 static final int PATHSEG_CURVETO_QUADRATIC_ABS = 8; |
| 11399 |
| 11400 static final int PATHSEG_CURVETO_QUADRATIC_REL = 9; |
| 11401 |
| 11402 static final int PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS = 18; |
| 11403 |
| 11404 static final int PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL = 19; |
| 11405 |
| 11406 static final int PATHSEG_LINETO_ABS = 4; |
| 11407 |
| 11408 static final int PATHSEG_LINETO_HORIZONTAL_ABS = 12; |
| 11409 |
| 11410 static final int PATHSEG_LINETO_HORIZONTAL_REL = 13; |
| 11411 |
| 11412 static final int PATHSEG_LINETO_REL = 5; |
| 11413 |
| 11414 static final int PATHSEG_LINETO_VERTICAL_ABS = 14; |
| 11415 |
| 11416 static final int PATHSEG_LINETO_VERTICAL_REL = 15; |
| 11417 |
| 11418 static final int PATHSEG_MOVETO_ABS = 2; |
| 11419 |
| 11420 static final int PATHSEG_MOVETO_REL = 3; |
| 11421 |
| 11422 static final int PATHSEG_UNKNOWN = 0; |
| 11423 |
| 11424 final int pathSegType; |
| 11425 |
| 11426 final String pathSegTypeAsLetter; |
| 11427 } |
| 11428 |
| 11429 class _SVGPathSegArcAbsJs extends _SVGPathSegJs implements SVGPathSegArcAbs nati
ve "*SVGPathSegArcAbs" { |
| 11430 |
| 11431 num angle; |
| 11432 |
| 11433 bool largeArcFlag; |
| 11434 |
| 11435 num r1; |
| 11436 |
| 11437 num r2; |
| 11438 |
| 11439 bool sweepFlag; |
| 11440 |
| 11441 num x; |
| 11442 |
| 11443 num y; |
| 11444 } |
| 11445 |
| 11446 class _SVGPathSegArcRelJs extends _SVGPathSegJs implements SVGPathSegArcRel nati
ve "*SVGPathSegArcRel" { |
| 11447 |
| 11448 num angle; |
| 11449 |
| 11450 bool largeArcFlag; |
| 11451 |
| 11452 num r1; |
| 11453 |
| 11454 num r2; |
| 11455 |
| 11456 bool sweepFlag; |
| 11457 |
| 11458 num x; |
| 11459 |
| 11460 num y; |
| 11461 } |
| 11462 |
| 11463 class _SVGPathSegClosePathJs extends _SVGPathSegJs implements SVGPathSegClosePat
h native "*SVGPathSegClosePath" { |
| 11464 } |
| 11465 |
| 11466 class _SVGPathSegCurvetoCubicAbsJs extends _SVGPathSegJs implements SVGPathSegCu
rvetoCubicAbs native "*SVGPathSegCurvetoCubicAbs" { |
| 11467 |
| 11468 num x; |
| 11469 |
| 11470 num x1; |
| 11471 |
| 11472 num x2; |
| 11473 |
| 11474 num y; |
| 11475 |
| 11476 num y1; |
| 11477 |
| 11478 num y2; |
| 11479 } |
| 11480 |
| 11481 class _SVGPathSegCurvetoCubicRelJs extends _SVGPathSegJs implements SVGPathSegCu
rvetoCubicRel native "*SVGPathSegCurvetoCubicRel" { |
| 11482 |
| 11483 num x; |
| 11484 |
| 11485 num x1; |
| 11486 |
| 11487 num x2; |
| 11488 |
| 11489 num y; |
| 11490 |
| 11491 num y1; |
| 11492 |
| 11493 num y2; |
| 11494 } |
| 11495 |
| 11496 class _SVGPathSegCurvetoCubicSmoothAbsJs extends _SVGPathSegJs implements SVGPat
hSegCurvetoCubicSmoothAbs native "*SVGPathSegCurvetoCubicSmoothAbs" { |
| 11497 |
| 11498 num x; |
| 11499 |
| 11500 num x2; |
| 11501 |
| 11502 num y; |
| 11503 |
| 11504 num y2; |
| 11505 } |
| 11506 |
| 11507 class _SVGPathSegCurvetoCubicSmoothRelJs extends _SVGPathSegJs implements SVGPat
hSegCurvetoCubicSmoothRel native "*SVGPathSegCurvetoCubicSmoothRel" { |
| 11508 |
| 11509 num x; |
| 11510 |
| 11511 num x2; |
| 11512 |
| 11513 num y; |
| 11514 |
| 11515 num y2; |
| 11516 } |
| 11517 |
| 11518 class _SVGPathSegCurvetoQuadraticAbsJs extends _SVGPathSegJs implements SVGPathS
egCurvetoQuadraticAbs native "*SVGPathSegCurvetoQuadraticAbs" { |
| 11519 |
| 11520 num x; |
| 11521 |
| 11522 num x1; |
| 11523 |
| 11524 num y; |
| 11525 |
| 11526 num y1; |
| 11527 } |
| 11528 |
| 11529 class _SVGPathSegCurvetoQuadraticRelJs extends _SVGPathSegJs implements SVGPathS
egCurvetoQuadraticRel native "*SVGPathSegCurvetoQuadraticRel" { |
| 11530 |
| 11531 num x; |
| 11532 |
| 11533 num x1; |
| 11534 |
| 11535 num y; |
| 11536 |
| 11537 num y1; |
| 11538 } |
| 11539 |
| 11540 class _SVGPathSegCurvetoQuadraticSmoothAbsJs extends _SVGPathSegJs implements SV
GPathSegCurvetoQuadraticSmoothAbs native "*SVGPathSegCurvetoQuadraticSmoothAbs"
{ |
| 11541 |
| 11542 num x; |
| 11543 |
| 11544 num y; |
| 11545 } |
| 11546 |
| 11547 class _SVGPathSegCurvetoQuadraticSmoothRelJs extends _SVGPathSegJs implements SV
GPathSegCurvetoQuadraticSmoothRel native "*SVGPathSegCurvetoQuadraticSmoothRel"
{ |
| 11548 |
| 11549 num x; |
| 11550 |
| 11551 num y; |
| 11552 } |
| 11553 |
| 11554 class _SVGPathSegLinetoAbsJs extends _SVGPathSegJs implements SVGPathSegLinetoAb
s native "*SVGPathSegLinetoAbs" { |
| 11555 |
| 11556 num x; |
| 11557 |
| 11558 num y; |
| 11559 } |
| 11560 |
| 11561 class _SVGPathSegLinetoHorizontalAbsJs extends _SVGPathSegJs implements SVGPathS
egLinetoHorizontalAbs native "*SVGPathSegLinetoHorizontalAbs" { |
| 11562 |
| 11563 num x; |
| 11564 } |
| 11565 |
| 11566 class _SVGPathSegLinetoHorizontalRelJs extends _SVGPathSegJs implements SVGPathS
egLinetoHorizontalRel native "*SVGPathSegLinetoHorizontalRel" { |
| 11567 |
| 11568 num x; |
| 11569 } |
| 11570 |
| 11571 class _SVGPathSegLinetoRelJs extends _SVGPathSegJs implements SVGPathSegLinetoRe
l native "*SVGPathSegLinetoRel" { |
| 11572 |
| 11573 num x; |
| 11574 |
| 11575 num y; |
| 11576 } |
| 11577 |
| 11578 class _SVGPathSegLinetoVerticalAbsJs extends _SVGPathSegJs implements SVGPathSeg
LinetoVerticalAbs native "*SVGPathSegLinetoVerticalAbs" { |
| 11579 |
| 11580 num y; |
| 11581 } |
| 11582 |
| 11583 class _SVGPathSegLinetoVerticalRelJs extends _SVGPathSegJs implements SVGPathSeg
LinetoVerticalRel native "*SVGPathSegLinetoVerticalRel" { |
| 11584 |
| 11585 num y; |
| 11586 } |
| 11587 |
| 11588 class _SVGPathSegListJs implements SVGPathSegList native "*SVGPathSegList" { |
| 11589 |
| 11590 final int numberOfItems; |
| 11591 |
| 11592 _SVGPathSegJs appendItem(_SVGPathSegJs newItem) native; |
| 11593 |
| 11594 void clear() native; |
| 11595 |
| 11596 _SVGPathSegJs getItem(int index) native; |
| 11597 |
| 11598 _SVGPathSegJs initialize(_SVGPathSegJs newItem) native; |
| 11599 |
| 11600 _SVGPathSegJs insertItemBefore(_SVGPathSegJs newItem, int index) native; |
| 11601 |
| 11602 _SVGPathSegJs removeItem(int index) native; |
| 11603 |
| 11604 _SVGPathSegJs replaceItem(_SVGPathSegJs newItem, int index) native; |
| 11605 } |
| 11606 |
| 11607 class _SVGPathSegMovetoAbsJs extends _SVGPathSegJs implements SVGPathSegMovetoAb
s native "*SVGPathSegMovetoAbs" { |
| 11608 |
| 11609 num x; |
| 11610 |
| 11611 num y; |
| 11612 } |
| 11613 |
| 11614 class _SVGPathSegMovetoRelJs extends _SVGPathSegJs implements SVGPathSegMovetoRe
l native "*SVGPathSegMovetoRel" { |
| 11615 |
| 11616 num x; |
| 11617 |
| 11618 num y; |
| 11619 } |
| 11620 |
| 11621 class _SVGPatternElementJs extends _SVGElementJs implements SVGPatternElement na
tive "*SVGPatternElement" { |
| 11622 |
| 11623 final _SVGAnimatedLengthJs height; |
| 11624 |
| 11625 final _SVGAnimatedEnumerationJs patternContentUnits; |
| 11626 |
| 11627 final _SVGAnimatedTransformListJs patternTransform; |
| 11628 |
| 11629 final _SVGAnimatedEnumerationJs patternUnits; |
| 11630 |
| 11631 final _SVGAnimatedLengthJs width; |
| 11632 |
| 11633 final _SVGAnimatedLengthJs x; |
| 11634 |
| 11635 final _SVGAnimatedLengthJs y; |
| 11636 |
| 11637 // From SVGURIReference |
| 11638 |
| 11639 final _SVGAnimatedStringJs href; |
| 11640 |
| 11641 // From SVGTests |
| 11642 |
| 11643 final _SVGStringListJs requiredExtensions; |
| 11644 |
| 11645 final _SVGStringListJs requiredFeatures; |
| 11646 |
| 11647 final _SVGStringListJs systemLanguage; |
| 11648 |
| 11649 bool hasExtension(String extension) native; |
| 11650 |
| 11651 // From SVGLangSpace |
| 11652 |
| 11653 String xmllang; |
| 11654 |
| 11655 String xmlspace; |
| 11656 |
| 11657 // From SVGExternalResourcesRequired |
| 11658 |
| 11659 final _SVGAnimatedBooleanJs externalResourcesRequired; |
| 11660 |
| 11661 // From SVGStylable |
| 11662 |
| 11663 _SVGAnimatedStringJs get _className() native "return this.className;"; |
| 11664 |
| 11665 // Use implementation from Element. |
| 11666 // final _CSSStyleDeclarationJs style; |
| 11667 |
| 11668 _CSSValueJs getPresentationAttribute(String name) native; |
| 11669 |
| 11670 // From SVGFitToViewBox |
| 11671 |
| 11672 final _SVGAnimatedPreserveAspectRatioJs preserveAspectRatio; |
| 11673 |
| 11674 final _SVGAnimatedRectJs viewBox; |
| 11675 } |
| 11676 |
| 11677 class _SVGPointJs implements SVGPoint native "*SVGPoint" { |
| 11678 |
| 11679 num x; |
| 11680 |
| 11681 num y; |
| 11682 |
| 11683 _SVGPointJs matrixTransform(_SVGMatrixJs matrix) native; |
| 11684 } |
| 11685 |
| 11686 class _SVGPointListJs implements SVGPointList native "*SVGPointList" { |
| 11687 |
| 11688 final int numberOfItems; |
| 11689 |
| 11690 _SVGPointJs appendItem(_SVGPointJs item) native; |
| 11691 |
| 11692 void clear() native; |
| 11693 |
| 11694 _SVGPointJs getItem(int index) native; |
| 11695 |
| 11696 _SVGPointJs initialize(_SVGPointJs item) native; |
| 11697 |
| 11698 _SVGPointJs insertItemBefore(_SVGPointJs item, int index) native; |
| 11699 |
| 11700 _SVGPointJs removeItem(int index) native; |
| 11701 |
| 11702 _SVGPointJs replaceItem(_SVGPointJs item, int index) native; |
| 11703 } |
| 11704 |
| 11705 class _SVGPolygonElementJs extends _SVGElementJs implements SVGPolygonElement na
tive "*SVGPolygonElement" { |
| 11706 |
| 11707 final _SVGPointListJs animatedPoints; |
| 11708 |
| 11709 final _SVGPointListJs points; |
| 11710 |
| 11711 // From SVGTests |
| 11712 |
| 11713 final _SVGStringListJs requiredExtensions; |
| 11714 |
| 11715 final _SVGStringListJs requiredFeatures; |
| 11716 |
| 11717 final _SVGStringListJs systemLanguage; |
| 11718 |
| 11719 bool hasExtension(String extension) native; |
| 11720 |
| 11721 // From SVGLangSpace |
| 11722 |
| 11723 String xmllang; |
| 11724 |
| 11725 String xmlspace; |
| 11726 |
| 11727 // From SVGExternalResourcesRequired |
| 11728 |
| 11729 final _SVGAnimatedBooleanJs externalResourcesRequired; |
| 11730 |
| 11731 // From SVGStylable |
| 11732 |
| 11733 _SVGAnimatedStringJs get _className() native "return this.className;"; |
| 11734 |
| 11735 // Use implementation from Element. |
| 11736 // final _CSSStyleDeclarationJs style; |
| 11737 |
| 11738 _CSSValueJs getPresentationAttribute(String name) native; |
| 11739 |
| 11740 // From SVGTransformable |
| 11741 |
| 11742 final _SVGAnimatedTransformListJs transform; |
| 11743 |
| 11744 // From SVGLocatable |
| 11745 |
| 11746 final _SVGElementJs farthestViewportElement; |
| 11747 |
| 11748 final _SVGElementJs nearestViewportElement; |
| 11749 |
| 11750 _SVGRectJs getBBox() native; |
| 11751 |
| 11752 _SVGMatrixJs getCTM() native; |
| 11753 |
| 11754 _SVGMatrixJs getScreenCTM() native; |
| 11755 |
| 11756 _SVGMatrixJs getTransformToElement(_SVGElementJs element) native; |
| 11757 } |
| 11758 |
| 11759 class _SVGPolylineElementJs extends _SVGElementJs implements SVGPolylineElement
native "*SVGPolylineElement" { |
| 11760 |
| 11761 final _SVGPointListJs animatedPoints; |
| 11762 |
| 11763 final _SVGPointListJs points; |
| 11764 |
| 11765 // From SVGTests |
| 11766 |
| 11767 final _SVGStringListJs requiredExtensions; |
| 11768 |
| 11769 final _SVGStringListJs requiredFeatures; |
| 11770 |
| 11771 final _SVGStringListJs systemLanguage; |
| 11772 |
| 11773 bool hasExtension(String extension) native; |
| 11774 |
| 11775 // From SVGLangSpace |
| 11776 |
| 11777 String xmllang; |
| 11778 |
| 11779 String xmlspace; |
| 11780 |
| 11781 // From SVGExternalResourcesRequired |
| 11782 |
| 11783 final _SVGAnimatedBooleanJs externalResourcesRequired; |
| 11784 |
| 11785 // From SVGStylable |
| 11786 |
| 11787 _SVGAnimatedStringJs get _className() native "return this.className;"; |
| 11788 |
| 11789 // Use implementation from Element. |
| 11790 // final _CSSStyleDeclarationJs style; |
| 11791 |
| 11792 _CSSValueJs getPresentationAttribute(String name) native; |
| 11793 |
| 11794 // From SVGTransformable |
| 11795 |
| 11796 final _SVGAnimatedTransformListJs transform; |
| 11797 |
| 11798 // From SVGLocatable |
| 11799 |
| 11800 final _SVGElementJs farthestViewportElement; |
| 11801 |
| 11802 final _SVGElementJs nearestViewportElement; |
| 11803 |
| 11804 _SVGRectJs getBBox() native; |
| 11805 |
| 11806 _SVGMatrixJs getCTM() native; |
| 11807 |
| 11808 _SVGMatrixJs getScreenCTM() native; |
| 11809 |
| 11810 _SVGMatrixJs getTransformToElement(_SVGElementJs element) native; |
| 11811 } |
| 11812 |
| 11813 class _SVGPreserveAspectRatioJs implements SVGPreserveAspectRatio native "*SVGPr
eserveAspectRatio" { |
| 11814 |
| 11815 static final int SVG_MEETORSLICE_MEET = 1; |
| 11816 |
| 11817 static final int SVG_MEETORSLICE_SLICE = 2; |
| 11818 |
| 11819 static final int SVG_MEETORSLICE_UNKNOWN = 0; |
| 11820 |
| 11821 static final int SVG_PRESERVEASPECTRATIO_NONE = 1; |
| 11822 |
| 11823 static final int SVG_PRESERVEASPECTRATIO_UNKNOWN = 0; |
| 11824 |
| 11825 static final int SVG_PRESERVEASPECTRATIO_XMAXYMAX = 10; |
| 11826 |
| 11827 static final int SVG_PRESERVEASPECTRATIO_XMAXYMID = 7; |
| 11828 |
| 11829 static final int SVG_PRESERVEASPECTRATIO_XMAXYMIN = 4; |
| 11830 |
| 11831 static final int SVG_PRESERVEASPECTRATIO_XMIDYMAX = 9; |
| 11832 |
| 11833 static final int SVG_PRESERVEASPECTRATIO_XMIDYMID = 6; |
| 11834 |
| 11835 static final int SVG_PRESERVEASPECTRATIO_XMIDYMIN = 3; |
| 11836 |
| 11837 static final int SVG_PRESERVEASPECTRATIO_XMINYMAX = 8; |
| 11838 |
| 11839 static final int SVG_PRESERVEASPECTRATIO_XMINYMID = 5; |
| 11840 |
| 11841 static final int SVG_PRESERVEASPECTRATIO_XMINYMIN = 2; |
| 11842 |
| 11843 int align; |
| 11844 |
| 11845 int meetOrSlice; |
| 11846 } |
| 11847 |
| 11848 class _SVGRadialGradientElementJs extends _SVGGradientElementJs implements SVGRa
dialGradientElement native "*SVGRadialGradientElement" { |
| 11849 |
| 11850 final _SVGAnimatedLengthJs cx; |
| 11851 |
| 11852 final _SVGAnimatedLengthJs cy; |
| 11853 |
| 11854 final _SVGAnimatedLengthJs fx; |
| 11855 |
| 11856 final _SVGAnimatedLengthJs fy; |
| 11857 |
| 11858 final _SVGAnimatedLengthJs r; |
| 11859 } |
| 11860 |
| 11861 class _SVGRectJs implements SVGRect native "*SVGRect" { |
| 11862 |
| 11863 num height; |
| 11864 |
| 11865 num width; |
| 11866 |
| 11867 num x; |
| 11868 |
| 11869 num y; |
| 11870 } |
| 11871 |
| 11872 class _SVGRectElementJs extends _SVGElementJs implements SVGRectElement native "
*SVGRectElement" { |
| 11873 |
| 11874 final _SVGAnimatedLengthJs height; |
| 11875 |
| 11876 final _SVGAnimatedLengthJs rx; |
| 11877 |
| 11878 final _SVGAnimatedLengthJs ry; |
| 11879 |
| 11880 final _SVGAnimatedLengthJs width; |
| 11881 |
| 11882 final _SVGAnimatedLengthJs x; |
| 11883 |
| 11884 final _SVGAnimatedLengthJs y; |
| 11885 |
| 11886 // From SVGTests |
| 11887 |
| 11888 final _SVGStringListJs requiredExtensions; |
| 11889 |
| 11890 final _SVGStringListJs requiredFeatures; |
| 11891 |
| 11892 final _SVGStringListJs systemLanguage; |
| 11893 |
| 11894 bool hasExtension(String extension) native; |
| 11895 |
| 11896 // From SVGLangSpace |
| 11897 |
| 11898 String xmllang; |
| 11899 |
| 11900 String xmlspace; |
| 11901 |
| 11902 // From SVGExternalResourcesRequired |
| 11903 |
| 11904 final _SVGAnimatedBooleanJs externalResourcesRequired; |
| 11905 |
| 11906 // From SVGStylable |
| 11907 |
| 11908 _SVGAnimatedStringJs get _className() native "return this.className;"; |
| 11909 |
| 11910 // Use implementation from Element. |
| 11911 // final _CSSStyleDeclarationJs style; |
| 11912 |
| 11913 _CSSValueJs getPresentationAttribute(String name) native; |
| 11914 |
| 11915 // From SVGTransformable |
| 11916 |
| 11917 final _SVGAnimatedTransformListJs transform; |
| 11918 |
| 11919 // From SVGLocatable |
| 11920 |
| 11921 final _SVGElementJs farthestViewportElement; |
| 11922 |
| 11923 final _SVGElementJs nearestViewportElement; |
| 11924 |
| 11925 _SVGRectJs getBBox() native; |
| 11926 |
| 11927 _SVGMatrixJs getCTM() native; |
| 11928 |
| 11929 _SVGMatrixJs getScreenCTM() native; |
| 11930 |
| 11931 _SVGMatrixJs getTransformToElement(_SVGElementJs element) native; |
| 11932 } |
| 11933 |
| 11934 class _SVGRenderingIntentJs implements SVGRenderingIntent native "*SVGRenderingI
ntent" { |
| 11935 |
| 11936 static final int RENDERING_INTENT_ABSOLUTE_COLORIMETRIC = 5; |
| 11937 |
| 11938 static final int RENDERING_INTENT_AUTO = 1; |
| 11939 |
| 11940 static final int RENDERING_INTENT_PERCEPTUAL = 2; |
| 11941 |
| 11942 static final int RENDERING_INTENT_RELATIVE_COLORIMETRIC = 3; |
| 11943 |
| 11944 static final int RENDERING_INTENT_SATURATION = 4; |
| 11945 |
| 11946 static final int RENDERING_INTENT_UNKNOWN = 0; |
| 11947 } |
| 11948 |
| 11949 class _SVGSVGElementJs extends _SVGElementJs implements SVGSVGElement native "*S
VGSVGElement" { |
| 11950 |
| 11951 String contentScriptType; |
| 11952 |
| 11953 String contentStyleType; |
| 11954 |
| 11955 num currentScale; |
| 11956 |
| 11957 final _SVGPointJs currentTranslate; |
| 11958 |
| 11959 final _SVGAnimatedLengthJs height; |
| 11960 |
| 11961 final num pixelUnitToMillimeterX; |
| 11962 |
| 11963 final num pixelUnitToMillimeterY; |
| 11964 |
| 11965 final num screenPixelToMillimeterX; |
| 11966 |
| 11967 final num screenPixelToMillimeterY; |
| 11968 |
| 11969 bool useCurrentView; |
| 11970 |
| 11971 final _SVGRectJs viewport; |
| 11972 |
| 11973 final _SVGAnimatedLengthJs width; |
| 11974 |
| 11975 final _SVGAnimatedLengthJs x; |
| 11976 |
| 11977 final _SVGAnimatedLengthJs y; |
| 11978 |
| 11979 bool animationsPaused() native; |
| 11980 |
| 11981 bool checkEnclosure(_SVGElementJs element, _SVGRectJs rect) native; |
| 11982 |
| 11983 bool checkIntersection(_SVGElementJs element, _SVGRectJs rect) native; |
| 11984 |
| 11985 _SVGAngleJs createSVGAngle() native; |
| 11986 |
| 11987 _SVGLengthJs createSVGLength() native; |
| 11988 |
| 11989 _SVGMatrixJs createSVGMatrix() native; |
| 11990 |
| 11991 _SVGNumberJs createSVGNumber() native; |
| 11992 |
| 11993 _SVGPointJs createSVGPoint() native; |
| 11994 |
| 11995 _SVGRectJs createSVGRect() native; |
| 11996 |
| 11997 _SVGTransformJs createSVGTransform() native; |
| 11998 |
| 11999 _SVGTransformJs createSVGTransformFromMatrix(_SVGMatrixJs matrix) native; |
| 12000 |
| 12001 void deselectAll() native; |
| 12002 |
| 12003 void forceRedraw() native; |
| 12004 |
| 12005 num getCurrentTime() native; |
| 12006 |
| 12007 _ElementJs getElementById(String elementId) native; |
| 12008 |
| 12009 _NodeListJs getEnclosureList(_SVGRectJs rect, _SVGElementJs referenceElement)
native; |
| 12010 |
| 12011 _NodeListJs getIntersectionList(_SVGRectJs rect, _SVGElementJs referenceElemen
t) native; |
| 12012 |
| 12013 void pauseAnimations() native; |
| 12014 |
| 12015 void setCurrentTime(num seconds) native; |
| 12016 |
| 12017 int suspendRedraw(int maxWaitMilliseconds) native; |
| 12018 |
| 12019 void unpauseAnimations() native; |
| 12020 |
| 12021 void unsuspendRedraw(int suspendHandleId) native; |
| 12022 |
| 12023 void unsuspendRedrawAll() native; |
| 12024 |
| 12025 // From SVGTests |
| 12026 |
| 12027 final _SVGStringListJs requiredExtensions; |
| 12028 |
| 12029 final _SVGStringListJs requiredFeatures; |
| 12030 |
| 12031 final _SVGStringListJs systemLanguage; |
| 12032 |
| 12033 bool hasExtension(String extension) native; |
| 12034 |
| 12035 // From SVGLangSpace |
| 12036 |
| 12037 String xmllang; |
| 12038 |
| 12039 String xmlspace; |
| 12040 |
| 12041 // From SVGExternalResourcesRequired |
| 12042 |
| 12043 final _SVGAnimatedBooleanJs externalResourcesRequired; |
| 12044 |
| 12045 // From SVGStylable |
| 12046 |
| 12047 _SVGAnimatedStringJs get _className() native "return this.className;"; |
| 12048 |
| 12049 // Use implementation from Element. |
| 12050 // final _CSSStyleDeclarationJs style; |
| 12051 |
| 12052 _CSSValueJs getPresentationAttribute(String name) native; |
| 12053 |
| 12054 // From SVGLocatable |
| 12055 |
| 12056 final _SVGElementJs farthestViewportElement; |
| 12057 |
| 12058 final _SVGElementJs nearestViewportElement; |
| 12059 |
| 12060 _SVGRectJs getBBox() native; |
| 12061 |
| 12062 _SVGMatrixJs getCTM() native; |
| 12063 |
| 12064 _SVGMatrixJs getScreenCTM() native; |
| 12065 |
| 12066 _SVGMatrixJs getTransformToElement(_SVGElementJs element) native; |
| 12067 |
| 12068 // From SVGFitToViewBox |
| 12069 |
| 12070 final _SVGAnimatedPreserveAspectRatioJs preserveAspectRatio; |
| 12071 |
| 12072 final _SVGAnimatedRectJs viewBox; |
| 12073 |
| 12074 // From SVGZoomAndPan |
| 12075 |
| 12076 int zoomAndPan; |
| 12077 } |
| 12078 |
| 12079 class _SVGScriptElementJs extends _SVGElementJs implements SVGScriptElement nati
ve "*SVGScriptElement" { |
| 12080 |
| 12081 String type; |
| 12082 |
| 12083 // From SVGURIReference |
| 12084 |
| 12085 final _SVGAnimatedStringJs href; |
| 12086 |
| 12087 // From SVGExternalResourcesRequired |
| 12088 |
| 12089 final _SVGAnimatedBooleanJs externalResourcesRequired; |
| 12090 } |
| 12091 |
| 12092 class _SVGSetElementJs extends _SVGAnimationElementJs implements SVGSetElement n
ative "*SVGSetElement" { |
| 12093 } |
| 12094 |
| 12095 class _SVGStopElementJs extends _SVGElementJs implements SVGStopElement native "
*SVGStopElement" { |
| 12096 |
| 12097 final _SVGAnimatedNumberJs offset; |
| 12098 |
| 12099 // From SVGStylable |
| 12100 |
| 12101 _SVGAnimatedStringJs get _className() native "return this.className;"; |
| 12102 |
| 12103 // Use implementation from Element. |
| 12104 // final _CSSStyleDeclarationJs style; |
| 12105 |
| 12106 _CSSValueJs getPresentationAttribute(String name) native; |
| 12107 } |
| 12108 |
| 12109 class _SVGStringListJs implements SVGStringList native "*SVGStringList" { |
| 12110 |
| 12111 final int numberOfItems; |
| 12112 |
| 12113 String appendItem(String item) native; |
| 12114 |
| 12115 void clear() native; |
| 12116 |
| 12117 String getItem(int index) native; |
| 12118 |
| 12119 String initialize(String item) native; |
| 12120 |
| 12121 String insertItemBefore(String item, int index) native; |
| 12122 |
| 12123 String removeItem(int index) native; |
| 12124 |
| 12125 String replaceItem(String item, int index) native; |
| 12126 } |
| 12127 |
| 12128 class _SVGStylableJs implements SVGStylable native "*SVGStylable" { |
| 12129 |
| 12130 final _SVGAnimatedStringJs className; |
| 12131 |
| 12132 final _CSSStyleDeclarationJs style; |
| 12133 |
| 12134 _CSSValueJs getPresentationAttribute(String name) native; |
| 12135 } |
| 12136 |
| 12137 class _SVGStyleElementJs extends _SVGElementJs implements SVGStyleElement native
"*SVGStyleElement" { |
| 12138 |
| 12139 bool disabled; |
| 12140 |
| 12141 String media; |
| 12142 |
| 12143 // Shadowing definition. |
| 12144 String get title() native "return this.title;"; |
| 12145 |
| 12146 void set title(String value) native "this.title = value;"; |
| 12147 |
| 12148 String type; |
| 12149 |
| 12150 // From SVGLangSpace |
| 12151 |
| 12152 String xmllang; |
| 12153 |
| 12154 String xmlspace; |
| 12155 } |
| 12156 |
| 12157 class _SVGSwitchElementJs extends _SVGElementJs implements SVGSwitchElement nati
ve "*SVGSwitchElement" { |
| 12158 |
| 12159 // From SVGTests |
| 12160 |
| 12161 final _SVGStringListJs requiredExtensions; |
| 12162 |
| 12163 final _SVGStringListJs requiredFeatures; |
| 12164 |
| 12165 final _SVGStringListJs systemLanguage; |
| 12166 |
| 12167 bool hasExtension(String extension) native; |
| 12168 |
| 12169 // From SVGLangSpace |
| 12170 |
| 12171 String xmllang; |
| 12172 |
| 12173 String xmlspace; |
| 12174 |
| 12175 // From SVGExternalResourcesRequired |
| 12176 |
| 12177 final _SVGAnimatedBooleanJs externalResourcesRequired; |
| 12178 |
| 12179 // From SVGStylable |
| 12180 |
| 12181 _SVGAnimatedStringJs get _className() native "return this.className;"; |
| 12182 |
| 12183 // Use implementation from Element. |
| 12184 // final _CSSStyleDeclarationJs style; |
| 12185 |
| 12186 _CSSValueJs getPresentationAttribute(String name) native; |
| 12187 |
| 12188 // From SVGTransformable |
| 12189 |
| 12190 final _SVGAnimatedTransformListJs transform; |
| 12191 |
| 12192 // From SVGLocatable |
| 12193 |
| 12194 final _SVGElementJs farthestViewportElement; |
| 12195 |
| 12196 final _SVGElementJs nearestViewportElement; |
| 12197 |
| 12198 _SVGRectJs getBBox() native; |
| 12199 |
| 12200 _SVGMatrixJs getCTM() native; |
| 12201 |
| 12202 _SVGMatrixJs getScreenCTM() native; |
| 12203 |
| 12204 _SVGMatrixJs getTransformToElement(_SVGElementJs element) native; |
| 12205 } |
| 12206 |
| 12207 class _SVGSymbolElementJs extends _SVGElementJs implements SVGSymbolElement nati
ve "*SVGSymbolElement" { |
| 12208 |
| 12209 // From SVGLangSpace |
| 12210 |
| 12211 String xmllang; |
| 12212 |
| 12213 String xmlspace; |
| 12214 |
| 12215 // From SVGExternalResourcesRequired |
| 12216 |
| 12217 final _SVGAnimatedBooleanJs externalResourcesRequired; |
| 12218 |
| 12219 // From SVGStylable |
| 12220 |
| 12221 _SVGAnimatedStringJs get _className() native "return this.className;"; |
| 12222 |
| 12223 // Use implementation from Element. |
| 12224 // final _CSSStyleDeclarationJs style; |
| 12225 |
| 12226 _CSSValueJs getPresentationAttribute(String name) native; |
| 12227 |
| 12228 // From SVGFitToViewBox |
| 12229 |
| 12230 final _SVGAnimatedPreserveAspectRatioJs preserveAspectRatio; |
| 12231 |
| 12232 final _SVGAnimatedRectJs viewBox; |
| 12233 } |
| 12234 |
| 12235 class _SVGTRefElementJs extends _SVGTextPositioningElementJs implements SVGTRefE
lement native "*SVGTRefElement" { |
| 12236 |
| 12237 // From SVGURIReference |
| 12238 |
| 12239 final _SVGAnimatedStringJs href; |
| 12240 } |
| 12241 |
| 12242 class _SVGTSpanElementJs extends _SVGTextPositioningElementJs implements SVGTSpa
nElement native "*SVGTSpanElement" { |
| 12243 } |
| 12244 |
| 12245 class _SVGTestsJs implements SVGTests native "*SVGTests" { |
| 12246 |
| 12247 final _SVGStringListJs requiredExtensions; |
| 12248 |
| 12249 final _SVGStringListJs requiredFeatures; |
| 12250 |
| 12251 final _SVGStringListJs systemLanguage; |
| 12252 |
| 12253 bool hasExtension(String extension) native; |
| 12254 } |
| 12255 |
| 12256 class _SVGTextContentElementJs extends _SVGElementJs implements SVGTextContentEl
ement native "*SVGTextContentElement" { |
| 12257 |
| 12258 static final int LENGTHADJUST_SPACING = 1; |
| 12259 |
| 12260 static final int LENGTHADJUST_SPACINGANDGLYPHS = 2; |
| 12261 |
| 12262 static final int LENGTHADJUST_UNKNOWN = 0; |
| 12263 |
| 12264 final _SVGAnimatedEnumerationJs lengthAdjust; |
| 12265 |
| 12266 final _SVGAnimatedLengthJs textLength; |
| 12267 |
| 12268 int getCharNumAtPosition(_SVGPointJs point) native; |
| 12269 |
| 12270 num getComputedTextLength() native; |
| 12271 |
| 12272 _SVGPointJs getEndPositionOfChar(int offset) native; |
| 12273 |
| 12274 _SVGRectJs getExtentOfChar(int offset) native; |
| 12275 |
| 12276 int getNumberOfChars() native; |
| 12277 |
| 12278 num getRotationOfChar(int offset) native; |
| 12279 |
| 12280 _SVGPointJs getStartPositionOfChar(int offset) native; |
| 12281 |
| 12282 num getSubStringLength(int offset, int length) native; |
| 12283 |
| 12284 void selectSubString(int offset, int length) native; |
| 12285 |
| 12286 // From SVGTests |
| 12287 |
| 12288 final _SVGStringListJs requiredExtensions; |
| 12289 |
| 12290 final _SVGStringListJs requiredFeatures; |
| 12291 |
| 12292 final _SVGStringListJs systemLanguage; |
| 12293 |
| 12294 bool hasExtension(String extension) native; |
| 12295 |
| 12296 // From SVGLangSpace |
| 12297 |
| 12298 String xmllang; |
| 12299 |
| 12300 String xmlspace; |
| 12301 |
| 12302 // From SVGExternalResourcesRequired |
| 12303 |
| 12304 final _SVGAnimatedBooleanJs externalResourcesRequired; |
| 12305 |
| 12306 // From SVGStylable |
| 12307 |
| 12308 _SVGAnimatedStringJs get _className() native "return this.className;"; |
| 12309 |
| 12310 // Use implementation from Element. |
| 12311 // final _CSSStyleDeclarationJs style; |
| 12312 |
| 12313 _CSSValueJs getPresentationAttribute(String name) native; |
| 12314 } |
| 12315 |
| 12316 class _SVGTextElementJs extends _SVGTextPositioningElementJs implements SVGTextE
lement native "*SVGTextElement" { |
| 12317 |
| 12318 // From SVGTransformable |
| 12319 |
| 12320 final _SVGAnimatedTransformListJs transform; |
| 12321 |
| 12322 // From SVGLocatable |
| 12323 |
| 12324 final _SVGElementJs farthestViewportElement; |
| 12325 |
| 12326 final _SVGElementJs nearestViewportElement; |
| 12327 |
| 12328 _SVGRectJs getBBox() native; |
| 12329 |
| 12330 _SVGMatrixJs getCTM() native; |
| 12331 |
| 12332 _SVGMatrixJs getScreenCTM() native; |
| 12333 |
| 12334 _SVGMatrixJs getTransformToElement(_SVGElementJs element) native; |
| 12335 } |
| 12336 |
| 12337 class _SVGTextPathElementJs extends _SVGTextContentElementJs implements SVGTextP
athElement native "*SVGTextPathElement" { |
| 12338 |
| 12339 static final int TEXTPATH_METHODTYPE_ALIGN = 1; |
| 12340 |
| 12341 static final int TEXTPATH_METHODTYPE_STRETCH = 2; |
| 12342 |
| 12343 static final int TEXTPATH_METHODTYPE_UNKNOWN = 0; |
| 12344 |
| 12345 static final int TEXTPATH_SPACINGTYPE_AUTO = 1; |
| 12346 |
| 12347 static final int TEXTPATH_SPACINGTYPE_EXACT = 2; |
| 12348 |
| 12349 static final int TEXTPATH_SPACINGTYPE_UNKNOWN = 0; |
| 12350 |
| 12351 final _SVGAnimatedEnumerationJs method; |
| 12352 |
| 12353 final _SVGAnimatedEnumerationJs spacing; |
| 12354 |
| 12355 final _SVGAnimatedLengthJs startOffset; |
| 12356 |
| 12357 // From SVGURIReference |
| 12358 |
| 12359 final _SVGAnimatedStringJs href; |
| 12360 } |
| 12361 |
| 12362 class _SVGTextPositioningElementJs extends _SVGTextContentElementJs implements S
VGTextPositioningElement native "*SVGTextPositioningElement" { |
| 12363 |
| 12364 final _SVGAnimatedLengthListJs dx; |
| 12365 |
| 12366 final _SVGAnimatedLengthListJs dy; |
| 12367 |
| 12368 final _SVGAnimatedNumberListJs rotate; |
| 12369 |
| 12370 final _SVGAnimatedLengthListJs x; |
| 12371 |
| 12372 final _SVGAnimatedLengthListJs y; |
| 12373 } |
| 12374 |
| 12375 class _SVGTitleElementJs extends _SVGElementJs implements SVGTitleElement native
"*SVGTitleElement" { |
| 12376 |
| 12377 // From SVGLangSpace |
| 12378 |
| 12379 String xmllang; |
| 12380 |
| 12381 String xmlspace; |
| 12382 |
| 12383 // From SVGStylable |
| 12384 |
| 12385 _SVGAnimatedStringJs get _className() native "return this.className;"; |
| 12386 |
| 12387 // Use implementation from Element. |
| 12388 // final _CSSStyleDeclarationJs style; |
| 12389 |
| 12390 _CSSValueJs getPresentationAttribute(String name) native; |
| 12391 } |
| 12392 |
| 12393 class _SVGTransformJs implements SVGTransform native "*SVGTransform" { |
| 12394 |
| 12395 static final int SVG_TRANSFORM_MATRIX = 1; |
| 12396 |
| 12397 static final int SVG_TRANSFORM_ROTATE = 4; |
| 12398 |
| 12399 static final int SVG_TRANSFORM_SCALE = 3; |
| 12400 |
| 12401 static final int SVG_TRANSFORM_SKEWX = 5; |
| 12402 |
| 12403 static final int SVG_TRANSFORM_SKEWY = 6; |
| 12404 |
| 12405 static final int SVG_TRANSFORM_TRANSLATE = 2; |
| 12406 |
| 12407 static final int SVG_TRANSFORM_UNKNOWN = 0; |
| 12408 |
| 12409 final num angle; |
| 12410 |
| 12411 final _SVGMatrixJs matrix; |
| 12412 |
| 12413 final int type; |
| 12414 |
| 12415 void setMatrix(_SVGMatrixJs matrix) native; |
| 12416 |
| 12417 void setRotate(num angle, num cx, num cy) native; |
| 12418 |
| 12419 void setScale(num sx, num sy) native; |
| 12420 |
| 12421 void setSkewX(num angle) native; |
| 12422 |
| 12423 void setSkewY(num angle) native; |
| 12424 |
| 12425 void setTranslate(num tx, num ty) native; |
| 12426 } |
| 12427 |
| 12428 class _SVGTransformListJs implements SVGTransformList native "*SVGTransformList"
{ |
| 12429 |
| 12430 final int numberOfItems; |
| 12431 |
| 12432 _SVGTransformJs appendItem(_SVGTransformJs item) native; |
| 12433 |
| 12434 void clear() native; |
| 12435 |
| 12436 _SVGTransformJs consolidate() native; |
| 12437 |
| 12438 _SVGTransformJs createSVGTransformFromMatrix(_SVGMatrixJs matrix) native; |
| 12439 |
| 12440 _SVGTransformJs getItem(int index) native; |
| 12441 |
| 12442 _SVGTransformJs initialize(_SVGTransformJs item) native; |
| 12443 |
| 12444 _SVGTransformJs insertItemBefore(_SVGTransformJs item, int index) native; |
| 12445 |
| 12446 _SVGTransformJs removeItem(int index) native; |
| 12447 |
| 12448 _SVGTransformJs replaceItem(_SVGTransformJs item, int index) native; |
| 12449 } |
| 12450 |
| 12451 class _SVGTransformableJs extends _SVGLocatableJs implements SVGTransformable na
tive "*SVGTransformable" { |
| 12452 |
| 12453 final _SVGAnimatedTransformListJs transform; |
| 12454 } |
| 12455 |
| 12456 class _SVGURIReferenceJs implements SVGURIReference native "*SVGURIReference" { |
| 12457 |
| 12458 final _SVGAnimatedStringJs href; |
| 12459 } |
| 12460 |
| 12461 class _SVGUnitTypesJs implements SVGUnitTypes native "*SVGUnitTypes" { |
| 12462 |
| 12463 static final int SVG_UNIT_TYPE_OBJECTBOUNDINGBOX = 2; |
| 12464 |
| 12465 static final int SVG_UNIT_TYPE_UNKNOWN = 0; |
| 12466 |
| 12467 static final int SVG_UNIT_TYPE_USERSPACEONUSE = 1; |
| 12468 } |
| 12469 |
| 12470 class _SVGUseElementJs extends _SVGElementJs implements SVGUseElement native "*S
VGUseElement" { |
| 12471 |
| 12472 final _SVGElementInstanceJs animatedInstanceRoot; |
| 12473 |
| 12474 final _SVGAnimatedLengthJs height; |
| 12475 |
| 12476 final _SVGElementInstanceJs instanceRoot; |
| 12477 |
| 12478 final _SVGAnimatedLengthJs width; |
| 12479 |
| 12480 final _SVGAnimatedLengthJs x; |
| 12481 |
| 12482 final _SVGAnimatedLengthJs y; |
| 12483 |
| 12484 // From SVGURIReference |
| 12485 |
| 12486 final _SVGAnimatedStringJs href; |
| 12487 |
| 12488 // From SVGTests |
| 12489 |
| 12490 final _SVGStringListJs requiredExtensions; |
| 12491 |
| 12492 final _SVGStringListJs requiredFeatures; |
| 12493 |
| 12494 final _SVGStringListJs systemLanguage; |
| 12495 |
| 12496 bool hasExtension(String extension) native; |
| 12497 |
| 12498 // From SVGLangSpace |
| 12499 |
| 12500 String xmllang; |
| 12501 |
| 12502 String xmlspace; |
| 12503 |
| 12504 // From SVGExternalResourcesRequired |
| 12505 |
| 12506 final _SVGAnimatedBooleanJs externalResourcesRequired; |
| 12507 |
| 12508 // From SVGStylable |
| 12509 |
| 12510 _SVGAnimatedStringJs get _className() native "return this.className;"; |
| 12511 |
| 12512 // Use implementation from Element. |
| 12513 // final _CSSStyleDeclarationJs style; |
| 12514 |
| 12515 _CSSValueJs getPresentationAttribute(String name) native; |
| 12516 |
| 12517 // From SVGTransformable |
| 12518 |
| 12519 final _SVGAnimatedTransformListJs transform; |
| 12520 |
| 12521 // From SVGLocatable |
| 12522 |
| 12523 final _SVGElementJs farthestViewportElement; |
| 12524 |
| 12525 final _SVGElementJs nearestViewportElement; |
| 12526 |
| 12527 _SVGRectJs getBBox() native; |
| 12528 |
| 12529 _SVGMatrixJs getCTM() native; |
| 12530 |
| 12531 _SVGMatrixJs getScreenCTM() native; |
| 12532 |
| 12533 _SVGMatrixJs getTransformToElement(_SVGElementJs element) native; |
| 12534 } |
| 12535 |
| 12536 class _SVGVKernElementJs extends _SVGElementJs implements SVGVKernElement native
"*SVGVKernElement" { |
| 12537 } |
| 12538 |
| 12539 class _SVGViewElementJs extends _SVGElementJs implements SVGViewElement native "
*SVGViewElement" { |
| 12540 |
| 12541 final _SVGStringListJs viewTarget; |
| 12542 |
| 12543 // From SVGExternalResourcesRequired |
| 12544 |
| 12545 final _SVGAnimatedBooleanJs externalResourcesRequired; |
| 12546 |
| 12547 // From SVGFitToViewBox |
| 12548 |
| 12549 final _SVGAnimatedPreserveAspectRatioJs preserveAspectRatio; |
| 12550 |
| 12551 final _SVGAnimatedRectJs viewBox; |
| 12552 |
| 12553 // From SVGZoomAndPan |
| 12554 |
| 12555 int zoomAndPan; |
| 12556 } |
| 12557 |
| 12558 class _SVGViewSpecJs extends _SVGZoomAndPanJs implements SVGViewSpec native "*SV
GViewSpec" { |
| 12559 |
| 12560 final String preserveAspectRatioString; |
| 12561 |
| 12562 final _SVGTransformListJs transform; |
| 12563 |
| 12564 final String transformString; |
| 12565 |
| 12566 final String viewBoxString; |
| 12567 |
| 12568 final _SVGElementJs viewTarget; |
| 12569 |
| 12570 final String viewTargetString; |
| 12571 |
| 12572 // From SVGFitToViewBox |
| 12573 |
| 12574 final _SVGAnimatedPreserveAspectRatioJs preserveAspectRatio; |
| 12575 |
| 12576 final _SVGAnimatedRectJs viewBox; |
| 12577 } |
| 12578 |
| 12579 class _SVGZoomAndPanJs implements SVGZoomAndPan native "*SVGZoomAndPan" { |
| 12580 |
| 12581 static final int SVG_ZOOMANDPAN_DISABLE = 1; |
| 12582 |
| 12583 static final int SVG_ZOOMANDPAN_MAGNIFY = 2; |
| 12584 |
| 12585 static final int SVG_ZOOMANDPAN_UNKNOWN = 0; |
| 12586 |
| 12587 int zoomAndPan; |
| 12588 } |
| 12589 |
| 12590 class _SVGZoomEventJs extends _UIEventJs implements SVGZoomEvent native "*SVGZoo
mEvent" { |
| 12591 |
| 12592 final num newScale; |
| 12593 |
| 12594 final _SVGPointJs newTranslate; |
| 12595 |
| 12596 final num previousScale; |
| 12597 |
| 12598 final _SVGPointJs previousTranslate; |
| 12599 |
| 12600 final _SVGRectJs zoomRectScreen; |
| 12601 } |
| 12602 |
| 12603 class _ScreenJs implements Screen native "*Screen" { |
| 12604 |
| 12605 final int availHeight; |
| 12606 |
| 12607 final int availLeft; |
| 12608 |
| 12609 final int availTop; |
| 12610 |
| 12611 final int availWidth; |
| 12612 |
| 12613 final int colorDepth; |
| 12614 |
| 12615 final int height; |
| 12616 |
| 12617 final int pixelDepth; |
| 12618 |
| 12619 final int width; |
| 12620 } |
| 12621 |
| 12622 class _ScriptElementJs extends _ElementJs implements ScriptElement native "*HTML
ScriptElement" { |
| 12623 |
| 12624 bool async; |
| 12625 |
| 12626 String charset; |
| 12627 |
| 12628 bool defer; |
| 12629 |
| 12630 String event; |
| 12631 |
| 12632 String htmlFor; |
| 12633 |
| 12634 String src; |
| 12635 |
| 12636 String text; |
| 12637 |
| 12638 String type; |
| 12639 } |
| 12640 |
| 12641 class _ScriptProfileJs implements ScriptProfile native "*ScriptProfile" { |
| 12642 |
| 12643 final _ScriptProfileNodeJs head; |
| 12644 |
| 12645 final String title; |
| 12646 |
| 12647 final int uid; |
| 12648 } |
| 12649 |
| 12650 class _ScriptProfileNodeJs implements ScriptProfileNode native "*ScriptProfileNo
de" { |
| 12651 |
| 12652 final int callUID; |
| 12653 |
| 12654 final List children; |
| 12655 |
| 12656 final String functionName; |
| 12657 |
| 12658 final int lineNumber; |
| 12659 |
| 12660 final int numberOfCalls; |
| 12661 |
| 12662 final num selfTime; |
| 12663 |
| 12664 final num totalTime; |
| 12665 |
| 12666 final String url; |
| 12667 |
| 12668 final bool visible; |
| 12669 } |
| 12670 |
| 12671 class _SelectElementJs extends _ElementJs implements SelectElement native "*HTML
SelectElement" { |
| 12672 |
| 12673 bool autofocus; |
| 12674 |
| 12675 bool disabled; |
| 12676 |
| 12677 final _FormElementJs form; |
| 12678 |
| 12679 final _NodeListJs labels; |
| 12680 |
| 12681 int length; |
| 12682 |
| 12683 bool multiple; |
| 12684 |
| 12685 String name; |
| 12686 |
| 12687 final _HTMLOptionsCollectionJs options; |
| 12688 |
| 12689 bool required; |
| 12690 |
| 12691 int selectedIndex; |
| 12692 |
| 12693 int size; |
| 12694 |
| 12695 final String type; |
| 12696 |
| 12697 final String validationMessage; |
| 12698 |
| 12699 final _ValidityStateJs validity; |
| 12700 |
| 12701 String value; |
| 12702 |
| 12703 final bool willValidate; |
| 12704 |
| 12705 void add(_ElementJs element, _ElementJs before) native; |
| 12706 |
| 12707 bool checkValidity() native; |
| 12708 |
| 12709 _NodeJs item(int index) native; |
| 12710 |
| 12711 _NodeJs namedItem(String name) native; |
| 12712 |
| 12713 void setCustomValidity(String error) native; |
| 12714 } |
| 12715 |
| 12716 class _ShadowElementJs extends _ElementJs implements ShadowElement native "*HTML
ShadowElement" { |
| 12717 } |
| 12718 |
| 12719 class _ShadowRootJs extends _DocumentFragmentJs implements ShadowRoot native "*S
hadowRoot" { |
| 12720 |
| 12721 final _ElementJs host; |
| 12722 |
| 12723 _ElementJs getElementById(String elementId) native; |
| 12724 |
| 12725 _NodeListJs getElementsByClassName(String className) native; |
| 12726 |
| 12727 _NodeListJs getElementsByTagName(String tagName) native; |
| 12728 |
| 12729 _NodeListJs getElementsByTagNameNS(String namespaceURI, String localName) nati
ve; |
| 12730 } |
| 12731 |
| 12732 class _SharedWorkerJs extends _AbstractWorkerJs implements SharedWorker native "
*SharedWorker" { |
| 12733 |
| 12734 final _MessagePortJs port; |
| 12735 } |
| 12736 |
| 12737 class _SharedWorkerContextJs extends _WorkerContextJs implements SharedWorkerCon
text native "*SharedWorkerContext" { |
| 12738 |
| 12739 final String name; |
| 12740 |
| 12741 EventListener onconnect; |
| 12742 } |
| 12743 |
| 12744 class _SourceElementJs extends _ElementJs implements SourceElement native "*HTML
SourceElement" { |
| 12745 |
| 12746 String media; |
| 12747 |
| 12748 String src; |
| 12749 |
| 12750 String type; |
| 12751 } |
| 12752 |
| 12753 class _SpanElementJs extends _ElementJs implements SpanElement native "*HTMLSpan
Element" { |
| 12754 } |
| 12755 |
| 12756 class _SpeechInputEventJs extends _EventJs implements SpeechInputEvent native "*
SpeechInputEvent" { |
| 12757 |
| 12758 final _SpeechInputResultListJs results; |
| 12759 } |
| 12760 |
| 12761 class _SpeechInputResultJs implements SpeechInputResult native "*SpeechInputResu
lt" { |
| 12762 |
| 12763 final num confidence; |
| 12764 |
| 12765 final String utterance; |
| 12766 } |
| 12767 |
| 12768 class _SpeechInputResultListJs implements SpeechInputResultList native "*SpeechI
nputResultList" { |
| 12769 |
| 12770 final int length; |
| 12771 |
| 12772 _SpeechInputResultJs item(int index) native; |
| 12773 } |
| 12774 |
| 12775 class _StorageJs implements Storage native "*Storage" { |
| 12776 |
| 12777 final int length; |
| 12778 |
| 12779 void clear() native; |
| 12780 |
| 12781 String getItem(String key) native; |
| 12782 |
| 12783 String key(int index) native; |
| 12784 |
| 12785 void removeItem(String key) native; |
| 12786 |
| 12787 void setItem(String key, String data) native; |
| 12788 } |
| 12789 |
| 12790 class _StorageEventJs extends _EventJs implements StorageEvent native "*StorageE
vent" { |
| 12791 |
| 12792 final String key; |
| 12793 |
| 12794 final String newValue; |
| 12795 |
| 12796 final String oldValue; |
| 12797 |
| 12798 final _StorageJs storageArea; |
| 12799 |
| 12800 final String url; |
| 12801 |
| 12802 void initStorageEvent(String typeArg, bool canBubbleArg, bool cancelableArg, S
tring keyArg, String oldValueArg, String newValueArg, String urlArg, _StorageJs
storageAreaArg) native; |
| 12803 } |
| 12804 |
| 12805 class _StorageInfoJs implements StorageInfo native "*StorageInfo" { |
| 12806 |
| 12807 static final int PERSISTENT = 1; |
| 12808 |
| 12809 static final int TEMPORARY = 0; |
| 12810 |
| 12811 void queryUsageAndQuota(int storageType, [StorageInfoUsageCallback usageCallba
ck = null, StorageInfoErrorCallback errorCallback = null]) native; |
| 12812 |
| 12813 void requestQuota(int storageType, int newQuotaInBytes, [StorageInfoQuotaCallb
ack quotaCallback = null, StorageInfoErrorCallback errorCallback = null]) native
; |
| 12814 } |
| 12815 |
| 12816 class _StyleElementJs extends _ElementJs implements StyleElement native "*HTMLSt
yleElement" { |
| 12817 |
| 12818 bool disabled; |
| 12819 |
| 12820 String media; |
| 12821 |
| 12822 final _StyleSheetJs sheet; |
| 12823 |
| 12824 String type; |
| 12825 } |
| 12826 |
| 12827 class _StyleMediaJs implements StyleMedia native "*StyleMedia" { |
| 12828 |
| 12829 final String type; |
| 12830 |
| 12831 bool matchMedium(String mediaquery) native; |
| 12832 } |
| 12833 |
| 12834 class _StyleSheetJs implements StyleSheet native "*StyleSheet" { |
| 12835 |
| 12836 bool disabled; |
| 12837 |
| 12838 final String href; |
| 12839 |
| 12840 final _MediaListJs media; |
| 12841 |
| 12842 final _NodeJs ownerNode; |
| 12843 |
| 12844 final _StyleSheetJs parentStyleSheet; |
| 12845 |
| 12846 final String title; |
| 12847 |
| 12848 final String type; |
| 12849 } |
| 12850 |
| 12851 class _StyleSheetListJs implements StyleSheetList native "*StyleSheetList" { |
| 12852 |
| 12853 final int length; |
| 12854 |
| 12855 _StyleSheetJs operator[](int index) native "return this[index];"; |
| 12856 |
| 12857 void operator[]=(int index, _StyleSheetJs value) { |
| 12858 throw new UnsupportedOperationException("Cannot assign element of immutable
List."); |
| 12859 } |
| 12860 // -- start List<StyleSheet> mixins. |
| 12861 // StyleSheet is the element type. |
| 12862 |
| 12863 // From Iterable<StyleSheet>: |
| 12864 |
| 12865 Iterator<StyleSheet> iterator() { |
| 12866 // Note: NodeLists are not fixed size. And most probably length shouldn't |
| 12867 // be cached in both iterator _and_ forEach method. For now caching it |
| 12868 // for consistency. |
| 12869 return new _FixedSizeListIterator<StyleSheet>(this); |
| 12870 } |
| 12871 |
| 12872 // From Collection<StyleSheet>: |
| 12873 |
| 12874 void add(StyleSheet value) { |
| 12875 throw new UnsupportedOperationException("Cannot add to immutable List."); |
| 12876 } |
| 12877 |
| 12878 void addLast(StyleSheet value) { |
| 12879 throw new UnsupportedOperationException("Cannot add to immutable List."); |
| 12880 } |
| 12881 |
| 12882 void addAll(Collection<StyleSheet> collection) { |
| 12883 throw new UnsupportedOperationException("Cannot add to immutable List."); |
| 12884 } |
| 12885 |
| 12886 void forEach(void f(StyleSheet element)) => _Collections.forEach(this, f); |
| 12887 |
| 12888 Collection map(f(StyleSheet element)) => _Collections.map(this, [], f); |
| 12889 |
| 12890 Collection<StyleSheet> filter(bool f(StyleSheet element)) => |
| 12891 _Collections.filter(this, <StyleSheet>[], f); |
| 12892 |
| 12893 bool every(bool f(StyleSheet element)) => _Collections.every(this, f); |
| 12894 |
| 12895 bool some(bool f(StyleSheet element)) => _Collections.some(this, f); |
| 12896 |
| 12897 bool isEmpty() => this.length == 0; |
| 12898 |
| 12899 // From List<StyleSheet>: |
| 12900 |
| 12901 void sort(int compare(StyleSheet a, StyleSheet b)) { |
| 12902 throw new UnsupportedOperationException("Cannot sort immutable List."); |
| 12903 } |
| 12904 |
| 12905 int indexOf(StyleSheet element, [int start = 0]) => |
| 12906 _Lists.indexOf(this, element, start, this.length); |
| 12907 |
| 12908 int lastIndexOf(StyleSheet element, [int start = 0]) => |
| 12909 _Lists.lastIndexOf(this, element, start); |
| 12910 |
| 12911 StyleSheet last() => this[length - 1]; |
| 12912 |
| 12913 // FIXME: implement thesee. |
| 12914 void setRange(int start, int length, List<StyleSheet> from, [int startFrom]) { |
| 12915 throw new UnsupportedOperationException("Cannot setRange on immutable List."
); |
| 12916 } |
| 12917 void removeRange(int start, int length) { |
| 12918 throw new UnsupportedOperationException("Cannot removeRange on immutable Lis
t."); |
| 12919 } |
| 12920 void insertRange(int start, int length, [StyleSheet initialValue]) { |
| 12921 throw new UnsupportedOperationException("Cannot insertRange on immutable Lis
t."); |
| 12922 } |
| 12923 List<StyleSheet> getRange(int start, int length) => |
| 12924 _Lists.getRange(this, start, length, <StyleSheet>[]); |
| 12925 |
| 12926 // -- end List<StyleSheet> mixins. |
| 12927 |
| 12928 _StyleSheetJs item(int index) native; |
| 12929 } |
| 12930 |
| 12931 class _TableCaptionElementJs extends _ElementJs implements TableCaptionElement n
ative "*HTMLTableCaptionElement" { |
| 12932 |
| 12933 String align; |
| 12934 } |
| 12935 |
| 12936 class _TableCellElementJs extends _ElementJs implements TableCellElement native
"*HTMLTableCellElement" { |
| 12937 |
| 12938 String abbr; |
| 12939 |
| 12940 String align; |
| 12941 |
| 12942 String axis; |
| 12943 |
| 12944 String bgColor; |
| 12945 |
| 12946 final int cellIndex; |
| 12947 |
| 12948 String ch; |
| 12949 |
| 12950 String chOff; |
| 12951 |
| 12952 int colSpan; |
| 12953 |
| 12954 String headers; |
| 12955 |
| 12956 String height; |
| 12957 |
| 12958 bool noWrap; |
| 12959 |
| 12960 int rowSpan; |
| 12961 |
| 12962 String scope; |
| 12963 |
| 12964 String vAlign; |
| 12965 |
| 12966 String width; |
| 12967 } |
| 12968 |
| 12969 class _TableColElementJs extends _ElementJs implements TableColElement native "*
HTMLTableColElement" { |
| 12970 |
| 12971 String align; |
| 12972 |
| 12973 String ch; |
| 12974 |
| 12975 String chOff; |
| 12976 |
| 12977 int span; |
| 12978 |
| 12979 String vAlign; |
| 12980 |
| 12981 String width; |
| 12982 } |
| 12983 |
| 12984 class _TableElementJs extends _ElementJs implements TableElement native "*HTMLTa
bleElement" { |
| 12985 |
| 12986 String align; |
| 12987 |
| 12988 String bgColor; |
| 12989 |
| 12990 String border; |
| 12991 |
| 12992 _TableCaptionElementJs caption; |
| 12993 |
| 12994 String cellPadding; |
| 12995 |
| 12996 String cellSpacing; |
| 12997 |
| 12998 String frame; |
| 12999 |
| 13000 final _HTMLCollectionJs rows; |
| 13001 |
| 13002 String rules; |
| 13003 |
| 13004 String summary; |
| 13005 |
| 13006 final _HTMLCollectionJs tBodies; |
| 13007 |
| 13008 _TableSectionElementJs tFoot; |
| 13009 |
| 13010 _TableSectionElementJs tHead; |
| 13011 |
| 13012 String width; |
| 13013 |
| 13014 _ElementJs createCaption() native; |
| 13015 |
| 13016 _ElementJs createTFoot() native; |
| 13017 |
| 13018 _ElementJs createTHead() native; |
| 13019 |
| 13020 void deleteCaption() native; |
| 13021 |
| 13022 void deleteRow(int index) native; |
| 13023 |
| 13024 void deleteTFoot() native; |
| 13025 |
| 13026 void deleteTHead() native; |
| 13027 |
| 13028 _ElementJs insertRow(int index) native; |
| 13029 } |
| 13030 |
| 13031 class _TableRowElementJs extends _ElementJs implements TableRowElement native "*
HTMLTableRowElement" { |
| 13032 |
| 13033 String align; |
| 13034 |
| 13035 String bgColor; |
| 13036 |
| 13037 final _HTMLCollectionJs cells; |
| 13038 |
| 13039 String ch; |
| 13040 |
| 13041 String chOff; |
| 13042 |
| 13043 final int rowIndex; |
| 13044 |
| 13045 final int sectionRowIndex; |
| 13046 |
| 13047 String vAlign; |
| 13048 |
| 13049 void deleteCell(int index) native; |
| 13050 |
| 13051 _ElementJs insertCell(int index) native; |
| 13052 } |
| 13053 |
| 13054 class _TableSectionElementJs extends _ElementJs implements TableSectionElement n
ative "*HTMLTableSectionElement" { |
| 13055 |
| 13056 String align; |
| 13057 |
| 13058 String ch; |
| 13059 |
| 13060 String chOff; |
| 13061 |
| 13062 final _HTMLCollectionJs rows; |
| 13063 |
| 13064 String vAlign; |
| 13065 |
| 13066 void deleteRow(int index) native; |
| 13067 |
| 13068 _ElementJs insertRow(int index) native; |
| 13069 } |
| 13070 |
| 13071 class _TextJs extends _CharacterDataJs implements Text native "*Text" { |
| 13072 |
| 13073 final String wholeText; |
| 13074 |
| 13075 _TextJs replaceWholeText(String content) native; |
| 13076 |
| 13077 _TextJs splitText(int offset) native; |
| 13078 } |
| 13079 |
| 13080 class _TextAreaElementJs extends _ElementJs implements TextAreaElement native "*
HTMLTextAreaElement" { |
| 13081 |
| 13082 bool autofocus; |
| 13083 |
| 13084 int cols; |
| 13085 |
| 13086 String defaultValue; |
| 13087 |
| 13088 bool disabled; |
| 13089 |
| 13090 final _FormElementJs form; |
| 13091 |
| 13092 final _NodeListJs labels; |
| 13093 |
| 13094 int maxLength; |
| 13095 |
| 13096 String name; |
| 13097 |
| 13098 String placeholder; |
| 13099 |
| 13100 bool readOnly; |
| 13101 |
| 13102 bool required; |
| 13103 |
| 13104 int rows; |
| 13105 |
| 13106 String selectionDirection; |
| 13107 |
| 13108 int selectionEnd; |
| 13109 |
| 13110 int selectionStart; |
| 13111 |
| 13112 final int textLength; |
| 13113 |
| 13114 final String type; |
| 13115 |
| 13116 final String validationMessage; |
| 13117 |
| 13118 final _ValidityStateJs validity; |
| 13119 |
| 13120 String value; |
| 13121 |
| 13122 final bool willValidate; |
| 13123 |
| 13124 String wrap; |
| 13125 |
| 13126 bool checkValidity() native; |
| 13127 |
| 13128 void select() native; |
| 13129 |
| 13130 void setCustomValidity(String error) native; |
| 13131 |
| 13132 void setSelectionRange(int start, int end, [String direction = null]) native; |
| 13133 } |
| 13134 |
| 13135 class _TextEventJs extends _UIEventJs implements TextEvent native "*TextEvent" { |
| 13136 |
| 13137 final String data; |
| 13138 |
| 13139 void initTextEvent(String typeArg, bool canBubbleArg, bool cancelableArg, _Win
dowJs viewArg, String dataArg) native; |
| 13140 } |
| 13141 |
| 13142 class _TextMetricsJs implements TextMetrics native "*TextMetrics" { |
| 13143 |
| 13144 final num width; |
| 13145 } |
| 13146 |
| 13147 class _TextTrackJs implements TextTrack native "*TextTrack" { |
| 13148 |
| 13149 static final int DISABLED = 0; |
| 13150 |
| 13151 static final int HIDDEN = 1; |
| 13152 |
| 13153 static final int SHOWING = 2; |
| 13154 |
| 13155 final _TextTrackCueListJs activeCues; |
| 13156 |
| 13157 final _TextTrackCueListJs cues; |
| 13158 |
| 13159 final String kind; |
| 13160 |
| 13161 final String label; |
| 13162 |
| 13163 final String language; |
| 13164 |
| 13165 int mode; |
| 13166 |
| 13167 EventListener oncuechange; |
| 13168 |
| 13169 void addCue(_TextTrackCueJs cue) native; |
| 13170 |
| 13171 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; |
| 13172 |
| 13173 bool dispatchEvent(_EventJs evt) native; |
| 13174 |
| 13175 void removeCue(_TextTrackCueJs cue) native; |
| 13176 |
| 13177 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; |
| 13178 } |
| 13179 |
| 13180 class _TextTrackCueJs implements TextTrackCue native "*TextTrackCue" { |
| 13181 |
| 13182 String alignment; |
| 13183 |
| 13184 String direction; |
| 13185 |
| 13186 num endTime; |
| 13187 |
| 13188 String id; |
| 13189 |
| 13190 int linePosition; |
| 13191 |
| 13192 EventListener onenter; |
| 13193 |
| 13194 EventListener onexit; |
| 13195 |
| 13196 bool pauseOnExit; |
| 13197 |
| 13198 int size; |
| 13199 |
| 13200 bool snapToLines; |
| 13201 |
| 13202 num startTime; |
| 13203 |
| 13204 String text; |
| 13205 |
| 13206 int textPosition; |
| 13207 |
| 13208 final _TextTrackJs track; |
| 13209 |
| 13210 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; |
| 13211 |
| 13212 bool dispatchEvent(_EventJs evt) native; |
| 13213 |
| 13214 _DocumentFragmentJs getCueAsHTML() native; |
| 13215 |
| 13216 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; |
| 13217 } |
| 13218 |
| 13219 class _TextTrackCueListJs implements TextTrackCueList native "*TextTrackCueList"
{ |
| 13220 |
| 13221 final int length; |
| 13222 |
| 13223 _TextTrackCueJs getCueById(String id) native; |
| 13224 |
| 13225 _TextTrackCueJs item(int index) native; |
| 13226 } |
| 13227 |
| 13228 class _TextTrackListJs implements TextTrackList native "*TextTrackList" { |
| 13229 |
| 13230 final int length; |
| 13231 |
| 13232 EventListener onaddtrack; |
| 13233 |
| 13234 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; |
| 13235 |
| 13236 bool dispatchEvent(_EventJs evt) native; |
| 13237 |
| 13238 _TextTrackJs item(int index) native; |
| 13239 |
| 13240 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; |
| 13241 } |
| 13242 |
| 13243 class _TimeRangesJs implements TimeRanges native "*TimeRanges" { |
| 13244 |
| 13245 final int length; |
| 13246 |
| 13247 num end(int index) native; |
| 13248 |
| 13249 num start(int index) native; |
| 13250 } |
| 13251 |
| 13252 class _TitleElementJs extends _ElementJs implements TitleElement native "*HTMLTi
tleElement" { |
| 13253 |
| 13254 String text; |
| 13255 } |
| 13256 |
| 13257 class _TouchJs implements Touch native "*Touch" { |
| 13258 |
| 13259 final int clientX; |
| 13260 |
| 13261 final int clientY; |
| 13262 |
| 13263 final int identifier; |
| 13264 |
| 13265 final int pageX; |
| 13266 |
| 13267 final int pageY; |
| 13268 |
| 13269 final int screenX; |
| 13270 |
| 13271 final int screenY; |
| 13272 |
| 13273 final _EventTargetJs target; |
| 13274 |
| 13275 final num webkitForce; |
| 13276 |
| 13277 final int webkitRadiusX; |
| 13278 |
| 13279 final int webkitRadiusY; |
| 13280 |
| 13281 final num webkitRotationAngle; |
| 13282 } |
| 13283 |
| 13284 class _TouchEventJs extends _UIEventJs implements TouchEvent native "*TouchEvent
" { |
| 13285 |
| 13286 final bool altKey; |
| 13287 |
| 13288 final _TouchListJs changedTouches; |
| 13289 |
| 13290 final bool ctrlKey; |
| 13291 |
| 13292 final bool metaKey; |
| 13293 |
| 13294 final bool shiftKey; |
| 13295 |
| 13296 final _TouchListJs targetTouches; |
| 13297 |
| 13298 final _TouchListJs touches; |
| 13299 |
| 13300 void initTouchEvent(_TouchListJs touches, _TouchListJs targetTouches, _TouchLi
stJs changedTouches, String type, _WindowJs view, int screenX, int screenY, int
clientX, int clientY, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey) na
tive; |
| 13301 } |
| 13302 |
| 13303 class _TouchListJs implements TouchList native "*TouchList" { |
| 13304 |
| 13305 final int length; |
| 13306 |
| 13307 _TouchJs operator[](int index) native "return this[index];"; |
| 13308 |
| 13309 void operator[]=(int index, _TouchJs value) { |
| 13310 throw new UnsupportedOperationException("Cannot assign element of immutable
List."); |
| 13311 } |
| 13312 // -- start List<Touch> mixins. |
| 13313 // Touch is the element type. |
| 13314 |
| 13315 // From Iterable<Touch>: |
| 13316 |
| 13317 Iterator<Touch> iterator() { |
| 13318 // Note: NodeLists are not fixed size. And most probably length shouldn't |
| 13319 // be cached in both iterator _and_ forEach method. For now caching it |
| 13320 // for consistency. |
| 13321 return new _FixedSizeListIterator<Touch>(this); |
| 13322 } |
| 13323 |
| 13324 // From Collection<Touch>: |
| 13325 |
| 13326 void add(Touch value) { |
| 13327 throw new UnsupportedOperationException("Cannot add to immutable List."); |
| 13328 } |
| 13329 |
| 13330 void addLast(Touch value) { |
| 13331 throw new UnsupportedOperationException("Cannot add to immutable List."); |
| 13332 } |
| 13333 |
| 13334 void addAll(Collection<Touch> collection) { |
| 13335 throw new UnsupportedOperationException("Cannot add to immutable List."); |
| 13336 } |
| 13337 |
| 13338 void forEach(void f(Touch element)) => _Collections.forEach(this, f); |
| 13339 |
| 13340 Collection map(f(Touch element)) => _Collections.map(this, [], f); |
| 13341 |
| 13342 Collection<Touch> filter(bool f(Touch element)) => |
| 13343 _Collections.filter(this, <Touch>[], f); |
| 13344 |
| 13345 bool every(bool f(Touch element)) => _Collections.every(this, f); |
| 13346 |
| 13347 bool some(bool f(Touch element)) => _Collections.some(this, f); |
| 13348 |
| 13349 bool isEmpty() => this.length == 0; |
| 13350 |
| 13351 // From List<Touch>: |
| 13352 |
| 13353 void sort(int compare(Touch a, Touch b)) { |
| 13354 throw new UnsupportedOperationException("Cannot sort immutable List."); |
| 13355 } |
| 13356 |
| 13357 int indexOf(Touch element, [int start = 0]) => |
| 13358 _Lists.indexOf(this, element, start, this.length); |
| 13359 |
| 13360 int lastIndexOf(Touch element, [int start = 0]) => |
| 13361 _Lists.lastIndexOf(this, element, start); |
| 13362 |
| 13363 Touch last() => this[length - 1]; |
| 13364 |
| 13365 // FIXME: implement thesee. |
| 13366 void setRange(int start, int length, List<Touch> from, [int startFrom]) { |
| 13367 throw new UnsupportedOperationException("Cannot setRange on immutable List."
); |
| 13368 } |
| 13369 void removeRange(int start, int length) { |
| 13370 throw new UnsupportedOperationException("Cannot removeRange on immutable Lis
t."); |
| 13371 } |
| 13372 void insertRange(int start, int length, [Touch initialValue]) { |
| 13373 throw new UnsupportedOperationException("Cannot insertRange on immutable Lis
t."); |
| 13374 } |
| 13375 List<Touch> getRange(int start, int length) => |
| 13376 _Lists.getRange(this, start, length, <Touch>[]); |
| 13377 |
| 13378 // -- end List<Touch> mixins. |
| 13379 |
| 13380 _TouchJs item(int index) native; |
| 13381 } |
| 13382 |
| 13383 class _TrackElementJs extends _ElementJs implements TrackElement native "*HTMLTr
ackElement" { |
| 13384 |
| 13385 static final int ERROR = 3; |
| 13386 |
| 13387 static final int LOADED = 2; |
| 13388 |
| 13389 static final int LOADING = 1; |
| 13390 |
| 13391 static final int NONE = 0; |
| 13392 |
| 13393 bool isDefault; |
| 13394 |
| 13395 String kind; |
| 13396 |
| 13397 String label; |
| 13398 |
| 13399 final int readyState; |
| 13400 |
| 13401 String src; |
| 13402 |
| 13403 String srclang; |
| 13404 |
| 13405 final _TextTrackJs track; |
| 13406 } |
| 13407 |
| 13408 class _TrackEventJs extends _EventJs implements TrackEvent native "*TrackEvent"
{ |
| 13409 |
| 13410 final Object track; |
| 13411 } |
| 13412 |
| 13413 class _TransitionEventJs extends _EventJs implements TransitionEvent native "*We
bKitTransitionEvent" { |
| 13414 |
| 13415 final num elapsedTime; |
| 13416 |
| 13417 final String propertyName; |
| 13418 } |
| 13419 |
| 13420 class _TreeWalkerJs implements TreeWalker native "*TreeWalker" { |
| 13421 |
| 13422 _NodeJs currentNode; |
| 13423 |
| 13424 final bool expandEntityReferences; |
| 13425 |
| 13426 final _NodeFilterJs filter; |
| 13427 |
| 13428 final _NodeJs root; |
| 13429 |
| 13430 final int whatToShow; |
| 13431 |
| 13432 _NodeJs firstChild() native; |
| 13433 |
| 13434 _NodeJs lastChild() native; |
| 13435 |
| 13436 _NodeJs nextNode() native; |
| 13437 |
| 13438 _NodeJs nextSibling() native; |
| 13439 |
| 13440 _NodeJs parentNode() native; |
| 13441 |
| 13442 _NodeJs previousNode() native; |
| 13443 |
| 13444 _NodeJs previousSibling() native; |
| 13445 } |
| 13446 |
| 13447 class _UIEventJs extends _EventJs implements UIEvent native "*UIEvent" { |
| 13448 |
| 13449 final int charCode; |
| 13450 |
| 13451 final int detail; |
| 13452 |
| 13453 final int keyCode; |
| 13454 |
| 13455 final int layerX; |
| 13456 |
| 13457 final int layerY; |
| 13458 |
| 13459 final int pageX; |
| 13460 |
| 13461 final int pageY; |
| 13462 |
| 13463 final _WindowJs view; |
| 13464 |
| 13465 final int which; |
| 13466 |
| 13467 void initUIEvent(String type, bool canBubble, bool cancelable, _WindowJs view,
int detail) native; |
| 13468 } |
| 13469 |
| 13470 class _UListElementJs extends _ElementJs implements UListElement native "*HTMLUL
istElement" { |
| 13471 |
| 13472 bool compact; |
| 13473 |
| 13474 String type; |
| 13475 } |
| 13476 |
| 13477 class _Uint16ArrayJs extends _ArrayBufferViewJs implements Uint16Array, List<int
> native "*Uint16Array" { |
| 13478 |
| 13479 factory Uint16Array(int length) => _construct_Uint16Array(length); |
| 13480 |
| 13481 factory Uint16Array.fromList(List<int> list) => _construct_Uint16Array(list); |
| 13482 |
| 13483 factory Uint16Array.fromBuffer(ArrayBuffer buffer) => _construct_Uint16Array(b
uffer); |
| 13484 |
| 13485 static _construct_Uint16Array(arg) native 'return new Uint16Array(arg);'; |
| 13486 |
| 13487 static final int BYTES_PER_ELEMENT = 2; |
| 13488 |
| 13489 final int length; |
| 13490 |
| 13491 int operator[](int index) native "return this[index];"; |
| 13492 |
| 13493 void operator[]=(int index, int value) native "this[index] = value"; |
| 13494 // -- start List<int> mixins. |
| 13495 // int is the element type. |
| 13496 |
| 13497 // From Iterable<int>: |
| 13498 |
| 13499 Iterator<int> iterator() { |
| 13500 // Note: NodeLists are not fixed size. And most probably length shouldn't |
| 13501 // be cached in both iterator _and_ forEach method. For now caching it |
| 13502 // for consistency. |
| 13503 return new _FixedSizeListIterator<int>(this); |
| 13504 } |
| 13505 |
| 13506 // From Collection<int>: |
| 13507 |
| 13508 void add(int value) { |
| 13509 throw new UnsupportedOperationException("Cannot add to immutable List."); |
| 13510 } |
| 13511 |
| 13512 void addLast(int value) { |
| 13513 throw new UnsupportedOperationException("Cannot add to immutable List."); |
| 13514 } |
| 13515 |
| 13516 void addAll(Collection<int> collection) { |
| 13517 throw new UnsupportedOperationException("Cannot add to immutable List."); |
| 13518 } |
| 13519 |
| 13520 void forEach(void f(int element)) => _Collections.forEach(this, f); |
| 13521 |
| 13522 Collection map(f(int element)) => _Collections.map(this, [], f); |
| 13523 |
| 13524 Collection<int> filter(bool f(int element)) => |
| 13525 _Collections.filter(this, <int>[], f); |
| 13526 |
| 13527 bool every(bool f(int element)) => _Collections.every(this, f); |
| 13528 |
| 13529 bool some(bool f(int element)) => _Collections.some(this, f); |
| 13530 |
| 13531 bool isEmpty() => this.length == 0; |
| 13532 |
| 13533 // From List<int>: |
| 13534 |
| 13535 void sort(int compare(int a, int b)) { |
| 13536 throw new UnsupportedOperationException("Cannot sort immutable List."); |
| 13537 } |
| 13538 |
| 13539 int indexOf(int element, [int start = 0]) => |
| 13540 _Lists.indexOf(this, element, start, this.length); |
| 13541 |
| 13542 int lastIndexOf(int element, [int start = 0]) => |
| 13543 _Lists.lastIndexOf(this, element, start); |
| 13544 |
| 13545 int last() => this[length - 1]; |
| 13546 |
| 13547 // FIXME: implement thesee. |
| 13548 void setRange(int start, int length, List<int> from, [int startFrom]) { |
| 13549 throw new UnsupportedOperationException("Cannot setRange on immutable List."
); |
| 13550 } |
| 13551 void removeRange(int start, int length) { |
| 13552 throw new UnsupportedOperationException("Cannot removeRange on immutable Lis
t."); |
| 13553 } |
| 13554 void insertRange(int start, int length, [int initialValue]) { |
| 13555 throw new UnsupportedOperationException("Cannot insertRange on immutable Lis
t."); |
| 13556 } |
| 13557 List<int> getRange(int start, int length) => |
| 13558 _Lists.getRange(this, start, length, <int>[]); |
| 13559 |
| 13560 // -- end List<int> mixins. |
| 13561 |
| 13562 void setElements(Object array, [int offset = null]) native; |
| 13563 |
| 13564 _Uint16ArrayJs subarray(int start, [int end = null]) native; |
| 13565 } |
| 13566 |
| 13567 class _Uint32ArrayJs extends _ArrayBufferViewJs implements Uint32Array, List<int
> native "*Uint32Array" { |
| 13568 |
| 13569 factory Uint32Array(int length) => _construct_Uint32Array(length); |
| 13570 |
| 13571 factory Uint32Array.fromList(List<int> list) => _construct_Uint32Array(list); |
| 13572 |
| 13573 factory Uint32Array.fromBuffer(ArrayBuffer buffer) => _construct_Uint32Array(b
uffer); |
| 13574 |
| 13575 static _construct_Uint32Array(arg) native 'return new Uint32Array(arg);'; |
| 13576 |
| 13577 static final int BYTES_PER_ELEMENT = 4; |
| 13578 |
| 13579 final int length; |
| 13580 |
| 13581 int operator[](int index) native "return this[index];"; |
| 13582 |
| 13583 void operator[]=(int index, int value) native "this[index] = value"; |
| 13584 // -- start List<int> mixins. |
| 13585 // int is the element type. |
| 13586 |
| 13587 // From Iterable<int>: |
| 13588 |
| 13589 Iterator<int> iterator() { |
| 13590 // Note: NodeLists are not fixed size. And most probably length shouldn't |
| 13591 // be cached in both iterator _and_ forEach method. For now caching it |
| 13592 // for consistency. |
| 13593 return new _FixedSizeListIterator<int>(this); |
| 13594 } |
| 13595 |
| 13596 // From Collection<int>: |
| 13597 |
| 13598 void add(int value) { |
| 13599 throw new UnsupportedOperationException("Cannot add to immutable List."); |
| 13600 } |
| 13601 |
| 13602 void addLast(int value) { |
| 13603 throw new UnsupportedOperationException("Cannot add to immutable List."); |
| 13604 } |
| 13605 |
| 13606 void addAll(Collection<int> collection) { |
| 13607 throw new UnsupportedOperationException("Cannot add to immutable List."); |
| 13608 } |
| 13609 |
| 13610 void forEach(void f(int element)) => _Collections.forEach(this, f); |
| 13611 |
| 13612 Collection map(f(int element)) => _Collections.map(this, [], f); |
| 13613 |
| 13614 Collection<int> filter(bool f(int element)) => |
| 13615 _Collections.filter(this, <int>[], f); |
| 13616 |
| 13617 bool every(bool f(int element)) => _Collections.every(this, f); |
| 13618 |
| 13619 bool some(bool f(int element)) => _Collections.some(this, f); |
| 13620 |
| 13621 bool isEmpty() => this.length == 0; |
| 13622 |
| 13623 // From List<int>: |
| 13624 |
| 13625 void sort(int compare(int a, int b)) { |
| 13626 throw new UnsupportedOperationException("Cannot sort immutable List."); |
| 13627 } |
| 13628 |
| 13629 int indexOf(int element, [int start = 0]) => |
| 13630 _Lists.indexOf(this, element, start, this.length); |
| 13631 |
| 13632 int lastIndexOf(int element, [int start = 0]) => |
| 13633 _Lists.lastIndexOf(this, element, start); |
| 13634 |
| 13635 int last() => this[length - 1]; |
| 13636 |
| 13637 // FIXME: implement thesee. |
| 13638 void setRange(int start, int length, List<int> from, [int startFrom]) { |
| 13639 throw new UnsupportedOperationException("Cannot setRange on immutable List."
); |
| 13640 } |
| 13641 void removeRange(int start, int length) { |
| 13642 throw new UnsupportedOperationException("Cannot removeRange on immutable Lis
t."); |
| 13643 } |
| 13644 void insertRange(int start, int length, [int initialValue]) { |
| 13645 throw new UnsupportedOperationException("Cannot insertRange on immutable Lis
t."); |
| 13646 } |
| 13647 List<int> getRange(int start, int length) => |
| 13648 _Lists.getRange(this, start, length, <int>[]); |
| 13649 |
| 13650 // -- end List<int> mixins. |
| 13651 |
| 13652 void setElements(Object array, [int offset = null]) native; |
| 13653 |
| 13654 _Uint32ArrayJs subarray(int start, [int end = null]) native; |
| 13655 } |
| 13656 |
| 13657 class _Uint8ArrayJs extends _ArrayBufferViewJs implements Uint8Array, List<int>
native "*Uint8Array" { |
| 13658 |
| 13659 factory Uint8Array(int length) => _construct_Uint8Array(length); |
| 13660 |
| 13661 factory Uint8Array.fromList(List<int> list) => _construct_Uint8Array(list); |
| 13662 |
| 13663 factory Uint8Array.fromBuffer(ArrayBuffer buffer) => _construct_Uint8Array(buf
fer); |
| 13664 |
| 13665 static _construct_Uint8Array(arg) native 'return new Uint8Array(arg);'; |
| 13666 |
| 13667 static final int BYTES_PER_ELEMENT = 1; |
| 13668 |
| 13669 final int length; |
| 13670 |
| 13671 int operator[](int index) native "return this[index];"; |
| 13672 |
| 13673 void operator[]=(int index, int value) native "this[index] = value"; |
| 13674 // -- start List<int> mixins. |
| 13675 // int is the element type. |
| 13676 |
| 13677 // From Iterable<int>: |
| 13678 |
| 13679 Iterator<int> iterator() { |
| 13680 // Note: NodeLists are not fixed size. And most probably length shouldn't |
| 13681 // be cached in both iterator _and_ forEach method. For now caching it |
| 13682 // for consistency. |
| 13683 return new _FixedSizeListIterator<int>(this); |
| 13684 } |
| 13685 |
| 13686 // From Collection<int>: |
| 13687 |
| 13688 void add(int value) { |
| 13689 throw new UnsupportedOperationException("Cannot add to immutable List."); |
| 13690 } |
| 13691 |
| 13692 void addLast(int value) { |
| 13693 throw new UnsupportedOperationException("Cannot add to immutable List."); |
| 13694 } |
| 13695 |
| 13696 void addAll(Collection<int> collection) { |
| 13697 throw new UnsupportedOperationException("Cannot add to immutable List."); |
| 13698 } |
| 13699 |
| 13700 void forEach(void f(int element)) => _Collections.forEach(this, f); |
| 13701 |
| 13702 Collection map(f(int element)) => _Collections.map(this, [], f); |
| 13703 |
| 13704 Collection<int> filter(bool f(int element)) => |
| 13705 _Collections.filter(this, <int>[], f); |
| 13706 |
| 13707 bool every(bool f(int element)) => _Collections.every(this, f); |
| 13708 |
| 13709 bool some(bool f(int element)) => _Collections.some(this, f); |
| 13710 |
| 13711 bool isEmpty() => this.length == 0; |
| 13712 |
| 13713 // From List<int>: |
| 13714 |
| 13715 void sort(int compare(int a, int b)) { |
| 13716 throw new UnsupportedOperationException("Cannot sort immutable List."); |
| 13717 } |
| 13718 |
| 13719 int indexOf(int element, [int start = 0]) => |
| 13720 _Lists.indexOf(this, element, start, this.length); |
| 13721 |
| 13722 int lastIndexOf(int element, [int start = 0]) => |
| 13723 _Lists.lastIndexOf(this, element, start); |
| 13724 |
| 13725 int last() => this[length - 1]; |
| 13726 |
| 13727 // FIXME: implement thesee. |
| 13728 void setRange(int start, int length, List<int> from, [int startFrom]) { |
| 13729 throw new UnsupportedOperationException("Cannot setRange on immutable List."
); |
| 13730 } |
| 13731 void removeRange(int start, int length) { |
| 13732 throw new UnsupportedOperationException("Cannot removeRange on immutable Lis
t."); |
| 13733 } |
| 13734 void insertRange(int start, int length, [int initialValue]) { |
| 13735 throw new UnsupportedOperationException("Cannot insertRange on immutable Lis
t."); |
| 13736 } |
| 13737 List<int> getRange(int start, int length) => |
| 13738 _Lists.getRange(this, start, length, <int>[]); |
| 13739 |
| 13740 // -- end List<int> mixins. |
| 13741 |
| 13742 void setElements(Object array, [int offset = null]) native; |
| 13743 |
| 13744 _Uint8ArrayJs subarray(int start, [int end = null]) native; |
| 13745 } |
| 13746 |
| 13747 class _Uint8ClampedArrayJs extends _Uint8ArrayJs implements Uint8ClampedArray, L
ist<int> native "*Uint8ClampedArray" { |
| 13748 |
| 13749 factory Uint8ClampedArray(int length) => _construct_Uint8ClampedArray(length)
; |
| 13750 |
| 13751 factory Uint8ClampedArray.fromList(List<int> list) => _construct_Uint8ClampedA
rray(list); |
| 13752 |
| 13753 factory Uint8ClampedArray.fromBuffer(ArrayBuffer buffer) => _construct_Uint8Cl
ampedArray(buffer); |
| 13754 |
| 13755 static _construct_Uint8ClampedArray(arg) native 'return new Uint8ClampedArray(
arg);'; |
| 13756 |
| 13757 // Use implementation from Uint8Array. |
| 13758 // final int length; |
| 13759 |
| 13760 _Uint8ClampedArrayJs subarray(int start, [int end = null]) native; |
| 13761 } |
| 13762 |
| 13763 class _UnknownElementJs extends _ElementJs implements UnknownElement native "*HT
MLUnknownElement" { |
| 13764 } |
| 13765 |
| 13766 class _ValidityStateJs implements ValidityState native "*ValidityState" { |
| 13767 |
| 13768 final bool customError; |
| 13769 |
| 13770 final bool patternMismatch; |
| 13771 |
| 13772 final bool rangeOverflow; |
| 13773 |
| 13774 final bool rangeUnderflow; |
| 13775 |
| 13776 final bool stepMismatch; |
| 13777 |
| 13778 final bool tooLong; |
| 13779 |
| 13780 final bool typeMismatch; |
| 13781 |
| 13782 final bool valid; |
| 13783 |
| 13784 final bool valueMissing; |
| 13785 } |
| 13786 |
| 13787 class _VideoElementJs extends _MediaElementJs implements VideoElement native "*H
TMLVideoElement" { |
| 13788 |
| 13789 int height; |
| 13790 |
| 13791 String poster; |
| 13792 |
| 13793 final int videoHeight; |
| 13794 |
| 13795 final int videoWidth; |
| 13796 |
| 13797 final int webkitDecodedFrameCount; |
| 13798 |
| 13799 final bool webkitDisplayingFullscreen; |
| 13800 |
| 13801 final int webkitDroppedFrameCount; |
| 13802 |
| 13803 final bool webkitSupportsFullscreen; |
| 13804 |
| 13805 int width; |
| 13806 |
| 13807 void webkitEnterFullScreen() native; |
| 13808 |
| 13809 void webkitEnterFullscreen() native; |
| 13810 |
| 13811 void webkitExitFullScreen() native; |
| 13812 |
| 13813 void webkitExitFullscreen() native; |
| 13814 } |
| 13815 |
| 13816 class _WaveShaperNodeJs extends _AudioNodeJs implements WaveShaperNode native "*
WaveShaperNode" { |
| 13817 |
| 13818 _Float32ArrayJs curve; |
| 13819 } |
| 13820 |
| 13821 class _WebGLActiveInfoJs implements WebGLActiveInfo native "*WebGLActiveInfo" { |
| 13822 |
| 13823 final String name; |
| 13824 |
| 13825 final int size; |
| 13826 |
| 13827 final int type; |
| 13828 } |
| 13829 |
| 13830 class _WebGLBufferJs implements WebGLBuffer native "*WebGLBuffer" { |
| 13831 } |
| 13832 |
| 13833 class _WebGLCompressedTextureS3TCJs implements WebGLCompressedTextureS3TC native
"*WebGLCompressedTextureS3TC" { |
| 13834 |
| 13835 static final int COMPRESSED_RGBA_S3TC_DXT1_EXT = 0x83F1; |
| 13836 |
| 13837 static final int COMPRESSED_RGBA_S3TC_DXT3_EXT = 0x83F2; |
| 13838 |
| 13839 static final int COMPRESSED_RGBA_S3TC_DXT5_EXT = 0x83F3; |
| 13840 |
| 13841 static final int COMPRESSED_RGB_S3TC_DXT1_EXT = 0x83F0; |
| 13842 } |
| 13843 |
| 13844 class _WebGLContextAttributesJs implements WebGLContextAttributes native "*WebGL
ContextAttributes" { |
| 13845 |
| 13846 bool alpha; |
| 13847 |
| 13848 bool antialias; |
| 13849 |
| 13850 bool depth; |
| 13851 |
| 13852 bool premultipliedAlpha; |
| 13853 |
| 13854 bool preserveDrawingBuffer; |
| 13855 |
| 13856 bool stencil; |
| 13857 } |
| 13858 |
| 13859 class _WebGLContextEventJs extends _EventJs implements WebGLContextEvent native
"*WebGLContextEvent" { |
| 13860 |
| 13861 final String statusMessage; |
| 13862 } |
| 13863 |
| 13864 class _WebGLDebugRendererInfoJs implements WebGLDebugRendererInfo native "*WebGL
DebugRendererInfo" { |
| 13865 |
| 13866 static final int UNMASKED_RENDERER_WEBGL = 0x9246; |
| 13867 |
| 13868 static final int UNMASKED_VENDOR_WEBGL = 0x9245; |
| 13869 } |
| 13870 |
| 13871 class _WebGLDebugShadersJs implements WebGLDebugShaders native "*WebGLDebugShade
rs" { |
| 13872 |
| 13873 String getTranslatedShaderSource(_WebGLShaderJs shader) native; |
| 13874 } |
| 13875 |
| 13876 class _WebGLFramebufferJs implements WebGLFramebuffer native "*WebGLFramebuffer"
{ |
| 13877 } |
| 13878 |
| 13879 class _WebGLLoseContextJs implements WebGLLoseContext native "*WebGLLoseContext"
{ |
| 13880 |
| 13881 void loseContext() native; |
| 13882 |
| 13883 void restoreContext() native; |
| 13884 } |
| 13885 |
| 13886 class _WebGLProgramJs implements WebGLProgram native "*WebGLProgram" { |
| 13887 } |
| 13888 |
| 13889 class _WebGLRenderbufferJs implements WebGLRenderbuffer native "*WebGLRenderbuff
er" { |
| 13890 } |
| 13891 |
| 13892 class _WebGLRenderingContextJs extends _CanvasRenderingContextJs implements WebG
LRenderingContext native "*WebGLRenderingContext" { |
| 13893 |
| 13894 static final int ACTIVE_ATTRIBUTES = 0x8B89; |
| 13895 |
| 13896 static final int ACTIVE_TEXTURE = 0x84E0; |
| 13897 |
| 13898 static final int ACTIVE_UNIFORMS = 0x8B86; |
| 13899 |
| 13900 static final int ALIASED_LINE_WIDTH_RANGE = 0x846E; |
| 13901 |
| 13902 static final int ALIASED_POINT_SIZE_RANGE = 0x846D; |
| 13903 |
| 13904 static final int ALPHA = 0x1906; |
| 13905 |
| 13906 static final int ALPHA_BITS = 0x0D55; |
| 13907 |
| 13908 static final int ALWAYS = 0x0207; |
| 13909 |
| 13910 static final int ARRAY_BUFFER = 0x8892; |
| 13911 |
| 13912 static final int ARRAY_BUFFER_BINDING = 0x8894; |
| 13913 |
| 13914 static final int ATTACHED_SHADERS = 0x8B85; |
| 13915 |
| 13916 static final int BACK = 0x0405; |
| 13917 |
| 13918 static final int BLEND = 0x0BE2; |
| 13919 |
| 13920 static final int BLEND_COLOR = 0x8005; |
| 13921 |
| 13922 static final int BLEND_DST_ALPHA = 0x80CA; |
| 13923 |
| 13924 static final int BLEND_DST_RGB = 0x80C8; |
| 13925 |
| 13926 static final int BLEND_EQUATION = 0x8009; |
| 13927 |
| 13928 static final int BLEND_EQUATION_ALPHA = 0x883D; |
| 13929 |
| 13930 static final int BLEND_EQUATION_RGB = 0x8009; |
| 13931 |
| 13932 static final int BLEND_SRC_ALPHA = 0x80CB; |
| 13933 |
| 13934 static final int BLEND_SRC_RGB = 0x80C9; |
| 13935 |
| 13936 static final int BLUE_BITS = 0x0D54; |
| 13937 |
| 13938 static final int BOOL = 0x8B56; |
| 13939 |
| 13940 static final int BOOL_VEC2 = 0x8B57; |
| 13941 |
| 13942 static final int BOOL_VEC3 = 0x8B58; |
| 13943 |
| 13944 static final int BOOL_VEC4 = 0x8B59; |
| 13945 |
| 13946 static final int BROWSER_DEFAULT_WEBGL = 0x9244; |
| 13947 |
| 13948 static final int BUFFER_SIZE = 0x8764; |
| 13949 |
| 13950 static final int BUFFER_USAGE = 0x8765; |
| 13951 |
| 13952 static final int BYTE = 0x1400; |
| 13953 |
| 13954 static final int CCW = 0x0901; |
| 13955 |
| 13956 static final int CLAMP_TO_EDGE = 0x812F; |
| 13957 |
| 13958 static final int COLOR_ATTACHMENT0 = 0x8CE0; |
| 13959 |
| 13960 static final int COLOR_BUFFER_BIT = 0x00004000; |
| 13961 |
| 13962 static final int COLOR_CLEAR_VALUE = 0x0C22; |
| 13963 |
| 13964 static final int COLOR_WRITEMASK = 0x0C23; |
| 13965 |
| 13966 static final int COMPILE_STATUS = 0x8B81; |
| 13967 |
| 13968 static final int COMPRESSED_TEXTURE_FORMATS = 0x86A3; |
| 13969 |
| 13970 static final int CONSTANT_ALPHA = 0x8003; |
| 13971 |
| 13972 static final int CONSTANT_COLOR = 0x8001; |
| 13973 |
| 13974 static final int CONTEXT_LOST_WEBGL = 0x9242; |
| 13975 |
| 13976 static final int CULL_FACE = 0x0B44; |
| 13977 |
| 13978 static final int CULL_FACE_MODE = 0x0B45; |
| 13979 |
| 13980 static final int CURRENT_PROGRAM = 0x8B8D; |
| 13981 |
| 13982 static final int CURRENT_VERTEX_ATTRIB = 0x8626; |
| 13983 |
| 13984 static final int CW = 0x0900; |
| 13985 |
| 13986 static final int DECR = 0x1E03; |
| 13987 |
| 13988 static final int DECR_WRAP = 0x8508; |
| 13989 |
| 13990 static final int DELETE_STATUS = 0x8B80; |
| 13991 |
| 13992 static final int DEPTH_ATTACHMENT = 0x8D00; |
| 13993 |
| 13994 static final int DEPTH_BITS = 0x0D56; |
| 13995 |
| 13996 static final int DEPTH_BUFFER_BIT = 0x00000100; |
| 13997 |
| 13998 static final int DEPTH_CLEAR_VALUE = 0x0B73; |
| 13999 |
| 14000 static final int DEPTH_COMPONENT = 0x1902; |
| 14001 |
| 14002 static final int DEPTH_COMPONENT16 = 0x81A5; |
| 14003 |
| 14004 static final int DEPTH_FUNC = 0x0B74; |
| 14005 |
| 14006 static final int DEPTH_RANGE = 0x0B70; |
| 14007 |
| 14008 static final int DEPTH_STENCIL = 0x84F9; |
| 14009 |
| 14010 static final int DEPTH_STENCIL_ATTACHMENT = 0x821A; |
| 14011 |
| 14012 static final int DEPTH_TEST = 0x0B71; |
| 14013 |
| 14014 static final int DEPTH_WRITEMASK = 0x0B72; |
| 14015 |
| 14016 static final int DITHER = 0x0BD0; |
| 14017 |
| 14018 static final int DONT_CARE = 0x1100; |
| 14019 |
| 14020 static final int DST_ALPHA = 0x0304; |
| 14021 |
| 14022 static final int DST_COLOR = 0x0306; |
| 14023 |
| 14024 static final int DYNAMIC_DRAW = 0x88E8; |
| 14025 |
| 14026 static final int ELEMENT_ARRAY_BUFFER = 0x8893; |
| 14027 |
| 14028 static final int ELEMENT_ARRAY_BUFFER_BINDING = 0x8895; |
| 14029 |
| 14030 static final int EQUAL = 0x0202; |
| 14031 |
| 14032 static final int FASTEST = 0x1101; |
| 14033 |
| 14034 static final int FLOAT = 0x1406; |
| 14035 |
| 14036 static final int FLOAT_MAT2 = 0x8B5A; |
| 14037 |
| 14038 static final int FLOAT_MAT3 = 0x8B5B; |
| 14039 |
| 14040 static final int FLOAT_MAT4 = 0x8B5C; |
| 14041 |
| 14042 static final int FLOAT_VEC2 = 0x8B50; |
| 14043 |
| 14044 static final int FLOAT_VEC3 = 0x8B51; |
| 14045 |
| 14046 static final int FLOAT_VEC4 = 0x8B52; |
| 14047 |
| 14048 static final int FRAGMENT_SHADER = 0x8B30; |
| 14049 |
| 14050 static final int FRAMEBUFFER = 0x8D40; |
| 14051 |
| 14052 static final int FRAMEBUFFER_ATTACHMENT_OBJECT_NAME = 0x8CD1; |
| 14053 |
| 14054 static final int FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE = 0x8CD0; |
| 14055 |
| 14056 static final int FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE = 0x8CD3; |
| 14057 |
| 14058 static final int FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL = 0x8CD2; |
| 14059 |
| 14060 static final int FRAMEBUFFER_BINDING = 0x8CA6; |
| 14061 |
| 14062 static final int FRAMEBUFFER_COMPLETE = 0x8CD5; |
| 14063 |
| 14064 static final int FRAMEBUFFER_INCOMPLETE_ATTACHMENT = 0x8CD6; |
| 14065 |
| 14066 static final int FRAMEBUFFER_INCOMPLETE_DIMENSIONS = 0x8CD9; |
| 14067 |
| 14068 static final int FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT = 0x8CD7; |
| 14069 |
| 14070 static final int FRAMEBUFFER_UNSUPPORTED = 0x8CDD; |
| 14071 |
| 14072 static final int FRONT = 0x0404; |
| 14073 |
| 14074 static final int FRONT_AND_BACK = 0x0408; |
| 14075 |
| 14076 static final int FRONT_FACE = 0x0B46; |
| 14077 |
| 14078 static final int FUNC_ADD = 0x8006; |
| 14079 |
| 14080 static final int FUNC_REVERSE_SUBTRACT = 0x800B; |
| 14081 |
| 14082 static final int FUNC_SUBTRACT = 0x800A; |
| 14083 |
| 14084 static final int GENERATE_MIPMAP_HINT = 0x8192; |
| 14085 |
| 14086 static final int GEQUAL = 0x0206; |
| 14087 |
| 14088 static final int GREATER = 0x0204; |
| 14089 |
| 14090 static final int GREEN_BITS = 0x0D53; |
| 14091 |
| 14092 static final int HIGH_FLOAT = 0x8DF2; |
| 14093 |
| 14094 static final int HIGH_INT = 0x8DF5; |
| 14095 |
| 14096 static final int INCR = 0x1E02; |
| 14097 |
| 14098 static final int INCR_WRAP = 0x8507; |
| 14099 |
| 14100 static final int INT = 0x1404; |
| 14101 |
| 14102 static final int INT_VEC2 = 0x8B53; |
| 14103 |
| 14104 static final int INT_VEC3 = 0x8B54; |
| 14105 |
| 14106 static final int INT_VEC4 = 0x8B55; |
| 14107 |
| 14108 static final int INVALID_ENUM = 0x0500; |
| 14109 |
| 14110 static final int INVALID_FRAMEBUFFER_OPERATION = 0x0506; |
| 14111 |
| 14112 static final int INVALID_OPERATION = 0x0502; |
| 14113 |
| 14114 static final int INVALID_VALUE = 0x0501; |
| 14115 |
| 14116 static final int INVERT = 0x150A; |
| 14117 |
| 14118 static final int KEEP = 0x1E00; |
| 14119 |
| 14120 static final int LEQUAL = 0x0203; |
| 14121 |
| 14122 static final int LESS = 0x0201; |
| 14123 |
| 14124 static final int LINEAR = 0x2601; |
| 14125 |
| 14126 static final int LINEAR_MIPMAP_LINEAR = 0x2703; |
| 14127 |
| 14128 static final int LINEAR_MIPMAP_NEAREST = 0x2701; |
| 14129 |
| 14130 static final int LINES = 0x0001; |
| 14131 |
| 14132 static final int LINE_LOOP = 0x0002; |
| 14133 |
| 14134 static final int LINE_STRIP = 0x0003; |
| 14135 |
| 14136 static final int LINE_WIDTH = 0x0B21; |
| 14137 |
| 14138 static final int LINK_STATUS = 0x8B82; |
| 14139 |
| 14140 static final int LOW_FLOAT = 0x8DF0; |
| 14141 |
| 14142 static final int LOW_INT = 0x8DF3; |
| 14143 |
| 14144 static final int LUMINANCE = 0x1909; |
| 14145 |
| 14146 static final int LUMINANCE_ALPHA = 0x190A; |
| 14147 |
| 14148 static final int MAX_COMBINED_TEXTURE_IMAGE_UNITS = 0x8B4D; |
| 14149 |
| 14150 static final int MAX_CUBE_MAP_TEXTURE_SIZE = 0x851C; |
| 14151 |
| 14152 static final int MAX_FRAGMENT_UNIFORM_VECTORS = 0x8DFD; |
| 14153 |
| 14154 static final int MAX_RENDERBUFFER_SIZE = 0x84E8; |
| 14155 |
| 14156 static final int MAX_TEXTURE_IMAGE_UNITS = 0x8872; |
| 14157 |
| 14158 static final int MAX_TEXTURE_SIZE = 0x0D33; |
| 14159 |
| 14160 static final int MAX_VARYING_VECTORS = 0x8DFC; |
| 14161 |
| 14162 static final int MAX_VERTEX_ATTRIBS = 0x8869; |
| 14163 |
| 14164 static final int MAX_VERTEX_TEXTURE_IMAGE_UNITS = 0x8B4C; |
| 14165 |
| 14166 static final int MAX_VERTEX_UNIFORM_VECTORS = 0x8DFB; |
| 14167 |
| 14168 static final int MAX_VIEWPORT_DIMS = 0x0D3A; |
| 14169 |
| 14170 static final int MEDIUM_FLOAT = 0x8DF1; |
| 14171 |
| 14172 static final int MEDIUM_INT = 0x8DF4; |
| 14173 |
| 14174 static final int MIRRORED_REPEAT = 0x8370; |
| 14175 |
| 14176 static final int NEAREST = 0x2600; |
| 14177 |
| 14178 static final int NEAREST_MIPMAP_LINEAR = 0x2702; |
| 14179 |
| 14180 static final int NEAREST_MIPMAP_NEAREST = 0x2700; |
| 14181 |
| 14182 static final int NEVER = 0x0200; |
| 14183 |
| 14184 static final int NICEST = 0x1102; |
| 14185 |
| 14186 static final int NONE = 0; |
| 14187 |
| 14188 static final int NOTEQUAL = 0x0205; |
| 14189 |
| 14190 static final int NO_ERROR = 0; |
| 14191 |
| 14192 static final int ONE = 1; |
| 14193 |
| 14194 static final int ONE_MINUS_CONSTANT_ALPHA = 0x8004; |
| 14195 |
| 14196 static final int ONE_MINUS_CONSTANT_COLOR = 0x8002; |
| 14197 |
| 14198 static final int ONE_MINUS_DST_ALPHA = 0x0305; |
| 14199 |
| 14200 static final int ONE_MINUS_DST_COLOR = 0x0307; |
| 14201 |
| 14202 static final int ONE_MINUS_SRC_ALPHA = 0x0303; |
| 14203 |
| 14204 static final int ONE_MINUS_SRC_COLOR = 0x0301; |
| 14205 |
| 14206 static final int OUT_OF_MEMORY = 0x0505; |
| 14207 |
| 14208 static final int PACK_ALIGNMENT = 0x0D05; |
| 14209 |
| 14210 static final int POINTS = 0x0000; |
| 14211 |
| 14212 static final int POLYGON_OFFSET_FACTOR = 0x8038; |
| 14213 |
| 14214 static final int POLYGON_OFFSET_FILL = 0x8037; |
| 14215 |
| 14216 static final int POLYGON_OFFSET_UNITS = 0x2A00; |
| 14217 |
| 14218 static final int RED_BITS = 0x0D52; |
| 14219 |
| 14220 static final int RENDERBUFFER = 0x8D41; |
| 14221 |
| 14222 static final int RENDERBUFFER_ALPHA_SIZE = 0x8D53; |
| 14223 |
| 14224 static final int RENDERBUFFER_BINDING = 0x8CA7; |
| 14225 |
| 14226 static final int RENDERBUFFER_BLUE_SIZE = 0x8D52; |
| 14227 |
| 14228 static final int RENDERBUFFER_DEPTH_SIZE = 0x8D54; |
| 14229 |
| 14230 static final int RENDERBUFFER_GREEN_SIZE = 0x8D51; |
| 14231 |
| 14232 static final int RENDERBUFFER_HEIGHT = 0x8D43; |
| 14233 |
| 14234 static final int RENDERBUFFER_INTERNAL_FORMAT = 0x8D44; |
| 14235 |
| 14236 static final int RENDERBUFFER_RED_SIZE = 0x8D50; |
| 14237 |
| 14238 static final int RENDERBUFFER_STENCIL_SIZE = 0x8D55; |
| 14239 |
| 14240 static final int RENDERBUFFER_WIDTH = 0x8D42; |
| 14241 |
| 14242 static final int RENDERER = 0x1F01; |
| 14243 |
| 14244 static final int REPEAT = 0x2901; |
| 14245 |
| 14246 static final int REPLACE = 0x1E01; |
| 14247 |
| 14248 static final int RGB = 0x1907; |
| 14249 |
| 14250 static final int RGB565 = 0x8D62; |
| 14251 |
| 14252 static final int RGB5_A1 = 0x8057; |
| 14253 |
| 14254 static final int RGBA = 0x1908; |
| 14255 |
| 14256 static final int RGBA4 = 0x8056; |
| 14257 |
| 14258 static final int SAMPLER_2D = 0x8B5E; |
| 14259 |
| 14260 static final int SAMPLER_CUBE = 0x8B60; |
| 14261 |
| 14262 static final int SAMPLES = 0x80A9; |
| 14263 |
| 14264 static final int SAMPLE_ALPHA_TO_COVERAGE = 0x809E; |
| 14265 |
| 14266 static final int SAMPLE_BUFFERS = 0x80A8; |
| 14267 |
| 14268 static final int SAMPLE_COVERAGE = 0x80A0; |
| 14269 |
| 14270 static final int SAMPLE_COVERAGE_INVERT = 0x80AB; |
| 14271 |
| 14272 static final int SAMPLE_COVERAGE_VALUE = 0x80AA; |
| 14273 |
| 14274 static final int SCISSOR_BOX = 0x0C10; |
| 14275 |
| 14276 static final int SCISSOR_TEST = 0x0C11; |
| 14277 |
| 14278 static final int SHADER_COMPILER = 0x8DFA; |
| 14279 |
| 14280 static final int SHADER_TYPE = 0x8B4F; |
| 14281 |
| 14282 static final int SHADING_LANGUAGE_VERSION = 0x8B8C; |
| 14283 |
| 14284 static final int SHORT = 0x1402; |
| 14285 |
| 14286 static final int SRC_ALPHA = 0x0302; |
| 14287 |
| 14288 static final int SRC_ALPHA_SATURATE = 0x0308; |
| 14289 |
| 14290 static final int SRC_COLOR = 0x0300; |
| 14291 |
| 14292 static final int STATIC_DRAW = 0x88E4; |
| 14293 |
| 14294 static final int STENCIL_ATTACHMENT = 0x8D20; |
| 14295 |
| 14296 static final int STENCIL_BACK_FAIL = 0x8801; |
| 14297 |
| 14298 static final int STENCIL_BACK_FUNC = 0x8800; |
| 14299 |
| 14300 static final int STENCIL_BACK_PASS_DEPTH_FAIL = 0x8802; |
| 14301 |
| 14302 static final int STENCIL_BACK_PASS_DEPTH_PASS = 0x8803; |
| 14303 |
| 14304 static final int STENCIL_BACK_REF = 0x8CA3; |
| 14305 |
| 14306 static final int STENCIL_BACK_VALUE_MASK = 0x8CA4; |
| 14307 |
| 14308 static final int STENCIL_BACK_WRITEMASK = 0x8CA5; |
| 14309 |
| 14310 static final int STENCIL_BITS = 0x0D57; |
| 14311 |
| 14312 static final int STENCIL_BUFFER_BIT = 0x00000400; |
| 14313 |
| 14314 static final int STENCIL_CLEAR_VALUE = 0x0B91; |
| 14315 |
| 14316 static final int STENCIL_FAIL = 0x0B94; |
| 14317 |
| 14318 static final int STENCIL_FUNC = 0x0B92; |
| 14319 |
| 14320 static final int STENCIL_INDEX = 0x1901; |
| 14321 |
| 14322 static final int STENCIL_INDEX8 = 0x8D48; |
| 14323 |
| 14324 static final int STENCIL_PASS_DEPTH_FAIL = 0x0B95; |
| 14325 |
| 14326 static final int STENCIL_PASS_DEPTH_PASS = 0x0B96; |
| 14327 |
| 14328 static final int STENCIL_REF = 0x0B97; |
| 14329 |
| 14330 static final int STENCIL_TEST = 0x0B90; |
| 14331 |
| 14332 static final int STENCIL_VALUE_MASK = 0x0B93; |
| 14333 |
| 14334 static final int STENCIL_WRITEMASK = 0x0B98; |
| 14335 |
| 14336 static final int STREAM_DRAW = 0x88E0; |
| 14337 |
| 14338 static final int SUBPIXEL_BITS = 0x0D50; |
| 14339 |
| 14340 static final int TEXTURE = 0x1702; |
| 14341 |
| 14342 static final int TEXTURE0 = 0x84C0; |
| 14343 |
| 14344 static final int TEXTURE1 = 0x84C1; |
| 14345 |
| 14346 static final int TEXTURE10 = 0x84CA; |
| 14347 |
| 14348 static final int TEXTURE11 = 0x84CB; |
| 14349 |
| 14350 static final int TEXTURE12 = 0x84CC; |
| 14351 |
| 14352 static final int TEXTURE13 = 0x84CD; |
| 14353 |
| 14354 static final int TEXTURE14 = 0x84CE; |
| 14355 |
| 14356 static final int TEXTURE15 = 0x84CF; |
| 14357 |
| 14358 static final int TEXTURE16 = 0x84D0; |
| 14359 |
| 14360 static final int TEXTURE17 = 0x84D1; |
| 14361 |
| 14362 static final int TEXTURE18 = 0x84D2; |
| 14363 |
| 14364 static final int TEXTURE19 = 0x84D3; |
| 14365 |
| 14366 static final int TEXTURE2 = 0x84C2; |
| 14367 |
| 14368 static final int TEXTURE20 = 0x84D4; |
| 14369 |
| 14370 static final int TEXTURE21 = 0x84D5; |
| 14371 |
| 14372 static final int TEXTURE22 = 0x84D6; |
| 14373 |
| 14374 static final int TEXTURE23 = 0x84D7; |
| 14375 |
| 14376 static final int TEXTURE24 = 0x84D8; |
| 14377 |
| 14378 static final int TEXTURE25 = 0x84D9; |
| 14379 |
| 14380 static final int TEXTURE26 = 0x84DA; |
| 14381 |
| 14382 static final int TEXTURE27 = 0x84DB; |
| 14383 |
| 14384 static final int TEXTURE28 = 0x84DC; |
| 14385 |
| 14386 static final int TEXTURE29 = 0x84DD; |
| 14387 |
| 14388 static final int TEXTURE3 = 0x84C3; |
| 14389 |
| 14390 static final int TEXTURE30 = 0x84DE; |
| 14391 |
| 14392 static final int TEXTURE31 = 0x84DF; |
| 14393 |
| 14394 static final int TEXTURE4 = 0x84C4; |
| 14395 |
| 14396 static final int TEXTURE5 = 0x84C5; |
| 14397 |
| 14398 static final int TEXTURE6 = 0x84C6; |
| 14399 |
| 14400 static final int TEXTURE7 = 0x84C7; |
| 14401 |
| 14402 static final int TEXTURE8 = 0x84C8; |
| 14403 |
| 14404 static final int TEXTURE9 = 0x84C9; |
| 14405 |
| 14406 static final int TEXTURE_2D = 0x0DE1; |
| 14407 |
| 14408 static final int TEXTURE_BINDING_2D = 0x8069; |
| 14409 |
| 14410 static final int TEXTURE_BINDING_CUBE_MAP = 0x8514; |
| 14411 |
| 14412 static final int TEXTURE_CUBE_MAP = 0x8513; |
| 14413 |
| 14414 static final int TEXTURE_CUBE_MAP_NEGATIVE_X = 0x8516; |
| 14415 |
| 14416 static final int TEXTURE_CUBE_MAP_NEGATIVE_Y = 0x8518; |
| 14417 |
| 14418 static final int TEXTURE_CUBE_MAP_NEGATIVE_Z = 0x851A; |
| 14419 |
| 14420 static final int TEXTURE_CUBE_MAP_POSITIVE_X = 0x8515; |
| 14421 |
| 14422 static final int TEXTURE_CUBE_MAP_POSITIVE_Y = 0x8517; |
| 14423 |
| 14424 static final int TEXTURE_CUBE_MAP_POSITIVE_Z = 0x8519; |
| 14425 |
| 14426 static final int TEXTURE_MAG_FILTER = 0x2800; |
| 14427 |
| 14428 static final int TEXTURE_MIN_FILTER = 0x2801; |
| 14429 |
| 14430 static final int TEXTURE_WRAP_S = 0x2802; |
| 14431 |
| 14432 static final int TEXTURE_WRAP_T = 0x2803; |
| 14433 |
| 14434 static final int TRIANGLES = 0x0004; |
| 14435 |
| 14436 static final int TRIANGLE_FAN = 0x0006; |
| 14437 |
| 14438 static final int TRIANGLE_STRIP = 0x0005; |
| 14439 |
| 14440 static final int UNPACK_ALIGNMENT = 0x0CF5; |
| 14441 |
| 14442 static final int UNPACK_COLORSPACE_CONVERSION_WEBGL = 0x9243; |
| 14443 |
| 14444 static final int UNPACK_FLIP_Y_WEBGL = 0x9240; |
| 14445 |
| 14446 static final int UNPACK_PREMULTIPLY_ALPHA_WEBGL = 0x9241; |
| 14447 |
| 14448 static final int UNSIGNED_BYTE = 0x1401; |
| 14449 |
| 14450 static final int UNSIGNED_INT = 0x1405; |
| 14451 |
| 14452 static final int UNSIGNED_SHORT = 0x1403; |
| 14453 |
| 14454 static final int UNSIGNED_SHORT_4_4_4_4 = 0x8033; |
| 14455 |
| 14456 static final int UNSIGNED_SHORT_5_5_5_1 = 0x8034; |
| 14457 |
| 14458 static final int UNSIGNED_SHORT_5_6_5 = 0x8363; |
| 14459 |
| 14460 static final int VALIDATE_STATUS = 0x8B83; |
| 14461 |
| 14462 static final int VENDOR = 0x1F00; |
| 14463 |
| 14464 static final int VERSION = 0x1F02; |
| 14465 |
| 14466 static final int VERTEX_ATTRIB_ARRAY_BUFFER_BINDING = 0x889F; |
| 14467 |
| 14468 static final int VERTEX_ATTRIB_ARRAY_ENABLED = 0x8622; |
| 14469 |
| 14470 static final int VERTEX_ATTRIB_ARRAY_NORMALIZED = 0x886A; |
| 14471 |
| 14472 static final int VERTEX_ATTRIB_ARRAY_POINTER = 0x8645; |
| 14473 |
| 14474 static final int VERTEX_ATTRIB_ARRAY_SIZE = 0x8623; |
| 14475 |
| 14476 static final int VERTEX_ATTRIB_ARRAY_STRIDE = 0x8624; |
| 14477 |
| 14478 static final int VERTEX_ATTRIB_ARRAY_TYPE = 0x8625; |
| 14479 |
| 14480 static final int VERTEX_SHADER = 0x8B31; |
| 14481 |
| 14482 static final int VIEWPORT = 0x0BA2; |
| 14483 |
| 14484 static final int ZERO = 0; |
| 14485 |
| 14486 final int drawingBufferHeight; |
| 14487 |
| 14488 final int drawingBufferWidth; |
| 14489 |
| 14490 void activeTexture(int texture) native; |
| 14491 |
| 14492 void attachShader(_WebGLProgramJs program, _WebGLShaderJs shader) native; |
| 14493 |
| 14494 void bindAttribLocation(_WebGLProgramJs program, int index, String name) nativ
e; |
| 14495 |
| 14496 void bindBuffer(int target, _WebGLBufferJs buffer) native; |
| 14497 |
| 14498 void bindFramebuffer(int target, _WebGLFramebufferJs framebuffer) native; |
| 14499 |
| 14500 void bindRenderbuffer(int target, _WebGLRenderbufferJs renderbuffer) native; |
| 14501 |
| 14502 void bindTexture(int target, _WebGLTextureJs texture) native; |
| 14503 |
| 14504 void blendColor(num red, num green, num blue, num alpha) native; |
| 14505 |
| 14506 void blendEquation(int mode) native; |
| 14507 |
| 14508 void blendEquationSeparate(int modeRGB, int modeAlpha) native; |
| 14509 |
| 14510 void blendFunc(int sfactor, int dfactor) native; |
| 14511 |
| 14512 void blendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) nat
ive; |
| 14513 |
| 14514 void bufferData(int target, var data_OR_size, int usage) native; |
| 14515 |
| 14516 void bufferSubData(int target, int offset, var data) native; |
| 14517 |
| 14518 int checkFramebufferStatus(int target) native; |
| 14519 |
| 14520 void clear(int mask) native; |
| 14521 |
| 14522 void clearColor(num red, num green, num blue, num alpha) native; |
| 14523 |
| 14524 void clearDepth(num depth) native; |
| 14525 |
| 14526 void clearStencil(int s) native; |
| 14527 |
| 14528 void colorMask(bool red, bool green, bool blue, bool alpha) native; |
| 14529 |
| 14530 void compileShader(_WebGLShaderJs shader) native; |
| 14531 |
| 14532 void compressedTexImage2D(int target, int level, int internalformat, int width
, int height, int border, _ArrayBufferViewJs data) native; |
| 14533 |
| 14534 void compressedTexSubImage2D(int target, int level, int xoffset, int yoffset,
int width, int height, int format, _ArrayBufferViewJs data) native; |
| 14535 |
| 14536 void copyTexImage2D(int target, int level, int internalformat, int x, int y, i
nt width, int height, int border) native; |
| 14537 |
| 14538 void copyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x,
int y, int width, int height) native; |
| 14539 |
| 14540 _WebGLBufferJs createBuffer() native; |
| 14541 |
| 14542 _WebGLFramebufferJs createFramebuffer() native; |
| 14543 |
| 14544 _WebGLProgramJs createProgram() native; |
| 14545 |
| 14546 _WebGLRenderbufferJs createRenderbuffer() native; |
| 14547 |
| 14548 _WebGLShaderJs createShader(int type) native; |
| 14549 |
| 14550 _WebGLTextureJs createTexture() native; |
| 14551 |
| 14552 void cullFace(int mode) native; |
| 14553 |
| 14554 void deleteBuffer(_WebGLBufferJs buffer) native; |
| 14555 |
| 14556 void deleteFramebuffer(_WebGLFramebufferJs framebuffer) native; |
| 14557 |
| 14558 void deleteProgram(_WebGLProgramJs program) native; |
| 14559 |
| 14560 void deleteRenderbuffer(_WebGLRenderbufferJs renderbuffer) native; |
| 14561 |
| 14562 void deleteShader(_WebGLShaderJs shader) native; |
| 14563 |
| 14564 void deleteTexture(_WebGLTextureJs texture) native; |
| 14565 |
| 14566 void depthFunc(int func) native; |
| 14567 |
| 14568 void depthMask(bool flag) native; |
| 14569 |
| 14570 void depthRange(num zNear, num zFar) native; |
| 14571 |
| 14572 void detachShader(_WebGLProgramJs program, _WebGLShaderJs shader) native; |
| 14573 |
| 14574 void disable(int cap) native; |
| 14575 |
| 14576 void disableVertexAttribArray(int index) native; |
| 14577 |
| 14578 void drawArrays(int mode, int first, int count) native; |
| 14579 |
| 14580 void drawElements(int mode, int count, int type, int offset) native; |
| 14581 |
| 14582 void enable(int cap) native; |
| 14583 |
| 14584 void enableVertexAttribArray(int index) native; |
| 14585 |
| 14586 void finish() native; |
| 14587 |
| 14588 void flush() native; |
| 14589 |
| 14590 void framebufferRenderbuffer(int target, int attachment, int renderbuffertarge
t, _WebGLRenderbufferJs renderbuffer) native; |
| 14591 |
| 14592 void framebufferTexture2D(int target, int attachment, int textarget, _WebGLTex
tureJs texture, int level) native; |
| 14593 |
| 14594 void frontFace(int mode) native; |
| 14595 |
| 14596 void generateMipmap(int target) native; |
| 14597 |
| 14598 _WebGLActiveInfoJs getActiveAttrib(_WebGLProgramJs program, int index) native; |
| 14599 |
| 14600 _WebGLActiveInfoJs getActiveUniform(_WebGLProgramJs program, int index) native
; |
| 14601 |
| 14602 List getAttachedShaders(_WebGLProgramJs program) native; |
| 14603 |
| 14604 int getAttribLocation(_WebGLProgramJs program, String name) native; |
| 14605 |
| 14606 Object getBufferParameter(int target, int pname) native; |
| 14607 |
| 14608 _WebGLContextAttributesJs getContextAttributes() native; |
| 14609 |
| 14610 int getError() native; |
| 14611 |
| 14612 Object getExtension(String name) native; |
| 14613 |
| 14614 Object getFramebufferAttachmentParameter(int target, int attachment, int pname
) native; |
| 14615 |
| 14616 Object getParameter(int pname) native; |
| 14617 |
| 14618 String getProgramInfoLog(_WebGLProgramJs program) native; |
| 14619 |
| 14620 Object getProgramParameter(_WebGLProgramJs program, int pname) native; |
| 14621 |
| 14622 Object getRenderbufferParameter(int target, int pname) native; |
| 14623 |
| 14624 String getShaderInfoLog(_WebGLShaderJs shader) native; |
| 14625 |
| 14626 Object getShaderParameter(_WebGLShaderJs shader, int pname) native; |
| 14627 |
| 14628 String getShaderSource(_WebGLShaderJs shader) native; |
| 14629 |
| 14630 Object getTexParameter(int target, int pname) native; |
| 14631 |
| 14632 Object getUniform(_WebGLProgramJs program, _WebGLUniformLocationJs location) n
ative; |
| 14633 |
| 14634 _WebGLUniformLocationJs getUniformLocation(_WebGLProgramJs program, String nam
e) native; |
| 14635 |
| 14636 Object getVertexAttrib(int index, int pname) native; |
| 14637 |
| 14638 int getVertexAttribOffset(int index, int pname) native; |
| 14639 |
| 14640 void hint(int target, int mode) native; |
| 14641 |
| 14642 bool isBuffer(_WebGLBufferJs buffer) native; |
| 14643 |
| 14644 bool isContextLost() native; |
| 14645 |
| 14646 bool isEnabled(int cap) native; |
| 14647 |
| 14648 bool isFramebuffer(_WebGLFramebufferJs framebuffer) native; |
| 14649 |
| 14650 bool isProgram(_WebGLProgramJs program) native; |
| 14651 |
| 14652 bool isRenderbuffer(_WebGLRenderbufferJs renderbuffer) native; |
| 14653 |
| 14654 bool isShader(_WebGLShaderJs shader) native; |
| 14655 |
| 14656 bool isTexture(_WebGLTextureJs texture) native; |
| 14657 |
| 14658 void lineWidth(num width) native; |
| 14659 |
| 14660 void linkProgram(_WebGLProgramJs program) native; |
| 14661 |
| 14662 void pixelStorei(int pname, int param) native; |
| 14663 |
| 14664 void polygonOffset(num factor, num units) native; |
| 14665 |
| 14666 void readPixels(int x, int y, int width, int height, int format, int type, _Ar
rayBufferViewJs pixels) native; |
| 14667 |
| 14668 void releaseShaderCompiler() native; |
| 14669 |
| 14670 void renderbufferStorage(int target, int internalformat, int width, int height
) native; |
| 14671 |
| 14672 void sampleCoverage(num value, bool invert) native; |
| 14673 |
| 14674 void scissor(int x, int y, int width, int height) native; |
| 14675 |
| 14676 void shaderSource(_WebGLShaderJs shader, String string) native; |
| 14677 |
| 14678 void stencilFunc(int func, int ref, int mask) native; |
| 14679 |
| 14680 void stencilFuncSeparate(int face, int func, int ref, int mask) native; |
| 14681 |
| 14682 void stencilMask(int mask) native; |
| 14683 |
| 14684 void stencilMaskSeparate(int face, int mask) native; |
| 14685 |
| 14686 void stencilOp(int fail, int zfail, int zpass) native; |
| 14687 |
| 14688 void stencilOpSeparate(int face, int fail, int zfail, int zpass) native; |
| 14689 |
| 14690 void texImage2D(int target, int level, int internalformat, int format_OR_width
, int height_OR_type, var border_OR_canvas_OR_image_OR_pixels_OR_video, [int for
mat = null, int type = null, _ArrayBufferViewJs pixels = null]) native; |
| 14691 |
| 14692 void texParameterf(int target, int pname, num param) native; |
| 14693 |
| 14694 void texParameteri(int target, int pname, int param) native; |
| 14695 |
| 14696 void texSubImage2D(int target, int level, int xoffset, int yoffset, int format
_OR_width, int height_OR_type, var canvas_OR_format_OR_image_OR_pixels_OR_video,
[int type = null, _ArrayBufferViewJs pixels = null]) native; |
| 14697 |
| 14698 void uniform1f(_WebGLUniformLocationJs location, num x) native; |
| 14699 |
| 14700 void uniform1fv(_WebGLUniformLocationJs location, _Float32ArrayJs v) native; |
| 14701 |
| 14702 void uniform1i(_WebGLUniformLocationJs location, int x) native; |
| 14703 |
| 14704 void uniform1iv(_WebGLUniformLocationJs location, _Int32ArrayJs v) native; |
| 14705 |
| 14706 void uniform2f(_WebGLUniformLocationJs location, num x, num y) native; |
| 14707 |
| 14708 void uniform2fv(_WebGLUniformLocationJs location, _Float32ArrayJs v) native; |
| 14709 |
| 14710 void uniform2i(_WebGLUniformLocationJs location, int x, int y) native; |
| 14711 |
| 14712 void uniform2iv(_WebGLUniformLocationJs location, _Int32ArrayJs v) native; |
| 14713 |
| 14714 void uniform3f(_WebGLUniformLocationJs location, num x, num y, num z) native; |
| 14715 |
| 14716 void uniform3fv(_WebGLUniformLocationJs location, _Float32ArrayJs v) native; |
| 14717 |
| 14718 void uniform3i(_WebGLUniformLocationJs location, int x, int y, int z) native; |
| 14719 |
| 14720 void uniform3iv(_WebGLUniformLocationJs location, _Int32ArrayJs v) native; |
| 14721 |
| 14722 void uniform4f(_WebGLUniformLocationJs location, num x, num y, num z, num w) n
ative; |
| 14723 |
| 14724 void uniform4fv(_WebGLUniformLocationJs location, _Float32ArrayJs v) native; |
| 14725 |
| 14726 void uniform4i(_WebGLUniformLocationJs location, int x, int y, int z, int w) n
ative; |
| 14727 |
| 14728 void uniform4iv(_WebGLUniformLocationJs location, _Int32ArrayJs v) native; |
| 14729 |
| 14730 void uniformMatrix2fv(_WebGLUniformLocationJs location, bool transpose, _Float
32ArrayJs array) native; |
| 14731 |
| 14732 void uniformMatrix3fv(_WebGLUniformLocationJs location, bool transpose, _Float
32ArrayJs array) native; |
| 14733 |
| 14734 void uniformMatrix4fv(_WebGLUniformLocationJs location, bool transpose, _Float
32ArrayJs array) native; |
| 14735 |
| 14736 void useProgram(_WebGLProgramJs program) native; |
| 14737 |
| 14738 void validateProgram(_WebGLProgramJs program) native; |
| 14739 |
| 14740 void vertexAttrib1f(int indx, num x) native; |
| 14741 |
| 14742 void vertexAttrib1fv(int indx, _Float32ArrayJs values) native; |
| 14743 |
| 14744 void vertexAttrib2f(int indx, num x, num y) native; |
| 14745 |
| 14746 void vertexAttrib2fv(int indx, _Float32ArrayJs values) native; |
| 14747 |
| 14748 void vertexAttrib3f(int indx, num x, num y, num z) native; |
| 14749 |
| 14750 void vertexAttrib3fv(int indx, _Float32ArrayJs values) native; |
| 14751 |
| 14752 void vertexAttrib4f(int indx, num x, num y, num z, num w) native; |
| 14753 |
| 14754 void vertexAttrib4fv(int indx, _Float32ArrayJs values) native; |
| 14755 |
| 14756 void vertexAttribPointer(int indx, int size, int type, bool normalized, int st
ride, int offset) native; |
| 14757 |
| 14758 void viewport(int x, int y, int width, int height) native; |
| 14759 } |
| 14760 |
| 14761 class _WebGLShaderJs implements WebGLShader native "*WebGLShader" { |
| 14762 } |
| 14763 |
| 14764 class _WebGLTextureJs implements WebGLTexture native "*WebGLTexture" { |
| 14765 } |
| 14766 |
| 14767 class _WebGLUniformLocationJs implements WebGLUniformLocation native "*WebGLUnif
ormLocation" { |
| 14768 } |
| 14769 |
| 14770 class _WebGLVertexArrayObjectOESJs implements WebGLVertexArrayObjectOES native "
*WebGLVertexArrayObjectOES" { |
| 14771 } |
| 14772 |
| 14773 class _WebKitCSSRegionRuleJs extends _CSSRuleJs implements WebKitCSSRegionRule n
ative "*WebKitCSSRegionRule" { |
| 14774 |
| 14775 final _CSSRuleListJs cssRules; |
| 14776 } |
| 14777 |
| 14778 class _WebKitNamedFlowJs implements WebKitNamedFlow native "*WebKitNamedFlow" { |
| 14779 } |
| 14780 |
| 14781 class _WebSocketJs implements WebSocket native "*WebSocket" { |
| 14782 |
| 14783 static final int CLOSED = 3; |
| 14784 |
| 14785 static final int CLOSING = 2; |
| 14786 |
| 14787 static final int CONNECTING = 0; |
| 14788 |
| 14789 static final int OPEN = 1; |
| 14790 |
| 14791 final String URL; |
| 14792 |
| 14793 String binaryType; |
| 14794 |
| 14795 final int bufferedAmount; |
| 14796 |
| 14797 final String extensions; |
| 14798 |
| 14799 final String protocol; |
| 14800 |
| 14801 final int readyState; |
| 14802 |
| 14803 final String url; |
| 14804 |
| 14805 _WebSocketEventsImpl get on() => |
| 14806 new _WebSocketEventsImpl(this); |
| 14807 |
| 14808 void _addEventListener(String type, EventListener listener, [bool useCapture =
null]) native "this.addEventListener(type, listener, useCapture);"; |
| 14809 |
| 14810 void close([int code = null, String reason = null]) native; |
| 14811 |
| 14812 bool _dispatchEvent(_EventJs evt) native "return this.dispatchEvent(evt);"; |
| 14813 |
| 14814 void _removeEventListener(String type, EventListener listener, [bool useCaptur
e = null]) native "this.removeEventListener(type, listener, useCapture);"; |
| 14815 |
| 14816 bool send(String data) native; |
| 14817 } |
| 14818 |
| 14819 class _WebSocketEventsImpl extends _EventsImpl implements WebSocketEvents { |
| 14820 _WebSocketEventsImpl(_ptr) : super(_ptr); |
| 14821 |
| 14822 EventListenerList get close() => _get('close'); |
| 14823 |
| 14824 EventListenerList get error() => _get('error'); |
| 14825 |
| 14826 EventListenerList get message() => _get('message'); |
| 14827 |
| 14828 EventListenerList get open() => _get('open'); |
| 14829 } |
| 14830 |
| 14831 class _WheelEventJs extends _UIEventJs implements WheelEvent native "*WheelEvent
" { |
| 14832 |
| 14833 final bool altKey; |
| 14834 |
| 14835 final int clientX; |
| 14836 |
| 14837 final int clientY; |
| 14838 |
| 14839 final bool ctrlKey; |
| 14840 |
| 14841 final bool metaKey; |
| 14842 |
| 14843 final int offsetX; |
| 14844 |
| 14845 final int offsetY; |
| 14846 |
| 14847 final int screenX; |
| 14848 |
| 14849 final int screenY; |
| 14850 |
| 14851 final bool shiftKey; |
| 14852 |
| 14853 final bool webkitDirectionInvertedFromDevice; |
| 14854 |
| 14855 final int wheelDelta; |
| 14856 |
| 14857 final int wheelDeltaX; |
| 14858 |
| 14859 final int wheelDeltaY; |
| 14860 |
| 14861 final int x; |
| 14862 |
| 14863 final int y; |
| 14864 |
| 14865 void initWebKitWheelEvent(int wheelDeltaX, int wheelDeltaY, _WindowJs view, in
t screenX, int screenY, int clientX, int clientY, bool ctrlKey, bool altKey, boo
l shiftKey, bool metaKey) native; |
| 14866 } |
| 14867 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 14868 // for details. All rights reserved. Use of this source code is governed by a |
| 14869 // BSD-style license that can be found in the LICENSE file. |
| 14870 |
| 14871 typedef Object ComputeValue(); |
| 14872 |
| 14873 class _MeasurementRequest<T> { |
| 14874 final ComputeValue computeValue; |
| 14875 final Completer<T> completer; |
| 14876 Object value; |
| 14877 bool exception = false; |
| 14878 _MeasurementRequest(this.computeValue, this.completer); |
| 14879 } |
| 14880 |
| 14881 final _MEASUREMENT_MESSAGE = "DART-MEASURE"; |
| 14882 List<_MeasurementRequest> _pendingRequests; |
| 14883 List<TimeoutHandler> _pendingMeasurementFrameCallbacks; |
| 14884 bool _nextMeasurementFrameScheduled = false; |
| 14885 bool _firstMeasurementRequest = true; |
| 14886 |
| 14887 void _maybeScheduleMeasurementFrame() { |
| 14888 if (_nextMeasurementFrameScheduled) return; |
| 14889 |
| 14890 _nextMeasurementFrameScheduled = true; |
| 14891 // postMessage gives us a way to receive a callback after the current |
| 14892 // event listener has unwound but before the browser has repainted. |
| 14893 if (_firstMeasurementRequest) { |
| 14894 // Messages from other windows do not cause a security risk as |
| 14895 // all we care about is that _onCompleteMeasurementRequests is called |
| 14896 // after the current event loop is unwound and calling the function is |
| 14897 // a noop when zero requests are pending. |
| 14898 window.on.message.add((e) => _completeMeasurementFutures()); |
| 14899 _firstMeasurementRequest = false; |
| 14900 } |
| 14901 |
| 14902 // TODO(jacobr): other mechanisms such as setImmediate and |
| 14903 // requestAnimationFrame may work better of platforms that support them. |
| 14904 // The key is we need a way to execute code immediately after the current |
| 14905 // event listener queue unwinds. |
| 14906 window.postMessage(_MEASUREMENT_MESSAGE, "*"); |
| 14907 } |
| 14908 |
| 14909 /** |
| 14910 * Registers a [callback] which is called after the next batch of measurements |
| 14911 * completes. Even if no measurements completed, the callback is triggered |
| 14912 * when they would have completed to avoid confusing bugs if it happened that |
| 14913 * no measurements were actually requested. |
| 14914 */ |
| 14915 void _addMeasurementFrameCallback(TimeoutHandler callback) { |
| 14916 if (_pendingMeasurementFrameCallbacks === null) { |
| 14917 _pendingMeasurementFrameCallbacks = <TimeoutHandler>[]; |
| 14918 _maybeScheduleMeasurementFrame(); |
| 14919 } |
| 14920 _pendingMeasurementFrameCallbacks.add(callback); |
| 14921 } |
| 14922 |
| 14923 /** |
| 14924 * Returns a [Future] whose value will be the result of evaluating |
| 14925 * [computeValue] during the next safe measurement interval. |
| 14926 * The next safe measurement interval is after the current event loop has |
| 14927 * unwound but before the browser has rendered the page. |
| 14928 * It is important that the [computeValue] function only queries the html |
| 14929 * layout and html in any way. |
| 14930 */ |
| 14931 Future _createMeasurementFuture(ComputeValue computeValue, |
| 14932 Completer completer) { |
| 14933 if (_pendingRequests === null) { |
| 14934 _pendingRequests = <_MeasurementRequest>[]; |
| 14935 _maybeScheduleMeasurementFrame(); |
| 14936 } |
| 14937 _pendingRequests.add(new _MeasurementRequest(computeValue, completer)); |
| 14938 return completer.future; |
| 14939 } |
| 14940 |
| 14941 /** |
| 14942 * Complete all pending measurement futures evaluating them in a single batch |
| 14943 * so that the the browser is guaranteed to avoid multiple layouts. |
| 14944 */ |
| 14945 void _completeMeasurementFutures() { |
| 14946 if (_nextMeasurementFrameScheduled == false) { |
| 14947 // Ignore spurious call to this function. |
| 14948 return; |
| 14949 } |
| 14950 |
| 14951 _nextMeasurementFrameScheduled = false; |
| 14952 // We must compute all new values before fulfilling the futures as |
| 14953 // the onComplete callbacks for the futures could modify the DOM making |
| 14954 // subsequent measurement calculations expensive to compute. |
| 14955 if (_pendingRequests !== null) { |
| 14956 for (_MeasurementRequest request in _pendingRequests) { |
| 14957 try { |
| 14958 request.value = request.computeValue(); |
| 14959 } catch(var e) { |
| 14960 request.value = e; |
| 14961 request.exception = true; |
| 14962 } |
| 14963 } |
| 14964 } |
| 14965 |
| 14966 final completedRequests = _pendingRequests; |
| 14967 final readyMeasurementFrameCallbacks = _pendingMeasurementFrameCallbacks; |
| 14968 _pendingRequests = null; |
| 14969 _pendingMeasurementFrameCallbacks = null; |
| 14970 if (completedRequests !== null) { |
| 14971 for (_MeasurementRequest request in completedRequests) { |
| 14972 if (request.exception) { |
| 14973 request.completer.completeException(request.value); |
| 14974 } else { |
| 14975 request.completer.complete(request.value); |
| 14976 } |
| 14977 } |
| 14978 } |
| 14979 |
| 14980 if (readyMeasurementFrameCallbacks !== null) { |
| 14981 for (TimeoutHandler handler in readyMeasurementFrameCallbacks) { |
| 14982 // TODO(jacobr): wrap each call to a handler in a try-catch block. |
| 14983 handler(); |
| 14984 } |
| 14985 } |
| 14986 } |
| 14987 |
| 14988 class _WindowJs implements Window native "@*DOMWindow" { |
| 14989 |
| 14990 _DocumentJs get document() native "return this.document.documentElement;"; |
| 14991 |
| 14992 void requestLayoutFrame(TimeoutHandler callback) { |
| 14993 _addMeasurementFrameCallback(callback); |
| 14994 } |
| 14995 |
| 14996 |
| 14997 static final int PERSISTENT = 1; |
| 14998 |
| 14999 static final int TEMPORARY = 0; |
| 15000 |
| 15001 final _DOMApplicationCacheJs applicationCache; |
| 15002 |
| 15003 final _NavigatorJs clientInformation; |
| 15004 |
| 15005 final bool closed; |
| 15006 |
| 15007 final _ConsoleJs console; |
| 15008 |
| 15009 final _CryptoJs crypto; |
| 15010 |
| 15011 String defaultStatus; |
| 15012 |
| 15013 String defaultstatus; |
| 15014 |
| 15015 final num devicePixelRatio; |
| 15016 |
| 15017 final _EventJs event; |
| 15018 |
| 15019 final _ElementJs frameElement; |
| 15020 |
| 15021 final _WindowJs frames; |
| 15022 |
| 15023 final _HistoryJs history; |
| 15024 |
| 15025 final int innerHeight; |
| 15026 |
| 15027 final int innerWidth; |
| 15028 |
| 15029 final int length; |
| 15030 |
| 15031 final _StorageJs localStorage; |
| 15032 |
| 15033 _LocationJs location; |
| 15034 |
| 15035 final _BarInfoJs locationbar; |
| 15036 |
| 15037 final _BarInfoJs menubar; |
| 15038 |
| 15039 String name; |
| 15040 |
| 15041 final _NavigatorJs navigator; |
| 15042 |
| 15043 final bool offscreenBuffering; |
| 15044 |
| 15045 final _WindowJs opener; |
| 15046 |
| 15047 final int outerHeight; |
| 15048 |
| 15049 final int outerWidth; |
| 15050 |
| 15051 final int pageXOffset; |
| 15052 |
| 15053 final int pageYOffset; |
| 15054 |
| 15055 final _WindowJs parent; |
| 15056 |
| 15057 final _PerformanceJs performance; |
| 15058 |
| 15059 final _BarInfoJs personalbar; |
| 15060 |
| 15061 final _ScreenJs screen; |
| 15062 |
| 15063 final int screenLeft; |
| 15064 |
| 15065 final int screenTop; |
| 15066 |
| 15067 final int screenX; |
| 15068 |
| 15069 final int screenY; |
| 15070 |
| 15071 final int scrollX; |
| 15072 |
| 15073 final int scrollY; |
| 15074 |
| 15075 final _BarInfoJs scrollbars; |
| 15076 |
| 15077 final _WindowJs self; |
| 15078 |
| 15079 final _StorageJs sessionStorage; |
| 15080 |
| 15081 String status; |
| 15082 |
| 15083 final _BarInfoJs statusbar; |
| 15084 |
| 15085 final _StyleMediaJs styleMedia; |
| 15086 |
| 15087 final _BarInfoJs toolbar; |
| 15088 |
| 15089 final _WindowJs top; |
| 15090 |
| 15091 final _IDBFactoryJs webkitIndexedDB; |
| 15092 |
| 15093 final _NotificationCenterJs webkitNotifications; |
| 15094 |
| 15095 final _StorageInfoJs webkitStorageInfo; |
| 15096 |
| 15097 final _WindowJs window; |
| 15098 |
| 15099 _WindowEventsImpl get on() => |
| 15100 new _WindowEventsImpl(this); |
| 15101 |
| 15102 void _addEventListener(String type, EventListener listener, [bool useCapture =
null]) native "this.addEventListener(type, listener, useCapture);"; |
| 15103 |
| 15104 void alert(String message) native; |
| 15105 |
| 15106 String atob(String string) native; |
| 15107 |
| 15108 void blur() native; |
| 15109 |
| 15110 String btoa(String string) native; |
| 15111 |
| 15112 void captureEvents() native; |
| 15113 |
| 15114 void clearInterval(int handle) native; |
| 15115 |
| 15116 void clearTimeout(int handle) native; |
| 15117 |
| 15118 void close() native; |
| 15119 |
| 15120 bool confirm(String message) native; |
| 15121 |
| 15122 bool _dispatchEvent(_EventJs evt) native "return this.dispatchEvent(evt);"; |
| 15123 |
| 15124 bool find(String string, bool caseSensitive, bool backwards, bool wrap, bool w
holeWord, bool searchInFrames, bool showDialog) native; |
| 15125 |
| 15126 void focus() native; |
| 15127 |
| 15128 _CSSStyleDeclarationJs _getComputedStyle(_ElementJs element, String pseudoElem
ent) native "return this.getComputedStyle(element, pseudoElement);"; |
| 15129 |
| 15130 _CSSRuleListJs getMatchedCSSRules(_ElementJs element, String pseudoElement) na
tive; |
| 15131 |
| 15132 _DOMSelectionJs getSelection() native; |
| 15133 |
| 15134 _MediaQueryListJs matchMedia(String query) native; |
| 15135 |
| 15136 void moveBy(num x, num y) native; |
| 15137 |
| 15138 void moveTo(num x, num y) native; |
| 15139 |
| 15140 _WindowJs open(String url, String name, [String options = null]) native; |
| 15141 |
| 15142 _DatabaseJs openDatabase(String name, String version, String displayName, int
estimatedSize, [DatabaseCallback creationCallback = null]) native; |
| 15143 |
| 15144 void postMessage(Dynamic message, String targetOrigin, [List messagePorts = nu
ll]) native; |
| 15145 |
| 15146 void print() native; |
| 15147 |
| 15148 String prompt(String message, String defaultValue) native; |
| 15149 |
| 15150 void releaseEvents() native; |
| 15151 |
| 15152 void _removeEventListener(String type, EventListener listener, [bool useCaptur
e = null]) native "this.removeEventListener(type, listener, useCapture);"; |
| 15153 |
| 15154 void resizeBy(num x, num y) native; |
| 15155 |
| 15156 void resizeTo(num width, num height) native; |
| 15157 |
| 15158 void scroll(int x, int y) native; |
| 15159 |
| 15160 void scrollBy(int x, int y) native; |
| 15161 |
| 15162 void scrollTo(int x, int y) native; |
| 15163 |
| 15164 int setInterval(TimeoutHandler handler, int timeout) native; |
| 15165 |
| 15166 int setTimeout(TimeoutHandler handler, int timeout) native; |
| 15167 |
| 15168 Object showModalDialog(String url, [Object dialogArgs = null, String featureAr
gs = null]) native; |
| 15169 |
| 15170 void stop() native; |
| 15171 |
| 15172 void webkitCancelAnimationFrame(int id) native; |
| 15173 |
| 15174 void webkitCancelRequestAnimationFrame(int id) native; |
| 15175 |
| 15176 _PointJs webkitConvertPointFromNodeToPage(_NodeJs node, _PointJs p) native; |
| 15177 |
| 15178 _PointJs webkitConvertPointFromPageToNode(_NodeJs node, _PointJs p) native; |
| 15179 |
| 15180 void webkitPostMessage(Dynamic message, String targetOrigin, [List transferLis
t = null]) native; |
| 15181 |
| 15182 int webkitRequestAnimationFrame(RequestAnimationFrameCallback callback, _Eleme
ntJs element) native; |
| 15183 |
| 15184 void webkitRequestFileSystem(int type, int size, FileSystemCallback successCal
lback, [ErrorCallback errorCallback = null]) native; |
| 15185 |
| 15186 void webkitResolveLocalFileSystemURL(String url, [EntryCallback successCallbac
k = null, ErrorCallback errorCallback = null]) native; |
| 15187 |
| 15188 } |
| 15189 |
| 15190 class _WindowEventsImpl extends _EventsImpl implements WindowEvents { |
| 15191 _WindowEventsImpl(_ptr) : super(_ptr); |
| 15192 |
| 15193 EventListenerList get abort() => _get('abort'); |
| 15194 |
| 15195 EventListenerList get animationEnd() => _get('webkitAnimationEnd'); |
| 15196 |
| 15197 EventListenerList get animationIteration() => _get('webkitAnimationIteration')
; |
| 15198 |
| 15199 EventListenerList get animationStart() => _get('webkitAnimationStart'); |
| 15200 |
| 15201 EventListenerList get beforeUnload() => _get('beforeunload'); |
| 15202 |
| 15203 EventListenerList get blur() => _get('blur'); |
| 15204 |
| 15205 EventListenerList get canPlay() => _get('canplay'); |
| 15206 |
| 15207 EventListenerList get canPlayThrough() => _get('canplaythrough'); |
| 15208 |
| 15209 EventListenerList get change() => _get('change'); |
| 15210 |
| 15211 EventListenerList get click() => _get('click'); |
| 15212 |
| 15213 EventListenerList get contentLoaded() => _get('DOMContentLoaded'); |
| 15214 |
| 15215 EventListenerList get contextMenu() => _get('contextmenu'); |
| 15216 |
| 15217 EventListenerList get deviceMotion() => _get('devicemotion'); |
| 15218 |
| 15219 EventListenerList get deviceOrientation() => _get('deviceorientation'); |
| 15220 |
| 15221 EventListenerList get doubleClick() => _get('dblclick'); |
| 15222 |
| 15223 EventListenerList get drag() => _get('drag'); |
| 15224 |
| 15225 EventListenerList get dragEnd() => _get('dragend'); |
| 15226 |
| 15227 EventListenerList get dragEnter() => _get('dragenter'); |
| 15228 |
| 15229 EventListenerList get dragLeave() => _get('dragleave'); |
| 15230 |
| 15231 EventListenerList get dragOver() => _get('dragover'); |
| 15232 |
| 15233 EventListenerList get dragStart() => _get('dragstart'); |
| 15234 |
| 15235 EventListenerList get drop() => _get('drop'); |
| 15236 |
| 15237 EventListenerList get durationChange() => _get('durationchange'); |
| 15238 |
| 15239 EventListenerList get emptied() => _get('emptied'); |
| 15240 |
| 15241 EventListenerList get ended() => _get('ended'); |
| 15242 |
| 15243 EventListenerList get error() => _get('error'); |
| 15244 |
| 15245 EventListenerList get focus() => _get('focus'); |
| 15246 |
| 15247 EventListenerList get hashChange() => _get('hashchange'); |
| 15248 |
| 15249 EventListenerList get input() => _get('input'); |
| 15250 |
| 15251 EventListenerList get invalid() => _get('invalid'); |
| 15252 |
| 15253 EventListenerList get keyDown() => _get('keydown'); |
| 15254 |
| 15255 EventListenerList get keyPress() => _get('keypress'); |
| 15256 |
| 15257 EventListenerList get keyUp() => _get('keyup'); |
| 15258 |
| 15259 EventListenerList get load() => _get('load'); |
| 15260 |
| 15261 EventListenerList get loadStart() => _get('loadstart'); |
| 15262 |
| 15263 EventListenerList get loadedData() => _get('loadeddata'); |
| 15264 |
| 15265 EventListenerList get loadedMetadata() => _get('loadedmetadata'); |
| 15266 |
| 15267 EventListenerList get message() => _get('message'); |
| 15268 |
| 15269 EventListenerList get mouseDown() => _get('mousedown'); |
| 15270 |
| 15271 EventListenerList get mouseMove() => _get('mousemove'); |
| 15272 |
| 15273 EventListenerList get mouseOut() => _get('mouseout'); |
| 15274 |
| 15275 EventListenerList get mouseOver() => _get('mouseover'); |
| 15276 |
| 15277 EventListenerList get mouseUp() => _get('mouseup'); |
| 15278 |
| 15279 EventListenerList get mouseWheel() => _get('mousewheel'); |
| 15280 |
| 15281 EventListenerList get offline() => _get('offline'); |
| 15282 |
| 15283 EventListenerList get online() => _get('online'); |
| 15284 |
| 15285 EventListenerList get pageHide() => _get('pagehide'); |
| 15286 |
| 15287 EventListenerList get pageShow() => _get('pageshow'); |
| 15288 |
| 15289 EventListenerList get pause() => _get('pause'); |
| 15290 |
| 15291 EventListenerList get play() => _get('play'); |
| 15292 |
| 15293 EventListenerList get playing() => _get('playing'); |
| 15294 |
| 15295 EventListenerList get popState() => _get('popstate'); |
| 15296 |
| 15297 EventListenerList get progress() => _get('progress'); |
| 15298 |
| 15299 EventListenerList get rateChange() => _get('ratechange'); |
| 15300 |
| 15301 EventListenerList get reset() => _get('reset'); |
| 15302 |
| 15303 EventListenerList get resize() => _get('resize'); |
| 15304 |
| 15305 EventListenerList get scroll() => _get('scroll'); |
| 15306 |
| 15307 EventListenerList get search() => _get('search'); |
| 15308 |
| 15309 EventListenerList get seeked() => _get('seeked'); |
| 15310 |
| 15311 EventListenerList get seeking() => _get('seeking'); |
| 15312 |
| 15313 EventListenerList get select() => _get('select'); |
| 15314 |
| 15315 EventListenerList get stalled() => _get('stalled'); |
| 15316 |
| 15317 EventListenerList get storage() => _get('storage'); |
| 15318 |
| 15319 EventListenerList get submit() => _get('submit'); |
| 15320 |
| 15321 EventListenerList get suspend() => _get('suspend'); |
| 15322 |
| 15323 EventListenerList get timeUpdate() => _get('timeupdate'); |
| 15324 |
| 15325 EventListenerList get touchCancel() => _get('touchcancel'); |
| 15326 |
| 15327 EventListenerList get touchEnd() => _get('touchend'); |
| 15328 |
| 15329 EventListenerList get touchMove() => _get('touchmove'); |
| 15330 |
| 15331 EventListenerList get touchStart() => _get('touchstart'); |
| 15332 |
| 15333 EventListenerList get transitionEnd() => _get('webkitTransitionEnd'); |
| 15334 |
| 15335 EventListenerList get unload() => _get('unload'); |
| 15336 |
| 15337 EventListenerList get volumeChange() => _get('volumechange'); |
| 15338 |
| 15339 EventListenerList get waiting() => _get('waiting'); |
| 15340 } |
| 15341 |
| 15342 class _WorkerJs extends _AbstractWorkerJs implements Worker native "*Worker" { |
| 15343 |
| 15344 _WorkerEventsImpl get on() => |
| 15345 new _WorkerEventsImpl(this); |
| 15346 |
| 15347 void postMessage(Dynamic message, [List messagePorts = null]) native; |
| 15348 |
| 15349 void terminate() native; |
| 15350 |
| 15351 void webkitPostMessage(Dynamic message, [List messagePorts = null]) native; |
| 15352 } |
| 15353 |
| 15354 class _WorkerEventsImpl extends _AbstractWorkerEventsImpl implements WorkerEvent
s { |
| 15355 _WorkerEventsImpl(_ptr) : super(_ptr); |
| 15356 |
| 15357 EventListenerList get message() => _get('message'); |
| 15358 } |
| 15359 |
| 15360 class _WorkerContextJs implements WorkerContext native "*WorkerContext" { |
| 15361 |
| 15362 static final int PERSISTENT = 1; |
| 15363 |
| 15364 static final int TEMPORARY = 0; |
| 15365 |
| 15366 final _WorkerLocationJs location; |
| 15367 |
| 15368 final _WorkerNavigatorJs navigator; |
| 15369 |
| 15370 EventListener onerror; |
| 15371 |
| 15372 final _WorkerContextJs self; |
| 15373 |
| 15374 final _IDBFactoryJs webkitIndexedDB; |
| 15375 |
| 15376 final _NotificationCenterJs webkitNotifications; |
| 15377 |
| 15378 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; |
| 15379 |
| 15380 void clearInterval(int handle) native; |
| 15381 |
| 15382 void clearTimeout(int handle) native; |
| 15383 |
| 15384 void close() native; |
| 15385 |
| 15386 bool dispatchEvent(_EventJs evt) native; |
| 15387 |
| 15388 void importScripts() native; |
| 15389 |
| 15390 _DatabaseJs openDatabase(String name, String version, String displayName, int
estimatedSize, [DatabaseCallback creationCallback = null]) native; |
| 15391 |
| 15392 _DatabaseSyncJs openDatabaseSync(String name, String version, String displayNa
me, int estimatedSize, [DatabaseCallback creationCallback = null]) native; |
| 15393 |
| 15394 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; |
| 15395 |
| 15396 int setInterval(TimeoutHandler handler, int timeout) native; |
| 15397 |
| 15398 int setTimeout(TimeoutHandler handler, int timeout) native; |
| 15399 |
| 15400 void webkitRequestFileSystem(int type, int size, [FileSystemCallback successCa
llback = null, ErrorCallback errorCallback = null]) native; |
| 15401 |
| 15402 _DOMFileSystemSyncJs webkitRequestFileSystemSync(int type, int size) native; |
| 15403 |
| 15404 _EntrySyncJs webkitResolveLocalFileSystemSyncURL(String url) native; |
| 15405 |
| 15406 void webkitResolveLocalFileSystemURL(String url, [EntryCallback successCallbac
k = null, ErrorCallback errorCallback = null]) native; |
| 15407 } |
| 15408 |
| 15409 class _WorkerLocationJs implements WorkerLocation native "*WorkerLocation" { |
| 15410 |
| 15411 final String hash; |
| 15412 |
| 15413 final String host; |
| 15414 |
| 15415 final String hostname; |
| 15416 |
| 15417 final String href; |
| 15418 |
| 15419 final String pathname; |
| 15420 |
| 15421 final String port; |
| 15422 |
| 15423 final String protocol; |
| 15424 |
| 15425 final String search; |
| 15426 |
| 15427 String toString() native; |
| 15428 } |
| 15429 |
| 15430 class _WorkerNavigatorJs implements WorkerNavigator native "*WorkerNavigator" { |
| 15431 |
| 15432 final String appName; |
| 15433 |
| 15434 final String appVersion; |
| 15435 |
| 15436 final bool onLine; |
| 15437 |
| 15438 final String platform; |
| 15439 |
| 15440 final String userAgent; |
| 15441 } |
| 15442 |
| 15443 class _XMLHttpRequestJs implements XMLHttpRequest native "*XMLHttpRequest" { |
| 15444 |
| 15445 static final int DONE = 4; |
| 15446 |
| 15447 static final int HEADERS_RECEIVED = 2; |
| 15448 |
| 15449 static final int LOADING = 3; |
| 15450 |
| 15451 static final int OPENED = 1; |
| 15452 |
| 15453 static final int UNSENT = 0; |
| 15454 |
| 15455 bool asBlob; |
| 15456 |
| 15457 final int readyState; |
| 15458 |
| 15459 final Object response; |
| 15460 |
| 15461 final _BlobJs responseBlob; |
| 15462 |
| 15463 final String responseText; |
| 15464 |
| 15465 String responseType; |
| 15466 |
| 15467 final _DocumentJs responseXML; |
| 15468 |
| 15469 final int status; |
| 15470 |
| 15471 final String statusText; |
| 15472 |
| 15473 final _XMLHttpRequestUploadJs upload; |
| 15474 |
| 15475 bool withCredentials; |
| 15476 |
| 15477 _XMLHttpRequestEventsImpl get on() => |
| 15478 new _XMLHttpRequestEventsImpl(this); |
| 15479 |
| 15480 void abort() native; |
| 15481 |
| 15482 void _addEventListener(String type, EventListener listener, [bool useCapture =
null]) native "this.addEventListener(type, listener, useCapture);"; |
| 15483 |
| 15484 bool _dispatchEvent(_EventJs evt) native "return this.dispatchEvent(evt);"; |
| 15485 |
| 15486 String getAllResponseHeaders() native; |
| 15487 |
| 15488 String getResponseHeader(String header) native; |
| 15489 |
| 15490 void open(String method, String url, [bool async = null, String user = null, S
tring password = null]) native; |
| 15491 |
| 15492 void overrideMimeType(String override) native; |
| 15493 |
| 15494 void _removeEventListener(String type, EventListener listener, [bool useCaptur
e = null]) native "this.removeEventListener(type, listener, useCapture);"; |
| 15495 |
| 15496 void send([var data = null]) native; |
| 15497 |
| 15498 void setRequestHeader(String header, String value) native; |
| 15499 } |
| 15500 |
| 15501 class _XMLHttpRequestEventsImpl extends _EventsImpl implements XMLHttpRequestEve
nts { |
| 15502 _XMLHttpRequestEventsImpl(_ptr) : super(_ptr); |
| 15503 |
| 15504 EventListenerList get abort() => _get('abort'); |
| 15505 |
| 15506 EventListenerList get error() => _get('error'); |
| 15507 |
| 15508 EventListenerList get load() => _get('load'); |
| 15509 |
| 15510 EventListenerList get loadEnd() => _get('loadend'); |
| 15511 |
| 15512 EventListenerList get loadStart() => _get('loadstart'); |
| 15513 |
| 15514 EventListenerList get progress() => _get('progress'); |
| 15515 |
| 15516 EventListenerList get readyStateChange() => _get('readystatechange'); |
| 15517 } |
| 15518 |
| 15519 class _XMLHttpRequestExceptionJs implements XMLHttpRequestException native "*XML
HttpRequestException" { |
| 15520 |
| 15521 static final int ABORT_ERR = 102; |
| 15522 |
| 15523 static final int NETWORK_ERR = 101; |
| 15524 |
| 15525 final int code; |
| 15526 |
| 15527 final String message; |
| 15528 |
| 15529 final String name; |
| 15530 |
| 15531 String toString() native; |
| 15532 } |
| 15533 |
| 15534 class _XMLHttpRequestProgressEventJs extends _ProgressEventJs implements XMLHttp
RequestProgressEvent native "*XMLHttpRequestProgressEvent" { |
| 15535 |
| 15536 final int position; |
| 15537 |
| 15538 final int totalSize; |
| 15539 } |
| 15540 |
| 15541 class _XMLHttpRequestUploadJs implements XMLHttpRequestUpload native "*XMLHttpRe
questUpload" { |
| 15542 |
| 15543 _XMLHttpRequestUploadEventsImpl get on() => |
| 15544 new _XMLHttpRequestUploadEventsImpl(this); |
| 15545 |
| 15546 void _addEventListener(String type, EventListener listener, [bool useCapture =
null]) native "this.addEventListener(type, listener, useCapture);"; |
| 15547 |
| 15548 bool _dispatchEvent(_EventJs evt) native "return this.dispatchEvent(evt);"; |
| 15549 |
| 15550 void _removeEventListener(String type, EventListener listener, [bool useCaptur
e = null]) native "this.removeEventListener(type, listener, useCapture);"; |
| 15551 } |
| 15552 |
| 15553 class _XMLHttpRequestUploadEventsImpl extends _EventsImpl implements XMLHttpRequ
estUploadEvents { |
| 15554 _XMLHttpRequestUploadEventsImpl(_ptr) : super(_ptr); |
| 15555 |
| 15556 EventListenerList get abort() => _get('abort'); |
| 15557 |
| 15558 EventListenerList get error() => _get('error'); |
| 15559 |
| 15560 EventListenerList get load() => _get('load'); |
| 15561 |
| 15562 EventListenerList get loadEnd() => _get('loadend'); |
| 15563 |
| 15564 EventListenerList get loadStart() => _get('loadstart'); |
| 15565 |
| 15566 EventListenerList get progress() => _get('progress'); |
| 15567 } |
| 15568 |
| 15569 class _XMLSerializerJs implements XMLSerializer native "*XMLSerializer" { |
| 15570 |
| 15571 String serializeToString(_NodeJs node) native; |
| 15572 } |
| 15573 |
| 15574 class _XPathEvaluatorJs implements XPathEvaluator native "*XPathEvaluator" { |
| 15575 |
| 15576 _XPathExpressionJs createExpression(String expression, _XPathNSResolverJs reso
lver) native; |
| 15577 |
| 15578 _XPathNSResolverJs createNSResolver(_NodeJs nodeResolver) native; |
| 15579 |
| 15580 _XPathResultJs evaluate(String expression, _NodeJs contextNode, _XPathNSResolv
erJs resolver, int type, _XPathResultJs inResult) native; |
| 15581 } |
| 15582 |
| 15583 class _XPathExceptionJs implements XPathException native "*XPathException" { |
| 15584 |
| 15585 static final int INVALID_EXPRESSION_ERR = 51; |
| 15586 |
| 15587 static final int TYPE_ERR = 52; |
| 15588 |
| 15589 final int code; |
| 15590 |
| 15591 final String message; |
| 15592 |
| 15593 final String name; |
| 15594 |
| 15595 String toString() native; |
| 15596 } |
| 15597 |
| 15598 class _XPathExpressionJs implements XPathExpression native "*XPathExpression" { |
| 15599 |
| 15600 _XPathResultJs evaluate(_NodeJs contextNode, int type, _XPathResultJs inResult
) native; |
| 15601 } |
| 15602 |
| 15603 class _XPathNSResolverJs implements XPathNSResolver native "*XPathNSResolver" { |
| 15604 |
| 15605 String lookupNamespaceURI(String prefix) native; |
| 15606 } |
| 15607 |
| 15608 class _XPathResultJs implements XPathResult native "*XPathResult" { |
| 15609 |
| 15610 static final int ANY_TYPE = 0; |
| 15611 |
| 15612 static final int ANY_UNORDERED_NODE_TYPE = 8; |
| 15613 |
| 15614 static final int BOOLEAN_TYPE = 3; |
| 15615 |
| 15616 static final int FIRST_ORDERED_NODE_TYPE = 9; |
| 15617 |
| 15618 static final int NUMBER_TYPE = 1; |
| 15619 |
| 15620 static final int ORDERED_NODE_ITERATOR_TYPE = 5; |
| 15621 |
| 15622 static final int ORDERED_NODE_SNAPSHOT_TYPE = 7; |
| 15623 |
| 15624 static final int STRING_TYPE = 2; |
| 15625 |
| 15626 static final int UNORDERED_NODE_ITERATOR_TYPE = 4; |
| 15627 |
| 15628 static final int UNORDERED_NODE_SNAPSHOT_TYPE = 6; |
| 15629 |
| 15630 final bool booleanValue; |
| 15631 |
| 15632 final bool invalidIteratorState; |
| 15633 |
| 15634 final num numberValue; |
| 15635 |
| 15636 final int resultType; |
| 15637 |
| 15638 final _NodeJs singleNodeValue; |
| 15639 |
| 15640 final int snapshotLength; |
| 15641 |
| 15642 final String stringValue; |
| 15643 |
| 15644 _NodeJs iterateNext() native; |
| 15645 |
| 15646 _NodeJs snapshotItem(int index) native; |
| 15647 } |
| 15648 |
| 15649 class _XSLTProcessorJs implements XSLTProcessor native "*XSLTProcessor" { |
| 15650 |
| 15651 void clearParameters() native; |
| 15652 |
| 15653 String getParameter(String namespaceURI, String localName) native; |
| 15654 |
| 15655 void importStylesheet(_NodeJs stylesheet) native; |
| 15656 |
| 15657 void removeParameter(String namespaceURI, String localName) native; |
| 15658 |
| 15659 void reset() native; |
| 15660 |
| 15661 void setParameter(String namespaceURI, String localName, String value) native; |
| 15662 |
| 15663 _DocumentJs transformToDocument(_NodeJs source) native; |
| 15664 |
| 15665 _DocumentFragmentJs transformToFragment(_NodeJs source, _DocumentJs docVal) na
tive; |
| 15666 } |
| 15667 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 15668 // for details. All rights reserved. Use of this source code is governed by a |
| 15669 // BSD-style license that can be found in the LICENSE file. |
| 15670 |
| 15671 // WARNING: Do not edit - generated code. |
| 15672 |
| 15673 interface AbstractWorker extends EventTarget { |
| 15674 |
| 15675 AbstractWorkerEvents get on(); |
| 15676 } |
| 15677 |
| 15678 interface AbstractWorkerEvents extends Events { |
| 15679 |
| 15680 EventListenerList get error(); |
| 15681 } |
| 15682 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 15683 // for details. All rights reserved. Use of this source code is governed by a |
| 15684 // BSD-style license that can be found in the LICENSE file. |
| 15685 |
| 15686 // WARNING: Do not edit - generated code. |
| 15687 |
| 15688 interface AnchorElement extends Element { |
| 15689 |
| 15690 String charset; |
| 15691 |
| 15692 String coords; |
| 15693 |
| 15694 String download; |
| 15695 |
| 15696 String hash; |
| 15697 |
| 15698 String host; |
| 15699 |
| 15700 String hostname; |
| 15701 |
| 15702 String href; |
| 15703 |
| 15704 String hreflang; |
| 15705 |
| 15706 String name; |
| 15707 |
| 15708 final String origin; |
| 15709 |
| 15710 String pathname; |
| 15711 |
| 15712 String ping; |
| 15713 |
| 15714 String port; |
| 15715 |
| 15716 String protocol; |
| 15717 |
| 15718 String rel; |
| 15719 |
| 15720 String rev; |
| 15721 |
| 15722 String search; |
| 15723 |
| 15724 String shape; |
| 15725 |
| 15726 String target; |
| 15727 |
| 15728 final String text; |
| 15729 |
| 15730 String type; |
| 15731 |
| 15732 String toString(); |
| 15733 } |
| 15734 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 15735 // for details. All rights reserved. Use of this source code is governed by a |
| 15736 // BSD-style license that can be found in the LICENSE file. |
| 15737 |
| 15738 // WARNING: Do not edit - generated code. |
| 15739 |
| 15740 interface Animation { |
| 15741 |
| 15742 static final int DIRECTION_ALTERNATE = 1; |
| 15743 |
| 15744 static final int DIRECTION_NORMAL = 0; |
| 15745 |
| 15746 static final int FILL_BACKWARDS = 1; |
| 15747 |
| 15748 static final int FILL_BOTH = 3; |
| 15749 |
| 15750 static final int FILL_FORWARDS = 2; |
| 15751 |
| 15752 static final int FILL_NONE = 0; |
| 15753 |
| 15754 final num delay; |
| 15755 |
| 15756 final int direction; |
| 15757 |
| 15758 final num duration; |
| 15759 |
| 15760 num elapsedTime; |
| 15761 |
| 15762 final bool ended; |
| 15763 |
| 15764 final int fillMode; |
| 15765 |
| 15766 final int iterationCount; |
| 15767 |
| 15768 final String name; |
| 15769 |
| 15770 final bool paused; |
| 15771 |
| 15772 void pause(); |
| 15773 |
| 15774 void play(); |
| 15775 } |
| 15776 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 15777 // for details. All rights reserved. Use of this source code is governed by a |
| 15778 // BSD-style license that can be found in the LICENSE file. |
| 15779 |
| 15780 // WARNING: Do not edit - generated code. |
| 15781 |
| 15782 interface AnimationEvent extends Event { |
| 15783 |
| 15784 final String animationName; |
| 15785 |
| 15786 final num elapsedTime; |
| 15787 } |
| 15788 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 15789 // for details. All rights reserved. Use of this source code is governed by a |
| 15790 // BSD-style license that can be found in the LICENSE file. |
| 15791 |
| 15792 // WARNING: Do not edit - generated code. |
| 15793 |
| 15794 interface AnimationList { |
| 15795 |
| 15796 final int length; |
| 15797 |
| 15798 Animation item(int index); |
| 15799 } |
| 15800 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 15801 // for details. All rights reserved. Use of this source code is governed by a |
| 15802 // BSD-style license that can be found in the LICENSE file. |
| 15803 |
| 15804 // WARNING: Do not edit - generated code. |
| 15805 |
| 15806 interface AppletElement extends Element { |
| 15807 |
| 15808 String align; |
| 15809 |
| 15810 String alt; |
| 15811 |
| 15812 String archive; |
| 15813 |
| 15814 String code; |
| 15815 |
| 15816 String codeBase; |
| 15817 |
| 15818 String height; |
| 15819 |
| 15820 String hspace; |
| 15821 |
| 15822 String name; |
| 15823 |
| 15824 String object; |
| 15825 |
| 15826 String vspace; |
| 15827 |
| 15828 String width; |
| 15829 } |
| 15830 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 15831 // for details. All rights reserved. Use of this source code is governed by a |
| 15832 // BSD-style license that can be found in the LICENSE file. |
| 15833 |
| 15834 // WARNING: Do not edit - generated code. |
| 15835 |
| 15836 interface AreaElement extends Element { |
| 15837 |
| 15838 String alt; |
| 15839 |
| 15840 String coords; |
| 15841 |
| 15842 final String hash; |
| 15843 |
| 15844 final String host; |
| 15845 |
| 15846 final String hostname; |
| 15847 |
| 15848 String href; |
| 15849 |
| 15850 bool noHref; |
| 15851 |
| 15852 final String pathname; |
| 15853 |
| 15854 String ping; |
| 15855 |
| 15856 final String port; |
| 15857 |
| 15858 final String protocol; |
| 15859 |
| 15860 final String search; |
| 15861 |
| 15862 String shape; |
| 15863 |
| 15864 String target; |
| 15865 } |
| 15866 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 15867 // for details. All rights reserved. Use of this source code is governed by a |
| 15868 // BSD-style license that can be found in the LICENSE file. |
| 15869 |
| 15870 // WARNING: Do not edit - generated code. |
| 15871 |
| 15872 interface ArrayBuffer { |
| 15873 |
| 15874 final int byteLength; |
| 15875 |
| 15876 ArrayBuffer slice(int begin, [int end]); |
| 15877 } |
| 15878 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 15879 // for details. All rights reserved. Use of this source code is governed by a |
| 15880 // BSD-style license that can be found in the LICENSE file. |
| 15881 |
| 15882 // WARNING: Do not edit - generated code. |
| 15883 |
| 15884 interface ArrayBufferView { |
| 15885 |
| 15886 final ArrayBuffer buffer; |
| 15887 |
| 15888 final int byteLength; |
| 15889 |
| 15890 final int byteOffset; |
| 15891 } |
| 15892 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 15893 // for details. All rights reserved. Use of this source code is governed by a |
| 15894 // BSD-style license that can be found in the LICENSE file. |
| 15895 |
| 15896 // WARNING: Do not edit - generated code. |
| 15897 |
| 15898 interface Attr extends Node { |
| 15899 |
| 15900 final bool isId; |
| 15901 |
| 15902 final String name; |
| 15903 |
| 15904 final Element ownerElement; |
| 15905 |
| 15906 final bool specified; |
| 15907 |
| 15908 String value; |
| 15909 } |
| 15910 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 15911 // for details. All rights reserved. Use of this source code is governed by a |
| 15912 // BSD-style license that can be found in the LICENSE file. |
| 15913 |
| 15914 // WARNING: Do not edit - generated code. |
| 15915 |
| 15916 interface AudioBuffer { |
| 15917 |
| 15918 final num duration; |
| 15919 |
| 15920 num gain; |
| 15921 |
| 15922 final int length; |
| 15923 |
| 15924 final int numberOfChannels; |
| 15925 |
| 15926 final num sampleRate; |
| 15927 |
| 15928 Float32Array getChannelData(int channelIndex); |
| 15929 } |
| 15930 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 15931 // for details. All rights reserved. Use of this source code is governed by a |
| 15932 // BSD-style license that can be found in the LICENSE file. |
| 15933 |
| 15934 // WARNING: Do not edit - generated code. |
| 15935 |
| 15936 typedef bool AudioBufferCallback(AudioBuffer audioBuffer); |
| 15937 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 15938 // for details. All rights reserved. Use of this source code is governed by a |
| 15939 // BSD-style license that can be found in the LICENSE file. |
| 15940 |
| 15941 // WARNING: Do not edit - generated code. |
| 15942 |
| 15943 interface AudioBufferSourceNode extends AudioSourceNode { |
| 15944 |
| 15945 AudioBuffer buffer; |
| 15946 |
| 15947 final AudioGain gain; |
| 15948 |
| 15949 bool loop; |
| 15950 |
| 15951 bool looping; |
| 15952 |
| 15953 final AudioParam playbackRate; |
| 15954 |
| 15955 void noteGrainOn(num when, num grainOffset, num grainDuration); |
| 15956 |
| 15957 void noteOff(num when); |
| 15958 |
| 15959 void noteOn(num when); |
| 15960 } |
| 15961 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 15962 // for details. All rights reserved. Use of this source code is governed by a |
| 15963 // BSD-style license that can be found in the LICENSE file. |
| 15964 |
| 15965 // WARNING: Do not edit - generated code. |
| 15966 |
| 15967 interface AudioChannelMerger extends AudioNode { |
| 15968 } |
| 15969 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 15970 // for details. All rights reserved. Use of this source code is governed by a |
| 15971 // BSD-style license that can be found in the LICENSE file. |
| 15972 |
| 15973 // WARNING: Do not edit - generated code. |
| 15974 |
| 15975 interface AudioChannelSplitter extends AudioNode { |
| 15976 } |
| 15977 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 15978 // for details. All rights reserved. Use of this source code is governed by a |
| 15979 // BSD-style license that can be found in the LICENSE file. |
| 15980 |
| 15981 // WARNING: Do not edit - generated code. |
| 15982 |
| 15983 interface AudioContext { |
| 15984 |
| 15985 final num currentTime; |
| 15986 |
| 15987 final AudioDestinationNode destination; |
| 15988 |
| 15989 final AudioListener listener; |
| 15990 |
| 15991 EventListener oncomplete; |
| 15992 |
| 15993 final num sampleRate; |
| 15994 |
| 15995 RealtimeAnalyserNode createAnalyser(); |
| 15996 |
| 15997 BiquadFilterNode createBiquadFilter(); |
| 15998 |
| 15999 AudioBuffer createBuffer(var buffer_OR_numberOfChannels, var mixToMono_OR_numb
erOfFrames, [num sampleRate]); |
| 16000 |
| 16001 AudioBufferSourceNode createBufferSource(); |
| 16002 |
| 16003 AudioChannelMerger createChannelMerger(); |
| 16004 |
| 16005 AudioChannelSplitter createChannelSplitter(); |
| 16006 |
| 16007 ConvolverNode createConvolver(); |
| 16008 |
| 16009 DelayNode createDelayNode(); |
| 16010 |
| 16011 DynamicsCompressorNode createDynamicsCompressor(); |
| 16012 |
| 16013 AudioGainNode createGainNode(); |
| 16014 |
| 16015 HighPass2FilterNode createHighPass2Filter(); |
| 16016 |
| 16017 JavaScriptAudioNode createJavaScriptNode(int bufferSize); |
| 16018 |
| 16019 LowPass2FilterNode createLowPass2Filter(); |
| 16020 |
| 16021 MediaElementAudioSourceNode createMediaElementSource(MediaElement mediaElement
); |
| 16022 |
| 16023 AudioPannerNode createPanner(); |
| 16024 |
| 16025 WaveShaperNode createWaveShaper(); |
| 16026 |
| 16027 void decodeAudioData(ArrayBuffer audioData, AudioBufferCallback successCallbac
k, [AudioBufferCallback errorCallback]); |
| 16028 |
| 16029 void startRendering(); |
| 16030 } |
| 16031 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16032 // for details. All rights reserved. Use of this source code is governed by a |
| 16033 // BSD-style license that can be found in the LICENSE file. |
| 16034 |
| 16035 // WARNING: Do not edit - generated code. |
| 16036 |
| 16037 interface AudioDestinationNode extends AudioNode { |
| 16038 |
| 16039 final int numberOfChannels; |
| 16040 } |
| 16041 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16042 // for details. All rights reserved. Use of this source code is governed by a |
| 16043 // BSD-style license that can be found in the LICENSE file. |
| 16044 |
| 16045 // WARNING: Do not edit - generated code. |
| 16046 |
| 16047 interface AudioElement extends MediaElement { |
| 16048 } |
| 16049 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16050 // for details. All rights reserved. Use of this source code is governed by a |
| 16051 // BSD-style license that can be found in the LICENSE file. |
| 16052 |
| 16053 // WARNING: Do not edit - generated code. |
| 16054 |
| 16055 interface AudioGain extends AudioParam { |
| 16056 } |
| 16057 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16058 // for details. All rights reserved. Use of this source code is governed by a |
| 16059 // BSD-style license that can be found in the LICENSE file. |
| 16060 |
| 16061 // WARNING: Do not edit - generated code. |
| 16062 |
| 16063 interface AudioGainNode extends AudioNode { |
| 16064 |
| 16065 final AudioGain gain; |
| 16066 } |
| 16067 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16068 // for details. All rights reserved. Use of this source code is governed by a |
| 16069 // BSD-style license that can be found in the LICENSE file. |
| 16070 |
| 16071 // WARNING: Do not edit - generated code. |
| 16072 |
| 16073 interface AudioListener { |
| 16074 |
| 16075 num dopplerFactor; |
| 16076 |
| 16077 num speedOfSound; |
| 16078 |
| 16079 void setOrientation(num x, num y, num z, num xUp, num yUp, num zUp); |
| 16080 |
| 16081 void setPosition(num x, num y, num z); |
| 16082 |
| 16083 void setVelocity(num x, num y, num z); |
| 16084 } |
| 16085 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16086 // for details. All rights reserved. Use of this source code is governed by a |
| 16087 // BSD-style license that can be found in the LICENSE file. |
| 16088 |
| 16089 // WARNING: Do not edit - generated code. |
| 16090 |
| 16091 interface AudioNode { |
| 16092 |
| 16093 final AudioContext context; |
| 16094 |
| 16095 final int numberOfInputs; |
| 16096 |
| 16097 final int numberOfOutputs; |
| 16098 |
| 16099 void connect(AudioNode destination, int output, int input); |
| 16100 |
| 16101 void disconnect(int output); |
| 16102 } |
| 16103 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16104 // for details. All rights reserved. Use of this source code is governed by a |
| 16105 // BSD-style license that can be found in the LICENSE file. |
| 16106 |
| 16107 // WARNING: Do not edit - generated code. |
| 16108 |
| 16109 interface AudioPannerNode extends AudioNode { |
| 16110 |
| 16111 static final int EQUALPOWER = 0; |
| 16112 |
| 16113 static final int EXPONENTIAL_DISTANCE = 2; |
| 16114 |
| 16115 static final int HRTF = 1; |
| 16116 |
| 16117 static final int INVERSE_DISTANCE = 1; |
| 16118 |
| 16119 static final int LINEAR_DISTANCE = 0; |
| 16120 |
| 16121 static final int SOUNDFIELD = 2; |
| 16122 |
| 16123 final AudioGain coneGain; |
| 16124 |
| 16125 num coneInnerAngle; |
| 16126 |
| 16127 num coneOuterAngle; |
| 16128 |
| 16129 num coneOuterGain; |
| 16130 |
| 16131 final AudioGain distanceGain; |
| 16132 |
| 16133 int distanceModel; |
| 16134 |
| 16135 num maxDistance; |
| 16136 |
| 16137 int panningModel; |
| 16138 |
| 16139 num refDistance; |
| 16140 |
| 16141 num rolloffFactor; |
| 16142 |
| 16143 void setOrientation(num x, num y, num z); |
| 16144 |
| 16145 void setPosition(num x, num y, num z); |
| 16146 |
| 16147 void setVelocity(num x, num y, num z); |
| 16148 } |
| 16149 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16150 // for details. All rights reserved. Use of this source code is governed by a |
| 16151 // BSD-style license that can be found in the LICENSE file. |
| 16152 |
| 16153 // WARNING: Do not edit - generated code. |
| 16154 |
| 16155 interface AudioParam { |
| 16156 |
| 16157 final num defaultValue; |
| 16158 |
| 16159 final num maxValue; |
| 16160 |
| 16161 final num minValue; |
| 16162 |
| 16163 final String name; |
| 16164 |
| 16165 final int units; |
| 16166 |
| 16167 num value; |
| 16168 |
| 16169 void cancelScheduledValues(num startTime); |
| 16170 |
| 16171 void exponentialRampToValueAtTime(num value, num time); |
| 16172 |
| 16173 void linearRampToValueAtTime(num value, num time); |
| 16174 |
| 16175 void setTargetValueAtTime(num targetValue, num time, num timeConstant); |
| 16176 |
| 16177 void setValueAtTime(num value, num time); |
| 16178 |
| 16179 void setValueCurveAtTime(Float32Array values, num time, num duration); |
| 16180 } |
| 16181 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16182 // for details. All rights reserved. Use of this source code is governed by a |
| 16183 // BSD-style license that can be found in the LICENSE file. |
| 16184 |
| 16185 // WARNING: Do not edit - generated code. |
| 16186 |
| 16187 interface AudioProcessingEvent extends Event { |
| 16188 |
| 16189 final AudioBuffer inputBuffer; |
| 16190 |
| 16191 final AudioBuffer outputBuffer; |
| 16192 } |
| 16193 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16194 // for details. All rights reserved. Use of this source code is governed by a |
| 16195 // BSD-style license that can be found in the LICENSE file. |
| 16196 |
| 16197 // WARNING: Do not edit - generated code. |
| 16198 |
| 16199 interface AudioSourceNode extends AudioNode { |
| 16200 } |
| 16201 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16202 // for details. All rights reserved. Use of this source code is governed by a |
| 16203 // BSD-style license that can be found in the LICENSE file. |
| 16204 |
| 16205 // WARNING: Do not edit - generated code. |
| 16206 |
| 16207 interface BRElement extends Element { |
| 16208 |
| 16209 String clear; |
| 16210 } |
| 16211 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16212 // for details. All rights reserved. Use of this source code is governed by a |
| 16213 // BSD-style license that can be found in the LICENSE file. |
| 16214 |
| 16215 // WARNING: Do not edit - generated code. |
| 16216 |
| 16217 interface BarInfo { |
| 16218 |
| 16219 final bool visible; |
| 16220 } |
| 16221 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16222 // for details. All rights reserved. Use of this source code is governed by a |
| 16223 // BSD-style license that can be found in the LICENSE file. |
| 16224 |
| 16225 // WARNING: Do not edit - generated code. |
| 16226 |
| 16227 interface BaseElement extends Element { |
| 16228 |
| 16229 String href; |
| 16230 |
| 16231 String target; |
| 16232 } |
| 16233 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16234 // for details. All rights reserved. Use of this source code is governed by a |
| 16235 // BSD-style license that can be found in the LICENSE file. |
| 16236 |
| 16237 // WARNING: Do not edit - generated code. |
| 16238 |
| 16239 interface BaseFontElement extends Element { |
| 16240 |
| 16241 String color; |
| 16242 |
| 16243 String face; |
| 16244 |
| 16245 int size; |
| 16246 } |
| 16247 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16248 // for details. All rights reserved. Use of this source code is governed by a |
| 16249 // BSD-style license that can be found in the LICENSE file. |
| 16250 |
| 16251 // WARNING: Do not edit - generated code. |
| 16252 |
| 16253 interface BeforeLoadEvent extends Event { |
| 16254 |
| 16255 final String url; |
| 16256 } |
| 16257 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16258 // for details. All rights reserved. Use of this source code is governed by a |
| 16259 // BSD-style license that can be found in the LICENSE file. |
| 16260 |
| 16261 // WARNING: Do not edit - generated code. |
| 16262 |
| 16263 interface BiquadFilterNode extends AudioNode { |
| 16264 |
| 16265 static final int ALLPASS = 7; |
| 16266 |
| 16267 static final int BANDPASS = 2; |
| 16268 |
| 16269 static final int HIGHPASS = 1; |
| 16270 |
| 16271 static final int HIGHSHELF = 4; |
| 16272 |
| 16273 static final int LOWPASS = 0; |
| 16274 |
| 16275 static final int LOWSHELF = 3; |
| 16276 |
| 16277 static final int NOTCH = 6; |
| 16278 |
| 16279 static final int PEAKING = 5; |
| 16280 |
| 16281 final AudioParam Q; |
| 16282 |
| 16283 final AudioParam frequency; |
| 16284 |
| 16285 final AudioParam gain; |
| 16286 |
| 16287 int type; |
| 16288 |
| 16289 void getFrequencyResponse(Float32Array frequencyHz, Float32Array magResponse,
Float32Array phaseResponse); |
| 16290 } |
| 16291 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16292 // for details. All rights reserved. Use of this source code is governed by a |
| 16293 // BSD-style license that can be found in the LICENSE file. |
| 16294 |
| 16295 // WARNING: Do not edit - generated code. |
| 16296 |
| 16297 interface Blob { |
| 16298 |
| 16299 final int size; |
| 16300 |
| 16301 final String type; |
| 16302 |
| 16303 Blob webkitSlice([int start, int end, String contentType]); |
| 16304 } |
| 16305 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16306 // for details. All rights reserved. Use of this source code is governed by a |
| 16307 // BSD-style license that can be found in the LICENSE file. |
| 16308 |
| 16309 // WARNING: Do not edit - generated code. |
| 16310 |
| 16311 interface BlobBuilder { |
| 16312 |
| 16313 void append(var arrayBuffer_OR_blob_OR_value, [String endings]); |
| 16314 |
| 16315 Blob getBlob([String contentType]); |
| 16316 } |
| 16317 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16318 // for details. All rights reserved. Use of this source code is governed by a |
| 16319 // BSD-style license that can be found in the LICENSE file. |
| 16320 |
| 16321 // WARNING: Do not edit - generated code. |
| 16322 |
| 16323 interface BodyElement extends Element { |
| 16324 |
| 16325 String aLink; |
| 16326 |
| 16327 String background; |
| 16328 |
| 16329 String bgColor; |
| 16330 |
| 16331 String link; |
| 16332 |
| 16333 String text; |
| 16334 |
| 16335 String vLink; |
| 16336 |
| 16337 BodyElementEvents get on(); |
| 16338 } |
| 16339 |
| 16340 interface BodyElementEvents extends ElementEvents { |
| 16341 |
| 16342 EventListenerList get beforeUnload(); |
| 16343 |
| 16344 EventListenerList get blur(); |
| 16345 |
| 16346 EventListenerList get error(); |
| 16347 |
| 16348 EventListenerList get focus(); |
| 16349 |
| 16350 EventListenerList get hashChange(); |
| 16351 |
| 16352 EventListenerList get load(); |
| 16353 |
| 16354 EventListenerList get message(); |
| 16355 |
| 16356 EventListenerList get offline(); |
| 16357 |
| 16358 EventListenerList get online(); |
| 16359 |
| 16360 EventListenerList get popState(); |
| 16361 |
| 16362 EventListenerList get resize(); |
| 16363 |
| 16364 EventListenerList get storage(); |
| 16365 |
| 16366 EventListenerList get unload(); |
| 16367 } |
| 16368 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16369 // for details. All rights reserved. Use of this source code is governed by a |
| 16370 // BSD-style license that can be found in the LICENSE file. |
| 16371 |
| 16372 // WARNING: Do not edit - generated code. |
| 16373 |
| 16374 interface ButtonElement extends Element { |
| 16375 |
| 16376 bool autofocus; |
| 16377 |
| 16378 bool disabled; |
| 16379 |
| 16380 final FormElement form; |
| 16381 |
| 16382 String formAction; |
| 16383 |
| 16384 String formEnctype; |
| 16385 |
| 16386 String formMethod; |
| 16387 |
| 16388 bool formNoValidate; |
| 16389 |
| 16390 String formTarget; |
| 16391 |
| 16392 final NodeList labels; |
| 16393 |
| 16394 String name; |
| 16395 |
| 16396 final String type; |
| 16397 |
| 16398 final String validationMessage; |
| 16399 |
| 16400 final ValidityState validity; |
| 16401 |
| 16402 String value; |
| 16403 |
| 16404 final bool willValidate; |
| 16405 |
| 16406 bool checkValidity(); |
| 16407 |
| 16408 void setCustomValidity(String error); |
| 16409 } |
| 16410 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16411 // for details. All rights reserved. Use of this source code is governed by a |
| 16412 // BSD-style license that can be found in the LICENSE file. |
| 16413 |
| 16414 // WARNING: Do not edit - generated code. |
| 16415 |
| 16416 interface CDATASection extends Text { |
| 16417 } |
| 16418 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16419 // for details. All rights reserved. Use of this source code is governed by a |
| 16420 // BSD-style license that can be found in the LICENSE file. |
| 16421 |
| 16422 // WARNING: Do not edit - generated code. |
| 16423 |
| 16424 interface CSSCharsetRule extends CSSRule { |
| 16425 |
| 16426 String encoding; |
| 16427 } |
| 16428 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16429 // for details. All rights reserved. Use of this source code is governed by a |
| 16430 // BSD-style license that can be found in the LICENSE file. |
| 16431 |
| 16432 // WARNING: Do not edit - generated code. |
| 16433 |
| 16434 interface CSSFontFaceRule extends CSSRule { |
| 16435 |
| 16436 final CSSStyleDeclaration style; |
| 16437 } |
| 16438 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16439 // for details. All rights reserved. Use of this source code is governed by a |
| 16440 // BSD-style license that can be found in the LICENSE file. |
| 16441 |
| 16442 // WARNING: Do not edit - generated code. |
| 16443 |
| 16444 interface CSSImportRule extends CSSRule { |
| 16445 |
| 16446 final String href; |
| 16447 |
| 16448 final MediaList media; |
| 16449 |
| 16450 final CSSStyleSheet styleSheet; |
| 16451 } |
| 16452 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16453 // for details. All rights reserved. Use of this source code is governed by a |
| 16454 // BSD-style license that can be found in the LICENSE file. |
| 16455 |
| 16456 // WARNING: Do not edit - generated code. |
| 16457 |
| 16458 interface CSSKeyframeRule extends CSSRule { |
| 16459 |
| 16460 String keyText; |
| 16461 |
| 16462 final CSSStyleDeclaration style; |
| 16463 } |
| 16464 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16465 // for details. All rights reserved. Use of this source code is governed by a |
| 16466 // BSD-style license that can be found in the LICENSE file. |
| 16467 |
| 16468 // WARNING: Do not edit - generated code. |
| 16469 |
| 16470 interface CSSKeyframesRule extends CSSRule { |
| 16471 |
| 16472 final CSSRuleList cssRules; |
| 16473 |
| 16474 String name; |
| 16475 |
| 16476 void deleteRule(String key); |
| 16477 |
| 16478 CSSKeyframeRule findRule(String key); |
| 16479 |
| 16480 void insertRule(String rule); |
| 16481 } |
| 16482 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16483 // for details. All rights reserved. Use of this source code is governed by a |
| 16484 // BSD-style license that can be found in the LICENSE file. |
| 16485 |
| 16486 // WARNING: Do not edit - generated code. |
| 16487 |
| 16488 interface CSSMatrix { |
| 16489 |
| 16490 num a; |
| 16491 |
| 16492 num b; |
| 16493 |
| 16494 num c; |
| 16495 |
| 16496 num d; |
| 16497 |
| 16498 num e; |
| 16499 |
| 16500 num f; |
| 16501 |
| 16502 num m11; |
| 16503 |
| 16504 num m12; |
| 16505 |
| 16506 num m13; |
| 16507 |
| 16508 num m14; |
| 16509 |
| 16510 num m21; |
| 16511 |
| 16512 num m22; |
| 16513 |
| 16514 num m23; |
| 16515 |
| 16516 num m24; |
| 16517 |
| 16518 num m31; |
| 16519 |
| 16520 num m32; |
| 16521 |
| 16522 num m33; |
| 16523 |
| 16524 num m34; |
| 16525 |
| 16526 num m41; |
| 16527 |
| 16528 num m42; |
| 16529 |
| 16530 num m43; |
| 16531 |
| 16532 num m44; |
| 16533 |
| 16534 CSSMatrix inverse(); |
| 16535 |
| 16536 CSSMatrix multiply(CSSMatrix secondMatrix); |
| 16537 |
| 16538 CSSMatrix rotate(num rotX, num rotY, num rotZ); |
| 16539 |
| 16540 CSSMatrix rotateAxisAngle(num x, num y, num z, num angle); |
| 16541 |
| 16542 CSSMatrix scale(num scaleX, num scaleY, num scaleZ); |
| 16543 |
| 16544 void setMatrixValue(String string); |
| 16545 |
| 16546 CSSMatrix skewX(num angle); |
| 16547 |
| 16548 CSSMatrix skewY(num angle); |
| 16549 |
| 16550 String toString(); |
| 16551 |
| 16552 CSSMatrix translate(num x, num y, num z); |
| 16553 } |
| 16554 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16555 // for details. All rights reserved. Use of this source code is governed by a |
| 16556 // BSD-style license that can be found in the LICENSE file. |
| 16557 |
| 16558 // WARNING: Do not edit - generated code. |
| 16559 |
| 16560 interface CSSMediaRule extends CSSRule { |
| 16561 |
| 16562 final CSSRuleList cssRules; |
| 16563 |
| 16564 final MediaList media; |
| 16565 |
| 16566 void deleteRule(int index); |
| 16567 |
| 16568 int insertRule(String rule, int index); |
| 16569 } |
| 16570 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16571 // for details. All rights reserved. Use of this source code is governed by a |
| 16572 // BSD-style license that can be found in the LICENSE file. |
| 16573 |
| 16574 // WARNING: Do not edit - generated code. |
| 16575 |
| 16576 interface CSSPageRule extends CSSRule { |
| 16577 |
| 16578 String selectorText; |
| 16579 |
| 16580 final CSSStyleDeclaration style; |
| 16581 } |
| 16582 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16583 // for details. All rights reserved. Use of this source code is governed by a |
| 16584 // BSD-style license that can be found in the LICENSE file. |
| 16585 |
| 16586 // WARNING: Do not edit - generated code. |
| 16587 |
| 16588 interface CSSPrimitiveValue extends CSSValue { |
| 16589 |
| 16590 static final int CSS_ATTR = 22; |
| 16591 |
| 16592 static final int CSS_CM = 6; |
| 16593 |
| 16594 static final int CSS_COUNTER = 23; |
| 16595 |
| 16596 static final int CSS_DEG = 11; |
| 16597 |
| 16598 static final int CSS_DIMENSION = 18; |
| 16599 |
| 16600 static final int CSS_EMS = 3; |
| 16601 |
| 16602 static final int CSS_EXS = 4; |
| 16603 |
| 16604 static final int CSS_GRAD = 13; |
| 16605 |
| 16606 static final int CSS_HZ = 16; |
| 16607 |
| 16608 static final int CSS_IDENT = 21; |
| 16609 |
| 16610 static final int CSS_IN = 8; |
| 16611 |
| 16612 static final int CSS_KHZ = 17; |
| 16613 |
| 16614 static final int CSS_MM = 7; |
| 16615 |
| 16616 static final int CSS_MS = 14; |
| 16617 |
| 16618 static final int CSS_NUMBER = 1; |
| 16619 |
| 16620 static final int CSS_PC = 10; |
| 16621 |
| 16622 static final int CSS_PERCENTAGE = 2; |
| 16623 |
| 16624 static final int CSS_PT = 9; |
| 16625 |
| 16626 static final int CSS_PX = 5; |
| 16627 |
| 16628 static final int CSS_RAD = 12; |
| 16629 |
| 16630 static final int CSS_RECT = 24; |
| 16631 |
| 16632 static final int CSS_RGBCOLOR = 25; |
| 16633 |
| 16634 static final int CSS_S = 15; |
| 16635 |
| 16636 static final int CSS_STRING = 19; |
| 16637 |
| 16638 static final int CSS_UNKNOWN = 0; |
| 16639 |
| 16640 static final int CSS_URI = 20; |
| 16641 |
| 16642 final int primitiveType; |
| 16643 |
| 16644 Counter getCounterValue(); |
| 16645 |
| 16646 num getFloatValue(int unitType); |
| 16647 |
| 16648 RGBColor getRGBColorValue(); |
| 16649 |
| 16650 Rect getRectValue(); |
| 16651 |
| 16652 String getStringValue(); |
| 16653 |
| 16654 void setFloatValue(int unitType, num floatValue); |
| 16655 |
| 16656 void setStringValue(int stringType, String stringValue); |
| 16657 } |
| 16658 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16659 // for details. All rights reserved. Use of this source code is governed by a |
| 16660 // BSD-style license that can be found in the LICENSE file. |
| 16661 |
| 16662 // WARNING: Do not edit - generated code. |
| 16663 |
| 16664 interface CSSRule { |
| 16665 |
| 16666 static final int CHARSET_RULE = 2; |
| 16667 |
| 16668 static final int FONT_FACE_RULE = 5; |
| 16669 |
| 16670 static final int IMPORT_RULE = 3; |
| 16671 |
| 16672 static final int MEDIA_RULE = 4; |
| 16673 |
| 16674 static final int PAGE_RULE = 6; |
| 16675 |
| 16676 static final int STYLE_RULE = 1; |
| 16677 |
| 16678 static final int UNKNOWN_RULE = 0; |
| 16679 |
| 16680 static final int WEBKIT_KEYFRAMES_RULE = 7; |
| 16681 |
| 16682 static final int WEBKIT_KEYFRAME_RULE = 8; |
| 16683 |
| 16684 static final int WEBKIT_REGION_RULE = 10; |
| 16685 |
| 16686 String cssText; |
| 16687 |
| 16688 final CSSRule parentRule; |
| 16689 |
| 16690 final CSSStyleSheet parentStyleSheet; |
| 16691 |
| 16692 final int type; |
| 16693 } |
| 16694 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16695 // for details. All rights reserved. Use of this source code is governed by a |
| 16696 // BSD-style license that can be found in the LICENSE file. |
| 16697 |
| 16698 // WARNING: Do not edit - generated code. |
| 16699 |
| 16700 interface CSSRuleList { |
| 16701 |
| 16702 final int length; |
| 16703 |
| 16704 CSSRule item(int index); |
| 16705 } |
| 16706 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 16707 // for details. All rights reserved. Use of this source code is governed by a |
| 16708 // BSD-style license that can be found in the LICENSE file. |
| 16709 |
| 16710 // WARNING: Do not edit - generated code. |
| 16711 |
| 16712 interface CSSStyleDeclaration { |
| 16713 CSSStyleDeclaration(); |
| 16714 |
| 16715 CSSStyleDeclaration.css(String css); |
| 16716 |
| 16717 |
| 16718 String cssText; |
| 16719 |
| 16720 final int length; |
| 16721 |
| 16722 final CSSRule parentRule; |
| 16723 |
| 16724 CSSValue getPropertyCSSValue(String propertyName); |
| 16725 |
| 16726 String getPropertyPriority(String propertyName); |
| 16727 |
| 16728 String getPropertyShorthand(String propertyName); |
| 16729 |
| 16730 String getPropertyValue(String propertyName); |
| 16731 |
| 16732 bool isPropertyImplicit(String propertyName); |
| 16733 |
| 16734 String item(int index); |
| 16735 |
| 16736 String removeProperty(String propertyName); |
| 16737 |
| 16738 void setProperty(String propertyName, String value, [String priority]); |
| 16739 |
| 16740 |
| 16741 /** Gets the value of "animation" */ |
| 16742 String get animation(); |
| 16743 |
| 16744 /** Sets the value of "animation" */ |
| 16745 void set animation(var value); |
| 16746 |
| 16747 /** Gets the value of "animation-delay" */ |
| 16748 String get animationDelay(); |
| 16749 |
| 16750 /** Sets the value of "animation-delay" */ |
| 16751 void set animationDelay(var value); |
| 16752 |
| 16753 /** Gets the value of "animation-direction" */ |
| 16754 String get animationDirection(); |
| 16755 |
| 16756 /** Sets the value of "animation-direction" */ |
| 16757 void set animationDirection(var value); |
| 16758 |
| 16759 /** Gets the value of "animation-duration" */ |
| 16760 String get animationDuration(); |
| 16761 |
| 16762 /** Sets the value of "animation-duration" */ |
| 16763 void set animationDuration(var value); |
| 16764 |
| 16765 /** Gets the value of "animation-fill-mode" */ |
| 16766 String get animationFillMode(); |
| 16767 |
| 16768 /** Sets the value of "animation-fill-mode" */ |
| 16769 void set animationFillMode(var value); |
| 16770 |
| 16771 /** Gets the value of "animation-iteration-count" */ |
| 16772 String get animationIterationCount(); |
| 16773 |
| 16774 /** Sets the value of "animation-iteration-count" */ |
| 16775 void set animationIterationCount(var value); |
| 16776 |
| 16777 /** Gets the value of "animation-name" */ |
| 16778 String get animationName(); |
| 16779 |
| 16780 /** Sets the value of "animation-name" */ |
| 16781 void set animationName(var value); |
| 16782 |
| 16783 /** Gets the value of "animation-play-state" */ |
| 16784 String get animationPlayState(); |
| 16785 |
| 16786 /** Sets the value of "animation-play-state" */ |
| 16787 void set animationPlayState(var value); |
| 16788 |
| 16789 /** Gets the value of "animation-timing-function" */ |
| 16790 String get animationTimingFunction(); |
| 16791 |
| 16792 /** Sets the value of "animation-timing-function" */ |
| 16793 void set animationTimingFunction(var value); |
| 16794 |
| 16795 /** Gets the value of "appearance" */ |
| 16796 String get appearance(); |
| 16797 |
| 16798 /** Sets the value of "appearance" */ |
| 16799 void set appearance(var value); |
| 16800 |
| 16801 /** Gets the value of "backface-visibility" */ |
| 16802 String get backfaceVisibility(); |
| 16803 |
| 16804 /** Sets the value of "backface-visibility" */ |
| 16805 void set backfaceVisibility(var value); |
| 16806 |
| 16807 /** Gets the value of "background" */ |
| 16808 String get background(); |
| 16809 |
| 16810 /** Sets the value of "background" */ |
| 16811 void set background(var value); |
| 16812 |
| 16813 /** Gets the value of "background-attachment" */ |
| 16814 String get backgroundAttachment(); |
| 16815 |
| 16816 /** Sets the value of "background-attachment" */ |
| 16817 void set backgroundAttachment(var value); |
| 16818 |
| 16819 /** Gets the value of "background-clip" */ |
| 16820 String get backgroundClip(); |
| 16821 |
| 16822 /** Sets the value of "background-clip" */ |
| 16823 void set backgroundClip(var value); |
| 16824 |
| 16825 /** Gets the value of "background-color" */ |
| 16826 String get backgroundColor(); |
| 16827 |
| 16828 /** Sets the value of "background-color" */ |
| 16829 void set backgroundColor(var value); |
| 16830 |
| 16831 /** Gets the value of "background-composite" */ |
| 16832 String get backgroundComposite(); |
| 16833 |
| 16834 /** Sets the value of "background-composite" */ |
| 16835 void set backgroundComposite(var value); |
| 16836 |
| 16837 /** Gets the value of "background-image" */ |
| 16838 String get backgroundImage(); |
| 16839 |
| 16840 /** Sets the value of "background-image" */ |
| 16841 void set backgroundImage(var value); |
| 16842 |
| 16843 /** Gets the value of "background-origin" */ |
| 16844 String get backgroundOrigin(); |
| 16845 |
| 16846 /** Sets the value of "background-origin" */ |
| 16847 void set backgroundOrigin(var value); |
| 16848 |
| 16849 /** Gets the value of "background-position" */ |
| 16850 String get backgroundPosition(); |
| 16851 |
| 16852 /** Sets the value of "background-position" */ |
| 16853 void set backgroundPosition(var value); |
| 16854 |
| 16855 /** Gets the value of "background-position-x" */ |
| 16856 String get backgroundPositionX(); |
| 16857 |
| 16858 /** Sets the value of "background-position-x" */ |
| 16859 void set backgroundPositionX(var value); |
| 16860 |
| 16861 /** Gets the value of "background-position-y" */ |
| 16862 String get backgroundPositionY(); |
| 16863 |
| 16864 /** Sets the value of "background-position-y" */ |
| 16865 void set backgroundPositionY(var value); |
| 16866 |
| 16867 /** Gets the value of "background-repeat" */ |
| 16868 String get backgroundRepeat(); |
| 16869 |
| 16870 /** Sets the value of "background-repeat" */ |
| 16871 void set backgroundRepeat(var value); |
| 16872 |
| 16873 /** Gets the value of "background-repeat-x" */ |
| 16874 String get backgroundRepeatX(); |
| 16875 |
| 16876 /** Sets the value of "background-repeat-x" */ |
| 16877 void set backgroundRepeatX(var value); |
| 16878 |
| 16879 /** Gets the value of "background-repeat-y" */ |
| 16880 String get backgroundRepeatY(); |
| 16881 |
| 16882 /** Sets the value of "background-repeat-y" */ |
| 16883 void set backgroundRepeatY(var value); |
| 16884 |
| 16885 /** Gets the value of "background-size" */ |
| 16886 String get backgroundSize(); |
| 16887 |
| 16888 /** Sets the value of "background-size" */ |
| 16889 void set backgroundSize(var value); |
| 16890 |
| 16891 /** Gets the value of "border" */ |
| 16892 String get border(); |
| 16893 |
| 16894 /** Sets the value of "border" */ |
| 16895 void set border(var value); |
| 16896 |
| 16897 /** Gets the value of "border-after" */ |
| 16898 String get borderAfter(); |
| 16899 |
| 16900 /** Sets the value of "border-after" */ |
| 16901 void set borderAfter(var value); |
| 16902 |
| 16903 /** Gets the value of "border-after-color" */ |
| 16904 String get borderAfterColor(); |
| 16905 |
| 16906 /** Sets the value of "border-after-color" */ |
| 16907 void set borderAfterColor(var value); |
| 16908 |
| 16909 /** Gets the value of "border-after-style" */ |
| 16910 String get borderAfterStyle(); |
| 16911 |
| 16912 /** Sets the value of "border-after-style" */ |
| 16913 void set borderAfterStyle(var value); |
| 16914 |
| 16915 /** Gets the value of "border-after-width" */ |
| 16916 String get borderAfterWidth(); |
| 16917 |
| 16918 /** Sets the value of "border-after-width" */ |
| 16919 void set borderAfterWidth(var value); |
| 16920 |
| 16921 /** Gets the value of "border-before" */ |
| 16922 String get borderBefore(); |
| 16923 |
| 16924 /** Sets the value of "border-before" */ |
| 16925 void set borderBefore(var value); |
| 16926 |
| 16927 /** Gets the value of "border-before-color" */ |
| 16928 String get borderBeforeColor(); |
| 16929 |
| 16930 /** Sets the value of "border-before-color" */ |
| 16931 void set borderBeforeColor(var value); |
| 16932 |
| 16933 /** Gets the value of "border-before-style" */ |
| 16934 String get borderBeforeStyle(); |
| 16935 |
| 16936 /** Sets the value of "border-before-style" */ |
| 16937 void set borderBeforeStyle(var value); |
| 16938 |
| 16939 /** Gets the value of "border-before-width" */ |
| 16940 String get borderBeforeWidth(); |
| 16941 |
| 16942 /** Sets the value of "border-before-width" */ |
| 16943 void set borderBeforeWidth(var value); |
| 16944 |
| 16945 /** Gets the value of "border-bottom" */ |
| 16946 String get borderBottom(); |
| 16947 |
| 16948 /** Sets the value of "border-bottom" */ |
| 16949 void set borderBottom(var value); |
| 16950 |
| 16951 /** Gets the value of "border-bottom-color" */ |
| 16952 String get borderBottomColor(); |
| 16953 |
| 16954 /** Sets the value of "border-bottom-color" */ |
| 16955 void set borderBottomColor(var value); |
| 16956 |
| 16957 /** Gets the value of "border-bottom-left-radius" */ |
| 16958 String get borderBottomLeftRadius(); |
| 16959 |
| 16960 /** Sets the value of "border-bottom-left-radius" */ |
| 16961 void set borderBottomLeftRadius(var value); |
| 16962 |
| 16963 /** Gets the value of "border-bottom-right-radius" */ |
| 16964 String get borderBottomRightRadius(); |
| 16965 |
| 16966 /** Sets the value of "border-bottom-right-radius" */ |
| 16967 void set borderBottomRightRadius(var value); |
| 16968 |
| 16969 /** Gets the value of "border-bottom-style" */ |
| 16970 String get borderBottomStyle(); |
| 16971 |
| 16972 /** Sets the value of "border-bottom-style" */ |
| 16973 void set borderBottomStyle(var value); |
| 16974 |
| 16975 /** Gets the value of "border-bottom-width" */ |
| 16976 String get borderBottomWidth(); |
| 16977 |
| 16978 /** Sets the value of "border-bottom-width" */ |
| 16979 void set borderBottomWidth(var value); |
| 16980 |
| 16981 /** Gets the value of "border-collapse" */ |
| 16982 String get borderCollapse(); |
| 16983 |
| 16984 /** Sets the value of "border-collapse" */ |
| 16985 void set borderCollapse(var value); |
| 16986 |
| 16987 /** Gets the value of "border-color" */ |
| 16988 String get borderColor(); |
| 16989 |
| 16990 /** Sets the value of "border-color" */ |
| 16991 void set borderColor(var value); |
| 16992 |
| 16993 /** Gets the value of "border-end" */ |
| 16994 String get borderEnd(); |
| 16995 |
| 16996 /** Sets the value of "border-end" */ |
| 16997 void set borderEnd(var value); |
| 16998 |
| 16999 /** Gets the value of "border-end-color" */ |
| 17000 String get borderEndColor(); |
| 17001 |
| 17002 /** Sets the value of "border-end-color" */ |
| 17003 void set borderEndColor(var value); |
| 17004 |
| 17005 /** Gets the value of "border-end-style" */ |
| 17006 String get borderEndStyle(); |
| 17007 |
| 17008 /** Sets the value of "border-end-style" */ |
| 17009 void set borderEndStyle(var value); |
| 17010 |
| 17011 /** Gets the value of "border-end-width" */ |
| 17012 String get borderEndWidth(); |
| 17013 |
| 17014 /** Sets the value of "border-end-width" */ |
| 17015 void set borderEndWidth(var value); |
| 17016 |
| 17017 /** Gets the value of "border-fit" */ |
| 17018 String get borderFit(); |
| 17019 |
| 17020 /** Sets the value of "border-fit" */ |
| 17021 void set borderFit(var value); |
| 17022 |
| 17023 /** Gets the value of "border-horizontal-spacing" */ |
| 17024 String get borderHorizontalSpacing(); |
| 17025 |
| 17026 /** Sets the value of "border-horizontal-spacing" */ |
| 17027 void set borderHorizontalSpacing(var value); |
| 17028 |
| 17029 /** Gets the value of "border-image" */ |
| 17030 String get borderImage(); |
| 17031 |
| 17032 /** Sets the value of "border-image" */ |
| 17033 void set borderImage(var value); |
| 17034 |
| 17035 /** Gets the value of "border-image-outset" */ |
| 17036 String get borderImageOutset(); |
| 17037 |
| 17038 /** Sets the value of "border-image-outset" */ |
| 17039 void set borderImageOutset(var value); |
| 17040 |
| 17041 /** Gets the value of "border-image-repeat" */ |
| 17042 String get borderImageRepeat(); |
| 17043 |
| 17044 /** Sets the value of "border-image-repeat" */ |
| 17045 void set borderImageRepeat(var value); |
| 17046 |
| 17047 /** Gets the value of "border-image-slice" */ |
| 17048 String get borderImageSlice(); |
| 17049 |
| 17050 /** Sets the value of "border-image-slice" */ |
| 17051 void set borderImageSlice(var value); |
| 17052 |
| 17053 /** Gets the value of "border-image-source" */ |
| 17054 String get borderImageSource(); |
| 17055 |
| 17056 /** Sets the value of "border-image-source" */ |
| 17057 void set borderImageSource(var value); |
| 17058 |
| 17059 /** Gets the value of "border-image-width" */ |
| 17060 String get borderImageWidth(); |
| 17061 |
| 17062 /** Sets the value of "border-image-width" */ |
| 17063 void set borderImageWidth(var value); |
| 17064 |
| 17065 /** Gets the value of "border-left" */ |
| 17066 String get borderLeft(); |
| 17067 |
| 17068 /** Sets the value of "border-left" */ |
| 17069 void set borderLeft(var value); |
| 17070 |
| 17071 /** Gets the value of "border-left-color" */ |
| 17072 String get borderLeftColor(); |
| 17073 |
| 17074 /** Sets the value of "border-left-color" */ |
| 17075 void set borderLeftColor(var value); |
| 17076 |
| 17077 /** Gets the value of "border-left-style" */ |
| 17078 String get borderLeftStyle(); |
| 17079 |
| 17080 /** Sets the value of "border-left-style" */ |
| 17081 void set borderLeftStyle(var value); |
| 17082 |
| 17083 /** Gets the value of "border-left-width" */ |
| 17084 String get borderLeftWidth(); |
| 17085 |
| 17086 /** Sets the value of "border-left-width" */ |
| 17087 void set borderLeftWidth(var value); |
| 17088 |
| 17089 /** Gets the value of "border-radius" */ |
| 17090 String get borderRadius(); |
| 17091 |
| 17092 /** Sets the value of "border-radius" */ |
| 17093 void set borderRadius(var value); |
| 17094 |
| 17095 /** Gets the value of "border-right" */ |
| 17096 String get borderRight(); |
| 17097 |
| 17098 /** Sets the value of "border-right" */ |
| 17099 void set borderRight(var value); |
| 17100 |
| 17101 /** Gets the value of "border-right-color" */ |
| 17102 String get borderRightColor(); |
| 17103 |
| 17104 /** Sets the value of "border-right-color" */ |
| 17105 void set borderRightColor(var value); |
| 17106 |
| 17107 /** Gets the value of "border-right-style" */ |
| 17108 String get borderRightStyle(); |
| 17109 |
| 17110 /** Sets the value of "border-right-style" */ |
| 17111 void set borderRightStyle(var value); |
| 17112 |
| 17113 /** Gets the value of "border-right-width" */ |
| 17114 String get borderRightWidth(); |
| 17115 |
| 17116 /** Sets the value of "border-right-width" */ |
| 17117 void set borderRightWidth(var value); |
| 17118 |
| 17119 /** Gets the value of "border-spacing" */ |
| 17120 String get borderSpacing(); |
| 17121 |
| 17122 /** Sets the value of "border-spacing" */ |
| 17123 void set borderSpacing(var value); |
| 17124 |
| 17125 /** Gets the value of "border-start" */ |
| 17126 String get borderStart(); |
| 17127 |
| 17128 /** Sets the value of "border-start" */ |
| 17129 void set borderStart(var value); |
| 17130 |
| 17131 /** Gets the value of "border-start-color" */ |
| 17132 String get borderStartColor(); |
| 17133 |
| 17134 /** Sets the value of "border-start-color" */ |
| 17135 void set borderStartColor(var value); |
| 17136 |
| 17137 /** Gets the value of "border-start-style" */ |
| 17138 String get borderStartStyle(); |
| 17139 |
| 17140 /** Sets the value of "border-start-style" */ |
| 17141 void set borderStartStyle(var value); |
| 17142 |
| 17143 /** Gets the value of "border-start-width" */ |
| 17144 String get borderStartWidth(); |
| 17145 |
| 17146 /** Sets the value of "border-start-width" */ |
| 17147 void set borderStartWidth(var value); |
| 17148 |
| 17149 /** Gets the value of "border-style" */ |
| 17150 String get borderStyle(); |
| 17151 |
| 17152 /** Sets the value of "border-style" */ |
| 17153 void set borderStyle(var value); |
| 17154 |
| 17155 /** Gets the value of "border-top" */ |
| 17156 String get borderTop(); |
| 17157 |
| 17158 /** Sets the value of "border-top" */ |
| 17159 void set borderTop(var value); |
| 17160 |
| 17161 /** Gets the value of "border-top-color" */ |
| 17162 String get borderTopColor(); |
| 17163 |
| 17164 /** Sets the value of "border-top-color" */ |
| 17165 void set borderTopColor(var value); |
| 17166 |
| 17167 /** Gets the value of "border-top-left-radius" */ |
| 17168 String get borderTopLeftRadius(); |
| 17169 |
| 17170 /** Sets the value of "border-top-left-radius" */ |
| 17171 void set borderTopLeftRadius(var value); |
| 17172 |
| 17173 /** Gets the value of "border-top-right-radius" */ |
| 17174 String get borderTopRightRadius(); |
| 17175 |
| 17176 /** Sets the value of "border-top-right-radius" */ |
| 17177 void set borderTopRightRadius(var value); |
| 17178 |
| 17179 /** Gets the value of "border-top-style" */ |
| 17180 String get borderTopStyle(); |
| 17181 |
| 17182 /** Sets the value of "border-top-style" */ |
| 17183 void set borderTopStyle(var value); |
| 17184 |
| 17185 /** Gets the value of "border-top-width" */ |
| 17186 String get borderTopWidth(); |
| 17187 |
| 17188 /** Sets the value of "border-top-width" */ |
| 17189 void set borderTopWidth(var value); |
| 17190 |
| 17191 /** Gets the value of "border-vertical-spacing" */ |
| 17192 String get borderVerticalSpacing(); |
| 17193 |
| 17194 /** Sets the value of "border-vertical-spacing" */ |
| 17195 void set borderVerticalSpacing(var value); |
| 17196 |
| 17197 /** Gets the value of "border-width" */ |
| 17198 String get borderWidth(); |
| 17199 |
| 17200 /** Sets the value of "border-width" */ |
| 17201 void set borderWidth(var value); |
| 17202 |
| 17203 /** Gets the value of "bottom" */ |
| 17204 String get bottom(); |
| 17205 |
| 17206 /** Sets the value of "bottom" */ |
| 17207 void set bottom(var value); |
| 17208 |
| 17209 /** Gets the value of "box-align" */ |
| 17210 String get boxAlign(); |
| 17211 |
| 17212 /** Sets the value of "box-align" */ |
| 17213 void set boxAlign(var value); |
| 17214 |
| 17215 /** Gets the value of "box-direction" */ |
| 17216 String get boxDirection(); |
| 17217 |
| 17218 /** Sets the value of "box-direction" */ |
| 17219 void set boxDirection(var value); |
| 17220 |
| 17221 /** Gets the value of "box-flex" */ |
| 17222 String get boxFlex(); |
| 17223 |
| 17224 /** Sets the value of "box-flex" */ |
| 17225 void set boxFlex(var value); |
| 17226 |
| 17227 /** Gets the value of "box-flex-group" */ |
| 17228 String get boxFlexGroup(); |
| 17229 |
| 17230 /** Sets the value of "box-flex-group" */ |
| 17231 void set boxFlexGroup(var value); |
| 17232 |
| 17233 /** Gets the value of "box-lines" */ |
| 17234 String get boxLines(); |
| 17235 |
| 17236 /** Sets the value of "box-lines" */ |
| 17237 void set boxLines(var value); |
| 17238 |
| 17239 /** Gets the value of "box-ordinal-group" */ |
| 17240 String get boxOrdinalGroup(); |
| 17241 |
| 17242 /** Sets the value of "box-ordinal-group" */ |
| 17243 void set boxOrdinalGroup(var value); |
| 17244 |
| 17245 /** Gets the value of "box-orient" */ |
| 17246 String get boxOrient(); |
| 17247 |
| 17248 /** Sets the value of "box-orient" */ |
| 17249 void set boxOrient(var value); |
| 17250 |
| 17251 /** Gets the value of "box-pack" */ |
| 17252 String get boxPack(); |
| 17253 |
| 17254 /** Sets the value of "box-pack" */ |
| 17255 void set boxPack(var value); |
| 17256 |
| 17257 /** Gets the value of "box-reflect" */ |
| 17258 String get boxReflect(); |
| 17259 |
| 17260 /** Sets the value of "box-reflect" */ |
| 17261 void set boxReflect(var value); |
| 17262 |
| 17263 /** Gets the value of "box-shadow" */ |
| 17264 String get boxShadow(); |
| 17265 |
| 17266 /** Sets the value of "box-shadow" */ |
| 17267 void set boxShadow(var value); |
| 17268 |
| 17269 /** Gets the value of "box-sizing" */ |
| 17270 String get boxSizing(); |
| 17271 |
| 17272 /** Sets the value of "box-sizing" */ |
| 17273 void set boxSizing(var value); |
| 17274 |
| 17275 /** Gets the value of "caption-side" */ |
| 17276 String get captionSide(); |
| 17277 |
| 17278 /** Sets the value of "caption-side" */ |
| 17279 void set captionSide(var value); |
| 17280 |
| 17281 /** Gets the value of "clear" */ |
| 17282 String get clear(); |
| 17283 |
| 17284 /** Sets the value of "clear" */ |
| 17285 void set clear(var value); |
| 17286 |
| 17287 /** Gets the value of "clip" */ |
| 17288 String get clip(); |
| 17289 |
| 17290 /** Sets the value of "clip" */ |
| 17291 void set clip(var value); |
| 17292 |
| 17293 /** Gets the value of "color" */ |
| 17294 String get color(); |
| 17295 |
| 17296 /** Sets the value of "color" */ |
| 17297 void set color(var value); |
| 17298 |
| 17299 /** Gets the value of "color-correction" */ |
| 17300 String get colorCorrection(); |
| 17301 |
| 17302 /** Sets the value of "color-correction" */ |
| 17303 void set colorCorrection(var value); |
| 17304 |
| 17305 /** Gets the value of "column-break-after" */ |
| 17306 String get columnBreakAfter(); |
| 17307 |
| 17308 /** Sets the value of "column-break-after" */ |
| 17309 void set columnBreakAfter(var value); |
| 17310 |
| 17311 /** Gets the value of "column-break-before" */ |
| 17312 String get columnBreakBefore(); |
| 17313 |
| 17314 /** Sets the value of "column-break-before" */ |
| 17315 void set columnBreakBefore(var value); |
| 17316 |
| 17317 /** Gets the value of "column-break-inside" */ |
| 17318 String get columnBreakInside(); |
| 17319 |
| 17320 /** Sets the value of "column-break-inside" */ |
| 17321 void set columnBreakInside(var value); |
| 17322 |
| 17323 /** Gets the value of "column-count" */ |
| 17324 String get columnCount(); |
| 17325 |
| 17326 /** Sets the value of "column-count" */ |
| 17327 void set columnCount(var value); |
| 17328 |
| 17329 /** Gets the value of "column-gap" */ |
| 17330 String get columnGap(); |
| 17331 |
| 17332 /** Sets the value of "column-gap" */ |
| 17333 void set columnGap(var value); |
| 17334 |
| 17335 /** Gets the value of "column-rule" */ |
| 17336 String get columnRule(); |
| 17337 |
| 17338 /** Sets the value of "column-rule" */ |
| 17339 void set columnRule(var value); |
| 17340 |
| 17341 /** Gets the value of "column-rule-color" */ |
| 17342 String get columnRuleColor(); |
| 17343 |
| 17344 /** Sets the value of "column-rule-color" */ |
| 17345 void set columnRuleColor(var value); |
| 17346 |
| 17347 /** Gets the value of "column-rule-style" */ |
| 17348 String get columnRuleStyle(); |
| 17349 |
| 17350 /** Sets the value of "column-rule-style" */ |
| 17351 void set columnRuleStyle(var value); |
| 17352 |
| 17353 /** Gets the value of "column-rule-width" */ |
| 17354 String get columnRuleWidth(); |
| 17355 |
| 17356 /** Sets the value of "column-rule-width" */ |
| 17357 void set columnRuleWidth(var value); |
| 17358 |
| 17359 /** Gets the value of "column-span" */ |
| 17360 String get columnSpan(); |
| 17361 |
| 17362 /** Sets the value of "column-span" */ |
| 17363 void set columnSpan(var value); |
| 17364 |
| 17365 /** Gets the value of "column-width" */ |
| 17366 String get columnWidth(); |
| 17367 |
| 17368 /** Sets the value of "column-width" */ |
| 17369 void set columnWidth(var value); |
| 17370 |
| 17371 /** Gets the value of "columns" */ |
| 17372 String get columns(); |
| 17373 |
| 17374 /** Sets the value of "columns" */ |
| 17375 void set columns(var value); |
| 17376 |
| 17377 /** Gets the value of "content" */ |
| 17378 String get content(); |
| 17379 |
| 17380 /** Sets the value of "content" */ |
| 17381 void set content(var value); |
| 17382 |
| 17383 /** Gets the value of "counter-increment" */ |
| 17384 String get counterIncrement(); |
| 17385 |
| 17386 /** Sets the value of "counter-increment" */ |
| 17387 void set counterIncrement(var value); |
| 17388 |
| 17389 /** Gets the value of "counter-reset" */ |
| 17390 String get counterReset(); |
| 17391 |
| 17392 /** Sets the value of "counter-reset" */ |
| 17393 void set counterReset(var value); |
| 17394 |
| 17395 /** Gets the value of "cursor" */ |
| 17396 String get cursor(); |
| 17397 |
| 17398 /** Sets the value of "cursor" */ |
| 17399 void set cursor(var value); |
| 17400 |
| 17401 /** Gets the value of "direction" */ |
| 17402 String get direction(); |
| 17403 |
| 17404 /** Sets the value of "direction" */ |
| 17405 void set direction(var value); |
| 17406 |
| 17407 /** Gets the value of "display" */ |
| 17408 String get display(); |
| 17409 |
| 17410 /** Sets the value of "display" */ |
| 17411 void set display(var value); |
| 17412 |
| 17413 /** Gets the value of "empty-cells" */ |
| 17414 String get emptyCells(); |
| 17415 |
| 17416 /** Sets the value of "empty-cells" */ |
| 17417 void set emptyCells(var value); |
| 17418 |
| 17419 /** Gets the value of "filter" */ |
| 17420 String get filter(); |
| 17421 |
| 17422 /** Sets the value of "filter" */ |
| 17423 void set filter(var value); |
| 17424 |
| 17425 /** Gets the value of "flex-align" */ |
| 17426 String get flexAlign(); |
| 17427 |
| 17428 /** Sets the value of "flex-align" */ |
| 17429 void set flexAlign(var value); |
| 17430 |
| 17431 /** Gets the value of "flex-flow" */ |
| 17432 String get flexFlow(); |
| 17433 |
| 17434 /** Sets the value of "flex-flow" */ |
| 17435 void set flexFlow(var value); |
| 17436 |
| 17437 /** Gets the value of "flex-order" */ |
| 17438 String get flexOrder(); |
| 17439 |
| 17440 /** Sets the value of "flex-order" */ |
| 17441 void set flexOrder(var value); |
| 17442 |
| 17443 /** Gets the value of "flex-pack" */ |
| 17444 String get flexPack(); |
| 17445 |
| 17446 /** Sets the value of "flex-pack" */ |
| 17447 void set flexPack(var value); |
| 17448 |
| 17449 /** Gets the value of "float" */ |
| 17450 String get float(); |
| 17451 |
| 17452 /** Sets the value of "float" */ |
| 17453 void set float(var value); |
| 17454 |
| 17455 /** Gets the value of "flow-from" */ |
| 17456 String get flowFrom(); |
| 17457 |
| 17458 /** Sets the value of "flow-from" */ |
| 17459 void set flowFrom(var value); |
| 17460 |
| 17461 /** Gets the value of "flow-into" */ |
| 17462 String get flowInto(); |
| 17463 |
| 17464 /** Sets the value of "flow-into" */ |
| 17465 void set flowInto(var value); |
| 17466 |
| 17467 /** Gets the value of "font" */ |
| 17468 String get font(); |
| 17469 |
| 17470 /** Sets the value of "font" */ |
| 17471 void set font(var value); |
| 17472 |
| 17473 /** Gets the value of "font-family" */ |
| 17474 String get fontFamily(); |
| 17475 |
| 17476 /** Sets the value of "font-family" */ |
| 17477 void set fontFamily(var value); |
| 17478 |
| 17479 /** Gets the value of "font-feature-settings" */ |
| 17480 String get fontFeatureSettings(); |
| 17481 |
| 17482 /** Sets the value of "font-feature-settings" */ |
| 17483 void set fontFeatureSettings(var value); |
| 17484 |
| 17485 /** Gets the value of "font-size" */ |
| 17486 String get fontSize(); |
| 17487 |
| 17488 /** Sets the value of "font-size" */ |
| 17489 void set fontSize(var value); |
| 17490 |
| 17491 /** Gets the value of "font-size-delta" */ |
| 17492 String get fontSizeDelta(); |
| 17493 |
| 17494 /** Sets the value of "font-size-delta" */ |
| 17495 void set fontSizeDelta(var value); |
| 17496 |
| 17497 /** Gets the value of "font-smoothing" */ |
| 17498 String get fontSmoothing(); |
| 17499 |
| 17500 /** Sets the value of "font-smoothing" */ |
| 17501 void set fontSmoothing(var value); |
| 17502 |
| 17503 /** Gets the value of "font-stretch" */ |
| 17504 String get fontStretch(); |
| 17505 |
| 17506 /** Sets the value of "font-stretch" */ |
| 17507 void set fontStretch(var value); |
| 17508 |
| 17509 /** Gets the value of "font-style" */ |
| 17510 String get fontStyle(); |
| 17511 |
| 17512 /** Sets the value of "font-style" */ |
| 17513 void set fontStyle(var value); |
| 17514 |
| 17515 /** Gets the value of "font-variant" */ |
| 17516 String get fontVariant(); |
| 17517 |
| 17518 /** Sets the value of "font-variant" */ |
| 17519 void set fontVariant(var value); |
| 17520 |
| 17521 /** Gets the value of "font-weight" */ |
| 17522 String get fontWeight(); |
| 17523 |
| 17524 /** Sets the value of "font-weight" */ |
| 17525 void set fontWeight(var value); |
| 17526 |
| 17527 /** Gets the value of "height" */ |
| 17528 String get height(); |
| 17529 |
| 17530 /** Sets the value of "height" */ |
| 17531 void set height(var value); |
| 17532 |
| 17533 /** Gets the value of "highlight" */ |
| 17534 String get highlight(); |
| 17535 |
| 17536 /** Sets the value of "highlight" */ |
| 17537 void set highlight(var value); |
| 17538 |
| 17539 /** Gets the value of "hyphenate-character" */ |
| 17540 String get hyphenateCharacter(); |
| 17541 |
| 17542 /** Sets the value of "hyphenate-character" */ |
| 17543 void set hyphenateCharacter(var value); |
| 17544 |
| 17545 /** Gets the value of "hyphenate-limit-after" */ |
| 17546 String get hyphenateLimitAfter(); |
| 17547 |
| 17548 /** Sets the value of "hyphenate-limit-after" */ |
| 17549 void set hyphenateLimitAfter(var value); |
| 17550 |
| 17551 /** Gets the value of "hyphenate-limit-before" */ |
| 17552 String get hyphenateLimitBefore(); |
| 17553 |
| 17554 /** Sets the value of "hyphenate-limit-before" */ |
| 17555 void set hyphenateLimitBefore(var value); |
| 17556 |
| 17557 /** Gets the value of "hyphenate-limit-lines" */ |
| 17558 String get hyphenateLimitLines(); |
| 17559 |
| 17560 /** Sets the value of "hyphenate-limit-lines" */ |
| 17561 void set hyphenateLimitLines(var value); |
| 17562 |
| 17563 /** Gets the value of "hyphens" */ |
| 17564 String get hyphens(); |
| 17565 |
| 17566 /** Sets the value of "hyphens" */ |
| 17567 void set hyphens(var value); |
| 17568 |
| 17569 /** Gets the value of "image-rendering" */ |
| 17570 String get imageRendering(); |
| 17571 |
| 17572 /** Sets the value of "image-rendering" */ |
| 17573 void set imageRendering(var value); |
| 17574 |
| 17575 /** Gets the value of "left" */ |
| 17576 String get left(); |
| 17577 |
| 17578 /** Sets the value of "left" */ |
| 17579 void set left(var value); |
| 17580 |
| 17581 /** Gets the value of "letter-spacing" */ |
| 17582 String get letterSpacing(); |
| 17583 |
| 17584 /** Sets the value of "letter-spacing" */ |
| 17585 void set letterSpacing(var value); |
| 17586 |
| 17587 /** Gets the value of "line-box-contain" */ |
| 17588 String get lineBoxContain(); |
| 17589 |
| 17590 /** Sets the value of "line-box-contain" */ |
| 17591 void set lineBoxContain(var value); |
| 17592 |
| 17593 /** Gets the value of "line-break" */ |
| 17594 String get lineBreak(); |
| 17595 |
| 17596 /** Sets the value of "line-break" */ |
| 17597 void set lineBreak(var value); |
| 17598 |
| 17599 /** Gets the value of "line-clamp" */ |
| 17600 String get lineClamp(); |
| 17601 |
| 17602 /** Sets the value of "line-clamp" */ |
| 17603 void set lineClamp(var value); |
| 17604 |
| 17605 /** Gets the value of "line-height" */ |
| 17606 String get lineHeight(); |
| 17607 |
| 17608 /** Sets the value of "line-height" */ |
| 17609 void set lineHeight(var value); |
| 17610 |
| 17611 /** Gets the value of "list-style" */ |
| 17612 String get listStyle(); |
| 17613 |
| 17614 /** Sets the value of "list-style" */ |
| 17615 void set listStyle(var value); |
| 17616 |
| 17617 /** Gets the value of "list-style-image" */ |
| 17618 String get listStyleImage(); |
| 17619 |
| 17620 /** Sets the value of "list-style-image" */ |
| 17621 void set listStyleImage(var value); |
| 17622 |
| 17623 /** Gets the value of "list-style-position" */ |
| 17624 String get listStylePosition(); |
| 17625 |
| 17626 /** Sets the value of "list-style-position" */ |
| 17627 void set listStylePosition(var value); |
| 17628 |
| 17629 /** Gets the value of "list-style-type" */ |
| 17630 String get listStyleType(); |
| 17631 |
| 17632 /** Sets the value of "list-style-type" */ |
| 17633 void set listStyleType(var value); |
| 17634 |
| 17635 /** Gets the value of "locale" */ |
| 17636 String get locale(); |
| 17637 |
| 17638 /** Sets the value of "locale" */ |
| 17639 void set locale(var value); |
| 17640 |
| 17641 /** Gets the value of "logical-height" */ |
| 17642 String get logicalHeight(); |
| 17643 |
| 17644 /** Sets the value of "logical-height" */ |
| 17645 void set logicalHeight(var value); |
| 17646 |
| 17647 /** Gets the value of "logical-width" */ |
| 17648 String get logicalWidth(); |
| 17649 |
| 17650 /** Sets the value of "logical-width" */ |
| 17651 void set logicalWidth(var value); |
| 17652 |
| 17653 /** Gets the value of "margin" */ |
| 17654 String get margin(); |
| 17655 |
| 17656 /** Sets the value of "margin" */ |
| 17657 void set margin(var value); |
| 17658 |
| 17659 /** Gets the value of "margin-after" */ |
| 17660 String get marginAfter(); |
| 17661 |
| 17662 /** Sets the value of "margin-after" */ |
| 17663 void set marginAfter(var value); |
| 17664 |
| 17665 /** Gets the value of "margin-after-collapse" */ |
| 17666 String get marginAfterCollapse(); |
| 17667 |
| 17668 /** Sets the value of "margin-after-collapse" */ |
| 17669 void set marginAfterCollapse(var value); |
| 17670 |
| 17671 /** Gets the value of "margin-before" */ |
| 17672 String get marginBefore(); |
| 17673 |
| 17674 /** Sets the value of "margin-before" */ |
| 17675 void set marginBefore(var value); |
| 17676 |
| 17677 /** Gets the value of "margin-before-collapse" */ |
| 17678 String get marginBeforeCollapse(); |
| 17679 |
| 17680 /** Sets the value of "margin-before-collapse" */ |
| 17681 void set marginBeforeCollapse(var value); |
| 17682 |
| 17683 /** Gets the value of "margin-bottom" */ |
| 17684 String get marginBottom(); |
| 17685 |
| 17686 /** Sets the value of "margin-bottom" */ |
| 17687 void set marginBottom(var value); |
| 17688 |
| 17689 /** Gets the value of "margin-bottom-collapse" */ |
| 17690 String get marginBottomCollapse(); |
| 17691 |
| 17692 /** Sets the value of "margin-bottom-collapse" */ |
| 17693 void set marginBottomCollapse(var value); |
| 17694 |
| 17695 /** Gets the value of "margin-collapse" */ |
| 17696 String get marginCollapse(); |
| 17697 |
| 17698 /** Sets the value of "margin-collapse" */ |
| 17699 void set marginCollapse(var value); |
| 17700 |
| 17701 /** Gets the value of "margin-end" */ |
| 17702 String get marginEnd(); |
| 17703 |
| 17704 /** Sets the value of "margin-end" */ |
| 17705 void set marginEnd(var value); |
| 17706 |
| 17707 /** Gets the value of "margin-left" */ |
| 17708 String get marginLeft(); |
| 17709 |
| 17710 /** Sets the value of "margin-left" */ |
| 17711 void set marginLeft(var value); |
| 17712 |
| 17713 /** Gets the value of "margin-right" */ |
| 17714 String get marginRight(); |
| 17715 |
| 17716 /** Sets the value of "margin-right" */ |
| 17717 void set marginRight(var value); |
| 17718 |
| 17719 /** Gets the value of "margin-start" */ |
| 17720 String get marginStart(); |
| 17721 |
| 17722 /** Sets the value of "margin-start" */ |
| 17723 void set marginStart(var value); |
| 17724 |
| 17725 /** Gets the value of "margin-top" */ |
| 17726 String get marginTop(); |
| 17727 |
| 17728 /** Sets the value of "margin-top" */ |
| 17729 void set marginTop(var value); |
| 17730 |
| 17731 /** Gets the value of "margin-top-collapse" */ |
| 17732 String get marginTopCollapse(); |
| 17733 |
| 17734 /** Sets the value of "margin-top-collapse" */ |
| 17735 void set marginTopCollapse(var value); |
| 17736 |
| 17737 /** Gets the value of "marquee" */ |
| 17738 String get marquee(); |
| 17739 |
| 17740 /** Sets the value of "marquee" */ |
| 17741 void set marquee(var value); |
| 17742 |
| 17743 /** Gets the value of "marquee-direction" */ |
| 17744 String get marqueeDirection(); |
| 17745 |
| 17746 /** Sets the value of "marquee-direction" */ |
| 17747 void set marqueeDirection(var value); |
| 17748 |
| 17749 /** Gets the value of "marquee-increment" */ |
| 17750 String get marqueeIncrement(); |
| 17751 |
| 17752 /** Sets the value of "marquee-increment" */ |
| 17753 void set marqueeIncrement(var value); |
| 17754 |
| 17755 /** Gets the value of "marquee-repetition" */ |
| 17756 String get marqueeRepetition(); |
| 17757 |
| 17758 /** Sets the value of "marquee-repetition" */ |
| 17759 void set marqueeRepetition(var value); |
| 17760 |
| 17761 /** Gets the value of "marquee-speed" */ |
| 17762 String get marqueeSpeed(); |
| 17763 |
| 17764 /** Sets the value of "marquee-speed" */ |
| 17765 void set marqueeSpeed(var value); |
| 17766 |
| 17767 /** Gets the value of "marquee-style" */ |
| 17768 String get marqueeStyle(); |
| 17769 |
| 17770 /** Sets the value of "marquee-style" */ |
| 17771 void set marqueeStyle(var value); |
| 17772 |
| 17773 /** Gets the value of "mask" */ |
| 17774 String get mask(); |
| 17775 |
| 17776 /** Sets the value of "mask" */ |
| 17777 void set mask(var value); |
| 17778 |
| 17779 /** Gets the value of "mask-attachment" */ |
| 17780 String get maskAttachment(); |
| 17781 |
| 17782 /** Sets the value of "mask-attachment" */ |
| 17783 void set maskAttachment(var value); |
| 17784 |
| 17785 /** Gets the value of "mask-box-image" */ |
| 17786 String get maskBoxImage(); |
| 17787 |
| 17788 /** Sets the value of "mask-box-image" */ |
| 17789 void set maskBoxImage(var value); |
| 17790 |
| 17791 /** Gets the value of "mask-box-image-outset" */ |
| 17792 String get maskBoxImageOutset(); |
| 17793 |
| 17794 /** Sets the value of "mask-box-image-outset" */ |
| 17795 void set maskBoxImageOutset(var value); |
| 17796 |
| 17797 /** Gets the value of "mask-box-image-repeat" */ |
| 17798 String get maskBoxImageRepeat(); |
| 17799 |
| 17800 /** Sets the value of "mask-box-image-repeat" */ |
| 17801 void set maskBoxImageRepeat(var value); |
| 17802 |
| 17803 /** Gets the value of "mask-box-image-slice" */ |
| 17804 String get maskBoxImageSlice(); |
| 17805 |
| 17806 /** Sets the value of "mask-box-image-slice" */ |
| 17807 void set maskBoxImageSlice(var value); |
| 17808 |
| 17809 /** Gets the value of "mask-box-image-source" */ |
| 17810 String get maskBoxImageSource(); |
| 17811 |
| 17812 /** Sets the value of "mask-box-image-source" */ |
| 17813 void set maskBoxImageSource(var value); |
| 17814 |
| 17815 /** Gets the value of "mask-box-image-width" */ |
| 17816 String get maskBoxImageWidth(); |
| 17817 |
| 17818 /** Sets the value of "mask-box-image-width" */ |
| 17819 void set maskBoxImageWidth(var value); |
| 17820 |
| 17821 /** Gets the value of "mask-clip" */ |
| 17822 String get maskClip(); |
| 17823 |
| 17824 /** Sets the value of "mask-clip" */ |
| 17825 void set maskClip(var value); |
| 17826 |
| 17827 /** Gets the value of "mask-composite" */ |
| 17828 String get maskComposite(); |
| 17829 |
| 17830 /** Sets the value of "mask-composite" */ |
| 17831 void set maskComposite(var value); |
| 17832 |
| 17833 /** Gets the value of "mask-image" */ |
| 17834 String get maskImage(); |
| 17835 |
| 17836 /** Sets the value of "mask-image" */ |
| 17837 void set maskImage(var value); |
| 17838 |
| 17839 /** Gets the value of "mask-origin" */ |
| 17840 String get maskOrigin(); |
| 17841 |
| 17842 /** Sets the value of "mask-origin" */ |
| 17843 void set maskOrigin(var value); |
| 17844 |
| 17845 /** Gets the value of "mask-position" */ |
| 17846 String get maskPosition(); |
| 17847 |
| 17848 /** Sets the value of "mask-position" */ |
| 17849 void set maskPosition(var value); |
| 17850 |
| 17851 /** Gets the value of "mask-position-x" */ |
| 17852 String get maskPositionX(); |
| 17853 |
| 17854 /** Sets the value of "mask-position-x" */ |
| 17855 void set maskPositionX(var value); |
| 17856 |
| 17857 /** Gets the value of "mask-position-y" */ |
| 17858 String get maskPositionY(); |
| 17859 |
| 17860 /** Sets the value of "mask-position-y" */ |
| 17861 void set maskPositionY(var value); |
| 17862 |
| 17863 /** Gets the value of "mask-repeat" */ |
| 17864 String get maskRepeat(); |
| 17865 |
| 17866 /** Sets the value of "mask-repeat" */ |
| 17867 void set maskRepeat(var value); |
| 17868 |
| 17869 /** Gets the value of "mask-repeat-x" */ |
| 17870 String get maskRepeatX(); |
| 17871 |
| 17872 /** Sets the value of "mask-repeat-x" */ |
| 17873 void set maskRepeatX(var value); |
| 17874 |
| 17875 /** Gets the value of "mask-repeat-y" */ |
| 17876 String get maskRepeatY(); |
| 17877 |
| 17878 /** Sets the value of "mask-repeat-y" */ |
| 17879 void set maskRepeatY(var value); |
| 17880 |
| 17881 /** Gets the value of "mask-size" */ |
| 17882 String get maskSize(); |
| 17883 |
| 17884 /** Sets the value of "mask-size" */ |
| 17885 void set maskSize(var value); |
| 17886 |
| 17887 /** Gets the value of "match-nearest-mail-blockquote-color" */ |
| 17888 String get matchNearestMailBlockquoteColor(); |
| 17889 |
| 17890 /** Sets the value of "match-nearest-mail-blockquote-color" */ |
| 17891 void set matchNearestMailBlockquoteColor(var value); |
| 17892 |
| 17893 /** Gets the value of "max-height" */ |
| 17894 String get maxHeight(); |
| 17895 |
| 17896 /** Sets the value of "max-height" */ |
| 17897 void set maxHeight(var value); |
| 17898 |
| 17899 /** Gets the value of "max-logical-height" */ |
| 17900 String get maxLogicalHeight(); |
| 17901 |
| 17902 /** Sets the value of "max-logical-height" */ |
| 17903 void set maxLogicalHeight(var value); |
| 17904 |
| 17905 /** Gets the value of "max-logical-width" */ |
| 17906 String get maxLogicalWidth(); |
| 17907 |
| 17908 /** Sets the value of "max-logical-width" */ |
| 17909 void set maxLogicalWidth(var value); |
| 17910 |
| 17911 /** Gets the value of "max-width" */ |
| 17912 String get maxWidth(); |
| 17913 |
| 17914 /** Sets the value of "max-width" */ |
| 17915 void set maxWidth(var value); |
| 17916 |
| 17917 /** Gets the value of "min-height" */ |
| 17918 String get minHeight(); |
| 17919 |
| 17920 /** Sets the value of "min-height" */ |
| 17921 void set minHeight(var value); |
| 17922 |
| 17923 /** Gets the value of "min-logical-height" */ |
| 17924 String get minLogicalHeight(); |
| 17925 |
| 17926 /** Sets the value of "min-logical-height" */ |
| 17927 void set minLogicalHeight(var value); |
| 17928 |
| 17929 /** Gets the value of "min-logical-width" */ |
| 17930 String get minLogicalWidth(); |
| 17931 |
| 17932 /** Sets the value of "min-logical-width" */ |
| 17933 void set minLogicalWidth(var value); |
| 17934 |
| 17935 /** Gets the value of "min-width" */ |
| 17936 String get minWidth(); |
| 17937 |
| 17938 /** Sets the value of "min-width" */ |
| 17939 void set minWidth(var value); |
| 17940 |
| 17941 /** Gets the value of "nbsp-mode" */ |
| 17942 String get nbspMode(); |
| 17943 |
| 17944 /** Sets the value of "nbsp-mode" */ |
| 17945 void set nbspMode(var value); |
| 17946 |
| 17947 /** Gets the value of "opacity" */ |
| 17948 String get opacity(); |
| 17949 |
| 17950 /** Sets the value of "opacity" */ |
| 17951 void set opacity(var value); |
| 17952 |
| 17953 /** Gets the value of "orphans" */ |
| 17954 String get orphans(); |
| 17955 |
| 17956 /** Sets the value of "orphans" */ |
| 17957 void set orphans(var value); |
| 17958 |
| 17959 /** Gets the value of "outline" */ |
| 17960 String get outline(); |
| 17961 |
| 17962 /** Sets the value of "outline" */ |
| 17963 void set outline(var value); |
| 17964 |
| 17965 /** Gets the value of "outline-color" */ |
| 17966 String get outlineColor(); |
| 17967 |
| 17968 /** Sets the value of "outline-color" */ |
| 17969 void set outlineColor(var value); |
| 17970 |
| 17971 /** Gets the value of "outline-offset" */ |
| 17972 String get outlineOffset(); |
| 17973 |
| 17974 /** Sets the value of "outline-offset" */ |
| 17975 void set outlineOffset(var value); |
| 17976 |
| 17977 /** Gets the value of "outline-style" */ |
| 17978 String get outlineStyle(); |
| 17979 |
| 17980 /** Sets the value of "outline-style" */ |
| 17981 void set outlineStyle(var value); |
| 17982 |
| 17983 /** Gets the value of "outline-width" */ |
| 17984 String get outlineWidth(); |
| 17985 |
| 17986 /** Sets the value of "outline-width" */ |
| 17987 void set outlineWidth(var value); |
| 17988 |
| 17989 /** Gets the value of "overflow" */ |
| 17990 String get overflow(); |
| 17991 |
| 17992 /** Sets the value of "overflow" */ |
| 17993 void set overflow(var value); |
| 17994 |
| 17995 /** Gets the value of "overflow-x" */ |
| 17996 String get overflowX(); |
| 17997 |
| 17998 /** Sets the value of "overflow-x" */ |
| 17999 void set overflowX(var value); |
| 18000 |
| 18001 /** Gets the value of "overflow-y" */ |
| 18002 String get overflowY(); |
| 18003 |
| 18004 /** Sets the value of "overflow-y" */ |
| 18005 void set overflowY(var value); |
| 18006 |
| 18007 /** Gets the value of "padding" */ |
| 18008 String get padding(); |
| 18009 |
| 18010 /** Sets the value of "padding" */ |
| 18011 void set padding(var value); |
| 18012 |
| 18013 /** Gets the value of "padding-after" */ |
| 18014 String get paddingAfter(); |
| 18015 |
| 18016 /** Sets the value of "padding-after" */ |
| 18017 void set paddingAfter(var value); |
| 18018 |
| 18019 /** Gets the value of "padding-before" */ |
| 18020 String get paddingBefore(); |
| 18021 |
| 18022 /** Sets the value of "padding-before" */ |
| 18023 void set paddingBefore(var value); |
| 18024 |
| 18025 /** Gets the value of "padding-bottom" */ |
| 18026 String get paddingBottom(); |
| 18027 |
| 18028 /** Sets the value of "padding-bottom" */ |
| 18029 void set paddingBottom(var value); |
| 18030 |
| 18031 /** Gets the value of "padding-end" */ |
| 18032 String get paddingEnd(); |
| 18033 |
| 18034 /** Sets the value of "padding-end" */ |
| 18035 void set paddingEnd(var value); |
| 18036 |
| 18037 /** Gets the value of "padding-left" */ |
| 18038 String get paddingLeft(); |
| 18039 |
| 18040 /** Sets the value of "padding-left" */ |
| 18041 void set paddingLeft(var value); |
| 18042 |
| 18043 /** Gets the value of "padding-right" */ |
| 18044 String get paddingRight(); |
| 18045 |
| 18046 /** Sets the value of "padding-right" */ |
| 18047 void set paddingRight(var value); |
| 18048 |
| 18049 /** Gets the value of "padding-start" */ |
| 18050 String get paddingStart(); |
| 18051 |
| 18052 /** Sets the value of "padding-start" */ |
| 18053 void set paddingStart(var value); |
| 18054 |
| 18055 /** Gets the value of "padding-top" */ |
| 18056 String get paddingTop(); |
| 18057 |
| 18058 /** Sets the value of "padding-top" */ |
| 18059 void set paddingTop(var value); |
| 18060 |
| 18061 /** Gets the value of "page" */ |
| 18062 String get page(); |
| 18063 |
| 18064 /** Sets the value of "page" */ |
| 18065 void set page(var value); |
| 18066 |
| 18067 /** Gets the value of "page-break-after" */ |
| 18068 String get pageBreakAfter(); |
| 18069 |
| 18070 /** Sets the value of "page-break-after" */ |
| 18071 void set pageBreakAfter(var value); |
| 18072 |
| 18073 /** Gets the value of "page-break-before" */ |
| 18074 String get pageBreakBefore(); |
| 18075 |
| 18076 /** Sets the value of "page-break-before" */ |
| 18077 void set pageBreakBefore(var value); |
| 18078 |
| 18079 /** Gets the value of "page-break-inside" */ |
| 18080 String get pageBreakInside(); |
| 18081 |
| 18082 /** Sets the value of "page-break-inside" */ |
| 18083 void set pageBreakInside(var value); |
| 18084 |
| 18085 /** Gets the value of "perspective" */ |
| 18086 String get perspective(); |
| 18087 |
| 18088 /** Sets the value of "perspective" */ |
| 18089 void set perspective(var value); |
| 18090 |
| 18091 /** Gets the value of "perspective-origin" */ |
| 18092 String get perspectiveOrigin(); |
| 18093 |
| 18094 /** Sets the value of "perspective-origin" */ |
| 18095 void set perspectiveOrigin(var value); |
| 18096 |
| 18097 /** Gets the value of "perspective-origin-x" */ |
| 18098 String get perspectiveOriginX(); |
| 18099 |
| 18100 /** Sets the value of "perspective-origin-x" */ |
| 18101 void set perspectiveOriginX(var value); |
| 18102 |
| 18103 /** Gets the value of "perspective-origin-y" */ |
| 18104 String get perspectiveOriginY(); |
| 18105 |
| 18106 /** Sets the value of "perspective-origin-y" */ |
| 18107 void set perspectiveOriginY(var value); |
| 18108 |
| 18109 /** Gets the value of "pointer-events" */ |
| 18110 String get pointerEvents(); |
| 18111 |
| 18112 /** Sets the value of "pointer-events" */ |
| 18113 void set pointerEvents(var value); |
| 18114 |
| 18115 /** Gets the value of "position" */ |
| 18116 String get position(); |
| 18117 |
| 18118 /** Sets the value of "position" */ |
| 18119 void set position(var value); |
| 18120 |
| 18121 /** Gets the value of "quotes" */ |
| 18122 String get quotes(); |
| 18123 |
| 18124 /** Sets the value of "quotes" */ |
| 18125 void set quotes(var value); |
| 18126 |
| 18127 /** Gets the value of "region-break-after" */ |
| 18128 String get regionBreakAfter(); |
| 18129 |
| 18130 /** Sets the value of "region-break-after" */ |
| 18131 void set regionBreakAfter(var value); |
| 18132 |
| 18133 /** Gets the value of "region-break-before" */ |
| 18134 String get regionBreakBefore(); |
| 18135 |
| 18136 /** Sets the value of "region-break-before" */ |
| 18137 void set regionBreakBefore(var value); |
| 18138 |
| 18139 /** Gets the value of "region-break-inside" */ |
| 18140 String get regionBreakInside(); |
| 18141 |
| 18142 /** Sets the value of "region-break-inside" */ |
| 18143 void set regionBreakInside(var value); |
| 18144 |
| 18145 /** Gets the value of "region-overflow" */ |
| 18146 String get regionOverflow(); |
| 18147 |
| 18148 /** Sets the value of "region-overflow" */ |
| 18149 void set regionOverflow(var value); |
| 18150 |
| 18151 /** Gets the value of "resize" */ |
| 18152 String get resize(); |
| 18153 |
| 18154 /** Sets the value of "resize" */ |
| 18155 void set resize(var value); |
| 18156 |
| 18157 /** Gets the value of "right" */ |
| 18158 String get right(); |
| 18159 |
| 18160 /** Sets the value of "right" */ |
| 18161 void set right(var value); |
| 18162 |
| 18163 /** Gets the value of "rtl-ordering" */ |
| 18164 String get rtlOrdering(); |
| 18165 |
| 18166 /** Sets the value of "rtl-ordering" */ |
| 18167 void set rtlOrdering(var value); |
| 18168 |
| 18169 /** Gets the value of "size" */ |
| 18170 String get size(); |
| 18171 |
| 18172 /** Sets the value of "size" */ |
| 18173 void set size(var value); |
| 18174 |
| 18175 /** Gets the value of "speak" */ |
| 18176 String get speak(); |
| 18177 |
| 18178 /** Sets the value of "speak" */ |
| 18179 void set speak(var value); |
| 18180 |
| 18181 /** Gets the value of "src" */ |
| 18182 String get src(); |
| 18183 |
| 18184 /** Sets the value of "src" */ |
| 18185 void set src(var value); |
| 18186 |
| 18187 /** Gets the value of "table-layout" */ |
| 18188 String get tableLayout(); |
| 18189 |
| 18190 /** Sets the value of "table-layout" */ |
| 18191 void set tableLayout(var value); |
| 18192 |
| 18193 /** Gets the value of "tap-highlight-color" */ |
| 18194 String get tapHighlightColor(); |
| 18195 |
| 18196 /** Sets the value of "tap-highlight-color" */ |
| 18197 void set tapHighlightColor(var value); |
| 18198 |
| 18199 /** Gets the value of "text-align" */ |
| 18200 String get textAlign(); |
| 18201 |
| 18202 /** Sets the value of "text-align" */ |
| 18203 void set textAlign(var value); |
| 18204 |
| 18205 /** Gets the value of "text-combine" */ |
| 18206 String get textCombine(); |
| 18207 |
| 18208 /** Sets the value of "text-combine" */ |
| 18209 void set textCombine(var value); |
| 18210 |
| 18211 /** Gets the value of "text-decoration" */ |
| 18212 String get textDecoration(); |
| 18213 |
| 18214 /** Sets the value of "text-decoration" */ |
| 18215 void set textDecoration(var value); |
| 18216 |
| 18217 /** Gets the value of "text-decorations-in-effect" */ |
| 18218 String get textDecorationsInEffect(); |
| 18219 |
| 18220 /** Sets the value of "text-decorations-in-effect" */ |
| 18221 void set textDecorationsInEffect(var value); |
| 18222 |
| 18223 /** Gets the value of "text-emphasis" */ |
| 18224 String get textEmphasis(); |
| 18225 |
| 18226 /** Sets the value of "text-emphasis" */ |
| 18227 void set textEmphasis(var value); |
| 18228 |
| 18229 /** Gets the value of "text-emphasis-color" */ |
| 18230 String get textEmphasisColor(); |
| 18231 |
| 18232 /** Sets the value of "text-emphasis-color" */ |
| 18233 void set textEmphasisColor(var value); |
| 18234 |
| 18235 /** Gets the value of "text-emphasis-position" */ |
| 18236 String get textEmphasisPosition(); |
| 18237 |
| 18238 /** Sets the value of "text-emphasis-position" */ |
| 18239 void set textEmphasisPosition(var value); |
| 18240 |
| 18241 /** Gets the value of "text-emphasis-style" */ |
| 18242 String get textEmphasisStyle(); |
| 18243 |
| 18244 /** Sets the value of "text-emphasis-style" */ |
| 18245 void set textEmphasisStyle(var value); |
| 18246 |
| 18247 /** Gets the value of "text-fill-color" */ |
| 18248 String get textFillColor(); |
| 18249 |
| 18250 /** Sets the value of "text-fill-color" */ |
| 18251 void set textFillColor(var value); |
| 18252 |
| 18253 /** Gets the value of "text-indent" */ |
| 18254 String get textIndent(); |
| 18255 |
| 18256 /** Sets the value of "text-indent" */ |
| 18257 void set textIndent(var value); |
| 18258 |
| 18259 /** Gets the value of "text-line-through" */ |
| 18260 String get textLineThrough(); |
| 18261 |
| 18262 /** Sets the value of "text-line-through" */ |
| 18263 void set textLineThrough(var value); |
| 18264 |
| 18265 /** Gets the value of "text-line-through-color" */ |
| 18266 String get textLineThroughColor(); |
| 18267 |
| 18268 /** Sets the value of "text-line-through-color" */ |
| 18269 void set textLineThroughColor(var value); |
| 18270 |
| 18271 /** Gets the value of "text-line-through-mode" */ |
| 18272 String get textLineThroughMode(); |
| 18273 |
| 18274 /** Sets the value of "text-line-through-mode" */ |
| 18275 void set textLineThroughMode(var value); |
| 18276 |
| 18277 /** Gets the value of "text-line-through-style" */ |
| 18278 String get textLineThroughStyle(); |
| 18279 |
| 18280 /** Sets the value of "text-line-through-style" */ |
| 18281 void set textLineThroughStyle(var value); |
| 18282 |
| 18283 /** Gets the value of "text-line-through-width" */ |
| 18284 String get textLineThroughWidth(); |
| 18285 |
| 18286 /** Sets the value of "text-line-through-width" */ |
| 18287 void set textLineThroughWidth(var value); |
| 18288 |
| 18289 /** Gets the value of "text-orientation" */ |
| 18290 String get textOrientation(); |
| 18291 |
| 18292 /** Sets the value of "text-orientation" */ |
| 18293 void set textOrientation(var value); |
| 18294 |
| 18295 /** Gets the value of "text-overflow" */ |
| 18296 String get textOverflow(); |
| 18297 |
| 18298 /** Sets the value of "text-overflow" */ |
| 18299 void set textOverflow(var value); |
| 18300 |
| 18301 /** Gets the value of "text-overline" */ |
| 18302 String get textOverline(); |
| 18303 |
| 18304 /** Sets the value of "text-overline" */ |
| 18305 void set textOverline(var value); |
| 18306 |
| 18307 /** Gets the value of "text-overline-color" */ |
| 18308 String get textOverlineColor(); |
| 18309 |
| 18310 /** Sets the value of "text-overline-color" */ |
| 18311 void set textOverlineColor(var value); |
| 18312 |
| 18313 /** Gets the value of "text-overline-mode" */ |
| 18314 String get textOverlineMode(); |
| 18315 |
| 18316 /** Sets the value of "text-overline-mode" */ |
| 18317 void set textOverlineMode(var value); |
| 18318 |
| 18319 /** Gets the value of "text-overline-style" */ |
| 18320 String get textOverlineStyle(); |
| 18321 |
| 18322 /** Sets the value of "text-overline-style" */ |
| 18323 void set textOverlineStyle(var value); |
| 18324 |
| 18325 /** Gets the value of "text-overline-width" */ |
| 18326 String get textOverlineWidth(); |
| 18327 |
| 18328 /** Sets the value of "text-overline-width" */ |
| 18329 void set textOverlineWidth(var value); |
| 18330 |
| 18331 /** Gets the value of "text-rendering" */ |
| 18332 String get textRendering(); |
| 18333 |
| 18334 /** Sets the value of "text-rendering" */ |
| 18335 void set textRendering(var value); |
| 18336 |
| 18337 /** Gets the value of "text-security" */ |
| 18338 String get textSecurity(); |
| 18339 |
| 18340 /** Sets the value of "text-security" */ |
| 18341 void set textSecurity(var value); |
| 18342 |
| 18343 /** Gets the value of "text-shadow" */ |
| 18344 String get textShadow(); |
| 18345 |
| 18346 /** Sets the value of "text-shadow" */ |
| 18347 void set textShadow(var value); |
| 18348 |
| 18349 /** Gets the value of "text-size-adjust" */ |
| 18350 String get textSizeAdjust(); |
| 18351 |
| 18352 /** Sets the value of "text-size-adjust" */ |
| 18353 void set textSizeAdjust(var value); |
| 18354 |
| 18355 /** Gets the value of "text-stroke" */ |
| 18356 String get textStroke(); |
| 18357 |
| 18358 /** Sets the value of "text-stroke" */ |
| 18359 void set textStroke(var value); |
| 18360 |
| 18361 /** Gets the value of "text-stroke-color" */ |
| 18362 String get textStrokeColor(); |
| 18363 |
| 18364 /** Sets the value of "text-stroke-color" */ |
| 18365 void set textStrokeColor(var value); |
| 18366 |
| 18367 /** Gets the value of "text-stroke-width" */ |
| 18368 String get textStrokeWidth(); |
| 18369 |
| 18370 /** Sets the value of "text-stroke-width" */ |
| 18371 void set textStrokeWidth(var value); |
| 18372 |
| 18373 /** Gets the value of "text-transform" */ |
| 18374 String get textTransform(); |
| 18375 |
| 18376 /** Sets the value of "text-transform" */ |
| 18377 void set textTransform(var value); |
| 18378 |
| 18379 /** Gets the value of "text-underline" */ |
| 18380 String get textUnderline(); |
| 18381 |
| 18382 /** Sets the value of "text-underline" */ |
| 18383 void set textUnderline(var value); |
| 18384 |
| 18385 /** Gets the value of "text-underline-color" */ |
| 18386 String get textUnderlineColor(); |
| 18387 |
| 18388 /** Sets the value of "text-underline-color" */ |
| 18389 void set textUnderlineColor(var value); |
| 18390 |
| 18391 /** Gets the value of "text-underline-mode" */ |
| 18392 String get textUnderlineMode(); |
| 18393 |
| 18394 /** Sets the value of "text-underline-mode" */ |
| 18395 void set textUnderlineMode(var value); |
| 18396 |
| 18397 /** Gets the value of "text-underline-style" */ |
| 18398 String get textUnderlineStyle(); |
| 18399 |
| 18400 /** Sets the value of "text-underline-style" */ |
| 18401 void set textUnderlineStyle(var value); |
| 18402 |
| 18403 /** Gets the value of "text-underline-width" */ |
| 18404 String get textUnderlineWidth(); |
| 18405 |
| 18406 /** Sets the value of "text-underline-width" */ |
| 18407 void set textUnderlineWidth(var value); |
| 18408 |
| 18409 /** Gets the value of "top" */ |
| 18410 String get top(); |
| 18411 |
| 18412 /** Sets the value of "top" */ |
| 18413 void set top(var value); |
| 18414 |
| 18415 /** Gets the value of "transform" */ |
| 18416 String get transform(); |
| 18417 |
| 18418 /** Sets the value of "transform" */ |
| 18419 void set transform(var value); |
| 18420 |
| 18421 /** Gets the value of "transform-origin" */ |
| 18422 String get transformOrigin(); |
| 18423 |
| 18424 /** Sets the value of "transform-origin" */ |
| 18425 void set transformOrigin(var value); |
| 18426 |
| 18427 /** Gets the value of "transform-origin-x" */ |
| 18428 String get transformOriginX(); |
| 18429 |
| 18430 /** Sets the value of "transform-origin-x" */ |
| 18431 void set transformOriginX(var value); |
| 18432 |
| 18433 /** Gets the value of "transform-origin-y" */ |
| 18434 String get transformOriginY(); |
| 18435 |
| 18436 /** Sets the value of "transform-origin-y" */ |
| 18437 void set transformOriginY(var value); |
| 18438 |
| 18439 /** Gets the value of "transform-origin-z" */ |
| 18440 String get transformOriginZ(); |
| 18441 |
| 18442 /** Sets the value of "transform-origin-z" */ |
| 18443 void set transformOriginZ(var value); |
| 18444 |
| 18445 /** Gets the value of "transform-style" */ |
| 18446 String get transformStyle(); |
| 18447 |
| 18448 /** Sets the value of "transform-style" */ |
| 18449 void set transformStyle(var value); |
| 18450 |
| 18451 /** Gets the value of "transition" */ |
| 18452 String get transition(); |
| 18453 |
| 18454 /** Sets the value of "transition" */ |
| 18455 void set transition(var value); |
| 18456 |
| 18457 /** Gets the value of "transition-delay" */ |
| 18458 String get transitionDelay(); |
| 18459 |
| 18460 /** Sets the value of "transition-delay" */ |
| 18461 void set transitionDelay(var value); |
| 18462 |
| 18463 /** Gets the value of "transition-duration" */ |
| 18464 String get transitionDuration(); |
| 18465 |
| 18466 /** Sets the value of "transition-duration" */ |
| 18467 void set transitionDuration(var value); |
| 18468 |
| 18469 /** Gets the value of "transition-property" */ |
| 18470 String get transitionProperty(); |
| 18471 |
| 18472 /** Sets the value of "transition-property" */ |
| 18473 void set transitionProperty(var value); |
| 18474 |
| 18475 /** Gets the value of "transition-timing-function" */ |
| 18476 String get transitionTimingFunction(); |
| 18477 |
| 18478 /** Sets the value of "transition-timing-function" */ |
| 18479 void set transitionTimingFunction(var value); |
| 18480 |
| 18481 /** Gets the value of "unicode-bidi" */ |
| 18482 String get unicodeBidi(); |
| 18483 |
| 18484 /** Sets the value of "unicode-bidi" */ |
| 18485 void set unicodeBidi(var value); |
| 18486 |
| 18487 /** Gets the value of "unicode-range" */ |
| 18488 String get unicodeRange(); |
| 18489 |
| 18490 /** Sets the value of "unicode-range" */ |
| 18491 void set unicodeRange(var value); |
| 18492 |
| 18493 /** Gets the value of "user-drag" */ |
| 18494 String get userDrag(); |
| 18495 |
| 18496 /** Sets the value of "user-drag" */ |
| 18497 void set userDrag(var value); |
| 18498 |
| 18499 /** Gets the value of "user-modify" */ |
| 18500 String get userModify(); |
| 18501 |
| 18502 /** Sets the value of "user-modify" */ |
| 18503 void set userModify(var value); |
| 18504 |
| 18505 /** Gets the value of "user-select" */ |
| 18506 String get userSelect(); |
| 18507 |
| 18508 /** Sets the value of "user-select" */ |
| 18509 void set userSelect(var value); |
| 18510 |
| 18511 /** Gets the value of "vertical-align" */ |
| 18512 String get verticalAlign(); |
| 18513 |
| 18514 /** Sets the value of "vertical-align" */ |
| 18515 void set verticalAlign(var value); |
| 18516 |
| 18517 /** Gets the value of "visibility" */ |
| 18518 String get visibility(); |
| 18519 |
| 18520 /** Sets the value of "visibility" */ |
| 18521 void set visibility(var value); |
| 18522 |
| 18523 /** Gets the value of "white-space" */ |
| 18524 String get whiteSpace(); |
| 18525 |
| 18526 /** Sets the value of "white-space" */ |
| 18527 void set whiteSpace(var value); |
| 18528 |
| 18529 /** Gets the value of "widows" */ |
| 18530 String get widows(); |
| 18531 |
| 18532 /** Sets the value of "widows" */ |
| 18533 void set widows(var value); |
| 18534 |
| 18535 /** Gets the value of "width" */ |
| 18536 String get width(); |
| 18537 |
| 18538 /** Sets the value of "width" */ |
| 18539 void set width(var value); |
| 18540 |
| 18541 /** Gets the value of "word-break" */ |
| 18542 String get wordBreak(); |
| 18543 |
| 18544 /** Sets the value of "word-break" */ |
| 18545 void set wordBreak(var value); |
| 18546 |
| 18547 /** Gets the value of "word-spacing" */ |
| 18548 String get wordSpacing(); |
| 18549 |
| 18550 /** Sets the value of "word-spacing" */ |
| 18551 void set wordSpacing(var value); |
| 18552 |
| 18553 /** Gets the value of "word-wrap" */ |
| 18554 String get wordWrap(); |
| 18555 |
| 18556 /** Sets the value of "word-wrap" */ |
| 18557 void set wordWrap(var value); |
| 18558 |
| 18559 /** Gets the value of "wrap-shape" */ |
| 18560 String get wrapShape(); |
| 18561 |
| 18562 /** Sets the value of "wrap-shape" */ |
| 18563 void set wrapShape(var value); |
| 18564 |
| 18565 /** Gets the value of "writing-mode" */ |
| 18566 String get writingMode(); |
| 18567 |
| 18568 /** Sets the value of "writing-mode" */ |
| 18569 void set writingMode(var value); |
| 18570 |
| 18571 /** Gets the value of "z-index" */ |
| 18572 String get zIndex(); |
| 18573 |
| 18574 /** Sets the value of "z-index" */ |
| 18575 void set zIndex(var value); |
| 18576 |
| 18577 /** Gets the value of "zoom" */ |
| 18578 String get zoom(); |
| 18579 |
| 18580 /** Sets the value of "zoom" */ |
| 18581 void set zoom(var value); |
| 18582 } |
| 18583 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18584 // for details. All rights reserved. Use of this source code is governed by a |
| 18585 // BSD-style license that can be found in the LICENSE file. |
| 18586 |
| 18587 // WARNING: Do not edit - generated code. |
| 18588 |
| 18589 interface CSSStyleRule extends CSSRule { |
| 18590 |
| 18591 String selectorText; |
| 18592 |
| 18593 final CSSStyleDeclaration style; |
| 18594 } |
| 18595 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18596 // for details. All rights reserved. Use of this source code is governed by a |
| 18597 // BSD-style license that can be found in the LICENSE file. |
| 18598 |
| 18599 // WARNING: Do not edit - generated code. |
| 18600 |
| 18601 interface CSSStyleSheet extends StyleSheet { |
| 18602 |
| 18603 final CSSRuleList cssRules; |
| 18604 |
| 18605 final CSSRule ownerRule; |
| 18606 |
| 18607 final CSSRuleList rules; |
| 18608 |
| 18609 int addRule(String selector, String style, [int index]); |
| 18610 |
| 18611 void deleteRule(int index); |
| 18612 |
| 18613 int insertRule(String rule, int index); |
| 18614 |
| 18615 void removeRule(int index); |
| 18616 } |
| 18617 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18618 // for details. All rights reserved. Use of this source code is governed by a |
| 18619 // BSD-style license that can be found in the LICENSE file. |
| 18620 |
| 18621 // WARNING: Do not edit - generated code. |
| 18622 |
| 18623 interface CSSTransformValue extends CSSValueList { |
| 18624 |
| 18625 static final int CSS_MATRIX = 11; |
| 18626 |
| 18627 static final int CSS_MATRIX3D = 21; |
| 18628 |
| 18629 static final int CSS_PERSPECTIVE = 20; |
| 18630 |
| 18631 static final int CSS_ROTATE = 4; |
| 18632 |
| 18633 static final int CSS_ROTATE3D = 17; |
| 18634 |
| 18635 static final int CSS_ROTATEX = 14; |
| 18636 |
| 18637 static final int CSS_ROTATEY = 15; |
| 18638 |
| 18639 static final int CSS_ROTATEZ = 16; |
| 18640 |
| 18641 static final int CSS_SCALE = 5; |
| 18642 |
| 18643 static final int CSS_SCALE3D = 19; |
| 18644 |
| 18645 static final int CSS_SCALEX = 6; |
| 18646 |
| 18647 static final int CSS_SCALEY = 7; |
| 18648 |
| 18649 static final int CSS_SCALEZ = 18; |
| 18650 |
| 18651 static final int CSS_SKEW = 8; |
| 18652 |
| 18653 static final int CSS_SKEWX = 9; |
| 18654 |
| 18655 static final int CSS_SKEWY = 10; |
| 18656 |
| 18657 static final int CSS_TRANSLATE = 1; |
| 18658 |
| 18659 static final int CSS_TRANSLATE3D = 13; |
| 18660 |
| 18661 static final int CSS_TRANSLATEX = 2; |
| 18662 |
| 18663 static final int CSS_TRANSLATEY = 3; |
| 18664 |
| 18665 static final int CSS_TRANSLATEZ = 12; |
| 18666 |
| 18667 final int operationType; |
| 18668 } |
| 18669 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18670 // for details. All rights reserved. Use of this source code is governed by a |
| 18671 // BSD-style license that can be found in the LICENSE file. |
| 18672 |
| 18673 // WARNING: Do not edit - generated code. |
| 18674 |
| 18675 interface CSSUnknownRule extends CSSRule { |
| 18676 } |
| 18677 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18678 // for details. All rights reserved. Use of this source code is governed by a |
| 18679 // BSD-style license that can be found in the LICENSE file. |
| 18680 |
| 18681 // WARNING: Do not edit - generated code. |
| 18682 |
| 18683 interface CSSValue { |
| 18684 |
| 18685 static final int CSS_CUSTOM = 3; |
| 18686 |
| 18687 static final int CSS_INHERIT = 0; |
| 18688 |
| 18689 static final int CSS_PRIMITIVE_VALUE = 1; |
| 18690 |
| 18691 static final int CSS_VALUE_LIST = 2; |
| 18692 |
| 18693 String cssText; |
| 18694 |
| 18695 final int cssValueType; |
| 18696 } |
| 18697 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18698 // for details. All rights reserved. Use of this source code is governed by a |
| 18699 // BSD-style license that can be found in the LICENSE file. |
| 18700 |
| 18701 // WARNING: Do not edit - generated code. |
| 18702 |
| 18703 interface CSSValueList extends CSSValue { |
| 18704 |
| 18705 final int length; |
| 18706 |
| 18707 CSSValue item(int index); |
| 18708 } |
| 18709 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18710 // for details. All rights reserved. Use of this source code is governed by a |
| 18711 // BSD-style license that can be found in the LICENSE file. |
| 18712 |
| 18713 // WARNING: Do not edit - generated code. |
| 18714 |
| 18715 interface CanvasElement extends Element { |
| 18716 |
| 18717 int height; |
| 18718 |
| 18719 int width; |
| 18720 |
| 18721 Object getContext(String contextId); |
| 18722 |
| 18723 String toDataURL(String type); |
| 18724 } |
| 18725 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18726 // for details. All rights reserved. Use of this source code is governed by a |
| 18727 // BSD-style license that can be found in the LICENSE file. |
| 18728 |
| 18729 // WARNING: Do not edit - generated code. |
| 18730 |
| 18731 interface CanvasGradient { |
| 18732 |
| 18733 void addColorStop(num offset, String color); |
| 18734 } |
| 18735 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18736 // for details. All rights reserved. Use of this source code is governed by a |
| 18737 // BSD-style license that can be found in the LICENSE file. |
| 18738 |
| 18739 // WARNING: Do not edit - generated code. |
| 18740 |
| 18741 interface CanvasPattern { |
| 18742 } |
| 18743 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18744 // for details. All rights reserved. Use of this source code is governed by a |
| 18745 // BSD-style license that can be found in the LICENSE file. |
| 18746 |
| 18747 // WARNING: Do not edit - generated code. |
| 18748 |
| 18749 interface CanvasPixelArray extends List<int> { |
| 18750 |
| 18751 final int length; |
| 18752 } |
| 18753 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18754 // for details. All rights reserved. Use of this source code is governed by a |
| 18755 // BSD-style license that can be found in the LICENSE file. |
| 18756 |
| 18757 // WARNING: Do not edit - generated code. |
| 18758 |
| 18759 interface CanvasRenderingContext { |
| 18760 |
| 18761 final CanvasElement canvas; |
| 18762 } |
| 18763 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18764 // for details. All rights reserved. Use of this source code is governed by a |
| 18765 // BSD-style license that can be found in the LICENSE file. |
| 18766 |
| 18767 // WARNING: Do not edit - generated code. |
| 18768 |
| 18769 interface CanvasRenderingContext2D extends CanvasRenderingContext { |
| 18770 |
| 18771 Dynamic fillStyle; |
| 18772 |
| 18773 String font; |
| 18774 |
| 18775 num globalAlpha; |
| 18776 |
| 18777 String globalCompositeOperation; |
| 18778 |
| 18779 String lineCap; |
| 18780 |
| 18781 String lineJoin; |
| 18782 |
| 18783 num lineWidth; |
| 18784 |
| 18785 num miterLimit; |
| 18786 |
| 18787 num shadowBlur; |
| 18788 |
| 18789 String shadowColor; |
| 18790 |
| 18791 num shadowOffsetX; |
| 18792 |
| 18793 num shadowOffsetY; |
| 18794 |
| 18795 Dynamic strokeStyle; |
| 18796 |
| 18797 String textAlign; |
| 18798 |
| 18799 String textBaseline; |
| 18800 |
| 18801 List webkitLineDash; |
| 18802 |
| 18803 num webkitLineDashOffset; |
| 18804 |
| 18805 void arc(num x, num y, num radius, num startAngle, num endAngle, bool anticloc
kwise); |
| 18806 |
| 18807 void arcTo(num x1, num y1, num x2, num y2, num radius); |
| 18808 |
| 18809 void beginPath(); |
| 18810 |
| 18811 void bezierCurveTo(num cp1x, num cp1y, num cp2x, num cp2y, num x, num y); |
| 18812 |
| 18813 void clearRect(num x, num y, num width, num height); |
| 18814 |
| 18815 void clearShadow(); |
| 18816 |
| 18817 void clip(); |
| 18818 |
| 18819 void closePath(); |
| 18820 |
| 18821 ImageData createImageData(var imagedata_OR_sw, [num sh]); |
| 18822 |
| 18823 CanvasGradient createLinearGradient(num x0, num y0, num x1, num y1); |
| 18824 |
| 18825 CanvasPattern createPattern(var canvas_OR_image, String repetitionType); |
| 18826 |
| 18827 CanvasGradient createRadialGradient(num x0, num y0, num r0, num x1, num y1, nu
m r1); |
| 18828 |
| 18829 void drawImage(var canvas_OR_image_OR_video, num sx_OR_x, num sy_OR_y, [num sw
_OR_width, num height_OR_sh, num dx, num dy, num dw, num dh]); |
| 18830 |
| 18831 void drawImageFromRect(ImageElement image, [num sx, num sy, num sw, num sh, nu
m dx, num dy, num dw, num dh, String compositeOperation]); |
| 18832 |
| 18833 void fill(); |
| 18834 |
| 18835 void fillRect(num x, num y, num width, num height); |
| 18836 |
| 18837 void fillText(String text, num x, num y, [num maxWidth]); |
| 18838 |
| 18839 ImageData getImageData(num sx, num sy, num sw, num sh); |
| 18840 |
| 18841 bool isPointInPath(num x, num y); |
| 18842 |
| 18843 void lineTo(num x, num y); |
| 18844 |
| 18845 TextMetrics measureText(String text); |
| 18846 |
| 18847 void moveTo(num x, num y); |
| 18848 |
| 18849 void putImageData(ImageData imagedata, num dx, num dy, [num dirtyX, num dirtyY
, num dirtyWidth, num dirtyHeight]); |
| 18850 |
| 18851 void quadraticCurveTo(num cpx, num cpy, num x, num y); |
| 18852 |
| 18853 void rect(num x, num y, num width, num height); |
| 18854 |
| 18855 void restore(); |
| 18856 |
| 18857 void rotate(num angle); |
| 18858 |
| 18859 void save(); |
| 18860 |
| 18861 void scale(num sx, num sy); |
| 18862 |
| 18863 void setAlpha(num alpha); |
| 18864 |
| 18865 void setCompositeOperation(String compositeOperation); |
| 18866 |
| 18867 void setFillColor(var c_OR_color_OR_grayLevel_OR_r, [num alpha_OR_g_OR_m, num
b_OR_y, num a_OR_k, num a]); |
| 18868 |
| 18869 void setLineCap(String cap); |
| 18870 |
| 18871 void setLineJoin(String join); |
| 18872 |
| 18873 void setLineWidth(num width); |
| 18874 |
| 18875 void setMiterLimit(num limit); |
| 18876 |
| 18877 void setShadow(num width, num height, num blur, [var c_OR_color_OR_grayLevel_O
R_r, num alpha_OR_g_OR_m, num b_OR_y, num a_OR_k, num a]); |
| 18878 |
| 18879 void setStrokeColor(var c_OR_color_OR_grayLevel_OR_r, [num alpha_OR_g_OR_m, nu
m b_OR_y, num a_OR_k, num a]); |
| 18880 |
| 18881 void setTransform(num m11, num m12, num m21, num m22, num dx, num dy); |
| 18882 |
| 18883 void stroke(); |
| 18884 |
| 18885 void strokeRect(num x, num y, num width, num height, [num lineWidth]); |
| 18886 |
| 18887 void strokeText(String text, num x, num y, [num maxWidth]); |
| 18888 |
| 18889 void transform(num m11, num m12, num m21, num m22, num dx, num dy); |
| 18890 |
| 18891 void translate(num tx, num ty); |
| 18892 } |
| 18893 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18894 // for details. All rights reserved. Use of this source code is governed by a |
| 18895 // BSD-style license that can be found in the LICENSE file. |
| 18896 |
| 18897 // WARNING: Do not edit - generated code. |
| 18898 |
| 18899 interface CharacterData extends Node { |
| 18900 |
| 18901 String data; |
| 18902 |
| 18903 final int length; |
| 18904 |
| 18905 void appendData(String data); |
| 18906 |
| 18907 void deleteData(int offset, int length); |
| 18908 |
| 18909 void insertData(int offset, String data); |
| 18910 |
| 18911 void replaceData(int offset, int length, String data); |
| 18912 |
| 18913 String substringData(int offset, int length); |
| 18914 } |
| 18915 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18916 // for details. All rights reserved. Use of this source code is governed by a |
| 18917 // BSD-style license that can be found in the LICENSE file. |
| 18918 |
| 18919 // WARNING: Do not edit - generated code. |
| 18920 |
| 18921 interface ClientRect { |
| 18922 |
| 18923 final num bottom; |
| 18924 |
| 18925 final num height; |
| 18926 |
| 18927 final num left; |
| 18928 |
| 18929 final num right; |
| 18930 |
| 18931 final num top; |
| 18932 |
| 18933 final num width; |
| 18934 } |
| 18935 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18936 // for details. All rights reserved. Use of this source code is governed by a |
| 18937 // BSD-style license that can be found in the LICENSE file. |
| 18938 |
| 18939 // WARNING: Do not edit - generated code. |
| 18940 |
| 18941 interface ClientRectList { |
| 18942 |
| 18943 final int length; |
| 18944 |
| 18945 ClientRect item(int index); |
| 18946 } |
| 18947 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18948 // for details. All rights reserved. Use of this source code is governed by a |
| 18949 // BSD-style license that can be found in the LICENSE file. |
| 18950 |
| 18951 // WARNING: Do not edit - generated code. |
| 18952 |
| 18953 interface Clipboard { |
| 18954 |
| 18955 String dropEffect; |
| 18956 |
| 18957 String effectAllowed; |
| 18958 |
| 18959 final FileList files; |
| 18960 |
| 18961 final DataTransferItemList items; |
| 18962 |
| 18963 final List types; |
| 18964 |
| 18965 void clearData([String type]); |
| 18966 |
| 18967 void getData(String type); |
| 18968 |
| 18969 bool setData(String type, String data); |
| 18970 |
| 18971 void setDragImage(ImageElement image, int x, int y); |
| 18972 } |
| 18973 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18974 // for details. All rights reserved. Use of this source code is governed by a |
| 18975 // BSD-style license that can be found in the LICENSE file. |
| 18976 |
| 18977 // WARNING: Do not edit - generated code. |
| 18978 |
| 18979 interface CloseEvent extends Event { |
| 18980 |
| 18981 final int code; |
| 18982 |
| 18983 final String reason; |
| 18984 |
| 18985 final bool wasClean; |
| 18986 } |
| 18987 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18988 // for details. All rights reserved. Use of this source code is governed by a |
| 18989 // BSD-style license that can be found in the LICENSE file. |
| 18990 |
| 18991 // WARNING: Do not edit - generated code. |
| 18992 |
| 18993 interface Comment extends CharacterData { |
| 18994 } |
| 18995 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18996 // for details. All rights reserved. Use of this source code is governed by a |
| 18997 // BSD-style license that can be found in the LICENSE file. |
| 18998 |
| 18999 // WARNING: Do not edit - generated code. |
| 19000 |
| 19001 interface CompositionEvent extends UIEvent { |
| 19002 |
| 19003 final String data; |
| 19004 |
| 19005 void initCompositionEvent(String typeArg, bool canBubbleArg, bool cancelableAr
g, Window viewArg, String dataArg); |
| 19006 } |
| 19007 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19008 // for details. All rights reserved. Use of this source code is governed by a |
| 19009 // BSD-style license that can be found in the LICENSE file. |
| 19010 |
| 19011 // WARNING: Do not edit - generated code. |
| 19012 |
| 19013 interface Console { |
| 19014 |
| 19015 final MemoryInfo memory; |
| 19016 |
| 19017 final List profiles; |
| 19018 |
| 19019 void assertCondition(bool condition, Object arg); |
| 19020 |
| 19021 void count(); |
| 19022 |
| 19023 void debug(Object arg); |
| 19024 |
| 19025 void dir(); |
| 19026 |
| 19027 void dirxml(); |
| 19028 |
| 19029 void error(Object arg); |
| 19030 |
| 19031 void group(Object arg); |
| 19032 |
| 19033 void groupCollapsed(Object arg); |
| 19034 |
| 19035 void groupEnd(); |
| 19036 |
| 19037 void info(Object arg); |
| 19038 |
| 19039 void log(Object arg); |
| 19040 |
| 19041 void markTimeline(); |
| 19042 |
| 19043 void profile(String title); |
| 19044 |
| 19045 void profileEnd(String title); |
| 19046 |
| 19047 void time(String title); |
| 19048 |
| 19049 void timeEnd(String title, Object arg); |
| 19050 |
| 19051 void timeStamp(Object arg); |
| 19052 |
| 19053 void trace(Object arg); |
| 19054 |
| 19055 void warn(Object arg); |
| 19056 } |
| 19057 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19058 // for details. All rights reserved. Use of this source code is governed by a |
| 19059 // BSD-style license that can be found in the LICENSE file. |
| 19060 |
| 19061 // WARNING: Do not edit - generated code. |
| 19062 |
| 19063 interface ContentElement extends Element { |
| 19064 |
| 19065 String select; |
| 19066 } |
| 19067 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19068 // for details. All rights reserved. Use of this source code is governed by a |
| 19069 // BSD-style license that can be found in the LICENSE file. |
| 19070 |
| 19071 // WARNING: Do not edit - generated code. |
| 19072 |
| 19073 interface ConvolverNode extends AudioNode { |
| 19074 |
| 19075 AudioBuffer buffer; |
| 19076 |
| 19077 bool normalize; |
| 19078 } |
| 19079 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19080 // for details. All rights reserved. Use of this source code is governed by a |
| 19081 // BSD-style license that can be found in the LICENSE file. |
| 19082 |
| 19083 // WARNING: Do not edit - generated code. |
| 19084 |
| 19085 interface Coordinates { |
| 19086 |
| 19087 final num accuracy; |
| 19088 |
| 19089 final num altitude; |
| 19090 |
| 19091 final num altitudeAccuracy; |
| 19092 |
| 19093 final num heading; |
| 19094 |
| 19095 final num latitude; |
| 19096 |
| 19097 final num longitude; |
| 19098 |
| 19099 final num speed; |
| 19100 } |
| 19101 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19102 // for details. All rights reserved. Use of this source code is governed by a |
| 19103 // BSD-style license that can be found in the LICENSE file. |
| 19104 |
| 19105 // WARNING: Do not edit - generated code. |
| 19106 |
| 19107 interface Counter { |
| 19108 |
| 19109 final String identifier; |
| 19110 |
| 19111 final String listStyle; |
| 19112 |
| 19113 final String separator; |
| 19114 } |
| 19115 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19116 // for details. All rights reserved. Use of this source code is governed by a |
| 19117 // BSD-style license that can be found in the LICENSE file. |
| 19118 |
| 19119 // WARNING: Do not edit - generated code. |
| 19120 |
| 19121 interface Crypto { |
| 19122 |
| 19123 void getRandomValues(ArrayBufferView array); |
| 19124 } |
| 19125 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19126 // for details. All rights reserved. Use of this source code is governed by a |
| 19127 // BSD-style license that can be found in the LICENSE file. |
| 19128 |
| 19129 // WARNING: Do not edit - generated code. |
| 19130 |
| 19131 interface CustomEvent extends Event { |
| 19132 |
| 19133 final Object detail; |
| 19134 |
| 19135 void initCustomEvent(String typeArg, bool canBubbleArg, bool cancelableArg, Ob
ject detailArg); |
| 19136 } |
| 19137 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19138 // for details. All rights reserved. Use of this source code is governed by a |
| 19139 // BSD-style license that can be found in the LICENSE file. |
| 19140 |
| 19141 // WARNING: Do not edit - generated code. |
| 19142 |
| 19143 interface DListElement extends Element { |
| 19144 |
| 19145 bool compact; |
| 19146 } |
| 19147 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19148 // for details. All rights reserved. Use of this source code is governed by a |
| 19149 // BSD-style license that can be found in the LICENSE file. |
| 19150 |
| 19151 // WARNING: Do not edit - generated code. |
| 19152 |
| 19153 interface DOMApplicationCache extends EventTarget { |
| 19154 |
| 19155 static final int CHECKING = 2; |
| 19156 |
| 19157 static final int DOWNLOADING = 3; |
| 19158 |
| 19159 static final int IDLE = 1; |
| 19160 |
| 19161 static final int OBSOLETE = 5; |
| 19162 |
| 19163 static final int UNCACHED = 0; |
| 19164 |
| 19165 static final int UPDATEREADY = 4; |
| 19166 |
| 19167 final int status; |
| 19168 |
| 19169 DOMApplicationCacheEvents get on(); |
| 19170 |
| 19171 void abort(); |
| 19172 |
| 19173 void swapCache(); |
| 19174 |
| 19175 void update(); |
| 19176 } |
| 19177 |
| 19178 interface DOMApplicationCacheEvents extends Events { |
| 19179 |
| 19180 EventListenerList get cached(); |
| 19181 |
| 19182 EventListenerList get checking(); |
| 19183 |
| 19184 EventListenerList get downloading(); |
| 19185 |
| 19186 EventListenerList get error(); |
| 19187 |
| 19188 EventListenerList get noUpdate(); |
| 19189 |
| 19190 EventListenerList get obsolete(); |
| 19191 |
| 19192 EventListenerList get progress(); |
| 19193 |
| 19194 EventListenerList get updateReady(); |
| 19195 } |
| 19196 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19197 // for details. All rights reserved. Use of this source code is governed by a |
| 19198 // BSD-style license that can be found in the LICENSE file. |
| 19199 |
| 19200 // WARNING: Do not edit - generated code. |
| 19201 |
| 19202 interface DOMException { |
| 19203 |
| 19204 static final int ABORT_ERR = 20; |
| 19205 |
| 19206 static final int DATA_CLONE_ERR = 25; |
| 19207 |
| 19208 static final int DOMSTRING_SIZE_ERR = 2; |
| 19209 |
| 19210 static final int HIERARCHY_REQUEST_ERR = 3; |
| 19211 |
| 19212 static final int INDEX_SIZE_ERR = 1; |
| 19213 |
| 19214 static final int INUSE_ATTRIBUTE_ERR = 10; |
| 19215 |
| 19216 static final int INVALID_ACCESS_ERR = 15; |
| 19217 |
| 19218 static final int INVALID_CHARACTER_ERR = 5; |
| 19219 |
| 19220 static final int INVALID_MODIFICATION_ERR = 13; |
| 19221 |
| 19222 static final int INVALID_NODE_TYPE_ERR = 24; |
| 19223 |
| 19224 static final int INVALID_STATE_ERR = 11; |
| 19225 |
| 19226 static final int NAMESPACE_ERR = 14; |
| 19227 |
| 19228 static final int NETWORK_ERR = 19; |
| 19229 |
| 19230 static final int NOT_FOUND_ERR = 8; |
| 19231 |
| 19232 static final int NOT_SUPPORTED_ERR = 9; |
| 19233 |
| 19234 static final int NO_DATA_ALLOWED_ERR = 6; |
| 19235 |
| 19236 static final int NO_MODIFICATION_ALLOWED_ERR = 7; |
| 19237 |
| 19238 static final int QUOTA_EXCEEDED_ERR = 22; |
| 19239 |
| 19240 static final int SECURITY_ERR = 18; |
| 19241 |
| 19242 static final int SYNTAX_ERR = 12; |
| 19243 |
| 19244 static final int TIMEOUT_ERR = 23; |
| 19245 |
| 19246 static final int TYPE_MISMATCH_ERR = 17; |
| 19247 |
| 19248 static final int URL_MISMATCH_ERR = 21; |
| 19249 |
| 19250 static final int VALIDATION_ERR = 16; |
| 19251 |
| 19252 static final int WRONG_DOCUMENT_ERR = 4; |
| 19253 |
| 19254 final int code; |
| 19255 |
| 19256 final String message; |
| 19257 |
| 19258 final String name; |
| 19259 |
| 19260 String toString(); |
| 19261 } |
| 19262 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19263 // for details. All rights reserved. Use of this source code is governed by a |
| 19264 // BSD-style license that can be found in the LICENSE file. |
| 19265 |
| 19266 // WARNING: Do not edit - generated code. |
| 19267 |
| 19268 interface DOMFileSystem { |
| 19269 |
| 19270 final String name; |
| 19271 |
| 19272 final DirectoryEntry root; |
| 19273 } |
| 19274 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19275 // for details. All rights reserved. Use of this source code is governed by a |
| 19276 // BSD-style license that can be found in the LICENSE file. |
| 19277 |
| 19278 // WARNING: Do not edit - generated code. |
| 19279 |
| 19280 interface DOMFileSystemSync { |
| 19281 |
| 19282 final String name; |
| 19283 |
| 19284 final DirectoryEntrySync root; |
| 19285 } |
| 19286 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19287 // for details. All rights reserved. Use of this source code is governed by a |
| 19288 // BSD-style license that can be found in the LICENSE file. |
| 19289 |
| 19290 // WARNING: Do not edit - generated code. |
| 19291 |
| 19292 interface DOMFormData { |
| 19293 |
| 19294 void append(String name, String value, String filename); |
| 19295 } |
| 19296 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19297 // for details. All rights reserved. Use of this source code is governed by a |
| 19298 // BSD-style license that can be found in the LICENSE file. |
| 19299 |
| 19300 // WARNING: Do not edit - generated code. |
| 19301 |
| 19302 interface DOMImplementation { |
| 19303 |
| 19304 CSSStyleSheet createCSSStyleSheet(String title, String media); |
| 19305 |
| 19306 Document createDocument(String namespaceURI, String qualifiedName, DocumentTyp
e doctype); |
| 19307 |
| 19308 DocumentType createDocumentType(String qualifiedName, String publicId, String
systemId); |
| 19309 |
| 19310 Document createHTMLDocument(String title); |
| 19311 |
| 19312 bool hasFeature(String feature, String version); |
| 19313 } |
| 19314 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19315 // for details. All rights reserved. Use of this source code is governed by a |
| 19316 // BSD-style license that can be found in the LICENSE file. |
| 19317 |
| 19318 // WARNING: Do not edit - generated code. |
| 19319 |
| 19320 interface DOMMimeType { |
| 19321 |
| 19322 final String description; |
| 19323 |
| 19324 final DOMPlugin enabledPlugin; |
| 19325 |
| 19326 final String suffixes; |
| 19327 |
| 19328 final String type; |
| 19329 } |
| 19330 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19331 // for details. All rights reserved. Use of this source code is governed by a |
| 19332 // BSD-style license that can be found in the LICENSE file. |
| 19333 |
| 19334 // WARNING: Do not edit - generated code. |
| 19335 |
| 19336 interface DOMMimeTypeArray { |
| 19337 |
| 19338 final int length; |
| 19339 |
| 19340 DOMMimeType item(int index); |
| 19341 |
| 19342 DOMMimeType namedItem(String name); |
| 19343 } |
| 19344 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19345 // for details. All rights reserved. Use of this source code is governed by a |
| 19346 // BSD-style license that can be found in the LICENSE file. |
| 19347 |
| 19348 // WARNING: Do not edit - generated code. |
| 19349 |
| 19350 interface DOMParser { |
| 19351 |
| 19352 Document parseFromString(String str, String contentType); |
| 19353 } |
| 19354 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19355 // for details. All rights reserved. Use of this source code is governed by a |
| 19356 // BSD-style license that can be found in the LICENSE file. |
| 19357 |
| 19358 // WARNING: Do not edit - generated code. |
| 19359 |
| 19360 interface DOMPlugin { |
| 19361 |
| 19362 final String description; |
| 19363 |
| 19364 final String filename; |
| 19365 |
| 19366 final int length; |
| 19367 |
| 19368 final String name; |
| 19369 |
| 19370 DOMMimeType item(int index); |
| 19371 |
| 19372 DOMMimeType namedItem(String name); |
| 19373 } |
| 19374 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19375 // for details. All rights reserved. Use of this source code is governed by a |
| 19376 // BSD-style license that can be found in the LICENSE file. |
| 19377 |
| 19378 // WARNING: Do not edit - generated code. |
| 19379 |
| 19380 interface DOMPluginArray { |
| 19381 |
| 19382 final int length; |
| 19383 |
| 19384 DOMPlugin item(int index); |
| 19385 |
| 19386 DOMPlugin namedItem(String name); |
| 19387 |
| 19388 void refresh(bool reload); |
| 19389 } |
| 19390 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19391 // for details. All rights reserved. Use of this source code is governed by a |
| 19392 // BSD-style license that can be found in the LICENSE file. |
| 19393 |
| 19394 // WARNING: Do not edit - generated code. |
| 19395 |
| 19396 interface DOMSelection { |
| 19397 |
| 19398 final Node anchorNode; |
| 19399 |
| 19400 final int anchorOffset; |
| 19401 |
| 19402 final Node baseNode; |
| 19403 |
| 19404 final int baseOffset; |
| 19405 |
| 19406 final Node extentNode; |
| 19407 |
| 19408 final int extentOffset; |
| 19409 |
| 19410 final Node focusNode; |
| 19411 |
| 19412 final int focusOffset; |
| 19413 |
| 19414 final bool isCollapsed; |
| 19415 |
| 19416 final int rangeCount; |
| 19417 |
| 19418 final String type; |
| 19419 |
| 19420 void addRange(Range range); |
| 19421 |
| 19422 void collapse(Node node, int index); |
| 19423 |
| 19424 void collapseToEnd(); |
| 19425 |
| 19426 void collapseToStart(); |
| 19427 |
| 19428 bool containsNode(Node node, bool allowPartial); |
| 19429 |
| 19430 void deleteFromDocument(); |
| 19431 |
| 19432 void empty(); |
| 19433 |
| 19434 void extend(Node node, int offset); |
| 19435 |
| 19436 Range getRangeAt(int index); |
| 19437 |
| 19438 void modify(String alter, String direction, String granularity); |
| 19439 |
| 19440 void removeAllRanges(); |
| 19441 |
| 19442 void selectAllChildren(Node node); |
| 19443 |
| 19444 void setBaseAndExtent(Node baseNode, int baseOffset, Node extentNode, int exte
ntOffset); |
| 19445 |
| 19446 void setPosition(Node node, int offset); |
| 19447 |
| 19448 String toString(); |
| 19449 } |
| 19450 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19451 // for details. All rights reserved. Use of this source code is governed by a |
| 19452 // BSD-style license that can be found in the LICENSE file. |
| 19453 |
| 19454 // WARNING: Do not edit - generated code. |
| 19455 |
| 19456 interface DOMSettableTokenList extends DOMTokenList { |
| 19457 |
| 19458 String value; |
| 19459 } |
| 19460 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19461 // for details. All rights reserved. Use of this source code is governed by a |
| 19462 // BSD-style license that can be found in the LICENSE file. |
| 19463 |
| 19464 // WARNING: Do not edit - generated code. |
| 19465 |
| 19466 interface DOMTokenList { |
| 19467 |
| 19468 final int length; |
| 19469 |
| 19470 void add(String token); |
| 19471 |
| 19472 bool contains(String token); |
| 19473 |
| 19474 String item(int index); |
| 19475 |
| 19476 void remove(String token); |
| 19477 |
| 19478 String toString(); |
| 19479 |
| 19480 bool toggle(String token); |
| 19481 } |
| 19482 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19483 // for details. All rights reserved. Use of this source code is governed by a |
| 19484 // BSD-style license that can be found in the LICENSE file. |
| 19485 |
| 19486 // WARNING: Do not edit - generated code. |
| 19487 |
| 19488 interface DOMURL { |
| 19489 } |
| 19490 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19491 // for details. All rights reserved. Use of this source code is governed by a |
| 19492 // BSD-style license that can be found in the LICENSE file. |
| 19493 |
| 19494 // WARNING: Do not edit - generated code. |
| 19495 |
| 19496 interface DataTransferItem { |
| 19497 |
| 19498 final String kind; |
| 19499 |
| 19500 final String type; |
| 19501 |
| 19502 Blob getAsFile(); |
| 19503 |
| 19504 void getAsString(StringCallback callback); |
| 19505 } |
| 19506 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19507 // for details. All rights reserved. Use of this source code is governed by a |
| 19508 // BSD-style license that can be found in the LICENSE file. |
| 19509 |
| 19510 // WARNING: Do not edit - generated code. |
| 19511 |
| 19512 interface DataTransferItemList { |
| 19513 |
| 19514 final int length; |
| 19515 |
| 19516 void add(var data_OR_file, [String type]); |
| 19517 |
| 19518 void clear(); |
| 19519 |
| 19520 DataTransferItem item(int index); |
| 19521 } |
| 19522 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19523 // for details. All rights reserved. Use of this source code is governed by a |
| 19524 // BSD-style license that can be found in the LICENSE file. |
| 19525 |
| 19526 // WARNING: Do not edit - generated code. |
| 19527 |
| 19528 interface DataView extends ArrayBufferView { |
| 19529 |
| 19530 num getFloat32(int byteOffset, [bool littleEndian]); |
| 19531 |
| 19532 num getFloat64(int byteOffset, [bool littleEndian]); |
| 19533 |
| 19534 int getInt16(int byteOffset, [bool littleEndian]); |
| 19535 |
| 19536 int getInt32(int byteOffset, [bool littleEndian]); |
| 19537 |
| 19538 Object getInt8(); |
| 19539 |
| 19540 int getUint16(int byteOffset, [bool littleEndian]); |
| 19541 |
| 19542 int getUint32(int byteOffset, [bool littleEndian]); |
| 19543 |
| 19544 Object getUint8(); |
| 19545 |
| 19546 void setFloat32(int byteOffset, num value, [bool littleEndian]); |
| 19547 |
| 19548 void setFloat64(int byteOffset, num value, [bool littleEndian]); |
| 19549 |
| 19550 void setInt16(int byteOffset, int value, [bool littleEndian]); |
| 19551 |
| 19552 void setInt32(int byteOffset, int value, [bool littleEndian]); |
| 19553 |
| 19554 void setInt8(); |
| 19555 |
| 19556 void setUint16(int byteOffset, int value, [bool littleEndian]); |
| 19557 |
| 19558 void setUint32(int byteOffset, int value, [bool littleEndian]); |
| 19559 |
| 19560 void setUint8(); |
| 19561 } |
| 19562 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19563 // for details. All rights reserved. Use of this source code is governed by a |
| 19564 // BSD-style license that can be found in the LICENSE file. |
| 19565 |
| 19566 // WARNING: Do not edit - generated code. |
| 19567 |
| 19568 interface Database { |
| 19569 |
| 19570 final String version; |
| 19571 |
| 19572 void changeVersion(String oldVersion, String newVersion, [SQLTransactionCallba
ck callback, SQLTransactionErrorCallback errorCallback, VoidCallback successCall
back]); |
| 19573 |
| 19574 void readTransaction(SQLTransactionCallback callback, [SQLTransactionErrorCall
back errorCallback, VoidCallback successCallback]); |
| 19575 |
| 19576 void transaction(SQLTransactionCallback callback, [SQLTransactionErrorCallback
errorCallback, VoidCallback successCallback]); |
| 19577 } |
| 19578 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 19579 // for details. All rights reserved. Use of this source code is governed by a |
| 19580 // BSD-style license that can be found in the LICENSE file. |
| 19581 |
| 19582 // WARNING: Do not edit - generated code. |
| 19583 |
| 19584 typedef bool DatabaseCallback(var database); |
| 19585 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19586 // for details. All rights reserved. Use of this source code is governed by a |
| 19587 // BSD-style license that can be found in the LICENSE file. |
| 19588 |
| 19589 // WARNING: Do not edit - generated code. |
| 19590 |
| 19591 interface DatabaseSync { |
| 19592 |
| 19593 final String lastErrorMessage; |
| 19594 |
| 19595 final String version; |
| 19596 |
| 19597 void changeVersion(String oldVersion, String newVersion, [SQLTransactionSyncCa
llback callback]); |
| 19598 |
| 19599 void readTransaction(SQLTransactionSyncCallback callback); |
| 19600 |
| 19601 void transaction(SQLTransactionSyncCallback callback); |
| 19602 } |
| 19603 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19604 // for details. All rights reserved. Use of this source code is governed by a |
| 19605 // BSD-style license that can be found in the LICENSE file. |
| 19606 |
| 19607 // WARNING: Do not edit - generated code. |
| 19608 |
| 19609 interface DedicatedWorkerContext extends WorkerContext { |
| 19610 |
| 19611 EventListener onmessage; |
| 19612 |
| 19613 void postMessage(Object message, [List messagePorts]); |
| 19614 |
| 19615 void webkitPostMessage(Object message, [List transferList]); |
| 19616 } |
| 19617 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19618 // for details. All rights reserved. Use of this source code is governed by a |
| 19619 // BSD-style license that can be found in the LICENSE file. |
| 19620 |
| 19621 // WARNING: Do not edit - generated code. |
| 19622 |
| 19623 interface DelayNode extends AudioNode { |
| 19624 |
| 19625 final AudioParam delayTime; |
| 19626 } |
| 19627 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19628 // for details. All rights reserved. Use of this source code is governed by a |
| 19629 // BSD-style license that can be found in the LICENSE file. |
| 19630 |
| 19631 // WARNING: Do not edit - generated code. |
| 19632 |
| 19633 interface DetailsElement extends Element { |
| 19634 |
| 19635 bool open; |
| 19636 } |
| 19637 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19638 // for details. All rights reserved. Use of this source code is governed by a |
| 19639 // BSD-style license that can be found in the LICENSE file. |
| 19640 |
| 19641 // WARNING: Do not edit - generated code. |
| 19642 |
| 19643 interface DeviceMotionEvent extends Event { |
| 19644 |
| 19645 final num interval; |
| 19646 } |
| 19647 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19648 // for details. All rights reserved. Use of this source code is governed by a |
| 19649 // BSD-style license that can be found in the LICENSE file. |
| 19650 |
| 19651 // WARNING: Do not edit - generated code. |
| 19652 |
| 19653 interface DeviceOrientationEvent extends Event { |
| 19654 |
| 19655 final bool absolute; |
| 19656 |
| 19657 final num alpha; |
| 19658 |
| 19659 final num beta; |
| 19660 |
| 19661 final num gamma; |
| 19662 |
| 19663 void initDeviceOrientationEvent(String type, bool bubbles, bool cancelable, nu
m alpha, num beta, num gamma, bool absolute); |
| 19664 } |
| 19665 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19666 // for details. All rights reserved. Use of this source code is governed by a |
| 19667 // BSD-style license that can be found in the LICENSE file. |
| 19668 |
| 19669 // WARNING: Do not edit - generated code. |
| 19670 |
| 19671 interface DirectoryElement extends Element { |
| 19672 |
| 19673 bool compact; |
| 19674 } |
| 19675 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19676 // for details. All rights reserved. Use of this source code is governed by a |
| 19677 // BSD-style license that can be found in the LICENSE file. |
| 19678 |
| 19679 // WARNING: Do not edit - generated code. |
| 19680 |
| 19681 interface DirectoryEntry extends Entry { |
| 19682 |
| 19683 DirectoryReader createReader(); |
| 19684 |
| 19685 void getDirectory(String path, [Object flags, EntryCallback successCallback, E
rrorCallback errorCallback]); |
| 19686 |
| 19687 void getFile(String path, [Object flags, EntryCallback successCallback, ErrorC
allback errorCallback]); |
| 19688 |
| 19689 void removeRecursively(VoidCallback successCallback, [ErrorCallback errorCallb
ack]); |
| 19690 } |
| 19691 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19692 // for details. All rights reserved. Use of this source code is governed by a |
| 19693 // BSD-style license that can be found in the LICENSE file. |
| 19694 |
| 19695 // WARNING: Do not edit - generated code. |
| 19696 |
| 19697 interface DirectoryEntrySync extends EntrySync { |
| 19698 |
| 19699 DirectoryReaderSync createReader(); |
| 19700 |
| 19701 DirectoryEntrySync getDirectory(String path, Object flags); |
| 19702 |
| 19703 FileEntrySync getFile(String path, Object flags); |
| 19704 |
| 19705 void removeRecursively(); |
| 19706 } |
| 19707 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19708 // for details. All rights reserved. Use of this source code is governed by a |
| 19709 // BSD-style license that can be found in the LICENSE file. |
| 19710 |
| 19711 // WARNING: Do not edit - generated code. |
| 19712 |
| 19713 interface DirectoryReader { |
| 19714 |
| 19715 void readEntries(EntriesCallback successCallback, [ErrorCallback errorCallback
]); |
| 19716 } |
| 19717 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19718 // for details. All rights reserved. Use of this source code is governed by a |
| 19719 // BSD-style license that can be found in the LICENSE file. |
| 19720 |
| 19721 // WARNING: Do not edit - generated code. |
| 19722 |
| 19723 interface DirectoryReaderSync { |
| 19724 |
| 19725 EntryArraySync readEntries(); |
| 19726 } |
| 19727 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19728 // for details. All rights reserved. Use of this source code is governed by a |
| 19729 // BSD-style license that can be found in the LICENSE file. |
| 19730 |
| 19731 // WARNING: Do not edit - generated code. |
| 19732 |
| 19733 interface DivElement extends Element { |
| 19734 |
| 19735 String align; |
| 19736 } |
| 19737 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19738 // for details. All rights reserved. Use of this source code is governed by a |
| 19739 // BSD-style license that can be found in the LICENSE file. |
| 19740 |
| 19741 interface Document extends HtmlElement { |
| 19742 |
| 19743 // TODO(jacobr): remove these methods and let them be generated automatically |
| 19744 // once dart supports defining fields with the same name in an interface and |
| 19745 // its parent interface. |
| 19746 String get title(); |
| 19747 void set title(String value); |
| 19748 |
| 19749 |
| 19750 final Element activeElement; |
| 19751 |
| 19752 Element body; |
| 19753 |
| 19754 String charset; |
| 19755 |
| 19756 String cookie; |
| 19757 |
| 19758 final Window defaultView; |
| 19759 |
| 19760 final String domain; |
| 19761 |
| 19762 final HeadElement head; |
| 19763 |
| 19764 final String lastModified; |
| 19765 |
| 19766 final String preferredStylesheetSet; |
| 19767 |
| 19768 final String readyState; |
| 19769 |
| 19770 final String referrer; |
| 19771 |
| 19772 String selectedStylesheetSet; |
| 19773 |
| 19774 final StyleSheetList styleSheets; |
| 19775 |
| 19776 final Element webkitCurrentFullScreenElement; |
| 19777 |
| 19778 final bool webkitFullScreenKeyboardInputAllowed; |
| 19779 |
| 19780 final bool webkitHidden; |
| 19781 |
| 19782 final bool webkitIsFullScreen; |
| 19783 |
| 19784 final String webkitVisibilityState; |
| 19785 |
| 19786 DocumentEvents get on(); |
| 19787 |
| 19788 Range caretRangeFromPoint(int x, int y); |
| 19789 |
| 19790 CDATASection createCDATASection(String data); |
| 19791 |
| 19792 DocumentFragment createDocumentFragment(); |
| 19793 |
| 19794 Range createRange(); |
| 19795 |
| 19796 Text createTextNode(String data); |
| 19797 |
| 19798 Touch createTouch(Window window, EventTarget target, int identifier, int pageX
, int pageY, int screenX, int screenY, int webkitRadiusX, int webkitRadiusY, num
webkitRotationAngle, num webkitForce); |
| 19799 |
| 19800 TouchList createTouchList(); |
| 19801 |
| 19802 Element elementFromPoint(int x, int y); |
| 19803 |
| 19804 bool execCommand(String command, bool userInterface, String value); |
| 19805 |
| 19806 Object getCSSCanvasContext(String contextId, String name, int width, int heigh
t); |
| 19807 |
| 19808 Element getElementById(String elementId); |
| 19809 |
| 19810 bool queryCommandEnabled(String command); |
| 19811 |
| 19812 bool queryCommandIndeterm(String command); |
| 19813 |
| 19814 bool queryCommandState(String command); |
| 19815 |
| 19816 bool queryCommandSupported(String command); |
| 19817 |
| 19818 String queryCommandValue(String command); |
| 19819 |
| 19820 void webkitCancelFullScreen(); |
| 19821 |
| 19822 WebKitNamedFlow webkitGetFlowByName(String name); |
| 19823 |
| 19824 } |
| 19825 |
| 19826 interface DocumentEvents extends ElementEvents { |
| 19827 |
| 19828 EventListenerList get abort(); |
| 19829 |
| 19830 EventListenerList get beforeCopy(); |
| 19831 |
| 19832 EventListenerList get beforeCut(); |
| 19833 |
| 19834 EventListenerList get beforePaste(); |
| 19835 |
| 19836 EventListenerList get blur(); |
| 19837 |
| 19838 EventListenerList get change(); |
| 19839 |
| 19840 EventListenerList get click(); |
| 19841 |
| 19842 EventListenerList get contextMenu(); |
| 19843 |
| 19844 EventListenerList get copy(); |
| 19845 |
| 19846 EventListenerList get cut(); |
| 19847 |
| 19848 EventListenerList get doubleClick(); |
| 19849 |
| 19850 EventListenerList get drag(); |
| 19851 |
| 19852 EventListenerList get dragEnd(); |
| 19853 |
| 19854 EventListenerList get dragEnter(); |
| 19855 |
| 19856 EventListenerList get dragLeave(); |
| 19857 |
| 19858 EventListenerList get dragOver(); |
| 19859 |
| 19860 EventListenerList get dragStart(); |
| 19861 |
| 19862 EventListenerList get drop(); |
| 19863 |
| 19864 EventListenerList get error(); |
| 19865 |
| 19866 EventListenerList get focus(); |
| 19867 |
| 19868 EventListenerList get fullScreenChange(); |
| 19869 |
| 19870 EventListenerList get fullScreenError(); |
| 19871 |
| 19872 EventListenerList get input(); |
| 19873 |
| 19874 EventListenerList get invalid(); |
| 19875 |
| 19876 EventListenerList get keyDown(); |
| 19877 |
| 19878 EventListenerList get keyPress(); |
| 19879 |
| 19880 EventListenerList get keyUp(); |
| 19881 |
| 19882 EventListenerList get load(); |
| 19883 |
| 19884 EventListenerList get mouseDown(); |
| 19885 |
| 19886 EventListenerList get mouseMove(); |
| 19887 |
| 19888 EventListenerList get mouseOut(); |
| 19889 |
| 19890 EventListenerList get mouseOver(); |
| 19891 |
| 19892 EventListenerList get mouseUp(); |
| 19893 |
| 19894 EventListenerList get mouseWheel(); |
| 19895 |
| 19896 EventListenerList get paste(); |
| 19897 |
| 19898 EventListenerList get readyStateChange(); |
| 19899 |
| 19900 EventListenerList get reset(); |
| 19901 |
| 19902 EventListenerList get scroll(); |
| 19903 |
| 19904 EventListenerList get search(); |
| 19905 |
| 19906 EventListenerList get select(); |
| 19907 |
| 19908 EventListenerList get selectStart(); |
| 19909 |
| 19910 EventListenerList get selectionChange(); |
| 19911 |
| 19912 EventListenerList get submit(); |
| 19913 |
| 19914 EventListenerList get touchCancel(); |
| 19915 |
| 19916 EventListenerList get touchEnd(); |
| 19917 |
| 19918 EventListenerList get touchMove(); |
| 19919 |
| 19920 EventListenerList get touchStart(); |
| 19921 } |
| 19922 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19923 // for details. All rights reserved. Use of this source code is governed by a |
| 19924 // BSD-style license that can be found in the LICENSE file. |
| 19925 |
| 19926 // WARNING: Do not edit - generated code. |
| 19927 |
| 19928 interface DocumentFragment extends Node, NodeSelector { |
| 19929 |
| 19930 Element querySelector(String selectors); |
| 19931 |
| 19932 NodeList querySelectorAll(String selectors); |
| 19933 } |
| 19934 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19935 // for details. All rights reserved. Use of this source code is governed by a |
| 19936 // BSD-style license that can be found in the LICENSE file. |
| 19937 |
| 19938 // WARNING: Do not edit - generated code. |
| 19939 |
| 19940 interface DocumentType extends Node { |
| 19941 |
| 19942 final NamedNodeMap entities; |
| 19943 |
| 19944 final String internalSubset; |
| 19945 |
| 19946 final String name; |
| 19947 |
| 19948 final NamedNodeMap notations; |
| 19949 |
| 19950 final String publicId; |
| 19951 |
| 19952 final String systemId; |
| 19953 } |
| 19954 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19955 // for details. All rights reserved. Use of this source code is governed by a |
| 19956 // BSD-style license that can be found in the LICENSE file. |
| 19957 |
| 19958 // WARNING: Do not edit - generated code. |
| 19959 |
| 19960 interface DynamicsCompressorNode extends AudioNode { |
| 19961 } |
| 19962 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 19963 // for details. All rights reserved. Use of this source code is governed by a |
| 19964 // BSD-style license that can be found in the LICENSE file. |
| 19965 |
| 19966 // WARNING: Do not edit - generated code. |
| 19967 |
| 19968 /** |
| 19969 * Provides a Map abstraction on top of data-* attributes, similar to the |
| 19970 * dataSet in the old DOM. |
| 19971 */ |
| 19972 class _DataAttributeMap implements Map<String, String> { |
| 19973 |
| 19974 final Map<String, String> _attributes; |
| 19975 |
| 19976 _DataAttributeMap(this._attributes); |
| 19977 |
| 19978 // interface Map |
| 19979 |
| 19980 // TODO: Use lazy iterator when it is available on Map. |
| 19981 bool containsValue(String value) => getValues().some((v) => v == value); |
| 19982 |
| 19983 bool containsKey(String key) => _attributes.containsKey(_attr(key)); |
| 19984 |
| 19985 String operator [](String key) => _attributes[_attr(key)]; |
| 19986 |
| 19987 void operator []=(String key, String value) { |
| 19988 _attributes[_attr(key)] = value; |
| 19989 } |
| 19990 |
| 19991 String putIfAbsent(String key, String ifAbsent()) { |
| 19992 if (!containsKey(key)) { |
| 19993 return this[key] = ifAbsent(); |
| 19994 } |
| 19995 return this[key]; |
| 19996 } |
| 19997 |
| 19998 String remove(String key) => _attributes.remove(_attr(key)); |
| 19999 |
| 20000 void clear() { |
| 20001 // Needs to operate on a snapshot since we are mutatiting the collection. |
| 20002 for (String key in getKeys()) { |
| 20003 remove(key); |
| 20004 } |
| 20005 } |
| 20006 |
| 20007 void forEach(void f(String key, String value)) { |
| 20008 _attributes.forEach((String key, String value) { |
| 20009 if (_matches(key)) { |
| 20010 f(_strip(key), value); |
| 20011 } |
| 20012 }); |
| 20013 } |
| 20014 |
| 20015 Collection<String> getKeys() { |
| 20016 final keys = new List<String>(); |
| 20017 _attributes.forEach((String key, String value) { |
| 20018 if (_matches(key)) { |
| 20019 keys.add(_strip(key)); |
| 20020 } |
| 20021 }); |
| 20022 return keys; |
| 20023 } |
| 20024 |
| 20025 Collection<String> getValues() { |
| 20026 final values = new List<String>(); |
| 20027 _attributes.forEach((String key, String value) { |
| 20028 if (_matches(key)) { |
| 20029 values.add(value); |
| 20030 } |
| 20031 }); |
| 20032 return values; |
| 20033 } |
| 20034 |
| 20035 int get length() => getKeys().length; |
| 20036 |
| 20037 // TODO: Use lazy iterator when it is available on Map. |
| 20038 bool isEmpty() => length == 0; |
| 20039 |
| 20040 // Helpers. |
| 20041 String _attr(String key) => 'data-$key'; |
| 20042 bool _matches(String key) => key.startsWith('data-'); |
| 20043 String _strip(String key) => key.substring(5); |
| 20044 } |
| 20045 |
| 20046 class _CssClassSet implements Set<String> { |
| 20047 |
| 20048 final _ElementJs _element; |
| 20049 |
| 20050 _CssClassSet(this._element); |
| 20051 |
| 20052 String toString() { |
| 20053 return _formatSet(_read()); |
| 20054 } |
| 20055 |
| 20056 // interface Iterable - BEGIN |
| 20057 Iterator<String> iterator() { |
| 20058 return _read().iterator(); |
| 20059 } |
| 20060 // interface Iterable - END |
| 20061 |
| 20062 // interface Collection - BEGIN |
| 20063 void forEach(void f(String element)) { |
| 20064 _read().forEach(f); |
| 20065 } |
| 20066 |
| 20067 Collection map(f(String element)) { |
| 20068 return _read().map(f); |
| 20069 } |
| 20070 |
| 20071 Collection<String> filter(bool f(String element)) { |
| 20072 return _read().filter(f); |
| 20073 } |
| 20074 |
| 20075 bool every(bool f(String element)) { |
| 20076 return _read().every(f); |
| 20077 } |
| 20078 |
| 20079 bool some(bool f(String element)) { |
| 20080 return _read().some(f); |
| 20081 } |
| 20082 |
| 20083 bool isEmpty() { |
| 20084 return _read().isEmpty(); |
| 20085 } |
| 20086 |
| 20087 int get length() { |
| 20088 return _read().length; |
| 20089 } |
| 20090 // interface Collection - END |
| 20091 |
| 20092 // interface Set - BEGIN |
| 20093 bool contains(String value) { |
| 20094 return _read().contains(value); |
| 20095 } |
| 20096 |
| 20097 void add(String value) { |
| 20098 // TODO - figure out if we need to do any validation here |
| 20099 // or if the browser natively does enough |
| 20100 _modify((s) => s.add(value)); |
| 20101 } |
| 20102 |
| 20103 bool remove(String value) { |
| 20104 Set<String> s = _read(); |
| 20105 bool result = s.remove(value); |
| 20106 _write(s); |
| 20107 return result; |
| 20108 } |
| 20109 |
| 20110 void addAll(Collection<String> collection) { |
| 20111 // TODO - see comment above about validation |
| 20112 _modify((s) => s.addAll(collection)); |
| 20113 } |
| 20114 |
| 20115 void removeAll(Collection<String> collection) { |
| 20116 _modify((s) => s.removeAll(collection)); |
| 20117 } |
| 20118 |
| 20119 bool isSubsetOf(Collection<String> collection) { |
| 20120 return _read().isSubsetOf(collection); |
| 20121 } |
| 20122 |
| 20123 bool containsAll(Collection<String> collection) { |
| 20124 return _read().containsAll(collection); |
| 20125 } |
| 20126 |
| 20127 Set<String> intersection(Collection<String> other) { |
| 20128 return _read().intersection(other); |
| 20129 } |
| 20130 |
| 20131 void clear() { |
| 20132 _modify((s) => s.clear()); |
| 20133 } |
| 20134 // interface Set - END |
| 20135 |
| 20136 /** |
| 20137 * Helper method used to modify the set of css classes on this element. |
| 20138 * |
| 20139 * f - callback with: |
| 20140 * s - a Set of all the css class name currently on this element. |
| 20141 * |
| 20142 * After f returns, the modified set is written to the |
| 20143 * className property of this element. |
| 20144 */ |
| 20145 void _modify( f(Set<String> s)) { |
| 20146 Set<String> s = _read(); |
| 20147 f(s); |
| 20148 _write(s); |
| 20149 } |
| 20150 |
| 20151 /** |
| 20152 * Read the class names from the Element class property, |
| 20153 * and put them into a set (duplicates are discarded). |
| 20154 */ |
| 20155 Set<String> _read() { |
| 20156 // TODO(mattsh) simplify this once split can take regex. |
| 20157 Set<String> s = new Set<String>(); |
| 20158 for (String name in _className().split(' ')) { |
| 20159 String trimmed = name.trim(); |
| 20160 if (!trimmed.isEmpty()) { |
| 20161 s.add(trimmed); |
| 20162 } |
| 20163 } |
| 20164 return s; |
| 20165 } |
| 20166 |
| 20167 /** |
| 20168 * Read the class names as a space-separated string. This is meant to be |
| 20169 * overridden by subclasses. |
| 20170 */ |
| 20171 String _className() => _element._className; |
| 20172 |
| 20173 /** |
| 20174 * Join all the elements of a set into one string and write |
| 20175 * back to the element. |
| 20176 */ |
| 20177 void _write(Set s) { |
| 20178 _element._className = _formatSet(s); |
| 20179 } |
| 20180 |
| 20181 String _formatSet(Set<String> s) { |
| 20182 // TODO(mattsh) should be able to pass Set to String.joins http:/b/5398605 |
| 20183 List list = new List.from(s); |
| 20184 return Strings.join(list, ' '); |
| 20185 } |
| 20186 } |
| 20187 |
| 20188 interface ElementList extends List<Element> { |
| 20189 // TODO(jacobr): add element batch manipulation methods. |
| 20190 ElementList filter(bool f(Element element)); |
| 20191 |
| 20192 ElementList getRange(int start, int length); |
| 20193 |
| 20194 Element get first(); |
| 20195 // TODO(jacobr): add insertAt |
| 20196 } |
| 20197 |
| 20198 /** |
| 20199 * All your element measurement needs in one place |
| 20200 */ |
| 20201 interface ElementRect { |
| 20202 // Relative to offsetParent |
| 20203 ClientRect get client(); |
| 20204 ClientRect get offset(); |
| 20205 ClientRect get scroll(); |
| 20206 // In global coords |
| 20207 ClientRect get bounding(); |
| 20208 // In global coords |
| 20209 List<ClientRect> get clientRects(); |
| 20210 } |
| 20211 |
| 20212 // TODO(jacobr): referencing _ElementJs here is problematic when we need |
| 20213 // to support wrappers as well. |
| 20214 interface Element extends Node, NodeSelector default _ElementJs { |
| 20215 // TODO(jacobr): switch back to: |
| 20216 // interface Element extends Node, NodeSelector, ElementTraversal default _Eleme
ntJs { |
| 20217 Element.html(String html); |
| 20218 Element.tag(String tag); |
| 20219 |
| 20220 Map<String, String> get attributes(); |
| 20221 void set attributes(Map<String, String> value); |
| 20222 |
| 20223 // TODO(jacobr): remove these methods and let them be generated automatically |
| 20224 // once dart supports defining fields with the same name in an interface and |
| 20225 // its parent interface. |
| 20226 String get title(); |
| 20227 void set title(String value); |
| 20228 |
| 20229 ElementList get elements(); |
| 20230 |
| 20231 // TODO: The type of value should be Collection<Element>. See http://b/5392897 |
| 20232 void set elements(value); |
| 20233 |
| 20234 Element query(String selectors); |
| 20235 |
| 20236 ElementList queryAll(String selectors); |
| 20237 |
| 20238 Set<String> get classes(); |
| 20239 |
| 20240 // TODO: The type of value should be Collection<String>. See http://b/5392897 |
| 20241 void set classes(value); |
| 20242 |
| 20243 Map<String, String> get dataAttributes(); |
| 20244 void set dataAttributes(Map<String, String> value); |
| 20245 |
| 20246 bool matchesSelector([String selectors]); |
| 20247 |
| 20248 Future<ElementRect> get rect(); |
| 20249 |
| 20250 Future<CSSStyleDeclaration> get computedStyle(); |
| 20251 |
| 20252 Future<CSSStyleDeclaration> getComputedStyle(String pseudoElement); |
| 20253 |
| 20254 Element clone(bool deep); |
| 20255 |
| 20256 |
| 20257 Element get parent(); |
| 20258 |
| 20259 |
| 20260 static final int ALLOW_KEYBOARD_INPUT = 1; |
| 20261 |
| 20262 final int childElementCount; |
| 20263 |
| 20264 final HTMLCollection children; |
| 20265 |
| 20266 final DOMTokenList classList; |
| 20267 |
| 20268 final String className; |
| 20269 |
| 20270 final int clientHeight; |
| 20271 |
| 20272 final int clientLeft; |
| 20273 |
| 20274 final int clientTop; |
| 20275 |
| 20276 final int clientWidth; |
| 20277 |
| 20278 String contentEditable; |
| 20279 |
| 20280 String dir; |
| 20281 |
| 20282 bool draggable; |
| 20283 |
| 20284 final Element firstElementChild; |
| 20285 |
| 20286 bool hidden; |
| 20287 |
| 20288 String id; |
| 20289 |
| 20290 String innerHTML; |
| 20291 |
| 20292 final bool isContentEditable; |
| 20293 |
| 20294 String lang; |
| 20295 |
| 20296 final Element lastElementChild; |
| 20297 |
| 20298 final Element nextElementSibling; |
| 20299 |
| 20300 final int offsetHeight; |
| 20301 |
| 20302 final int offsetLeft; |
| 20303 |
| 20304 final Element offsetParent; |
| 20305 |
| 20306 final int offsetTop; |
| 20307 |
| 20308 final int offsetWidth; |
| 20309 |
| 20310 final String outerHTML; |
| 20311 |
| 20312 final Element previousElementSibling; |
| 20313 |
| 20314 final int scrollHeight; |
| 20315 |
| 20316 int scrollLeft; |
| 20317 |
| 20318 int scrollTop; |
| 20319 |
| 20320 final int scrollWidth; |
| 20321 |
| 20322 bool spellcheck; |
| 20323 |
| 20324 final CSSStyleDeclaration style; |
| 20325 |
| 20326 int tabIndex; |
| 20327 |
| 20328 final String tagName; |
| 20329 |
| 20330 final String webkitRegionOverflow; |
| 20331 |
| 20332 String webkitdropzone; |
| 20333 |
| 20334 ElementEvents get on(); |
| 20335 |
| 20336 void blur(); |
| 20337 |
| 20338 void click(); |
| 20339 |
| 20340 void focus(); |
| 20341 |
| 20342 ClientRect getBoundingClientRect(); |
| 20343 |
| 20344 ClientRectList getClientRects(); |
| 20345 |
| 20346 NodeList getElementsByClassName(String name); |
| 20347 |
| 20348 NodeList getElementsByTagName(String name); |
| 20349 |
| 20350 NodeList getElementsByTagNameNS(String namespaceURI, String localName); |
| 20351 |
| 20352 Element insertAdjacentElement(String where, Element element); |
| 20353 |
| 20354 void insertAdjacentHTML(String where, String html); |
| 20355 |
| 20356 void insertAdjacentText(String where, String text); |
| 20357 |
| 20358 Element querySelector(String selectors); |
| 20359 |
| 20360 NodeList querySelectorAll(String selectors); |
| 20361 |
| 20362 void scrollByLines(int lines); |
| 20363 |
| 20364 void scrollByPages(int pages); |
| 20365 |
| 20366 void scrollIntoView([bool alignWithTop]); |
| 20367 |
| 20368 void scrollIntoViewIfNeeded([bool centerIfNeeded]); |
| 20369 |
| 20370 bool webkitMatchesSelector(String selectors); |
| 20371 |
| 20372 void webkitRequestFullScreen(int flags); |
| 20373 |
| 20374 } |
| 20375 |
| 20376 interface ElementEvents extends Events { |
| 20377 |
| 20378 EventListenerList get abort(); |
| 20379 |
| 20380 EventListenerList get beforeCopy(); |
| 20381 |
| 20382 EventListenerList get beforeCut(); |
| 20383 |
| 20384 EventListenerList get beforePaste(); |
| 20385 |
| 20386 EventListenerList get blur(); |
| 20387 |
| 20388 EventListenerList get change(); |
| 20389 |
| 20390 EventListenerList get click(); |
| 20391 |
| 20392 EventListenerList get contextMenu(); |
| 20393 |
| 20394 EventListenerList get copy(); |
| 20395 |
| 20396 EventListenerList get cut(); |
| 20397 |
| 20398 EventListenerList get doubleClick(); |
| 20399 |
| 20400 EventListenerList get drag(); |
| 20401 |
| 20402 EventListenerList get dragEnd(); |
| 20403 |
| 20404 EventListenerList get dragEnter(); |
| 20405 |
| 20406 EventListenerList get dragLeave(); |
| 20407 |
| 20408 EventListenerList get dragOver(); |
| 20409 |
| 20410 EventListenerList get dragStart(); |
| 20411 |
| 20412 EventListenerList get drop(); |
| 20413 |
| 20414 EventListenerList get error(); |
| 20415 |
| 20416 EventListenerList get focus(); |
| 20417 |
| 20418 EventListenerList get fullScreenChange(); |
| 20419 |
| 20420 EventListenerList get fullScreenError(); |
| 20421 |
| 20422 EventListenerList get input(); |
| 20423 |
| 20424 EventListenerList get invalid(); |
| 20425 |
| 20426 EventListenerList get keyDown(); |
| 20427 |
| 20428 EventListenerList get keyPress(); |
| 20429 |
| 20430 EventListenerList get keyUp(); |
| 20431 |
| 20432 EventListenerList get load(); |
| 20433 |
| 20434 EventListenerList get mouseDown(); |
| 20435 |
| 20436 EventListenerList get mouseMove(); |
| 20437 |
| 20438 EventListenerList get mouseOut(); |
| 20439 |
| 20440 EventListenerList get mouseOver(); |
| 20441 |
| 20442 EventListenerList get mouseUp(); |
| 20443 |
| 20444 EventListenerList get mouseWheel(); |
| 20445 |
| 20446 EventListenerList get paste(); |
| 20447 |
| 20448 EventListenerList get reset(); |
| 20449 |
| 20450 EventListenerList get scroll(); |
| 20451 |
| 20452 EventListenerList get search(); |
| 20453 |
| 20454 EventListenerList get select(); |
| 20455 |
| 20456 EventListenerList get selectStart(); |
| 20457 |
| 20458 EventListenerList get submit(); |
| 20459 |
| 20460 EventListenerList get touchCancel(); |
| 20461 |
| 20462 EventListenerList get touchEnd(); |
| 20463 |
| 20464 EventListenerList get touchLeave(); |
| 20465 |
| 20466 EventListenerList get touchMove(); |
| 20467 |
| 20468 EventListenerList get touchStart(); |
| 20469 |
| 20470 EventListenerList get transitionEnd(); |
| 20471 } |
| 20472 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 20473 // for details. All rights reserved. Use of this source code is governed by a |
| 20474 // BSD-style license that can be found in the LICENSE file. |
| 20475 |
| 20476 // WARNING: Do not edit - generated code. |
| 20477 |
| 20478 interface ElementTimeControl { |
| 20479 |
| 20480 void beginElement(); |
| 20481 |
| 20482 void beginElementAt(num offset); |
| 20483 |
| 20484 void endElement(); |
| 20485 |
| 20486 void endElementAt(num offset); |
| 20487 } |
| 20488 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 20489 // for details. All rights reserved. Use of this source code is governed by a |
| 20490 // BSD-style license that can be found in the LICENSE file. |
| 20491 |
| 20492 // WARNING: Do not edit - generated code. |
| 20493 |
| 20494 interface ElementTraversal { |
| 20495 |
| 20496 final int childElementCount; |
| 20497 |
| 20498 final Element firstElementChild; |
| 20499 |
| 20500 final Element lastElementChild; |
| 20501 |
| 20502 final Element nextElementSibling; |
| 20503 |
| 20504 final Element previousElementSibling; |
| 20505 } |
| 20506 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 20507 // for details. All rights reserved. Use of this source code is governed by a |
| 20508 // BSD-style license that can be found in the LICENSE file. |
| 20509 |
| 20510 // WARNING: Do not edit - generated code. |
| 20511 |
| 20512 interface EmbedElement extends Element { |
| 20513 |
| 20514 String align; |
| 20515 |
| 20516 String height; |
| 20517 |
| 20518 String name; |
| 20519 |
| 20520 String src; |
| 20521 |
| 20522 String type; |
| 20523 |
| 20524 String width; |
| 20525 } |
| 20526 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 20527 // for details. All rights reserved. Use of this source code is governed by a |
| 20528 // BSD-style license that can be found in the LICENSE file. |
| 20529 |
| 20530 // WARNING: Do not edit - generated code. |
| 20531 |
| 20532 interface Entity extends Node { |
| 20533 |
| 20534 final String notationName; |
| 20535 |
| 20536 final String publicId; |
| 20537 |
| 20538 final String systemId; |
| 20539 } |
| 20540 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 20541 // for details. All rights reserved. Use of this source code is governed by a |
| 20542 // BSD-style license that can be found in the LICENSE file. |
| 20543 |
| 20544 // WARNING: Do not edit - generated code. |
| 20545 |
| 20546 interface EntityReference extends Node { |
| 20547 } |
| 20548 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 20549 // for details. All rights reserved. Use of this source code is governed by a |
| 20550 // BSD-style license that can be found in the LICENSE file. |
| 20551 |
| 20552 // WARNING: Do not edit - generated code. |
| 20553 |
| 20554 typedef bool EntriesCallback(EntryArray entries); |
| 20555 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 20556 // for details. All rights reserved. Use of this source code is governed by a |
| 20557 // BSD-style license that can be found in the LICENSE file. |
| 20558 |
| 20559 // WARNING: Do not edit - generated code. |
| 20560 |
| 20561 interface Entry { |
| 20562 |
| 20563 final DOMFileSystem filesystem; |
| 20564 |
| 20565 final String fullPath; |
| 20566 |
| 20567 final bool isDirectory; |
| 20568 |
| 20569 final bool isFile; |
| 20570 |
| 20571 final String name; |
| 20572 |
| 20573 void copyTo(DirectoryEntry parent, [String name, EntryCallback successCallback
, ErrorCallback errorCallback]); |
| 20574 |
| 20575 void getMetadata(MetadataCallback successCallback, [ErrorCallback errorCallbac
k]); |
| 20576 |
| 20577 void getParent([EntryCallback successCallback, ErrorCallback errorCallback]); |
| 20578 |
| 20579 void moveTo(DirectoryEntry parent, [String name, EntryCallback successCallback
, ErrorCallback errorCallback]); |
| 20580 |
| 20581 void remove(VoidCallback successCallback, [ErrorCallback errorCallback]); |
| 20582 |
| 20583 String toURL(); |
| 20584 } |
| 20585 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 20586 // for details. All rights reserved. Use of this source code is governed by a |
| 20587 // BSD-style license that can be found in the LICENSE file. |
| 20588 |
| 20589 // WARNING: Do not edit - generated code. |
| 20590 |
| 20591 interface EntryArray { |
| 20592 |
| 20593 final int length; |
| 20594 |
| 20595 Entry item(int index); |
| 20596 } |
| 20597 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 20598 // for details. All rights reserved. Use of this source code is governed by a |
| 20599 // BSD-style license that can be found in the LICENSE file. |
| 20600 |
| 20601 // WARNING: Do not edit - generated code. |
| 20602 |
| 20603 interface EntryArraySync { |
| 20604 |
| 20605 final int length; |
| 20606 |
| 20607 EntrySync item(int index); |
| 20608 } |
| 20609 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 20610 // for details. All rights reserved. Use of this source code is governed by a |
| 20611 // BSD-style license that can be found in the LICENSE file. |
| 20612 |
| 20613 // WARNING: Do not edit - generated code. |
| 20614 |
| 20615 typedef bool EntryCallback(Entry entry); |
| 20616 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 20617 // for details. All rights reserved. Use of this source code is governed by a |
| 20618 // BSD-style license that can be found in the LICENSE file. |
| 20619 |
| 20620 // WARNING: Do not edit - generated code. |
| 20621 |
| 20622 interface EntrySync { |
| 20623 |
| 20624 final DOMFileSystemSync filesystem; |
| 20625 |
| 20626 final String fullPath; |
| 20627 |
| 20628 final bool isDirectory; |
| 20629 |
| 20630 final bool isFile; |
| 20631 |
| 20632 final String name; |
| 20633 |
| 20634 EntrySync copyTo(DirectoryEntrySync parent, String name); |
| 20635 |
| 20636 Metadata getMetadata(); |
| 20637 |
| 20638 DirectoryEntrySync getParent(); |
| 20639 |
| 20640 EntrySync moveTo(DirectoryEntrySync parent, String name); |
| 20641 |
| 20642 void remove(); |
| 20643 |
| 20644 String toURL(); |
| 20645 } |
| 20646 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 20647 // for details. All rights reserved. Use of this source code is governed by a |
| 20648 // BSD-style license that can be found in the LICENSE file. |
| 20649 |
| 20650 // WARNING: Do not edit - generated code. |
| 20651 |
| 20652 typedef bool ErrorCallback(FileError error); |
| 20653 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 20654 // for details. All rights reserved. Use of this source code is governed by a |
| 20655 // BSD-style license that can be found in the LICENSE file. |
| 20656 |
| 20657 // WARNING: Do not edit - generated code. |
| 20658 |
| 20659 interface ErrorEvent extends Event { |
| 20660 |
| 20661 final String filename; |
| 20662 |
| 20663 final int lineno; |
| 20664 |
| 20665 final String message; |
| 20666 } |
| 20667 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 20668 // for details. All rights reserved. Use of this source code is governed by a |
| 20669 // BSD-style license that can be found in the LICENSE file. |
| 20670 |
| 20671 // WARNING: Do not edit - generated code. |
| 20672 |
| 20673 interface Event default _EventFactoryProvider { |
| 20674 |
| 20675 // In JS, canBubble and cancelable are technically required parameters to |
| 20676 // init*Event. In practice, though, if they aren't provided they simply |
| 20677 // default to false (since that's Boolean(undefined)). |
| 20678 // |
| 20679 // Contrary to JS, we default canBubble and cancelable to true, since that's |
| 20680 // what people want most of the time anyway. |
| 20681 Event(String type, [bool canBubble, bool cancelable]); |
| 20682 |
| 20683 static final int AT_TARGET = 2; |
| 20684 |
| 20685 static final int BLUR = 8192; |
| 20686 |
| 20687 static final int BUBBLING_PHASE = 3; |
| 20688 |
| 20689 static final int CAPTURING_PHASE = 1; |
| 20690 |
| 20691 static final int CHANGE = 32768; |
| 20692 |
| 20693 static final int CLICK = 64; |
| 20694 |
| 20695 static final int DBLCLICK = 128; |
| 20696 |
| 20697 static final int DRAGDROP = 2048; |
| 20698 |
| 20699 static final int FOCUS = 4096; |
| 20700 |
| 20701 static final int KEYDOWN = 256; |
| 20702 |
| 20703 static final int KEYPRESS = 1024; |
| 20704 |
| 20705 static final int KEYUP = 512; |
| 20706 |
| 20707 static final int MOUSEDOWN = 1; |
| 20708 |
| 20709 static final int MOUSEDRAG = 32; |
| 20710 |
| 20711 static final int MOUSEMOVE = 16; |
| 20712 |
| 20713 static final int MOUSEOUT = 8; |
| 20714 |
| 20715 static final int MOUSEOVER = 4; |
| 20716 |
| 20717 static final int MOUSEUP = 2; |
| 20718 |
| 20719 static final int SELECT = 16384; |
| 20720 |
| 20721 final bool bubbles; |
| 20722 |
| 20723 bool cancelBubble; |
| 20724 |
| 20725 final bool cancelable; |
| 20726 |
| 20727 final Clipboard clipboardData; |
| 20728 |
| 20729 final EventTarget currentTarget; |
| 20730 |
| 20731 final bool defaultPrevented; |
| 20732 |
| 20733 final int eventPhase; |
| 20734 |
| 20735 bool returnValue; |
| 20736 |
| 20737 final EventTarget srcElement; |
| 20738 |
| 20739 final EventTarget target; |
| 20740 |
| 20741 final int timeStamp; |
| 20742 |
| 20743 final String type; |
| 20744 |
| 20745 void preventDefault(); |
| 20746 |
| 20747 void stopImmediatePropagation(); |
| 20748 |
| 20749 void stopPropagation(); |
| 20750 } |
| 20751 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 20752 // for details. All rights reserved. Use of this source code is governed by a |
| 20753 // BSD-style license that can be found in the LICENSE file. |
| 20754 |
| 20755 // WARNING: Do not edit - generated code. |
| 20756 |
| 20757 interface EventException { |
| 20758 |
| 20759 static final int DISPATCH_REQUEST_ERR = 1; |
| 20760 |
| 20761 static final int UNSPECIFIED_EVENT_TYPE_ERR = 0; |
| 20762 |
| 20763 final int code; |
| 20764 |
| 20765 final String message; |
| 20766 |
| 20767 final String name; |
| 20768 |
| 20769 String toString(); |
| 20770 } |
| 20771 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 20772 // for details. All rights reserved. Use of this source code is governed by a |
| 20773 // BSD-style license that can be found in the LICENSE file. |
| 20774 |
| 20775 // WARNING: Do not edit - generated code. |
| 20776 |
| 20777 interface EventSource extends EventTarget { |
| 20778 |
| 20779 static final int CLOSED = 2; |
| 20780 |
| 20781 static final int CONNECTING = 0; |
| 20782 |
| 20783 static final int OPEN = 1; |
| 20784 |
| 20785 final String URL; |
| 20786 |
| 20787 final int readyState; |
| 20788 |
| 20789 final String url; |
| 20790 |
| 20791 EventSourceEvents get on(); |
| 20792 |
| 20793 void close(); |
| 20794 } |
| 20795 |
| 20796 interface EventSourceEvents extends Events { |
| 20797 |
| 20798 EventListenerList get error(); |
| 20799 |
| 20800 EventListenerList get message(); |
| 20801 |
| 20802 EventListenerList get open(); |
| 20803 } |
| 20804 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 20805 // for details. All rights reserved. Use of this source code is governed by a |
| 20806 // BSD-style license that can be found in the LICENSE file. |
| 20807 |
| 20808 // WARNING: Do not edit - generated code. |
| 20809 |
| 20810 interface EventListenerList { |
| 20811 EventListenerList add(EventListener handler, [bool useCapture]); |
| 20812 |
| 20813 EventListenerList remove(EventListener handler, [bool useCapture]); |
| 20814 |
| 20815 bool dispatch(Event evt); |
| 20816 } |
| 20817 |
| 20818 interface Events { |
| 20819 EventListenerList operator [](String type); |
| 20820 } |
| 20821 |
| 20822 interface EventTarget { |
| 20823 |
| 20824 final Events on; |
| 20825 |
| 20826 } |
| 20827 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 20828 // for details. All rights reserved. Use of this source code is governed by a |
| 20829 // BSD-style license that can be found in the LICENSE file. |
| 20830 |
| 20831 // WARNING: Do not edit - generated code. |
| 20832 |
| 20833 interface FieldSetElement extends Element { |
| 20834 |
| 20835 final FormElement form; |
| 20836 |
| 20837 final String validationMessage; |
| 20838 |
| 20839 final ValidityState validity; |
| 20840 |
| 20841 final bool willValidate; |
| 20842 |
| 20843 bool checkValidity(); |
| 20844 |
| 20845 void setCustomValidity(String error); |
| 20846 } |
| 20847 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 20848 // for details. All rights reserved. Use of this source code is governed by a |
| 20849 // BSD-style license that can be found in the LICENSE file. |
| 20850 |
| 20851 // WARNING: Do not edit - generated code. |
| 20852 |
| 20853 interface File extends Blob { |
| 20854 |
| 20855 final String fileName; |
| 20856 |
| 20857 final int fileSize; |
| 20858 |
| 20859 final Date lastModifiedDate; |
| 20860 |
| 20861 final String name; |
| 20862 |
| 20863 final String webkitRelativePath; |
| 20864 } |
| 20865 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 20866 // for details. All rights reserved. Use of this source code is governed by a |
| 20867 // BSD-style license that can be found in the LICENSE file. |
| 20868 |
| 20869 // WARNING: Do not edit - generated code. |
| 20870 |
| 20871 typedef bool FileCallback(File file); |
| 20872 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 20873 // for details. All rights reserved. Use of this source code is governed by a |
| 20874 // BSD-style license that can be found in the LICENSE file. |
| 20875 |
| 20876 // WARNING: Do not edit - generated code. |
| 20877 |
| 20878 interface FileEntry extends Entry { |
| 20879 |
| 20880 void createWriter(FileWriterCallback successCallback, [ErrorCallback errorCall
back]); |
| 20881 |
| 20882 void file(FileCallback successCallback, [ErrorCallback errorCallback]); |
| 20883 } |
| 20884 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 20885 // for details. All rights reserved. Use of this source code is governed by a |
| 20886 // BSD-style license that can be found in the LICENSE file. |
| 20887 |
| 20888 // WARNING: Do not edit - generated code. |
| 20889 |
| 20890 interface FileEntrySync extends EntrySync { |
| 20891 |
| 20892 FileWriterSync createWriter(); |
| 20893 |
| 20894 File file(); |
| 20895 } |
| 20896 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 20897 // for details. All rights reserved. Use of this source code is governed by a |
| 20898 // BSD-style license that can be found in the LICENSE file. |
| 20899 |
| 20900 // WARNING: Do not edit - generated code. |
| 20901 |
| 20902 interface FileError { |
| 20903 |
| 20904 static final int ABORT_ERR = 3; |
| 20905 |
| 20906 static final int ENCODING_ERR = 5; |
| 20907 |
| 20908 static final int INVALID_MODIFICATION_ERR = 9; |
| 20909 |
| 20910 static final int INVALID_STATE_ERR = 7; |
| 20911 |
| 20912 static final int NOT_FOUND_ERR = 1; |
| 20913 |
| 20914 static final int NOT_READABLE_ERR = 4; |
| 20915 |
| 20916 static final int NO_MODIFICATION_ALLOWED_ERR = 6; |
| 20917 |
| 20918 static final int PATH_EXISTS_ERR = 12; |
| 20919 |
| 20920 static final int QUOTA_EXCEEDED_ERR = 10; |
| 20921 |
| 20922 static final int SECURITY_ERR = 2; |
| 20923 |
| 20924 static final int SYNTAX_ERR = 8; |
| 20925 |
| 20926 static final int TYPE_MISMATCH_ERR = 11; |
| 20927 |
| 20928 final int code; |
| 20929 } |
| 20930 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 20931 // for details. All rights reserved. Use of this source code is governed by a |
| 20932 // BSD-style license that can be found in the LICENSE file. |
| 20933 |
| 20934 // WARNING: Do not edit - generated code. |
| 20935 |
| 20936 interface FileException { |
| 20937 |
| 20938 static final int ABORT_ERR = 3; |
| 20939 |
| 20940 static final int ENCODING_ERR = 5; |
| 20941 |
| 20942 static final int INVALID_MODIFICATION_ERR = 9; |
| 20943 |
| 20944 static final int INVALID_STATE_ERR = 7; |
| 20945 |
| 20946 static final int NOT_FOUND_ERR = 1; |
| 20947 |
| 20948 static final int NOT_READABLE_ERR = 4; |
| 20949 |
| 20950 static final int NO_MODIFICATION_ALLOWED_ERR = 6; |
| 20951 |
| 20952 static final int PATH_EXISTS_ERR = 12; |
| 20953 |
| 20954 static final int QUOTA_EXCEEDED_ERR = 10; |
| 20955 |
| 20956 static final int SECURITY_ERR = 2; |
| 20957 |
| 20958 static final int SYNTAX_ERR = 8; |
| 20959 |
| 20960 static final int TYPE_MISMATCH_ERR = 11; |
| 20961 |
| 20962 final int code; |
| 20963 |
| 20964 final String message; |
| 20965 |
| 20966 final String name; |
| 20967 |
| 20968 String toString(); |
| 20969 } |
| 20970 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 20971 // for details. All rights reserved. Use of this source code is governed by a |
| 20972 // BSD-style license that can be found in the LICENSE file. |
| 20973 |
| 20974 // WARNING: Do not edit - generated code. |
| 20975 |
| 20976 interface FileList { |
| 20977 |
| 20978 final int length; |
| 20979 |
| 20980 File item(int index); |
| 20981 } |
| 20982 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 20983 // for details. All rights reserved. Use of this source code is governed by a |
| 20984 // BSD-style license that can be found in the LICENSE file. |
| 20985 |
| 20986 // WARNING: Do not edit - generated code. |
| 20987 |
| 20988 interface FileReader { |
| 20989 |
| 20990 static final int DONE = 2; |
| 20991 |
| 20992 static final int EMPTY = 0; |
| 20993 |
| 20994 static final int LOADING = 1; |
| 20995 |
| 20996 final FileError error; |
| 20997 |
| 20998 EventListener onabort; |
| 20999 |
| 21000 EventListener onerror; |
| 21001 |
| 21002 EventListener onload; |
| 21003 |
| 21004 EventListener onloadend; |
| 21005 |
| 21006 EventListener onloadstart; |
| 21007 |
| 21008 EventListener onprogress; |
| 21009 |
| 21010 final int readyState; |
| 21011 |
| 21012 final Object result; |
| 21013 |
| 21014 void abort(); |
| 21015 |
| 21016 void addEventListener(String type, EventListener listener, [bool useCapture]); |
| 21017 |
| 21018 bool dispatchEvent(Event evt); |
| 21019 |
| 21020 void readAsArrayBuffer(Blob blob); |
| 21021 |
| 21022 void readAsBinaryString(Blob blob); |
| 21023 |
| 21024 void readAsDataURL(Blob blob); |
| 21025 |
| 21026 void readAsText(Blob blob, [String encoding]); |
| 21027 |
| 21028 void removeEventListener(String type, EventListener listener, [bool useCapture
]); |
| 21029 } |
| 21030 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 21031 // for details. All rights reserved. Use of this source code is governed by a |
| 21032 // BSD-style license that can be found in the LICENSE file. |
| 21033 |
| 21034 // WARNING: Do not edit - generated code. |
| 21035 |
| 21036 interface FileReaderSync { |
| 21037 |
| 21038 ArrayBuffer readAsArrayBuffer(Blob blob); |
| 21039 |
| 21040 String readAsBinaryString(Blob blob); |
| 21041 |
| 21042 String readAsDataURL(Blob blob); |
| 21043 |
| 21044 String readAsText(Blob blob, [String encoding]); |
| 21045 } |
| 21046 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 21047 // for details. All rights reserved. Use of this source code is governed by a |
| 21048 // BSD-style license that can be found in the LICENSE file. |
| 21049 |
| 21050 // WARNING: Do not edit - generated code. |
| 21051 |
| 21052 typedef bool FileSystemCallback(DOMFileSystem fileSystem); |
| 21053 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 21054 // for details. All rights reserved. Use of this source code is governed by a |
| 21055 // BSD-style license that can be found in the LICENSE file. |
| 21056 |
| 21057 // WARNING: Do not edit - generated code. |
| 21058 |
| 21059 interface FileWriter { |
| 21060 |
| 21061 static final int DONE = 2; |
| 21062 |
| 21063 static final int INIT = 0; |
| 21064 |
| 21065 static final int WRITING = 1; |
| 21066 |
| 21067 final FileError error; |
| 21068 |
| 21069 final int length; |
| 21070 |
| 21071 EventListener onabort; |
| 21072 |
| 21073 EventListener onerror; |
| 21074 |
| 21075 EventListener onprogress; |
| 21076 |
| 21077 EventListener onwrite; |
| 21078 |
| 21079 EventListener onwriteend; |
| 21080 |
| 21081 EventListener onwritestart; |
| 21082 |
| 21083 final int position; |
| 21084 |
| 21085 final int readyState; |
| 21086 |
| 21087 void abort(); |
| 21088 |
| 21089 void seek(int position); |
| 21090 |
| 21091 void truncate(int size); |
| 21092 |
| 21093 void write(Blob data); |
| 21094 } |
| 21095 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 21096 // for details. All rights reserved. Use of this source code is governed by a |
| 21097 // BSD-style license that can be found in the LICENSE file. |
| 21098 |
| 21099 // WARNING: Do not edit - generated code. |
| 21100 |
| 21101 typedef bool FileWriterCallback(FileWriter fileWriter); |
| 21102 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 21103 // for details. All rights reserved. Use of this source code is governed by a |
| 21104 // BSD-style license that can be found in the LICENSE file. |
| 21105 |
| 21106 // WARNING: Do not edit - generated code. |
| 21107 |
| 21108 interface FileWriterSync { |
| 21109 |
| 21110 final int length; |
| 21111 |
| 21112 final int position; |
| 21113 |
| 21114 void seek(int position); |
| 21115 |
| 21116 void truncate(int size); |
| 21117 |
| 21118 void write(Blob data); |
| 21119 } |
| 21120 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 21121 // for details. All rights reserved. Use of this source code is governed by a |
| 21122 // BSD-style license that can be found in the LICENSE file. |
| 21123 |
| 21124 // WARNING: Do not edit - generated code. |
| 21125 |
| 21126 interface Float32Array extends ArrayBufferView, List<num> default _TypedArrayFac
toryProvider { |
| 21127 |
| 21128 Float32Array(int length); |
| 21129 |
| 21130 Float32Array.fromList(List<num> list); |
| 21131 |
| 21132 Float32Array.fromBuffer(ArrayBuffer buffer); |
| 21133 |
| 21134 static final int BYTES_PER_ELEMENT = 4; |
| 21135 |
| 21136 final int length; |
| 21137 |
| 21138 void setElements(Object array, [int offset]); |
| 21139 |
| 21140 Float32Array subarray(int start, [int end]); |
| 21141 } |
| 21142 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 21143 // for details. All rights reserved. Use of this source code is governed by a |
| 21144 // BSD-style license that can be found in the LICENSE file. |
| 21145 |
| 21146 // WARNING: Do not edit - generated code. |
| 21147 |
| 21148 interface Float64Array extends ArrayBufferView, List<num> default _TypedArrayFac
toryProvider { |
| 21149 |
| 21150 Float64Array(int length); |
| 21151 |
| 21152 Float64Array.fromList(List<num> list); |
| 21153 |
| 21154 Float64Array.fromBuffer(ArrayBuffer buffer); |
| 21155 |
| 21156 static final int BYTES_PER_ELEMENT = 8; |
| 21157 |
| 21158 final int length; |
| 21159 |
| 21160 void setElements(Object array, [int offset]); |
| 21161 |
| 21162 Float64Array subarray(int start, [int end]); |
| 21163 } |
| 21164 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 21165 // for details. All rights reserved. Use of this source code is governed by a |
| 21166 // BSD-style license that can be found in the LICENSE file. |
| 21167 |
| 21168 // WARNING: Do not edit - generated code. |
| 21169 |
| 21170 interface FontElement extends Element { |
| 21171 |
| 21172 String color; |
| 21173 |
| 21174 String face; |
| 21175 |
| 21176 String size; |
| 21177 } |
| 21178 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 21179 // for details. All rights reserved. Use of this source code is governed by a |
| 21180 // BSD-style license that can be found in the LICENSE file. |
| 21181 |
| 21182 // WARNING: Do not edit - generated code. |
| 21183 |
| 21184 interface FormElement extends Element { |
| 21185 |
| 21186 String acceptCharset; |
| 21187 |
| 21188 String action; |
| 21189 |
| 21190 String autocomplete; |
| 21191 |
| 21192 String encoding; |
| 21193 |
| 21194 String enctype; |
| 21195 |
| 21196 final int length; |
| 21197 |
| 21198 String method; |
| 21199 |
| 21200 String name; |
| 21201 |
| 21202 bool noValidate; |
| 21203 |
| 21204 String target; |
| 21205 |
| 21206 bool checkValidity(); |
| 21207 |
| 21208 void reset(); |
| 21209 |
| 21210 void submit(); |
| 21211 } |
| 21212 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 21213 // for details. All rights reserved. Use of this source code is governed by a |
| 21214 // BSD-style license that can be found in the LICENSE file. |
| 21215 |
| 21216 // WARNING: Do not edit - generated code. |
| 21217 |
| 21218 interface FrameElement extends Element { |
| 21219 |
| 21220 final Document contentDocument; |
| 21221 |
| 21222 final Window contentWindow; |
| 21223 |
| 21224 String frameBorder; |
| 21225 |
| 21226 final int height; |
| 21227 |
| 21228 String location; |
| 21229 |
| 21230 String longDesc; |
| 21231 |
| 21232 String marginHeight; |
| 21233 |
| 21234 String marginWidth; |
| 21235 |
| 21236 String name; |
| 21237 |
| 21238 bool noResize; |
| 21239 |
| 21240 String scrolling; |
| 21241 |
| 21242 String src; |
| 21243 |
| 21244 final int width; |
| 21245 |
| 21246 SVGDocument getSVGDocument(); |
| 21247 } |
| 21248 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 21249 // for details. All rights reserved. Use of this source code is governed by a |
| 21250 // BSD-style license that can be found in the LICENSE file. |
| 21251 |
| 21252 // WARNING: Do not edit - generated code. |
| 21253 |
| 21254 interface FrameSetElement extends Element { |
| 21255 |
| 21256 String cols; |
| 21257 |
| 21258 String rows; |
| 21259 |
| 21260 FrameSetElementEvents get on(); |
| 21261 } |
| 21262 |
| 21263 interface FrameSetElementEvents extends ElementEvents { |
| 21264 |
| 21265 EventListenerList get beforeUnload(); |
| 21266 |
| 21267 EventListenerList get blur(); |
| 21268 |
| 21269 EventListenerList get error(); |
| 21270 |
| 21271 EventListenerList get focus(); |
| 21272 |
| 21273 EventListenerList get hashChange(); |
| 21274 |
| 21275 EventListenerList get load(); |
| 21276 |
| 21277 EventListenerList get message(); |
| 21278 |
| 21279 EventListenerList get offline(); |
| 21280 |
| 21281 EventListenerList get online(); |
| 21282 |
| 21283 EventListenerList get popState(); |
| 21284 |
| 21285 EventListenerList get resize(); |
| 21286 |
| 21287 EventListenerList get storage(); |
| 21288 |
| 21289 EventListenerList get unload(); |
| 21290 } |
| 21291 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 21292 // for details. All rights reserved. Use of this source code is governed by a |
| 21293 // BSD-style license that can be found in the LICENSE file. |
| 21294 |
| 21295 // WARNING: Do not edit - generated code. |
| 21296 |
| 21297 interface Geolocation { |
| 21298 |
| 21299 void clearWatch(int watchId); |
| 21300 |
| 21301 void getCurrentPosition(PositionCallback successCallback, [PositionErrorCallba
ck errorCallback]); |
| 21302 |
| 21303 int watchPosition(PositionCallback successCallback, [PositionErrorCallback err
orCallback]); |
| 21304 } |
| 21305 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 21306 // for details. All rights reserved. Use of this source code is governed by a |
| 21307 // BSD-style license that can be found in the LICENSE file. |
| 21308 |
| 21309 // WARNING: Do not edit - generated code. |
| 21310 |
| 21311 interface Geoposition { |
| 21312 |
| 21313 final Coordinates coords; |
| 21314 |
| 21315 final int timestamp; |
| 21316 } |
| 21317 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 21318 // for details. All rights reserved. Use of this source code is governed by a |
| 21319 // BSD-style license that can be found in the LICENSE file. |
| 21320 |
| 21321 // WARNING: Do not edit - generated code. |
| 21322 |
| 21323 interface HRElement extends Element { |
| 21324 |
| 21325 String align; |
| 21326 |
| 21327 bool noShade; |
| 21328 |
| 21329 String size; |
| 21330 |
| 21331 String width; |
| 21332 } |
| 21333 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 21334 // for details. All rights reserved. Use of this source code is governed by a |
| 21335 // BSD-style license that can be found in the LICENSE file. |
| 21336 |
| 21337 // WARNING: Do not edit - generated code. |
| 21338 |
| 21339 interface HTMLAllCollection { |
| 21340 |
| 21341 final int length; |
| 21342 |
| 21343 Node item(int index); |
| 21344 |
| 21345 Node namedItem(String name); |
| 21346 |
| 21347 NodeList tags(String name); |
| 21348 } |
| 21349 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 21350 // for details. All rights reserved. Use of this source code is governed by a |
| 21351 // BSD-style license that can be found in the LICENSE file. |
| 21352 |
| 21353 // WARNING: Do not edit - generated code. |
| 21354 |
| 21355 interface HTMLCollection extends List<Node> { |
| 21356 |
| 21357 final int length; |
| 21358 |
| 21359 Node item(int index); |
| 21360 |
| 21361 Node namedItem(String name); |
| 21362 } |
| 21363 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 21364 // for details. All rights reserved. Use of this source code is governed by a |
| 21365 // BSD-style license that can be found in the LICENSE file. |
| 21366 |
| 21367 // WARNING: Do not edit - generated code. |
| 21368 |
| 21369 interface HTMLOptionsCollection extends HTMLCollection { |
| 21370 |
| 21371 int length; |
| 21372 |
| 21373 int selectedIndex; |
| 21374 |
| 21375 void remove(int index); |
| 21376 } |
| 21377 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 21378 // for details. All rights reserved. Use of this source code is governed by a |
| 21379 // BSD-style license that can be found in the LICENSE file. |
| 21380 |
| 21381 // WARNING: Do not edit - generated code. |
| 21382 |
| 21383 interface HashChangeEvent extends Event { |
| 21384 |
| 21385 final String newURL; |
| 21386 |
| 21387 final String oldURL; |
| 21388 |
| 21389 void initHashChangeEvent(String type, bool canBubble, bool cancelable, String
oldURL, String newURL); |
| 21390 } |
| 21391 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 21392 // for details. All rights reserved. Use of this source code is governed by a |
| 21393 // BSD-style license that can be found in the LICENSE file. |
| 21394 |
| 21395 // WARNING: Do not edit - generated code. |
| 21396 |
| 21397 interface HeadElement extends Element { |
| 21398 |
| 21399 String profile; |
| 21400 } |
| 21401 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 21402 // for details. All rights reserved. Use of this source code is governed by a |
| 21403 // BSD-style license that can be found in the LICENSE file. |
| 21404 |
| 21405 // WARNING: Do not edit - generated code. |
| 21406 |
| 21407 interface HeadingElement extends Element { |
| 21408 |
| 21409 String align; |
| 21410 } |
| 21411 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 21412 // for details. All rights reserved. Use of this source code is governed by a |
| 21413 // BSD-style license that can be found in the LICENSE file. |
| 21414 |
| 21415 // WARNING: Do not edit - generated code. |
| 21416 |
| 21417 interface HighPass2FilterNode extends AudioNode { |
| 21418 |
| 21419 final AudioParam cutoff; |
| 21420 |
| 21421 final AudioParam resonance; |
| 21422 } |
| 21423 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 21424 // for details. All rights reserved. Use of this source code is governed by a |
| 21425 // BSD-style license that can be found in the LICENSE file. |
| 21426 |
| 21427 // WARNING: Do not edit - generated code. |
| 21428 |
| 21429 interface History { |
| 21430 |
| 21431 final int length; |
| 21432 |
| 21433 final Dynamic state; |
| 21434 |
| 21435 void back(); |
| 21436 |
| 21437 void forward(); |
| 21438 |
| 21439 void go(int distance); |
| 21440 |
| 21441 void pushState(Object data, String title, [String url]); |
| 21442 |
| 21443 void replaceState(Object data, String title, [String url]); |
| 21444 } |
| 21445 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 21446 // for details. All rights reserved. Use of this source code is governed by a |
| 21447 // BSD-style license that can be found in the LICENSE file. |
| 21448 |
| 21449 // WARNING: Do not edit - generated code. |
| 21450 |
| 21451 interface HtmlElement extends Element { |
| 21452 |
| 21453 String manifest; |
| 21454 |
| 21455 String version; |
| 21456 } |
| 21457 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 21458 // for details. All rights reserved. Use of this source code is governed by a |
| 21459 // BSD-style license that can be found in the LICENSE file. |
| 21460 |
| 21461 // WARNING: Do not edit - generated code. |
| 21462 |
| 21463 interface IDBAny { |
| 21464 } |
| 21465 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 21466 // for details. All rights reserved. Use of this source code is governed by a |
| 21467 // BSD-style license that can be found in the LICENSE file. |
| 21468 |
| 21469 // WARNING: Do not edit - generated code. |
| 21470 |
| 21471 interface IDBCursor { |
| 21472 |
| 21473 static final int NEXT = 0; |
| 21474 |
| 21475 static final int NEXT_NO_DUPLICATE = 1; |
| 21476 |
| 21477 static final int PREV = 2; |
| 21478 |
| 21479 static final int PREV_NO_DUPLICATE = 3; |
| 21480 |
| 21481 final int direction; |
| 21482 |
| 21483 final IDBKey key; |
| 21484 |
| 21485 final IDBKey primaryKey; |
| 21486 |
| 21487 final IDBAny source; |
| 21488 |
| 21489 void continueFunction([IDBKey key]); |
| 21490 |
| 21491 IDBRequest delete(); |
| 21492 |
| 21493 IDBRequest update(Dynamic value); |
| 21494 } |
| 21495 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 21496 // for details. All rights reserved. Use of this source code is governed by a |
| 21497 // BSD-style license that can be found in the LICENSE file. |
| 21498 |
| 21499 // WARNING: Do not edit - generated code. |
| 21500 |
| 21501 interface IDBCursorWithValue extends IDBCursor { |
| 21502 |
| 21503 final IDBAny value; |
| 21504 } |
| 21505 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 21506 // for details. All rights reserved. Use of this source code is governed by a |
| 21507 // BSD-style license that can be found in the LICENSE file. |
| 21508 |
| 21509 // WARNING: Do not edit - generated code. |
| 21510 |
| 21511 interface IDBDatabase { |
| 21512 |
| 21513 final String name; |
| 21514 |
| 21515 EventListener onabort; |
| 21516 |
| 21517 EventListener onerror; |
| 21518 |
| 21519 EventListener onversionchange; |
| 21520 |
| 21521 final String version; |
| 21522 |
| 21523 void addEventListener(String type, EventListener listener, [bool useCapture]); |
| 21524 |
| 21525 void close(); |
| 21526 |
| 21527 IDBObjectStore createObjectStore(String name); |
| 21528 |
| 21529 void deleteObjectStore(String name); |
| 21530 |
| 21531 bool dispatchEvent(Event evt); |
| 21532 |
| 21533 void removeEventListener(String type, EventListener listener, [bool useCapture
]); |
| 21534 |
| 21535 IDBVersionChangeRequest setVersion(String version); |
| 21536 |
| 21537 IDBTransaction transaction(String storeName, int mode); |
| 21538 } |
| 21539 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 21540 // for details. All rights reserved. Use of this source code is governed by a |
| 21541 // BSD-style license that can be found in the LICENSE file. |
| 21542 |
| 21543 // WARNING: Do not edit - generated code. |
| 21544 |
| 21545 interface IDBDatabaseError { |
| 21546 |
| 21547 int code; |
| 21548 |
| 21549 String message; |
| 21550 } |
| 21551 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 21552 // for details. All rights reserved. Use of this source code is governed by a |
| 21553 // BSD-style license that can be found in the LICENSE file. |
| 21554 |
| 21555 // WARNING: Do not edit - generated code. |
| 21556 |
| 21557 interface IDBDatabaseException { |
| 21558 |
| 21559 static final int ABORT_ERR = 8; |
| 21560 |
| 21561 static final int CONSTRAINT_ERR = 4; |
| 21562 |
| 21563 static final int DATA_ERR = 5; |
| 21564 |
| 21565 static final int NON_TRANSIENT_ERR = 2; |
| 21566 |
| 21567 static final int NOT_ALLOWED_ERR = 6; |
| 21568 |
| 21569 static final int NOT_FOUND_ERR = 3; |
| 21570 |
| 21571 static final int NO_ERR = 0; |
| 21572 |
| 21573 static final int QUOTA_ERR = 11; |
| 21574 |
| 21575 static final int READ_ONLY_ERR = 9; |
| 21576 |
| 21577 static final int TIMEOUT_ERR = 10; |
| 21578 |
| 21579 static final int TRANSACTION_INACTIVE_ERR = 7; |
| 21580 |
| 21581 static final int UNKNOWN_ERR = 1; |
| 21582 |
| 21583 static final int VER_ERR = 12; |
| 21584 |
| 21585 final int code; |
| 21586 |
| 21587 final String message; |
| 21588 |
| 21589 final String name; |
| 21590 |
| 21591 String toString(); |
| 21592 } |
| 21593 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 21594 // for details. All rights reserved. Use of this source code is governed by a |
| 21595 // BSD-style license that can be found in the LICENSE file. |
| 21596 |
| 21597 // WARNING: Do not edit - generated code. |
| 21598 |
| 21599 interface IDBFactory { |
| 21600 |
| 21601 int cmp(IDBKey first, IDBKey second); |
| 21602 |
| 21603 IDBVersionChangeRequest deleteDatabase(String name); |
| 21604 |
| 21605 IDBRequest getDatabaseNames(); |
| 21606 |
| 21607 IDBRequest open(String name); |
| 21608 } |
| 21609 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 21610 // for details. All rights reserved. Use of this source code is governed by a |
| 21611 // BSD-style license that can be found in the LICENSE file. |
| 21612 |
| 21613 // WARNING: Do not edit - generated code. |
| 21614 |
| 21615 interface IDBIndex { |
| 21616 |
| 21617 final String keyPath; |
| 21618 |
| 21619 final bool multiEntry; |
| 21620 |
| 21621 final String name; |
| 21622 |
| 21623 final IDBObjectStore objectStore; |
| 21624 |
| 21625 final bool unique; |
| 21626 |
| 21627 IDBRequest count([IDBKeyRange range]); |
| 21628 |
| 21629 IDBRequest getObject(IDBKey key); |
| 21630 |
| 21631 IDBRequest getKey(IDBKey key); |
| 21632 |
| 21633 IDBRequest openCursor([IDBKeyRange range, int direction]); |
| 21634 |
| 21635 IDBRequest openKeyCursor([IDBKeyRange range, int direction]); |
| 21636 } |
| 21637 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 21638 // for details. All rights reserved. Use of this source code is governed by a |
| 21639 // BSD-style license that can be found in the LICENSE file. |
| 21640 |
| 21641 // WARNING: Do not edit - generated code. |
| 21642 |
| 21643 interface IDBKey { |
| 21644 } |
| 21645 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 21646 // for details. All rights reserved. Use of this source code is governed by a |
| 21647 // BSD-style license that can be found in the LICENSE file. |
| 21648 |
| 21649 // WARNING: Do not edit - generated code. |
| 21650 |
| 21651 interface IDBKeyRange { |
| 21652 |
| 21653 final IDBKey lower; |
| 21654 |
| 21655 final bool lowerOpen; |
| 21656 |
| 21657 final IDBKey upper; |
| 21658 |
| 21659 final bool upperOpen; |
| 21660 |
| 21661 IDBKeyRange bound(IDBKey lower, IDBKey upper, [bool lowerOpen, bool upperOpen]
); |
| 21662 |
| 21663 IDBKeyRange lowerBound(IDBKey bound, [bool open]); |
| 21664 |
| 21665 IDBKeyRange only(IDBKey value); |
| 21666 |
| 21667 IDBKeyRange upperBound(IDBKey bound, [bool open]); |
| 21668 } |
| 21669 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 21670 // for details. All rights reserved. Use of this source code is governed by a |
| 21671 // BSD-style license that can be found in the LICENSE file. |
| 21672 |
| 21673 // WARNING: Do not edit - generated code. |
| 21674 |
| 21675 interface IDBObjectStore { |
| 21676 |
| 21677 final String keyPath; |
| 21678 |
| 21679 final String name; |
| 21680 |
| 21681 final IDBTransaction transaction; |
| 21682 |
| 21683 IDBRequest add(Dynamic value, [IDBKey key]); |
| 21684 |
| 21685 IDBRequest clear(); |
| 21686 |
| 21687 IDBRequest count([IDBKeyRange range]); |
| 21688 |
| 21689 IDBIndex createIndex(String name, String keyPath); |
| 21690 |
| 21691 IDBRequest delete(IDBKey key); |
| 21692 |
| 21693 void deleteIndex(String name); |
| 21694 |
| 21695 IDBRequest getObject(IDBKey key); |
| 21696 |
| 21697 IDBIndex index(String name); |
| 21698 |
| 21699 IDBRequest openCursor([IDBKeyRange range, int direction]); |
| 21700 |
| 21701 IDBRequest put(Dynamic value, [IDBKey key]); |
| 21702 } |
| 21703 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 21704 // for details. All rights reserved. Use of this source code is governed by a |
| 21705 // BSD-style license that can be found in the LICENSE file. |
| 21706 |
| 21707 // WARNING: Do not edit - generated code. |
| 21708 |
| 21709 interface IDBRequest { |
| 21710 |
| 21711 static final int DONE = 2; |
| 21712 |
| 21713 static final int LOADING = 1; |
| 21714 |
| 21715 final int errorCode; |
| 21716 |
| 21717 EventListener onerror; |
| 21718 |
| 21719 EventListener onsuccess; |
| 21720 |
| 21721 final int readyState; |
| 21722 |
| 21723 final IDBAny result; |
| 21724 |
| 21725 final IDBAny source; |
| 21726 |
| 21727 final IDBTransaction transaction; |
| 21728 |
| 21729 final String webkitErrorMessage; |
| 21730 |
| 21731 void addEventListener(String type, EventListener listener, [bool useCapture]); |
| 21732 |
| 21733 bool dispatchEvent(Event evt); |
| 21734 |
| 21735 void removeEventListener(String type, EventListener listener, [bool useCapture
]); |
| 21736 } |
| 21737 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 21738 // for details. All rights reserved. Use of this source code is governed by a |
| 21739 // BSD-style license that can be found in the LICENSE file. |
| 21740 |
| 21741 // WARNING: Do not edit - generated code. |
| 21742 |
| 21743 interface IDBTransaction { |
| 21744 |
| 21745 static final int READ_ONLY = 0; |
| 21746 |
| 21747 static final int READ_WRITE = 1; |
| 21748 |
| 21749 static final int VERSION_CHANGE = 2; |
| 21750 |
| 21751 final IDBDatabase db; |
| 21752 |
| 21753 final int mode; |
| 21754 |
| 21755 EventListener onabort; |
| 21756 |
| 21757 EventListener oncomplete; |
| 21758 |
| 21759 EventListener onerror; |
| 21760 |
| 21761 void abort(); |
| 21762 |
| 21763 void addEventListener(String type, EventListener listener, [bool useCapture]); |
| 21764 |
| 21765 bool dispatchEvent(Event evt); |
| 21766 |
| 21767 IDBObjectStore objectStore(String name); |
| 21768 |
| 21769 void removeEventListener(String type, EventListener listener, [bool useCapture
]); |
| 21770 } |
| 21771 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 21772 // for details. All rights reserved. Use of this source code is governed by a |
| 21773 // BSD-style license that can be found in the LICENSE file. |
| 21774 |
| 21775 // WARNING: Do not edit - generated code. |
| 21776 |
| 21777 interface IDBVersionChangeEvent extends Event { |
| 21778 |
| 21779 final String version; |
| 21780 } |
| 21781 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 21782 // for details. All rights reserved. Use of this source code is governed by a |
| 21783 // BSD-style license that can be found in the LICENSE file. |
| 21784 |
| 21785 // WARNING: Do not edit - generated code. |
| 21786 |
| 21787 interface IDBVersionChangeRequest extends IDBRequest { |
| 21788 |
| 21789 EventListener onblocked; |
| 21790 } |
| 21791 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 21792 // for details. All rights reserved. Use of this source code is governed by a |
| 21793 // BSD-style license that can be found in the LICENSE file. |
| 21794 |
| 21795 // WARNING: Do not edit - generated code. |
| 21796 |
| 21797 interface IFrameElement extends Element { |
| 21798 |
| 21799 String align; |
| 21800 |
| 21801 final Document contentDocument; |
| 21802 |
| 21803 final Window contentWindow; |
| 21804 |
| 21805 String frameBorder; |
| 21806 |
| 21807 String height; |
| 21808 |
| 21809 String longDesc; |
| 21810 |
| 21811 String marginHeight; |
| 21812 |
| 21813 String marginWidth; |
| 21814 |
| 21815 String name; |
| 21816 |
| 21817 String sandbox; |
| 21818 |
| 21819 String scrolling; |
| 21820 |
| 21821 String src; |
| 21822 |
| 21823 String width; |
| 21824 |
| 21825 SVGDocument getSVGDocument(); |
| 21826 } |
| 21827 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 21828 // for details. All rights reserved. Use of this source code is governed by a |
| 21829 // BSD-style license that can be found in the LICENSE file. |
| 21830 |
| 21831 // WARNING: Do not edit - generated code. |
| 21832 |
| 21833 interface ImageData { |
| 21834 |
| 21835 final CanvasPixelArray data; |
| 21836 |
| 21837 final int height; |
| 21838 |
| 21839 final int width; |
| 21840 } |
| 21841 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 21842 // for details. All rights reserved. Use of this source code is governed by a |
| 21843 // BSD-style license that can be found in the LICENSE file. |
| 21844 |
| 21845 // WARNING: Do not edit - generated code. |
| 21846 |
| 21847 interface ImageElement extends Element { |
| 21848 |
| 21849 String align; |
| 21850 |
| 21851 String alt; |
| 21852 |
| 21853 String border; |
| 21854 |
| 21855 final bool complete; |
| 21856 |
| 21857 String crossOrigin; |
| 21858 |
| 21859 int height; |
| 21860 |
| 21861 int hspace; |
| 21862 |
| 21863 bool isMap; |
| 21864 |
| 21865 String longDesc; |
| 21866 |
| 21867 String lowsrc; |
| 21868 |
| 21869 String name; |
| 21870 |
| 21871 final int naturalHeight; |
| 21872 |
| 21873 final int naturalWidth; |
| 21874 |
| 21875 String src; |
| 21876 |
| 21877 String useMap; |
| 21878 |
| 21879 int vspace; |
| 21880 |
| 21881 int width; |
| 21882 |
| 21883 final int x; |
| 21884 |
| 21885 final int y; |
| 21886 } |
| 21887 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 21888 // for details. All rights reserved. Use of this source code is governed by a |
| 21889 // BSD-style license that can be found in the LICENSE file. |
| 21890 |
| 21891 // WARNING: Do not edit - generated code. |
| 21892 |
| 21893 interface InputElement extends Element { |
| 21894 |
| 21895 String accept; |
| 21896 |
| 21897 String align; |
| 21898 |
| 21899 String alt; |
| 21900 |
| 21901 String autocomplete; |
| 21902 |
| 21903 bool autofocus; |
| 21904 |
| 21905 bool checked; |
| 21906 |
| 21907 bool defaultChecked; |
| 21908 |
| 21909 String defaultValue; |
| 21910 |
| 21911 bool disabled; |
| 21912 |
| 21913 final FileList files; |
| 21914 |
| 21915 final FormElement form; |
| 21916 |
| 21917 String formAction; |
| 21918 |
| 21919 String formEnctype; |
| 21920 |
| 21921 String formMethod; |
| 21922 |
| 21923 bool formNoValidate; |
| 21924 |
| 21925 String formTarget; |
| 21926 |
| 21927 bool incremental; |
| 21928 |
| 21929 bool indeterminate; |
| 21930 |
| 21931 final NodeList labels; |
| 21932 |
| 21933 String max; |
| 21934 |
| 21935 int maxLength; |
| 21936 |
| 21937 String min; |
| 21938 |
| 21939 bool multiple; |
| 21940 |
| 21941 String name; |
| 21942 |
| 21943 String pattern; |
| 21944 |
| 21945 String placeholder; |
| 21946 |
| 21947 bool readOnly; |
| 21948 |
| 21949 bool required; |
| 21950 |
| 21951 String selectionDirection; |
| 21952 |
| 21953 int selectionEnd; |
| 21954 |
| 21955 int selectionStart; |
| 21956 |
| 21957 int size; |
| 21958 |
| 21959 String src; |
| 21960 |
| 21961 String step; |
| 21962 |
| 21963 String type; |
| 21964 |
| 21965 String useMap; |
| 21966 |
| 21967 final String validationMessage; |
| 21968 |
| 21969 final ValidityState validity; |
| 21970 |
| 21971 String value; |
| 21972 |
| 21973 Date valueAsDate; |
| 21974 |
| 21975 num valueAsNumber; |
| 21976 |
| 21977 bool webkitGrammar; |
| 21978 |
| 21979 bool webkitSpeech; |
| 21980 |
| 21981 bool webkitdirectory; |
| 21982 |
| 21983 final bool willValidate; |
| 21984 |
| 21985 InputElementEvents get on(); |
| 21986 |
| 21987 bool checkValidity(); |
| 21988 |
| 21989 void select(); |
| 21990 |
| 21991 void setCustomValidity(String error); |
| 21992 |
| 21993 void setSelectionRange(int start, int end, [String direction]); |
| 21994 |
| 21995 void stepDown([int n]); |
| 21996 |
| 21997 void stepUp([int n]); |
| 21998 } |
| 21999 |
| 22000 interface InputElementEvents extends ElementEvents { |
| 22001 |
| 22002 EventListenerList get speechChange(); |
| 22003 } |
| 22004 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22005 // for details. All rights reserved. Use of this source code is governed by a |
| 22006 // BSD-style license that can be found in the LICENSE file. |
| 22007 |
| 22008 // WARNING: Do not edit - generated code. |
| 22009 |
| 22010 interface Int16Array extends ArrayBufferView, List<int> default _TypedArrayFacto
ryProvider { |
| 22011 |
| 22012 Int16Array(int length); |
| 22013 |
| 22014 Int16Array.fromList(List<int> list); |
| 22015 |
| 22016 Int16Array.fromBuffer(ArrayBuffer buffer); |
| 22017 |
| 22018 static final int BYTES_PER_ELEMENT = 2; |
| 22019 |
| 22020 final int length; |
| 22021 |
| 22022 void setElements(Object array, [int offset]); |
| 22023 |
| 22024 Int16Array subarray(int start, [int end]); |
| 22025 } |
| 22026 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22027 // for details. All rights reserved. Use of this source code is governed by a |
| 22028 // BSD-style license that can be found in the LICENSE file. |
| 22029 |
| 22030 // WARNING: Do not edit - generated code. |
| 22031 |
| 22032 interface Int32Array extends ArrayBufferView, List<int> default _TypedArrayFacto
ryProvider { |
| 22033 |
| 22034 Int32Array(int length); |
| 22035 |
| 22036 Int32Array.fromList(List<int> list); |
| 22037 |
| 22038 Int32Array.fromBuffer(ArrayBuffer buffer); |
| 22039 |
| 22040 static final int BYTES_PER_ELEMENT = 4; |
| 22041 |
| 22042 final int length; |
| 22043 |
| 22044 void setElements(Object array, [int offset]); |
| 22045 |
| 22046 Int32Array subarray(int start, [int end]); |
| 22047 } |
| 22048 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22049 // for details. All rights reserved. Use of this source code is governed by a |
| 22050 // BSD-style license that can be found in the LICENSE file. |
| 22051 |
| 22052 // WARNING: Do not edit - generated code. |
| 22053 |
| 22054 interface Int8Array extends ArrayBufferView, List<int> default _TypedArrayFactor
yProvider { |
| 22055 |
| 22056 Int8Array(int length); |
| 22057 |
| 22058 Int8Array.fromList(List<int> list); |
| 22059 |
| 22060 Int8Array.fromBuffer(ArrayBuffer buffer); |
| 22061 |
| 22062 static final int BYTES_PER_ELEMENT = 1; |
| 22063 |
| 22064 final int length; |
| 22065 |
| 22066 void setElements(Object array, [int offset]); |
| 22067 |
| 22068 Int8Array subarray(int start, [int end]); |
| 22069 } |
| 22070 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22071 // for details. All rights reserved. Use of this source code is governed by a |
| 22072 // BSD-style license that can be found in the LICENSE file. |
| 22073 |
| 22074 // WARNING: Do not edit - generated code. |
| 22075 |
| 22076 interface JavaScriptAudioNode extends AudioNode { |
| 22077 |
| 22078 final int bufferSize; |
| 22079 |
| 22080 EventListener onaudioprocess; |
| 22081 } |
| 22082 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22083 // for details. All rights reserved. Use of this source code is governed by a |
| 22084 // BSD-style license that can be found in the LICENSE file. |
| 22085 |
| 22086 // WARNING: Do not edit - generated code. |
| 22087 |
| 22088 interface JavaScriptCallFrame { |
| 22089 |
| 22090 static final int CATCH_SCOPE = 4; |
| 22091 |
| 22092 static final int CLOSURE_SCOPE = 3; |
| 22093 |
| 22094 static final int GLOBAL_SCOPE = 0; |
| 22095 |
| 22096 static final int LOCAL_SCOPE = 1; |
| 22097 |
| 22098 static final int WITH_SCOPE = 2; |
| 22099 |
| 22100 final JavaScriptCallFrame caller; |
| 22101 |
| 22102 final int column; |
| 22103 |
| 22104 final String functionName; |
| 22105 |
| 22106 final int line; |
| 22107 |
| 22108 final List scopeChain; |
| 22109 |
| 22110 final int sourceID; |
| 22111 |
| 22112 final Object thisObject; |
| 22113 |
| 22114 final String type; |
| 22115 |
| 22116 void evaluate(String script); |
| 22117 |
| 22118 int scopeType(int scopeIndex); |
| 22119 } |
| 22120 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22121 // for details. All rights reserved. Use of this source code is governed by a |
| 22122 // BSD-style license that can be found in the LICENSE file. |
| 22123 |
| 22124 // WARNING: Do not edit - generated code. |
| 22125 |
| 22126 interface KeyboardEvent extends UIEvent { |
| 22127 |
| 22128 final bool altGraphKey; |
| 22129 |
| 22130 final bool altKey; |
| 22131 |
| 22132 final bool ctrlKey; |
| 22133 |
| 22134 final String keyIdentifier; |
| 22135 |
| 22136 final int keyLocation; |
| 22137 |
| 22138 final bool metaKey; |
| 22139 |
| 22140 final bool shiftKey; |
| 22141 |
| 22142 void initKeyboardEvent(String type, bool canBubble, bool cancelable, Window vi
ew, String keyIdentifier, int keyLocation, bool ctrlKey, bool altKey, bool shift
Key, bool metaKey, bool altGraphKey); |
| 22143 } |
| 22144 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22145 // for details. All rights reserved. Use of this source code is governed by a |
| 22146 // BSD-style license that can be found in the LICENSE file. |
| 22147 |
| 22148 // WARNING: Do not edit - generated code. |
| 22149 |
| 22150 interface KeygenElement extends Element { |
| 22151 |
| 22152 bool autofocus; |
| 22153 |
| 22154 String challenge; |
| 22155 |
| 22156 bool disabled; |
| 22157 |
| 22158 final FormElement form; |
| 22159 |
| 22160 String keytype; |
| 22161 |
| 22162 final NodeList labels; |
| 22163 |
| 22164 String name; |
| 22165 |
| 22166 final String type; |
| 22167 |
| 22168 final String validationMessage; |
| 22169 |
| 22170 final ValidityState validity; |
| 22171 |
| 22172 final bool willValidate; |
| 22173 |
| 22174 bool checkValidity(); |
| 22175 |
| 22176 void setCustomValidity(String error); |
| 22177 } |
| 22178 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22179 // for details. All rights reserved. Use of this source code is governed by a |
| 22180 // BSD-style license that can be found in the LICENSE file. |
| 22181 |
| 22182 // WARNING: Do not edit - generated code. |
| 22183 |
| 22184 interface LIElement extends Element { |
| 22185 |
| 22186 String type; |
| 22187 |
| 22188 int value; |
| 22189 } |
| 22190 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22191 // for details. All rights reserved. Use of this source code is governed by a |
| 22192 // BSD-style license that can be found in the LICENSE file. |
| 22193 |
| 22194 // WARNING: Do not edit - generated code. |
| 22195 |
| 22196 interface LabelElement extends Element { |
| 22197 |
| 22198 final Element control; |
| 22199 |
| 22200 final FormElement form; |
| 22201 |
| 22202 String htmlFor; |
| 22203 } |
| 22204 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22205 // for details. All rights reserved. Use of this source code is governed by a |
| 22206 // BSD-style license that can be found in the LICENSE file. |
| 22207 |
| 22208 // WARNING: Do not edit - generated code. |
| 22209 |
| 22210 interface LegendElement extends Element { |
| 22211 |
| 22212 String align; |
| 22213 |
| 22214 final FormElement form; |
| 22215 } |
| 22216 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22217 // for details. All rights reserved. Use of this source code is governed by a |
| 22218 // BSD-style license that can be found in the LICENSE file. |
| 22219 |
| 22220 // WARNING: Do not edit - generated code. |
| 22221 |
| 22222 interface LinkElement extends Element { |
| 22223 |
| 22224 String charset; |
| 22225 |
| 22226 bool disabled; |
| 22227 |
| 22228 String href; |
| 22229 |
| 22230 String hreflang; |
| 22231 |
| 22232 String media; |
| 22233 |
| 22234 String rel; |
| 22235 |
| 22236 String rev; |
| 22237 |
| 22238 final StyleSheet sheet; |
| 22239 |
| 22240 DOMSettableTokenList sizes; |
| 22241 |
| 22242 String target; |
| 22243 |
| 22244 String type; |
| 22245 } |
| 22246 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22247 // for details. All rights reserved. Use of this source code is governed by a |
| 22248 // BSD-style license that can be found in the LICENSE file. |
| 22249 |
| 22250 // WARNING: Do not edit - generated code. |
| 22251 |
| 22252 interface LocalMediaStream extends MediaStream { |
| 22253 |
| 22254 void stop(); |
| 22255 } |
| 22256 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22257 // for details. All rights reserved. Use of this source code is governed by a |
| 22258 // BSD-style license that can be found in the LICENSE file. |
| 22259 |
| 22260 // WARNING: Do not edit - generated code. |
| 22261 |
| 22262 interface Location { |
| 22263 |
| 22264 String hash; |
| 22265 |
| 22266 String host; |
| 22267 |
| 22268 String hostname; |
| 22269 |
| 22270 String href; |
| 22271 |
| 22272 final String origin; |
| 22273 |
| 22274 String pathname; |
| 22275 |
| 22276 String port; |
| 22277 |
| 22278 String protocol; |
| 22279 |
| 22280 String search; |
| 22281 |
| 22282 void assign(String url); |
| 22283 |
| 22284 void reload(); |
| 22285 |
| 22286 void replace(String url); |
| 22287 |
| 22288 String toString(); |
| 22289 } |
| 22290 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22291 // for details. All rights reserved. Use of this source code is governed by a |
| 22292 // BSD-style license that can be found in the LICENSE file. |
| 22293 |
| 22294 // WARNING: Do not edit - generated code. |
| 22295 |
| 22296 interface LowPass2FilterNode extends AudioNode { |
| 22297 |
| 22298 final AudioParam cutoff; |
| 22299 |
| 22300 final AudioParam resonance; |
| 22301 } |
| 22302 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22303 // for details. All rights reserved. Use of this source code is governed by a |
| 22304 // BSD-style license that can be found in the LICENSE file. |
| 22305 |
| 22306 // WARNING: Do not edit - generated code. |
| 22307 |
| 22308 interface MapElement extends Element { |
| 22309 |
| 22310 final HTMLCollection areas; |
| 22311 |
| 22312 String name; |
| 22313 } |
| 22314 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22315 // for details. All rights reserved. Use of this source code is governed by a |
| 22316 // BSD-style license that can be found in the LICENSE file. |
| 22317 |
| 22318 // WARNING: Do not edit - generated code. |
| 22319 |
| 22320 interface MarqueeElement extends Element { |
| 22321 |
| 22322 String behavior; |
| 22323 |
| 22324 String bgColor; |
| 22325 |
| 22326 String direction; |
| 22327 |
| 22328 String height; |
| 22329 |
| 22330 int hspace; |
| 22331 |
| 22332 int loop; |
| 22333 |
| 22334 int scrollAmount; |
| 22335 |
| 22336 int scrollDelay; |
| 22337 |
| 22338 bool trueSpeed; |
| 22339 |
| 22340 int vspace; |
| 22341 |
| 22342 String width; |
| 22343 |
| 22344 void start(); |
| 22345 |
| 22346 void stop(); |
| 22347 } |
| 22348 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22349 // for details. All rights reserved. Use of this source code is governed by a |
| 22350 // BSD-style license that can be found in the LICENSE file. |
| 22351 |
| 22352 // WARNING: Do not edit - generated code. |
| 22353 |
| 22354 interface MediaController { |
| 22355 |
| 22356 final TimeRanges buffered; |
| 22357 |
| 22358 num currentTime; |
| 22359 |
| 22360 num defaultPlaybackRate; |
| 22361 |
| 22362 final num duration; |
| 22363 |
| 22364 bool muted; |
| 22365 |
| 22366 final bool paused; |
| 22367 |
| 22368 num playbackRate; |
| 22369 |
| 22370 final TimeRanges played; |
| 22371 |
| 22372 final TimeRanges seekable; |
| 22373 |
| 22374 num volume; |
| 22375 |
| 22376 void addEventListener(String type, EventListener listener, [bool useCapture]); |
| 22377 |
| 22378 bool dispatchEvent(Event evt); |
| 22379 |
| 22380 void pause(); |
| 22381 |
| 22382 void play(); |
| 22383 |
| 22384 void removeEventListener(String type, EventListener listener, [bool useCapture
]); |
| 22385 } |
| 22386 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22387 // for details. All rights reserved. Use of this source code is governed by a |
| 22388 // BSD-style license that can be found in the LICENSE file. |
| 22389 |
| 22390 // WARNING: Do not edit - generated code. |
| 22391 |
| 22392 interface MediaElement extends Element { |
| 22393 |
| 22394 static final int EOS_DECODE_ERR = 2; |
| 22395 |
| 22396 static final int EOS_NETWORK_ERR = 1; |
| 22397 |
| 22398 static final int EOS_NO_ERROR = 0; |
| 22399 |
| 22400 static final int HAVE_CURRENT_DATA = 2; |
| 22401 |
| 22402 static final int HAVE_ENOUGH_DATA = 4; |
| 22403 |
| 22404 static final int HAVE_FUTURE_DATA = 3; |
| 22405 |
| 22406 static final int HAVE_METADATA = 1; |
| 22407 |
| 22408 static final int HAVE_NOTHING = 0; |
| 22409 |
| 22410 static final int NETWORK_EMPTY = 0; |
| 22411 |
| 22412 static final int NETWORK_IDLE = 1; |
| 22413 |
| 22414 static final int NETWORK_LOADING = 2; |
| 22415 |
| 22416 static final int NETWORK_NO_SOURCE = 3; |
| 22417 |
| 22418 static final int SOURCE_CLOSED = 0; |
| 22419 |
| 22420 static final int SOURCE_ENDED = 2; |
| 22421 |
| 22422 static final int SOURCE_OPEN = 1; |
| 22423 |
| 22424 bool autoplay; |
| 22425 |
| 22426 final TimeRanges buffered; |
| 22427 |
| 22428 MediaController controller; |
| 22429 |
| 22430 bool controls; |
| 22431 |
| 22432 final String currentSrc; |
| 22433 |
| 22434 num currentTime; |
| 22435 |
| 22436 bool defaultMuted; |
| 22437 |
| 22438 num defaultPlaybackRate; |
| 22439 |
| 22440 final num duration; |
| 22441 |
| 22442 final bool ended; |
| 22443 |
| 22444 final MediaError error; |
| 22445 |
| 22446 final num initialTime; |
| 22447 |
| 22448 bool loop; |
| 22449 |
| 22450 String mediaGroup; |
| 22451 |
| 22452 bool muted; |
| 22453 |
| 22454 final int networkState; |
| 22455 |
| 22456 final bool paused; |
| 22457 |
| 22458 num playbackRate; |
| 22459 |
| 22460 final TimeRanges played; |
| 22461 |
| 22462 String preload; |
| 22463 |
| 22464 final int readyState; |
| 22465 |
| 22466 final TimeRanges seekable; |
| 22467 |
| 22468 final bool seeking; |
| 22469 |
| 22470 String src; |
| 22471 |
| 22472 final num startTime; |
| 22473 |
| 22474 final TextTrackList textTracks; |
| 22475 |
| 22476 num volume; |
| 22477 |
| 22478 final int webkitAudioDecodedByteCount; |
| 22479 |
| 22480 bool webkitClosedCaptionsVisible; |
| 22481 |
| 22482 final bool webkitHasClosedCaptions; |
| 22483 |
| 22484 final String webkitMediaSourceURL; |
| 22485 |
| 22486 bool webkitPreservesPitch; |
| 22487 |
| 22488 final int webkitSourceState; |
| 22489 |
| 22490 final int webkitVideoDecodedByteCount; |
| 22491 |
| 22492 TextTrack addTextTrack(String kind, [String label, String language]); |
| 22493 |
| 22494 String canPlayType(String type); |
| 22495 |
| 22496 void load(); |
| 22497 |
| 22498 void pause(); |
| 22499 |
| 22500 void play(); |
| 22501 |
| 22502 void webkitSourceAppend(Uint8Array data); |
| 22503 |
| 22504 void webkitSourceEndOfStream(int status); |
| 22505 } |
| 22506 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22507 // for details. All rights reserved. Use of this source code is governed by a |
| 22508 // BSD-style license that can be found in the LICENSE file. |
| 22509 |
| 22510 // WARNING: Do not edit - generated code. |
| 22511 |
| 22512 interface MediaElementAudioSourceNode extends AudioSourceNode { |
| 22513 |
| 22514 final MediaElement mediaElement; |
| 22515 } |
| 22516 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22517 // for details. All rights reserved. Use of this source code is governed by a |
| 22518 // BSD-style license that can be found in the LICENSE file. |
| 22519 |
| 22520 // WARNING: Do not edit - generated code. |
| 22521 |
| 22522 interface MediaError { |
| 22523 |
| 22524 static final int MEDIA_ERR_ABORTED = 1; |
| 22525 |
| 22526 static final int MEDIA_ERR_DECODE = 3; |
| 22527 |
| 22528 static final int MEDIA_ERR_NETWORK = 2; |
| 22529 |
| 22530 static final int MEDIA_ERR_SRC_NOT_SUPPORTED = 4; |
| 22531 |
| 22532 final int code; |
| 22533 } |
| 22534 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22535 // for details. All rights reserved. Use of this source code is governed by a |
| 22536 // BSD-style license that can be found in the LICENSE file. |
| 22537 |
| 22538 // WARNING: Do not edit - generated code. |
| 22539 |
| 22540 interface MediaList extends List<String> { |
| 22541 |
| 22542 final int length; |
| 22543 |
| 22544 String mediaText; |
| 22545 |
| 22546 void appendMedium(String newMedium); |
| 22547 |
| 22548 void deleteMedium(String oldMedium); |
| 22549 |
| 22550 String item(int index); |
| 22551 } |
| 22552 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22553 // for details. All rights reserved. Use of this source code is governed by a |
| 22554 // BSD-style license that can be found in the LICENSE file. |
| 22555 |
| 22556 // WARNING: Do not edit - generated code. |
| 22557 |
| 22558 interface MediaQueryList { |
| 22559 |
| 22560 final bool matches; |
| 22561 |
| 22562 final String media; |
| 22563 |
| 22564 void addListener(MediaQueryListListener listener); |
| 22565 |
| 22566 void removeListener(MediaQueryListListener listener); |
| 22567 } |
| 22568 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22569 // for details. All rights reserved. Use of this source code is governed by a |
| 22570 // BSD-style license that can be found in the LICENSE file. |
| 22571 |
| 22572 // WARNING: Do not edit - generated code. |
| 22573 |
| 22574 interface MediaQueryListListener { |
| 22575 |
| 22576 void queryChanged(MediaQueryList list); |
| 22577 } |
| 22578 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22579 // for details. All rights reserved. Use of this source code is governed by a |
| 22580 // BSD-style license that can be found in the LICENSE file. |
| 22581 |
| 22582 // WARNING: Do not edit - generated code. |
| 22583 |
| 22584 interface MediaStream { |
| 22585 |
| 22586 static final int ENDED = 2; |
| 22587 |
| 22588 static final int LIVE = 1; |
| 22589 |
| 22590 final MediaStreamTrackList audioTracks; |
| 22591 |
| 22592 final String label; |
| 22593 |
| 22594 EventListener onended; |
| 22595 |
| 22596 final int readyState; |
| 22597 |
| 22598 final MediaStreamTrackList videoTracks; |
| 22599 |
| 22600 void addEventListener(String type, EventListener listener, [bool useCapture]); |
| 22601 |
| 22602 bool dispatchEvent(Event event); |
| 22603 |
| 22604 void removeEventListener(String type, EventListener listener, [bool useCapture
]); |
| 22605 } |
| 22606 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22607 // for details. All rights reserved. Use of this source code is governed by a |
| 22608 // BSD-style license that can be found in the LICENSE file. |
| 22609 |
| 22610 // WARNING: Do not edit - generated code. |
| 22611 |
| 22612 interface MediaStreamEvent extends Event { |
| 22613 |
| 22614 final MediaStream stream; |
| 22615 } |
| 22616 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22617 // for details. All rights reserved. Use of this source code is governed by a |
| 22618 // BSD-style license that can be found in the LICENSE file. |
| 22619 |
| 22620 // WARNING: Do not edit - generated code. |
| 22621 |
| 22622 interface MediaStreamList { |
| 22623 |
| 22624 final int length; |
| 22625 |
| 22626 MediaStream item(int index); |
| 22627 } |
| 22628 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22629 // for details. All rights reserved. Use of this source code is governed by a |
| 22630 // BSD-style license that can be found in the LICENSE file. |
| 22631 |
| 22632 // WARNING: Do not edit - generated code. |
| 22633 |
| 22634 interface MediaStreamTrack { |
| 22635 |
| 22636 bool enabled; |
| 22637 |
| 22638 final String kind; |
| 22639 |
| 22640 final String label; |
| 22641 } |
| 22642 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22643 // for details. All rights reserved. Use of this source code is governed by a |
| 22644 // BSD-style license that can be found in the LICENSE file. |
| 22645 |
| 22646 // WARNING: Do not edit - generated code. |
| 22647 |
| 22648 interface MediaStreamTrackList { |
| 22649 |
| 22650 final int length; |
| 22651 |
| 22652 MediaStreamTrack item(int index); |
| 22653 } |
| 22654 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22655 // for details. All rights reserved. Use of this source code is governed by a |
| 22656 // BSD-style license that can be found in the LICENSE file. |
| 22657 |
| 22658 // WARNING: Do not edit - generated code. |
| 22659 |
| 22660 interface MemoryInfo { |
| 22661 |
| 22662 final int jsHeapSizeLimit; |
| 22663 |
| 22664 final int totalJSHeapSize; |
| 22665 |
| 22666 final int usedJSHeapSize; |
| 22667 } |
| 22668 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22669 // for details. All rights reserved. Use of this source code is governed by a |
| 22670 // BSD-style license that can be found in the LICENSE file. |
| 22671 |
| 22672 // WARNING: Do not edit - generated code. |
| 22673 |
| 22674 interface MenuElement extends Element { |
| 22675 |
| 22676 bool compact; |
| 22677 } |
| 22678 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22679 // for details. All rights reserved. Use of this source code is governed by a |
| 22680 // BSD-style license that can be found in the LICENSE file. |
| 22681 |
| 22682 // WARNING: Do not edit - generated code. |
| 22683 |
| 22684 interface MessageChannel { |
| 22685 |
| 22686 final MessagePort port1; |
| 22687 |
| 22688 final MessagePort port2; |
| 22689 } |
| 22690 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22691 // for details. All rights reserved. Use of this source code is governed by a |
| 22692 // BSD-style license that can be found in the LICENSE file. |
| 22693 |
| 22694 // WARNING: Do not edit - generated code. |
| 22695 |
| 22696 interface MessageEvent extends Event { |
| 22697 |
| 22698 final Object data; |
| 22699 |
| 22700 final String lastEventId; |
| 22701 |
| 22702 final String origin; |
| 22703 |
| 22704 final List ports; |
| 22705 |
| 22706 final Window source; |
| 22707 |
| 22708 void initMessageEvent(String typeArg, bool canBubbleArg, bool cancelableArg, O
bject dataArg, String originArg, String lastEventIdArg, Window sourceArg, List m
essagePorts); |
| 22709 |
| 22710 void webkitInitMessageEvent(String typeArg, bool canBubbleArg, bool cancelable
Arg, Object dataArg, String originArg, String lastEventIdArg, Window sourceArg,
List transferables); |
| 22711 } |
| 22712 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22713 // for details. All rights reserved. Use of this source code is governed by a |
| 22714 // BSD-style license that can be found in the LICENSE file. |
| 22715 |
| 22716 // WARNING: Do not edit - generated code. |
| 22717 |
| 22718 interface MessagePort extends EventTarget { |
| 22719 |
| 22720 MessagePortEvents get on(); |
| 22721 |
| 22722 void close(); |
| 22723 |
| 22724 void postMessage(String message, [List messagePorts]); |
| 22725 |
| 22726 void start(); |
| 22727 |
| 22728 void webkitPostMessage(String message, [List transfer]); |
| 22729 } |
| 22730 |
| 22731 interface MessagePortEvents extends Events { |
| 22732 |
| 22733 EventListenerList get message(); |
| 22734 } |
| 22735 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22736 // for details. All rights reserved. Use of this source code is governed by a |
| 22737 // BSD-style license that can be found in the LICENSE file. |
| 22738 |
| 22739 // WARNING: Do not edit - generated code. |
| 22740 |
| 22741 interface MetaElement extends Element { |
| 22742 |
| 22743 String content; |
| 22744 |
| 22745 String httpEquiv; |
| 22746 |
| 22747 String name; |
| 22748 |
| 22749 String scheme; |
| 22750 } |
| 22751 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22752 // for details. All rights reserved. Use of this source code is governed by a |
| 22753 // BSD-style license that can be found in the LICENSE file. |
| 22754 |
| 22755 // WARNING: Do not edit - generated code. |
| 22756 |
| 22757 interface Metadata { |
| 22758 |
| 22759 final Date modificationTime; |
| 22760 } |
| 22761 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 22762 // for details. All rights reserved. Use of this source code is governed by a |
| 22763 // BSD-style license that can be found in the LICENSE file. |
| 22764 |
| 22765 // WARNING: Do not edit - generated code. |
| 22766 |
| 22767 typedef bool MetadataCallback(Metadata metadata); |
| 22768 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22769 // for details. All rights reserved. Use of this source code is governed by a |
| 22770 // BSD-style license that can be found in the LICENSE file. |
| 22771 |
| 22772 // WARNING: Do not edit - generated code. |
| 22773 |
| 22774 interface MeterElement extends Element { |
| 22775 |
| 22776 final FormElement form; |
| 22777 |
| 22778 num high; |
| 22779 |
| 22780 final NodeList labels; |
| 22781 |
| 22782 num low; |
| 22783 |
| 22784 num max; |
| 22785 |
| 22786 num min; |
| 22787 |
| 22788 num optimum; |
| 22789 |
| 22790 num value; |
| 22791 } |
| 22792 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22793 // for details. All rights reserved. Use of this source code is governed by a |
| 22794 // BSD-style license that can be found in the LICENSE file. |
| 22795 |
| 22796 // WARNING: Do not edit - generated code. |
| 22797 |
| 22798 interface ModElement extends Element { |
| 22799 |
| 22800 String cite; |
| 22801 |
| 22802 String dateTime; |
| 22803 } |
| 22804 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22805 // for details. All rights reserved. Use of this source code is governed by a |
| 22806 // BSD-style license that can be found in the LICENSE file. |
| 22807 |
| 22808 // WARNING: Do not edit - generated code. |
| 22809 |
| 22810 interface MouseEvent extends UIEvent { |
| 22811 |
| 22812 final bool altKey; |
| 22813 |
| 22814 final int button; |
| 22815 |
| 22816 final int clientX; |
| 22817 |
| 22818 final int clientY; |
| 22819 |
| 22820 final bool ctrlKey; |
| 22821 |
| 22822 final Clipboard dataTransfer; |
| 22823 |
| 22824 final Node fromElement; |
| 22825 |
| 22826 final bool metaKey; |
| 22827 |
| 22828 final int offsetX; |
| 22829 |
| 22830 final int offsetY; |
| 22831 |
| 22832 final EventTarget relatedTarget; |
| 22833 |
| 22834 final int screenX; |
| 22835 |
| 22836 final int screenY; |
| 22837 |
| 22838 final bool shiftKey; |
| 22839 |
| 22840 final Node toElement; |
| 22841 |
| 22842 final int x; |
| 22843 |
| 22844 final int y; |
| 22845 |
| 22846 void initMouseEvent(String type, bool canBubble, bool cancelable, Window view,
int detail, int screenX, int screenY, int clientX, int clientY, bool ctrlKey, b
ool altKey, bool shiftKey, bool metaKey, int button, EventTarget relatedTarget); |
| 22847 } |
| 22848 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22849 // for details. All rights reserved. Use of this source code is governed by a |
| 22850 // BSD-style license that can be found in the LICENSE file. |
| 22851 |
| 22852 // WARNING: Do not edit - generated code. |
| 22853 |
| 22854 interface MutationEvent extends Event { |
| 22855 |
| 22856 static final int ADDITION = 2; |
| 22857 |
| 22858 static final int MODIFICATION = 1; |
| 22859 |
| 22860 static final int REMOVAL = 3; |
| 22861 |
| 22862 final int attrChange; |
| 22863 |
| 22864 final String attrName; |
| 22865 |
| 22866 final String newValue; |
| 22867 |
| 22868 final String prevValue; |
| 22869 |
| 22870 final Node relatedNode; |
| 22871 |
| 22872 void initMutationEvent(String type, bool canBubble, bool cancelable, Node rela
tedNode, String prevValue, String newValue, String attrName, int attrChange); |
| 22873 } |
| 22874 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22875 // for details. All rights reserved. Use of this source code is governed by a |
| 22876 // BSD-style license that can be found in the LICENSE file. |
| 22877 |
| 22878 // WARNING: Do not edit - generated code. |
| 22879 |
| 22880 interface NamedNodeMap extends List<Node> { |
| 22881 |
| 22882 final int length; |
| 22883 |
| 22884 Node getNamedItem(String name); |
| 22885 |
| 22886 Node getNamedItemNS(String namespaceURI, String localName); |
| 22887 |
| 22888 Node item(int index); |
| 22889 |
| 22890 Node removeNamedItem(String name); |
| 22891 |
| 22892 Node removeNamedItemNS(String namespaceURI, String localName); |
| 22893 |
| 22894 Node setNamedItem(Node node); |
| 22895 |
| 22896 Node setNamedItemNS(Node node); |
| 22897 } |
| 22898 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22899 // for details. All rights reserved. Use of this source code is governed by a |
| 22900 // BSD-style license that can be found in the LICENSE file. |
| 22901 |
| 22902 // WARNING: Do not edit - generated code. |
| 22903 |
| 22904 interface Navigator { |
| 22905 |
| 22906 final String appCodeName; |
| 22907 |
| 22908 final String appName; |
| 22909 |
| 22910 final String appVersion; |
| 22911 |
| 22912 final bool cookieEnabled; |
| 22913 |
| 22914 final Geolocation geolocation; |
| 22915 |
| 22916 final String language; |
| 22917 |
| 22918 final DOMMimeTypeArray mimeTypes; |
| 22919 |
| 22920 final bool onLine; |
| 22921 |
| 22922 final String platform; |
| 22923 |
| 22924 final DOMPluginArray plugins; |
| 22925 |
| 22926 final String product; |
| 22927 |
| 22928 final String productSub; |
| 22929 |
| 22930 final String userAgent; |
| 22931 |
| 22932 final String vendor; |
| 22933 |
| 22934 final String vendorSub; |
| 22935 |
| 22936 void getStorageUpdates(); |
| 22937 |
| 22938 bool javaEnabled(); |
| 22939 |
| 22940 void registerProtocolHandler(String scheme, String url, String title); |
| 22941 |
| 22942 void webkitGetUserMedia(String options, NavigatorUserMediaSuccessCallback succ
essCallback, [NavigatorUserMediaErrorCallback errorCallback]); |
| 22943 } |
| 22944 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22945 // for details. All rights reserved. Use of this source code is governed by a |
| 22946 // BSD-style license that can be found in the LICENSE file. |
| 22947 |
| 22948 // WARNING: Do not edit - generated code. |
| 22949 |
| 22950 interface NavigatorUserMediaError { |
| 22951 |
| 22952 static final int PERMISSION_DENIED = 1; |
| 22953 |
| 22954 final int code; |
| 22955 } |
| 22956 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 22957 // for details. All rights reserved. Use of this source code is governed by a |
| 22958 // BSD-style license that can be found in the LICENSE file. |
| 22959 |
| 22960 // WARNING: Do not edit - generated code. |
| 22961 |
| 22962 typedef bool NavigatorUserMediaErrorCallback(NavigatorUserMediaError error); |
| 22963 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 22964 // for details. All rights reserved. Use of this source code is governed by a |
| 22965 // BSD-style license that can be found in the LICENSE file. |
| 22966 |
| 22967 // WARNING: Do not edit - generated code. |
| 22968 |
| 22969 typedef bool NavigatorUserMediaSuccessCallback(LocalMediaStream stream); |
| 22970 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 22971 // for details. All rights reserved. Use of this source code is governed by a |
| 22972 // BSD-style license that can be found in the LICENSE file. |
| 22973 |
| 22974 // WARNING: Do not edit - generated code. |
| 22975 |
| 22976 interface Node extends EventTarget { |
| 22977 NodeList get nodes(); |
| 22978 |
| 22979 // TODO: The type of value should be Collection<Node>. See http://b/5392897 |
| 22980 void set nodes(value); |
| 22981 |
| 22982 Node get nextNode(); |
| 22983 |
| 22984 Document get document(); |
| 22985 |
| 22986 Node get parent(); |
| 22987 |
| 22988 Node get previousNode(); |
| 22989 |
| 22990 String get text(); |
| 22991 |
| 22992 void set text(String value); |
| 22993 |
| 22994 Node replaceWith(Node otherNode); |
| 22995 |
| 22996 Node remove(); |
| 22997 |
| 22998 |
| 22999 static final int ATTRIBUTE_NODE = 2; |
| 23000 |
| 23001 static final int CDATA_SECTION_NODE = 4; |
| 23002 |
| 23003 static final int COMMENT_NODE = 8; |
| 23004 |
| 23005 static final int DOCUMENT_FRAGMENT_NODE = 11; |
| 23006 |
| 23007 static final int DOCUMENT_NODE = 9; |
| 23008 |
| 23009 static final int DOCUMENT_POSITION_CONTAINED_BY = 0x10; |
| 23010 |
| 23011 static final int DOCUMENT_POSITION_CONTAINS = 0x08; |
| 23012 |
| 23013 static final int DOCUMENT_POSITION_DISCONNECTED = 0x01; |
| 23014 |
| 23015 static final int DOCUMENT_POSITION_FOLLOWING = 0x04; |
| 23016 |
| 23017 static final int DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = 0x20; |
| 23018 |
| 23019 static final int DOCUMENT_POSITION_PRECEDING = 0x02; |
| 23020 |
| 23021 static final int DOCUMENT_TYPE_NODE = 10; |
| 23022 |
| 23023 static final int ELEMENT_NODE = 1; |
| 23024 |
| 23025 static final int ENTITY_NODE = 6; |
| 23026 |
| 23027 static final int ENTITY_REFERENCE_NODE = 5; |
| 23028 |
| 23029 static final int NOTATION_NODE = 12; |
| 23030 |
| 23031 static final int PROCESSING_INSTRUCTION_NODE = 7; |
| 23032 |
| 23033 static final int TEXT_NODE = 3; |
| 23034 |
| 23035 final Node nextSibling; |
| 23036 |
| 23037 final Document ownerDocument; |
| 23038 |
| 23039 final Node parentNode; |
| 23040 |
| 23041 final Node previousSibling; |
| 23042 |
| 23043 String textContent; |
| 23044 |
| 23045 Node cloneNode(bool deep); |
| 23046 |
| 23047 bool contains(Node other); |
| 23048 |
| 23049 bool hasChildNodes(); |
| 23050 |
| 23051 Node insertBefore(Node newChild, Node refChild); |
| 23052 |
| 23053 } |
| 23054 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23055 // for details. All rights reserved. Use of this source code is governed by a |
| 23056 // BSD-style license that can be found in the LICENSE file. |
| 23057 |
| 23058 // WARNING: Do not edit - generated code. |
| 23059 |
| 23060 interface NodeFilter { |
| 23061 |
| 23062 static final int FILTER_ACCEPT = 1; |
| 23063 |
| 23064 static final int FILTER_REJECT = 2; |
| 23065 |
| 23066 static final int FILTER_SKIP = 3; |
| 23067 |
| 23068 static final int SHOW_ALL = 0xFFFFFFFF; |
| 23069 |
| 23070 static final int SHOW_ATTRIBUTE = 0x00000002; |
| 23071 |
| 23072 static final int SHOW_CDATA_SECTION = 0x00000008; |
| 23073 |
| 23074 static final int SHOW_COMMENT = 0x00000080; |
| 23075 |
| 23076 static final int SHOW_DOCUMENT = 0x00000100; |
| 23077 |
| 23078 static final int SHOW_DOCUMENT_FRAGMENT = 0x00000400; |
| 23079 |
| 23080 static final int SHOW_DOCUMENT_TYPE = 0x00000200; |
| 23081 |
| 23082 static final int SHOW_ELEMENT = 0x00000001; |
| 23083 |
| 23084 static final int SHOW_ENTITY = 0x00000020; |
| 23085 |
| 23086 static final int SHOW_ENTITY_REFERENCE = 0x00000010; |
| 23087 |
| 23088 static final int SHOW_NOTATION = 0x00000800; |
| 23089 |
| 23090 static final int SHOW_PROCESSING_INSTRUCTION = 0x00000040; |
| 23091 |
| 23092 static final int SHOW_TEXT = 0x00000004; |
| 23093 |
| 23094 int acceptNode(Node n); |
| 23095 } |
| 23096 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23097 // for details. All rights reserved. Use of this source code is governed by a |
| 23098 // BSD-style license that can be found in the LICENSE file. |
| 23099 |
| 23100 // WARNING: Do not edit - generated code. |
| 23101 |
| 23102 interface NodeIterator { |
| 23103 |
| 23104 final bool expandEntityReferences; |
| 23105 |
| 23106 final NodeFilter filter; |
| 23107 |
| 23108 final bool pointerBeforeReferenceNode; |
| 23109 |
| 23110 final Node referenceNode; |
| 23111 |
| 23112 final Node root; |
| 23113 |
| 23114 final int whatToShow; |
| 23115 |
| 23116 void detach(); |
| 23117 |
| 23118 Node nextNode(); |
| 23119 |
| 23120 Node previousNode(); |
| 23121 } |
| 23122 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 23123 // for details. All rights reserved. Use of this source code is governed by a |
| 23124 // BSD-style license that can be found in the LICENSE file. |
| 23125 |
| 23126 // WARNING: Do not edit - generated code. |
| 23127 |
| 23128 interface NodeList extends List<Node> { |
| 23129 |
| 23130 NodeList filter(bool f(Node element)); |
| 23131 |
| 23132 NodeList getRange(int start, int length); |
| 23133 |
| 23134 Node get first(); |
| 23135 |
| 23136 |
| 23137 final int length; |
| 23138 |
| 23139 } |
| 23140 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23141 // for details. All rights reserved. Use of this source code is governed by a |
| 23142 // BSD-style license that can be found in the LICENSE file. |
| 23143 |
| 23144 // WARNING: Do not edit - generated code. |
| 23145 |
| 23146 interface NodeSelector { |
| 23147 |
| 23148 Element querySelector(String selectors); |
| 23149 |
| 23150 NodeList querySelectorAll(String selectors); |
| 23151 } |
| 23152 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23153 // for details. All rights reserved. Use of this source code is governed by a |
| 23154 // BSD-style license that can be found in the LICENSE file. |
| 23155 |
| 23156 // WARNING: Do not edit - generated code. |
| 23157 |
| 23158 interface Notation extends Node { |
| 23159 |
| 23160 final String publicId; |
| 23161 |
| 23162 final String systemId; |
| 23163 } |
| 23164 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23165 // for details. All rights reserved. Use of this source code is governed by a |
| 23166 // BSD-style license that can be found in the LICENSE file. |
| 23167 |
| 23168 // WARNING: Do not edit - generated code. |
| 23169 |
| 23170 interface Notification extends EventTarget { |
| 23171 |
| 23172 String dir; |
| 23173 |
| 23174 String replaceId; |
| 23175 |
| 23176 NotificationEvents get on(); |
| 23177 |
| 23178 void cancel(); |
| 23179 |
| 23180 void show(); |
| 23181 } |
| 23182 |
| 23183 interface NotificationEvents extends Events { |
| 23184 |
| 23185 EventListenerList get click(); |
| 23186 |
| 23187 EventListenerList get close(); |
| 23188 |
| 23189 EventListenerList get display(); |
| 23190 |
| 23191 EventListenerList get error(); |
| 23192 |
| 23193 EventListenerList get show(); |
| 23194 } |
| 23195 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23196 // for details. All rights reserved. Use of this source code is governed by a |
| 23197 // BSD-style license that can be found in the LICENSE file. |
| 23198 |
| 23199 // WARNING: Do not edit - generated code. |
| 23200 |
| 23201 interface NotificationCenter { |
| 23202 |
| 23203 int checkPermission(); |
| 23204 |
| 23205 Notification createHTMLNotification(String url); |
| 23206 |
| 23207 Notification createNotification(String iconUrl, String title, String body); |
| 23208 |
| 23209 void requestPermission(VoidCallback callback); |
| 23210 } |
| 23211 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23212 // for details. All rights reserved. Use of this source code is governed by a |
| 23213 // BSD-style license that can be found in the LICENSE file. |
| 23214 |
| 23215 // WARNING: Do not edit - generated code. |
| 23216 |
| 23217 interface OESStandardDerivatives { |
| 23218 |
| 23219 static final int FRAGMENT_SHADER_DERIVATIVE_HINT_OES = 0x8B8B; |
| 23220 } |
| 23221 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23222 // for details. All rights reserved. Use of this source code is governed by a |
| 23223 // BSD-style license that can be found in the LICENSE file. |
| 23224 |
| 23225 // WARNING: Do not edit - generated code. |
| 23226 |
| 23227 interface OESTextureFloat { |
| 23228 } |
| 23229 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23230 // for details. All rights reserved. Use of this source code is governed by a |
| 23231 // BSD-style license that can be found in the LICENSE file. |
| 23232 |
| 23233 // WARNING: Do not edit - generated code. |
| 23234 |
| 23235 interface OESVertexArrayObject { |
| 23236 |
| 23237 static final int VERTEX_ARRAY_BINDING_OES = 0x85B5; |
| 23238 |
| 23239 void bindVertexArrayOES(WebGLVertexArrayObjectOES arrayObject); |
| 23240 |
| 23241 WebGLVertexArrayObjectOES createVertexArrayOES(); |
| 23242 |
| 23243 void deleteVertexArrayOES(WebGLVertexArrayObjectOES arrayObject); |
| 23244 |
| 23245 bool isVertexArrayOES(WebGLVertexArrayObjectOES arrayObject); |
| 23246 } |
| 23247 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23248 // for details. All rights reserved. Use of this source code is governed by a |
| 23249 // BSD-style license that can be found in the LICENSE file. |
| 23250 |
| 23251 // WARNING: Do not edit - generated code. |
| 23252 |
| 23253 interface OListElement extends Element { |
| 23254 |
| 23255 bool compact; |
| 23256 |
| 23257 bool reversed; |
| 23258 |
| 23259 int start; |
| 23260 |
| 23261 String type; |
| 23262 } |
| 23263 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23264 // for details. All rights reserved. Use of this source code is governed by a |
| 23265 // BSD-style license that can be found in the LICENSE file. |
| 23266 |
| 23267 // WARNING: Do not edit - generated code. |
| 23268 |
| 23269 interface ObjectElement extends Element { |
| 23270 |
| 23271 String align; |
| 23272 |
| 23273 String archive; |
| 23274 |
| 23275 String border; |
| 23276 |
| 23277 String code; |
| 23278 |
| 23279 String codeBase; |
| 23280 |
| 23281 String codeType; |
| 23282 |
| 23283 final Document contentDocument; |
| 23284 |
| 23285 String data; |
| 23286 |
| 23287 bool declare; |
| 23288 |
| 23289 final FormElement form; |
| 23290 |
| 23291 String height; |
| 23292 |
| 23293 int hspace; |
| 23294 |
| 23295 String name; |
| 23296 |
| 23297 String standby; |
| 23298 |
| 23299 String type; |
| 23300 |
| 23301 String useMap; |
| 23302 |
| 23303 final String validationMessage; |
| 23304 |
| 23305 final ValidityState validity; |
| 23306 |
| 23307 int vspace; |
| 23308 |
| 23309 String width; |
| 23310 |
| 23311 final bool willValidate; |
| 23312 |
| 23313 bool checkValidity(); |
| 23314 |
| 23315 void setCustomValidity(String error); |
| 23316 } |
| 23317 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23318 // for details. All rights reserved. Use of this source code is governed by a |
| 23319 // BSD-style license that can be found in the LICENSE file. |
| 23320 |
| 23321 // WARNING: Do not edit - generated code. |
| 23322 |
| 23323 interface OfflineAudioCompletionEvent extends Event { |
| 23324 |
| 23325 final AudioBuffer renderedBuffer; |
| 23326 } |
| 23327 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23328 // for details. All rights reserved. Use of this source code is governed by a |
| 23329 // BSD-style license that can be found in the LICENSE file. |
| 23330 |
| 23331 // WARNING: Do not edit - generated code. |
| 23332 |
| 23333 interface OperationNotAllowedException { |
| 23334 |
| 23335 static final int NOT_ALLOWED_ERR = 1; |
| 23336 |
| 23337 final int code; |
| 23338 |
| 23339 final String message; |
| 23340 |
| 23341 final String name; |
| 23342 |
| 23343 String toString(); |
| 23344 } |
| 23345 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23346 // for details. All rights reserved. Use of this source code is governed by a |
| 23347 // BSD-style license that can be found in the LICENSE file. |
| 23348 |
| 23349 // WARNING: Do not edit - generated code. |
| 23350 |
| 23351 interface OptGroupElement extends Element { |
| 23352 |
| 23353 bool disabled; |
| 23354 |
| 23355 String label; |
| 23356 } |
| 23357 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23358 // for details. All rights reserved. Use of this source code is governed by a |
| 23359 // BSD-style license that can be found in the LICENSE file. |
| 23360 |
| 23361 // WARNING: Do not edit - generated code. |
| 23362 |
| 23363 interface OptionElement extends Element { |
| 23364 |
| 23365 bool defaultSelected; |
| 23366 |
| 23367 bool disabled; |
| 23368 |
| 23369 final FormElement form; |
| 23370 |
| 23371 final int index; |
| 23372 |
| 23373 String label; |
| 23374 |
| 23375 bool selected; |
| 23376 |
| 23377 String text; |
| 23378 |
| 23379 String value; |
| 23380 } |
| 23381 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23382 // for details. All rights reserved. Use of this source code is governed by a |
| 23383 // BSD-style license that can be found in the LICENSE file. |
| 23384 |
| 23385 // WARNING: Do not edit - generated code. |
| 23386 |
| 23387 interface OutputElement extends Element { |
| 23388 |
| 23389 String defaultValue; |
| 23390 |
| 23391 final FormElement form; |
| 23392 |
| 23393 DOMSettableTokenList htmlFor; |
| 23394 |
| 23395 final NodeList labels; |
| 23396 |
| 23397 String name; |
| 23398 |
| 23399 final String type; |
| 23400 |
| 23401 final String validationMessage; |
| 23402 |
| 23403 final ValidityState validity; |
| 23404 |
| 23405 String value; |
| 23406 |
| 23407 final bool willValidate; |
| 23408 |
| 23409 bool checkValidity(); |
| 23410 |
| 23411 void setCustomValidity(String error); |
| 23412 } |
| 23413 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23414 // for details. All rights reserved. Use of this source code is governed by a |
| 23415 // BSD-style license that can be found in the LICENSE file. |
| 23416 |
| 23417 // WARNING: Do not edit - generated code. |
| 23418 |
| 23419 interface OverflowEvent extends Event { |
| 23420 |
| 23421 static final int BOTH = 2; |
| 23422 |
| 23423 static final int HORIZONTAL = 0; |
| 23424 |
| 23425 static final int VERTICAL = 1; |
| 23426 |
| 23427 final bool horizontalOverflow; |
| 23428 |
| 23429 final int orient; |
| 23430 |
| 23431 final bool verticalOverflow; |
| 23432 } |
| 23433 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23434 // for details. All rights reserved. Use of this source code is governed by a |
| 23435 // BSD-style license that can be found in the LICENSE file. |
| 23436 |
| 23437 // WARNING: Do not edit - generated code. |
| 23438 |
| 23439 interface PageTransitionEvent extends Event { |
| 23440 |
| 23441 final bool persisted; |
| 23442 } |
| 23443 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23444 // for details. All rights reserved. Use of this source code is governed by a |
| 23445 // BSD-style license that can be found in the LICENSE file. |
| 23446 |
| 23447 // WARNING: Do not edit - generated code. |
| 23448 |
| 23449 interface ParagraphElement extends Element { |
| 23450 |
| 23451 String align; |
| 23452 } |
| 23453 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23454 // for details. All rights reserved. Use of this source code is governed by a |
| 23455 // BSD-style license that can be found in the LICENSE file. |
| 23456 |
| 23457 // WARNING: Do not edit - generated code. |
| 23458 |
| 23459 interface ParamElement extends Element { |
| 23460 |
| 23461 String name; |
| 23462 |
| 23463 String type; |
| 23464 |
| 23465 String value; |
| 23466 |
| 23467 String valueType; |
| 23468 } |
| 23469 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23470 // for details. All rights reserved. Use of this source code is governed by a |
| 23471 // BSD-style license that can be found in the LICENSE file. |
| 23472 |
| 23473 // WARNING: Do not edit - generated code. |
| 23474 |
| 23475 interface PeerConnection { |
| 23476 |
| 23477 static final int ACTIVE = 2; |
| 23478 |
| 23479 static final int CLOSED = 3; |
| 23480 |
| 23481 static final int NEGOTIATING = 1; |
| 23482 |
| 23483 static final int NEW = 0; |
| 23484 |
| 23485 final MediaStreamList localStreams; |
| 23486 |
| 23487 EventListener onaddstream; |
| 23488 |
| 23489 EventListener onconnecting; |
| 23490 |
| 23491 EventListener onmessage; |
| 23492 |
| 23493 EventListener onopen; |
| 23494 |
| 23495 EventListener onremovestream; |
| 23496 |
| 23497 EventListener onstatechange; |
| 23498 |
| 23499 final int readyState; |
| 23500 |
| 23501 final MediaStreamList remoteStreams; |
| 23502 |
| 23503 void addEventListener(String type, EventListener listener, [bool useCapture]); |
| 23504 |
| 23505 void addStream(MediaStream stream); |
| 23506 |
| 23507 void close(); |
| 23508 |
| 23509 bool dispatchEvent(Event event); |
| 23510 |
| 23511 void processSignalingMessage(String message); |
| 23512 |
| 23513 void removeEventListener(String type, EventListener listener, [bool useCapture
]); |
| 23514 |
| 23515 void removeStream(MediaStream stream); |
| 23516 |
| 23517 void send(String text); |
| 23518 } |
| 23519 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23520 // for details. All rights reserved. Use of this source code is governed by a |
| 23521 // BSD-style license that can be found in the LICENSE file. |
| 23522 |
| 23523 // WARNING: Do not edit - generated code. |
| 23524 |
| 23525 interface Performance { |
| 23526 |
| 23527 final MemoryInfo memory; |
| 23528 |
| 23529 final PerformanceNavigation navigation; |
| 23530 |
| 23531 final PerformanceTiming timing; |
| 23532 } |
| 23533 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23534 // for details. All rights reserved. Use of this source code is governed by a |
| 23535 // BSD-style license that can be found in the LICENSE file. |
| 23536 |
| 23537 // WARNING: Do not edit - generated code. |
| 23538 |
| 23539 interface PerformanceNavigation { |
| 23540 |
| 23541 static final int TYPE_BACK_FORWARD = 2; |
| 23542 |
| 23543 static final int TYPE_NAVIGATE = 0; |
| 23544 |
| 23545 static final int TYPE_RELOAD = 1; |
| 23546 |
| 23547 static final int TYPE_RESERVED = 255; |
| 23548 |
| 23549 final int redirectCount; |
| 23550 |
| 23551 final int type; |
| 23552 } |
| 23553 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23554 // for details. All rights reserved. Use of this source code is governed by a |
| 23555 // BSD-style license that can be found in the LICENSE file. |
| 23556 |
| 23557 // WARNING: Do not edit - generated code. |
| 23558 |
| 23559 interface PerformanceTiming { |
| 23560 |
| 23561 final int connectEnd; |
| 23562 |
| 23563 final int connectStart; |
| 23564 |
| 23565 final int domComplete; |
| 23566 |
| 23567 final int domContentLoadedEventEnd; |
| 23568 |
| 23569 final int domContentLoadedEventStart; |
| 23570 |
| 23571 final int domInteractive; |
| 23572 |
| 23573 final int domLoading; |
| 23574 |
| 23575 final int domainLookupEnd; |
| 23576 |
| 23577 final int domainLookupStart; |
| 23578 |
| 23579 final int fetchStart; |
| 23580 |
| 23581 final int loadEventEnd; |
| 23582 |
| 23583 final int loadEventStart; |
| 23584 |
| 23585 final int navigationStart; |
| 23586 |
| 23587 final int redirectEnd; |
| 23588 |
| 23589 final int redirectStart; |
| 23590 |
| 23591 final int requestStart; |
| 23592 |
| 23593 final int responseEnd; |
| 23594 |
| 23595 final int responseStart; |
| 23596 |
| 23597 final int secureConnectionStart; |
| 23598 |
| 23599 final int unloadEventEnd; |
| 23600 |
| 23601 final int unloadEventStart; |
| 23602 } |
| 23603 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 23604 // for details. All rights reserved. Use of this source code is governed by a |
| 23605 // BSD-style license that can be found in the LICENSE file. |
| 23606 |
| 23607 // WARNING: Do not edit - generated code. |
| 23608 |
| 23609 interface Point default _PointFactoryProvider { |
| 23610 |
| 23611 Point(num x, num y); |
| 23612 |
| 23613 num x; |
| 23614 |
| 23615 num y; |
| 23616 } |
| 23617 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23618 // for details. All rights reserved. Use of this source code is governed by a |
| 23619 // BSD-style license that can be found in the LICENSE file. |
| 23620 |
| 23621 // WARNING: Do not edit - generated code. |
| 23622 |
| 23623 interface PopStateEvent extends Event { |
| 23624 |
| 23625 final Object state; |
| 23626 } |
| 23627 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 23628 // for details. All rights reserved. Use of this source code is governed by a |
| 23629 // BSD-style license that can be found in the LICENSE file. |
| 23630 |
| 23631 // WARNING: Do not edit - generated code. |
| 23632 |
| 23633 typedef bool PositionCallback(Geoposition position); |
| 23634 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23635 // for details. All rights reserved. Use of this source code is governed by a |
| 23636 // BSD-style license that can be found in the LICENSE file. |
| 23637 |
| 23638 // WARNING: Do not edit - generated code. |
| 23639 |
| 23640 interface PositionError { |
| 23641 |
| 23642 static final int PERMISSION_DENIED = 1; |
| 23643 |
| 23644 static final int POSITION_UNAVAILABLE = 2; |
| 23645 |
| 23646 static final int TIMEOUT = 3; |
| 23647 |
| 23648 final int code; |
| 23649 |
| 23650 final String message; |
| 23651 } |
| 23652 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 23653 // for details. All rights reserved. Use of this source code is governed by a |
| 23654 // BSD-style license that can be found in the LICENSE file. |
| 23655 |
| 23656 // WARNING: Do not edit - generated code. |
| 23657 |
| 23658 typedef bool PositionErrorCallback(PositionError error); |
| 23659 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23660 // for details. All rights reserved. Use of this source code is governed by a |
| 23661 // BSD-style license that can be found in the LICENSE file. |
| 23662 |
| 23663 // WARNING: Do not edit - generated code. |
| 23664 |
| 23665 interface PreElement extends Element { |
| 23666 |
| 23667 int width; |
| 23668 |
| 23669 bool wrap; |
| 23670 } |
| 23671 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23672 // for details. All rights reserved. Use of this source code is governed by a |
| 23673 // BSD-style license that can be found in the LICENSE file. |
| 23674 |
| 23675 // WARNING: Do not edit - generated code. |
| 23676 |
| 23677 interface ProcessingInstruction extends Node { |
| 23678 |
| 23679 String data; |
| 23680 |
| 23681 final StyleSheet sheet; |
| 23682 |
| 23683 final String target; |
| 23684 } |
| 23685 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23686 // for details. All rights reserved. Use of this source code is governed by a |
| 23687 // BSD-style license that can be found in the LICENSE file. |
| 23688 |
| 23689 // WARNING: Do not edit - generated code. |
| 23690 |
| 23691 interface ProgressElement extends Element { |
| 23692 |
| 23693 final FormElement form; |
| 23694 |
| 23695 final NodeList labels; |
| 23696 |
| 23697 num max; |
| 23698 |
| 23699 final num position; |
| 23700 |
| 23701 num value; |
| 23702 } |
| 23703 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23704 // for details. All rights reserved. Use of this source code is governed by a |
| 23705 // BSD-style license that can be found in the LICENSE file. |
| 23706 |
| 23707 // WARNING: Do not edit - generated code. |
| 23708 |
| 23709 interface ProgressEvent extends Event { |
| 23710 |
| 23711 final bool lengthComputable; |
| 23712 |
| 23713 final int loaded; |
| 23714 |
| 23715 final int total; |
| 23716 } |
| 23717 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23718 // for details. All rights reserved. Use of this source code is governed by a |
| 23719 // BSD-style license that can be found in the LICENSE file. |
| 23720 |
| 23721 // WARNING: Do not edit - generated code. |
| 23722 |
| 23723 interface QuoteElement extends Element { |
| 23724 |
| 23725 String cite; |
| 23726 } |
| 23727 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23728 // for details. All rights reserved. Use of this source code is governed by a |
| 23729 // BSD-style license that can be found in the LICENSE file. |
| 23730 |
| 23731 // WARNING: Do not edit - generated code. |
| 23732 |
| 23733 interface RGBColor { |
| 23734 |
| 23735 final CSSPrimitiveValue blue; |
| 23736 |
| 23737 final CSSPrimitiveValue green; |
| 23738 |
| 23739 final CSSPrimitiveValue red; |
| 23740 } |
| 23741 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23742 // for details. All rights reserved. Use of this source code is governed by a |
| 23743 // BSD-style license that can be found in the LICENSE file. |
| 23744 |
| 23745 // WARNING: Do not edit - generated code. |
| 23746 |
| 23747 interface Range { |
| 23748 |
| 23749 static final int END_TO_END = 2; |
| 23750 |
| 23751 static final int END_TO_START = 3; |
| 23752 |
| 23753 static final int NODE_AFTER = 1; |
| 23754 |
| 23755 static final int NODE_BEFORE = 0; |
| 23756 |
| 23757 static final int NODE_BEFORE_AND_AFTER = 2; |
| 23758 |
| 23759 static final int NODE_INSIDE = 3; |
| 23760 |
| 23761 static final int START_TO_END = 1; |
| 23762 |
| 23763 static final int START_TO_START = 0; |
| 23764 |
| 23765 final bool collapsed; |
| 23766 |
| 23767 final Node commonAncestorContainer; |
| 23768 |
| 23769 final Node endContainer; |
| 23770 |
| 23771 final int endOffset; |
| 23772 |
| 23773 final Node startContainer; |
| 23774 |
| 23775 final int startOffset; |
| 23776 |
| 23777 DocumentFragment cloneContents(); |
| 23778 |
| 23779 Range cloneRange(); |
| 23780 |
| 23781 void collapse(bool toStart); |
| 23782 |
| 23783 int compareNode(Node refNode); |
| 23784 |
| 23785 int comparePoint(Node refNode, int offset); |
| 23786 |
| 23787 DocumentFragment createContextualFragment(String html); |
| 23788 |
| 23789 void deleteContents(); |
| 23790 |
| 23791 void detach(); |
| 23792 |
| 23793 void expand(String unit); |
| 23794 |
| 23795 DocumentFragment extractContents(); |
| 23796 |
| 23797 ClientRect getBoundingClientRect(); |
| 23798 |
| 23799 ClientRectList getClientRects(); |
| 23800 |
| 23801 void insertNode(Node newNode); |
| 23802 |
| 23803 bool intersectsNode(Node refNode); |
| 23804 |
| 23805 bool isPointInRange(Node refNode, int offset); |
| 23806 |
| 23807 void selectNode(Node refNode); |
| 23808 |
| 23809 void selectNodeContents(Node refNode); |
| 23810 |
| 23811 void setEnd(Node refNode, int offset); |
| 23812 |
| 23813 void setEndAfter(Node refNode); |
| 23814 |
| 23815 void setEndBefore(Node refNode); |
| 23816 |
| 23817 void setStart(Node refNode, int offset); |
| 23818 |
| 23819 void setStartAfter(Node refNode); |
| 23820 |
| 23821 void setStartBefore(Node refNode); |
| 23822 |
| 23823 void surroundContents(Node newParent); |
| 23824 |
| 23825 String toString(); |
| 23826 } |
| 23827 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23828 // for details. All rights reserved. Use of this source code is governed by a |
| 23829 // BSD-style license that can be found in the LICENSE file. |
| 23830 |
| 23831 // WARNING: Do not edit - generated code. |
| 23832 |
| 23833 interface RangeException { |
| 23834 |
| 23835 static final int BAD_BOUNDARYPOINTS_ERR = 1; |
| 23836 |
| 23837 static final int INVALID_NODE_TYPE_ERR = 2; |
| 23838 |
| 23839 final int code; |
| 23840 |
| 23841 final String message; |
| 23842 |
| 23843 final String name; |
| 23844 |
| 23845 String toString(); |
| 23846 } |
| 23847 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23848 // for details. All rights reserved. Use of this source code is governed by a |
| 23849 // BSD-style license that can be found in the LICENSE file. |
| 23850 |
| 23851 // WARNING: Do not edit - generated code. |
| 23852 |
| 23853 interface RealtimeAnalyserNode extends AudioNode { |
| 23854 |
| 23855 int fftSize; |
| 23856 |
| 23857 final int frequencyBinCount; |
| 23858 |
| 23859 num maxDecibels; |
| 23860 |
| 23861 num minDecibels; |
| 23862 |
| 23863 num smoothingTimeConstant; |
| 23864 |
| 23865 void getByteFrequencyData(Uint8Array array); |
| 23866 |
| 23867 void getByteTimeDomainData(Uint8Array array); |
| 23868 |
| 23869 void getFloatFrequencyData(Float32Array array); |
| 23870 } |
| 23871 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23872 // for details. All rights reserved. Use of this source code is governed by a |
| 23873 // BSD-style license that can be found in the LICENSE file. |
| 23874 |
| 23875 // WARNING: Do not edit - generated code. |
| 23876 |
| 23877 interface Rect { |
| 23878 |
| 23879 final CSSPrimitiveValue bottom; |
| 23880 |
| 23881 final CSSPrimitiveValue left; |
| 23882 |
| 23883 final CSSPrimitiveValue right; |
| 23884 |
| 23885 final CSSPrimitiveValue top; |
| 23886 } |
| 23887 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 23888 // for details. All rights reserved. Use of this source code is governed by a |
| 23889 // BSD-style license that can be found in the LICENSE file. |
| 23890 |
| 23891 // WARNING: Do not edit - generated code. |
| 23892 |
| 23893 typedef bool RequestAnimationFrameCallback(int time); |
| 23894 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23895 // for details. All rights reserved. Use of this source code is governed by a |
| 23896 // BSD-style license that can be found in the LICENSE file. |
| 23897 |
| 23898 // WARNING: Do not edit - generated code. |
| 23899 |
| 23900 interface SQLError { |
| 23901 |
| 23902 static final int CONSTRAINT_ERR = 6; |
| 23903 |
| 23904 static final int DATABASE_ERR = 1; |
| 23905 |
| 23906 static final int QUOTA_ERR = 4; |
| 23907 |
| 23908 static final int SYNTAX_ERR = 5; |
| 23909 |
| 23910 static final int TIMEOUT_ERR = 7; |
| 23911 |
| 23912 static final int TOO_LARGE_ERR = 3; |
| 23913 |
| 23914 static final int UNKNOWN_ERR = 0; |
| 23915 |
| 23916 static final int VERSION_ERR = 2; |
| 23917 |
| 23918 final int code; |
| 23919 |
| 23920 final String message; |
| 23921 } |
| 23922 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23923 // for details. All rights reserved. Use of this source code is governed by a |
| 23924 // BSD-style license that can be found in the LICENSE file. |
| 23925 |
| 23926 // WARNING: Do not edit - generated code. |
| 23927 |
| 23928 interface SQLException { |
| 23929 |
| 23930 static final int CONSTRAINT_ERR = 6; |
| 23931 |
| 23932 static final int DATABASE_ERR = 1; |
| 23933 |
| 23934 static final int QUOTA_ERR = 4; |
| 23935 |
| 23936 static final int SYNTAX_ERR = 5; |
| 23937 |
| 23938 static final int TIMEOUT_ERR = 7; |
| 23939 |
| 23940 static final int TOO_LARGE_ERR = 3; |
| 23941 |
| 23942 static final int UNKNOWN_ERR = 0; |
| 23943 |
| 23944 static final int VERSION_ERR = 2; |
| 23945 |
| 23946 final int code; |
| 23947 |
| 23948 final String message; |
| 23949 } |
| 23950 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23951 // for details. All rights reserved. Use of this source code is governed by a |
| 23952 // BSD-style license that can be found in the LICENSE file. |
| 23953 |
| 23954 // WARNING: Do not edit - generated code. |
| 23955 |
| 23956 interface SQLResultSet { |
| 23957 |
| 23958 final int insertId; |
| 23959 |
| 23960 final SQLResultSetRowList rows; |
| 23961 |
| 23962 final int rowsAffected; |
| 23963 } |
| 23964 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23965 // for details. All rights reserved. Use of this source code is governed by a |
| 23966 // BSD-style license that can be found in the LICENSE file. |
| 23967 |
| 23968 // WARNING: Do not edit - generated code. |
| 23969 |
| 23970 interface SQLResultSetRowList { |
| 23971 |
| 23972 final int length; |
| 23973 |
| 23974 Object item(int index); |
| 23975 } |
| 23976 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 23977 // for details. All rights reserved. Use of this source code is governed by a |
| 23978 // BSD-style license that can be found in the LICENSE file. |
| 23979 |
| 23980 // WARNING: Do not edit - generated code. |
| 23981 |
| 23982 typedef bool SQLStatementCallback(SQLTransaction transaction, SQLResultSet resul
tSet); |
| 23983 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 23984 // for details. All rights reserved. Use of this source code is governed by a |
| 23985 // BSD-style license that can be found in the LICENSE file. |
| 23986 |
| 23987 // WARNING: Do not edit - generated code. |
| 23988 |
| 23989 typedef bool SQLStatementErrorCallback(SQLTransaction transaction, SQLError erro
r); |
| 23990 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23991 // for details. All rights reserved. Use of this source code is governed by a |
| 23992 // BSD-style license that can be found in the LICENSE file. |
| 23993 |
| 23994 // WARNING: Do not edit - generated code. |
| 23995 |
| 23996 interface SQLTransaction { |
| 23997 } |
| 23998 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 23999 // for details. All rights reserved. Use of this source code is governed by a |
| 24000 // BSD-style license that can be found in the LICENSE file. |
| 24001 |
| 24002 // WARNING: Do not edit - generated code. |
| 24003 |
| 24004 typedef bool SQLTransactionCallback(SQLTransaction transaction); |
| 24005 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 24006 // for details. All rights reserved. Use of this source code is governed by a |
| 24007 // BSD-style license that can be found in the LICENSE file. |
| 24008 |
| 24009 // WARNING: Do not edit - generated code. |
| 24010 |
| 24011 typedef bool SQLTransactionErrorCallback(SQLError error); |
| 24012 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24013 // for details. All rights reserved. Use of this source code is governed by a |
| 24014 // BSD-style license that can be found in the LICENSE file. |
| 24015 |
| 24016 // WARNING: Do not edit - generated code. |
| 24017 |
| 24018 interface SQLTransactionSync { |
| 24019 } |
| 24020 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 24021 // for details. All rights reserved. Use of this source code is governed by a |
| 24022 // BSD-style license that can be found in the LICENSE file. |
| 24023 |
| 24024 // WARNING: Do not edit - generated code. |
| 24025 |
| 24026 typedef bool SQLTransactionSyncCallback(SQLTransactionSync transaction); |
| 24027 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24028 // for details. All rights reserved. Use of this source code is governed by a |
| 24029 // BSD-style license that can be found in the LICENSE file. |
| 24030 |
| 24031 // WARNING: Do not edit - generated code. |
| 24032 |
| 24033 interface SVGAElement extends SVGElement, SVGURIReference, SVGTests, SVGLangSpac
e, SVGExternalResourcesRequired, SVGStylable, SVGTransformable { |
| 24034 |
| 24035 final SVGAnimatedString target; |
| 24036 } |
| 24037 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24038 // for details. All rights reserved. Use of this source code is governed by a |
| 24039 // BSD-style license that can be found in the LICENSE file. |
| 24040 |
| 24041 // WARNING: Do not edit - generated code. |
| 24042 |
| 24043 interface SVGAltGlyphDefElement extends SVGElement { |
| 24044 } |
| 24045 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24046 // for details. All rights reserved. Use of this source code is governed by a |
| 24047 // BSD-style license that can be found in the LICENSE file. |
| 24048 |
| 24049 // WARNING: Do not edit - generated code. |
| 24050 |
| 24051 interface SVGAltGlyphElement extends SVGTextPositioningElement, SVGURIReference
{ |
| 24052 |
| 24053 String format; |
| 24054 |
| 24055 String glyphRef; |
| 24056 } |
| 24057 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24058 // for details. All rights reserved. Use of this source code is governed by a |
| 24059 // BSD-style license that can be found in the LICENSE file. |
| 24060 |
| 24061 // WARNING: Do not edit - generated code. |
| 24062 |
| 24063 interface SVGAltGlyphItemElement extends SVGElement { |
| 24064 } |
| 24065 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24066 // for details. All rights reserved. Use of this source code is governed by a |
| 24067 // BSD-style license that can be found in the LICENSE file. |
| 24068 |
| 24069 // WARNING: Do not edit - generated code. |
| 24070 |
| 24071 interface SVGAngle { |
| 24072 |
| 24073 static final int SVG_ANGLETYPE_DEG = 2; |
| 24074 |
| 24075 static final int SVG_ANGLETYPE_GRAD = 4; |
| 24076 |
| 24077 static final int SVG_ANGLETYPE_RAD = 3; |
| 24078 |
| 24079 static final int SVG_ANGLETYPE_UNKNOWN = 0; |
| 24080 |
| 24081 static final int SVG_ANGLETYPE_UNSPECIFIED = 1; |
| 24082 |
| 24083 final int unitType; |
| 24084 |
| 24085 num value; |
| 24086 |
| 24087 String valueAsString; |
| 24088 |
| 24089 num valueInSpecifiedUnits; |
| 24090 |
| 24091 void convertToSpecifiedUnits(int unitType); |
| 24092 |
| 24093 void newValueSpecifiedUnits(int unitType, num valueInSpecifiedUnits); |
| 24094 } |
| 24095 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24096 // for details. All rights reserved. Use of this source code is governed by a |
| 24097 // BSD-style license that can be found in the LICENSE file. |
| 24098 |
| 24099 // WARNING: Do not edit - generated code. |
| 24100 |
| 24101 interface SVGAnimateColorElement extends SVGAnimationElement { |
| 24102 } |
| 24103 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24104 // for details. All rights reserved. Use of this source code is governed by a |
| 24105 // BSD-style license that can be found in the LICENSE file. |
| 24106 |
| 24107 // WARNING: Do not edit - generated code. |
| 24108 |
| 24109 interface SVGAnimateElement extends SVGAnimationElement { |
| 24110 } |
| 24111 // 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 |
| 24113 // BSD-style license that can be found in the LICENSE file. |
| 24114 |
| 24115 // WARNING: Do not edit - generated code. |
| 24116 |
| 24117 interface SVGAnimateMotionElement extends SVGAnimationElement { |
| 24118 } |
| 24119 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24120 // for details. All rights reserved. Use of this source code is governed by a |
| 24121 // BSD-style license that can be found in the LICENSE file. |
| 24122 |
| 24123 // WARNING: Do not edit - generated code. |
| 24124 |
| 24125 interface SVGAnimateTransformElement extends SVGAnimationElement { |
| 24126 } |
| 24127 // 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 |
| 24129 // BSD-style license that can be found in the LICENSE file. |
| 24130 |
| 24131 // WARNING: Do not edit - generated code. |
| 24132 |
| 24133 interface SVGAnimatedAngle { |
| 24134 |
| 24135 final SVGAngle animVal; |
| 24136 |
| 24137 final SVGAngle baseVal; |
| 24138 } |
| 24139 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24140 // for details. All rights reserved. Use of this source code is governed by a |
| 24141 // BSD-style license that can be found in the LICENSE file. |
| 24142 |
| 24143 // WARNING: Do not edit - generated code. |
| 24144 |
| 24145 interface SVGAnimatedBoolean { |
| 24146 |
| 24147 final bool animVal; |
| 24148 |
| 24149 bool baseVal; |
| 24150 } |
| 24151 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24152 // for details. All rights reserved. Use of this source code is governed by a |
| 24153 // BSD-style license that can be found in the LICENSE file. |
| 24154 |
| 24155 // WARNING: Do not edit - generated code. |
| 24156 |
| 24157 interface SVGAnimatedEnumeration { |
| 24158 |
| 24159 final int animVal; |
| 24160 |
| 24161 int baseVal; |
| 24162 } |
| 24163 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24164 // for details. All rights reserved. Use of this source code is governed by a |
| 24165 // BSD-style license that can be found in the LICENSE file. |
| 24166 |
| 24167 // WARNING: Do not edit - generated code. |
| 24168 |
| 24169 interface SVGAnimatedInteger { |
| 24170 |
| 24171 final int animVal; |
| 24172 |
| 24173 int baseVal; |
| 24174 } |
| 24175 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24176 // for details. All rights reserved. Use of this source code is governed by a |
| 24177 // BSD-style license that can be found in the LICENSE file. |
| 24178 |
| 24179 // WARNING: Do not edit - generated code. |
| 24180 |
| 24181 interface SVGAnimatedLength { |
| 24182 |
| 24183 final SVGLength animVal; |
| 24184 |
| 24185 final SVGLength baseVal; |
| 24186 } |
| 24187 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24188 // for details. All rights reserved. Use of this source code is governed by a |
| 24189 // BSD-style license that can be found in the LICENSE file. |
| 24190 |
| 24191 // WARNING: Do not edit - generated code. |
| 24192 |
| 24193 interface SVGAnimatedLengthList { |
| 24194 |
| 24195 final SVGLengthList animVal; |
| 24196 |
| 24197 final SVGLengthList baseVal; |
| 24198 } |
| 24199 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24200 // for details. All rights reserved. Use of this source code is governed by a |
| 24201 // BSD-style license that can be found in the LICENSE file. |
| 24202 |
| 24203 // WARNING: Do not edit - generated code. |
| 24204 |
| 24205 interface SVGAnimatedNumber { |
| 24206 |
| 24207 final num animVal; |
| 24208 |
| 24209 num baseVal; |
| 24210 } |
| 24211 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24212 // for details. All rights reserved. Use of this source code is governed by a |
| 24213 // BSD-style license that can be found in the LICENSE file. |
| 24214 |
| 24215 // WARNING: Do not edit - generated code. |
| 24216 |
| 24217 interface SVGAnimatedNumberList { |
| 24218 |
| 24219 final SVGNumberList animVal; |
| 24220 |
| 24221 final SVGNumberList baseVal; |
| 24222 } |
| 24223 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24224 // for details. All rights reserved. Use of this source code is governed by a |
| 24225 // BSD-style license that can be found in the LICENSE file. |
| 24226 |
| 24227 // WARNING: Do not edit - generated code. |
| 24228 |
| 24229 interface SVGAnimatedPreserveAspectRatio { |
| 24230 |
| 24231 final SVGPreserveAspectRatio animVal; |
| 24232 |
| 24233 final SVGPreserveAspectRatio baseVal; |
| 24234 } |
| 24235 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24236 // for details. All rights reserved. Use of this source code is governed by a |
| 24237 // BSD-style license that can be found in the LICENSE file. |
| 24238 |
| 24239 // WARNING: Do not edit - generated code. |
| 24240 |
| 24241 interface SVGAnimatedRect { |
| 24242 |
| 24243 final SVGRect animVal; |
| 24244 |
| 24245 final SVGRect baseVal; |
| 24246 } |
| 24247 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24248 // for details. All rights reserved. Use of this source code is governed by a |
| 24249 // BSD-style license that can be found in the LICENSE file. |
| 24250 |
| 24251 // WARNING: Do not edit - generated code. |
| 24252 |
| 24253 interface SVGAnimatedString { |
| 24254 |
| 24255 final String animVal; |
| 24256 |
| 24257 String baseVal; |
| 24258 } |
| 24259 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24260 // for details. All rights reserved. Use of this source code is governed by a |
| 24261 // BSD-style license that can be found in the LICENSE file. |
| 24262 |
| 24263 // WARNING: Do not edit - generated code. |
| 24264 |
| 24265 interface SVGAnimatedTransformList { |
| 24266 |
| 24267 final SVGTransformList animVal; |
| 24268 |
| 24269 final SVGTransformList baseVal; |
| 24270 } |
| 24271 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24272 // for details. All rights reserved. Use of this source code is governed by a |
| 24273 // BSD-style license that can be found in the LICENSE file. |
| 24274 |
| 24275 // WARNING: Do not edit - generated code. |
| 24276 |
| 24277 interface SVGAnimationElement extends SVGElement, SVGTests, SVGExternalResources
Required, ElementTimeControl { |
| 24278 |
| 24279 final SVGElement targetElement; |
| 24280 |
| 24281 num getCurrentTime(); |
| 24282 |
| 24283 num getSimpleDuration(); |
| 24284 |
| 24285 num getStartTime(); |
| 24286 } |
| 24287 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24288 // for details. All rights reserved. Use of this source code is governed by a |
| 24289 // BSD-style license that can be found in the LICENSE file. |
| 24290 |
| 24291 // WARNING: Do not edit - generated code. |
| 24292 |
| 24293 interface SVGCircleElement extends SVGElement, SVGTests, SVGLangSpace, SVGExtern
alResourcesRequired, SVGStylable, SVGTransformable { |
| 24294 |
| 24295 final SVGAnimatedLength cx; |
| 24296 |
| 24297 final SVGAnimatedLength cy; |
| 24298 |
| 24299 final SVGAnimatedLength r; |
| 24300 } |
| 24301 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24302 // for details. All rights reserved. Use of this source code is governed by a |
| 24303 // BSD-style license that can be found in the LICENSE file. |
| 24304 |
| 24305 // WARNING: Do not edit - generated code. |
| 24306 |
| 24307 interface SVGClipPathElement extends SVGElement, SVGTests, SVGLangSpace, SVGExte
rnalResourcesRequired, SVGStylable, SVGTransformable { |
| 24308 |
| 24309 final SVGAnimatedEnumeration clipPathUnits; |
| 24310 } |
| 24311 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24312 // for details. All rights reserved. Use of this source code is governed by a |
| 24313 // BSD-style license that can be found in the LICENSE file. |
| 24314 |
| 24315 // WARNING: Do not edit - generated code. |
| 24316 |
| 24317 interface SVGColor extends CSSValue { |
| 24318 |
| 24319 static final int SVG_COLORTYPE_CURRENTCOLOR = 3; |
| 24320 |
| 24321 static final int SVG_COLORTYPE_RGBCOLOR = 1; |
| 24322 |
| 24323 static final int SVG_COLORTYPE_RGBCOLOR_ICCCOLOR = 2; |
| 24324 |
| 24325 static final int SVG_COLORTYPE_UNKNOWN = 0; |
| 24326 |
| 24327 final int colorType; |
| 24328 |
| 24329 final RGBColor rgbColor; |
| 24330 |
| 24331 void setColor(int colorType, String rgbColor, String iccColor); |
| 24332 |
| 24333 void setRGBColor(String rgbColor); |
| 24334 |
| 24335 void setRGBColorICCColor(String rgbColor, String iccColor); |
| 24336 } |
| 24337 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24338 // for details. All rights reserved. Use of this source code is governed by a |
| 24339 // BSD-style license that can be found in the LICENSE file. |
| 24340 |
| 24341 // WARNING: Do not edit - generated code. |
| 24342 |
| 24343 interface SVGComponentTransferFunctionElement extends SVGElement { |
| 24344 |
| 24345 static final int SVG_FECOMPONENTTRANSFER_TYPE_DISCRETE = 3; |
| 24346 |
| 24347 static final int SVG_FECOMPONENTTRANSFER_TYPE_GAMMA = 5; |
| 24348 |
| 24349 static final int SVG_FECOMPONENTTRANSFER_TYPE_IDENTITY = 1; |
| 24350 |
| 24351 static final int SVG_FECOMPONENTTRANSFER_TYPE_LINEAR = 4; |
| 24352 |
| 24353 static final int SVG_FECOMPONENTTRANSFER_TYPE_TABLE = 2; |
| 24354 |
| 24355 static final int SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN = 0; |
| 24356 |
| 24357 final SVGAnimatedNumber amplitude; |
| 24358 |
| 24359 final SVGAnimatedNumber exponent; |
| 24360 |
| 24361 final SVGAnimatedNumber intercept; |
| 24362 |
| 24363 final SVGAnimatedNumber offset; |
| 24364 |
| 24365 final SVGAnimatedNumber slope; |
| 24366 |
| 24367 final SVGAnimatedNumberList tableValues; |
| 24368 |
| 24369 final SVGAnimatedEnumeration type; |
| 24370 } |
| 24371 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24372 // for details. All rights reserved. Use of this source code is governed by a |
| 24373 // BSD-style license that can be found in the LICENSE file. |
| 24374 |
| 24375 // WARNING: Do not edit - generated code. |
| 24376 |
| 24377 interface SVGCursorElement extends SVGElement, SVGURIReference, SVGTests, SVGExt
ernalResourcesRequired { |
| 24378 |
| 24379 final SVGAnimatedLength x; |
| 24380 |
| 24381 final SVGAnimatedLength y; |
| 24382 } |
| 24383 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24384 // for details. All rights reserved. Use of this source code is governed by a |
| 24385 // BSD-style license that can be found in the LICENSE file. |
| 24386 |
| 24387 // WARNING: Do not edit - generated code. |
| 24388 |
| 24389 interface SVGDefsElement extends SVGElement, SVGTests, SVGLangSpace, SVGExternal
ResourcesRequired, SVGStylable, SVGTransformable { |
| 24390 } |
| 24391 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24392 // for details. All rights reserved. Use of this source code is governed by a |
| 24393 // BSD-style license that can be found in the LICENSE file. |
| 24394 |
| 24395 // WARNING: Do not edit - generated code. |
| 24396 |
| 24397 interface SVGDescElement extends SVGElement, SVGLangSpace, SVGStylable { |
| 24398 } |
| 24399 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24400 // for details. All rights reserved. Use of this source code is governed by a |
| 24401 // BSD-style license that can be found in the LICENSE file. |
| 24402 |
| 24403 // WARNING: Do not edit - generated code. |
| 24404 |
| 24405 interface SVGDocument extends Document { |
| 24406 |
| 24407 final SVGSVGElement rootElement; |
| 24408 } |
| 24409 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24410 // for details. All rights reserved. Use of this source code is governed by a |
| 24411 // BSD-style license that can be found in the LICENSE file. |
| 24412 |
| 24413 // WARNING: Do not edit - generated code. |
| 24414 |
| 24415 interface SVGElement extends Element { |
| 24416 |
| 24417 String id; |
| 24418 |
| 24419 final SVGSVGElement ownerSVGElement; |
| 24420 |
| 24421 final SVGElement viewportElement; |
| 24422 |
| 24423 String xmlbase; |
| 24424 } |
| 24425 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24426 // for details. All rights reserved. Use of this source code is governed by a |
| 24427 // BSD-style license that can be found in the LICENSE file. |
| 24428 |
| 24429 // WARNING: Do not edit - generated code. |
| 24430 |
| 24431 interface SVGElementInstance extends EventTarget { |
| 24432 |
| 24433 final SVGElementInstanceList childNodes; |
| 24434 |
| 24435 final SVGElement correspondingElement; |
| 24436 |
| 24437 final SVGUseElement correspondingUseElement; |
| 24438 |
| 24439 final SVGElementInstance firstChild; |
| 24440 |
| 24441 final SVGElementInstance lastChild; |
| 24442 |
| 24443 final SVGElementInstance nextSibling; |
| 24444 |
| 24445 final SVGElementInstance parentNode; |
| 24446 |
| 24447 final SVGElementInstance previousSibling; |
| 24448 |
| 24449 SVGElementInstanceEvents get on(); |
| 24450 } |
| 24451 |
| 24452 interface SVGElementInstanceEvents extends Events { |
| 24453 |
| 24454 EventListenerList get abort(); |
| 24455 |
| 24456 EventListenerList get beforeCopy(); |
| 24457 |
| 24458 EventListenerList get beforeCut(); |
| 24459 |
| 24460 EventListenerList get beforePaste(); |
| 24461 |
| 24462 EventListenerList get blur(); |
| 24463 |
| 24464 EventListenerList get change(); |
| 24465 |
| 24466 EventListenerList get click(); |
| 24467 |
| 24468 EventListenerList get contextMenu(); |
| 24469 |
| 24470 EventListenerList get copy(); |
| 24471 |
| 24472 EventListenerList get cut(); |
| 24473 |
| 24474 EventListenerList get doubleClick(); |
| 24475 |
| 24476 EventListenerList get drag(); |
| 24477 |
| 24478 EventListenerList get dragEnd(); |
| 24479 |
| 24480 EventListenerList get dragEnter(); |
| 24481 |
| 24482 EventListenerList get dragLeave(); |
| 24483 |
| 24484 EventListenerList get dragOver(); |
| 24485 |
| 24486 EventListenerList get dragStart(); |
| 24487 |
| 24488 EventListenerList get drop(); |
| 24489 |
| 24490 EventListenerList get error(); |
| 24491 |
| 24492 EventListenerList get focus(); |
| 24493 |
| 24494 EventListenerList get input(); |
| 24495 |
| 24496 EventListenerList get keyDown(); |
| 24497 |
| 24498 EventListenerList get keyPress(); |
| 24499 |
| 24500 EventListenerList get keyUp(); |
| 24501 |
| 24502 EventListenerList get load(); |
| 24503 |
| 24504 EventListenerList get mouseDown(); |
| 24505 |
| 24506 EventListenerList get mouseMove(); |
| 24507 |
| 24508 EventListenerList get mouseOut(); |
| 24509 |
| 24510 EventListenerList get mouseOver(); |
| 24511 |
| 24512 EventListenerList get mouseUp(); |
| 24513 |
| 24514 EventListenerList get mouseWheel(); |
| 24515 |
| 24516 EventListenerList get paste(); |
| 24517 |
| 24518 EventListenerList get reset(); |
| 24519 |
| 24520 EventListenerList get resize(); |
| 24521 |
| 24522 EventListenerList get scroll(); |
| 24523 |
| 24524 EventListenerList get search(); |
| 24525 |
| 24526 EventListenerList get select(); |
| 24527 |
| 24528 EventListenerList get selectStart(); |
| 24529 |
| 24530 EventListenerList get submit(); |
| 24531 |
| 24532 EventListenerList get unload(); |
| 24533 } |
| 24534 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24535 // for details. All rights reserved. Use of this source code is governed by a |
| 24536 // BSD-style license that can be found in the LICENSE file. |
| 24537 |
| 24538 // WARNING: Do not edit - generated code. |
| 24539 |
| 24540 interface SVGElementInstanceList { |
| 24541 |
| 24542 final int length; |
| 24543 |
| 24544 SVGElementInstance item(int index); |
| 24545 } |
| 24546 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24547 // for details. All rights reserved. Use of this source code is governed by a |
| 24548 // BSD-style license that can be found in the LICENSE file. |
| 24549 |
| 24550 // WARNING: Do not edit - generated code. |
| 24551 |
| 24552 interface SVGEllipseElement extends SVGElement, SVGTests, SVGLangSpace, SVGExter
nalResourcesRequired, SVGStylable, SVGTransformable { |
| 24553 |
| 24554 final SVGAnimatedLength cx; |
| 24555 |
| 24556 final SVGAnimatedLength cy; |
| 24557 |
| 24558 final SVGAnimatedLength rx; |
| 24559 |
| 24560 final SVGAnimatedLength ry; |
| 24561 } |
| 24562 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24563 // for details. All rights reserved. Use of this source code is governed by a |
| 24564 // BSD-style license that can be found in the LICENSE file. |
| 24565 |
| 24566 // WARNING: Do not edit - generated code. |
| 24567 |
| 24568 interface SVGException { |
| 24569 |
| 24570 static final int SVG_INVALID_VALUE_ERR = 1; |
| 24571 |
| 24572 static final int SVG_MATRIX_NOT_INVERTABLE = 2; |
| 24573 |
| 24574 static final int SVG_WRONG_TYPE_ERR = 0; |
| 24575 |
| 24576 final int code; |
| 24577 |
| 24578 final String message; |
| 24579 |
| 24580 final String name; |
| 24581 |
| 24582 String toString(); |
| 24583 } |
| 24584 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24585 // for details. All rights reserved. Use of this source code is governed by a |
| 24586 // BSD-style license that can be found in the LICENSE file. |
| 24587 |
| 24588 // WARNING: Do not edit - generated code. |
| 24589 |
| 24590 interface SVGExternalResourcesRequired { |
| 24591 |
| 24592 final SVGAnimatedBoolean externalResourcesRequired; |
| 24593 } |
| 24594 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24595 // for details. All rights reserved. Use of this source code is governed by a |
| 24596 // BSD-style license that can be found in the LICENSE file. |
| 24597 |
| 24598 // WARNING: Do not edit - generated code. |
| 24599 |
| 24600 interface SVGFEBlendElement extends SVGElement, SVGFilterPrimitiveStandardAttrib
utes { |
| 24601 |
| 24602 static final int SVG_FEBLEND_MODE_DARKEN = 4; |
| 24603 |
| 24604 static final int SVG_FEBLEND_MODE_LIGHTEN = 5; |
| 24605 |
| 24606 static final int SVG_FEBLEND_MODE_MULTIPLY = 2; |
| 24607 |
| 24608 static final int SVG_FEBLEND_MODE_NORMAL = 1; |
| 24609 |
| 24610 static final int SVG_FEBLEND_MODE_SCREEN = 3; |
| 24611 |
| 24612 static final int SVG_FEBLEND_MODE_UNKNOWN = 0; |
| 24613 |
| 24614 final SVGAnimatedString in1; |
| 24615 |
| 24616 final SVGAnimatedString in2; |
| 24617 |
| 24618 final SVGAnimatedEnumeration mode; |
| 24619 } |
| 24620 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24621 // for details. All rights reserved. Use of this source code is governed by a |
| 24622 // BSD-style license that can be found in the LICENSE file. |
| 24623 |
| 24624 // WARNING: Do not edit - generated code. |
| 24625 |
| 24626 interface SVGFEColorMatrixElement extends SVGElement, SVGFilterPrimitiveStandard
Attributes { |
| 24627 |
| 24628 static final int SVG_FECOLORMATRIX_TYPE_HUEROTATE = 3; |
| 24629 |
| 24630 static final int SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA = 4; |
| 24631 |
| 24632 static final int SVG_FECOLORMATRIX_TYPE_MATRIX = 1; |
| 24633 |
| 24634 static final int SVG_FECOLORMATRIX_TYPE_SATURATE = 2; |
| 24635 |
| 24636 static final int SVG_FECOLORMATRIX_TYPE_UNKNOWN = 0; |
| 24637 |
| 24638 final SVGAnimatedString in1; |
| 24639 |
| 24640 final SVGAnimatedEnumeration type; |
| 24641 |
| 24642 final SVGAnimatedNumberList values; |
| 24643 } |
| 24644 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24645 // for details. All rights reserved. Use of this source code is governed by a |
| 24646 // BSD-style license that can be found in the LICENSE file. |
| 24647 |
| 24648 // WARNING: Do not edit - generated code. |
| 24649 |
| 24650 interface SVGFEComponentTransferElement extends SVGElement, SVGFilterPrimitiveSt
andardAttributes { |
| 24651 |
| 24652 final SVGAnimatedString in1; |
| 24653 } |
| 24654 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24655 // for details. All rights reserved. Use of this source code is governed by a |
| 24656 // BSD-style license that can be found in the LICENSE file. |
| 24657 |
| 24658 // WARNING: Do not edit - generated code. |
| 24659 |
| 24660 interface SVGFECompositeElement extends SVGElement, SVGFilterPrimitiveStandardAt
tributes { |
| 24661 |
| 24662 static final int SVG_FECOMPOSITE_OPERATOR_ARITHMETIC = 6; |
| 24663 |
| 24664 static final int SVG_FECOMPOSITE_OPERATOR_ATOP = 4; |
| 24665 |
| 24666 static final int SVG_FECOMPOSITE_OPERATOR_IN = 2; |
| 24667 |
| 24668 static final int SVG_FECOMPOSITE_OPERATOR_OUT = 3; |
| 24669 |
| 24670 static final int SVG_FECOMPOSITE_OPERATOR_OVER = 1; |
| 24671 |
| 24672 static final int SVG_FECOMPOSITE_OPERATOR_UNKNOWN = 0; |
| 24673 |
| 24674 static final int SVG_FECOMPOSITE_OPERATOR_XOR = 5; |
| 24675 |
| 24676 final SVGAnimatedString in1; |
| 24677 |
| 24678 final SVGAnimatedString in2; |
| 24679 |
| 24680 final SVGAnimatedNumber k1; |
| 24681 |
| 24682 final SVGAnimatedNumber k2; |
| 24683 |
| 24684 final SVGAnimatedNumber k3; |
| 24685 |
| 24686 final SVGAnimatedNumber k4; |
| 24687 |
| 24688 final SVGAnimatedEnumeration operator; |
| 24689 } |
| 24690 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24691 // for details. All rights reserved. Use of this source code is governed by a |
| 24692 // BSD-style license that can be found in the LICENSE file. |
| 24693 |
| 24694 // WARNING: Do not edit - generated code. |
| 24695 |
| 24696 interface SVGFEConvolveMatrixElement extends SVGElement, SVGFilterPrimitiveStand
ardAttributes { |
| 24697 |
| 24698 static final int SVG_EDGEMODE_DUPLICATE = 1; |
| 24699 |
| 24700 static final int SVG_EDGEMODE_NONE = 3; |
| 24701 |
| 24702 static final int SVG_EDGEMODE_UNKNOWN = 0; |
| 24703 |
| 24704 static final int SVG_EDGEMODE_WRAP = 2; |
| 24705 |
| 24706 final SVGAnimatedNumber bias; |
| 24707 |
| 24708 final SVGAnimatedNumber divisor; |
| 24709 |
| 24710 final SVGAnimatedEnumeration edgeMode; |
| 24711 |
| 24712 final SVGAnimatedString in1; |
| 24713 |
| 24714 final SVGAnimatedNumberList kernelMatrix; |
| 24715 |
| 24716 final SVGAnimatedNumber kernelUnitLengthX; |
| 24717 |
| 24718 final SVGAnimatedNumber kernelUnitLengthY; |
| 24719 |
| 24720 final SVGAnimatedInteger orderX; |
| 24721 |
| 24722 final SVGAnimatedInteger orderY; |
| 24723 |
| 24724 final SVGAnimatedBoolean preserveAlpha; |
| 24725 |
| 24726 final SVGAnimatedInteger targetX; |
| 24727 |
| 24728 final SVGAnimatedInteger targetY; |
| 24729 } |
| 24730 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24731 // for details. All rights reserved. Use of this source code is governed by a |
| 24732 // BSD-style license that can be found in the LICENSE file. |
| 24733 |
| 24734 // WARNING: Do not edit - generated code. |
| 24735 |
| 24736 interface SVGFEDiffuseLightingElement extends SVGElement, SVGFilterPrimitiveStan
dardAttributes { |
| 24737 |
| 24738 final SVGAnimatedNumber diffuseConstant; |
| 24739 |
| 24740 final SVGAnimatedString in1; |
| 24741 |
| 24742 final SVGAnimatedNumber kernelUnitLengthX; |
| 24743 |
| 24744 final SVGAnimatedNumber kernelUnitLengthY; |
| 24745 |
| 24746 final SVGAnimatedNumber surfaceScale; |
| 24747 } |
| 24748 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24749 // for details. All rights reserved. Use of this source code is governed by a |
| 24750 // BSD-style license that can be found in the LICENSE file. |
| 24751 |
| 24752 // WARNING: Do not edit - generated code. |
| 24753 |
| 24754 interface SVGFEDisplacementMapElement extends SVGElement, SVGFilterPrimitiveStan
dardAttributes { |
| 24755 |
| 24756 static final int SVG_CHANNEL_A = 4; |
| 24757 |
| 24758 static final int SVG_CHANNEL_B = 3; |
| 24759 |
| 24760 static final int SVG_CHANNEL_G = 2; |
| 24761 |
| 24762 static final int SVG_CHANNEL_R = 1; |
| 24763 |
| 24764 static final int SVG_CHANNEL_UNKNOWN = 0; |
| 24765 |
| 24766 final SVGAnimatedString in1; |
| 24767 |
| 24768 final SVGAnimatedString in2; |
| 24769 |
| 24770 final SVGAnimatedNumber scale; |
| 24771 |
| 24772 final SVGAnimatedEnumeration xChannelSelector; |
| 24773 |
| 24774 final SVGAnimatedEnumeration yChannelSelector; |
| 24775 } |
| 24776 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24777 // for details. All rights reserved. Use of this source code is governed by a |
| 24778 // BSD-style license that can be found in the LICENSE file. |
| 24779 |
| 24780 // WARNING: Do not edit - generated code. |
| 24781 |
| 24782 interface SVGFEDistantLightElement extends SVGElement { |
| 24783 |
| 24784 final SVGAnimatedNumber azimuth; |
| 24785 |
| 24786 final SVGAnimatedNumber elevation; |
| 24787 } |
| 24788 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24789 // for details. All rights reserved. Use of this source code is governed by a |
| 24790 // BSD-style license that can be found in the LICENSE file. |
| 24791 |
| 24792 // WARNING: Do not edit - generated code. |
| 24793 |
| 24794 interface SVGFEDropShadowElement extends SVGElement, SVGFilterPrimitiveStandardA
ttributes { |
| 24795 |
| 24796 final SVGAnimatedNumber dx; |
| 24797 |
| 24798 final SVGAnimatedNumber dy; |
| 24799 |
| 24800 final SVGAnimatedString in1; |
| 24801 |
| 24802 final SVGAnimatedNumber stdDeviationX; |
| 24803 |
| 24804 final SVGAnimatedNumber stdDeviationY; |
| 24805 |
| 24806 void setStdDeviation(num stdDeviationX, num stdDeviationY); |
| 24807 } |
| 24808 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24809 // for details. All rights reserved. Use of this source code is governed by a |
| 24810 // BSD-style license that can be found in the LICENSE file. |
| 24811 |
| 24812 // WARNING: Do not edit - generated code. |
| 24813 |
| 24814 interface SVGFEFloodElement extends SVGElement, SVGFilterPrimitiveStandardAttrib
utes { |
| 24815 } |
| 24816 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24817 // for details. All rights reserved. Use of this source code is governed by a |
| 24818 // BSD-style license that can be found in the LICENSE file. |
| 24819 |
| 24820 // WARNING: Do not edit - generated code. |
| 24821 |
| 24822 interface SVGFEFuncAElement extends SVGComponentTransferFunctionElement { |
| 24823 } |
| 24824 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24825 // for details. All rights reserved. Use of this source code is governed by a |
| 24826 // BSD-style license that can be found in the LICENSE file. |
| 24827 |
| 24828 // WARNING: Do not edit - generated code. |
| 24829 |
| 24830 interface SVGFEFuncBElement extends SVGComponentTransferFunctionElement { |
| 24831 } |
| 24832 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24833 // for details. All rights reserved. Use of this source code is governed by a |
| 24834 // BSD-style license that can be found in the LICENSE file. |
| 24835 |
| 24836 // WARNING: Do not edit - generated code. |
| 24837 |
| 24838 interface SVGFEFuncGElement extends SVGComponentTransferFunctionElement { |
| 24839 } |
| 24840 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24841 // for details. All rights reserved. Use of this source code is governed by a |
| 24842 // BSD-style license that can be found in the LICENSE file. |
| 24843 |
| 24844 // WARNING: Do not edit - generated code. |
| 24845 |
| 24846 interface SVGFEFuncRElement extends SVGComponentTransferFunctionElement { |
| 24847 } |
| 24848 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24849 // for details. All rights reserved. Use of this source code is governed by a |
| 24850 // BSD-style license that can be found in the LICENSE file. |
| 24851 |
| 24852 // WARNING: Do not edit - generated code. |
| 24853 |
| 24854 interface SVGFEGaussianBlurElement extends SVGElement, SVGFilterPrimitiveStandar
dAttributes { |
| 24855 |
| 24856 final SVGAnimatedString in1; |
| 24857 |
| 24858 final SVGAnimatedNumber stdDeviationX; |
| 24859 |
| 24860 final SVGAnimatedNumber stdDeviationY; |
| 24861 |
| 24862 void setStdDeviation(num stdDeviationX, num stdDeviationY); |
| 24863 } |
| 24864 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24865 // for details. All rights reserved. Use of this source code is governed by a |
| 24866 // BSD-style license that can be found in the LICENSE file. |
| 24867 |
| 24868 // WARNING: Do not edit - generated code. |
| 24869 |
| 24870 interface SVGFEImageElement extends SVGElement, SVGURIReference, SVGLangSpace, S
VGExternalResourcesRequired, SVGFilterPrimitiveStandardAttributes { |
| 24871 |
| 24872 final SVGAnimatedPreserveAspectRatio preserveAspectRatio; |
| 24873 } |
| 24874 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24875 // for details. All rights reserved. Use of this source code is governed by a |
| 24876 // BSD-style license that can be found in the LICENSE file. |
| 24877 |
| 24878 // WARNING: Do not edit - generated code. |
| 24879 |
| 24880 interface SVGFEMergeElement extends SVGElement, SVGFilterPrimitiveStandardAttrib
utes { |
| 24881 } |
| 24882 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24883 // for details. All rights reserved. Use of this source code is governed by a |
| 24884 // BSD-style license that can be found in the LICENSE file. |
| 24885 |
| 24886 // WARNING: Do not edit - generated code. |
| 24887 |
| 24888 interface SVGFEMergeNodeElement extends SVGElement { |
| 24889 |
| 24890 final SVGAnimatedString in1; |
| 24891 } |
| 24892 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24893 // for details. All rights reserved. Use of this source code is governed by a |
| 24894 // BSD-style license that can be found in the LICENSE file. |
| 24895 |
| 24896 // WARNING: Do not edit - generated code. |
| 24897 |
| 24898 interface SVGFEMorphologyElement extends SVGElement, SVGFilterPrimitiveStandardA
ttributes { |
| 24899 |
| 24900 static final int SVG_MORPHOLOGY_OPERATOR_DILATE = 2; |
| 24901 |
| 24902 static final int SVG_MORPHOLOGY_OPERATOR_ERODE = 1; |
| 24903 |
| 24904 static final int SVG_MORPHOLOGY_OPERATOR_UNKNOWN = 0; |
| 24905 |
| 24906 final SVGAnimatedString in1; |
| 24907 |
| 24908 final SVGAnimatedEnumeration operator; |
| 24909 |
| 24910 final SVGAnimatedNumber radiusX; |
| 24911 |
| 24912 final SVGAnimatedNumber radiusY; |
| 24913 |
| 24914 void setRadius(num radiusX, num radiusY); |
| 24915 } |
| 24916 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24917 // for details. All rights reserved. Use of this source code is governed by a |
| 24918 // BSD-style license that can be found in the LICENSE file. |
| 24919 |
| 24920 // WARNING: Do not edit - generated code. |
| 24921 |
| 24922 interface SVGFEOffsetElement extends SVGElement, SVGFilterPrimitiveStandardAttri
butes { |
| 24923 |
| 24924 final SVGAnimatedNumber dx; |
| 24925 |
| 24926 final SVGAnimatedNumber dy; |
| 24927 |
| 24928 final SVGAnimatedString in1; |
| 24929 } |
| 24930 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24931 // for details. All rights reserved. Use of this source code is governed by a |
| 24932 // BSD-style license that can be found in the LICENSE file. |
| 24933 |
| 24934 // WARNING: Do not edit - generated code. |
| 24935 |
| 24936 interface SVGFEPointLightElement extends SVGElement { |
| 24937 |
| 24938 final SVGAnimatedNumber x; |
| 24939 |
| 24940 final SVGAnimatedNumber y; |
| 24941 |
| 24942 final SVGAnimatedNumber z; |
| 24943 } |
| 24944 // 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 |
| 24946 // BSD-style license that can be found in the LICENSE file. |
| 24947 |
| 24948 // WARNING: Do not edit - generated code. |
| 24949 |
| 24950 interface SVGFESpecularLightingElement extends SVGElement, SVGFilterPrimitiveSta
ndardAttributes { |
| 24951 |
| 24952 final SVGAnimatedString in1; |
| 24953 |
| 24954 final SVGAnimatedNumber specularConstant; |
| 24955 |
| 24956 final SVGAnimatedNumber specularExponent; |
| 24957 |
| 24958 final SVGAnimatedNumber surfaceScale; |
| 24959 } |
| 24960 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24961 // for details. All rights reserved. Use of this source code is governed by a |
| 24962 // BSD-style license that can be found in the LICENSE file. |
| 24963 |
| 24964 // WARNING: Do not edit - generated code. |
| 24965 |
| 24966 interface SVGFESpotLightElement extends SVGElement { |
| 24967 |
| 24968 final SVGAnimatedNumber limitingConeAngle; |
| 24969 |
| 24970 final SVGAnimatedNumber pointsAtX; |
| 24971 |
| 24972 final SVGAnimatedNumber pointsAtY; |
| 24973 |
| 24974 final SVGAnimatedNumber pointsAtZ; |
| 24975 |
| 24976 final SVGAnimatedNumber specularExponent; |
| 24977 |
| 24978 final SVGAnimatedNumber x; |
| 24979 |
| 24980 final SVGAnimatedNumber y; |
| 24981 |
| 24982 final SVGAnimatedNumber z; |
| 24983 } |
| 24984 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24985 // for details. All rights reserved. Use of this source code is governed by a |
| 24986 // BSD-style license that can be found in the LICENSE file. |
| 24987 |
| 24988 // WARNING: Do not edit - generated code. |
| 24989 |
| 24990 interface SVGFETileElement extends SVGElement, SVGFilterPrimitiveStandardAttribu
tes { |
| 24991 |
| 24992 final SVGAnimatedString in1; |
| 24993 } |
| 24994 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24995 // for details. All rights reserved. Use of this source code is governed by a |
| 24996 // BSD-style license that can be found in the LICENSE file. |
| 24997 |
| 24998 // WARNING: Do not edit - generated code. |
| 24999 |
| 25000 interface SVGFETurbulenceElement extends SVGElement, SVGFilterPrimitiveStandardA
ttributes { |
| 25001 |
| 25002 static final int SVG_STITCHTYPE_NOSTITCH = 2; |
| 25003 |
| 25004 static final int SVG_STITCHTYPE_STITCH = 1; |
| 25005 |
| 25006 static final int SVG_STITCHTYPE_UNKNOWN = 0; |
| 25007 |
| 25008 static final int SVG_TURBULENCE_TYPE_FRACTALNOISE = 1; |
| 25009 |
| 25010 static final int SVG_TURBULENCE_TYPE_TURBULENCE = 2; |
| 25011 |
| 25012 static final int SVG_TURBULENCE_TYPE_UNKNOWN = 0; |
| 25013 |
| 25014 final SVGAnimatedNumber baseFrequencyX; |
| 25015 |
| 25016 final SVGAnimatedNumber baseFrequencyY; |
| 25017 |
| 25018 final SVGAnimatedInteger numOctaves; |
| 25019 |
| 25020 final SVGAnimatedNumber seed; |
| 25021 |
| 25022 final SVGAnimatedEnumeration stitchTiles; |
| 25023 |
| 25024 final SVGAnimatedEnumeration type; |
| 25025 } |
| 25026 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25027 // for details. All rights reserved. Use of this source code is governed by a |
| 25028 // BSD-style license that can be found in the LICENSE file. |
| 25029 |
| 25030 // WARNING: Do not edit - generated code. |
| 25031 |
| 25032 interface SVGFilterElement extends SVGElement, SVGURIReference, SVGLangSpace, SV
GExternalResourcesRequired, SVGStylable { |
| 25033 |
| 25034 final SVGAnimatedInteger filterResX; |
| 25035 |
| 25036 final SVGAnimatedInteger filterResY; |
| 25037 |
| 25038 final SVGAnimatedEnumeration filterUnits; |
| 25039 |
| 25040 final SVGAnimatedLength height; |
| 25041 |
| 25042 final SVGAnimatedEnumeration primitiveUnits; |
| 25043 |
| 25044 final SVGAnimatedLength width; |
| 25045 |
| 25046 final SVGAnimatedLength x; |
| 25047 |
| 25048 final SVGAnimatedLength y; |
| 25049 |
| 25050 void setFilterRes(int filterResX, int filterResY); |
| 25051 } |
| 25052 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25053 // for details. All rights reserved. Use of this source code is governed by a |
| 25054 // BSD-style license that can be found in the LICENSE file. |
| 25055 |
| 25056 // WARNING: Do not edit - generated code. |
| 25057 |
| 25058 interface SVGFilterPrimitiveStandardAttributes extends SVGStylable { |
| 25059 |
| 25060 final SVGAnimatedLength height; |
| 25061 |
| 25062 final SVGAnimatedString result; |
| 25063 |
| 25064 final SVGAnimatedLength width; |
| 25065 |
| 25066 final SVGAnimatedLength x; |
| 25067 |
| 25068 final SVGAnimatedLength y; |
| 25069 } |
| 25070 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25071 // for details. All rights reserved. Use of this source code is governed by a |
| 25072 // BSD-style license that can be found in the LICENSE file. |
| 25073 |
| 25074 // WARNING: Do not edit - generated code. |
| 25075 |
| 25076 interface SVGFitToViewBox { |
| 25077 |
| 25078 final SVGAnimatedPreserveAspectRatio preserveAspectRatio; |
| 25079 |
| 25080 final SVGAnimatedRect viewBox; |
| 25081 } |
| 25082 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25083 // for details. All rights reserved. Use of this source code is governed by a |
| 25084 // BSD-style license that can be found in the LICENSE file. |
| 25085 |
| 25086 // WARNING: Do not edit - generated code. |
| 25087 |
| 25088 interface SVGFontElement extends SVGElement { |
| 25089 } |
| 25090 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25091 // for details. All rights reserved. Use of this source code is governed by a |
| 25092 // BSD-style license that can be found in the LICENSE file. |
| 25093 |
| 25094 // WARNING: Do not edit - generated code. |
| 25095 |
| 25096 interface SVGFontFaceElement extends SVGElement { |
| 25097 } |
| 25098 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25099 // for details. All rights reserved. Use of this source code is governed by a |
| 25100 // BSD-style license that can be found in the LICENSE file. |
| 25101 |
| 25102 // WARNING: Do not edit - generated code. |
| 25103 |
| 25104 interface SVGFontFaceFormatElement extends SVGElement { |
| 25105 } |
| 25106 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25107 // for details. All rights reserved. Use of this source code is governed by a |
| 25108 // BSD-style license that can be found in the LICENSE file. |
| 25109 |
| 25110 // WARNING: Do not edit - generated code. |
| 25111 |
| 25112 interface SVGFontFaceNameElement extends SVGElement { |
| 25113 } |
| 25114 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25115 // for details. All rights reserved. Use of this source code is governed by a |
| 25116 // BSD-style license that can be found in the LICENSE file. |
| 25117 |
| 25118 // WARNING: Do not edit - generated code. |
| 25119 |
| 25120 interface SVGFontFaceSrcElement extends SVGElement { |
| 25121 } |
| 25122 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25123 // for details. All rights reserved. Use of this source code is governed by a |
| 25124 // BSD-style license that can be found in the LICENSE file. |
| 25125 |
| 25126 // WARNING: Do not edit - generated code. |
| 25127 |
| 25128 interface SVGFontFaceUriElement extends SVGElement { |
| 25129 } |
| 25130 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25131 // for details. All rights reserved. Use of this source code is governed by a |
| 25132 // BSD-style license that can be found in the LICENSE file. |
| 25133 |
| 25134 // WARNING: Do not edit - generated code. |
| 25135 |
| 25136 interface SVGForeignObjectElement extends SVGElement, SVGTests, SVGLangSpace, SV
GExternalResourcesRequired, SVGStylable, SVGTransformable { |
| 25137 |
| 25138 final SVGAnimatedLength height; |
| 25139 |
| 25140 final SVGAnimatedLength width; |
| 25141 |
| 25142 final SVGAnimatedLength x; |
| 25143 |
| 25144 final SVGAnimatedLength y; |
| 25145 } |
| 25146 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25147 // for details. All rights reserved. Use of this source code is governed by a |
| 25148 // BSD-style license that can be found in the LICENSE file. |
| 25149 |
| 25150 // WARNING: Do not edit - generated code. |
| 25151 |
| 25152 interface SVGGElement extends SVGElement, SVGTests, SVGLangSpace, SVGExternalRes
ourcesRequired, SVGStylable, SVGTransformable { |
| 25153 } |
| 25154 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25155 // for details. All rights reserved. Use of this source code is governed by a |
| 25156 // BSD-style license that can be found in the LICENSE file. |
| 25157 |
| 25158 // WARNING: Do not edit - generated code. |
| 25159 |
| 25160 interface SVGGlyphElement extends SVGElement { |
| 25161 } |
| 25162 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25163 // for details. All rights reserved. Use of this source code is governed by a |
| 25164 // BSD-style license that can be found in the LICENSE file. |
| 25165 |
| 25166 // WARNING: Do not edit - generated code. |
| 25167 |
| 25168 interface SVGGlyphRefElement extends SVGElement, SVGURIReference, SVGStylable { |
| 25169 |
| 25170 num dx; |
| 25171 |
| 25172 num dy; |
| 25173 |
| 25174 String format; |
| 25175 |
| 25176 String glyphRef; |
| 25177 |
| 25178 num x; |
| 25179 |
| 25180 num y; |
| 25181 } |
| 25182 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25183 // for details. All rights reserved. Use of this source code is governed by a |
| 25184 // BSD-style license that can be found in the LICENSE file. |
| 25185 |
| 25186 // WARNING: Do not edit - generated code. |
| 25187 |
| 25188 interface SVGGradientElement extends SVGElement, SVGURIReference, SVGExternalRes
ourcesRequired, SVGStylable { |
| 25189 |
| 25190 static final int SVG_SPREADMETHOD_PAD = 1; |
| 25191 |
| 25192 static final int SVG_SPREADMETHOD_REFLECT = 2; |
| 25193 |
| 25194 static final int SVG_SPREADMETHOD_REPEAT = 3; |
| 25195 |
| 25196 static final int SVG_SPREADMETHOD_UNKNOWN = 0; |
| 25197 |
| 25198 final SVGAnimatedTransformList gradientTransform; |
| 25199 |
| 25200 final SVGAnimatedEnumeration gradientUnits; |
| 25201 |
| 25202 final SVGAnimatedEnumeration spreadMethod; |
| 25203 } |
| 25204 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25205 // for details. All rights reserved. Use of this source code is governed by a |
| 25206 // BSD-style license that can be found in the LICENSE file. |
| 25207 |
| 25208 // WARNING: Do not edit - generated code. |
| 25209 |
| 25210 interface SVGHKernElement extends SVGElement { |
| 25211 } |
| 25212 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25213 // for details. All rights reserved. Use of this source code is governed by a |
| 25214 // BSD-style license that can be found in the LICENSE file. |
| 25215 |
| 25216 // WARNING: Do not edit - generated code. |
| 25217 |
| 25218 interface SVGImageElement extends SVGElement, SVGURIReference, SVGTests, SVGLang
Space, SVGExternalResourcesRequired, SVGStylable, SVGTransformable { |
| 25219 |
| 25220 final SVGAnimatedLength height; |
| 25221 |
| 25222 final SVGAnimatedPreserveAspectRatio preserveAspectRatio; |
| 25223 |
| 25224 final SVGAnimatedLength width; |
| 25225 |
| 25226 final SVGAnimatedLength x; |
| 25227 |
| 25228 final SVGAnimatedLength y; |
| 25229 } |
| 25230 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25231 // for details. All rights reserved. Use of this source code is governed by a |
| 25232 // BSD-style license that can be found in the LICENSE file. |
| 25233 |
| 25234 // WARNING: Do not edit - generated code. |
| 25235 |
| 25236 interface SVGLangSpace { |
| 25237 |
| 25238 String xmllang; |
| 25239 |
| 25240 String xmlspace; |
| 25241 } |
| 25242 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25243 // for details. All rights reserved. Use of this source code is governed by a |
| 25244 // BSD-style license that can be found in the LICENSE file. |
| 25245 |
| 25246 // WARNING: Do not edit - generated code. |
| 25247 |
| 25248 interface SVGLength { |
| 25249 |
| 25250 static final int SVG_LENGTHTYPE_CM = 6; |
| 25251 |
| 25252 static final int SVG_LENGTHTYPE_EMS = 3; |
| 25253 |
| 25254 static final int SVG_LENGTHTYPE_EXS = 4; |
| 25255 |
| 25256 static final int SVG_LENGTHTYPE_IN = 8; |
| 25257 |
| 25258 static final int SVG_LENGTHTYPE_MM = 7; |
| 25259 |
| 25260 static final int SVG_LENGTHTYPE_NUMBER = 1; |
| 25261 |
| 25262 static final int SVG_LENGTHTYPE_PC = 10; |
| 25263 |
| 25264 static final int SVG_LENGTHTYPE_PERCENTAGE = 2; |
| 25265 |
| 25266 static final int SVG_LENGTHTYPE_PT = 9; |
| 25267 |
| 25268 static final int SVG_LENGTHTYPE_PX = 5; |
| 25269 |
| 25270 static final int SVG_LENGTHTYPE_UNKNOWN = 0; |
| 25271 |
| 25272 final int unitType; |
| 25273 |
| 25274 num value; |
| 25275 |
| 25276 String valueAsString; |
| 25277 |
| 25278 num valueInSpecifiedUnits; |
| 25279 |
| 25280 void convertToSpecifiedUnits(int unitType); |
| 25281 |
| 25282 void newValueSpecifiedUnits(int unitType, num valueInSpecifiedUnits); |
| 25283 } |
| 25284 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25285 // for details. All rights reserved. Use of this source code is governed by a |
| 25286 // BSD-style license that can be found in the LICENSE file. |
| 25287 |
| 25288 // WARNING: Do not edit - generated code. |
| 25289 |
| 25290 interface SVGLengthList { |
| 25291 |
| 25292 final int numberOfItems; |
| 25293 |
| 25294 SVGLength appendItem(SVGLength item); |
| 25295 |
| 25296 void clear(); |
| 25297 |
| 25298 SVGLength getItem(int index); |
| 25299 |
| 25300 SVGLength initialize(SVGLength item); |
| 25301 |
| 25302 SVGLength insertItemBefore(SVGLength item, int index); |
| 25303 |
| 25304 SVGLength removeItem(int index); |
| 25305 |
| 25306 SVGLength replaceItem(SVGLength item, int index); |
| 25307 } |
| 25308 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25309 // for details. All rights reserved. Use of this source code is governed by a |
| 25310 // BSD-style license that can be found in the LICENSE file. |
| 25311 |
| 25312 // WARNING: Do not edit - generated code. |
| 25313 |
| 25314 interface SVGLineElement extends SVGElement, SVGTests, SVGLangSpace, SVGExternal
ResourcesRequired, SVGStylable, SVGTransformable { |
| 25315 |
| 25316 final SVGAnimatedLength x1; |
| 25317 |
| 25318 final SVGAnimatedLength x2; |
| 25319 |
| 25320 final SVGAnimatedLength y1; |
| 25321 |
| 25322 final SVGAnimatedLength y2; |
| 25323 } |
| 25324 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25325 // for details. All rights reserved. Use of this source code is governed by a |
| 25326 // BSD-style license that can be found in the LICENSE file. |
| 25327 |
| 25328 // WARNING: Do not edit - generated code. |
| 25329 |
| 25330 interface SVGLinearGradientElement extends SVGGradientElement { |
| 25331 |
| 25332 final SVGAnimatedLength x1; |
| 25333 |
| 25334 final SVGAnimatedLength x2; |
| 25335 |
| 25336 final SVGAnimatedLength y1; |
| 25337 |
| 25338 final SVGAnimatedLength y2; |
| 25339 } |
| 25340 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25341 // for details. All rights reserved. Use of this source code is governed by a |
| 25342 // BSD-style license that can be found in the LICENSE file. |
| 25343 |
| 25344 // WARNING: Do not edit - generated code. |
| 25345 |
| 25346 interface SVGLocatable { |
| 25347 |
| 25348 final SVGElement farthestViewportElement; |
| 25349 |
| 25350 final SVGElement nearestViewportElement; |
| 25351 |
| 25352 SVGRect getBBox(); |
| 25353 |
| 25354 SVGMatrix getCTM(); |
| 25355 |
| 25356 SVGMatrix getScreenCTM(); |
| 25357 |
| 25358 SVGMatrix getTransformToElement(SVGElement element); |
| 25359 } |
| 25360 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25361 // for details. All rights reserved. Use of this source code is governed by a |
| 25362 // BSD-style license that can be found in the LICENSE file. |
| 25363 |
| 25364 // WARNING: Do not edit - generated code. |
| 25365 |
| 25366 interface SVGMPathElement extends SVGElement, SVGURIReference, SVGExternalResour
cesRequired { |
| 25367 } |
| 25368 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25369 // for details. All rights reserved. Use of this source code is governed by a |
| 25370 // BSD-style license that can be found in the LICENSE file. |
| 25371 |
| 25372 // WARNING: Do not edit - generated code. |
| 25373 |
| 25374 interface SVGMarkerElement extends SVGElement, SVGLangSpace, SVGExternalResource
sRequired, SVGStylable, SVGFitToViewBox { |
| 25375 |
| 25376 static final int SVG_MARKERUNITS_STROKEWIDTH = 2; |
| 25377 |
| 25378 static final int SVG_MARKERUNITS_UNKNOWN = 0; |
| 25379 |
| 25380 static final int SVG_MARKERUNITS_USERSPACEONUSE = 1; |
| 25381 |
| 25382 static final int SVG_MARKER_ORIENT_ANGLE = 2; |
| 25383 |
| 25384 static final int SVG_MARKER_ORIENT_AUTO = 1; |
| 25385 |
| 25386 static final int SVG_MARKER_ORIENT_UNKNOWN = 0; |
| 25387 |
| 25388 final SVGAnimatedLength markerHeight; |
| 25389 |
| 25390 final SVGAnimatedEnumeration markerUnits; |
| 25391 |
| 25392 final SVGAnimatedLength markerWidth; |
| 25393 |
| 25394 final SVGAnimatedAngle orientAngle; |
| 25395 |
| 25396 final SVGAnimatedEnumeration orientType; |
| 25397 |
| 25398 final SVGAnimatedLength refX; |
| 25399 |
| 25400 final SVGAnimatedLength refY; |
| 25401 |
| 25402 void setOrientToAngle(SVGAngle angle); |
| 25403 |
| 25404 void setOrientToAuto(); |
| 25405 } |
| 25406 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25407 // for details. All rights reserved. Use of this source code is governed by a |
| 25408 // BSD-style license that can be found in the LICENSE file. |
| 25409 |
| 25410 // WARNING: Do not edit - generated code. |
| 25411 |
| 25412 interface SVGMaskElement extends SVGElement, SVGTests, SVGLangSpace, SVGExternal
ResourcesRequired, SVGStylable { |
| 25413 |
| 25414 final SVGAnimatedLength height; |
| 25415 |
| 25416 final SVGAnimatedEnumeration maskContentUnits; |
| 25417 |
| 25418 final SVGAnimatedEnumeration maskUnits; |
| 25419 |
| 25420 final SVGAnimatedLength width; |
| 25421 |
| 25422 final SVGAnimatedLength x; |
| 25423 |
| 25424 final SVGAnimatedLength y; |
| 25425 } |
| 25426 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25427 // for details. All rights reserved. Use of this source code is governed by a |
| 25428 // BSD-style license that can be found in the LICENSE file. |
| 25429 |
| 25430 // WARNING: Do not edit - generated code. |
| 25431 |
| 25432 interface SVGMatrix { |
| 25433 |
| 25434 num a; |
| 25435 |
| 25436 num b; |
| 25437 |
| 25438 num c; |
| 25439 |
| 25440 num d; |
| 25441 |
| 25442 num e; |
| 25443 |
| 25444 num f; |
| 25445 |
| 25446 SVGMatrix flipX(); |
| 25447 |
| 25448 SVGMatrix flipY(); |
| 25449 |
| 25450 SVGMatrix inverse(); |
| 25451 |
| 25452 SVGMatrix multiply(SVGMatrix secondMatrix); |
| 25453 |
| 25454 SVGMatrix rotate(num angle); |
| 25455 |
| 25456 SVGMatrix rotateFromVector(num x, num y); |
| 25457 |
| 25458 SVGMatrix scale(num scaleFactor); |
| 25459 |
| 25460 SVGMatrix scaleNonUniform(num scaleFactorX, num scaleFactorY); |
| 25461 |
| 25462 SVGMatrix skewX(num angle); |
| 25463 |
| 25464 SVGMatrix skewY(num angle); |
| 25465 |
| 25466 SVGMatrix translate(num x, num y); |
| 25467 } |
| 25468 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25469 // for details. All rights reserved. Use of this source code is governed by a |
| 25470 // BSD-style license that can be found in the LICENSE file. |
| 25471 |
| 25472 // WARNING: Do not edit - generated code. |
| 25473 |
| 25474 interface SVGMetadataElement extends SVGElement { |
| 25475 } |
| 25476 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25477 // for details. All rights reserved. Use of this source code is governed by a |
| 25478 // BSD-style license that can be found in the LICENSE file. |
| 25479 |
| 25480 // WARNING: Do not edit - generated code. |
| 25481 |
| 25482 interface SVGMissingGlyphElement extends SVGElement { |
| 25483 } |
| 25484 // 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 |
| 25486 // BSD-style license that can be found in the LICENSE file. |
| 25487 |
| 25488 // WARNING: Do not edit - generated code. |
| 25489 |
| 25490 interface SVGNumber { |
| 25491 |
| 25492 num value; |
| 25493 } |
| 25494 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25495 // for details. All rights reserved. Use of this source code is governed by a |
| 25496 // BSD-style license that can be found in the LICENSE file. |
| 25497 |
| 25498 // WARNING: Do not edit - generated code. |
| 25499 |
| 25500 interface SVGNumberList { |
| 25501 |
| 25502 final int numberOfItems; |
| 25503 |
| 25504 SVGNumber appendItem(SVGNumber item); |
| 25505 |
| 25506 void clear(); |
| 25507 |
| 25508 SVGNumber getItem(int index); |
| 25509 |
| 25510 SVGNumber initialize(SVGNumber item); |
| 25511 |
| 25512 SVGNumber insertItemBefore(SVGNumber item, int index); |
| 25513 |
| 25514 SVGNumber removeItem(int index); |
| 25515 |
| 25516 SVGNumber replaceItem(SVGNumber item, int index); |
| 25517 } |
| 25518 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25519 // for details. All rights reserved. Use of this source code is governed by a |
| 25520 // BSD-style license that can be found in the LICENSE file. |
| 25521 |
| 25522 // WARNING: Do not edit - generated code. |
| 25523 |
| 25524 interface SVGPaint extends SVGColor { |
| 25525 |
| 25526 static final int SVG_PAINTTYPE_CURRENTCOLOR = 102; |
| 25527 |
| 25528 static final int SVG_PAINTTYPE_NONE = 101; |
| 25529 |
| 25530 static final int SVG_PAINTTYPE_RGBCOLOR = 1; |
| 25531 |
| 25532 static final int SVG_PAINTTYPE_RGBCOLOR_ICCCOLOR = 2; |
| 25533 |
| 25534 static final int SVG_PAINTTYPE_UNKNOWN = 0; |
| 25535 |
| 25536 static final int SVG_PAINTTYPE_URI = 107; |
| 25537 |
| 25538 static final int SVG_PAINTTYPE_URI_CURRENTCOLOR = 104; |
| 25539 |
| 25540 static final int SVG_PAINTTYPE_URI_NONE = 103; |
| 25541 |
| 25542 static final int SVG_PAINTTYPE_URI_RGBCOLOR = 105; |
| 25543 |
| 25544 static final int SVG_PAINTTYPE_URI_RGBCOLOR_ICCCOLOR = 106; |
| 25545 |
| 25546 final int paintType; |
| 25547 |
| 25548 final String uri; |
| 25549 |
| 25550 void setPaint(int paintType, String uri, String rgbColor, String iccColor); |
| 25551 |
| 25552 void setUri(String uri); |
| 25553 } |
| 25554 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25555 // for details. All rights reserved. Use of this source code is governed by a |
| 25556 // BSD-style license that can be found in the LICENSE file. |
| 25557 |
| 25558 // WARNING: Do not edit - generated code. |
| 25559 |
| 25560 interface SVGPathElement extends SVGElement, SVGTests, SVGLangSpace, SVGExternal
ResourcesRequired, SVGStylable, SVGTransformable { |
| 25561 |
| 25562 final SVGPathSegList animatedNormalizedPathSegList; |
| 25563 |
| 25564 final SVGPathSegList animatedPathSegList; |
| 25565 |
| 25566 final SVGPathSegList normalizedPathSegList; |
| 25567 |
| 25568 final SVGAnimatedNumber pathLength; |
| 25569 |
| 25570 final SVGPathSegList pathSegList; |
| 25571 |
| 25572 SVGPathSegArcAbs createSVGPathSegArcAbs(num x, num y, num r1, num r2, num angl
e, bool largeArcFlag, bool sweepFlag); |
| 25573 |
| 25574 SVGPathSegArcRel createSVGPathSegArcRel(num x, num y, num r1, num r2, num angl
e, bool largeArcFlag, bool sweepFlag); |
| 25575 |
| 25576 SVGPathSegClosePath createSVGPathSegClosePath(); |
| 25577 |
| 25578 SVGPathSegCurvetoCubicAbs createSVGPathSegCurvetoCubicAbs(num x, num y, num x1
, num y1, num x2, num y2); |
| 25579 |
| 25580 SVGPathSegCurvetoCubicRel createSVGPathSegCurvetoCubicRel(num x, num y, num x1
, num y1, num x2, num y2); |
| 25581 |
| 25582 SVGPathSegCurvetoCubicSmoothAbs createSVGPathSegCurvetoCubicSmoothAbs(num x, n
um y, num x2, num y2); |
| 25583 |
| 25584 SVGPathSegCurvetoCubicSmoothRel createSVGPathSegCurvetoCubicSmoothRel(num x, n
um y, num x2, num y2); |
| 25585 |
| 25586 SVGPathSegCurvetoQuadraticAbs createSVGPathSegCurvetoQuadraticAbs(num x, num y
, num x1, num y1); |
| 25587 |
| 25588 SVGPathSegCurvetoQuadraticRel createSVGPathSegCurvetoQuadraticRel(num x, num y
, num x1, num y1); |
| 25589 |
| 25590 SVGPathSegCurvetoQuadraticSmoothAbs createSVGPathSegCurvetoQuadraticSmoothAbs(
num x, num y); |
| 25591 |
| 25592 SVGPathSegCurvetoQuadraticSmoothRel createSVGPathSegCurvetoQuadraticSmoothRel(
num x, num y); |
| 25593 |
| 25594 SVGPathSegLinetoAbs createSVGPathSegLinetoAbs(num x, num y); |
| 25595 |
| 25596 SVGPathSegLinetoHorizontalAbs createSVGPathSegLinetoHorizontalAbs(num x); |
| 25597 |
| 25598 SVGPathSegLinetoHorizontalRel createSVGPathSegLinetoHorizontalRel(num x); |
| 25599 |
| 25600 SVGPathSegLinetoRel createSVGPathSegLinetoRel(num x, num y); |
| 25601 |
| 25602 SVGPathSegLinetoVerticalAbs createSVGPathSegLinetoVerticalAbs(num y); |
| 25603 |
| 25604 SVGPathSegLinetoVerticalRel createSVGPathSegLinetoVerticalRel(num y); |
| 25605 |
| 25606 SVGPathSegMovetoAbs createSVGPathSegMovetoAbs(num x, num y); |
| 25607 |
| 25608 SVGPathSegMovetoRel createSVGPathSegMovetoRel(num x, num y); |
| 25609 |
| 25610 int getPathSegAtLength(num distance); |
| 25611 |
| 25612 SVGPoint getPointAtLength(num distance); |
| 25613 |
| 25614 num getTotalLength(); |
| 25615 } |
| 25616 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25617 // for details. All rights reserved. Use of this source code is governed by a |
| 25618 // BSD-style license that can be found in the LICENSE file. |
| 25619 |
| 25620 // WARNING: Do not edit - generated code. |
| 25621 |
| 25622 interface SVGPathSeg { |
| 25623 |
| 25624 static final int PATHSEG_ARC_ABS = 10; |
| 25625 |
| 25626 static final int PATHSEG_ARC_REL = 11; |
| 25627 |
| 25628 static final int PATHSEG_CLOSEPATH = 1; |
| 25629 |
| 25630 static final int PATHSEG_CURVETO_CUBIC_ABS = 6; |
| 25631 |
| 25632 static final int PATHSEG_CURVETO_CUBIC_REL = 7; |
| 25633 |
| 25634 static final int PATHSEG_CURVETO_CUBIC_SMOOTH_ABS = 16; |
| 25635 |
| 25636 static final int PATHSEG_CURVETO_CUBIC_SMOOTH_REL = 17; |
| 25637 |
| 25638 static final int PATHSEG_CURVETO_QUADRATIC_ABS = 8; |
| 25639 |
| 25640 static final int PATHSEG_CURVETO_QUADRATIC_REL = 9; |
| 25641 |
| 25642 static final int PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS = 18; |
| 25643 |
| 25644 static final int PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL = 19; |
| 25645 |
| 25646 static final int PATHSEG_LINETO_ABS = 4; |
| 25647 |
| 25648 static final int PATHSEG_LINETO_HORIZONTAL_ABS = 12; |
| 25649 |
| 25650 static final int PATHSEG_LINETO_HORIZONTAL_REL = 13; |
| 25651 |
| 25652 static final int PATHSEG_LINETO_REL = 5; |
| 25653 |
| 25654 static final int PATHSEG_LINETO_VERTICAL_ABS = 14; |
| 25655 |
| 25656 static final int PATHSEG_LINETO_VERTICAL_REL = 15; |
| 25657 |
| 25658 static final int PATHSEG_MOVETO_ABS = 2; |
| 25659 |
| 25660 static final int PATHSEG_MOVETO_REL = 3; |
| 25661 |
| 25662 static final int PATHSEG_UNKNOWN = 0; |
| 25663 |
| 25664 final int pathSegType; |
| 25665 |
| 25666 final String pathSegTypeAsLetter; |
| 25667 } |
| 25668 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25669 // for details. All rights reserved. Use of this source code is governed by a |
| 25670 // BSD-style license that can be found in the LICENSE file. |
| 25671 |
| 25672 // WARNING: Do not edit - generated code. |
| 25673 |
| 25674 interface SVGPathSegArcAbs extends SVGPathSeg { |
| 25675 |
| 25676 num angle; |
| 25677 |
| 25678 bool largeArcFlag; |
| 25679 |
| 25680 num r1; |
| 25681 |
| 25682 num r2; |
| 25683 |
| 25684 bool sweepFlag; |
| 25685 |
| 25686 num x; |
| 25687 |
| 25688 num y; |
| 25689 } |
| 25690 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25691 // for details. All rights reserved. Use of this source code is governed by a |
| 25692 // BSD-style license that can be found in the LICENSE file. |
| 25693 |
| 25694 // WARNING: Do not edit - generated code. |
| 25695 |
| 25696 interface SVGPathSegArcRel extends SVGPathSeg { |
| 25697 |
| 25698 num angle; |
| 25699 |
| 25700 bool largeArcFlag; |
| 25701 |
| 25702 num r1; |
| 25703 |
| 25704 num r2; |
| 25705 |
| 25706 bool sweepFlag; |
| 25707 |
| 25708 num x; |
| 25709 |
| 25710 num y; |
| 25711 } |
| 25712 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25713 // for details. All rights reserved. Use of this source code is governed by a |
| 25714 // BSD-style license that can be found in the LICENSE file. |
| 25715 |
| 25716 // WARNING: Do not edit - generated code. |
| 25717 |
| 25718 interface SVGPathSegClosePath extends SVGPathSeg { |
| 25719 } |
| 25720 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25721 // for details. All rights reserved. Use of this source code is governed by a |
| 25722 // BSD-style license that can be found in the LICENSE file. |
| 25723 |
| 25724 // WARNING: Do not edit - generated code. |
| 25725 |
| 25726 interface SVGPathSegCurvetoCubicAbs extends SVGPathSeg { |
| 25727 |
| 25728 num x; |
| 25729 |
| 25730 num x1; |
| 25731 |
| 25732 num x2; |
| 25733 |
| 25734 num y; |
| 25735 |
| 25736 num y1; |
| 25737 |
| 25738 num y2; |
| 25739 } |
| 25740 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25741 // for details. All rights reserved. Use of this source code is governed by a |
| 25742 // BSD-style license that can be found in the LICENSE file. |
| 25743 |
| 25744 // WARNING: Do not edit - generated code. |
| 25745 |
| 25746 interface SVGPathSegCurvetoCubicRel extends SVGPathSeg { |
| 25747 |
| 25748 num x; |
| 25749 |
| 25750 num x1; |
| 25751 |
| 25752 num x2; |
| 25753 |
| 25754 num y; |
| 25755 |
| 25756 num y1; |
| 25757 |
| 25758 num y2; |
| 25759 } |
| 25760 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25761 // for details. All rights reserved. Use of this source code is governed by a |
| 25762 // BSD-style license that can be found in the LICENSE file. |
| 25763 |
| 25764 // WARNING: Do not edit - generated code. |
| 25765 |
| 25766 interface SVGPathSegCurvetoCubicSmoothAbs extends SVGPathSeg { |
| 25767 |
| 25768 num x; |
| 25769 |
| 25770 num x2; |
| 25771 |
| 25772 num y; |
| 25773 |
| 25774 num y2; |
| 25775 } |
| 25776 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25777 // for details. All rights reserved. Use of this source code is governed by a |
| 25778 // BSD-style license that can be found in the LICENSE file. |
| 25779 |
| 25780 // WARNING: Do not edit - generated code. |
| 25781 |
| 25782 interface SVGPathSegCurvetoCubicSmoothRel extends SVGPathSeg { |
| 25783 |
| 25784 num x; |
| 25785 |
| 25786 num x2; |
| 25787 |
| 25788 num y; |
| 25789 |
| 25790 num y2; |
| 25791 } |
| 25792 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25793 // for details. All rights reserved. Use of this source code is governed by a |
| 25794 // BSD-style license that can be found in the LICENSE file. |
| 25795 |
| 25796 // WARNING: Do not edit - generated code. |
| 25797 |
| 25798 interface SVGPathSegCurvetoQuadraticAbs extends SVGPathSeg { |
| 25799 |
| 25800 num x; |
| 25801 |
| 25802 num x1; |
| 25803 |
| 25804 num y; |
| 25805 |
| 25806 num y1; |
| 25807 } |
| 25808 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25809 // for details. All rights reserved. Use of this source code is governed by a |
| 25810 // BSD-style license that can be found in the LICENSE file. |
| 25811 |
| 25812 // WARNING: Do not edit - generated code. |
| 25813 |
| 25814 interface SVGPathSegCurvetoQuadraticRel extends SVGPathSeg { |
| 25815 |
| 25816 num x; |
| 25817 |
| 25818 num x1; |
| 25819 |
| 25820 num y; |
| 25821 |
| 25822 num y1; |
| 25823 } |
| 25824 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25825 // for details. All rights reserved. Use of this source code is governed by a |
| 25826 // BSD-style license that can be found in the LICENSE file. |
| 25827 |
| 25828 // WARNING: Do not edit - generated code. |
| 25829 |
| 25830 interface SVGPathSegCurvetoQuadraticSmoothAbs extends SVGPathSeg { |
| 25831 |
| 25832 num x; |
| 25833 |
| 25834 num y; |
| 25835 } |
| 25836 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25837 // for details. All rights reserved. Use of this source code is governed by a |
| 25838 // BSD-style license that can be found in the LICENSE file. |
| 25839 |
| 25840 // WARNING: Do not edit - generated code. |
| 25841 |
| 25842 interface SVGPathSegCurvetoQuadraticSmoothRel extends SVGPathSeg { |
| 25843 |
| 25844 num x; |
| 25845 |
| 25846 num y; |
| 25847 } |
| 25848 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25849 // for details. All rights reserved. Use of this source code is governed by a |
| 25850 // BSD-style license that can be found in the LICENSE file. |
| 25851 |
| 25852 // WARNING: Do not edit - generated code. |
| 25853 |
| 25854 interface SVGPathSegLinetoAbs extends SVGPathSeg { |
| 25855 |
| 25856 num x; |
| 25857 |
| 25858 num y; |
| 25859 } |
| 25860 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25861 // for details. All rights reserved. Use of this source code is governed by a |
| 25862 // BSD-style license that can be found in the LICENSE file. |
| 25863 |
| 25864 // WARNING: Do not edit - generated code. |
| 25865 |
| 25866 interface SVGPathSegLinetoHorizontalAbs extends SVGPathSeg { |
| 25867 |
| 25868 num x; |
| 25869 } |
| 25870 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25871 // for details. All rights reserved. Use of this source code is governed by a |
| 25872 // BSD-style license that can be found in the LICENSE file. |
| 25873 |
| 25874 // WARNING: Do not edit - generated code. |
| 25875 |
| 25876 interface SVGPathSegLinetoHorizontalRel extends SVGPathSeg { |
| 25877 |
| 25878 num x; |
| 25879 } |
| 25880 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25881 // for details. All rights reserved. Use of this source code is governed by a |
| 25882 // BSD-style license that can be found in the LICENSE file. |
| 25883 |
| 25884 // WARNING: Do not edit - generated code. |
| 25885 |
| 25886 interface SVGPathSegLinetoRel extends SVGPathSeg { |
| 25887 |
| 25888 num x; |
| 25889 |
| 25890 num y; |
| 25891 } |
| 25892 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25893 // for details. All rights reserved. Use of this source code is governed by a |
| 25894 // BSD-style license that can be found in the LICENSE file. |
| 25895 |
| 25896 // WARNING: Do not edit - generated code. |
| 25897 |
| 25898 interface SVGPathSegLinetoVerticalAbs extends SVGPathSeg { |
| 25899 |
| 25900 num y; |
| 25901 } |
| 25902 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25903 // for details. All rights reserved. Use of this source code is governed by a |
| 25904 // BSD-style license that can be found in the LICENSE file. |
| 25905 |
| 25906 // WARNING: Do not edit - generated code. |
| 25907 |
| 25908 interface SVGPathSegLinetoVerticalRel extends SVGPathSeg { |
| 25909 |
| 25910 num y; |
| 25911 } |
| 25912 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25913 // for details. All rights reserved. Use of this source code is governed by a |
| 25914 // BSD-style license that can be found in the LICENSE file. |
| 25915 |
| 25916 // WARNING: Do not edit - generated code. |
| 25917 |
| 25918 interface SVGPathSegList { |
| 25919 |
| 25920 final int numberOfItems; |
| 25921 |
| 25922 SVGPathSeg appendItem(SVGPathSeg newItem); |
| 25923 |
| 25924 void clear(); |
| 25925 |
| 25926 SVGPathSeg getItem(int index); |
| 25927 |
| 25928 SVGPathSeg initialize(SVGPathSeg newItem); |
| 25929 |
| 25930 SVGPathSeg insertItemBefore(SVGPathSeg newItem, int index); |
| 25931 |
| 25932 SVGPathSeg removeItem(int index); |
| 25933 |
| 25934 SVGPathSeg replaceItem(SVGPathSeg newItem, int index); |
| 25935 } |
| 25936 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25937 // for details. All rights reserved. Use of this source code is governed by a |
| 25938 // BSD-style license that can be found in the LICENSE file. |
| 25939 |
| 25940 // WARNING: Do not edit - generated code. |
| 25941 |
| 25942 interface SVGPathSegMovetoAbs extends SVGPathSeg { |
| 25943 |
| 25944 num x; |
| 25945 |
| 25946 num y; |
| 25947 } |
| 25948 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25949 // for details. All rights reserved. Use of this source code is governed by a |
| 25950 // BSD-style license that can be found in the LICENSE file. |
| 25951 |
| 25952 // WARNING: Do not edit - generated code. |
| 25953 |
| 25954 interface SVGPathSegMovetoRel extends SVGPathSeg { |
| 25955 |
| 25956 num x; |
| 25957 |
| 25958 num y; |
| 25959 } |
| 25960 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25961 // for details. All rights reserved. Use of this source code is governed by a |
| 25962 // BSD-style license that can be found in the LICENSE file. |
| 25963 |
| 25964 // WARNING: Do not edit - generated code. |
| 25965 |
| 25966 interface SVGPatternElement extends SVGElement, SVGURIReference, SVGTests, SVGLa
ngSpace, SVGExternalResourcesRequired, SVGStylable, SVGFitToViewBox { |
| 25967 |
| 25968 final SVGAnimatedLength height; |
| 25969 |
| 25970 final SVGAnimatedEnumeration patternContentUnits; |
| 25971 |
| 25972 final SVGAnimatedTransformList patternTransform; |
| 25973 |
| 25974 final SVGAnimatedEnumeration patternUnits; |
| 25975 |
| 25976 final SVGAnimatedLength width; |
| 25977 |
| 25978 final SVGAnimatedLength x; |
| 25979 |
| 25980 final SVGAnimatedLength y; |
| 25981 } |
| 25982 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25983 // for details. All rights reserved. Use of this source code is governed by a |
| 25984 // BSD-style license that can be found in the LICENSE file. |
| 25985 |
| 25986 // WARNING: Do not edit - generated code. |
| 25987 |
| 25988 interface SVGPoint { |
| 25989 |
| 25990 num x; |
| 25991 |
| 25992 num y; |
| 25993 |
| 25994 SVGPoint matrixTransform(SVGMatrix matrix); |
| 25995 } |
| 25996 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25997 // for details. All rights reserved. Use of this source code is governed by a |
| 25998 // BSD-style license that can be found in the LICENSE file. |
| 25999 |
| 26000 // WARNING: Do not edit - generated code. |
| 26001 |
| 26002 interface SVGPointList { |
| 26003 |
| 26004 final int numberOfItems; |
| 26005 |
| 26006 SVGPoint appendItem(SVGPoint item); |
| 26007 |
| 26008 void clear(); |
| 26009 |
| 26010 SVGPoint getItem(int index); |
| 26011 |
| 26012 SVGPoint initialize(SVGPoint item); |
| 26013 |
| 26014 SVGPoint insertItemBefore(SVGPoint item, int index); |
| 26015 |
| 26016 SVGPoint removeItem(int index); |
| 26017 |
| 26018 SVGPoint replaceItem(SVGPoint item, int index); |
| 26019 } |
| 26020 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 26021 // for details. All rights reserved. Use of this source code is governed by a |
| 26022 // BSD-style license that can be found in the LICENSE file. |
| 26023 |
| 26024 // WARNING: Do not edit - generated code. |
| 26025 |
| 26026 interface SVGPolygonElement extends SVGElement, SVGTests, SVGLangSpace, SVGExter
nalResourcesRequired, SVGStylable, SVGTransformable { |
| 26027 |
| 26028 final SVGPointList animatedPoints; |
| 26029 |
| 26030 final SVGPointList points; |
| 26031 } |
| 26032 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 26033 // for details. All rights reserved. Use of this source code is governed by a |
| 26034 // BSD-style license that can be found in the LICENSE file. |
| 26035 |
| 26036 // WARNING: Do not edit - generated code. |
| 26037 |
| 26038 interface SVGPolylineElement extends SVGElement, SVGTests, SVGLangSpace, SVGExte
rnalResourcesRequired, SVGStylable, SVGTransformable { |
| 26039 |
| 26040 final SVGPointList animatedPoints; |
| 26041 |
| 26042 final SVGPointList points; |
| 26043 } |
| 26044 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 26045 // for details. All rights reserved. Use of this source code is governed by a |
| 26046 // BSD-style license that can be found in the LICENSE file. |
| 26047 |
| 26048 // WARNING: Do not edit - generated code. |
| 26049 |
| 26050 interface SVGPreserveAspectRatio { |
| 26051 |
| 26052 static final int SVG_MEETORSLICE_MEET = 1; |
| 26053 |
| 26054 static final int SVG_MEETORSLICE_SLICE = 2; |
| 26055 |
| 26056 static final int SVG_MEETORSLICE_UNKNOWN = 0; |
| 26057 |
| 26058 static final int SVG_PRESERVEASPECTRATIO_NONE = 1; |
| 26059 |
| 26060 static final int SVG_PRESERVEASPECTRATIO_UNKNOWN = 0; |
| 26061 |
| 26062 static final int SVG_PRESERVEASPECTRATIO_XMAXYMAX = 10; |
| 26063 |
| 26064 static final int SVG_PRESERVEASPECTRATIO_XMAXYMID = 7; |
| 26065 |
| 26066 static final int SVG_PRESERVEASPECTRATIO_XMAXYMIN = 4; |
| 26067 |
| 26068 static final int SVG_PRESERVEASPECTRATIO_XMIDYMAX = 9; |
| 26069 |
| 26070 static final int SVG_PRESERVEASPECTRATIO_XMIDYMID = 6; |
| 26071 |
| 26072 static final int SVG_PRESERVEASPECTRATIO_XMIDYMIN = 3; |
| 26073 |
| 26074 static final int SVG_PRESERVEASPECTRATIO_XMINYMAX = 8; |
| 26075 |
| 26076 static final int SVG_PRESERVEASPECTRATIO_XMINYMID = 5; |
| 26077 |
| 26078 static final int SVG_PRESERVEASPECTRATIO_XMINYMIN = 2; |
| 26079 |
| 26080 int align; |
| 26081 |
| 26082 int meetOrSlice; |
| 26083 } |
| 26084 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 26085 // for details. All rights reserved. Use of this source code is governed by a |
| 26086 // BSD-style license that can be found in the LICENSE file. |
| 26087 |
| 26088 // WARNING: Do not edit - generated code. |
| 26089 |
| 26090 interface SVGRadialGradientElement extends SVGGradientElement { |
| 26091 |
| 26092 final SVGAnimatedLength cx; |
| 26093 |
| 26094 final SVGAnimatedLength cy; |
| 26095 |
| 26096 final SVGAnimatedLength fx; |
| 26097 |
| 26098 final SVGAnimatedLength fy; |
| 26099 |
| 26100 final SVGAnimatedLength r; |
| 26101 } |
| 26102 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 26103 // for details. All rights reserved. Use of this source code is governed by a |
| 26104 // BSD-style license that can be found in the LICENSE file. |
| 26105 |
| 26106 // WARNING: Do not edit - generated code. |
| 26107 |
| 26108 interface SVGRect { |
| 26109 |
| 26110 num height; |
| 26111 |
| 26112 num width; |
| 26113 |
| 26114 num x; |
| 26115 |
| 26116 num y; |
| 26117 } |
| 26118 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 26119 // for details. All rights reserved. Use of this source code is governed by a |
| 26120 // BSD-style license that can be found in the LICENSE file. |
| 26121 |
| 26122 // WARNING: Do not edit - generated code. |
| 26123 |
| 26124 interface SVGRectElement extends SVGElement, SVGTests, SVGLangSpace, SVGExternal
ResourcesRequired, SVGStylable, SVGTransformable { |
| 26125 |
| 26126 final SVGAnimatedLength height; |
| 26127 |
| 26128 final SVGAnimatedLength rx; |
| 26129 |
| 26130 final SVGAnimatedLength ry; |
| 26131 |
| 26132 final SVGAnimatedLength width; |
| 26133 |
| 26134 final SVGAnimatedLength x; |
| 26135 |
| 26136 final SVGAnimatedLength y; |
| 26137 } |
| 26138 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 26139 // for details. All rights reserved. Use of this source code is governed by a |
| 26140 // BSD-style license that can be found in the LICENSE file. |
| 26141 |
| 26142 // WARNING: Do not edit - generated code. |
| 26143 |
| 26144 interface SVGRenderingIntent { |
| 26145 |
| 26146 static final int RENDERING_INTENT_ABSOLUTE_COLORIMETRIC = 5; |
| 26147 |
| 26148 static final int RENDERING_INTENT_AUTO = 1; |
| 26149 |
| 26150 static final int RENDERING_INTENT_PERCEPTUAL = 2; |
| 26151 |
| 26152 static final int RENDERING_INTENT_RELATIVE_COLORIMETRIC = 3; |
| 26153 |
| 26154 static final int RENDERING_INTENT_SATURATION = 4; |
| 26155 |
| 26156 static final int RENDERING_INTENT_UNKNOWN = 0; |
| 26157 } |
| 26158 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 26159 // for details. All rights reserved. Use of this source code is governed by a |
| 26160 // BSD-style license that can be found in the LICENSE file. |
| 26161 |
| 26162 // WARNING: Do not edit - generated code. |
| 26163 |
| 26164 interface SVGSVGElement extends SVGElement, SVGTests, SVGLangSpace, SVGExternalR
esourcesRequired, SVGStylable, SVGLocatable, SVGFitToViewBox, SVGZoomAndPan { |
| 26165 |
| 26166 String contentScriptType; |
| 26167 |
| 26168 String contentStyleType; |
| 26169 |
| 26170 num currentScale; |
| 26171 |
| 26172 final SVGPoint currentTranslate; |
| 26173 |
| 26174 final SVGAnimatedLength height; |
| 26175 |
| 26176 final num pixelUnitToMillimeterX; |
| 26177 |
| 26178 final num pixelUnitToMillimeterY; |
| 26179 |
| 26180 final num screenPixelToMillimeterX; |
| 26181 |
| 26182 final num screenPixelToMillimeterY; |
| 26183 |
| 26184 bool useCurrentView; |
| 26185 |
| 26186 final SVGRect viewport; |
| 26187 |
| 26188 final SVGAnimatedLength width; |
| 26189 |
| 26190 final SVGAnimatedLength x; |
| 26191 |
| 26192 final SVGAnimatedLength y; |
| 26193 |
| 26194 bool animationsPaused(); |
| 26195 |
| 26196 bool checkEnclosure(SVGElement element, SVGRect rect); |
| 26197 |
| 26198 bool checkIntersection(SVGElement element, SVGRect rect); |
| 26199 |
| 26200 SVGAngle createSVGAngle(); |
| 26201 |
| 26202 SVGLength createSVGLength(); |
| 26203 |
| 26204 SVGMatrix createSVGMatrix(); |
| 26205 |
| 26206 SVGNumber createSVGNumber(); |
| 26207 |
| 26208 SVGPoint createSVGPoint(); |
| 26209 |
| 26210 SVGRect createSVGRect(); |
| 26211 |
| 26212 SVGTransform createSVGTransform(); |
| 26213 |
| 26214 SVGTransform createSVGTransformFromMatrix(SVGMatrix matrix); |
| 26215 |
| 26216 void deselectAll(); |
| 26217 |
| 26218 void forceRedraw(); |
| 26219 |
| 26220 num getCurrentTime(); |
| 26221 |
| 26222 Element getElementById(String elementId); |
| 26223 |
| 26224 NodeList getEnclosureList(SVGRect rect, SVGElement referenceElement); |
| 26225 |
| 26226 NodeList getIntersectionList(SVGRect rect, SVGElement referenceElement); |
| 26227 |
| 26228 void pauseAnimations(); |
| 26229 |
| 26230 void setCurrentTime(num seconds); |
| 26231 |
| 26232 int suspendRedraw(int maxWaitMilliseconds); |
| 26233 |
| 26234 void unpauseAnimations(); |
| 26235 |
| 26236 void unsuspendRedraw(int suspendHandleId); |
| 26237 |
| 26238 void unsuspendRedrawAll(); |
| 26239 } |
| 26240 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 26241 // for details. All rights reserved. Use of this source code is governed by a |
| 26242 // BSD-style license that can be found in the LICENSE file. |
| 26243 |
| 26244 // WARNING: Do not edit - generated code. |
| 26245 |
| 26246 interface SVGScriptElement extends SVGElement, SVGURIReference, SVGExternalResou
rcesRequired { |
| 26247 |
| 26248 String type; |
| 26249 } |
| 26250 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 26251 // for details. All rights reserved. Use of this source code is governed by a |
| 26252 // BSD-style license that can be found in the LICENSE file. |
| 26253 |
| 26254 // WARNING: Do not edit - generated code. |
| 26255 |
| 26256 interface SVGSetElement extends SVGAnimationElement { |
| 26257 } |
| 26258 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 26259 // for details. All rights reserved. Use of this source code is governed by a |
| 26260 // BSD-style license that can be found in the LICENSE file. |
| 26261 |
| 26262 // WARNING: Do not edit - generated code. |
| 26263 |
| 26264 interface SVGStopElement extends SVGElement, SVGStylable { |
| 26265 |
| 26266 final SVGAnimatedNumber offset; |
| 26267 } |
| 26268 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 26269 // for details. All rights reserved. Use of this source code is governed by a |
| 26270 // BSD-style license that can be found in the LICENSE file. |
| 26271 |
| 26272 // WARNING: Do not edit - generated code. |
| 26273 |
| 26274 interface SVGStringList { |
| 26275 |
| 26276 final int numberOfItems; |
| 26277 |
| 26278 String appendItem(String item); |
| 26279 |
| 26280 void clear(); |
| 26281 |
| 26282 String getItem(int index); |
| 26283 |
| 26284 String initialize(String item); |
| 26285 |
| 26286 String insertItemBefore(String item, int index); |
| 26287 |
| 26288 String removeItem(int index); |
| 26289 |
| 26290 String replaceItem(String item, int index); |
| 26291 } |
| 26292 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 26293 // for details. All rights reserved. Use of this source code is governed by a |
| 26294 // BSD-style license that can be found in the LICENSE file. |
| 26295 |
| 26296 // WARNING: Do not edit - generated code. |
| 26297 |
| 26298 interface SVGStylable { |
| 26299 |
| 26300 final SVGAnimatedString className; |
| 26301 |
| 26302 final CSSStyleDeclaration style; |
| 26303 |
| 26304 CSSValue getPresentationAttribute(String name); |
| 26305 } |
| 26306 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 26307 // for details. All rights reserved. Use of this source code is governed by a |
| 26308 // BSD-style license that can be found in the LICENSE file. |
| 26309 |
| 26310 // WARNING: Do not edit - generated code. |
| 26311 |
| 26312 interface SVGStyleElement extends SVGElement, SVGLangSpace { |
| 26313 |
| 26314 bool disabled; |
| 26315 |
| 26316 String media; |
| 26317 |
| 26318 String title; |
| 26319 |
| 26320 String type; |
| 26321 } |
| 26322 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 26323 // for details. All rights reserved. Use of this source code is governed by a |
| 26324 // BSD-style license that can be found in the LICENSE file. |
| 26325 |
| 26326 // WARNING: Do not edit - generated code. |
| 26327 |
| 26328 interface SVGSwitchElement extends SVGElement, SVGTests, SVGLangSpace, SVGExtern
alResourcesRequired, SVGStylable, SVGTransformable { |
| 26329 } |
| 26330 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 26331 // for details. All rights reserved. Use of this source code is governed by a |
| 26332 // BSD-style license that can be found in the LICENSE file. |
| 26333 |
| 26334 // WARNING: Do not edit - generated code. |
| 26335 |
| 26336 interface SVGSymbolElement extends SVGElement, SVGLangSpace, SVGExternalResource
sRequired, SVGStylable, SVGFitToViewBox { |
| 26337 } |
| 26338 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 26339 // for details. All rights reserved. Use of this source code is governed by a |
| 26340 // BSD-style license that can be found in the LICENSE file. |
| 26341 |
| 26342 // WARNING: Do not edit - generated code. |
| 26343 |
| 26344 interface SVGTRefElement extends SVGTextPositioningElement, SVGURIReference { |
| 26345 } |
| 26346 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 26347 // for details. All rights reserved. Use of this source code is governed by a |
| 26348 // BSD-style license that can be found in the LICENSE file. |
| 26349 |
| 26350 // WARNING: Do not edit - generated code. |
| 26351 |
| 26352 interface SVGTSpanElement extends SVGTextPositioningElement { |
| 26353 } |
| 26354 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 26355 // for details. All rights reserved. Use of this source code is governed by a |
| 26356 // BSD-style license that can be found in the LICENSE file. |
| 26357 |
| 26358 // WARNING: Do not edit - generated code. |
| 26359 |
| 26360 interface SVGTests { |
| 26361 |
| 26362 final SVGStringList requiredExtensions; |
| 26363 |
| 26364 final SVGStringList requiredFeatures; |
| 26365 |
| 26366 final SVGStringList systemLanguage; |
| 26367 |
| 26368 bool hasExtension(String extension); |
| 26369 } |
| 26370 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 26371 // for details. All rights reserved. Use of this source code is governed by a |
| 26372 // BSD-style license that can be found in the LICENSE file. |
| 26373 |
| 26374 // WARNING: Do not edit - generated code. |
| 26375 |
| 26376 interface SVGTextContentElement extends SVGElement, SVGTests, SVGLangSpace, SVGE
xternalResourcesRequired, SVGStylable { |
| 26377 |
| 26378 static final int LENGTHADJUST_SPACING = 1; |
| 26379 |
| 26380 static final int LENGTHADJUST_SPACINGANDGLYPHS = 2; |
| 26381 |
| 26382 static final int LENGTHADJUST_UNKNOWN = 0; |
| 26383 |
| 26384 final SVGAnimatedEnumeration lengthAdjust; |
| 26385 |
| 26386 final SVGAnimatedLength textLength; |
| 26387 |
| 26388 int getCharNumAtPosition(SVGPoint point); |
| 26389 |
| 26390 num getComputedTextLength(); |
| 26391 |
| 26392 SVGPoint getEndPositionOfChar(int offset); |
| 26393 |
| 26394 SVGRect getExtentOfChar(int offset); |
| 26395 |
| 26396 int getNumberOfChars(); |
| 26397 |
| 26398 num getRotationOfChar(int offset); |
| 26399 |
| 26400 SVGPoint getStartPositionOfChar(int offset); |
| 26401 |
| 26402 num getSubStringLength(int offset, int length); |
| 26403 |
| 26404 void selectSubString(int offset, int length); |
| 26405 } |
| 26406 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 26407 // for details. All rights reserved. Use of this source code is governed by a |
| 26408 // BSD-style license that can be found in the LICENSE file. |
| 26409 |
| 26410 // WARNING: Do not edit - generated code. |
| 26411 |
| 26412 interface SVGTextElement extends SVGTextPositioningElement, SVGTransformable { |
| 26413 } |
| 26414 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 26415 // for details. All rights reserved. Use of this source code is governed by a |
| 26416 // BSD-style license that can be found in the LICENSE file. |
| 26417 |
| 26418 // WARNING: Do not edit - generated code. |
| 26419 |
| 26420 interface SVGTextPathElement extends SVGTextContentElement, SVGURIReference { |
| 26421 |
| 26422 static final int TEXTPATH_METHODTYPE_ALIGN = 1; |
| 26423 |
| 26424 static final int TEXTPATH_METHODTYPE_STRETCH = 2; |
| 26425 |
| 26426 static final int TEXTPATH_METHODTYPE_UNKNOWN = 0; |
| 26427 |
| 26428 static final int TEXTPATH_SPACINGTYPE_AUTO = 1; |
| 26429 |
| 26430 static final int TEXTPATH_SPACINGTYPE_EXACT = 2; |
| 26431 |
| 26432 static final int TEXTPATH_SPACINGTYPE_UNKNOWN = 0; |
| 26433 |
| 26434 final SVGAnimatedEnumeration method; |
| 26435 |
| 26436 final SVGAnimatedEnumeration spacing; |
| 26437 |
| 26438 final SVGAnimatedLength startOffset; |
| 26439 } |
| 26440 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 26441 // for details. All rights reserved. Use of this source code is governed by a |
| 26442 // BSD-style license that can be found in the LICENSE file. |
| 26443 |
| 26444 // WARNING: Do not edit - generated code. |
| 26445 |
| 26446 interface SVGTextPositioningElement extends SVGTextContentElement { |
| 26447 |
| 26448 final SVGAnimatedLengthList dx; |
| 26449 |
| 26450 final SVGAnimatedLengthList dy; |
| 26451 |
| 26452 final SVGAnimatedNumberList rotate; |
| 26453 |
| 26454 final SVGAnimatedLengthList x; |
| 26455 |
| 26456 final SVGAnimatedLengthList y; |
| 26457 } |
| 26458 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 26459 // for details. All rights reserved. Use of this source code is governed by a |
| 26460 // BSD-style license that can be found in the LICENSE file. |
| 26461 |
| 26462 // WARNING: Do not edit - generated code. |
| 26463 |
| 26464 interface SVGTitleElement extends SVGElement, SVGLangSpace, SVGStylable { |
| 26465 } |
| 26466 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 26467 // for details. All rights reserved. Use of this source code is governed by a |
| 26468 // BSD-style license that can be found in the LICENSE file. |
| 26469 |
| 26470 // WARNING: Do not edit - generated code. |
| 26471 |
| 26472 interface SVGTransform { |
| 26473 |
| 26474 static final int SVG_TRANSFORM_MATRIX = 1; |
| 26475 |
| 26476 static final int SVG_TRANSFORM_ROTATE = 4; |
| 26477 |
| 26478 static final int SVG_TRANSFORM_SCALE = 3; |
| 26479 |
| 26480 static final int SVG_TRANSFORM_SKEWX = 5; |
| 26481 |
| 26482 static final int SVG_TRANSFORM_SKEWY = 6; |
| 26483 |
| 26484 static final int SVG_TRANSFORM_TRANSLATE = 2; |
| 26485 |
| 26486 static final int SVG_TRANSFORM_UNKNOWN = 0; |
| 26487 |
| 26488 final num angle; |
| 26489 |
| 26490 final SVGMatrix matrix; |
| 26491 |
| 26492 final int type; |
| 26493 |
| 26494 void setMatrix(SVGMatrix matrix); |
| 26495 |
| 26496 void setRotate(num angle, num cx, num cy); |
| 26497 |
| 26498 void setScale(num sx, num sy); |
| 26499 |
| 26500 void setSkewX(num angle); |
| 26501 |
| 26502 void setSkewY(num angle); |
| 26503 |
| 26504 void setTranslate(num tx, num ty); |
| 26505 } |
| 26506 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 26507 // for details. All rights reserved. Use of this source code is governed by a |
| 26508 // BSD-style license that can be found in the LICENSE file. |
| 26509 |
| 26510 // WARNING: Do not edit - generated code. |
| 26511 |
| 26512 interface SVGTransformList { |
| 26513 |
| 26514 final int numberOfItems; |
| 26515 |
| 26516 SVGTransform appendItem(SVGTransform item); |
| 26517 |
| 26518 void clear(); |
| 26519 |
| 26520 SVGTransform consolidate(); |
| 26521 |
| 26522 SVGTransform createSVGTransformFromMatrix(SVGMatrix matrix); |
| 26523 |
| 26524 SVGTransform getItem(int index); |
| 26525 |
| 26526 SVGTransform initialize(SVGTransform item); |
| 26527 |
| 26528 SVGTransform insertItemBefore(SVGTransform item, int index); |
| 26529 |
| 26530 SVGTransform removeItem(int index); |
| 26531 |
| 26532 SVGTransform replaceItem(SVGTransform item, int index); |
| 26533 } |
| 26534 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 26535 // for details. All rights reserved. Use of this source code is governed by a |
| 26536 // BSD-style license that can be found in the LICENSE file. |
| 26537 |
| 26538 // WARNING: Do not edit - generated code. |
| 26539 |
| 26540 interface SVGTransformable extends SVGLocatable { |
| 26541 |
| 26542 final SVGAnimatedTransformList transform; |
| 26543 } |
| 26544 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 26545 // for details. All rights reserved. Use of this source code is governed by a |
| 26546 // BSD-style license that can be found in the LICENSE file. |
| 26547 |
| 26548 // WARNING: Do not edit - generated code. |
| 26549 |
| 26550 interface SVGURIReference { |
| 26551 |
| 26552 final SVGAnimatedString href; |
| 26553 } |
| 26554 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 26555 // for details. All rights reserved. Use of this source code is governed by a |
| 26556 // BSD-style license that can be found in the LICENSE file. |
| 26557 |
| 26558 // WARNING: Do not edit - generated code. |
| 26559 |
| 26560 interface SVGUnitTypes { |
| 26561 |
| 26562 static final int SVG_UNIT_TYPE_OBJECTBOUNDINGBOX = 2; |
| 26563 |
| 26564 static final int SVG_UNIT_TYPE_UNKNOWN = 0; |
| 26565 |
| 26566 static final int SVG_UNIT_TYPE_USERSPACEONUSE = 1; |
| 26567 } |
| 26568 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 26569 // for details. All rights reserved. Use of this source code is governed by a |
| 26570 // BSD-style license that can be found in the LICENSE file. |
| 26571 |
| 26572 // WARNING: Do not edit - generated code. |
| 26573 |
| 26574 interface SVGUseElement extends SVGElement, SVGURIReference, SVGTests, SVGLangSp
ace, SVGExternalResourcesRequired, SVGStylable, SVGTransformable { |
| 26575 |
| 26576 final SVGElementInstance animatedInstanceRoot; |
| 26577 |
| 26578 final SVGAnimatedLength height; |
| 26579 |
| 26580 final SVGElementInstance instanceRoot; |
| 26581 |
| 26582 final SVGAnimatedLength width; |
| 26583 |
| 26584 final SVGAnimatedLength x; |
| 26585 |
| 26586 final SVGAnimatedLength y; |
| 26587 } |
| 26588 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 26589 // for details. All rights reserved. Use of this source code is governed by a |
| 26590 // BSD-style license that can be found in the LICENSE file. |
| 26591 |
| 26592 // WARNING: Do not edit - generated code. |
| 26593 |
| 26594 interface SVGVKernElement extends SVGElement { |
| 26595 } |
| 26596 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 26597 // for details. All rights reserved. Use of this source code is governed by a |
| 26598 // BSD-style license that can be found in the LICENSE file. |
| 26599 |
| 26600 // WARNING: Do not edit - generated code. |
| 26601 |
| 26602 interface SVGViewElement extends SVGElement, SVGExternalResourcesRequired, SVGFi
tToViewBox, SVGZoomAndPan { |
| 26603 |
| 26604 final SVGStringList viewTarget; |
| 26605 } |
| 26606 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 26607 // for details. All rights reserved. Use of this source code is governed by a |
| 26608 // BSD-style license that can be found in the LICENSE file. |
| 26609 |
| 26610 // WARNING: Do not edit - generated code. |
| 26611 |
| 26612 interface SVGViewSpec extends SVGZoomAndPan, SVGFitToViewBox { |
| 26613 |
| 26614 final String preserveAspectRatioString; |
| 26615 |
| 26616 final SVGTransformList transform; |
| 26617 |
| 26618 final String transformString; |
| 26619 |
| 26620 final String viewBoxString; |
| 26621 |
| 26622 final SVGElement viewTarget; |
| 26623 |
| 26624 final String viewTargetString; |
| 26625 } |
| 26626 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 26627 // for details. All rights reserved. Use of this source code is governed by a |
| 26628 // BSD-style license that can be found in the LICENSE file. |
| 26629 |
| 26630 // WARNING: Do not edit - generated code. |
| 26631 |
| 26632 interface SVGZoomAndPan { |
| 26633 |
| 26634 static final int SVG_ZOOMANDPAN_DISABLE = 1; |
| 26635 |
| 26636 static final int SVG_ZOOMANDPAN_MAGNIFY = 2; |
| 26637 |
| 26638 static final int SVG_ZOOMANDPAN_UNKNOWN = 0; |
| 26639 |
| 26640 int zoomAndPan; |
| 26641 } |
| 26642 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 26643 // for details. All rights reserved. Use of this source code is governed by a |
| 26644 // BSD-style license that can be found in the LICENSE file. |
| 26645 |
| 26646 // WARNING: Do not edit - generated code. |
| 26647 |
| 26648 interface SVGZoomEvent extends UIEvent { |
| 26649 |
| 26650 final num newScale; |
| 26651 |
| 26652 final SVGPoint newTranslate; |
| 26653 |
| 26654 final num previousScale; |
| 26655 |
| 26656 final SVGPoint previousTranslate; |
| 26657 |
| 26658 final SVGRect zoomRectScreen; |
| 26659 } |
| 26660 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 26661 // for details. All rights reserved. Use of this source code is governed by a |
| 26662 // BSD-style license that can be found in the LICENSE file. |
| 26663 |
| 26664 // WARNING: Do not edit - generated code. |
| 26665 |
| 26666 interface Screen { |
| 26667 |
| 26668 final int availHeight; |
| 26669 |
| 26670 final int availLeft; |
| 26671 |
| 26672 final int availTop; |
| 26673 |
| 26674 final int availWidth; |
| 26675 |
| 26676 final int colorDepth; |
| 26677 |
| 26678 final int height; |
| 26679 |
| 26680 final int pixelDepth; |
| 26681 |
| 26682 final int width; |
| 26683 } |
| 26684 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 26685 // for details. All rights reserved. Use of this source code is governed by a |
| 26686 // BSD-style license that can be found in the LICENSE file. |
| 26687 |
| 26688 // WARNING: Do not edit - generated code. |
| 26689 |
| 26690 interface ScriptElement extends Element { |
| 26691 |
| 26692 bool async; |
| 26693 |
| 26694 String charset; |
| 26695 |
| 26696 bool defer; |
| 26697 |
| 26698 String event; |
| 26699 |
| 26700 String htmlFor; |
| 26701 |
| 26702 String src; |
| 26703 |
| 26704 String text; |
| 26705 |
| 26706 String type; |
| 26707 } |
| 26708 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 26709 // for details. All rights reserved. Use of this source code is governed by a |
| 26710 // BSD-style license that can be found in the LICENSE file. |
| 26711 |
| 26712 // WARNING: Do not edit - generated code. |
| 26713 |
| 26714 interface ScriptProfile { |
| 26715 |
| 26716 final ScriptProfileNode head; |
| 26717 |
| 26718 final String title; |
| 26719 |
| 26720 final int uid; |
| 26721 } |
| 26722 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 26723 // for details. All rights reserved. Use of this source code is governed by a |
| 26724 // BSD-style license that can be found in the LICENSE file. |
| 26725 |
| 26726 // WARNING: Do not edit - generated code. |
| 26727 |
| 26728 interface ScriptProfileNode { |
| 26729 |
| 26730 final int callUID; |
| 26731 |
| 26732 final List children; |
| 26733 |
| 26734 final String functionName; |
| 26735 |
| 26736 final int lineNumber; |
| 26737 |
| 26738 final int numberOfCalls; |
| 26739 |
| 26740 final num selfTime; |
| 26741 |
| 26742 final num totalTime; |
| 26743 |
| 26744 final String url; |
| 26745 |
| 26746 final bool visible; |
| 26747 } |
| 26748 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 26749 // for details. All rights reserved. Use of this source code is governed by a |
| 26750 // BSD-style license that can be found in the LICENSE file. |
| 26751 |
| 26752 // WARNING: Do not edit - generated code. |
| 26753 |
| 26754 interface SelectElement extends Element { |
| 26755 |
| 26756 bool autofocus; |
| 26757 |
| 26758 bool disabled; |
| 26759 |
| 26760 final FormElement form; |
| 26761 |
| 26762 final NodeList labels; |
| 26763 |
| 26764 int length; |
| 26765 |
| 26766 bool multiple; |
| 26767 |
| 26768 String name; |
| 26769 |
| 26770 final HTMLOptionsCollection options; |
| 26771 |
| 26772 bool required; |
| 26773 |
| 26774 int selectedIndex; |
| 26775 |
| 26776 int size; |
| 26777 |
| 26778 final String type; |
| 26779 |
| 26780 final String validationMessage; |
| 26781 |
| 26782 final ValidityState validity; |
| 26783 |
| 26784 String value; |
| 26785 |
| 26786 final bool willValidate; |
| 26787 |
| 26788 void add(Element element, Element before); |
| 26789 |
| 26790 bool checkValidity(); |
| 26791 |
| 26792 Node item(int index); |
| 26793 |
| 26794 Node namedItem(String name); |
| 26795 |
| 26796 void setCustomValidity(String error); |
| 26797 } |
| 26798 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 26799 // for details. All rights reserved. Use of this source code is governed by a |
| 26800 // BSD-style license that can be found in the LICENSE file. |
| 26801 |
| 26802 // WARNING: Do not edit - generated code. |
| 26803 |
| 26804 interface ShadowElement extends Element { |
| 26805 } |
| 26806 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 26807 // for details. All rights reserved. Use of this source code is governed by a |
| 26808 // BSD-style license that can be found in the LICENSE file. |
| 26809 |
| 26810 // WARNING: Do not edit - generated code. |
| 26811 |
| 26812 interface ShadowRoot extends DocumentFragment { |
| 26813 |
| 26814 final Element host; |
| 26815 |
| 26816 Element getElementById(String elementId); |
| 26817 |
| 26818 NodeList getElementsByClassName(String className); |
| 26819 |
| 26820 NodeList getElementsByTagName(String tagName); |
| 26821 |
| 26822 NodeList getElementsByTagNameNS(String namespaceURI, String localName); |
| 26823 } |
| 26824 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 26825 // for details. All rights reserved. Use of this source code is governed by a |
| 26826 // BSD-style license that can be found in the LICENSE file. |
| 26827 |
| 26828 // WARNING: Do not edit - generated code. |
| 26829 |
| 26830 interface SharedWorker extends AbstractWorker { |
| 26831 |
| 26832 final MessagePort port; |
| 26833 } |
| 26834 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 26835 // for details. All rights reserved. Use of this source code is governed by a |
| 26836 // BSD-style license that can be found in the LICENSE file. |
| 26837 |
| 26838 // WARNING: Do not edit - generated code. |
| 26839 |
| 26840 interface SharedWorkerContext extends WorkerContext { |
| 26841 |
| 26842 final String name; |
| 26843 |
| 26844 EventListener onconnect; |
| 26845 } |
| 26846 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 26847 // for details. All rights reserved. Use of this source code is governed by a |
| 26848 // BSD-style license that can be found in the LICENSE file. |
| 26849 |
| 26850 // WARNING: Do not edit - generated code. |
| 26851 |
| 26852 typedef bool SignalingCallback(String message, PeerConnection source); |
| 26853 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 26854 // for details. All rights reserved. Use of this source code is governed by a |
| 26855 // BSD-style license that can be found in the LICENSE file. |
| 26856 |
| 26857 // WARNING: Do not edit - generated code. |
| 26858 |
| 26859 interface SourceElement extends Element { |
| 26860 |
| 26861 String media; |
| 26862 |
| 26863 String src; |
| 26864 |
| 26865 String type; |
| 26866 } |
| 26867 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 26868 // for details. All rights reserved. Use of this source code is governed by a |
| 26869 // BSD-style license that can be found in the LICENSE file. |
| 26870 |
| 26871 // WARNING: Do not edit - generated code. |
| 26872 |
| 26873 interface SpanElement extends Element { |
| 26874 } |
| 26875 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 26876 // for details. All rights reserved. Use of this source code is governed by a |
| 26877 // BSD-style license that can be found in the LICENSE file. |
| 26878 |
| 26879 // WARNING: Do not edit - generated code. |
| 26880 |
| 26881 interface SpeechInputEvent extends Event { |
| 26882 |
| 26883 final SpeechInputResultList results; |
| 26884 } |
| 26885 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 26886 // for details. All rights reserved. Use of this source code is governed by a |
| 26887 // BSD-style license that can be found in the LICENSE file. |
| 26888 |
| 26889 // WARNING: Do not edit - generated code. |
| 26890 |
| 26891 interface SpeechInputResult { |
| 26892 |
| 26893 final num confidence; |
| 26894 |
| 26895 final String utterance; |
| 26896 } |
| 26897 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 26898 // for details. All rights reserved. Use of this source code is governed by a |
| 26899 // BSD-style license that can be found in the LICENSE file. |
| 26900 |
| 26901 // WARNING: Do not edit - generated code. |
| 26902 |
| 26903 interface SpeechInputResultList { |
| 26904 |
| 26905 final int length; |
| 26906 |
| 26907 SpeechInputResult item(int index); |
| 26908 } |
| 26909 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 26910 // for details. All rights reserved. Use of this source code is governed by a |
| 26911 // BSD-style license that can be found in the LICENSE file. |
| 26912 |
| 26913 // WARNING: Do not edit - generated code. |
| 26914 |
| 26915 interface Storage { |
| 26916 |
| 26917 final int length; |
| 26918 |
| 26919 void clear(); |
| 26920 |
| 26921 String getItem(String key); |
| 26922 |
| 26923 String key(int index); |
| 26924 |
| 26925 void removeItem(String key); |
| 26926 |
| 26927 void setItem(String key, String data); |
| 26928 } |
| 26929 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 26930 // for details. All rights reserved. Use of this source code is governed by a |
| 26931 // BSD-style license that can be found in the LICENSE file. |
| 26932 |
| 26933 // WARNING: Do not edit - generated code. |
| 26934 |
| 26935 interface StorageEvent extends Event { |
| 26936 |
| 26937 final String key; |
| 26938 |
| 26939 final String newValue; |
| 26940 |
| 26941 final String oldValue; |
| 26942 |
| 26943 final Storage storageArea; |
| 26944 |
| 26945 final String url; |
| 26946 |
| 26947 void initStorageEvent(String typeArg, bool canBubbleArg, bool cancelableArg, S
tring keyArg, String oldValueArg, String newValueArg, String urlArg, Storage sto
rageAreaArg); |
| 26948 } |
| 26949 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 26950 // for details. All rights reserved. Use of this source code is governed by a |
| 26951 // BSD-style license that can be found in the LICENSE file. |
| 26952 |
| 26953 // WARNING: Do not edit - generated code. |
| 26954 |
| 26955 interface StorageInfo { |
| 26956 |
| 26957 static final int PERSISTENT = 1; |
| 26958 |
| 26959 static final int TEMPORARY = 0; |
| 26960 |
| 26961 void queryUsageAndQuota(int storageType, [StorageInfoUsageCallback usageCallba
ck, StorageInfoErrorCallback errorCallback]); |
| 26962 |
| 26963 void requestQuota(int storageType, int newQuotaInBytes, [StorageInfoQuotaCallb
ack quotaCallback, StorageInfoErrorCallback errorCallback]); |
| 26964 } |
| 26965 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 26966 // for details. All rights reserved. Use of this source code is governed by a |
| 26967 // BSD-style license that can be found in the LICENSE file. |
| 26968 |
| 26969 // WARNING: Do not edit - generated code. |
| 26970 |
| 26971 typedef bool StorageInfoErrorCallback(DOMException error); |
| 26972 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 26973 // for details. All rights reserved. Use of this source code is governed by a |
| 26974 // BSD-style license that can be found in the LICENSE file. |
| 26975 |
| 26976 // WARNING: Do not edit - generated code. |
| 26977 |
| 26978 typedef bool StorageInfoQuotaCallback(int grantedQuotaInBytes); |
| 26979 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 26980 // for details. All rights reserved. Use of this source code is governed by a |
| 26981 // BSD-style license that can be found in the LICENSE file. |
| 26982 |
| 26983 // WARNING: Do not edit - generated code. |
| 26984 |
| 26985 typedef bool StorageInfoUsageCallback(int currentUsageInBytes, int currentQuotaI
nBytes); |
| 26986 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 26987 // for details. All rights reserved. Use of this source code is governed by a |
| 26988 // BSD-style license that can be found in the LICENSE file. |
| 26989 |
| 26990 // WARNING: Do not edit - generated code. |
| 26991 |
| 26992 typedef bool StringCallback(String data); |
| 26993 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 26994 // for details. All rights reserved. Use of this source code is governed by a |
| 26995 // BSD-style license that can be found in the LICENSE file. |
| 26996 |
| 26997 // WARNING: Do not edit - generated code. |
| 26998 |
| 26999 interface StyleElement extends Element { |
| 27000 |
| 27001 bool disabled; |
| 27002 |
| 27003 String media; |
| 27004 |
| 27005 final StyleSheet sheet; |
| 27006 |
| 27007 String type; |
| 27008 } |
| 27009 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 27010 // for details. All rights reserved. Use of this source code is governed by a |
| 27011 // BSD-style license that can be found in the LICENSE file. |
| 27012 |
| 27013 // WARNING: Do not edit - generated code. |
| 27014 |
| 27015 interface StyleMedia { |
| 27016 |
| 27017 final String type; |
| 27018 |
| 27019 bool matchMedium(String mediaquery); |
| 27020 } |
| 27021 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 27022 // for details. All rights reserved. Use of this source code is governed by a |
| 27023 // BSD-style license that can be found in the LICENSE file. |
| 27024 |
| 27025 // WARNING: Do not edit - generated code. |
| 27026 |
| 27027 interface StyleSheet { |
| 27028 |
| 27029 bool disabled; |
| 27030 |
| 27031 final String href; |
| 27032 |
| 27033 final MediaList media; |
| 27034 |
| 27035 final Node ownerNode; |
| 27036 |
| 27037 final StyleSheet parentStyleSheet; |
| 27038 |
| 27039 final String title; |
| 27040 |
| 27041 final String type; |
| 27042 } |
| 27043 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 27044 // for details. All rights reserved. Use of this source code is governed by a |
| 27045 // BSD-style license that can be found in the LICENSE file. |
| 27046 |
| 27047 // WARNING: Do not edit - generated code. |
| 27048 |
| 27049 interface StyleSheetList extends List<StyleSheet> { |
| 27050 |
| 27051 final int length; |
| 27052 |
| 27053 StyleSheet item(int index); |
| 27054 } |
| 27055 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 27056 // for details. All rights reserved. Use of this source code is governed by a |
| 27057 // BSD-style license that can be found in the LICENSE file. |
| 27058 |
| 27059 // WARNING: Do not edit - generated code. |
| 27060 |
| 27061 interface TableCaptionElement extends Element { |
| 27062 |
| 27063 String align; |
| 27064 } |
| 27065 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 27066 // for details. All rights reserved. Use of this source code is governed by a |
| 27067 // BSD-style license that can be found in the LICENSE file. |
| 27068 |
| 27069 // WARNING: Do not edit - generated code. |
| 27070 |
| 27071 interface TableCellElement extends Element { |
| 27072 |
| 27073 String abbr; |
| 27074 |
| 27075 String align; |
| 27076 |
| 27077 String axis; |
| 27078 |
| 27079 String bgColor; |
| 27080 |
| 27081 final int cellIndex; |
| 27082 |
| 27083 String ch; |
| 27084 |
| 27085 String chOff; |
| 27086 |
| 27087 int colSpan; |
| 27088 |
| 27089 String headers; |
| 27090 |
| 27091 String height; |
| 27092 |
| 27093 bool noWrap; |
| 27094 |
| 27095 int rowSpan; |
| 27096 |
| 27097 String scope; |
| 27098 |
| 27099 String vAlign; |
| 27100 |
| 27101 String width; |
| 27102 } |
| 27103 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 27104 // for details. All rights reserved. Use of this source code is governed by a |
| 27105 // BSD-style license that can be found in the LICENSE file. |
| 27106 |
| 27107 // WARNING: Do not edit - generated code. |
| 27108 |
| 27109 interface TableColElement extends Element { |
| 27110 |
| 27111 String align; |
| 27112 |
| 27113 String ch; |
| 27114 |
| 27115 String chOff; |
| 27116 |
| 27117 int span; |
| 27118 |
| 27119 String vAlign; |
| 27120 |
| 27121 String width; |
| 27122 } |
| 27123 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 27124 // for details. All rights reserved. Use of this source code is governed by a |
| 27125 // BSD-style license that can be found in the LICENSE file. |
| 27126 |
| 27127 // WARNING: Do not edit - generated code. |
| 27128 |
| 27129 interface TableElement extends Element { |
| 27130 |
| 27131 String align; |
| 27132 |
| 27133 String bgColor; |
| 27134 |
| 27135 String border; |
| 27136 |
| 27137 TableCaptionElement caption; |
| 27138 |
| 27139 String cellPadding; |
| 27140 |
| 27141 String cellSpacing; |
| 27142 |
| 27143 String frame; |
| 27144 |
| 27145 final HTMLCollection rows; |
| 27146 |
| 27147 String rules; |
| 27148 |
| 27149 String summary; |
| 27150 |
| 27151 final HTMLCollection tBodies; |
| 27152 |
| 27153 TableSectionElement tFoot; |
| 27154 |
| 27155 TableSectionElement tHead; |
| 27156 |
| 27157 String width; |
| 27158 |
| 27159 Element createCaption(); |
| 27160 |
| 27161 Element createTFoot(); |
| 27162 |
| 27163 Element createTHead(); |
| 27164 |
| 27165 void deleteCaption(); |
| 27166 |
| 27167 void deleteRow(int index); |
| 27168 |
| 27169 void deleteTFoot(); |
| 27170 |
| 27171 void deleteTHead(); |
| 27172 |
| 27173 Element insertRow(int index); |
| 27174 } |
| 27175 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 27176 // for details. All rights reserved. Use of this source code is governed by a |
| 27177 // BSD-style license that can be found in the LICENSE file. |
| 27178 |
| 27179 // WARNING: Do not edit - generated code. |
| 27180 |
| 27181 interface TableRowElement extends Element { |
| 27182 |
| 27183 String align; |
| 27184 |
| 27185 String bgColor; |
| 27186 |
| 27187 final HTMLCollection cells; |
| 27188 |
| 27189 String ch; |
| 27190 |
| 27191 String chOff; |
| 27192 |
| 27193 final int rowIndex; |
| 27194 |
| 27195 final int sectionRowIndex; |
| 27196 |
| 27197 String vAlign; |
| 27198 |
| 27199 void deleteCell(int index); |
| 27200 |
| 27201 Element insertCell(int index); |
| 27202 } |
| 27203 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 27204 // for details. All rights reserved. Use of this source code is governed by a |
| 27205 // BSD-style license that can be found in the LICENSE file. |
| 27206 |
| 27207 // WARNING: Do not edit - generated code. |
| 27208 |
| 27209 interface TableSectionElement extends Element { |
| 27210 |
| 27211 String align; |
| 27212 |
| 27213 String ch; |
| 27214 |
| 27215 String chOff; |
| 27216 |
| 27217 final HTMLCollection rows; |
| 27218 |
| 27219 String vAlign; |
| 27220 |
| 27221 void deleteRow(int index); |
| 27222 |
| 27223 Element insertRow(int index); |
| 27224 } |
| 27225 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 27226 // for details. All rights reserved. Use of this source code is governed by a |
| 27227 // BSD-style license that can be found in the LICENSE file. |
| 27228 |
| 27229 // WARNING: Do not edit - generated code. |
| 27230 |
| 27231 interface Text extends CharacterData { |
| 27232 |
| 27233 final String wholeText; |
| 27234 |
| 27235 Text replaceWholeText(String content); |
| 27236 |
| 27237 Text splitText(int offset); |
| 27238 } |
| 27239 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 27240 // for details. All rights reserved. Use of this source code is governed by a |
| 27241 // BSD-style license that can be found in the LICENSE file. |
| 27242 |
| 27243 // WARNING: Do not edit - generated code. |
| 27244 |
| 27245 interface TextAreaElement extends Element { |
| 27246 |
| 27247 bool autofocus; |
| 27248 |
| 27249 int cols; |
| 27250 |
| 27251 String defaultValue; |
| 27252 |
| 27253 bool disabled; |
| 27254 |
| 27255 final FormElement form; |
| 27256 |
| 27257 final NodeList labels; |
| 27258 |
| 27259 int maxLength; |
| 27260 |
| 27261 String name; |
| 27262 |
| 27263 String placeholder; |
| 27264 |
| 27265 bool readOnly; |
| 27266 |
| 27267 bool required; |
| 27268 |
| 27269 int rows; |
| 27270 |
| 27271 String selectionDirection; |
| 27272 |
| 27273 int selectionEnd; |
| 27274 |
| 27275 int selectionStart; |
| 27276 |
| 27277 final int textLength; |
| 27278 |
| 27279 final String type; |
| 27280 |
| 27281 final String validationMessage; |
| 27282 |
| 27283 final ValidityState validity; |
| 27284 |
| 27285 String value; |
| 27286 |
| 27287 final bool willValidate; |
| 27288 |
| 27289 String wrap; |
| 27290 |
| 27291 bool checkValidity(); |
| 27292 |
| 27293 void select(); |
| 27294 |
| 27295 void setCustomValidity(String error); |
| 27296 |
| 27297 void setSelectionRange(int start, int end, [String direction]); |
| 27298 } |
| 27299 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 27300 // for details. All rights reserved. Use of this source code is governed by a |
| 27301 // BSD-style license that can be found in the LICENSE file. |
| 27302 |
| 27303 // WARNING: Do not edit - generated code. |
| 27304 |
| 27305 interface TextEvent extends UIEvent { |
| 27306 |
| 27307 final String data; |
| 27308 |
| 27309 void initTextEvent(String typeArg, bool canBubbleArg, bool cancelableArg, Wind
ow viewArg, String dataArg); |
| 27310 } |
| 27311 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 27312 // for details. All rights reserved. Use of this source code is governed by a |
| 27313 // BSD-style license that can be found in the LICENSE file. |
| 27314 |
| 27315 // WARNING: Do not edit - generated code. |
| 27316 |
| 27317 interface TextMetrics { |
| 27318 |
| 27319 final num width; |
| 27320 } |
| 27321 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 27322 // for details. All rights reserved. Use of this source code is governed by a |
| 27323 // BSD-style license that can be found in the LICENSE file. |
| 27324 |
| 27325 // WARNING: Do not edit - generated code. |
| 27326 |
| 27327 interface TextTrack { |
| 27328 |
| 27329 static final int DISABLED = 0; |
| 27330 |
| 27331 static final int HIDDEN = 1; |
| 27332 |
| 27333 static final int SHOWING = 2; |
| 27334 |
| 27335 final TextTrackCueList activeCues; |
| 27336 |
| 27337 final TextTrackCueList cues; |
| 27338 |
| 27339 final String kind; |
| 27340 |
| 27341 final String label; |
| 27342 |
| 27343 final String language; |
| 27344 |
| 27345 int mode; |
| 27346 |
| 27347 EventListener oncuechange; |
| 27348 |
| 27349 void addCue(TextTrackCue cue); |
| 27350 |
| 27351 void addEventListener(String type, EventListener listener, [bool useCapture]); |
| 27352 |
| 27353 bool dispatchEvent(Event evt); |
| 27354 |
| 27355 void removeCue(TextTrackCue cue); |
| 27356 |
| 27357 void removeEventListener(String type, EventListener listener, [bool useCapture
]); |
| 27358 } |
| 27359 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 27360 // for details. All rights reserved. Use of this source code is governed by a |
| 27361 // BSD-style license that can be found in the LICENSE file. |
| 27362 |
| 27363 // WARNING: Do not edit - generated code. |
| 27364 |
| 27365 interface TextTrackCue { |
| 27366 |
| 27367 String alignment; |
| 27368 |
| 27369 String direction; |
| 27370 |
| 27371 num endTime; |
| 27372 |
| 27373 String id; |
| 27374 |
| 27375 int linePosition; |
| 27376 |
| 27377 EventListener onenter; |
| 27378 |
| 27379 EventListener onexit; |
| 27380 |
| 27381 bool pauseOnExit; |
| 27382 |
| 27383 int size; |
| 27384 |
| 27385 bool snapToLines; |
| 27386 |
| 27387 num startTime; |
| 27388 |
| 27389 String text; |
| 27390 |
| 27391 int textPosition; |
| 27392 |
| 27393 final TextTrack track; |
| 27394 |
| 27395 void addEventListener(String type, EventListener listener, [bool useCapture]); |
| 27396 |
| 27397 bool dispatchEvent(Event evt); |
| 27398 |
| 27399 DocumentFragment getCueAsHTML(); |
| 27400 |
| 27401 void removeEventListener(String type, EventListener listener, [bool useCapture
]); |
| 27402 } |
| 27403 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 27404 // for details. All rights reserved. Use of this source code is governed by a |
| 27405 // BSD-style license that can be found in the LICENSE file. |
| 27406 |
| 27407 // WARNING: Do not edit - generated code. |
| 27408 |
| 27409 interface TextTrackCueList { |
| 27410 |
| 27411 final int length; |
| 27412 |
| 27413 TextTrackCue getCueById(String id); |
| 27414 |
| 27415 TextTrackCue item(int index); |
| 27416 } |
| 27417 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 27418 // for details. All rights reserved. Use of this source code is governed by a |
| 27419 // BSD-style license that can be found in the LICENSE file. |
| 27420 |
| 27421 // WARNING: Do not edit - generated code. |
| 27422 |
| 27423 interface TextTrackList { |
| 27424 |
| 27425 final int length; |
| 27426 |
| 27427 EventListener onaddtrack; |
| 27428 |
| 27429 void addEventListener(String type, EventListener listener, [bool useCapture]); |
| 27430 |
| 27431 bool dispatchEvent(Event evt); |
| 27432 |
| 27433 TextTrack item(int index); |
| 27434 |
| 27435 void removeEventListener(String type, EventListener listener, [bool useCapture
]); |
| 27436 } |
| 27437 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 27438 // for details. All rights reserved. Use of this source code is governed by a |
| 27439 // BSD-style license that can be found in the LICENSE file. |
| 27440 |
| 27441 // WARNING: Do not edit - generated code. |
| 27442 |
| 27443 interface TimeRanges { |
| 27444 |
| 27445 final int length; |
| 27446 |
| 27447 num end(int index); |
| 27448 |
| 27449 num start(int index); |
| 27450 } |
| 27451 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 27452 // for details. All rights reserved. Use of this source code is governed by a |
| 27453 // BSD-style license that can be found in the LICENSE file. |
| 27454 |
| 27455 // WARNING: Do not edit - generated code. |
| 27456 |
| 27457 interface TitleElement extends Element { |
| 27458 |
| 27459 String text; |
| 27460 } |
| 27461 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 27462 // for details. All rights reserved. Use of this source code is governed by a |
| 27463 // BSD-style license that can be found in the LICENSE file. |
| 27464 |
| 27465 // WARNING: Do not edit - generated code. |
| 27466 |
| 27467 interface Touch { |
| 27468 |
| 27469 final int clientX; |
| 27470 |
| 27471 final int clientY; |
| 27472 |
| 27473 final int identifier; |
| 27474 |
| 27475 final int pageX; |
| 27476 |
| 27477 final int pageY; |
| 27478 |
| 27479 final int screenX; |
| 27480 |
| 27481 final int screenY; |
| 27482 |
| 27483 final EventTarget target; |
| 27484 |
| 27485 final num webkitForce; |
| 27486 |
| 27487 final int webkitRadiusX; |
| 27488 |
| 27489 final int webkitRadiusY; |
| 27490 |
| 27491 final num webkitRotationAngle; |
| 27492 } |
| 27493 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 27494 // for details. All rights reserved. Use of this source code is governed by a |
| 27495 // BSD-style license that can be found in the LICENSE file. |
| 27496 |
| 27497 // WARNING: Do not edit - generated code. |
| 27498 |
| 27499 interface TouchEvent extends UIEvent { |
| 27500 |
| 27501 final bool altKey; |
| 27502 |
| 27503 final TouchList changedTouches; |
| 27504 |
| 27505 final bool ctrlKey; |
| 27506 |
| 27507 final bool metaKey; |
| 27508 |
| 27509 final bool shiftKey; |
| 27510 |
| 27511 final TouchList targetTouches; |
| 27512 |
| 27513 final TouchList touches; |
| 27514 |
| 27515 void initTouchEvent(TouchList touches, TouchList targetTouches, TouchList chan
gedTouches, String type, Window view, int screenX, int screenY, int clientX, int
clientY, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey); |
| 27516 } |
| 27517 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 27518 // for details. All rights reserved. Use of this source code is governed by a |
| 27519 // BSD-style license that can be found in the LICENSE file. |
| 27520 |
| 27521 // WARNING: Do not edit - generated code. |
| 27522 |
| 27523 interface TouchList extends List<Touch> { |
| 27524 |
| 27525 final int length; |
| 27526 |
| 27527 Touch item(int index); |
| 27528 } |
| 27529 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 27530 // for details. All rights reserved. Use of this source code is governed by a |
| 27531 // BSD-style license that can be found in the LICENSE file. |
| 27532 |
| 27533 // WARNING: Do not edit - generated code. |
| 27534 |
| 27535 interface TrackElement extends Element { |
| 27536 |
| 27537 static final int ERROR = 3; |
| 27538 |
| 27539 static final int LOADED = 2; |
| 27540 |
| 27541 static final int LOADING = 1; |
| 27542 |
| 27543 static final int NONE = 0; |
| 27544 |
| 27545 bool isDefault; |
| 27546 |
| 27547 String kind; |
| 27548 |
| 27549 String label; |
| 27550 |
| 27551 final int readyState; |
| 27552 |
| 27553 String src; |
| 27554 |
| 27555 String srclang; |
| 27556 |
| 27557 final TextTrack track; |
| 27558 } |
| 27559 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 27560 // for details. All rights reserved. Use of this source code is governed by a |
| 27561 // BSD-style license that can be found in the LICENSE file. |
| 27562 |
| 27563 // WARNING: Do not edit - generated code. |
| 27564 |
| 27565 interface TrackEvent extends Event { |
| 27566 |
| 27567 final Object track; |
| 27568 } |
| 27569 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 27570 // for details. All rights reserved. Use of this source code is governed by a |
| 27571 // BSD-style license that can be found in the LICENSE file. |
| 27572 |
| 27573 // WARNING: Do not edit - generated code. |
| 27574 |
| 27575 interface TransitionEvent extends Event { |
| 27576 |
| 27577 final num elapsedTime; |
| 27578 |
| 27579 final String propertyName; |
| 27580 } |
| 27581 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 27582 // for details. All rights reserved. Use of this source code is governed by a |
| 27583 // BSD-style license that can be found in the LICENSE file. |
| 27584 |
| 27585 // WARNING: Do not edit - generated code. |
| 27586 |
| 27587 interface TreeWalker { |
| 27588 |
| 27589 Node currentNode; |
| 27590 |
| 27591 final bool expandEntityReferences; |
| 27592 |
| 27593 final NodeFilter filter; |
| 27594 |
| 27595 final Node root; |
| 27596 |
| 27597 final int whatToShow; |
| 27598 |
| 27599 Node firstChild(); |
| 27600 |
| 27601 Node lastChild(); |
| 27602 |
| 27603 Node nextNode(); |
| 27604 |
| 27605 Node nextSibling(); |
| 27606 |
| 27607 Node parentNode(); |
| 27608 |
| 27609 Node previousNode(); |
| 27610 |
| 27611 Node previousSibling(); |
| 27612 } |
| 27613 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 27614 // for details. All rights reserved. Use of this source code is governed by a |
| 27615 // BSD-style license that can be found in the LICENSE file. |
| 27616 |
| 27617 // WARNING: Do not edit - generated code. |
| 27618 |
| 27619 interface UIEvent extends Event { |
| 27620 |
| 27621 final int charCode; |
| 27622 |
| 27623 final int detail; |
| 27624 |
| 27625 final int keyCode; |
| 27626 |
| 27627 final int layerX; |
| 27628 |
| 27629 final int layerY; |
| 27630 |
| 27631 final int pageX; |
| 27632 |
| 27633 final int pageY; |
| 27634 |
| 27635 final Window view; |
| 27636 |
| 27637 final int which; |
| 27638 |
| 27639 void initUIEvent(String type, bool canBubble, bool cancelable, Window view, in
t detail); |
| 27640 } |
| 27641 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 27642 // for details. All rights reserved. Use of this source code is governed by a |
| 27643 // BSD-style license that can be found in the LICENSE file. |
| 27644 |
| 27645 // WARNING: Do not edit - generated code. |
| 27646 |
| 27647 interface UListElement extends Element { |
| 27648 |
| 27649 bool compact; |
| 27650 |
| 27651 String type; |
| 27652 } |
| 27653 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 27654 // for details. All rights reserved. Use of this source code is governed by a |
| 27655 // BSD-style license that can be found in the LICENSE file. |
| 27656 |
| 27657 // WARNING: Do not edit - generated code. |
| 27658 |
| 27659 interface Uint16Array extends ArrayBufferView, List<int> default _TypedArrayFact
oryProvider { |
| 27660 |
| 27661 Uint16Array(int length); |
| 27662 |
| 27663 Uint16Array.fromList(List<int> list); |
| 27664 |
| 27665 Uint16Array.fromBuffer(ArrayBuffer buffer); |
| 27666 |
| 27667 static final int BYTES_PER_ELEMENT = 2; |
| 27668 |
| 27669 final int length; |
| 27670 |
| 27671 void setElements(Object array, [int offset]); |
| 27672 |
| 27673 Uint16Array subarray(int start, [int end]); |
| 27674 } |
| 27675 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 27676 // for details. All rights reserved. Use of this source code is governed by a |
| 27677 // BSD-style license that can be found in the LICENSE file. |
| 27678 |
| 27679 // WARNING: Do not edit - generated code. |
| 27680 |
| 27681 interface Uint32Array extends ArrayBufferView, List<int> default _TypedArrayFact
oryProvider { |
| 27682 |
| 27683 Uint32Array(int length); |
| 27684 |
| 27685 Uint32Array.fromList(List<int> list); |
| 27686 |
| 27687 Uint32Array.fromBuffer(ArrayBuffer buffer); |
| 27688 |
| 27689 static final int BYTES_PER_ELEMENT = 4; |
| 27690 |
| 27691 final int length; |
| 27692 |
| 27693 void setElements(Object array, [int offset]); |
| 27694 |
| 27695 Uint32Array subarray(int start, [int end]); |
| 27696 } |
| 27697 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 27698 // for details. All rights reserved. Use of this source code is governed by a |
| 27699 // BSD-style license that can be found in the LICENSE file. |
| 27700 |
| 27701 // WARNING: Do not edit - generated code. |
| 27702 |
| 27703 interface Uint8Array extends ArrayBufferView, List<int> default _TypedArrayFacto
ryProvider { |
| 27704 |
| 27705 Uint8Array(int length); |
| 27706 |
| 27707 Uint8Array.fromList(List<int> list); |
| 27708 |
| 27709 Uint8Array.fromBuffer(ArrayBuffer buffer); |
| 27710 |
| 27711 static final int BYTES_PER_ELEMENT = 1; |
| 27712 |
| 27713 final int length; |
| 27714 |
| 27715 void setElements(Object array, [int offset]); |
| 27716 |
| 27717 Uint8Array subarray(int start, [int end]); |
| 27718 } |
| 27719 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 27720 // for details. All rights reserved. Use of this source code is governed by a |
| 27721 // BSD-style license that can be found in the LICENSE file. |
| 27722 |
| 27723 // WARNING: Do not edit - generated code. |
| 27724 |
| 27725 interface Uint8ClampedArray extends Uint8Array default _TypedArrayFactoryProvide
r { |
| 27726 |
| 27727 Uint8ClampedArray(int length); |
| 27728 |
| 27729 Uint8ClampedArray.fromList(List<int> list); |
| 27730 |
| 27731 Uint8ClampedArray.fromBuffer(ArrayBuffer buffer); |
| 27732 |
| 27733 final int length; |
| 27734 |
| 27735 Uint8ClampedArray subarray(int start, [int end]); |
| 27736 } |
| 27737 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 27738 // for details. All rights reserved. Use of this source code is governed by a |
| 27739 // BSD-style license that can be found in the LICENSE file. |
| 27740 |
| 27741 // WARNING: Do not edit - generated code. |
| 27742 |
| 27743 interface UnknownElement extends Element { |
| 27744 } |
| 27745 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 27746 // for details. All rights reserved. Use of this source code is governed by a |
| 27747 // BSD-style license that can be found in the LICENSE file. |
| 27748 |
| 27749 // WARNING: Do not edit - generated code. |
| 27750 |
| 27751 interface ValidityState { |
| 27752 |
| 27753 final bool customError; |
| 27754 |
| 27755 final bool patternMismatch; |
| 27756 |
| 27757 final bool rangeOverflow; |
| 27758 |
| 27759 final bool rangeUnderflow; |
| 27760 |
| 27761 final bool stepMismatch; |
| 27762 |
| 27763 final bool tooLong; |
| 27764 |
| 27765 final bool typeMismatch; |
| 27766 |
| 27767 final bool valid; |
| 27768 |
| 27769 final bool valueMissing; |
| 27770 } |
| 27771 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 27772 // for details. All rights reserved. Use of this source code is governed by a |
| 27773 // BSD-style license that can be found in the LICENSE file. |
| 27774 |
| 27775 // WARNING: Do not edit - generated code. |
| 27776 |
| 27777 interface VideoElement extends MediaElement { |
| 27778 |
| 27779 int height; |
| 27780 |
| 27781 String poster; |
| 27782 |
| 27783 final int videoHeight; |
| 27784 |
| 27785 final int videoWidth; |
| 27786 |
| 27787 final int webkitDecodedFrameCount; |
| 27788 |
| 27789 final bool webkitDisplayingFullscreen; |
| 27790 |
| 27791 final int webkitDroppedFrameCount; |
| 27792 |
| 27793 final bool webkitSupportsFullscreen; |
| 27794 |
| 27795 int width; |
| 27796 |
| 27797 void webkitEnterFullScreen(); |
| 27798 |
| 27799 void webkitEnterFullscreen(); |
| 27800 |
| 27801 void webkitExitFullScreen(); |
| 27802 |
| 27803 void webkitExitFullscreen(); |
| 27804 } |
| 27805 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 27806 // for details. All rights reserved. Use of this source code is governed by a |
| 27807 // BSD-style license that can be found in the LICENSE file. |
| 27808 |
| 27809 // WARNING: Do not edit - generated code. |
| 27810 |
| 27811 typedef void VoidCallback(); |
| 27812 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 27813 // for details. All rights reserved. Use of this source code is governed by a |
| 27814 // BSD-style license that can be found in the LICENSE file. |
| 27815 |
| 27816 // WARNING: Do not edit - generated code. |
| 27817 |
| 27818 interface WaveShaperNode extends AudioNode { |
| 27819 |
| 27820 Float32Array curve; |
| 27821 } |
| 27822 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 27823 // for details. All rights reserved. Use of this source code is governed by a |
| 27824 // BSD-style license that can be found in the LICENSE file. |
| 27825 |
| 27826 // WARNING: Do not edit - generated code. |
| 27827 |
| 27828 interface WebGLActiveInfo { |
| 27829 |
| 27830 final String name; |
| 27831 |
| 27832 final int size; |
| 27833 |
| 27834 final int type; |
| 27835 } |
| 27836 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 27837 // for details. All rights reserved. Use of this source code is governed by a |
| 27838 // BSD-style license that can be found in the LICENSE file. |
| 27839 |
| 27840 // WARNING: Do not edit - generated code. |
| 27841 |
| 27842 interface WebGLBuffer { |
| 27843 } |
| 27844 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 27845 // for details. All rights reserved. Use of this source code is governed by a |
| 27846 // BSD-style license that can be found in the LICENSE file. |
| 27847 |
| 27848 // WARNING: Do not edit - generated code. |
| 27849 |
| 27850 interface WebGLCompressedTextureS3TC { |
| 27851 |
| 27852 static final int COMPRESSED_RGBA_S3TC_DXT1_EXT = 0x83F1; |
| 27853 |
| 27854 static final int COMPRESSED_RGBA_S3TC_DXT3_EXT = 0x83F2; |
| 27855 |
| 27856 static final int COMPRESSED_RGBA_S3TC_DXT5_EXT = 0x83F3; |
| 27857 |
| 27858 static final int COMPRESSED_RGB_S3TC_DXT1_EXT = 0x83F0; |
| 27859 } |
| 27860 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 27861 // for details. All rights reserved. Use of this source code is governed by a |
| 27862 // BSD-style license that can be found in the LICENSE file. |
| 27863 |
| 27864 // WARNING: Do not edit - generated code. |
| 27865 |
| 27866 interface WebGLContextAttributes { |
| 27867 |
| 27868 bool alpha; |
| 27869 |
| 27870 bool antialias; |
| 27871 |
| 27872 bool depth; |
| 27873 |
| 27874 bool premultipliedAlpha; |
| 27875 |
| 27876 bool preserveDrawingBuffer; |
| 27877 |
| 27878 bool stencil; |
| 27879 } |
| 27880 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 27881 // for details. All rights reserved. Use of this source code is governed by a |
| 27882 // BSD-style license that can be found in the LICENSE file. |
| 27883 |
| 27884 // WARNING: Do not edit - generated code. |
| 27885 |
| 27886 interface WebGLContextEvent extends Event { |
| 27887 |
| 27888 final String statusMessage; |
| 27889 } |
| 27890 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 27891 // for details. All rights reserved. Use of this source code is governed by a |
| 27892 // BSD-style license that can be found in the LICENSE file. |
| 27893 |
| 27894 // WARNING: Do not edit - generated code. |
| 27895 |
| 27896 interface WebGLDebugRendererInfo { |
| 27897 |
| 27898 static final int UNMASKED_RENDERER_WEBGL = 0x9246; |
| 27899 |
| 27900 static final int UNMASKED_VENDOR_WEBGL = 0x9245; |
| 27901 } |
| 27902 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 27903 // for details. All rights reserved. Use of this source code is governed by a |
| 27904 // BSD-style license that can be found in the LICENSE file. |
| 27905 |
| 27906 // WARNING: Do not edit - generated code. |
| 27907 |
| 27908 interface WebGLDebugShaders { |
| 27909 |
| 27910 String getTranslatedShaderSource(WebGLShader shader); |
| 27911 } |
| 27912 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 27913 // for details. All rights reserved. Use of this source code is governed by a |
| 27914 // BSD-style license that can be found in the LICENSE file. |
| 27915 |
| 27916 // WARNING: Do not edit - generated code. |
| 27917 |
| 27918 interface WebGLFramebuffer { |
| 27919 } |
| 27920 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 27921 // for details. All rights reserved. Use of this source code is governed by a |
| 27922 // BSD-style license that can be found in the LICENSE file. |
| 27923 |
| 27924 // WARNING: Do not edit - generated code. |
| 27925 |
| 27926 interface WebGLLoseContext { |
| 27927 |
| 27928 void loseContext(); |
| 27929 |
| 27930 void restoreContext(); |
| 27931 } |
| 27932 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 27933 // for details. All rights reserved. Use of this source code is governed by a |
| 27934 // BSD-style license that can be found in the LICENSE file. |
| 27935 |
| 27936 // WARNING: Do not edit - generated code. |
| 27937 |
| 27938 interface WebGLProgram { |
| 27939 } |
| 27940 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 27941 // for details. All rights reserved. Use of this source code is governed by a |
| 27942 // BSD-style license that can be found in the LICENSE file. |
| 27943 |
| 27944 // WARNING: Do not edit - generated code. |
| 27945 |
| 27946 interface WebGLRenderbuffer { |
| 27947 } |
| 27948 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 27949 // for details. All rights reserved. Use of this source code is governed by a |
| 27950 // BSD-style license that can be found in the LICENSE file. |
| 27951 |
| 27952 // WARNING: Do not edit - generated code. |
| 27953 |
| 27954 interface WebGLRenderingContext extends CanvasRenderingContext { |
| 27955 |
| 27956 static final int ACTIVE_ATTRIBUTES = 0x8B89; |
| 27957 |
| 27958 static final int ACTIVE_TEXTURE = 0x84E0; |
| 27959 |
| 27960 static final int ACTIVE_UNIFORMS = 0x8B86; |
| 27961 |
| 27962 static final int ALIASED_LINE_WIDTH_RANGE = 0x846E; |
| 27963 |
| 27964 static final int ALIASED_POINT_SIZE_RANGE = 0x846D; |
| 27965 |
| 27966 static final int ALPHA = 0x1906; |
| 27967 |
| 27968 static final int ALPHA_BITS = 0x0D55; |
| 27969 |
| 27970 static final int ALWAYS = 0x0207; |
| 27971 |
| 27972 static final int ARRAY_BUFFER = 0x8892; |
| 27973 |
| 27974 static final int ARRAY_BUFFER_BINDING = 0x8894; |
| 27975 |
| 27976 static final int ATTACHED_SHADERS = 0x8B85; |
| 27977 |
| 27978 static final int BACK = 0x0405; |
| 27979 |
| 27980 static final int BLEND = 0x0BE2; |
| 27981 |
| 27982 static final int BLEND_COLOR = 0x8005; |
| 27983 |
| 27984 static final int BLEND_DST_ALPHA = 0x80CA; |
| 27985 |
| 27986 static final int BLEND_DST_RGB = 0x80C8; |
| 27987 |
| 27988 static final int BLEND_EQUATION = 0x8009; |
| 27989 |
| 27990 static final int BLEND_EQUATION_ALPHA = 0x883D; |
| 27991 |
| 27992 static final int BLEND_EQUATION_RGB = 0x8009; |
| 27993 |
| 27994 static final int BLEND_SRC_ALPHA = 0x80CB; |
| 27995 |
| 27996 static final int BLEND_SRC_RGB = 0x80C9; |
| 27997 |
| 27998 static final int BLUE_BITS = 0x0D54; |
| 27999 |
| 28000 static final int BOOL = 0x8B56; |
| 28001 |
| 28002 static final int BOOL_VEC2 = 0x8B57; |
| 28003 |
| 28004 static final int BOOL_VEC3 = 0x8B58; |
| 28005 |
| 28006 static final int BOOL_VEC4 = 0x8B59; |
| 28007 |
| 28008 static final int BROWSER_DEFAULT_WEBGL = 0x9244; |
| 28009 |
| 28010 static final int BUFFER_SIZE = 0x8764; |
| 28011 |
| 28012 static final int BUFFER_USAGE = 0x8765; |
| 28013 |
| 28014 static final int BYTE = 0x1400; |
| 28015 |
| 28016 static final int CCW = 0x0901; |
| 28017 |
| 28018 static final int CLAMP_TO_EDGE = 0x812F; |
| 28019 |
| 28020 static final int COLOR_ATTACHMENT0 = 0x8CE0; |
| 28021 |
| 28022 static final int COLOR_BUFFER_BIT = 0x00004000; |
| 28023 |
| 28024 static final int COLOR_CLEAR_VALUE = 0x0C22; |
| 28025 |
| 28026 static final int COLOR_WRITEMASK = 0x0C23; |
| 28027 |
| 28028 static final int COMPILE_STATUS = 0x8B81; |
| 28029 |
| 28030 static final int COMPRESSED_TEXTURE_FORMATS = 0x86A3; |
| 28031 |
| 28032 static final int CONSTANT_ALPHA = 0x8003; |
| 28033 |
| 28034 static final int CONSTANT_COLOR = 0x8001; |
| 28035 |
| 28036 static final int CONTEXT_LOST_WEBGL = 0x9242; |
| 28037 |
| 28038 static final int CULL_FACE = 0x0B44; |
| 28039 |
| 28040 static final int CULL_FACE_MODE = 0x0B45; |
| 28041 |
| 28042 static final int CURRENT_PROGRAM = 0x8B8D; |
| 28043 |
| 28044 static final int CURRENT_VERTEX_ATTRIB = 0x8626; |
| 28045 |
| 28046 static final int CW = 0x0900; |
| 28047 |
| 28048 static final int DECR = 0x1E03; |
| 28049 |
| 28050 static final int DECR_WRAP = 0x8508; |
| 28051 |
| 28052 static final int DELETE_STATUS = 0x8B80; |
| 28053 |
| 28054 static final int DEPTH_ATTACHMENT = 0x8D00; |
| 28055 |
| 28056 static final int DEPTH_BITS = 0x0D56; |
| 28057 |
| 28058 static final int DEPTH_BUFFER_BIT = 0x00000100; |
| 28059 |
| 28060 static final int DEPTH_CLEAR_VALUE = 0x0B73; |
| 28061 |
| 28062 static final int DEPTH_COMPONENT = 0x1902; |
| 28063 |
| 28064 static final int DEPTH_COMPONENT16 = 0x81A5; |
| 28065 |
| 28066 static final int DEPTH_FUNC = 0x0B74; |
| 28067 |
| 28068 static final int DEPTH_RANGE = 0x0B70; |
| 28069 |
| 28070 static final int DEPTH_STENCIL = 0x84F9; |
| 28071 |
| 28072 static final int DEPTH_STENCIL_ATTACHMENT = 0x821A; |
| 28073 |
| 28074 static final int DEPTH_TEST = 0x0B71; |
| 28075 |
| 28076 static final int DEPTH_WRITEMASK = 0x0B72; |
| 28077 |
| 28078 static final int DITHER = 0x0BD0; |
| 28079 |
| 28080 static final int DONT_CARE = 0x1100; |
| 28081 |
| 28082 static final int DST_ALPHA = 0x0304; |
| 28083 |
| 28084 static final int DST_COLOR = 0x0306; |
| 28085 |
| 28086 static final int DYNAMIC_DRAW = 0x88E8; |
| 28087 |
| 28088 static final int ELEMENT_ARRAY_BUFFER = 0x8893; |
| 28089 |
| 28090 static final int ELEMENT_ARRAY_BUFFER_BINDING = 0x8895; |
| 28091 |
| 28092 static final int EQUAL = 0x0202; |
| 28093 |
| 28094 static final int FASTEST = 0x1101; |
| 28095 |
| 28096 static final int FLOAT = 0x1406; |
| 28097 |
| 28098 static final int FLOAT_MAT2 = 0x8B5A; |
| 28099 |
| 28100 static final int FLOAT_MAT3 = 0x8B5B; |
| 28101 |
| 28102 static final int FLOAT_MAT4 = 0x8B5C; |
| 28103 |
| 28104 static final int FLOAT_VEC2 = 0x8B50; |
| 28105 |
| 28106 static final int FLOAT_VEC3 = 0x8B51; |
| 28107 |
| 28108 static final int FLOAT_VEC4 = 0x8B52; |
| 28109 |
| 28110 static final int FRAGMENT_SHADER = 0x8B30; |
| 28111 |
| 28112 static final int FRAMEBUFFER = 0x8D40; |
| 28113 |
| 28114 static final int FRAMEBUFFER_ATTACHMENT_OBJECT_NAME = 0x8CD1; |
| 28115 |
| 28116 static final int FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE = 0x8CD0; |
| 28117 |
| 28118 static final int FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE = 0x8CD3; |
| 28119 |
| 28120 static final int FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL = 0x8CD2; |
| 28121 |
| 28122 static final int FRAMEBUFFER_BINDING = 0x8CA6; |
| 28123 |
| 28124 static final int FRAMEBUFFER_COMPLETE = 0x8CD5; |
| 28125 |
| 28126 static final int FRAMEBUFFER_INCOMPLETE_ATTACHMENT = 0x8CD6; |
| 28127 |
| 28128 static final int FRAMEBUFFER_INCOMPLETE_DIMENSIONS = 0x8CD9; |
| 28129 |
| 28130 static final int FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT = 0x8CD7; |
| 28131 |
| 28132 static final int FRAMEBUFFER_UNSUPPORTED = 0x8CDD; |
| 28133 |
| 28134 static final int FRONT = 0x0404; |
| 28135 |
| 28136 static final int FRONT_AND_BACK = 0x0408; |
| 28137 |
| 28138 static final int FRONT_FACE = 0x0B46; |
| 28139 |
| 28140 static final int FUNC_ADD = 0x8006; |
| 28141 |
| 28142 static final int FUNC_REVERSE_SUBTRACT = 0x800B; |
| 28143 |
| 28144 static final int FUNC_SUBTRACT = 0x800A; |
| 28145 |
| 28146 static final int GENERATE_MIPMAP_HINT = 0x8192; |
| 28147 |
| 28148 static final int GEQUAL = 0x0206; |
| 28149 |
| 28150 static final int GREATER = 0x0204; |
| 28151 |
| 28152 static final int GREEN_BITS = 0x0D53; |
| 28153 |
| 28154 static final int HIGH_FLOAT = 0x8DF2; |
| 28155 |
| 28156 static final int HIGH_INT = 0x8DF5; |
| 28157 |
| 28158 static final int INCR = 0x1E02; |
| 28159 |
| 28160 static final int INCR_WRAP = 0x8507; |
| 28161 |
| 28162 static final int INT = 0x1404; |
| 28163 |
| 28164 static final int INT_VEC2 = 0x8B53; |
| 28165 |
| 28166 static final int INT_VEC3 = 0x8B54; |
| 28167 |
| 28168 static final int INT_VEC4 = 0x8B55; |
| 28169 |
| 28170 static final int INVALID_ENUM = 0x0500; |
| 28171 |
| 28172 static final int INVALID_FRAMEBUFFER_OPERATION = 0x0506; |
| 28173 |
| 28174 static final int INVALID_OPERATION = 0x0502; |
| 28175 |
| 28176 static final int INVALID_VALUE = 0x0501; |
| 28177 |
| 28178 static final int INVERT = 0x150A; |
| 28179 |
| 28180 static final int KEEP = 0x1E00; |
| 28181 |
| 28182 static final int LEQUAL = 0x0203; |
| 28183 |
| 28184 static final int LESS = 0x0201; |
| 28185 |
| 28186 static final int LINEAR = 0x2601; |
| 28187 |
| 28188 static final int LINEAR_MIPMAP_LINEAR = 0x2703; |
| 28189 |
| 28190 static final int LINEAR_MIPMAP_NEAREST = 0x2701; |
| 28191 |
| 28192 static final int LINES = 0x0001; |
| 28193 |
| 28194 static final int LINE_LOOP = 0x0002; |
| 28195 |
| 28196 static final int LINE_STRIP = 0x0003; |
| 28197 |
| 28198 static final int LINE_WIDTH = 0x0B21; |
| 28199 |
| 28200 static final int LINK_STATUS = 0x8B82; |
| 28201 |
| 28202 static final int LOW_FLOAT = 0x8DF0; |
| 28203 |
| 28204 static final int LOW_INT = 0x8DF3; |
| 28205 |
| 28206 static final int LUMINANCE = 0x1909; |
| 28207 |
| 28208 static final int LUMINANCE_ALPHA = 0x190A; |
| 28209 |
| 28210 static final int MAX_COMBINED_TEXTURE_IMAGE_UNITS = 0x8B4D; |
| 28211 |
| 28212 static final int MAX_CUBE_MAP_TEXTURE_SIZE = 0x851C; |
| 28213 |
| 28214 static final int MAX_FRAGMENT_UNIFORM_VECTORS = 0x8DFD; |
| 28215 |
| 28216 static final int MAX_RENDERBUFFER_SIZE = 0x84E8; |
| 28217 |
| 28218 static final int MAX_TEXTURE_IMAGE_UNITS = 0x8872; |
| 28219 |
| 28220 static final int MAX_TEXTURE_SIZE = 0x0D33; |
| 28221 |
| 28222 static final int MAX_VARYING_VECTORS = 0x8DFC; |
| 28223 |
| 28224 static final int MAX_VERTEX_ATTRIBS = 0x8869; |
| 28225 |
| 28226 static final int MAX_VERTEX_TEXTURE_IMAGE_UNITS = 0x8B4C; |
| 28227 |
| 28228 static final int MAX_VERTEX_UNIFORM_VECTORS = 0x8DFB; |
| 28229 |
| 28230 static final int MAX_VIEWPORT_DIMS = 0x0D3A; |
| 28231 |
| 28232 static final int MEDIUM_FLOAT = 0x8DF1; |
| 28233 |
| 28234 static final int MEDIUM_INT = 0x8DF4; |
| 28235 |
| 28236 static final int MIRRORED_REPEAT = 0x8370; |
| 28237 |
| 28238 static final int NEAREST = 0x2600; |
| 28239 |
| 28240 static final int NEAREST_MIPMAP_LINEAR = 0x2702; |
| 28241 |
| 28242 static final int NEAREST_MIPMAP_NEAREST = 0x2700; |
| 28243 |
| 28244 static final int NEVER = 0x0200; |
| 28245 |
| 28246 static final int NICEST = 0x1102; |
| 28247 |
| 28248 static final int NONE = 0; |
| 28249 |
| 28250 static final int NOTEQUAL = 0x0205; |
| 28251 |
| 28252 static final int NO_ERROR = 0; |
| 28253 |
| 28254 static final int ONE = 1; |
| 28255 |
| 28256 static final int ONE_MINUS_CONSTANT_ALPHA = 0x8004; |
| 28257 |
| 28258 static final int ONE_MINUS_CONSTANT_COLOR = 0x8002; |
| 28259 |
| 28260 static final int ONE_MINUS_DST_ALPHA = 0x0305; |
| 28261 |
| 28262 static final int ONE_MINUS_DST_COLOR = 0x0307; |
| 28263 |
| 28264 static final int ONE_MINUS_SRC_ALPHA = 0x0303; |
| 28265 |
| 28266 static final int ONE_MINUS_SRC_COLOR = 0x0301; |
| 28267 |
| 28268 static final int OUT_OF_MEMORY = 0x0505; |
| 28269 |
| 28270 static final int PACK_ALIGNMENT = 0x0D05; |
| 28271 |
| 28272 static final int POINTS = 0x0000; |
| 28273 |
| 28274 static final int POLYGON_OFFSET_FACTOR = 0x8038; |
| 28275 |
| 28276 static final int POLYGON_OFFSET_FILL = 0x8037; |
| 28277 |
| 28278 static final int POLYGON_OFFSET_UNITS = 0x2A00; |
| 28279 |
| 28280 static final int RED_BITS = 0x0D52; |
| 28281 |
| 28282 static final int RENDERBUFFER = 0x8D41; |
| 28283 |
| 28284 static final int RENDERBUFFER_ALPHA_SIZE = 0x8D53; |
| 28285 |
| 28286 static final int RENDERBUFFER_BINDING = 0x8CA7; |
| 28287 |
| 28288 static final int RENDERBUFFER_BLUE_SIZE = 0x8D52; |
| 28289 |
| 28290 static final int RENDERBUFFER_DEPTH_SIZE = 0x8D54; |
| 28291 |
| 28292 static final int RENDERBUFFER_GREEN_SIZE = 0x8D51; |
| 28293 |
| 28294 static final int RENDERBUFFER_HEIGHT = 0x8D43; |
| 28295 |
| 28296 static final int RENDERBUFFER_INTERNAL_FORMAT = 0x8D44; |
| 28297 |
| 28298 static final int RENDERBUFFER_RED_SIZE = 0x8D50; |
| 28299 |
| 28300 static final int RENDERBUFFER_STENCIL_SIZE = 0x8D55; |
| 28301 |
| 28302 static final int RENDERBUFFER_WIDTH = 0x8D42; |
| 28303 |
| 28304 static final int RENDERER = 0x1F01; |
| 28305 |
| 28306 static final int REPEAT = 0x2901; |
| 28307 |
| 28308 static final int REPLACE = 0x1E01; |
| 28309 |
| 28310 static final int RGB = 0x1907; |
| 28311 |
| 28312 static final int RGB565 = 0x8D62; |
| 28313 |
| 28314 static final int RGB5_A1 = 0x8057; |
| 28315 |
| 28316 static final int RGBA = 0x1908; |
| 28317 |
| 28318 static final int RGBA4 = 0x8056; |
| 28319 |
| 28320 static final int SAMPLER_2D = 0x8B5E; |
| 28321 |
| 28322 static final int SAMPLER_CUBE = 0x8B60; |
| 28323 |
| 28324 static final int SAMPLES = 0x80A9; |
| 28325 |
| 28326 static final int SAMPLE_ALPHA_TO_COVERAGE = 0x809E; |
| 28327 |
| 28328 static final int SAMPLE_BUFFERS = 0x80A8; |
| 28329 |
| 28330 static final int SAMPLE_COVERAGE = 0x80A0; |
| 28331 |
| 28332 static final int SAMPLE_COVERAGE_INVERT = 0x80AB; |
| 28333 |
| 28334 static final int SAMPLE_COVERAGE_VALUE = 0x80AA; |
| 28335 |
| 28336 static final int SCISSOR_BOX = 0x0C10; |
| 28337 |
| 28338 static final int SCISSOR_TEST = 0x0C11; |
| 28339 |
| 28340 static final int SHADER_COMPILER = 0x8DFA; |
| 28341 |
| 28342 static final int SHADER_TYPE = 0x8B4F; |
| 28343 |
| 28344 static final int SHADING_LANGUAGE_VERSION = 0x8B8C; |
| 28345 |
| 28346 static final int SHORT = 0x1402; |
| 28347 |
| 28348 static final int SRC_ALPHA = 0x0302; |
| 28349 |
| 28350 static final int SRC_ALPHA_SATURATE = 0x0308; |
| 28351 |
| 28352 static final int SRC_COLOR = 0x0300; |
| 28353 |
| 28354 static final int STATIC_DRAW = 0x88E4; |
| 28355 |
| 28356 static final int STENCIL_ATTACHMENT = 0x8D20; |
| 28357 |
| 28358 static final int STENCIL_BACK_FAIL = 0x8801; |
| 28359 |
| 28360 static final int STENCIL_BACK_FUNC = 0x8800; |
| 28361 |
| 28362 static final int STENCIL_BACK_PASS_DEPTH_FAIL = 0x8802; |
| 28363 |
| 28364 static final int STENCIL_BACK_PASS_DEPTH_PASS = 0x8803; |
| 28365 |
| 28366 static final int STENCIL_BACK_REF = 0x8CA3; |
| 28367 |
| 28368 static final int STENCIL_BACK_VALUE_MASK = 0x8CA4; |
| 28369 |
| 28370 static final int STENCIL_BACK_WRITEMASK = 0x8CA5; |
| 28371 |
| 28372 static final int STENCIL_BITS = 0x0D57; |
| 28373 |
| 28374 static final int STENCIL_BUFFER_BIT = 0x00000400; |
| 28375 |
| 28376 static final int STENCIL_CLEAR_VALUE = 0x0B91; |
| 28377 |
| 28378 static final int STENCIL_FAIL = 0x0B94; |
| 28379 |
| 28380 static final int STENCIL_FUNC = 0x0B92; |
| 28381 |
| 28382 static final int STENCIL_INDEX = 0x1901; |
| 28383 |
| 28384 static final int STENCIL_INDEX8 = 0x8D48; |
| 28385 |
| 28386 static final int STENCIL_PASS_DEPTH_FAIL = 0x0B95; |
| 28387 |
| 28388 static final int STENCIL_PASS_DEPTH_PASS = 0x0B96; |
| 28389 |
| 28390 static final int STENCIL_REF = 0x0B97; |
| 28391 |
| 28392 static final int STENCIL_TEST = 0x0B90; |
| 28393 |
| 28394 static final int STENCIL_VALUE_MASK = 0x0B93; |
| 28395 |
| 28396 static final int STENCIL_WRITEMASK = 0x0B98; |
| 28397 |
| 28398 static final int STREAM_DRAW = 0x88E0; |
| 28399 |
| 28400 static final int SUBPIXEL_BITS = 0x0D50; |
| 28401 |
| 28402 static final int TEXTURE = 0x1702; |
| 28403 |
| 28404 static final int TEXTURE0 = 0x84C0; |
| 28405 |
| 28406 static final int TEXTURE1 = 0x84C1; |
| 28407 |
| 28408 static final int TEXTURE10 = 0x84CA; |
| 28409 |
| 28410 static final int TEXTURE11 = 0x84CB; |
| 28411 |
| 28412 static final int TEXTURE12 = 0x84CC; |
| 28413 |
| 28414 static final int TEXTURE13 = 0x84CD; |
| 28415 |
| 28416 static final int TEXTURE14 = 0x84CE; |
| 28417 |
| 28418 static final int TEXTURE15 = 0x84CF; |
| 28419 |
| 28420 static final int TEXTURE16 = 0x84D0; |
| 28421 |
| 28422 static final int TEXTURE17 = 0x84D1; |
| 28423 |
| 28424 static final int TEXTURE18 = 0x84D2; |
| 28425 |
| 28426 static final int TEXTURE19 = 0x84D3; |
| 28427 |
| 28428 static final int TEXTURE2 = 0x84C2; |
| 28429 |
| 28430 static final int TEXTURE20 = 0x84D4; |
| 28431 |
| 28432 static final int TEXTURE21 = 0x84D5; |
| 28433 |
| 28434 static final int TEXTURE22 = 0x84D6; |
| 28435 |
| 28436 static final int TEXTURE23 = 0x84D7; |
| 28437 |
| 28438 static final int TEXTURE24 = 0x84D8; |
| 28439 |
| 28440 static final int TEXTURE25 = 0x84D9; |
| 28441 |
| 28442 static final int TEXTURE26 = 0x84DA; |
| 28443 |
| 28444 static final int TEXTURE27 = 0x84DB; |
| 28445 |
| 28446 static final int TEXTURE28 = 0x84DC; |
| 28447 |
| 28448 static final int TEXTURE29 = 0x84DD; |
| 28449 |
| 28450 static final int TEXTURE3 = 0x84C3; |
| 28451 |
| 28452 static final int TEXTURE30 = 0x84DE; |
| 28453 |
| 28454 static final int TEXTURE31 = 0x84DF; |
| 28455 |
| 28456 static final int TEXTURE4 = 0x84C4; |
| 28457 |
| 28458 static final int TEXTURE5 = 0x84C5; |
| 28459 |
| 28460 static final int TEXTURE6 = 0x84C6; |
| 28461 |
| 28462 static final int TEXTURE7 = 0x84C7; |
| 28463 |
| 28464 static final int TEXTURE8 = 0x84C8; |
| 28465 |
| 28466 static final int TEXTURE9 = 0x84C9; |
| 28467 |
| 28468 static final int TEXTURE_2D = 0x0DE1; |
| 28469 |
| 28470 static final int TEXTURE_BINDING_2D = 0x8069; |
| 28471 |
| 28472 static final int TEXTURE_BINDING_CUBE_MAP = 0x8514; |
| 28473 |
| 28474 static final int TEXTURE_CUBE_MAP = 0x8513; |
| 28475 |
| 28476 static final int TEXTURE_CUBE_MAP_NEGATIVE_X = 0x8516; |
| 28477 |
| 28478 static final int TEXTURE_CUBE_MAP_NEGATIVE_Y = 0x8518; |
| 28479 |
| 28480 static final int TEXTURE_CUBE_MAP_NEGATIVE_Z = 0x851A; |
| 28481 |
| 28482 static final int TEXTURE_CUBE_MAP_POSITIVE_X = 0x8515; |
| 28483 |
| 28484 static final int TEXTURE_CUBE_MAP_POSITIVE_Y = 0x8517; |
| 28485 |
| 28486 static final int TEXTURE_CUBE_MAP_POSITIVE_Z = 0x8519; |
| 28487 |
| 28488 static final int TEXTURE_MAG_FILTER = 0x2800; |
| 28489 |
| 28490 static final int TEXTURE_MIN_FILTER = 0x2801; |
| 28491 |
| 28492 static final int TEXTURE_WRAP_S = 0x2802; |
| 28493 |
| 28494 static final int TEXTURE_WRAP_T = 0x2803; |
| 28495 |
| 28496 static final int TRIANGLES = 0x0004; |
| 28497 |
| 28498 static final int TRIANGLE_FAN = 0x0006; |
| 28499 |
| 28500 static final int TRIANGLE_STRIP = 0x0005; |
| 28501 |
| 28502 static final int UNPACK_ALIGNMENT = 0x0CF5; |
| 28503 |
| 28504 static final int UNPACK_COLORSPACE_CONVERSION_WEBGL = 0x9243; |
| 28505 |
| 28506 static final int UNPACK_FLIP_Y_WEBGL = 0x9240; |
| 28507 |
| 28508 static final int UNPACK_PREMULTIPLY_ALPHA_WEBGL = 0x9241; |
| 28509 |
| 28510 static final int UNSIGNED_BYTE = 0x1401; |
| 28511 |
| 28512 static final int UNSIGNED_INT = 0x1405; |
| 28513 |
| 28514 static final int UNSIGNED_SHORT = 0x1403; |
| 28515 |
| 28516 static final int UNSIGNED_SHORT_4_4_4_4 = 0x8033; |
| 28517 |
| 28518 static final int UNSIGNED_SHORT_5_5_5_1 = 0x8034; |
| 28519 |
| 28520 static final int UNSIGNED_SHORT_5_6_5 = 0x8363; |
| 28521 |
| 28522 static final int VALIDATE_STATUS = 0x8B83; |
| 28523 |
| 28524 static final int VENDOR = 0x1F00; |
| 28525 |
| 28526 static final int VERSION = 0x1F02; |
| 28527 |
| 28528 static final int VERTEX_ATTRIB_ARRAY_BUFFER_BINDING = 0x889F; |
| 28529 |
| 28530 static final int VERTEX_ATTRIB_ARRAY_ENABLED = 0x8622; |
| 28531 |
| 28532 static final int VERTEX_ATTRIB_ARRAY_NORMALIZED = 0x886A; |
| 28533 |
| 28534 static final int VERTEX_ATTRIB_ARRAY_POINTER = 0x8645; |
| 28535 |
| 28536 static final int VERTEX_ATTRIB_ARRAY_SIZE = 0x8623; |
| 28537 |
| 28538 static final int VERTEX_ATTRIB_ARRAY_STRIDE = 0x8624; |
| 28539 |
| 28540 static final int VERTEX_ATTRIB_ARRAY_TYPE = 0x8625; |
| 28541 |
| 28542 static final int VERTEX_SHADER = 0x8B31; |
| 28543 |
| 28544 static final int VIEWPORT = 0x0BA2; |
| 28545 |
| 28546 static final int ZERO = 0; |
| 28547 |
| 28548 final int drawingBufferHeight; |
| 28549 |
| 28550 final int drawingBufferWidth; |
| 28551 |
| 28552 void activeTexture(int texture); |
| 28553 |
| 28554 void attachShader(WebGLProgram program, WebGLShader shader); |
| 28555 |
| 28556 void bindAttribLocation(WebGLProgram program, int index, String name); |
| 28557 |
| 28558 void bindBuffer(int target, WebGLBuffer buffer); |
| 28559 |
| 28560 void bindFramebuffer(int target, WebGLFramebuffer framebuffer); |
| 28561 |
| 28562 void bindRenderbuffer(int target, WebGLRenderbuffer renderbuffer); |
| 28563 |
| 28564 void bindTexture(int target, WebGLTexture texture); |
| 28565 |
| 28566 void blendColor(num red, num green, num blue, num alpha); |
| 28567 |
| 28568 void blendEquation(int mode); |
| 28569 |
| 28570 void blendEquationSeparate(int modeRGB, int modeAlpha); |
| 28571 |
| 28572 void blendFunc(int sfactor, int dfactor); |
| 28573 |
| 28574 void blendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha); |
| 28575 |
| 28576 void bufferData(int target, var data_OR_size, int usage); |
| 28577 |
| 28578 void bufferSubData(int target, int offset, var data); |
| 28579 |
| 28580 int checkFramebufferStatus(int target); |
| 28581 |
| 28582 void clear(int mask); |
| 28583 |
| 28584 void clearColor(num red, num green, num blue, num alpha); |
| 28585 |
| 28586 void clearDepth(num depth); |
| 28587 |
| 28588 void clearStencil(int s); |
| 28589 |
| 28590 void colorMask(bool red, bool green, bool blue, bool alpha); |
| 28591 |
| 28592 void compileShader(WebGLShader shader); |
| 28593 |
| 28594 void compressedTexImage2D(int target, int level, int internalformat, int width
, int height, int border, ArrayBufferView data); |
| 28595 |
| 28596 void compressedTexSubImage2D(int target, int level, int xoffset, int yoffset,
int width, int height, int format, ArrayBufferView data); |
| 28597 |
| 28598 void copyTexImage2D(int target, int level, int internalformat, int x, int y, i
nt width, int height, int border); |
| 28599 |
| 28600 void copyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x,
int y, int width, int height); |
| 28601 |
| 28602 WebGLBuffer createBuffer(); |
| 28603 |
| 28604 WebGLFramebuffer createFramebuffer(); |
| 28605 |
| 28606 WebGLProgram createProgram(); |
| 28607 |
| 28608 WebGLRenderbuffer createRenderbuffer(); |
| 28609 |
| 28610 WebGLShader createShader(int type); |
| 28611 |
| 28612 WebGLTexture createTexture(); |
| 28613 |
| 28614 void cullFace(int mode); |
| 28615 |
| 28616 void deleteBuffer(WebGLBuffer buffer); |
| 28617 |
| 28618 void deleteFramebuffer(WebGLFramebuffer framebuffer); |
| 28619 |
| 28620 void deleteProgram(WebGLProgram program); |
| 28621 |
| 28622 void deleteRenderbuffer(WebGLRenderbuffer renderbuffer); |
| 28623 |
| 28624 void deleteShader(WebGLShader shader); |
| 28625 |
| 28626 void deleteTexture(WebGLTexture texture); |
| 28627 |
| 28628 void depthFunc(int func); |
| 28629 |
| 28630 void depthMask(bool flag); |
| 28631 |
| 28632 void depthRange(num zNear, num zFar); |
| 28633 |
| 28634 void detachShader(WebGLProgram program, WebGLShader shader); |
| 28635 |
| 28636 void disable(int cap); |
| 28637 |
| 28638 void disableVertexAttribArray(int index); |
| 28639 |
| 28640 void drawArrays(int mode, int first, int count); |
| 28641 |
| 28642 void drawElements(int mode, int count, int type, int offset); |
| 28643 |
| 28644 void enable(int cap); |
| 28645 |
| 28646 void enableVertexAttribArray(int index); |
| 28647 |
| 28648 void finish(); |
| 28649 |
| 28650 void flush(); |
| 28651 |
| 28652 void framebufferRenderbuffer(int target, int attachment, int renderbuffertarge
t, WebGLRenderbuffer renderbuffer); |
| 28653 |
| 28654 void framebufferTexture2D(int target, int attachment, int textarget, WebGLText
ure texture, int level); |
| 28655 |
| 28656 void frontFace(int mode); |
| 28657 |
| 28658 void generateMipmap(int target); |
| 28659 |
| 28660 WebGLActiveInfo getActiveAttrib(WebGLProgram program, int index); |
| 28661 |
| 28662 WebGLActiveInfo getActiveUniform(WebGLProgram program, int index); |
| 28663 |
| 28664 List getAttachedShaders(WebGLProgram program); |
| 28665 |
| 28666 int getAttribLocation(WebGLProgram program, String name); |
| 28667 |
| 28668 Object getBufferParameter(int target, int pname); |
| 28669 |
| 28670 WebGLContextAttributes getContextAttributes(); |
| 28671 |
| 28672 int getError(); |
| 28673 |
| 28674 Object getExtension(String name); |
| 28675 |
| 28676 Object getFramebufferAttachmentParameter(int target, int attachment, int pname
); |
| 28677 |
| 28678 Object getParameter(int pname); |
| 28679 |
| 28680 String getProgramInfoLog(WebGLProgram program); |
| 28681 |
| 28682 Object getProgramParameter(WebGLProgram program, int pname); |
| 28683 |
| 28684 Object getRenderbufferParameter(int target, int pname); |
| 28685 |
| 28686 String getShaderInfoLog(WebGLShader shader); |
| 28687 |
| 28688 Object getShaderParameter(WebGLShader shader, int pname); |
| 28689 |
| 28690 String getShaderSource(WebGLShader shader); |
| 28691 |
| 28692 Object getTexParameter(int target, int pname); |
| 28693 |
| 28694 Object getUniform(WebGLProgram program, WebGLUniformLocation location); |
| 28695 |
| 28696 WebGLUniformLocation getUniformLocation(WebGLProgram program, String name); |
| 28697 |
| 28698 Object getVertexAttrib(int index, int pname); |
| 28699 |
| 28700 int getVertexAttribOffset(int index, int pname); |
| 28701 |
| 28702 void hint(int target, int mode); |
| 28703 |
| 28704 bool isBuffer(WebGLBuffer buffer); |
| 28705 |
| 28706 bool isContextLost(); |
| 28707 |
| 28708 bool isEnabled(int cap); |
| 28709 |
| 28710 bool isFramebuffer(WebGLFramebuffer framebuffer); |
| 28711 |
| 28712 bool isProgram(WebGLProgram program); |
| 28713 |
| 28714 bool isRenderbuffer(WebGLRenderbuffer renderbuffer); |
| 28715 |
| 28716 bool isShader(WebGLShader shader); |
| 28717 |
| 28718 bool isTexture(WebGLTexture texture); |
| 28719 |
| 28720 void lineWidth(num width); |
| 28721 |
| 28722 void linkProgram(WebGLProgram program); |
| 28723 |
| 28724 void pixelStorei(int pname, int param); |
| 28725 |
| 28726 void polygonOffset(num factor, num units); |
| 28727 |
| 28728 void readPixels(int x, int y, int width, int height, int format, int type, Arr
ayBufferView pixels); |
| 28729 |
| 28730 void releaseShaderCompiler(); |
| 28731 |
| 28732 void renderbufferStorage(int target, int internalformat, int width, int height
); |
| 28733 |
| 28734 void sampleCoverage(num value, bool invert); |
| 28735 |
| 28736 void scissor(int x, int y, int width, int height); |
| 28737 |
| 28738 void shaderSource(WebGLShader shader, String string); |
| 28739 |
| 28740 void stencilFunc(int func, int ref, int mask); |
| 28741 |
| 28742 void stencilFuncSeparate(int face, int func, int ref, int mask); |
| 28743 |
| 28744 void stencilMask(int mask); |
| 28745 |
| 28746 void stencilMaskSeparate(int face, int mask); |
| 28747 |
| 28748 void stencilOp(int fail, int zfail, int zpass); |
| 28749 |
| 28750 void stencilOpSeparate(int face, int fail, int zfail, int zpass); |
| 28751 |
| 28752 void texImage2D(int target, int level, int internalformat, int format_OR_width
, int height_OR_type, var border_OR_canvas_OR_image_OR_pixels_OR_video, [int for
mat, int type, ArrayBufferView pixels]); |
| 28753 |
| 28754 void texParameterf(int target, int pname, num param); |
| 28755 |
| 28756 void texParameteri(int target, int pname, int param); |
| 28757 |
| 28758 void texSubImage2D(int target, int level, int xoffset, int yoffset, int format
_OR_width, int height_OR_type, var canvas_OR_format_OR_image_OR_pixels_OR_video,
[int type, ArrayBufferView pixels]); |
| 28759 |
| 28760 void uniform1f(WebGLUniformLocation location, num x); |
| 28761 |
| 28762 void uniform1fv(WebGLUniformLocation location, Float32Array v); |
| 28763 |
| 28764 void uniform1i(WebGLUniformLocation location, int x); |
| 28765 |
| 28766 void uniform1iv(WebGLUniformLocation location, Int32Array v); |
| 28767 |
| 28768 void uniform2f(WebGLUniformLocation location, num x, num y); |
| 28769 |
| 28770 void uniform2fv(WebGLUniformLocation location, Float32Array v); |
| 28771 |
| 28772 void uniform2i(WebGLUniformLocation location, int x, int y); |
| 28773 |
| 28774 void uniform2iv(WebGLUniformLocation location, Int32Array v); |
| 28775 |
| 28776 void uniform3f(WebGLUniformLocation location, num x, num y, num z); |
| 28777 |
| 28778 void uniform3fv(WebGLUniformLocation location, Float32Array v); |
| 28779 |
| 28780 void uniform3i(WebGLUniformLocation location, int x, int y, int z); |
| 28781 |
| 28782 void uniform3iv(WebGLUniformLocation location, Int32Array v); |
| 28783 |
| 28784 void uniform4f(WebGLUniformLocation location, num x, num y, num z, num w); |
| 28785 |
| 28786 void uniform4fv(WebGLUniformLocation location, Float32Array v); |
| 28787 |
| 28788 void uniform4i(WebGLUniformLocation location, int x, int y, int z, int w); |
| 28789 |
| 28790 void uniform4iv(WebGLUniformLocation location, Int32Array v); |
| 28791 |
| 28792 void uniformMatrix2fv(WebGLUniformLocation location, bool transpose, Float32Ar
ray array); |
| 28793 |
| 28794 void uniformMatrix3fv(WebGLUniformLocation location, bool transpose, Float32Ar
ray array); |
| 28795 |
| 28796 void uniformMatrix4fv(WebGLUniformLocation location, bool transpose, Float32Ar
ray array); |
| 28797 |
| 28798 void useProgram(WebGLProgram program); |
| 28799 |
| 28800 void validateProgram(WebGLProgram program); |
| 28801 |
| 28802 void vertexAttrib1f(int indx, num x); |
| 28803 |
| 28804 void vertexAttrib1fv(int indx, Float32Array values); |
| 28805 |
| 28806 void vertexAttrib2f(int indx, num x, num y); |
| 28807 |
| 28808 void vertexAttrib2fv(int indx, Float32Array values); |
| 28809 |
| 28810 void vertexAttrib3f(int indx, num x, num y, num z); |
| 28811 |
| 28812 void vertexAttrib3fv(int indx, Float32Array values); |
| 28813 |
| 28814 void vertexAttrib4f(int indx, num x, num y, num z, num w); |
| 28815 |
| 28816 void vertexAttrib4fv(int indx, Float32Array values); |
| 28817 |
| 28818 void vertexAttribPointer(int indx, int size, int type, bool normalized, int st
ride, int offset); |
| 28819 |
| 28820 void viewport(int x, int y, int width, int height); |
| 28821 } |
| 28822 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 28823 // for details. All rights reserved. Use of this source code is governed by a |
| 28824 // BSD-style license that can be found in the LICENSE file. |
| 28825 |
| 28826 // WARNING: Do not edit - generated code. |
| 28827 |
| 28828 interface WebGLShader { |
| 28829 } |
| 28830 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 28831 // for details. All rights reserved. Use of this source code is governed by a |
| 28832 // BSD-style license that can be found in the LICENSE file. |
| 28833 |
| 28834 // WARNING: Do not edit - generated code. |
| 28835 |
| 28836 interface WebGLTexture { |
| 28837 } |
| 28838 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 28839 // for details. All rights reserved. Use of this source code is governed by a |
| 28840 // BSD-style license that can be found in the LICENSE file. |
| 28841 |
| 28842 // WARNING: Do not edit - generated code. |
| 28843 |
| 28844 interface WebGLUniformLocation { |
| 28845 } |
| 28846 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 28847 // for details. All rights reserved. Use of this source code is governed by a |
| 28848 // BSD-style license that can be found in the LICENSE file. |
| 28849 |
| 28850 // WARNING: Do not edit - generated code. |
| 28851 |
| 28852 interface WebGLVertexArrayObjectOES { |
| 28853 } |
| 28854 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 28855 // for details. All rights reserved. Use of this source code is governed by a |
| 28856 // BSD-style license that can be found in the LICENSE file. |
| 28857 |
| 28858 // WARNING: Do not edit - generated code. |
| 28859 |
| 28860 interface WebKitCSSRegionRule extends CSSRule { |
| 28861 |
| 28862 final CSSRuleList cssRules; |
| 28863 } |
| 28864 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 28865 // for details. All rights reserved. Use of this source code is governed by a |
| 28866 // BSD-style license that can be found in the LICENSE file. |
| 28867 |
| 28868 // WARNING: Do not edit - generated code. |
| 28869 |
| 28870 interface WebKitNamedFlow { |
| 28871 } |
| 28872 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 28873 // for details. All rights reserved. Use of this source code is governed by a |
| 28874 // BSD-style license that can be found in the LICENSE file. |
| 28875 |
| 28876 // WARNING: Do not edit - generated code. |
| 28877 |
| 28878 interface WebSocket extends EventTarget { |
| 28879 |
| 28880 static final int CLOSED = 3; |
| 28881 |
| 28882 static final int CLOSING = 2; |
| 28883 |
| 28884 static final int CONNECTING = 0; |
| 28885 |
| 28886 static final int OPEN = 1; |
| 28887 |
| 28888 final String URL; |
| 28889 |
| 28890 String binaryType; |
| 28891 |
| 28892 final int bufferedAmount; |
| 28893 |
| 28894 final String extensions; |
| 28895 |
| 28896 final String protocol; |
| 28897 |
| 28898 final int readyState; |
| 28899 |
| 28900 final String url; |
| 28901 |
| 28902 WebSocketEvents get on(); |
| 28903 |
| 28904 void close([int code, String reason]); |
| 28905 |
| 28906 bool send(String data); |
| 28907 } |
| 28908 |
| 28909 interface WebSocketEvents extends Events { |
| 28910 |
| 28911 EventListenerList get close(); |
| 28912 |
| 28913 EventListenerList get error(); |
| 28914 |
| 28915 EventListenerList get message(); |
| 28916 |
| 28917 EventListenerList get open(); |
| 28918 } |
| 28919 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 28920 // for details. All rights reserved. Use of this source code is governed by a |
| 28921 // BSD-style license that can be found in the LICENSE file. |
| 28922 |
| 28923 // WARNING: Do not edit - generated code. |
| 28924 |
| 28925 interface WheelEvent extends UIEvent { |
| 28926 |
| 28927 final bool altKey; |
| 28928 |
| 28929 final int clientX; |
| 28930 |
| 28931 final int clientY; |
| 28932 |
| 28933 final bool ctrlKey; |
| 28934 |
| 28935 final bool metaKey; |
| 28936 |
| 28937 final int offsetX; |
| 28938 |
| 28939 final int offsetY; |
| 28940 |
| 28941 final int screenX; |
| 28942 |
| 28943 final int screenY; |
| 28944 |
| 28945 final bool shiftKey; |
| 28946 |
| 28947 final bool webkitDirectionInvertedFromDevice; |
| 28948 |
| 28949 final int wheelDelta; |
| 28950 |
| 28951 final int wheelDeltaX; |
| 28952 |
| 28953 final int wheelDeltaY; |
| 28954 |
| 28955 final int x; |
| 28956 |
| 28957 final int y; |
| 28958 |
| 28959 void initWebKitWheelEvent(int wheelDeltaX, int wheelDeltaY, Window view, int s
creenX, int screenY, int clientX, int clientY, bool ctrlKey, bool altKey, bool s
hiftKey, bool metaKey); |
| 28960 } |
| 28961 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 28962 // for details. All rights reserved. Use of this source code is governed by a |
| 28963 // BSD-style license that can be found in the LICENSE file. |
| 28964 |
| 28965 // WARNING: Do not edit - generated code. |
| 28966 |
| 28967 interface Window extends EventTarget { |
| 28968 |
| 28969 final Document document; |
| 28970 |
| 28971 /** |
| 28972 * Executes a [callback] after the next batch of browser layout measurements |
| 28973 * has completed or would have completed if any browser layout measurements |
| 28974 * had been scheduled. |
| 28975 */ |
| 28976 void requestLayoutFrame(TimeoutHandler callback); |
| 28977 |
| 28978 |
| 28979 static final int PERSISTENT = 1; |
| 28980 |
| 28981 static final int TEMPORARY = 0; |
| 28982 |
| 28983 final DOMApplicationCache applicationCache; |
| 28984 |
| 28985 final Navigator clientInformation; |
| 28986 |
| 28987 final bool closed; |
| 28988 |
| 28989 final Console console; |
| 28990 |
| 28991 final Crypto crypto; |
| 28992 |
| 28993 String defaultStatus; |
| 28994 |
| 28995 String defaultstatus; |
| 28996 |
| 28997 final num devicePixelRatio; |
| 28998 |
| 28999 final Event event; |
| 29000 |
| 29001 final Element frameElement; |
| 29002 |
| 29003 final Window frames; |
| 29004 |
| 29005 final History history; |
| 29006 |
| 29007 final int innerHeight; |
| 29008 |
| 29009 final int innerWidth; |
| 29010 |
| 29011 final int length; |
| 29012 |
| 29013 final Storage localStorage; |
| 29014 |
| 29015 Location location; |
| 29016 |
| 29017 final BarInfo locationbar; |
| 29018 |
| 29019 final BarInfo menubar; |
| 29020 |
| 29021 String name; |
| 29022 |
| 29023 final Navigator navigator; |
| 29024 |
| 29025 final bool offscreenBuffering; |
| 29026 |
| 29027 final Window opener; |
| 29028 |
| 29029 final int outerHeight; |
| 29030 |
| 29031 final int outerWidth; |
| 29032 |
| 29033 final int pageXOffset; |
| 29034 |
| 29035 final int pageYOffset; |
| 29036 |
| 29037 final Window parent; |
| 29038 |
| 29039 final Performance performance; |
| 29040 |
| 29041 final BarInfo personalbar; |
| 29042 |
| 29043 final Screen screen; |
| 29044 |
| 29045 final int screenLeft; |
| 29046 |
| 29047 final int screenTop; |
| 29048 |
| 29049 final int screenX; |
| 29050 |
| 29051 final int screenY; |
| 29052 |
| 29053 final int scrollX; |
| 29054 |
| 29055 final int scrollY; |
| 29056 |
| 29057 final BarInfo scrollbars; |
| 29058 |
| 29059 final Window self; |
| 29060 |
| 29061 final Storage sessionStorage; |
| 29062 |
| 29063 String status; |
| 29064 |
| 29065 final BarInfo statusbar; |
| 29066 |
| 29067 final StyleMedia styleMedia; |
| 29068 |
| 29069 final BarInfo toolbar; |
| 29070 |
| 29071 final Window top; |
| 29072 |
| 29073 final IDBFactory webkitIndexedDB; |
| 29074 |
| 29075 final NotificationCenter webkitNotifications; |
| 29076 |
| 29077 final StorageInfo webkitStorageInfo; |
| 29078 |
| 29079 final Window window; |
| 29080 |
| 29081 WindowEvents get on(); |
| 29082 |
| 29083 void alert(String message); |
| 29084 |
| 29085 String atob(String string); |
| 29086 |
| 29087 void blur(); |
| 29088 |
| 29089 String btoa(String string); |
| 29090 |
| 29091 void captureEvents(); |
| 29092 |
| 29093 void clearInterval(int handle); |
| 29094 |
| 29095 void clearTimeout(int handle); |
| 29096 |
| 29097 void close(); |
| 29098 |
| 29099 bool confirm(String message); |
| 29100 |
| 29101 bool find(String string, bool caseSensitive, bool backwards, bool wrap, bool w
holeWord, bool searchInFrames, bool showDialog); |
| 29102 |
| 29103 void focus(); |
| 29104 |
| 29105 CSSRuleList getMatchedCSSRules(Element element, String pseudoElement); |
| 29106 |
| 29107 DOMSelection getSelection(); |
| 29108 |
| 29109 MediaQueryList matchMedia(String query); |
| 29110 |
| 29111 void moveBy(num x, num y); |
| 29112 |
| 29113 void moveTo(num x, num y); |
| 29114 |
| 29115 Window open(String url, String name, [String options]); |
| 29116 |
| 29117 Database openDatabase(String name, String version, String displayName, int est
imatedSize, [DatabaseCallback creationCallback]); |
| 29118 |
| 29119 void postMessage(Dynamic message, String targetOrigin, [List messagePorts]); |
| 29120 |
| 29121 void print(); |
| 29122 |
| 29123 String prompt(String message, String defaultValue); |
| 29124 |
| 29125 void releaseEvents(); |
| 29126 |
| 29127 void resizeBy(num x, num y); |
| 29128 |
| 29129 void resizeTo(num width, num height); |
| 29130 |
| 29131 void scroll(int x, int y); |
| 29132 |
| 29133 void scrollBy(int x, int y); |
| 29134 |
| 29135 void scrollTo(int x, int y); |
| 29136 |
| 29137 int setInterval(TimeoutHandler handler, int timeout); |
| 29138 |
| 29139 int setTimeout(TimeoutHandler handler, int timeout); |
| 29140 |
| 29141 Object showModalDialog(String url, [Object dialogArgs, String featureArgs]); |
| 29142 |
| 29143 void stop(); |
| 29144 |
| 29145 void webkitCancelAnimationFrame(int id); |
| 29146 |
| 29147 void webkitCancelRequestAnimationFrame(int id); |
| 29148 |
| 29149 Point webkitConvertPointFromNodeToPage(Node node, Point p); |
| 29150 |
| 29151 Point webkitConvertPointFromPageToNode(Node node, Point p); |
| 29152 |
| 29153 void webkitPostMessage(Dynamic message, String targetOrigin, [List transferLis
t]); |
| 29154 |
| 29155 int webkitRequestAnimationFrame(RequestAnimationFrameCallback callback, Elemen
t element); |
| 29156 |
| 29157 void webkitRequestFileSystem(int type, int size, FileSystemCallback successCal
lback, [ErrorCallback errorCallback]); |
| 29158 |
| 29159 void webkitResolveLocalFileSystemURL(String url, [EntryCallback successCallbac
k, ErrorCallback errorCallback]); |
| 29160 |
| 29161 } |
| 29162 |
| 29163 interface WindowEvents extends Events { |
| 29164 |
| 29165 EventListenerList get abort(); |
| 29166 |
| 29167 EventListenerList get animationEnd(); |
| 29168 |
| 29169 EventListenerList get animationIteration(); |
| 29170 |
| 29171 EventListenerList get animationStart(); |
| 29172 |
| 29173 EventListenerList get beforeUnload(); |
| 29174 |
| 29175 EventListenerList get blur(); |
| 29176 |
| 29177 EventListenerList get canPlay(); |
| 29178 |
| 29179 EventListenerList get canPlayThrough(); |
| 29180 |
| 29181 EventListenerList get change(); |
| 29182 |
| 29183 EventListenerList get click(); |
| 29184 |
| 29185 EventListenerList get contentLoaded(); |
| 29186 |
| 29187 EventListenerList get contextMenu(); |
| 29188 |
| 29189 EventListenerList get deviceMotion(); |
| 29190 |
| 29191 EventListenerList get deviceOrientation(); |
| 29192 |
| 29193 EventListenerList get doubleClick(); |
| 29194 |
| 29195 EventListenerList get drag(); |
| 29196 |
| 29197 EventListenerList get dragEnd(); |
| 29198 |
| 29199 EventListenerList get dragEnter(); |
| 29200 |
| 29201 EventListenerList get dragLeave(); |
| 29202 |
| 29203 EventListenerList get dragOver(); |
| 29204 |
| 29205 EventListenerList get dragStart(); |
| 29206 |
| 29207 EventListenerList get drop(); |
| 29208 |
| 29209 EventListenerList get durationChange(); |
| 29210 |
| 29211 EventListenerList get emptied(); |
| 29212 |
| 29213 EventListenerList get ended(); |
| 29214 |
| 29215 EventListenerList get error(); |
| 29216 |
| 29217 EventListenerList get focus(); |
| 29218 |
| 29219 EventListenerList get hashChange(); |
| 29220 |
| 29221 EventListenerList get input(); |
| 29222 |
| 29223 EventListenerList get invalid(); |
| 29224 |
| 29225 EventListenerList get keyDown(); |
| 29226 |
| 29227 EventListenerList get keyPress(); |
| 29228 |
| 29229 EventListenerList get keyUp(); |
| 29230 |
| 29231 EventListenerList get load(); |
| 29232 |
| 29233 EventListenerList get loadStart(); |
| 29234 |
| 29235 EventListenerList get loadedData(); |
| 29236 |
| 29237 EventListenerList get loadedMetadata(); |
| 29238 |
| 29239 EventListenerList get message(); |
| 29240 |
| 29241 EventListenerList get mouseDown(); |
| 29242 |
| 29243 EventListenerList get mouseMove(); |
| 29244 |
| 29245 EventListenerList get mouseOut(); |
| 29246 |
| 29247 EventListenerList get mouseOver(); |
| 29248 |
| 29249 EventListenerList get mouseUp(); |
| 29250 |
| 29251 EventListenerList get mouseWheel(); |
| 29252 |
| 29253 EventListenerList get offline(); |
| 29254 |
| 29255 EventListenerList get online(); |
| 29256 |
| 29257 EventListenerList get pageHide(); |
| 29258 |
| 29259 EventListenerList get pageShow(); |
| 29260 |
| 29261 EventListenerList get pause(); |
| 29262 |
| 29263 EventListenerList get play(); |
| 29264 |
| 29265 EventListenerList get playing(); |
| 29266 |
| 29267 EventListenerList get popState(); |
| 29268 |
| 29269 EventListenerList get progress(); |
| 29270 |
| 29271 EventListenerList get rateChange(); |
| 29272 |
| 29273 EventListenerList get reset(); |
| 29274 |
| 29275 EventListenerList get resize(); |
| 29276 |
| 29277 EventListenerList get scroll(); |
| 29278 |
| 29279 EventListenerList get search(); |
| 29280 |
| 29281 EventListenerList get seeked(); |
| 29282 |
| 29283 EventListenerList get seeking(); |
| 29284 |
| 29285 EventListenerList get select(); |
| 29286 |
| 29287 EventListenerList get stalled(); |
| 29288 |
| 29289 EventListenerList get storage(); |
| 29290 |
| 29291 EventListenerList get submit(); |
| 29292 |
| 29293 EventListenerList get suspend(); |
| 29294 |
| 29295 EventListenerList get timeUpdate(); |
| 29296 |
| 29297 EventListenerList get touchCancel(); |
| 29298 |
| 29299 EventListenerList get touchEnd(); |
| 29300 |
| 29301 EventListenerList get touchMove(); |
| 29302 |
| 29303 EventListenerList get touchStart(); |
| 29304 |
| 29305 EventListenerList get transitionEnd(); |
| 29306 |
| 29307 EventListenerList get unload(); |
| 29308 |
| 29309 EventListenerList get volumeChange(); |
| 29310 |
| 29311 EventListenerList get waiting(); |
| 29312 } |
| 29313 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 29314 // for details. All rights reserved. Use of this source code is governed by a |
| 29315 // BSD-style license that can be found in the LICENSE file. |
| 29316 |
| 29317 // WARNING: Do not edit - generated code. |
| 29318 |
| 29319 interface Worker extends AbstractWorker { |
| 29320 |
| 29321 WorkerEvents get on(); |
| 29322 |
| 29323 void postMessage(Dynamic message, [List messagePorts]); |
| 29324 |
| 29325 void terminate(); |
| 29326 |
| 29327 void webkitPostMessage(Dynamic message, [List messagePorts]); |
| 29328 } |
| 29329 |
| 29330 interface WorkerEvents extends AbstractWorkerEvents { |
| 29331 |
| 29332 EventListenerList get message(); |
| 29333 } |
| 29334 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 29335 // for details. All rights reserved. Use of this source code is governed by a |
| 29336 // BSD-style license that can be found in the LICENSE file. |
| 29337 |
| 29338 // WARNING: Do not edit - generated code. |
| 29339 |
| 29340 interface WorkerContext { |
| 29341 |
| 29342 static final int PERSISTENT = 1; |
| 29343 |
| 29344 static final int TEMPORARY = 0; |
| 29345 |
| 29346 final WorkerLocation location; |
| 29347 |
| 29348 final WorkerNavigator navigator; |
| 29349 |
| 29350 EventListener onerror; |
| 29351 |
| 29352 final WorkerContext self; |
| 29353 |
| 29354 final IDBFactory webkitIndexedDB; |
| 29355 |
| 29356 final NotificationCenter webkitNotifications; |
| 29357 |
| 29358 void addEventListener(String type, EventListener listener, [bool useCapture]); |
| 29359 |
| 29360 void clearInterval(int handle); |
| 29361 |
| 29362 void clearTimeout(int handle); |
| 29363 |
| 29364 void close(); |
| 29365 |
| 29366 bool dispatchEvent(Event evt); |
| 29367 |
| 29368 void importScripts(); |
| 29369 |
| 29370 Database openDatabase(String name, String version, String displayName, int est
imatedSize, [DatabaseCallback creationCallback]); |
| 29371 |
| 29372 DatabaseSync openDatabaseSync(String name, String version, String displayName,
int estimatedSize, [DatabaseCallback creationCallback]); |
| 29373 |
| 29374 void removeEventListener(String type, EventListener listener, [bool useCapture
]); |
| 29375 |
| 29376 int setInterval(TimeoutHandler handler, int timeout); |
| 29377 |
| 29378 int setTimeout(TimeoutHandler handler, int timeout); |
| 29379 |
| 29380 void webkitRequestFileSystem(int type, int size, [FileSystemCallback successCa
llback, ErrorCallback errorCallback]); |
| 29381 |
| 29382 DOMFileSystemSync webkitRequestFileSystemSync(int type, int size); |
| 29383 |
| 29384 EntrySync webkitResolveLocalFileSystemSyncURL(String url); |
| 29385 |
| 29386 void webkitResolveLocalFileSystemURL(String url, [EntryCallback successCallbac
k, ErrorCallback errorCallback]); |
| 29387 } |
| 29388 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 29389 // for details. All rights reserved. Use of this source code is governed by a |
| 29390 // BSD-style license that can be found in the LICENSE file. |
| 29391 |
| 29392 // WARNING: Do not edit - generated code. |
| 29393 |
| 29394 interface WorkerLocation { |
| 29395 |
| 29396 final String hash; |
| 29397 |
| 29398 final String host; |
| 29399 |
| 29400 final String hostname; |
| 29401 |
| 29402 final String href; |
| 29403 |
| 29404 final String pathname; |
| 29405 |
| 29406 final String port; |
| 29407 |
| 29408 final String protocol; |
| 29409 |
| 29410 final String search; |
| 29411 |
| 29412 String toString(); |
| 29413 } |
| 29414 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 29415 // for details. All rights reserved. Use of this source code is governed by a |
| 29416 // BSD-style license that can be found in the LICENSE file. |
| 29417 |
| 29418 // WARNING: Do not edit - generated code. |
| 29419 |
| 29420 interface WorkerNavigator { |
| 29421 |
| 29422 final String appName; |
| 29423 |
| 29424 final String appVersion; |
| 29425 |
| 29426 final bool onLine; |
| 29427 |
| 29428 final String platform; |
| 29429 |
| 29430 final String userAgent; |
| 29431 } |
| 29432 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 29433 // for details. All rights reserved. Use of this source code is governed by a |
| 29434 // BSD-style license that can be found in the LICENSE file. |
| 29435 |
| 29436 // WARNING: Do not edit - generated code. |
| 29437 |
| 29438 interface XMLHttpRequest extends EventTarget default _XMLHttpRequestFactoryProvi
der { |
| 29439 |
| 29440 XMLHttpRequest(); |
| 29441 |
| 29442 // TODO(rnystrom): This name should just be "get" which is valid in Dart, but |
| 29443 // not correctly implemented yet. (b/4970173) |
| 29444 XMLHttpRequest.getTEMPNAME(String url, onSuccess(XMLHttpRequest request)); |
| 29445 |
| 29446 static final int DONE = 4; |
| 29447 |
| 29448 static final int HEADERS_RECEIVED = 2; |
| 29449 |
| 29450 static final int LOADING = 3; |
| 29451 |
| 29452 static final int OPENED = 1; |
| 29453 |
| 29454 static final int UNSENT = 0; |
| 29455 |
| 29456 bool asBlob; |
| 29457 |
| 29458 final int readyState; |
| 29459 |
| 29460 final Object response; |
| 29461 |
| 29462 final Blob responseBlob; |
| 29463 |
| 29464 final String responseText; |
| 29465 |
| 29466 String responseType; |
| 29467 |
| 29468 final Document responseXML; |
| 29469 |
| 29470 final int status; |
| 29471 |
| 29472 final String statusText; |
| 29473 |
| 29474 final XMLHttpRequestUpload upload; |
| 29475 |
| 29476 bool withCredentials; |
| 29477 |
| 29478 XMLHttpRequestEvents get on(); |
| 29479 |
| 29480 void abort(); |
| 29481 |
| 29482 String getAllResponseHeaders(); |
| 29483 |
| 29484 String getResponseHeader(String header); |
| 29485 |
| 29486 void open(String method, String url, [bool async, String user, String password
]); |
| 29487 |
| 29488 void overrideMimeType(String override); |
| 29489 |
| 29490 void send([var data]); |
| 29491 |
| 29492 void setRequestHeader(String header, String value); |
| 29493 } |
| 29494 |
| 29495 interface XMLHttpRequestEvents extends Events { |
| 29496 |
| 29497 EventListenerList get abort(); |
| 29498 |
| 29499 EventListenerList get error(); |
| 29500 |
| 29501 EventListenerList get load(); |
| 29502 |
| 29503 EventListenerList get loadEnd(); |
| 29504 |
| 29505 EventListenerList get loadStart(); |
| 29506 |
| 29507 EventListenerList get progress(); |
| 29508 |
| 29509 EventListenerList get readyStateChange(); |
| 29510 } |
| 29511 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 29512 // for details. All rights reserved. Use of this source code is governed by a |
| 29513 // BSD-style license that can be found in the LICENSE file. |
| 29514 |
| 29515 // WARNING: Do not edit - generated code. |
| 29516 |
| 29517 interface XMLHttpRequestException { |
| 29518 |
| 29519 static final int ABORT_ERR = 102; |
| 29520 |
| 29521 static final int NETWORK_ERR = 101; |
| 29522 |
| 29523 final int code; |
| 29524 |
| 29525 final String message; |
| 29526 |
| 29527 final String name; |
| 29528 |
| 29529 String toString(); |
| 29530 } |
| 29531 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 29532 // for details. All rights reserved. Use of this source code is governed by a |
| 29533 // BSD-style license that can be found in the LICENSE file. |
| 29534 |
| 29535 // WARNING: Do not edit - generated code. |
| 29536 |
| 29537 interface XMLHttpRequestProgressEvent extends ProgressEvent { |
| 29538 |
| 29539 final int position; |
| 29540 |
| 29541 final int totalSize; |
| 29542 } |
| 29543 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 29544 // for details. All rights reserved. Use of this source code is governed by a |
| 29545 // BSD-style license that can be found in the LICENSE file. |
| 29546 |
| 29547 // WARNING: Do not edit - generated code. |
| 29548 |
| 29549 interface XMLHttpRequestUpload extends EventTarget { |
| 29550 |
| 29551 XMLHttpRequestUploadEvents get on(); |
| 29552 } |
| 29553 |
| 29554 interface XMLHttpRequestUploadEvents extends Events { |
| 29555 |
| 29556 EventListenerList get abort(); |
| 29557 |
| 29558 EventListenerList get error(); |
| 29559 |
| 29560 EventListenerList get load(); |
| 29561 |
| 29562 EventListenerList get loadEnd(); |
| 29563 |
| 29564 EventListenerList get loadStart(); |
| 29565 |
| 29566 EventListenerList get progress(); |
| 29567 } |
| 29568 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 29569 // for details. All rights reserved. Use of this source code is governed by a |
| 29570 // BSD-style license that can be found in the LICENSE file. |
| 29571 |
| 29572 // WARNING: Do not edit - generated code. |
| 29573 |
| 29574 interface XMLSerializer { |
| 29575 |
| 29576 String serializeToString(Node node); |
| 29577 } |
| 29578 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 29579 // for details. All rights reserved. Use of this source code is governed by a |
| 29580 // BSD-style license that can be found in the LICENSE file. |
| 29581 |
| 29582 // WARNING: Do not edit - generated code. |
| 29583 |
| 29584 interface XPathEvaluator { |
| 29585 |
| 29586 XPathExpression createExpression(String expression, XPathNSResolver resolver); |
| 29587 |
| 29588 XPathNSResolver createNSResolver(Node nodeResolver); |
| 29589 |
| 29590 XPathResult evaluate(String expression, Node contextNode, XPathNSResolver reso
lver, int type, XPathResult inResult); |
| 29591 } |
| 29592 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 29593 // for details. All rights reserved. Use of this source code is governed by a |
| 29594 // BSD-style license that can be found in the LICENSE file. |
| 29595 |
| 29596 // WARNING: Do not edit - generated code. |
| 29597 |
| 29598 interface XPathException { |
| 29599 |
| 29600 static final int INVALID_EXPRESSION_ERR = 51; |
| 29601 |
| 29602 static final int TYPE_ERR = 52; |
| 29603 |
| 29604 final int code; |
| 29605 |
| 29606 final String message; |
| 29607 |
| 29608 final String name; |
| 29609 |
| 29610 String toString(); |
| 29611 } |
| 29612 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 29613 // for details. All rights reserved. Use of this source code is governed by a |
| 29614 // BSD-style license that can be found in the LICENSE file. |
| 29615 |
| 29616 // WARNING: Do not edit - generated code. |
| 29617 |
| 29618 interface XPathExpression { |
| 29619 |
| 29620 XPathResult evaluate(Node contextNode, int type, XPathResult inResult); |
| 29621 } |
| 29622 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 29623 // for details. All rights reserved. Use of this source code is governed by a |
| 29624 // BSD-style license that can be found in the LICENSE file. |
| 29625 |
| 29626 // WARNING: Do not edit - generated code. |
| 29627 |
| 29628 interface XPathNSResolver { |
| 29629 |
| 29630 String lookupNamespaceURI(String prefix); |
| 29631 } |
| 29632 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 29633 // for details. All rights reserved. Use of this source code is governed by a |
| 29634 // BSD-style license that can be found in the LICENSE file. |
| 29635 |
| 29636 // WARNING: Do not edit - generated code. |
| 29637 |
| 29638 interface XPathResult { |
| 29639 |
| 29640 static final int ANY_TYPE = 0; |
| 29641 |
| 29642 static final int ANY_UNORDERED_NODE_TYPE = 8; |
| 29643 |
| 29644 static final int BOOLEAN_TYPE = 3; |
| 29645 |
| 29646 static final int FIRST_ORDERED_NODE_TYPE = 9; |
| 29647 |
| 29648 static final int NUMBER_TYPE = 1; |
| 29649 |
| 29650 static final int ORDERED_NODE_ITERATOR_TYPE = 5; |
| 29651 |
| 29652 static final int ORDERED_NODE_SNAPSHOT_TYPE = 7; |
| 29653 |
| 29654 static final int STRING_TYPE = 2; |
| 29655 |
| 29656 static final int UNORDERED_NODE_ITERATOR_TYPE = 4; |
| 29657 |
| 29658 static final int UNORDERED_NODE_SNAPSHOT_TYPE = 6; |
| 29659 |
| 29660 final bool booleanValue; |
| 29661 |
| 29662 final bool invalidIteratorState; |
| 29663 |
| 29664 final num numberValue; |
| 29665 |
| 29666 final int resultType; |
| 29667 |
| 29668 final Node singleNodeValue; |
| 29669 |
| 29670 final int snapshotLength; |
| 29671 |
| 29672 final String stringValue; |
| 29673 |
| 29674 Node iterateNext(); |
| 29675 |
| 29676 Node snapshotItem(int index); |
| 29677 } |
| 29678 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 29679 // for details. All rights reserved. Use of this source code is governed by a |
| 29680 // BSD-style license that can be found in the LICENSE file. |
| 29681 |
| 29682 // WARNING: Do not edit - generated code. |
| 29683 |
| 29684 interface XSLTProcessor { |
| 29685 |
| 29686 void clearParameters(); |
| 29687 |
| 29688 String getParameter(String namespaceURI, String localName); |
| 29689 |
| 29690 void importStylesheet(Node stylesheet); |
| 29691 |
| 29692 void removeParameter(String namespaceURI, String localName); |
| 29693 |
| 29694 void reset(); |
| 29695 |
| 29696 void setParameter(String namespaceURI, String localName, String value); |
| 29697 |
| 29698 Document transformToDocument(Node source); |
| 29699 |
| 29700 DocumentFragment transformToFragment(Node source, Document docVal); |
| 29701 } |
| 29702 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 29703 // for details. All rights reserved. Use of this source code is governed by a |
| 29704 // BSD-style license that can be found in the LICENSE file. |
| 29705 |
| 29706 typedef void EventListener(Event event); |
| 29707 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 29708 // for details. All rights reserved. Use of this source code is governed by a |
| 29709 // BSD-style license that can be found in the LICENSE file. |
| 29710 |
| 29711 /** |
| 29712 * Defines the standard key locations returned by |
| 29713 * KeyboardEvent.getKeyLocation. |
| 29714 */ |
| 29715 interface KeyLocation { |
| 29716 |
| 29717 /** |
| 29718 * The event key is not distinguished as the left or right version |
| 29719 * of the key, and did not originate from the numeric keypad (or did not |
| 29720 * originate with a virtual key corresponding to the numeric keypad). |
| 29721 */ |
| 29722 static final int STANDARD = 0; |
| 29723 |
| 29724 /** |
| 29725 * The event key is in the left key location. |
| 29726 */ |
| 29727 static final int LEFT = 1; |
| 29728 |
| 29729 /** |
| 29730 * The event key is in the right key location. |
| 29731 */ |
| 29732 static final int RIGHT = 2; |
| 29733 |
| 29734 /** |
| 29735 * The event key originated on the numeric keypad or with a virtual key |
| 29736 * corresponding to the numeric keypad. |
| 29737 */ |
| 29738 static final int NUMPAD = 3; |
| 29739 |
| 29740 /** |
| 29741 * The event key originated on a mobile device, either on a physical |
| 29742 * keypad or a virtual keyboard. |
| 29743 */ |
| 29744 static final int MOBILE = 4; |
| 29745 |
| 29746 /** |
| 29747 * The event key originated on a game controller or a joystick on a mobile |
| 29748 * device. |
| 29749 */ |
| 29750 static final int JOYSTICK = 5; |
| 29751 } |
| 29752 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 29753 // for details. All rights reserved. Use of this source code is governed by a |
| 29754 // BSD-style license that can be found in the LICENSE file. |
| 29755 |
| 29756 /** |
| 29757 * Defines the standard keyboard identifier names for keys that are returned |
| 29758 * by KeyEvent.getKeyboardIdentifier when the key does not have a direct |
| 29759 * unicode mapping. |
| 29760 */ |
| 29761 interface KeyName { |
| 29762 |
| 29763 /** The Accept (Commit, OK) key */ |
| 29764 static final String ACCEPT = "Accept"; |
| 29765 |
| 29766 /** The Add key */ |
| 29767 static final String ADD = "Add"; |
| 29768 |
| 29769 /** The Again key */ |
| 29770 static final String AGAIN = "Again"; |
| 29771 |
| 29772 /** The All Candidates key */ |
| 29773 static final String ALL_CANDIDATES = "AllCandidates"; |
| 29774 |
| 29775 /** The Alphanumeric key */ |
| 29776 static final String ALPHANUMERIC = "Alphanumeric"; |
| 29777 |
| 29778 /** The Alt (Menu) key */ |
| 29779 static final String ALT = "Alt"; |
| 29780 |
| 29781 /** The Alt-Graph key */ |
| 29782 static final String ALT_GRAPH = "AltGraph"; |
| 29783 |
| 29784 /** The Application key */ |
| 29785 static final String APPS = "Apps"; |
| 29786 |
| 29787 /** The ATTN key */ |
| 29788 static final String ATTN = "Attn"; |
| 29789 |
| 29790 /** The Browser Back key */ |
| 29791 static final String BROWSER_BACK = "BrowserBack"; |
| 29792 |
| 29793 /** The Browser Favorites key */ |
| 29794 static final String BROWSER_FAVORTIES = "BrowserFavorites"; |
| 29795 |
| 29796 /** The Browser Forward key */ |
| 29797 static final String BROWSER_FORWARD = "BrowserForward"; |
| 29798 |
| 29799 /** The Browser Home key */ |
| 29800 static final String BROWSER_NAME = "BrowserHome"; |
| 29801 |
| 29802 /** The Browser Refresh key */ |
| 29803 static final String BROWSER_REFRESH = "BrowserRefresh"; |
| 29804 |
| 29805 /** The Browser Search key */ |
| 29806 static final String BROWSER_SEARCH = "BrowserSearch"; |
| 29807 |
| 29808 /** The Browser Stop key */ |
| 29809 static final String BROWSER_STOP = "BrowserStop"; |
| 29810 |
| 29811 /** The Camera key */ |
| 29812 static final String CAMERA = "Camera"; |
| 29813 |
| 29814 /** The Caps Lock (Capital) key */ |
| 29815 static final String CAPS_LOCK = "CapsLock"; |
| 29816 |
| 29817 /** The Clear key */ |
| 29818 static final String CLEAR = "Clear"; |
| 29819 |
| 29820 /** The Code Input key */ |
| 29821 static final String CODE_INPUT = "CodeInput"; |
| 29822 |
| 29823 /** The Compose key */ |
| 29824 static final String COMPOSE = "Compose"; |
| 29825 |
| 29826 /** The Control (Ctrl) key */ |
| 29827 static final String CONTROL = "Control"; |
| 29828 |
| 29829 /** The Crsel key */ |
| 29830 static final String CRSEL = "Crsel"; |
| 29831 |
| 29832 /** The Convert key */ |
| 29833 static final String CONVERT = "Convert"; |
| 29834 |
| 29835 /** The Copy key */ |
| 29836 static final String COPY = "Copy"; |
| 29837 |
| 29838 /** The Cut key */ |
| 29839 static final String CUT = "Cut"; |
| 29840 |
| 29841 /** The Decimal key */ |
| 29842 static final String DECIMAL = "Decimal"; |
| 29843 |
| 29844 /** The Divide key */ |
| 29845 static final String DIVIDE = "Divide"; |
| 29846 |
| 29847 /** The Down Arrow key */ |
| 29848 static final String DOWN = "Down"; |
| 29849 |
| 29850 /** The diagonal Down-Left Arrow key */ |
| 29851 static final String DOWN_LEFT = "DownLeft"; |
| 29852 |
| 29853 /** The diagonal Down-Right Arrow key */ |
| 29854 static final String DOWN_RIGHT = "DownRight"; |
| 29855 |
| 29856 /** The Eject key */ |
| 29857 static final String EJECT = "Eject"; |
| 29858 |
| 29859 /** The End key */ |
| 29860 static final String END = "End"; |
| 29861 |
| 29862 /** |
| 29863 * The Enter key. Note: This key value must also be used for the Return |
| 29864 * (Macintosh numpad) key |
| 29865 */ |
| 29866 static final String ENTER = "Enter"; |
| 29867 |
| 29868 /** The Erase EOF key */ |
| 29869 static final String ERASE_EOF= "EraseEof"; |
| 29870 |
| 29871 /** The Execute key */ |
| 29872 static final String EXECUTE = "Execute"; |
| 29873 |
| 29874 /** The Exsel key */ |
| 29875 static final String EXSEL = "Exsel"; |
| 29876 |
| 29877 /** The Function switch key */ |
| 29878 static final String FN = "Fn"; |
| 29879 |
| 29880 /** The F1 key */ |
| 29881 static final String F1 = "F1"; |
| 29882 |
| 29883 /** The F2 key */ |
| 29884 static final String F2 = "F2"; |
| 29885 |
| 29886 /** The F3 key */ |
| 29887 static final String F3 = "F3"; |
| 29888 |
| 29889 /** The F4 key */ |
| 29890 static final String F4 = "F4"; |
| 29891 |
| 29892 /** The F5 key */ |
| 29893 static final String F5 = "F5"; |
| 29894 |
| 29895 /** The F6 key */ |
| 29896 static final String F6 = "F6"; |
| 29897 |
| 29898 /** The F7 key */ |
| 29899 static final String F7 = "F7"; |
| 29900 |
| 29901 /** The F8 key */ |
| 29902 static final String F8 = "F8"; |
| 29903 |
| 29904 /** The F9 key */ |
| 29905 static final String F9 = "F9"; |
| 29906 |
| 29907 /** The F10 key */ |
| 29908 static final String F10 = "F10"; |
| 29909 |
| 29910 /** The F11 key */ |
| 29911 static final String F11 = "F11"; |
| 29912 |
| 29913 /** The F12 key */ |
| 29914 static final String F12 = "F12"; |
| 29915 |
| 29916 /** The F13 key */ |
| 29917 static final String F13 = "F13"; |
| 29918 |
| 29919 /** The F14 key */ |
| 29920 static final String F14 = "F14"; |
| 29921 |
| 29922 /** The F15 key */ |
| 29923 static final String F15 = "F15"; |
| 29924 |
| 29925 /** The F16 key */ |
| 29926 static final String F16 = "F16"; |
| 29927 |
| 29928 /** The F17 key */ |
| 29929 static final String F17 = "F17"; |
| 29930 |
| 29931 /** The F18 key */ |
| 29932 static final String F18 = "F18"; |
| 29933 |
| 29934 /** The F19 key */ |
| 29935 static final String F19 = "F19"; |
| 29936 |
| 29937 /** The F20 key */ |
| 29938 static final String F20 = "F20"; |
| 29939 |
| 29940 /** The F21 key */ |
| 29941 static final String F21 = "F21"; |
| 29942 |
| 29943 /** The F22 key */ |
| 29944 static final String F22 = "F22"; |
| 29945 |
| 29946 /** The F23 key */ |
| 29947 static final String F23 = "F23"; |
| 29948 |
| 29949 /** The F24 key */ |
| 29950 static final String F24 = "F24"; |
| 29951 |
| 29952 /** The Final Mode (Final) key used on some asian keyboards */ |
| 29953 static final String FINAL_MODE = "FinalMode"; |
| 29954 |
| 29955 /** The Find key */ |
| 29956 static final String FIND = "Find"; |
| 29957 |
| 29958 /** The Full-Width Characters key */ |
| 29959 static final String FULL_WIDTH = "FullWidth"; |
| 29960 |
| 29961 /** The Half-Width Characters key */ |
| 29962 static final String HALF_WIDTH = "HalfWidth"; |
| 29963 |
| 29964 /** The Hangul (Korean characters) Mode key */ |
| 29965 static final String HANGUL_MODE = "HangulMode"; |
| 29966 |
| 29967 /** The Hanja (Korean characters) Mode key */ |
| 29968 static final String HANJA_MODE = "HanjaMode"; |
| 29969 |
| 29970 /** The Help key */ |
| 29971 static final String HELP = "Help"; |
| 29972 |
| 29973 /** The Hiragana (Japanese Kana characters) key */ |
| 29974 static final String HIRAGANA = "Hiragana"; |
| 29975 |
| 29976 /** The Home key */ |
| 29977 static final String HOME = "Home"; |
| 29978 |
| 29979 /** The Insert (Ins) key */ |
| 29980 static final String INSERT = "Insert"; |
| 29981 |
| 29982 /** The Japanese-Hiragana key */ |
| 29983 static final String JAPANESE_HIRAGANA = "JapaneseHiragana"; |
| 29984 |
| 29985 /** The Japanese-Katakana key */ |
| 29986 static final String JAPANESE_KATAKANA = "JapaneseKatakana"; |
| 29987 |
| 29988 /** The Japanese-Romaji key */ |
| 29989 static final String JAPANESE_ROMAJI = "JapaneseRomaji"; |
| 29990 |
| 29991 /** The Junja Mode key */ |
| 29992 static final String JUNJA_MODE = "JunjaMode"; |
| 29993 |
| 29994 /** The Kana Mode (Kana Lock) key */ |
| 29995 static final String KANA_MODE = "KanaMode"; |
| 29996 |
| 29997 /** |
| 29998 * The Kanji (Japanese name for ideographic characters of Chinese origin) |
| 29999 * Mode key |
| 30000 */ |
| 30001 static final String KANJI_MODE = "KanjiMode"; |
| 30002 |
| 30003 /** The Katakana (Japanese Kana characters) key */ |
| 30004 static final String KATAKANA = "Katakana"; |
| 30005 |
| 30006 /** The Start Application One key */ |
| 30007 static final String LAUNCH_APPLICATION_1 = "LaunchApplication1"; |
| 30008 |
| 30009 /** The Start Application Two key */ |
| 30010 static final String LAUNCH_APPLICATION_2 = "LaunchApplication2"; |
| 30011 |
| 30012 /** The Start Mail key */ |
| 30013 static final String LAUNCH_MAIL = "LaunchMail"; |
| 30014 |
| 30015 /** The Left Arrow key */ |
| 30016 static final String LEFT = "Left"; |
| 30017 |
| 30018 /** The Menu key */ |
| 30019 static final String MENU = "Menu"; |
| 30020 |
| 30021 /** |
| 30022 * The Meta key. Note: This key value shall be also used for the Apple |
| 30023 * Command key |
| 30024 */ |
| 30025 static final String META = "Meta"; |
| 30026 |
| 30027 /** The Media Next Track key */ |
| 30028 static final String MEDIA_NEXT_TRACK = "MediaNextTrack"; |
| 30029 |
| 30030 /** The Media Play Pause key */ |
| 30031 static final String MEDIA_PAUSE_PLAY = "MediaPlayPause"; |
| 30032 |
| 30033 /** The Media Previous Track key */ |
| 30034 static final String MEDIA_PREVIOUS_TRACK = "MediaPreviousTrack"; |
| 30035 |
| 30036 /** The Media Stop key */ |
| 30037 static final String MEDIA_STOP = "MediaStop"; |
| 30038 |
| 30039 /** The Mode Change key */ |
| 30040 static final String MODE_CHANGE = "ModeChange"; |
| 30041 |
| 30042 /** The Next Candidate function key */ |
| 30043 static final String NEXT_CANDIDATE = "NextCandidate"; |
| 30044 |
| 30045 /** The Nonconvert (Don't Convert) key */ |
| 30046 static final String NON_CONVERT = "Nonconvert"; |
| 30047 |
| 30048 /** The Number Lock key */ |
| 30049 static final String NUM_LOCK = "NumLock"; |
| 30050 |
| 30051 /** The Page Down (Next) key */ |
| 30052 static final String PAGE_DOWN = "PageDown"; |
| 30053 |
| 30054 /** The Page Up key */ |
| 30055 static final String PAGE_UP = "PageUp"; |
| 30056 |
| 30057 /** The Paste key */ |
| 30058 static final String PASTE = "Paste"; |
| 30059 |
| 30060 /** The Pause key */ |
| 30061 static final String PAUSE = "Pause"; |
| 30062 |
| 30063 /** The Play key */ |
| 30064 static final String PLAY = "Play"; |
| 30065 |
| 30066 /** |
| 30067 * The Power key. Note: Some devices may not expose this key to the |
| 30068 * operating environment |
| 30069 */ |
| 30070 static final String POWER = "Power"; |
| 30071 |
| 30072 /** The Previous Candidate function key */ |
| 30073 static final String PREVIOUS_CANDIDATE = "PreviousCandidate"; |
| 30074 |
| 30075 /** The Print Screen (PrintScrn, SnapShot) key */ |
| 30076 static final String PRINT_SCREEN = "PrintScreen"; |
| 30077 |
| 30078 /** The Process key */ |
| 30079 static final String PROCESS = "Process"; |
| 30080 |
| 30081 /** The Props key */ |
| 30082 static final String PROPS = "Props"; |
| 30083 |
| 30084 /** The Right Arrow key */ |
| 30085 static final String RIGHT = "Right"; |
| 30086 |
| 30087 /** The Roman Characters function key */ |
| 30088 static final String ROMAN_CHARACTERS = "RomanCharacters"; |
| 30089 |
| 30090 /** The Scroll Lock key */ |
| 30091 static final String SCROLL = "Scroll"; |
| 30092 |
| 30093 /** The Select key */ |
| 30094 static final String SELECT = "Select"; |
| 30095 |
| 30096 /** The Select Media key */ |
| 30097 static final String SELECT_MEDIA = "SelectMedia"; |
| 30098 |
| 30099 /** The Separator key */ |
| 30100 static final String SEPARATOR = "Separator"; |
| 30101 |
| 30102 /** The Shift key */ |
| 30103 static final String SHIFT = "Shift"; |
| 30104 |
| 30105 /** The Soft1 key */ |
| 30106 static final String SOFT_1 = "Soft1"; |
| 30107 |
| 30108 /** The Soft2 key */ |
| 30109 static final String SOFT_2 = "Soft2"; |
| 30110 |
| 30111 /** The Soft3 key */ |
| 30112 static final String SOFT_3 = "Soft3"; |
| 30113 |
| 30114 /** The Soft4 key */ |
| 30115 static final String SOFT_4 = "Soft4"; |
| 30116 |
| 30117 /** The Stop key */ |
| 30118 static final String STOP = "Stop"; |
| 30119 |
| 30120 /** The Subtract key */ |
| 30121 static final String SUBTRACT = "Subtract"; |
| 30122 |
| 30123 /** The Symbol Lock key */ |
| 30124 static final String SYMBOL_LOCK = "SymbolLock"; |
| 30125 |
| 30126 /** The Up Arrow key */ |
| 30127 static final String UP = "Up"; |
| 30128 |
| 30129 /** The diagonal Up-Left Arrow key */ |
| 30130 static final String UP_LEFT = "UpLeft"; |
| 30131 |
| 30132 /** The diagonal Up-Right Arrow key */ |
| 30133 static final String UP_RIGHT = "UpRight"; |
| 30134 |
| 30135 /** The Undo key */ |
| 30136 static final String UNDO = "Undo"; |
| 30137 |
| 30138 /** The Volume Down key */ |
| 30139 static final String VOLUME_DOWN = "VolumeDown"; |
| 30140 |
| 30141 /** The Volume Mute key */ |
| 30142 static final String VOLUMN_MUTE = "VolumeMute"; |
| 30143 |
| 30144 /** The Volume Up key */ |
| 30145 static final String VOLUMN_UP = "VolumeUp"; |
| 30146 |
| 30147 /** The Windows Logo key */ |
| 30148 static final String WIN = "Win"; |
| 30149 |
| 30150 /** The Zoom key */ |
| 30151 static final String ZOOM = "Zoom"; |
| 30152 |
| 30153 /** |
| 30154 * The Backspace (Back) key. Note: This key value shall be also used for the |
| 30155 * key labeled 'delete' MacOS keyboards when not modified by the 'Fn' key |
| 30156 */ |
| 30157 static final String BACKSPACE = "Backspace"; |
| 30158 |
| 30159 /** The Horizontal Tabulation (Tab) key */ |
| 30160 static final String TAB = "Tab"; |
| 30161 |
| 30162 /** The Cancel key */ |
| 30163 static final String CANCEL = "Cancel"; |
| 30164 |
| 30165 /** The Escape (Esc) key */ |
| 30166 static final String ESC = "Esc"; |
| 30167 |
| 30168 /** The Space (Spacebar) key: */ |
| 30169 static final String SPACEBAR = "Spacebar"; |
| 30170 |
| 30171 /** |
| 30172 * The Delete (Del) Key. Note: This key value shall be also used for the key |
| 30173 * labeled 'delete' MacOS keyboards when modified by the 'Fn' key |
| 30174 */ |
| 30175 static final String DEL = "Del"; |
| 30176 |
| 30177 /** The Combining Grave Accent (Greek Varia, Dead Grave) key */ |
| 30178 static final String DEAD_GRAVE = "DeadGrave"; |
| 30179 |
| 30180 /** |
| 30181 * The Combining Acute Accent (Stress Mark, Greek Oxia, Tonos, Dead Eacute) |
| 30182 * key |
| 30183 */ |
| 30184 static final String DEAD_EACUTE = "DeadEacute"; |
| 30185 |
| 30186 /** The Combining Circumflex Accent (Hat, Dead Circumflex) key */ |
| 30187 static final String DEAD_CIRCUMFLEX = "DeadCircumflex"; |
| 30188 |
| 30189 /** The Combining Tilde (Dead Tilde) key */ |
| 30190 static final String DEAD_TILDE = "DeadTilde"; |
| 30191 |
| 30192 /** The Combining Macron (Long, Dead Macron) key */ |
| 30193 static final String DEAD_MACRON = "DeadMacron"; |
| 30194 |
| 30195 /** The Combining Breve (Short, Dead Breve) key */ |
| 30196 static final String DEAD_BREVE = "DeadBreve"; |
| 30197 |
| 30198 /** The Combining Dot Above (Derivative, Dead Above Dot) key */ |
| 30199 static final String DEAD_ABOVE_DOT = "DeadAboveDot"; |
| 30200 |
| 30201 /** |
| 30202 * The Combining Diaeresis (Double Dot Abode, Umlaut, Greek Dialytika, |
| 30203 * Double Derivative, Dead Diaeresis) key |
| 30204 */ |
| 30205 static final String DEAD_UMLAUT = "DeadUmlaut"; |
| 30206 |
| 30207 /** The Combining Ring Above (Dead Above Ring) key */ |
| 30208 static final String DEAD_ABOVE_RING = "DeadAboveRing"; |
| 30209 |
| 30210 /** The Combining Double Acute Accent (Dead Doubleacute) key */ |
| 30211 static final String DEAD_DOUBLEACUTE = "DeadDoubleacute"; |
| 30212 |
| 30213 /** The Combining Caron (Hacek, V Above, Dead Caron) key */ |
| 30214 static final String DEAD_CARON = "DeadCaron"; |
| 30215 |
| 30216 /** The Combining Cedilla (Dead Cedilla) key */ |
| 30217 static final String DEAD_CEDILLA = "DeadCedilla"; |
| 30218 |
| 30219 /** The Combining Ogonek (Nasal Hook, Dead Ogonek) key */ |
| 30220 static final String DEAD_OGONEK = "DeadOgonek"; |
| 30221 |
| 30222 /** |
| 30223 * The Combining Greek Ypogegrammeni (Greek Non-Spacing Iota Below, Iota |
| 30224 * Subscript, Dead Iota) key |
| 30225 */ |
| 30226 static final String DEAD_IOTA = "DeadIota"; |
| 30227 |
| 30228 /** |
| 30229 * The Combining Katakana-Hiragana Voiced Sound Mark (Dead Voiced Sound) key |
| 30230 */ |
| 30231 static final String DEAD_VOICED_SOUND = "DeadVoicedSound"; |
| 30232 |
| 30233 /** |
| 30234 * The Combining Katakana-Hiragana Semi-Voiced Sound Mark (Dead Semivoiced |
| 30235 * Sound) key |
| 30236 */ |
| 30237 static final String DEC_SEMIVOICED_SOUND= "DeadSemivoicedSound"; |
| 30238 |
| 30239 /** |
| 30240 * Key value used when an implementation is unable to identify another key |
| 30241 * value, due to either hardware, platform, or software constraints |
| 30242 */ |
| 30243 static final String UNIDENTIFIED = "Unidentified"; |
| 30244 } |
| 30245 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 30246 // for details. All rights reserved. Use of this source code is governed by a |
| 30247 // BSD-style license that can be found in the LICENSE file. |
| 30248 |
| 30249 /** |
| 30250 * Contains the set of standard values returned by HTMLDocument.getReadyState. |
| 30251 */ |
| 30252 interface ReadyState { |
| 30253 /** |
| 30254 * Indicates the document is still loading and parsing. |
| 30255 */ |
| 30256 static final String LOADING = "loading"; |
| 30257 |
| 30258 /** |
| 30259 * Indicates the document is finished parsing but is still loading |
| 30260 * subresources. |
| 30261 */ |
| 30262 static final String INTERACTIVE = "interactive"; |
| 30263 |
| 30264 /** |
| 30265 * Indicates the document and all subresources have been loaded. |
| 30266 */ |
| 30267 static final String COMPLETE = "complete"; |
| 30268 } |
| 30269 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 30270 // for details. All rights reserved. Use of this source code is governed by a |
| 30271 // BSD-style license that can be found in the LICENSE file. |
| 30272 |
| 30273 typedef void TimeoutHandler(); |
| 30274 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 30275 // for details. All rights reserved. Use of this source code is governed by a |
| 30276 // BSD-style license that can be found in the LICENSE file. |
| 30277 |
| 30278 /** |
| 30279 * The [Collections] class implements static methods useful when |
| 30280 * writing a class that implements [Collection] and the [iterator] |
| 30281 * method. |
| 30282 */ |
| 30283 class _Collections { |
| 30284 static void forEach(Iterable<Object> iterable, void f(Object o)) { |
| 30285 for (final e in iterable) { |
| 30286 f(e); |
| 30287 } |
| 30288 } |
| 30289 |
| 30290 static List map(Iterable<Object> source, |
| 30291 List<Object> destination, |
| 30292 f(o)) { |
| 30293 for (final e in source) { |
| 30294 destination.add(f(e)); |
| 30295 } |
| 30296 return destination; |
| 30297 } |
| 30298 |
| 30299 static bool some(Iterable<Object> iterable, bool f(Object o)) { |
| 30300 for (final e in iterable) { |
| 30301 if (f(e)) return true; |
| 30302 } |
| 30303 return false; |
| 30304 } |
| 30305 |
| 30306 static bool every(Iterable<Object> iterable, bool f(Object o)) { |
| 30307 for (final e in iterable) { |
| 30308 if (!f(e)) return false; |
| 30309 } |
| 30310 return true; |
| 30311 } |
| 30312 |
| 30313 static List filter(Iterable<Object> source, |
| 30314 List<Object> destination, |
| 30315 bool f(o)) { |
| 30316 for (final e in source) { |
| 30317 if (f(e)) destination.add(e); |
| 30318 } |
| 30319 return destination; |
| 30320 } |
| 30321 |
| 30322 static bool isEmpty(Iterable<Object> iterable) { |
| 30323 return !iterable.iterator().hasNext(); |
| 30324 } |
| 30325 } |
| 30326 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 30327 // for details. All rights reserved. Use of this source code is governed by a |
| 30328 // BSD-style license that can be found in the LICENSE file. |
| 30329 |
| 30330 class _AudioContextFactoryProvider { |
| 30331 |
| 30332 factory AudioContext() native ''' |
| 30333 var constructor = window.AudioContext || window.webkitAudioContext; |
| 30334 return new constructor(); |
| 30335 '''; |
| 30336 } |
| 30337 |
| 30338 class _DOMParserFactoryProvider { |
| 30339 |
| 30340 factory DOMParser() native 'return new DOMParser();'; |
| 30341 } |
| 30342 |
| 30343 class _FileReaderFactoryProvider { |
| 30344 |
| 30345 factory FileReader() native 'return new FileReader();'; |
| 30346 } |
| 30347 |
| 30348 class _TypedArrayFactoryProvider { |
| 30349 |
| 30350 factory Float32Array(int length) => _F32(length); |
| 30351 factory Float32Array.fromList(List<num> list) => _F32(ensureNative(list)); |
| 30352 factory Float32Array.fromBuffer(ArrayBuffer buffer) => _F32(buffer); |
| 30353 |
| 30354 factory Float64Array(int length) => _F64(length); |
| 30355 factory Float64Array.fromList(List<num> list) => _F64(ensureNative(list)); |
| 30356 factory Float64Array.fromBuffer(ArrayBuffer buffer) => _F64(buffer); |
| 30357 |
| 30358 factory Int8Array(int length) => _I8(length); |
| 30359 factory Int8Array.fromList(List<num> list) => _I8(ensureNative(list)); |
| 30360 factory Int8Array.fromBuffer(ArrayBuffer buffer) => _I8(buffer); |
| 30361 |
| 30362 factory Int16Array(int length) => _I16(length); |
| 30363 factory Int16Array.fromList(List<num> list) => _I16(ensureNative(list)); |
| 30364 factory Int16Array.fromBuffer(ArrayBuffer buffer) => _I16(buffer); |
| 30365 |
| 30366 factory Int32Array(int length) => _I32(length); |
| 30367 factory Int32Array.fromList(List<num> list) => _I32(ensureNative(list)); |
| 30368 factory Int32Array.fromBuffer(ArrayBuffer buffer) => _I32(buffer); |
| 30369 |
| 30370 factory Uint8Array(int length) => _U8(length); |
| 30371 factory Uint8Array.fromList(List<num> list) => _U8(ensureNative(list)); |
| 30372 factory Uint8Array.fromBuffer(ArrayBuffer buffer) => _U8(buffer); |
| 30373 |
| 30374 factory Uint16Array(int length) => _U16(length); |
| 30375 factory Uint16Array.fromList(List<num> list) => _U16(ensureNative(list)); |
| 30376 factory Uint16Array.fromBuffer(ArrayBuffer buffer) => _U16(buffer); |
| 30377 |
| 30378 factory Uint32Array(int length) => _U32(length); |
| 30379 factory Uint32Array.fromList(List<num> list) => _U32(ensureNative(list)); |
| 30380 factory Uint32Array.fromBuffer(ArrayBuffer buffer) => _U32(buffer); |
| 30381 |
| 30382 factory Uint8ClampedArray(int length) => _U8C(length); |
| 30383 factory Uint8ClampedArray.fromList(List<num> list) => _U8C(ensureNative(list))
; |
| 30384 factory Uint8ClampedArray.fromBuffer(ArrayBuffer buffer) => _U8C(buffer); |
| 30385 |
| 30386 static Float32Array _F32(arg) native 'return new Float32Array(arg);'; |
| 30387 static Float64Array _F64(arg) native 'return new Float64Array(arg);'; |
| 30388 static Int8Array _I8(arg) native 'return new Int8Array(arg);'; |
| 30389 static Int16Array _I16(arg) native 'return new Int16Array(arg);'; |
| 30390 static Int32Array _I32(arg) native 'return new Int32Array(arg);'; |
| 30391 static Uint8Array _U8(arg) native 'return new Uint8Array(arg);'; |
| 30392 static Uint16Array _U16(arg) native 'return new Uint16Array(arg);'; |
| 30393 static Uint32Array _U32(arg) native 'return new Uint32Array(arg);'; |
| 30394 static Uint8ClampedArray _U8C(arg) native 'return new Uint8ClampedArray(arg);'
; |
| 30395 |
| 30396 static ensureNative(List list) => list; // TODO: make sure. |
| 30397 } |
| 30398 |
| 30399 class _CSSMatrixFactoryProvider { |
| 30400 |
| 30401 factory CSSMatrix([String spec = '']) native |
| 30402 'return new WebKitCSSMatrix(spec);'; |
| 30403 } |
| 30404 |
| 30405 // TODO(jacobr): this factory does not require any native code so move to a |
| 30406 // separate file so it can be shared between wrapper and wrapperless versions. |
| 30407 class _EventFactoryProvider { |
| 30408 factory Event(String type, [bool canBubble = true, |
| 30409 bool cancelable = true]) { |
| 30410 _EventJs e = _document._createEvent("Event"); |
| 30411 e._initEvent(type, canBubble, cancelable); |
| 30412 return e; |
| 30413 } |
| 30414 } |
| 30415 |
| 30416 class _PointFactoryProvider { |
| 30417 |
| 30418 factory Point(num x, num y) native 'return new WebKitPoint(x, y);'; |
| 30419 } |
| 30420 |
| 30421 class _WebSocketFactoryProvider { |
| 30422 |
| 30423 factory WebSocket(String url) native 'return new WebSocket(url);'; |
| 30424 } |
| 30425 |
| 30426 class _XMLHttpRequestFactoryProvider { |
| 30427 factory XMLHttpRequest() native 'return new XMLHttpRequest();'; |
| 30428 |
| 30429 factory XMLHttpRequest.getTEMPNAME(String url, |
| 30430 onSuccess(XMLHttpRequest request)) { |
| 30431 final request = new XMLHttpRequest(); |
| 30432 request.open('GET', url, true); |
| 30433 |
| 30434 // TODO(terry): Validate after client login added if necessary to forward |
| 30435 // cookies to server. |
| 30436 request.withCredentials = true; |
| 30437 |
| 30438 // Status 0 is for local XHR request. |
| 30439 request.on.readyStateChange.add((e) { |
| 30440 if (request.readyState == XMLHttpRequest.DONE && |
| 30441 (request.status == 200 || request.status == 0)) { |
| 30442 onSuccess(request); |
| 30443 } |
| 30444 }); |
| 30445 |
| 30446 request.send(); |
| 30447 |
| 30448 return request; |
| 30449 } |
| 30450 } |
| 30451 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 30452 // for details. All rights reserved. Use of this source code is governed by a |
| 30453 // BSD-style license that can be found in the LICENSE file. |
| 30454 |
| 30455 /** |
| 30456 * Utils for device detection. |
| 30457 */ |
| 30458 class _Device { |
| 30459 /** |
| 30460 * Gets the browser's user agent. Using this function allows tests to inject |
| 30461 * the user agent. |
| 30462 * Returns the user agent. |
| 30463 */ |
| 30464 static String get userAgent() => dom.window.navigator.userAgent; |
| 30465 |
| 30466 /** |
| 30467 * Determines if the current device is running Firefox. |
| 30468 */ |
| 30469 static bool get isFirefox() => userAgent.contains("Firefox", 0); |
| 30470 } |
| 30471 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 30472 // for details. All rights reserved. Use of this source code is governed by a |
| 30473 // BSD-style license that can be found in the LICENSE file. |
| 30474 |
| 30475 // Iterator for arrays with fixed size. |
| 30476 class _FixedSizeListIterator<T> extends _VariableSizeListIterator<T> { |
| 30477 _FixedSizeListIterator(List<T> array) |
| 30478 : super(array), |
| 30479 _length = array.length; |
| 30480 |
| 30481 bool hasNext() => _length > _pos; |
| 30482 |
| 30483 final int _length; // Cache array length for faster access. |
| 30484 } |
| 30485 |
| 30486 // Iterator for arrays with variable size. |
| 30487 class _VariableSizeListIterator<T> implements Iterator<T> { |
| 30488 _VariableSizeListIterator(List<T> array) |
| 30489 : _array = array, |
| 30490 _pos = 0; |
| 30491 |
| 30492 bool hasNext() => _array.length > _pos; |
| 30493 |
| 30494 T next() { |
| 30495 if (!hasNext()) { |
| 30496 throw const NoMoreElementsException(); |
| 30497 } |
| 30498 return _array[_pos++]; |
| 30499 } |
| 30500 |
| 30501 final List<T> _array; |
| 30502 int _pos; |
| 30503 } |
| 30504 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 30505 // for details. All rights reserved. Use of this source code is governed by a |
| 30506 // BSD-style license that can be found in the LICENSE file. |
| 30507 |
| 30508 class _Lists { |
| 30509 |
| 30510 /** |
| 30511 * Returns the index in the array [a] of the given [element], starting |
| 30512 * the search at index [startIndex] to [endIndex] (exclusive). |
| 30513 * Returns -1 if [element] is not found. |
| 30514 */ |
| 30515 static int indexOf(List a, |
| 30516 Object element, |
| 30517 int startIndex, |
| 30518 int endIndex) { |
| 30519 if (startIndex >= a.length) { |
| 30520 return -1; |
| 30521 } |
| 30522 if (startIndex < 0) { |
| 30523 startIndex = 0; |
| 30524 } |
| 30525 for (int i = startIndex; i < endIndex; i++) { |
| 30526 if (a[i] == element) { |
| 30527 return i; |
| 30528 } |
| 30529 } |
| 30530 return -1; |
| 30531 } |
| 30532 |
| 30533 /** |
| 30534 * Returns the last index in the array [a] of the given [element], starting |
| 30535 * the search at index [startIndex] to 0. |
| 30536 * Returns -1 if [element] is not found. |
| 30537 */ |
| 30538 static int lastIndexOf(List a, Object element, int startIndex) { |
| 30539 if (startIndex < 0) { |
| 30540 return -1; |
| 30541 } |
| 30542 if (startIndex >= a.length) { |
| 30543 startIndex = a.length - 1; |
| 30544 } |
| 30545 for (int i = startIndex; i >= 0; i--) { |
| 30546 if (a[i] == element) { |
| 30547 return i; |
| 30548 } |
| 30549 } |
| 30550 return -1; |
| 30551 } |
| 30552 |
| 30553 /** |
| 30554 * Returns a sub list copy of this list, from [start] to |
| 30555 * [:start + length:]. |
| 30556 * Returns an empty list if [length] is 0. |
| 30557 * Throws an [IllegalArgumentException] if [length] is negative. |
| 30558 * Throws an [IndexOutOfRangeException] if [start] or |
| 30559 * [:start + length:] are out of range. |
| 30560 */ |
| 30561 static List getRange(List a, int start, int length, List accumulator) { |
| 30562 if (length < 0) throw new IllegalArgumentException('length'); |
| 30563 if (start < 0) throw new IndexOutOfRangeException(start); |
| 30564 int end = start + length; |
| 30565 if (end > a.length) throw new IndexOutOfRangeException(end); |
| 30566 for (int i = start; i < end; i++) { |
| 30567 accumulator.add(a[i]); |
| 30568 } |
| 30569 return accumulator; |
| 30570 } |
| 30571 } |
OLD | NEW |