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

Side by Side Diff: client/html/frog/html_frog.dart

Issue 9403004: Wrapperless dart:html generator (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Code review fixes Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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 HRTF = 1;
359
360 static final int SOUNDFIELD = 2;
361
362 final _AudioGainJs coneGain;
363
364 num coneInnerAngle;
365
366 num coneOuterAngle;
367
368 num coneOuterGain;
369
370 final _AudioGainJs distanceGain;
371
372 int distanceModel;
373
374 num maxDistance;
375
376 int panningModel;
377
378 num refDistance;
379
380 num rolloffFactor;
381
382 void setOrientation(num x, num y, num z) native;
383
384 void setPosition(num x, num y, num z) native;
385
386 void setVelocity(num x, num y, num z) native;
387 }
388
389 class _AudioParamJs implements AudioParam native "*AudioParam" {
390
391 final num defaultValue;
392
393 final num maxValue;
394
395 final num minValue;
396
397 final String name;
398
399 final int units;
400
401 num value;
402
403 void cancelScheduledValues(num startTime) native;
404
405 void exponentialRampToValueAtTime(num value, num time) native;
406
407 void linearRampToValueAtTime(num value, num time) native;
408
409 void setTargetValueAtTime(num targetValue, num time, num timeConstant) native;
410
411 void setValueAtTime(num value, num time) native;
412
413 void setValueCurveAtTime(_Float32ArrayJs values, num time, num duration) nativ e;
414 }
415
416 class _AudioProcessingEventJs extends _EventJs implements AudioProcessingEvent n ative "*AudioProcessingEvent" {
417
418 final _AudioBufferJs inputBuffer;
419
420 final _AudioBufferJs outputBuffer;
421 }
422
423 class _AudioSourceNodeJs extends _AudioNodeJs implements AudioSourceNode native "*AudioSourceNode" {
424 }
425
426 class _BRElementJs extends _ElementJs implements BRElement native "*HTMLBRElemen t" {
427
428 String clear;
429 }
430
431 class _BarInfoJs implements BarInfo native "*BarInfo" {
432
433 final bool visible;
434 }
435
436 class _BaseElementJs extends _ElementJs implements BaseElement native "*HTMLBase Element" {
437
438 String href;
439
440 String target;
441 }
442
443 class _BaseFontElementJs extends _ElementJs implements BaseFontElement native "* HTMLBaseFontElement" {
444
445 String color;
446
447 String face;
448
449 int size;
450 }
451
452 class _BeforeLoadEventJs extends _EventJs implements BeforeLoadEvent native "*Be foreLoadEvent" {
453
454 final String url;
455 }
456
457 class _BiquadFilterNodeJs extends _AudioNodeJs implements BiquadFilterNode nativ e "*BiquadFilterNode" {
458
459 static final int ALLPASS = 7;
460
461 static final int BANDPASS = 2;
462
463 static final int HIGHPASS = 1;
464
465 static final int HIGHSHELF = 4;
466
467 static final int LOWPASS = 0;
468
469 static final int LOWSHELF = 3;
470
471 static final int NOTCH = 6;
472
473 static final int PEAKING = 5;
474
475 final _AudioParamJs Q;
476
477 final _AudioParamJs frequency;
478
479 final _AudioParamJs gain;
480
481 int type;
482
483 void getFrequencyResponse(_Float32ArrayJs frequencyHz, _Float32ArrayJs magResp onse, _Float32ArrayJs phaseResponse) native;
484 }
485
486 class _BlobJs implements Blob native "*Blob" {
487
488 final int size;
489
490 final String type;
491
492 _BlobJs webkitSlice([int start = null, int end = null, String contentType = nu ll]) native;
493 }
494
495 class _BlobBuilderJs implements BlobBuilder native "*WebKitBlobBuilder" {
496
497 void append(var arrayBuffer_OR_blob_OR_value, [String endings = null]) native;
498
499 _BlobJs getBlob([String contentType = null]) native;
500 }
501
502 class _BodyElementJs extends _ElementJs implements BodyElement native "*HTMLBody Element" {
503
504 String aLink;
505
506 String background;
507
508 String bgColor;
509
510 String link;
511
512 String text;
513
514 String vLink;
515
516 _BodyElementEventsImpl get on() =>
517 new _BodyElementEventsImpl(this);
518 }
519
520 class _BodyElementEventsImpl extends _ElementEventsImpl implements BodyElementEv ents {
521 _BodyElementEventsImpl(_ptr) : super(_ptr);
522
523 EventListenerList get beforeUnload() => _get('beforeunload');
524
525 EventListenerList get blur() => _get('blur');
526
527 EventListenerList get error() => _get('error');
528
529 EventListenerList get focus() => _get('focus');
530
531 EventListenerList get hashChange() => _get('hashchange');
532
533 EventListenerList get load() => _get('load');
534
535 EventListenerList get message() => _get('message');
536
537 EventListenerList get offline() => _get('offline');
538
539 EventListenerList get online() => _get('online');
540
541 EventListenerList get popState() => _get('popstate');
542
543 EventListenerList get resize() => _get('resize');
544
545 EventListenerList get storage() => _get('storage');
546
547 EventListenerList get unload() => _get('unload');
548 }
549
550 class _ButtonElementJs extends _ElementJs implements ButtonElement native "*HTML ButtonElement" {
551
552 bool autofocus;
553
554 bool disabled;
555
556 final _FormElementJs form;
557
558 String formAction;
559
560 String formEnctype;
561
562 String formMethod;
563
564 bool formNoValidate;
565
566 String formTarget;
567
568 final _NodeListJs labels;
569
570 String name;
571
572 final String type;
573
574 final String validationMessage;
575
576 final _ValidityStateJs validity;
577
578 String value;
579
580 final bool willValidate;
581
582 bool checkValidity() native;
583
584 void click() native;
585
586 void setCustomValidity(String error) native;
587 }
588
589 class _CDATASectionJs extends _TextJs implements CDATASection native "*CDATASect ion" {
590 }
591
592 class _CSSCharsetRuleJs extends _CSSRuleJs implements CSSCharsetRule native "*CS SCharsetRule" {
593
594 String encoding;
595 }
596
597 class _CSSFontFaceRuleJs extends _CSSRuleJs implements CSSFontFaceRule native "* CSSFontFaceRule" {
598
599 final _CSSStyleDeclarationJs style;
600 }
601
602 class _CSSImportRuleJs extends _CSSRuleJs implements CSSImportRule native "*CSSI mportRule" {
603
604 final String href;
605
606 final _MediaListJs media;
607
608 final _CSSStyleSheetJs styleSheet;
609 }
610
611 class _CSSKeyframeRuleJs extends _CSSRuleJs implements CSSKeyframeRule native "* WebKitCSSKeyframeRule" {
612
613 String keyText;
614
615 final _CSSStyleDeclarationJs style;
616 }
617
618 class _CSSKeyframesRuleJs extends _CSSRuleJs implements CSSKeyframesRule native "*WebKitCSSKeyframesRule" {
619
620 final _CSSRuleListJs cssRules;
621
622 String name;
623
624 void deleteRule(String key) native;
625
626 _CSSKeyframeRuleJs findRule(String key) native;
627
628 void insertRule(String rule) native;
629 }
630
631 class _CSSMatrixJs implements CSSMatrix native "*WebKitCSSMatrix" {
632
633 num a;
634
635 num b;
636
637 num c;
638
639 num d;
640
641 num e;
642
643 num f;
644
645 num m11;
646
647 num m12;
648
649 num m13;
650
651 num m14;
652
653 num m21;
654
655 num m22;
656
657 num m23;
658
659 num m24;
660
661 num m31;
662
663 num m32;
664
665 num m33;
666
667 num m34;
668
669 num m41;
670
671 num m42;
672
673 num m43;
674
675 num m44;
676
677 _CSSMatrixJs inverse() native;
678
679 _CSSMatrixJs multiply(_CSSMatrixJs secondMatrix) native;
680
681 _CSSMatrixJs rotate(num rotX, num rotY, num rotZ) native;
682
683 _CSSMatrixJs rotateAxisAngle(num x, num y, num z, num angle) native;
684
685 _CSSMatrixJs scale(num scaleX, num scaleY, num scaleZ) native;
686
687 void setMatrixValue(String string) native;
688
689 _CSSMatrixJs skewX(num angle) native;
690
691 _CSSMatrixJs skewY(num angle) native;
692
693 String toString() native;
694
695 _CSSMatrixJs translate(num x, num y, num z) native;
696 }
697
698 class _CSSMediaRuleJs extends _CSSRuleJs implements CSSMediaRule native "*CSSMed iaRule" {
699
700 final _CSSRuleListJs cssRules;
701
702 final _MediaListJs media;
703
704 void deleteRule(int index) native;
705
706 int insertRule(String rule, int index) native;
707 }
708
709 class _CSSPageRuleJs extends _CSSRuleJs implements CSSPageRule native "*CSSPageR ule" {
710
711 String selectorText;
712
713 final _CSSStyleDeclarationJs style;
714 }
715
716 class _CSSPrimitiveValueJs extends _CSSValueJs implements CSSPrimitiveValue nati ve "*CSSPrimitiveValue" {
717
718 static final int CSS_ATTR = 22;
719
720 static final int CSS_CM = 6;
721
722 static final int CSS_COUNTER = 23;
723
724 static final int CSS_DEG = 11;
725
726 static final int CSS_DIMENSION = 18;
727
728 static final int CSS_EMS = 3;
729
730 static final int CSS_EXS = 4;
731
732 static final int CSS_GRAD = 13;
733
734 static final int CSS_HZ = 16;
735
736 static final int CSS_IDENT = 21;
737
738 static final int CSS_IN = 8;
739
740 static final int CSS_KHZ = 17;
741
742 static final int CSS_MM = 7;
743
744 static final int CSS_MS = 14;
745
746 static final int CSS_NUMBER = 1;
747
748 static final int CSS_PC = 10;
749
750 static final int CSS_PERCENTAGE = 2;
751
752 static final int CSS_PT = 9;
753
754 static final int CSS_PX = 5;
755
756 static final int CSS_RAD = 12;
757
758 static final int CSS_RECT = 24;
759
760 static final int CSS_RGBCOLOR = 25;
761
762 static final int CSS_S = 15;
763
764 static final int CSS_STRING = 19;
765
766 static final int CSS_UNKNOWN = 0;
767
768 static final int CSS_URI = 20;
769
770 final int primitiveType;
771
772 _CounterJs getCounterValue() native;
773
774 num getFloatValue(int unitType) native;
775
776 _RGBColorJs getRGBColorValue() native;
777
778 _RectJs getRectValue() native;
779
780 String getStringValue() native;
781
782 void setFloatValue(int unitType, num floatValue) native;
783
784 void setStringValue(int stringType, String stringValue) native;
785 }
786
787 class _CSSRuleJs implements CSSRule native "*CSSRule" {
788
789 static final int CHARSET_RULE = 2;
790
791 static final int FONT_FACE_RULE = 5;
792
793 static final int IMPORT_RULE = 3;
794
795 static final int MEDIA_RULE = 4;
796
797 static final int PAGE_RULE = 6;
798
799 static final int STYLE_RULE = 1;
800
801 static final int UNKNOWN_RULE = 0;
802
803 static final int WEBKIT_KEYFRAMES_RULE = 8;
804
805 static final int WEBKIT_KEYFRAME_RULE = 9;
806
807 static final int WEBKIT_REGION_RULE = 10;
808
809 String cssText;
810
811 final _CSSRuleJs parentRule;
812
813 final _CSSStyleSheetJs parentStyleSheet;
814
815 final int type;
816 }
817
818 class _CSSRuleListJs implements CSSRuleList native "*CSSRuleList" {
819
820 final int length;
821
822 _CSSRuleJs item(int index) native;
823 }
824 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
825 // for details. All rights reserved. Use of this source code is governed by a
826 // BSD-style license that can be found in the LICENSE file.
827
828 String _cachedBrowserPrefix;
829
830 class _CSSStyleDeclarationJs implements CSSStyleDeclaration native "*CSSStyleDec laration" {
831
832 factory _CSSStyleDeclarationJs.css(String css) {
833 var style = new Element.tag('div').style;
834 style.cssText = css;
835 return style;
836 }
837
838 factory _CSSStyleDeclarationJs() {
839 return new _CSSStyleDeclarationJs.css('');
840 }
841
842 static String get _browserPrefix() {
843 if (_cachedBrowserPrefix === null) {
844 if (_Device.isFirefox) {
845 _cachedBrowserPrefix = '-moz-';
846 } else {
847 _cachedBrowserPrefix = '-webkit-';
848 }
849 // TODO(jacobr): support IE 9.0 and Opera as well.
850 }
851 return _cachedBrowserPrefix;
852 }
853
854
855 String cssText;
856
857 final int length;
858
859 final _CSSRuleJs parentRule;
860
861 _CSSValueJs getPropertyCSSValue(String propertyName) native;
862
863 String getPropertyPriority(String propertyName) native;
864
865 String getPropertyShorthand(String propertyName) native;
866
867 String getPropertyValue(String propertyName) native;
868
869 bool isPropertyImplicit(String propertyName) native;
870
871 String item(int index) native;
872
873 String removeProperty(String propertyName) native;
874
875 void setProperty(String propertyName, String value, [String priority = null]) native;
876
877
878 // TODO(jacobr): generate this list of properties using the existing script.
879 /** Gets the value of "animation" */
880 String get animation() =>
881 getPropertyValue('${_browserPrefix}animation');
882
883 /** Sets the value of "animation" */
884 void set animation(var value) {
885 setProperty('${_browserPrefix}animation', value, '');
886 }
887
888 /** Gets the value of "animation-delay" */
889 String get animationDelay() =>
890 getPropertyValue('${_browserPrefix}animation-delay');
891
892 /** Sets the value of "animation-delay" */
893 void set animationDelay(var value) {
894 setProperty('${_browserPrefix}animation-delay', value, '');
895 }
896
897 /** Gets the value of "animation-direction" */
898 String get animationDirection() =>
899 getPropertyValue('${_browserPrefix}animation-direction');
900
901 /** Sets the value of "animation-direction" */
902 void set animationDirection(var value) {
903 setProperty('${_browserPrefix}animation-direction', value, '');
904 }
905
906 /** Gets the value of "animation-duration" */
907 String get animationDuration() =>
908 getPropertyValue('${_browserPrefix}animation-duration');
909
910 /** Sets the value of "animation-duration" */
911 void set animationDuration(var value) {
912 setProperty('${_browserPrefix}animation-duration', value, '');
913 }
914
915 /** Gets the value of "animation-fill-mode" */
916 String get animationFillMode() =>
917 getPropertyValue('${_browserPrefix}animation-fill-mode');
918
919 /** Sets the value of "animation-fill-mode" */
920 void set animationFillMode(var value) {
921 setProperty('${_browserPrefix}animation-fill-mode', value, '');
922 }
923
924 /** Gets the value of "animation-iteration-count" */
925 String get animationIterationCount() =>
926 getPropertyValue('${_browserPrefix}animation-iteration-count');
927
928 /** Sets the value of "animation-iteration-count" */
929 void set animationIterationCount(var value) {
930 setProperty('${_browserPrefix}animation-iteration-count', value, '');
931 }
932
933 /** Gets the value of "animation-name" */
934 String get animationName() =>
935 getPropertyValue('${_browserPrefix}animation-name');
936
937 /** Sets the value of "animation-name" */
938 void set animationName(var value) {
939 setProperty('${_browserPrefix}animation-name', value, '');
940 }
941
942 /** Gets the value of "animation-play-state" */
943 String get animationPlayState() =>
944 getPropertyValue('${_browserPrefix}animation-play-state');
945
946 /** Sets the value of "animation-play-state" */
947 void set animationPlayState(var value) {
948 setProperty('${_browserPrefix}animation-play-state', value, '');
949 }
950
951 /** Gets the value of "animation-timing-function" */
952 String get animationTimingFunction() =>
953 getPropertyValue('${_browserPrefix}animation-timing-function');
954
955 /** Sets the value of "animation-timing-function" */
956 void set animationTimingFunction(var value) {
957 setProperty('${_browserPrefix}animation-timing-function', value, '');
958 }
959
960 /** Gets the value of "appearance" */
961 String get appearance() =>
962 getPropertyValue('${_browserPrefix}appearance');
963
964 /** Sets the value of "appearance" */
965 void set appearance(var value) {
966 setProperty('${_browserPrefix}appearance', value, '');
967 }
968
969 /** Gets the value of "backface-visibility" */
970 String get backfaceVisibility() =>
971 getPropertyValue('${_browserPrefix}backface-visibility');
972
973 /** Sets the value of "backface-visibility" */
974 void set backfaceVisibility(var value) {
975 setProperty('${_browserPrefix}backface-visibility', value, '');
976 }
977
978 /** Gets the value of "background" */
979 String get background() =>
980 getPropertyValue('background');
981
982 /** Sets the value of "background" */
983 void set background(var value) {
984 setProperty('background', value, '');
985 }
986
987 /** Gets the value of "background-attachment" */
988 String get backgroundAttachment() =>
989 getPropertyValue('background-attachment');
990
991 /** Sets the value of "background-attachment" */
992 void set backgroundAttachment(var value) {
993 setProperty('background-attachment', value, '');
994 }
995
996 /** Gets the value of "background-clip" */
997 String get backgroundClip() =>
998 getPropertyValue('background-clip');
999
1000 /** Sets the value of "background-clip" */
1001 void set backgroundClip(var value) {
1002 setProperty('background-clip', value, '');
1003 }
1004
1005 /** Gets the value of "background-color" */
1006 String get backgroundColor() =>
1007 getPropertyValue('background-color');
1008
1009 /** Sets the value of "background-color" */
1010 void set backgroundColor(var value) {
1011 setProperty('background-color', value, '');
1012 }
1013
1014 /** Gets the value of "background-composite" */
1015 String get backgroundComposite() =>
1016 getPropertyValue('${_browserPrefix}background-composite');
1017
1018 /** Sets the value of "background-composite" */
1019 void set backgroundComposite(var value) {
1020 setProperty('${_browserPrefix}background-composite', value, '');
1021 }
1022
1023 /** Gets the value of "background-image" */
1024 String get backgroundImage() =>
1025 getPropertyValue('background-image');
1026
1027 /** Sets the value of "background-image" */
1028 void set backgroundImage(var value) {
1029 setProperty('background-image', value, '');
1030 }
1031
1032 /** Gets the value of "background-origin" */
1033 String get backgroundOrigin() =>
1034 getPropertyValue('background-origin');
1035
1036 /** Sets the value of "background-origin" */
1037 void set backgroundOrigin(var value) {
1038 setProperty('background-origin', value, '');
1039 }
1040
1041 /** Gets the value of "background-position" */
1042 String get backgroundPosition() =>
1043 getPropertyValue('background-position');
1044
1045 /** Sets the value of "background-position" */
1046 void set backgroundPosition(var value) {
1047 setProperty('background-position', value, '');
1048 }
1049
1050 /** Gets the value of "background-position-x" */
1051 String get backgroundPositionX() =>
1052 getPropertyValue('background-position-x');
1053
1054 /** Sets the value of "background-position-x" */
1055 void set backgroundPositionX(var value) {
1056 setProperty('background-position-x', value, '');
1057 }
1058
1059 /** Gets the value of "background-position-y" */
1060 String get backgroundPositionY() =>
1061 getPropertyValue('background-position-y');
1062
1063 /** Sets the value of "background-position-y" */
1064 void set backgroundPositionY(var value) {
1065 setProperty('background-position-y', value, '');
1066 }
1067
1068 /** Gets the value of "background-repeat" */
1069 String get backgroundRepeat() =>
1070 getPropertyValue('background-repeat');
1071
1072 /** Sets the value of "background-repeat" */
1073 void set backgroundRepeat(var value) {
1074 setProperty('background-repeat', value, '');
1075 }
1076
1077 /** Gets the value of "background-repeat-x" */
1078 String get backgroundRepeatX() =>
1079 getPropertyValue('background-repeat-x');
1080
1081 /** Sets the value of "background-repeat-x" */
1082 void set backgroundRepeatX(var value) {
1083 setProperty('background-repeat-x', value, '');
1084 }
1085
1086 /** Gets the value of "background-repeat-y" */
1087 String get backgroundRepeatY() =>
1088 getPropertyValue('background-repeat-y');
1089
1090 /** Sets the value of "background-repeat-y" */
1091 void set backgroundRepeatY(var value) {
1092 setProperty('background-repeat-y', value, '');
1093 }
1094
1095 /** Gets the value of "background-size" */
1096 String get backgroundSize() =>
1097 getPropertyValue('background-size');
1098
1099 /** Sets the value of "background-size" */
1100 void set backgroundSize(var value) {
1101 setProperty('background-size', value, '');
1102 }
1103
1104 /** Gets the value of "border" */
1105 String get border() =>
1106 getPropertyValue('border');
1107
1108 /** Sets the value of "border" */
1109 void set border(var value) {
1110 setProperty('border', value, '');
1111 }
1112
1113 /** Gets the value of "border-after" */
1114 String get borderAfter() =>
1115 getPropertyValue('${_browserPrefix}border-after');
1116
1117 /** Sets the value of "border-after" */
1118 void set borderAfter(var value) {
1119 setProperty('${_browserPrefix}border-after', value, '');
1120 }
1121
1122 /** Gets the value of "border-after-color" */
1123 String get borderAfterColor() =>
1124 getPropertyValue('${_browserPrefix}border-after-color');
1125
1126 /** Sets the value of "border-after-color" */
1127 void set borderAfterColor(var value) {
1128 setProperty('${_browserPrefix}border-after-color', value, '');
1129 }
1130
1131 /** Gets the value of "border-after-style" */
1132 String get borderAfterStyle() =>
1133 getPropertyValue('${_browserPrefix}border-after-style');
1134
1135 /** Sets the value of "border-after-style" */
1136 void set borderAfterStyle(var value) {
1137 setProperty('${_browserPrefix}border-after-style', value, '');
1138 }
1139
1140 /** Gets the value of "border-after-width" */
1141 String get borderAfterWidth() =>
1142 getPropertyValue('${_browserPrefix}border-after-width');
1143
1144 /** Sets the value of "border-after-width" */
1145 void set borderAfterWidth(var value) {
1146 setProperty('${_browserPrefix}border-after-width', value, '');
1147 }
1148
1149 /** Gets the value of "border-before" */
1150 String get borderBefore() =>
1151 getPropertyValue('${_browserPrefix}border-before');
1152
1153 /** Sets the value of "border-before" */
1154 void set borderBefore(var value) {
1155 setProperty('${_browserPrefix}border-before', value, '');
1156 }
1157
1158 /** Gets the value of "border-before-color" */
1159 String get borderBeforeColor() =>
1160 getPropertyValue('${_browserPrefix}border-before-color');
1161
1162 /** Sets the value of "border-before-color" */
1163 void set borderBeforeColor(var value) {
1164 setProperty('${_browserPrefix}border-before-color', value, '');
1165 }
1166
1167 /** Gets the value of "border-before-style" */
1168 String get borderBeforeStyle() =>
1169 getPropertyValue('${_browserPrefix}border-before-style');
1170
1171 /** Sets the value of "border-before-style" */
1172 void set borderBeforeStyle(var value) {
1173 setProperty('${_browserPrefix}border-before-style', value, '');
1174 }
1175
1176 /** Gets the value of "border-before-width" */
1177 String get borderBeforeWidth() =>
1178 getPropertyValue('${_browserPrefix}border-before-width');
1179
1180 /** Sets the value of "border-before-width" */
1181 void set borderBeforeWidth(var value) {
1182 setProperty('${_browserPrefix}border-before-width', value, '');
1183 }
1184
1185 /** Gets the value of "border-bottom" */
1186 String get borderBottom() =>
1187 getPropertyValue('border-bottom');
1188
1189 /** Sets the value of "border-bottom" */
1190 void set borderBottom(var value) {
1191 setProperty('border-bottom', value, '');
1192 }
1193
1194 /** Gets the value of "border-bottom-color" */
1195 String get borderBottomColor() =>
1196 getPropertyValue('border-bottom-color');
1197
1198 /** Sets the value of "border-bottom-color" */
1199 void set borderBottomColor(var value) {
1200 setProperty('border-bottom-color', value, '');
1201 }
1202
1203 /** Gets the value of "border-bottom-left-radius" */
1204 String get borderBottomLeftRadius() =>
1205 getPropertyValue('border-bottom-left-radius');
1206
1207 /** Sets the value of "border-bottom-left-radius" */
1208 void set borderBottomLeftRadius(var value) {
1209 setProperty('border-bottom-left-radius', value, '');
1210 }
1211
1212 /** Gets the value of "border-bottom-right-radius" */
1213 String get borderBottomRightRadius() =>
1214 getPropertyValue('border-bottom-right-radius');
1215
1216 /** Sets the value of "border-bottom-right-radius" */
1217 void set borderBottomRightRadius(var value) {
1218 setProperty('border-bottom-right-radius', value, '');
1219 }
1220
1221 /** Gets the value of "border-bottom-style" */
1222 String get borderBottomStyle() =>
1223 getPropertyValue('border-bottom-style');
1224
1225 /** Sets the value of "border-bottom-style" */
1226 void set borderBottomStyle(var value) {
1227 setProperty('border-bottom-style', value, '');
1228 }
1229
1230 /** Gets the value of "border-bottom-width" */
1231 String get borderBottomWidth() =>
1232 getPropertyValue('border-bottom-width');
1233
1234 /** Sets the value of "border-bottom-width" */
1235 void set borderBottomWidth(var value) {
1236 setProperty('border-bottom-width', value, '');
1237 }
1238
1239 /** Gets the value of "border-collapse" */
1240 String get borderCollapse() =>
1241 getPropertyValue('border-collapse');
1242
1243 /** Sets the value of "border-collapse" */
1244 void set borderCollapse(var value) {
1245 setProperty('border-collapse', value, '');
1246 }
1247
1248 /** Gets the value of "border-color" */
1249 String get borderColor() =>
1250 getPropertyValue('border-color');
1251
1252 /** Sets the value of "border-color" */
1253 void set borderColor(var value) {
1254 setProperty('border-color', value, '');
1255 }
1256
1257 /** Gets the value of "border-end" */
1258 String get borderEnd() =>
1259 getPropertyValue('${_browserPrefix}border-end');
1260
1261 /** Sets the value of "border-end" */
1262 void set borderEnd(var value) {
1263 setProperty('${_browserPrefix}border-end', value, '');
1264 }
1265
1266 /** Gets the value of "border-end-color" */
1267 String get borderEndColor() =>
1268 getPropertyValue('${_browserPrefix}border-end-color');
1269
1270 /** Sets the value of "border-end-color" */
1271 void set borderEndColor(var value) {
1272 setProperty('${_browserPrefix}border-end-color', value, '');
1273 }
1274
1275 /** Gets the value of "border-end-style" */
1276 String get borderEndStyle() =>
1277 getPropertyValue('${_browserPrefix}border-end-style');
1278
1279 /** Sets the value of "border-end-style" */
1280 void set borderEndStyle(var value) {
1281 setProperty('${_browserPrefix}border-end-style', value, '');
1282 }
1283
1284 /** Gets the value of "border-end-width" */
1285 String get borderEndWidth() =>
1286 getPropertyValue('${_browserPrefix}border-end-width');
1287
1288 /** Sets the value of "border-end-width" */
1289 void set borderEndWidth(var value) {
1290 setProperty('${_browserPrefix}border-end-width', value, '');
1291 }
1292
1293 /** Gets the value of "border-fit" */
1294 String get borderFit() =>
1295 getPropertyValue('${_browserPrefix}border-fit');
1296
1297 /** Sets the value of "border-fit" */
1298 void set borderFit(var value) {
1299 setProperty('${_browserPrefix}border-fit', value, '');
1300 }
1301
1302 /** Gets the value of "border-horizontal-spacing" */
1303 String get borderHorizontalSpacing() =>
1304 getPropertyValue('${_browserPrefix}border-horizontal-spacing');
1305
1306 /** Sets the value of "border-horizontal-spacing" */
1307 void set borderHorizontalSpacing(var value) {
1308 setProperty('${_browserPrefix}border-horizontal-spacing', value, '');
1309 }
1310
1311 /** Gets the value of "border-image" */
1312 String get borderImage() =>
1313 getPropertyValue('border-image');
1314
1315 /** Sets the value of "border-image" */
1316 void set borderImage(var value) {
1317 setProperty('border-image', value, '');
1318 }
1319
1320 /** Gets the value of "border-image-outset" */
1321 String get borderImageOutset() =>
1322 getPropertyValue('border-image-outset');
1323
1324 /** Sets the value of "border-image-outset" */
1325 void set borderImageOutset(var value) {
1326 setProperty('border-image-outset', value, '');
1327 }
1328
1329 /** Gets the value of "border-image-repeat" */
1330 String get borderImageRepeat() =>
1331 getPropertyValue('border-image-repeat');
1332
1333 /** Sets the value of "border-image-repeat" */
1334 void set borderImageRepeat(var value) {
1335 setProperty('border-image-repeat', value, '');
1336 }
1337
1338 /** Gets the value of "border-image-slice" */
1339 String get borderImageSlice() =>
1340 getPropertyValue('border-image-slice');
1341
1342 /** Sets the value of "border-image-slice" */
1343 void set borderImageSlice(var value) {
1344 setProperty('border-image-slice', value, '');
1345 }
1346
1347 /** Gets the value of "border-image-source" */
1348 String get borderImageSource() =>
1349 getPropertyValue('border-image-source');
1350
1351 /** Sets the value of "border-image-source" */
1352 void set borderImageSource(var value) {
1353 setProperty('border-image-source', value, '');
1354 }
1355
1356 /** Gets the value of "border-image-width" */
1357 String get borderImageWidth() =>
1358 getPropertyValue('border-image-width');
1359
1360 /** Sets the value of "border-image-width" */
1361 void set borderImageWidth(var value) {
1362 setProperty('border-image-width', value, '');
1363 }
1364
1365 /** Gets the value of "border-left" */
1366 String get borderLeft() =>
1367 getPropertyValue('border-left');
1368
1369 /** Sets the value of "border-left" */
1370 void set borderLeft(var value) {
1371 setProperty('border-left', value, '');
1372 }
1373
1374 /** Gets the value of "border-left-color" */
1375 String get borderLeftColor() =>
1376 getPropertyValue('border-left-color');
1377
1378 /** Sets the value of "border-left-color" */
1379 void set borderLeftColor(var value) {
1380 setProperty('border-left-color', value, '');
1381 }
1382
1383 /** Gets the value of "border-left-style" */
1384 String get borderLeftStyle() =>
1385 getPropertyValue('border-left-style');
1386
1387 /** Sets the value of "border-left-style" */
1388 void set borderLeftStyle(var value) {
1389 setProperty('border-left-style', value, '');
1390 }
1391
1392 /** Gets the value of "border-left-width" */
1393 String get borderLeftWidth() =>
1394 getPropertyValue('border-left-width');
1395
1396 /** Sets the value of "border-left-width" */
1397 void set borderLeftWidth(var value) {
1398 setProperty('border-left-width', value, '');
1399 }
1400
1401 /** Gets the value of "border-radius" */
1402 String get borderRadius() =>
1403 getPropertyValue('border-radius');
1404
1405 /** Sets the value of "border-radius" */
1406 void set borderRadius(var value) {
1407 setProperty('border-radius', value, '');
1408 }
1409
1410 /** Gets the value of "border-right" */
1411 String get borderRight() =>
1412 getPropertyValue('border-right');
1413
1414 /** Sets the value of "border-right" */
1415 void set borderRight(var value) {
1416 setProperty('border-right', value, '');
1417 }
1418
1419 /** Gets the value of "border-right-color" */
1420 String get borderRightColor() =>
1421 getPropertyValue('border-right-color');
1422
1423 /** Sets the value of "border-right-color" */
1424 void set borderRightColor(var value) {
1425 setProperty('border-right-color', value, '');
1426 }
1427
1428 /** Gets the value of "border-right-style" */
1429 String get borderRightStyle() =>
1430 getPropertyValue('border-right-style');
1431
1432 /** Sets the value of "border-right-style" */
1433 void set borderRightStyle(var value) {
1434 setProperty('border-right-style', value, '');
1435 }
1436
1437 /** Gets the value of "border-right-width" */
1438 String get borderRightWidth() =>
1439 getPropertyValue('border-right-width');
1440
1441 /** Sets the value of "border-right-width" */
1442 void set borderRightWidth(var value) {
1443 setProperty('border-right-width', value, '');
1444 }
1445
1446 /** Gets the value of "border-spacing" */
1447 String get borderSpacing() =>
1448 getPropertyValue('border-spacing');
1449
1450 /** Sets the value of "border-spacing" */
1451 void set borderSpacing(var value) {
1452 setProperty('border-spacing', value, '');
1453 }
1454
1455 /** Gets the value of "border-start" */
1456 String get borderStart() =>
1457 getPropertyValue('${_browserPrefix}border-start');
1458
1459 /** Sets the value of "border-start" */
1460 void set borderStart(var value) {
1461 setProperty('${_browserPrefix}border-start', value, '');
1462 }
1463
1464 /** Gets the value of "border-start-color" */
1465 String get borderStartColor() =>
1466 getPropertyValue('${_browserPrefix}border-start-color');
1467
1468 /** Sets the value of "border-start-color" */
1469 void set borderStartColor(var value) {
1470 setProperty('${_browserPrefix}border-start-color', value, '');
1471 }
1472
1473 /** Gets the value of "border-start-style" */
1474 String get borderStartStyle() =>
1475 getPropertyValue('${_browserPrefix}border-start-style');
1476
1477 /** Sets the value of "border-start-style" */
1478 void set borderStartStyle(var value) {
1479 setProperty('${_browserPrefix}border-start-style', value, '');
1480 }
1481
1482 /** Gets the value of "border-start-width" */
1483 String get borderStartWidth() =>
1484 getPropertyValue('${_browserPrefix}border-start-width');
1485
1486 /** Sets the value of "border-start-width" */
1487 void set borderStartWidth(var value) {
1488 setProperty('${_browserPrefix}border-start-width', value, '');
1489 }
1490
1491 /** Gets the value of "border-style" */
1492 String get borderStyle() =>
1493 getPropertyValue('border-style');
1494
1495 /** Sets the value of "border-style" */
1496 void set borderStyle(var value) {
1497 setProperty('border-style', value, '');
1498 }
1499
1500 /** Gets the value of "border-top" */
1501 String get borderTop() =>
1502 getPropertyValue('border-top');
1503
1504 /** Sets the value of "border-top" */
1505 void set borderTop(var value) {
1506 setProperty('border-top', value, '');
1507 }
1508
1509 /** Gets the value of "border-top-color" */
1510 String get borderTopColor() =>
1511 getPropertyValue('border-top-color');
1512
1513 /** Sets the value of "border-top-color" */
1514 void set borderTopColor(var value) {
1515 setProperty('border-top-color', value, '');
1516 }
1517
1518 /** Gets the value of "border-top-left-radius" */
1519 String get borderTopLeftRadius() =>
1520 getPropertyValue('border-top-left-radius');
1521
1522 /** Sets the value of "border-top-left-radius" */
1523 void set borderTopLeftRadius(var value) {
1524 setProperty('border-top-left-radius', value, '');
1525 }
1526
1527 /** Gets the value of "border-top-right-radius" */
1528 String get borderTopRightRadius() =>
1529 getPropertyValue('border-top-right-radius');
1530
1531 /** Sets the value of "border-top-right-radius" */
1532 void set borderTopRightRadius(var value) {
1533 setProperty('border-top-right-radius', value, '');
1534 }
1535
1536 /** Gets the value of "border-top-style" */
1537 String get borderTopStyle() =>
1538 getPropertyValue('border-top-style');
1539
1540 /** Sets the value of "border-top-style" */
1541 void set borderTopStyle(var value) {
1542 setProperty('border-top-style', value, '');
1543 }
1544
1545 /** Gets the value of "border-top-width" */
1546 String get borderTopWidth() =>
1547 getPropertyValue('border-top-width');
1548
1549 /** Sets the value of "border-top-width" */
1550 void set borderTopWidth(var value) {
1551 setProperty('border-top-width', value, '');
1552 }
1553
1554 /** Gets the value of "border-vertical-spacing" */
1555 String get borderVerticalSpacing() =>
1556 getPropertyValue('${_browserPrefix}border-vertical-spacing');
1557
1558 /** Sets the value of "border-vertical-spacing" */
1559 void set borderVerticalSpacing(var value) {
1560 setProperty('${_browserPrefix}border-vertical-spacing', value, '');
1561 }
1562
1563 /** Gets the value of "border-width" */
1564 String get borderWidth() =>
1565 getPropertyValue('border-width');
1566
1567 /** Sets the value of "border-width" */
1568 void set borderWidth(var value) {
1569 setProperty('border-width', value, '');
1570 }
1571
1572 /** Gets the value of "bottom" */
1573 String get bottom() =>
1574 getPropertyValue('bottom');
1575
1576 /** Sets the value of "bottom" */
1577 void set bottom(var value) {
1578 setProperty('bottom', value, '');
1579 }
1580
1581 /** Gets the value of "box-align" */
1582 String get boxAlign() =>
1583 getPropertyValue('${_browserPrefix}box-align');
1584
1585 /** Sets the value of "box-align" */
1586 void set boxAlign(var value) {
1587 setProperty('${_browserPrefix}box-align', value, '');
1588 }
1589
1590 /** Gets the value of "box-direction" */
1591 String get boxDirection() =>
1592 getPropertyValue('${_browserPrefix}box-direction');
1593
1594 /** Sets the value of "box-direction" */
1595 void set boxDirection(var value) {
1596 setProperty('${_browserPrefix}box-direction', value, '');
1597 }
1598
1599 /** Gets the value of "box-flex" */
1600 String get boxFlex() =>
1601 getPropertyValue('${_browserPrefix}box-flex');
1602
1603 /** Sets the value of "box-flex" */
1604 void set boxFlex(var value) {
1605 setProperty('${_browserPrefix}box-flex', value, '');
1606 }
1607
1608 /** Gets the value of "box-flex-group" */
1609 String get boxFlexGroup() =>
1610 getPropertyValue('${_browserPrefix}box-flex-group');
1611
1612 /** Sets the value of "box-flex-group" */
1613 void set boxFlexGroup(var value) {
1614 setProperty('${_browserPrefix}box-flex-group', value, '');
1615 }
1616
1617 /** Gets the value of "box-lines" */
1618 String get boxLines() =>
1619 getPropertyValue('${_browserPrefix}box-lines');
1620
1621 /** Sets the value of "box-lines" */
1622 void set boxLines(var value) {
1623 setProperty('${_browserPrefix}box-lines', value, '');
1624 }
1625
1626 /** Gets the value of "box-ordinal-group" */
1627 String get boxOrdinalGroup() =>
1628 getPropertyValue('${_browserPrefix}box-ordinal-group');
1629
1630 /** Sets the value of "box-ordinal-group" */
1631 void set boxOrdinalGroup(var value) {
1632 setProperty('${_browserPrefix}box-ordinal-group', value, '');
1633 }
1634
1635 /** Gets the value of "box-orient" */
1636 String get boxOrient() =>
1637 getPropertyValue('${_browserPrefix}box-orient');
1638
1639 /** Sets the value of "box-orient" */
1640 void set boxOrient(var value) {
1641 setProperty('${_browserPrefix}box-orient', value, '');
1642 }
1643
1644 /** Gets the value of "box-pack" */
1645 String get boxPack() =>
1646 getPropertyValue('${_browserPrefix}box-pack');
1647
1648 /** Sets the value of "box-pack" */
1649 void set boxPack(var value) {
1650 setProperty('${_browserPrefix}box-pack', value, '');
1651 }
1652
1653 /** Gets the value of "box-reflect" */
1654 String get boxReflect() =>
1655 getPropertyValue('${_browserPrefix}box-reflect');
1656
1657 /** Sets the value of "box-reflect" */
1658 void set boxReflect(var value) {
1659 setProperty('${_browserPrefix}box-reflect', value, '');
1660 }
1661
1662 /** Gets the value of "box-shadow" */
1663 String get boxShadow() =>
1664 getPropertyValue('box-shadow');
1665
1666 /** Sets the value of "box-shadow" */
1667 void set boxShadow(var value) {
1668 setProperty('box-shadow', value, '');
1669 }
1670
1671 /** Gets the value of "box-sizing" */
1672 String get boxSizing() =>
1673 getPropertyValue('box-sizing');
1674
1675 /** Sets the value of "box-sizing" */
1676 void set boxSizing(var value) {
1677 setProperty('box-sizing', value, '');
1678 }
1679
1680 /** Gets the value of "caption-side" */
1681 String get captionSide() =>
1682 getPropertyValue('caption-side');
1683
1684 /** Sets the value of "caption-side" */
1685 void set captionSide(var value) {
1686 setProperty('caption-side', value, '');
1687 }
1688
1689 /** Gets the value of "clear" */
1690 String get clear() =>
1691 getPropertyValue('clear');
1692
1693 /** Sets the value of "clear" */
1694 void set clear(var value) {
1695 setProperty('clear', value, '');
1696 }
1697
1698 /** Gets the value of "clip" */
1699 String get clip() =>
1700 getPropertyValue('clip');
1701
1702 /** Sets the value of "clip" */
1703 void set clip(var value) {
1704 setProperty('clip', value, '');
1705 }
1706
1707 /** Gets the value of "color" */
1708 String get color() =>
1709 getPropertyValue('color');
1710
1711 /** Sets the value of "color" */
1712 void set color(var value) {
1713 setProperty('color', value, '');
1714 }
1715
1716 /** Gets the value of "color-correction" */
1717 String get colorCorrection() =>
1718 getPropertyValue('${_browserPrefix}color-correction');
1719
1720 /** Sets the value of "color-correction" */
1721 void set colorCorrection(var value) {
1722 setProperty('${_browserPrefix}color-correction', value, '');
1723 }
1724
1725 /** Gets the value of "column-break-after" */
1726 String get columnBreakAfter() =>
1727 getPropertyValue('${_browserPrefix}column-break-after');
1728
1729 /** Sets the value of "column-break-after" */
1730 void set columnBreakAfter(var value) {
1731 setProperty('${_browserPrefix}column-break-after', value, '');
1732 }
1733
1734 /** Gets the value of "column-break-before" */
1735 String get columnBreakBefore() =>
1736 getPropertyValue('${_browserPrefix}column-break-before');
1737
1738 /** Sets the value of "column-break-before" */
1739 void set columnBreakBefore(var value) {
1740 setProperty('${_browserPrefix}column-break-before', value, '');
1741 }
1742
1743 /** Gets the value of "column-break-inside" */
1744 String get columnBreakInside() =>
1745 getPropertyValue('${_browserPrefix}column-break-inside');
1746
1747 /** Sets the value of "column-break-inside" */
1748 void set columnBreakInside(var value) {
1749 setProperty('${_browserPrefix}column-break-inside', value, '');
1750 }
1751
1752 /** Gets the value of "column-count" */
1753 String get columnCount() =>
1754 getPropertyValue('${_browserPrefix}column-count');
1755
1756 /** Sets the value of "column-count" */
1757 void set columnCount(var value) {
1758 setProperty('${_browserPrefix}column-count', value, '');
1759 }
1760
1761 /** Gets the value of "column-gap" */
1762 String get columnGap() =>
1763 getPropertyValue('${_browserPrefix}column-gap');
1764
1765 /** Sets the value of "column-gap" */
1766 void set columnGap(var value) {
1767 setProperty('${_browserPrefix}column-gap', value, '');
1768 }
1769
1770 /** Gets the value of "column-rule" */
1771 String get columnRule() =>
1772 getPropertyValue('${_browserPrefix}column-rule');
1773
1774 /** Sets the value of "column-rule" */
1775 void set columnRule(var value) {
1776 setProperty('${_browserPrefix}column-rule', value, '');
1777 }
1778
1779 /** Gets the value of "column-rule-color" */
1780 String get columnRuleColor() =>
1781 getPropertyValue('${_browserPrefix}column-rule-color');
1782
1783 /** Sets the value of "column-rule-color" */
1784 void set columnRuleColor(var value) {
1785 setProperty('${_browserPrefix}column-rule-color', value, '');
1786 }
1787
1788 /** Gets the value of "column-rule-style" */
1789 String get columnRuleStyle() =>
1790 getPropertyValue('${_browserPrefix}column-rule-style');
1791
1792 /** Sets the value of "column-rule-style" */
1793 void set columnRuleStyle(var value) {
1794 setProperty('${_browserPrefix}column-rule-style', value, '');
1795 }
1796
1797 /** Gets the value of "column-rule-width" */
1798 String get columnRuleWidth() =>
1799 getPropertyValue('${_browserPrefix}column-rule-width');
1800
1801 /** Sets the value of "column-rule-width" */
1802 void set columnRuleWidth(var value) {
1803 setProperty('${_browserPrefix}column-rule-width', value, '');
1804 }
1805
1806 /** Gets the value of "column-span" */
1807 String get columnSpan() =>
1808 getPropertyValue('${_browserPrefix}column-span');
1809
1810 /** Sets the value of "column-span" */
1811 void set columnSpan(var value) {
1812 setProperty('${_browserPrefix}column-span', value, '');
1813 }
1814
1815 /** Gets the value of "column-width" */
1816 String get columnWidth() =>
1817 getPropertyValue('${_browserPrefix}column-width');
1818
1819 /** Sets the value of "column-width" */
1820 void set columnWidth(var value) {
1821 setProperty('${_browserPrefix}column-width', value, '');
1822 }
1823
1824 /** Gets the value of "columns" */
1825 String get columns() =>
1826 getPropertyValue('${_browserPrefix}columns');
1827
1828 /** Sets the value of "columns" */
1829 void set columns(var value) {
1830 setProperty('${_browserPrefix}columns', value, '');
1831 }
1832
1833 /** Gets the value of "content" */
1834 String get content() =>
1835 getPropertyValue('content');
1836
1837 /** Sets the value of "content" */
1838 void set content(var value) {
1839 setProperty('content', value, '');
1840 }
1841
1842 /** Gets the value of "counter-increment" */
1843 String get counterIncrement() =>
1844 getPropertyValue('counter-increment');
1845
1846 /** Sets the value of "counter-increment" */
1847 void set counterIncrement(var value) {
1848 setProperty('counter-increment', value, '');
1849 }
1850
1851 /** Gets the value of "counter-reset" */
1852 String get counterReset() =>
1853 getPropertyValue('counter-reset');
1854
1855 /** Sets the value of "counter-reset" */
1856 void set counterReset(var value) {
1857 setProperty('counter-reset', value, '');
1858 }
1859
1860 /** Gets the value of "cursor" */
1861 String get cursor() =>
1862 getPropertyValue('cursor');
1863
1864 /** Sets the value of "cursor" */
1865 void set cursor(var value) {
1866 setProperty('cursor', value, '');
1867 }
1868
1869 /** Gets the value of "direction" */
1870 String get direction() =>
1871 getPropertyValue('direction');
1872
1873 /** Sets the value of "direction" */
1874 void set direction(var value) {
1875 setProperty('direction', value, '');
1876 }
1877
1878 /** Gets the value of "display" */
1879 String get display() =>
1880 getPropertyValue('display');
1881
1882 /** Sets the value of "display" */
1883 void set display(var value) {
1884 setProperty('display', value, '');
1885 }
1886
1887 /** Gets the value of "empty-cells" */
1888 String get emptyCells() =>
1889 getPropertyValue('empty-cells');
1890
1891 /** Sets the value of "empty-cells" */
1892 void set emptyCells(var value) {
1893 setProperty('empty-cells', value, '');
1894 }
1895
1896 /** Gets the value of "filter" */
1897 String get filter() =>
1898 getPropertyValue('${_browserPrefix}filter');
1899
1900 /** Sets the value of "filter" */
1901 void set filter(var value) {
1902 setProperty('${_browserPrefix}filter', value, '');
1903 }
1904
1905 /** Gets the value of "flex-align" */
1906 String get flexAlign() =>
1907 getPropertyValue('${_browserPrefix}flex-align');
1908
1909 /** Sets the value of "flex-align" */
1910 void set flexAlign(var value) {
1911 setProperty('${_browserPrefix}flex-align', value, '');
1912 }
1913
1914 /** Gets the value of "flex-flow" */
1915 String get flexFlow() =>
1916 getPropertyValue('${_browserPrefix}flex-flow');
1917
1918 /** Sets the value of "flex-flow" */
1919 void set flexFlow(var value) {
1920 setProperty('${_browserPrefix}flex-flow', value, '');
1921 }
1922
1923 /** Gets the value of "flex-order" */
1924 String get flexOrder() =>
1925 getPropertyValue('${_browserPrefix}flex-order');
1926
1927 /** Sets the value of "flex-order" */
1928 void set flexOrder(var value) {
1929 setProperty('${_browserPrefix}flex-order', value, '');
1930 }
1931
1932 /** Gets the value of "flex-pack" */
1933 String get flexPack() =>
1934 getPropertyValue('${_browserPrefix}flex-pack');
1935
1936 /** Sets the value of "flex-pack" */
1937 void set flexPack(var value) {
1938 setProperty('${_browserPrefix}flex-pack', value, '');
1939 }
1940
1941 /** Gets the value of "float" */
1942 String get float() =>
1943 getPropertyValue('float');
1944
1945 /** Sets the value of "float" */
1946 void set float(var value) {
1947 setProperty('float', value, '');
1948 }
1949
1950 /** Gets the value of "flow-from" */
1951 String get flowFrom() =>
1952 getPropertyValue('${_browserPrefix}flow-from');
1953
1954 /** Sets the value of "flow-from" */
1955 void set flowFrom(var value) {
1956 setProperty('${_browserPrefix}flow-from', value, '');
1957 }
1958
1959 /** Gets the value of "flow-into" */
1960 String get flowInto() =>
1961 getPropertyValue('${_browserPrefix}flow-into');
1962
1963 /** Sets the value of "flow-into" */
1964 void set flowInto(var value) {
1965 setProperty('${_browserPrefix}flow-into', value, '');
1966 }
1967
1968 /** Gets the value of "font" */
1969 String get font() =>
1970 getPropertyValue('font');
1971
1972 /** Sets the value of "font" */
1973 void set font(var value) {
1974 setProperty('font', value, '');
1975 }
1976
1977 /** Gets the value of "font-family" */
1978 String get fontFamily() =>
1979 getPropertyValue('font-family');
1980
1981 /** Sets the value of "font-family" */
1982 void set fontFamily(var value) {
1983 setProperty('font-family', value, '');
1984 }
1985
1986 /** Gets the value of "font-feature-settings" */
1987 String get fontFeatureSettings() =>
1988 getPropertyValue('${_browserPrefix}font-feature-settings');
1989
1990 /** Sets the value of "font-feature-settings" */
1991 void set fontFeatureSettings(var value) {
1992 setProperty('${_browserPrefix}font-feature-settings', value, '');
1993 }
1994
1995 /** Gets the value of "font-size" */
1996 String get fontSize() =>
1997 getPropertyValue('font-size');
1998
1999 /** Sets the value of "font-size" */
2000 void set fontSize(var value) {
2001 setProperty('font-size', value, '');
2002 }
2003
2004 /** Gets the value of "font-size-delta" */
2005 String get fontSizeDelta() =>
2006 getPropertyValue('${_browserPrefix}font-size-delta');
2007
2008 /** Sets the value of "font-size-delta" */
2009 void set fontSizeDelta(var value) {
2010 setProperty('${_browserPrefix}font-size-delta', value, '');
2011 }
2012
2013 /** Gets the value of "font-smoothing" */
2014 String get fontSmoothing() =>
2015 getPropertyValue('${_browserPrefix}font-smoothing');
2016
2017 /** Sets the value of "font-smoothing" */
2018 void set fontSmoothing(var value) {
2019 setProperty('${_browserPrefix}font-smoothing', value, '');
2020 }
2021
2022 /** Gets the value of "font-stretch" */
2023 String get fontStretch() =>
2024 getPropertyValue('font-stretch');
2025
2026 /** Sets the value of "font-stretch" */
2027 void set fontStretch(var value) {
2028 setProperty('font-stretch', value, '');
2029 }
2030
2031 /** Gets the value of "font-style" */
2032 String get fontStyle() =>
2033 getPropertyValue('font-style');
2034
2035 /** Sets the value of "font-style" */
2036 void set fontStyle(var value) {
2037 setProperty('font-style', value, '');
2038 }
2039
2040 /** Gets the value of "font-variant" */
2041 String get fontVariant() =>
2042 getPropertyValue('font-variant');
2043
2044 /** Sets the value of "font-variant" */
2045 void set fontVariant(var value) {
2046 setProperty('font-variant', value, '');
2047 }
2048
2049 /** Gets the value of "font-weight" */
2050 String get fontWeight() =>
2051 getPropertyValue('font-weight');
2052
2053 /** Sets the value of "font-weight" */
2054 void set fontWeight(var value) {
2055 setProperty('font-weight', value, '');
2056 }
2057
2058 /** Gets the value of "height" */
2059 String get height() =>
2060 getPropertyValue('height');
2061
2062 /** Sets the value of "height" */
2063 void set height(var value) {
2064 setProperty('height', value, '');
2065 }
2066
2067 /** Gets the value of "highlight" */
2068 String get highlight() =>
2069 getPropertyValue('${_browserPrefix}highlight');
2070
2071 /** Sets the value of "highlight" */
2072 void set highlight(var value) {
2073 setProperty('${_browserPrefix}highlight', value, '');
2074 }
2075
2076 /** Gets the value of "hyphenate-character" */
2077 String get hyphenateCharacter() =>
2078 getPropertyValue('${_browserPrefix}hyphenate-character');
2079
2080 /** Sets the value of "hyphenate-character" */
2081 void set hyphenateCharacter(var value) {
2082 setProperty('${_browserPrefix}hyphenate-character', value, '');
2083 }
2084
2085 /** Gets the value of "hyphenate-limit-after" */
2086 String get hyphenateLimitAfter() =>
2087 getPropertyValue('${_browserPrefix}hyphenate-limit-after');
2088
2089 /** Sets the value of "hyphenate-limit-after" */
2090 void set hyphenateLimitAfter(var value) {
2091 setProperty('${_browserPrefix}hyphenate-limit-after', value, '');
2092 }
2093
2094 /** Gets the value of "hyphenate-limit-before" */
2095 String get hyphenateLimitBefore() =>
2096 getPropertyValue('${_browserPrefix}hyphenate-limit-before');
2097
2098 /** Sets the value of "hyphenate-limit-before" */
2099 void set hyphenateLimitBefore(var value) {
2100 setProperty('${_browserPrefix}hyphenate-limit-before', value, '');
2101 }
2102
2103 /** Gets the value of "hyphenate-limit-lines" */
2104 String get hyphenateLimitLines() =>
2105 getPropertyValue('${_browserPrefix}hyphenate-limit-lines');
2106
2107 /** Sets the value of "hyphenate-limit-lines" */
2108 void set hyphenateLimitLines(var value) {
2109 setProperty('${_browserPrefix}hyphenate-limit-lines', value, '');
2110 }
2111
2112 /** Gets the value of "hyphens" */
2113 String get hyphens() =>
2114 getPropertyValue('${_browserPrefix}hyphens');
2115
2116 /** Sets the value of "hyphens" */
2117 void set hyphens(var value) {
2118 setProperty('${_browserPrefix}hyphens', value, '');
2119 }
2120
2121 /** Gets the value of "image-rendering" */
2122 String get imageRendering() =>
2123 getPropertyValue('image-rendering');
2124
2125 /** Sets the value of "image-rendering" */
2126 void set imageRendering(var value) {
2127 setProperty('image-rendering', value, '');
2128 }
2129
2130 /** Gets the value of "left" */
2131 String get left() =>
2132 getPropertyValue('left');
2133
2134 /** Sets the value of "left" */
2135 void set left(var value) {
2136 setProperty('left', value, '');
2137 }
2138
2139 /** Gets the value of "letter-spacing" */
2140 String get letterSpacing() =>
2141 getPropertyValue('letter-spacing');
2142
2143 /** Sets the value of "letter-spacing" */
2144 void set letterSpacing(var value) {
2145 setProperty('letter-spacing', value, '');
2146 }
2147
2148 /** Gets the value of "line-box-contain" */
2149 String get lineBoxContain() =>
2150 getPropertyValue('${_browserPrefix}line-box-contain');
2151
2152 /** Sets the value of "line-box-contain" */
2153 void set lineBoxContain(var value) {
2154 setProperty('${_browserPrefix}line-box-contain', value, '');
2155 }
2156
2157 /** Gets the value of "line-break" */
2158 String get lineBreak() =>
2159 getPropertyValue('${_browserPrefix}line-break');
2160
2161 /** Sets the value of "line-break" */
2162 void set lineBreak(var value) {
2163 setProperty('${_browserPrefix}line-break', value, '');
2164 }
2165
2166 /** Gets the value of "line-clamp" */
2167 String get lineClamp() =>
2168 getPropertyValue('${_browserPrefix}line-clamp');
2169
2170 /** Sets the value of "line-clamp" */
2171 void set lineClamp(var value) {
2172 setProperty('${_browserPrefix}line-clamp', value, '');
2173 }
2174
2175 /** Gets the value of "line-height" */
2176 String get lineHeight() =>
2177 getPropertyValue('line-height');
2178
2179 /** Sets the value of "line-height" */
2180 void set lineHeight(var value) {
2181 setProperty('line-height', value, '');
2182 }
2183
2184 /** Gets the value of "list-style" */
2185 String get listStyle() =>
2186 getPropertyValue('list-style');
2187
2188 /** Sets the value of "list-style" */
2189 void set listStyle(var value) {
2190 setProperty('list-style', value, '');
2191 }
2192
2193 /** Gets the value of "list-style-image" */
2194 String get listStyleImage() =>
2195 getPropertyValue('list-style-image');
2196
2197 /** Sets the value of "list-style-image" */
2198 void set listStyleImage(var value) {
2199 setProperty('list-style-image', value, '');
2200 }
2201
2202 /** Gets the value of "list-style-position" */
2203 String get listStylePosition() =>
2204 getPropertyValue('list-style-position');
2205
2206 /** Sets the value of "list-style-position" */
2207 void set listStylePosition(var value) {
2208 setProperty('list-style-position', value, '');
2209 }
2210
2211 /** Gets the value of "list-style-type" */
2212 String get listStyleType() =>
2213 getPropertyValue('list-style-type');
2214
2215 /** Sets the value of "list-style-type" */
2216 void set listStyleType(var value) {
2217 setProperty('list-style-type', value, '');
2218 }
2219
2220 /** Gets the value of "locale" */
2221 String get locale() =>
2222 getPropertyValue('${_browserPrefix}locale');
2223
2224 /** Sets the value of "locale" */
2225 void set locale(var value) {
2226 setProperty('${_browserPrefix}locale', value, '');
2227 }
2228
2229 /** Gets the value of "logical-height" */
2230 String get logicalHeight() =>
2231 getPropertyValue('${_browserPrefix}logical-height');
2232
2233 /** Sets the value of "logical-height" */
2234 void set logicalHeight(var value) {
2235 setProperty('${_browserPrefix}logical-height', value, '');
2236 }
2237
2238 /** Gets the value of "logical-width" */
2239 String get logicalWidth() =>
2240 getPropertyValue('${_browserPrefix}logical-width');
2241
2242 /** Sets the value of "logical-width" */
2243 void set logicalWidth(var value) {
2244 setProperty('${_browserPrefix}logical-width', value, '');
2245 }
2246
2247 /** Gets the value of "margin" */
2248 String get margin() =>
2249 getPropertyValue('margin');
2250
2251 /** Sets the value of "margin" */
2252 void set margin(var value) {
2253 setProperty('margin', value, '');
2254 }
2255
2256 /** Gets the value of "margin-after" */
2257 String get marginAfter() =>
2258 getPropertyValue('${_browserPrefix}margin-after');
2259
2260 /** Sets the value of "margin-after" */
2261 void set marginAfter(var value) {
2262 setProperty('${_browserPrefix}margin-after', value, '');
2263 }
2264
2265 /** Gets the value of "margin-after-collapse" */
2266 String get marginAfterCollapse() =>
2267 getPropertyValue('${_browserPrefix}margin-after-collapse');
2268
2269 /** Sets the value of "margin-after-collapse" */
2270 void set marginAfterCollapse(var value) {
2271 setProperty('${_browserPrefix}margin-after-collapse', value, '');
2272 }
2273
2274 /** Gets the value of "margin-before" */
2275 String get marginBefore() =>
2276 getPropertyValue('${_browserPrefix}margin-before');
2277
2278 /** Sets the value of "margin-before" */
2279 void set marginBefore(var value) {
2280 setProperty('${_browserPrefix}margin-before', value, '');
2281 }
2282
2283 /** Gets the value of "margin-before-collapse" */
2284 String get marginBeforeCollapse() =>
2285 getPropertyValue('${_browserPrefix}margin-before-collapse');
2286
2287 /** Sets the value of "margin-before-collapse" */
2288 void set marginBeforeCollapse(var value) {
2289 setProperty('${_browserPrefix}margin-before-collapse', value, '');
2290 }
2291
2292 /** Gets the value of "margin-bottom" */
2293 String get marginBottom() =>
2294 getPropertyValue('margin-bottom');
2295
2296 /** Sets the value of "margin-bottom" */
2297 void set marginBottom(var value) {
2298 setProperty('margin-bottom', value, '');
2299 }
2300
2301 /** Gets the value of "margin-bottom-collapse" */
2302 String get marginBottomCollapse() =>
2303 getPropertyValue('${_browserPrefix}margin-bottom-collapse');
2304
2305 /** Sets the value of "margin-bottom-collapse" */
2306 void set marginBottomCollapse(var value) {
2307 setProperty('${_browserPrefix}margin-bottom-collapse', value, '');
2308 }
2309
2310 /** Gets the value of "margin-collapse" */
2311 String get marginCollapse() =>
2312 getPropertyValue('${_browserPrefix}margin-collapse');
2313
2314 /** Sets the value of "margin-collapse" */
2315 void set marginCollapse(var value) {
2316 setProperty('${_browserPrefix}margin-collapse', value, '');
2317 }
2318
2319 /** Gets the value of "margin-end" */
2320 String get marginEnd() =>
2321 getPropertyValue('${_browserPrefix}margin-end');
2322
2323 /** Sets the value of "margin-end" */
2324 void set marginEnd(var value) {
2325 setProperty('${_browserPrefix}margin-end', value, '');
2326 }
2327
2328 /** Gets the value of "margin-left" */
2329 String get marginLeft() =>
2330 getPropertyValue('margin-left');
2331
2332 /** Sets the value of "margin-left" */
2333 void set marginLeft(var value) {
2334 setProperty('margin-left', value, '');
2335 }
2336
2337 /** Gets the value of "margin-right" */
2338 String get marginRight() =>
2339 getPropertyValue('margin-right');
2340
2341 /** Sets the value of "margin-right" */
2342 void set marginRight(var value) {
2343 setProperty('margin-right', value, '');
2344 }
2345
2346 /** Gets the value of "margin-start" */
2347 String get marginStart() =>
2348 getPropertyValue('${_browserPrefix}margin-start');
2349
2350 /** Sets the value of "margin-start" */
2351 void set marginStart(var value) {
2352 setProperty('${_browserPrefix}margin-start', value, '');
2353 }
2354
2355 /** Gets the value of "margin-top" */
2356 String get marginTop() =>
2357 getPropertyValue('margin-top');
2358
2359 /** Sets the value of "margin-top" */
2360 void set marginTop(var value) {
2361 setProperty('margin-top', value, '');
2362 }
2363
2364 /** Gets the value of "margin-top-collapse" */
2365 String get marginTopCollapse() =>
2366 getPropertyValue('${_browserPrefix}margin-top-collapse');
2367
2368 /** Sets the value of "margin-top-collapse" */
2369 void set marginTopCollapse(var value) {
2370 setProperty('${_browserPrefix}margin-top-collapse', value, '');
2371 }
2372
2373 /** Gets the value of "marquee" */
2374 String get marquee() =>
2375 getPropertyValue('${_browserPrefix}marquee');
2376
2377 /** Sets the value of "marquee" */
2378 void set marquee(var value) {
2379 setProperty('${_browserPrefix}marquee', value, '');
2380 }
2381
2382 /** Gets the value of "marquee-direction" */
2383 String get marqueeDirection() =>
2384 getPropertyValue('${_browserPrefix}marquee-direction');
2385
2386 /** Sets the value of "marquee-direction" */
2387 void set marqueeDirection(var value) {
2388 setProperty('${_browserPrefix}marquee-direction', value, '');
2389 }
2390
2391 /** Gets the value of "marquee-increment" */
2392 String get marqueeIncrement() =>
2393 getPropertyValue('${_browserPrefix}marquee-increment');
2394
2395 /** Sets the value of "marquee-increment" */
2396 void set marqueeIncrement(var value) {
2397 setProperty('${_browserPrefix}marquee-increment', value, '');
2398 }
2399
2400 /** Gets the value of "marquee-repetition" */
2401 String get marqueeRepetition() =>
2402 getPropertyValue('${_browserPrefix}marquee-repetition');
2403
2404 /** Sets the value of "marquee-repetition" */
2405 void set marqueeRepetition(var value) {
2406 setProperty('${_browserPrefix}marquee-repetition', value, '');
2407 }
2408
2409 /** Gets the value of "marquee-speed" */
2410 String get marqueeSpeed() =>
2411 getPropertyValue('${_browserPrefix}marquee-speed');
2412
2413 /** Sets the value of "marquee-speed" */
2414 void set marqueeSpeed(var value) {
2415 setProperty('${_browserPrefix}marquee-speed', value, '');
2416 }
2417
2418 /** Gets the value of "marquee-style" */
2419 String get marqueeStyle() =>
2420 getPropertyValue('${_browserPrefix}marquee-style');
2421
2422 /** Sets the value of "marquee-style" */
2423 void set marqueeStyle(var value) {
2424 setProperty('${_browserPrefix}marquee-style', value, '');
2425 }
2426
2427 /** Gets the value of "mask" */
2428 String get mask() =>
2429 getPropertyValue('${_browserPrefix}mask');
2430
2431 /** Sets the value of "mask" */
2432 void set mask(var value) {
2433 setProperty('${_browserPrefix}mask', value, '');
2434 }
2435
2436 /** Gets the value of "mask-attachment" */
2437 String get maskAttachment() =>
2438 getPropertyValue('${_browserPrefix}mask-attachment');
2439
2440 /** Sets the value of "mask-attachment" */
2441 void set maskAttachment(var value) {
2442 setProperty('${_browserPrefix}mask-attachment', value, '');
2443 }
2444
2445 /** Gets the value of "mask-box-image" */
2446 String get maskBoxImage() =>
2447 getPropertyValue('${_browserPrefix}mask-box-image');
2448
2449 /** Sets the value of "mask-box-image" */
2450 void set maskBoxImage(var value) {
2451 setProperty('${_browserPrefix}mask-box-image', value, '');
2452 }
2453
2454 /** Gets the value of "mask-box-image-outset" */
2455 String get maskBoxImageOutset() =>
2456 getPropertyValue('${_browserPrefix}mask-box-image-outset');
2457
2458 /** Sets the value of "mask-box-image-outset" */
2459 void set maskBoxImageOutset(var value) {
2460 setProperty('${_browserPrefix}mask-box-image-outset', value, '');
2461 }
2462
2463 /** Gets the value of "mask-box-image-repeat" */
2464 String get maskBoxImageRepeat() =>
2465 getPropertyValue('${_browserPrefix}mask-box-image-repeat');
2466
2467 /** Sets the value of "mask-box-image-repeat" */
2468 void set maskBoxImageRepeat(var value) {
2469 setProperty('${_browserPrefix}mask-box-image-repeat', value, '');
2470 }
2471
2472 /** Gets the value of "mask-box-image-slice" */
2473 String get maskBoxImageSlice() =>
2474 getPropertyValue('${_browserPrefix}mask-box-image-slice');
2475
2476 /** Sets the value of "mask-box-image-slice" */
2477 void set maskBoxImageSlice(var value) {
2478 setProperty('${_browserPrefix}mask-box-image-slice', value, '');
2479 }
2480
2481 /** Gets the value of "mask-box-image-source" */
2482 String get maskBoxImageSource() =>
2483 getPropertyValue('${_browserPrefix}mask-box-image-source');
2484
2485 /** Sets the value of "mask-box-image-source" */
2486 void set maskBoxImageSource(var value) {
2487 setProperty('${_browserPrefix}mask-box-image-source', value, '');
2488 }
2489
2490 /** Gets the value of "mask-box-image-width" */
2491 String get maskBoxImageWidth() =>
2492 getPropertyValue('${_browserPrefix}mask-box-image-width');
2493
2494 /** Sets the value of "mask-box-image-width" */
2495 void set maskBoxImageWidth(var value) {
2496 setProperty('${_browserPrefix}mask-box-image-width', value, '');
2497 }
2498
2499 /** Gets the value of "mask-clip" */
2500 String get maskClip() =>
2501 getPropertyValue('${_browserPrefix}mask-clip');
2502
2503 /** Sets the value of "mask-clip" */
2504 void set maskClip(var value) {
2505 setProperty('${_browserPrefix}mask-clip', value, '');
2506 }
2507
2508 /** Gets the value of "mask-composite" */
2509 String get maskComposite() =>
2510 getPropertyValue('${_browserPrefix}mask-composite');
2511
2512 /** Sets the value of "mask-composite" */
2513 void set maskComposite(var value) {
2514 setProperty('${_browserPrefix}mask-composite', value, '');
2515 }
2516
2517 /** Gets the value of "mask-image" */
2518 String get maskImage() =>
2519 getPropertyValue('${_browserPrefix}mask-image');
2520
2521 /** Sets the value of "mask-image" */
2522 void set maskImage(var value) {
2523 setProperty('${_browserPrefix}mask-image', value, '');
2524 }
2525
2526 /** Gets the value of "mask-origin" */
2527 String get maskOrigin() =>
2528 getPropertyValue('${_browserPrefix}mask-origin');
2529
2530 /** Sets the value of "mask-origin" */
2531 void set maskOrigin(var value) {
2532 setProperty('${_browserPrefix}mask-origin', value, '');
2533 }
2534
2535 /** Gets the value of "mask-position" */
2536 String get maskPosition() =>
2537 getPropertyValue('${_browserPrefix}mask-position');
2538
2539 /** Sets the value of "mask-position" */
2540 void set maskPosition(var value) {
2541 setProperty('${_browserPrefix}mask-position', value, '');
2542 }
2543
2544 /** Gets the value of "mask-position-x" */
2545 String get maskPositionX() =>
2546 getPropertyValue('${_browserPrefix}mask-position-x');
2547
2548 /** Sets the value of "mask-position-x" */
2549 void set maskPositionX(var value) {
2550 setProperty('${_browserPrefix}mask-position-x', value, '');
2551 }
2552
2553 /** Gets the value of "mask-position-y" */
2554 String get maskPositionY() =>
2555 getPropertyValue('${_browserPrefix}mask-position-y');
2556
2557 /** Sets the value of "mask-position-y" */
2558 void set maskPositionY(var value) {
2559 setProperty('${_browserPrefix}mask-position-y', value, '');
2560 }
2561
2562 /** Gets the value of "mask-repeat" */
2563 String get maskRepeat() =>
2564 getPropertyValue('${_browserPrefix}mask-repeat');
2565
2566 /** Sets the value of "mask-repeat" */
2567 void set maskRepeat(var value) {
2568 setProperty('${_browserPrefix}mask-repeat', value, '');
2569 }
2570
2571 /** Gets the value of "mask-repeat-x" */
2572 String get maskRepeatX() =>
2573 getPropertyValue('${_browserPrefix}mask-repeat-x');
2574
2575 /** Sets the value of "mask-repeat-x" */
2576 void set maskRepeatX(var value) {
2577 setProperty('${_browserPrefix}mask-repeat-x', value, '');
2578 }
2579
2580 /** Gets the value of "mask-repeat-y" */
2581 String get maskRepeatY() =>
2582 getPropertyValue('${_browserPrefix}mask-repeat-y');
2583
2584 /** Sets the value of "mask-repeat-y" */
2585 void set maskRepeatY(var value) {
2586 setProperty('${_browserPrefix}mask-repeat-y', value, '');
2587 }
2588
2589 /** Gets the value of "mask-size" */
2590 String get maskSize() =>
2591 getPropertyValue('${_browserPrefix}mask-size');
2592
2593 /** Sets the value of "mask-size" */
2594 void set maskSize(var value) {
2595 setProperty('${_browserPrefix}mask-size', value, '');
2596 }
2597
2598 /** Gets the value of "match-nearest-mail-blockquote-color" */
2599 String get matchNearestMailBlockquoteColor() =>
2600 getPropertyValue('${_browserPrefix}match-nearest-mail-blockquote-color');
2601
2602 /** Sets the value of "match-nearest-mail-blockquote-color" */
2603 void set matchNearestMailBlockquoteColor(var value) {
2604 setProperty('${_browserPrefix}match-nearest-mail-blockquote-color', value, ' ');
2605 }
2606
2607 /** Gets the value of "max-height" */
2608 String get maxHeight() =>
2609 getPropertyValue('max-height');
2610
2611 /** Sets the value of "max-height" */
2612 void set maxHeight(var value) {
2613 setProperty('max-height', value, '');
2614 }
2615
2616 /** Gets the value of "max-logical-height" */
2617 String get maxLogicalHeight() =>
2618 getPropertyValue('${_browserPrefix}max-logical-height');
2619
2620 /** Sets the value of "max-logical-height" */
2621 void set maxLogicalHeight(var value) {
2622 setProperty('${_browserPrefix}max-logical-height', value, '');
2623 }
2624
2625 /** Gets the value of "max-logical-width" */
2626 String get maxLogicalWidth() =>
2627 getPropertyValue('${_browserPrefix}max-logical-width');
2628
2629 /** Sets the value of "max-logical-width" */
2630 void set maxLogicalWidth(var value) {
2631 setProperty('${_browserPrefix}max-logical-width', value, '');
2632 }
2633
2634 /** Gets the value of "max-width" */
2635 String get maxWidth() =>
2636 getPropertyValue('max-width');
2637
2638 /** Sets the value of "max-width" */
2639 void set maxWidth(var value) {
2640 setProperty('max-width', value, '');
2641 }
2642
2643 /** Gets the value of "min-height" */
2644 String get minHeight() =>
2645 getPropertyValue('min-height');
2646
2647 /** Sets the value of "min-height" */
2648 void set minHeight(var value) {
2649 setProperty('min-height', value, '');
2650 }
2651
2652 /** Gets the value of "min-logical-height" */
2653 String get minLogicalHeight() =>
2654 getPropertyValue('${_browserPrefix}min-logical-height');
2655
2656 /** Sets the value of "min-logical-height" */
2657 void set minLogicalHeight(var value) {
2658 setProperty('${_browserPrefix}min-logical-height', value, '');
2659 }
2660
2661 /** Gets the value of "min-logical-width" */
2662 String get minLogicalWidth() =>
2663 getPropertyValue('${_browserPrefix}min-logical-width');
2664
2665 /** Sets the value of "min-logical-width" */
2666 void set minLogicalWidth(var value) {
2667 setProperty('${_browserPrefix}min-logical-width', value, '');
2668 }
2669
2670 /** Gets the value of "min-width" */
2671 String get minWidth() =>
2672 getPropertyValue('min-width');
2673
2674 /** Sets the value of "min-width" */
2675 void set minWidth(var value) {
2676 setProperty('min-width', value, '');
2677 }
2678
2679 /** Gets the value of "nbsp-mode" */
2680 String get nbspMode() =>
2681 getPropertyValue('${_browserPrefix}nbsp-mode');
2682
2683 /** Sets the value of "nbsp-mode" */
2684 void set nbspMode(var value) {
2685 setProperty('${_browserPrefix}nbsp-mode', value, '');
2686 }
2687
2688 /** Gets the value of "opacity" */
2689 String get opacity() =>
2690 getPropertyValue('opacity');
2691
2692 /** Sets the value of "opacity" */
2693 void set opacity(var value) {
2694 setProperty('opacity', value, '');
2695 }
2696
2697 /** Gets the value of "orphans" */
2698 String get orphans() =>
2699 getPropertyValue('orphans');
2700
2701 /** Sets the value of "orphans" */
2702 void set orphans(var value) {
2703 setProperty('orphans', value, '');
2704 }
2705
2706 /** Gets the value of "outline" */
2707 String get outline() =>
2708 getPropertyValue('outline');
2709
2710 /** Sets the value of "outline" */
2711 void set outline(var value) {
2712 setProperty('outline', value, '');
2713 }
2714
2715 /** Gets the value of "outline-color" */
2716 String get outlineColor() =>
2717 getPropertyValue('outline-color');
2718
2719 /** Sets the value of "outline-color" */
2720 void set outlineColor(var value) {
2721 setProperty('outline-color', value, '');
2722 }
2723
2724 /** Gets the value of "outline-offset" */
2725 String get outlineOffset() =>
2726 getPropertyValue('outline-offset');
2727
2728 /** Sets the value of "outline-offset" */
2729 void set outlineOffset(var value) {
2730 setProperty('outline-offset', value, '');
2731 }
2732
2733 /** Gets the value of "outline-style" */
2734 String get outlineStyle() =>
2735 getPropertyValue('outline-style');
2736
2737 /** Sets the value of "outline-style" */
2738 void set outlineStyle(var value) {
2739 setProperty('outline-style', value, '');
2740 }
2741
2742 /** Gets the value of "outline-width" */
2743 String get outlineWidth() =>
2744 getPropertyValue('outline-width');
2745
2746 /** Sets the value of "outline-width" */
2747 void set outlineWidth(var value) {
2748 setProperty('outline-width', value, '');
2749 }
2750
2751 /** Gets the value of "overflow" */
2752 String get overflow() =>
2753 getPropertyValue('overflow');
2754
2755 /** Sets the value of "overflow" */
2756 void set overflow(var value) {
2757 setProperty('overflow', value, '');
2758 }
2759
2760 /** Gets the value of "overflow-x" */
2761 String get overflowX() =>
2762 getPropertyValue('overflow-x');
2763
2764 /** Sets the value of "overflow-x" */
2765 void set overflowX(var value) {
2766 setProperty('overflow-x', value, '');
2767 }
2768
2769 /** Gets the value of "overflow-y" */
2770 String get overflowY() =>
2771 getPropertyValue('overflow-y');
2772
2773 /** Sets the value of "overflow-y" */
2774 void set overflowY(var value) {
2775 setProperty('overflow-y', value, '');
2776 }
2777
2778 /** Gets the value of "padding" */
2779 String get padding() =>
2780 getPropertyValue('padding');
2781
2782 /** Sets the value of "padding" */
2783 void set padding(var value) {
2784 setProperty('padding', value, '');
2785 }
2786
2787 /** Gets the value of "padding-after" */
2788 String get paddingAfter() =>
2789 getPropertyValue('${_browserPrefix}padding-after');
2790
2791 /** Sets the value of "padding-after" */
2792 void set paddingAfter(var value) {
2793 setProperty('${_browserPrefix}padding-after', value, '');
2794 }
2795
2796 /** Gets the value of "padding-before" */
2797 String get paddingBefore() =>
2798 getPropertyValue('${_browserPrefix}padding-before');
2799
2800 /** Sets the value of "padding-before" */
2801 void set paddingBefore(var value) {
2802 setProperty('${_browserPrefix}padding-before', value, '');
2803 }
2804
2805 /** Gets the value of "padding-bottom" */
2806 String get paddingBottom() =>
2807 getPropertyValue('padding-bottom');
2808
2809 /** Sets the value of "padding-bottom" */
2810 void set paddingBottom(var value) {
2811 setProperty('padding-bottom', value, '');
2812 }
2813
2814 /** Gets the value of "padding-end" */
2815 String get paddingEnd() =>
2816 getPropertyValue('${_browserPrefix}padding-end');
2817
2818 /** Sets the value of "padding-end" */
2819 void set paddingEnd(var value) {
2820 setProperty('${_browserPrefix}padding-end', value, '');
2821 }
2822
2823 /** Gets the value of "padding-left" */
2824 String get paddingLeft() =>
2825 getPropertyValue('padding-left');
2826
2827 /** Sets the value of "padding-left" */
2828 void set paddingLeft(var value) {
2829 setProperty('padding-left', value, '');
2830 }
2831
2832 /** Gets the value of "padding-right" */
2833 String get paddingRight() =>
2834 getPropertyValue('padding-right');
2835
2836 /** Sets the value of "padding-right" */
2837 void set paddingRight(var value) {
2838 setProperty('padding-right', value, '');
2839 }
2840
2841 /** Gets the value of "padding-start" */
2842 String get paddingStart() =>
2843 getPropertyValue('${_browserPrefix}padding-start');
2844
2845 /** Sets the value of "padding-start" */
2846 void set paddingStart(var value) {
2847 setProperty('${_browserPrefix}padding-start', value, '');
2848 }
2849
2850 /** Gets the value of "padding-top" */
2851 String get paddingTop() =>
2852 getPropertyValue('padding-top');
2853
2854 /** Sets the value of "padding-top" */
2855 void set paddingTop(var value) {
2856 setProperty('padding-top', value, '');
2857 }
2858
2859 /** Gets the value of "page" */
2860 String get page() =>
2861 getPropertyValue('page');
2862
2863 /** Sets the value of "page" */
2864 void set page(var value) {
2865 setProperty('page', value, '');
2866 }
2867
2868 /** Gets the value of "page-break-after" */
2869 String get pageBreakAfter() =>
2870 getPropertyValue('page-break-after');
2871
2872 /** Sets the value of "page-break-after" */
2873 void set pageBreakAfter(var value) {
2874 setProperty('page-break-after', value, '');
2875 }
2876
2877 /** Gets the value of "page-break-before" */
2878 String get pageBreakBefore() =>
2879 getPropertyValue('page-break-before');
2880
2881 /** Sets the value of "page-break-before" */
2882 void set pageBreakBefore(var value) {
2883 setProperty('page-break-before', value, '');
2884 }
2885
2886 /** Gets the value of "page-break-inside" */
2887 String get pageBreakInside() =>
2888 getPropertyValue('page-break-inside');
2889
2890 /** Sets the value of "page-break-inside" */
2891 void set pageBreakInside(var value) {
2892 setProperty('page-break-inside', value, '');
2893 }
2894
2895 /** Gets the value of "perspective" */
2896 String get perspective() =>
2897 getPropertyValue('${_browserPrefix}perspective');
2898
2899 /** Sets the value of "perspective" */
2900 void set perspective(var value) {
2901 setProperty('${_browserPrefix}perspective', value, '');
2902 }
2903
2904 /** Gets the value of "perspective-origin" */
2905 String get perspectiveOrigin() =>
2906 getPropertyValue('${_browserPrefix}perspective-origin');
2907
2908 /** Sets the value of "perspective-origin" */
2909 void set perspectiveOrigin(var value) {
2910 setProperty('${_browserPrefix}perspective-origin', value, '');
2911 }
2912
2913 /** Gets the value of "perspective-origin-x" */
2914 String get perspectiveOriginX() =>
2915 getPropertyValue('${_browserPrefix}perspective-origin-x');
2916
2917 /** Sets the value of "perspective-origin-x" */
2918 void set perspectiveOriginX(var value) {
2919 setProperty('${_browserPrefix}perspective-origin-x', value, '');
2920 }
2921
2922 /** Gets the value of "perspective-origin-y" */
2923 String get perspectiveOriginY() =>
2924 getPropertyValue('${_browserPrefix}perspective-origin-y');
2925
2926 /** Sets the value of "perspective-origin-y" */
2927 void set perspectiveOriginY(var value) {
2928 setProperty('${_browserPrefix}perspective-origin-y', value, '');
2929 }
2930
2931 /** Gets the value of "pointer-events" */
2932 String get pointerEvents() =>
2933 getPropertyValue('pointer-events');
2934
2935 /** Sets the value of "pointer-events" */
2936 void set pointerEvents(var value) {
2937 setProperty('pointer-events', value, '');
2938 }
2939
2940 /** Gets the value of "position" */
2941 String get position() =>
2942 getPropertyValue('position');
2943
2944 /** Sets the value of "position" */
2945 void set position(var value) {
2946 setProperty('position', value, '');
2947 }
2948
2949 /** Gets the value of "quotes" */
2950 String get quotes() =>
2951 getPropertyValue('quotes');
2952
2953 /** Sets the value of "quotes" */
2954 void set quotes(var value) {
2955 setProperty('quotes', value, '');
2956 }
2957
2958 /** Gets the value of "region-break-after" */
2959 String get regionBreakAfter() =>
2960 getPropertyValue('${_browserPrefix}region-break-after');
2961
2962 /** Sets the value of "region-break-after" */
2963 void set regionBreakAfter(var value) {
2964 setProperty('${_browserPrefix}region-break-after', value, '');
2965 }
2966
2967 /** Gets the value of "region-break-before" */
2968 String get regionBreakBefore() =>
2969 getPropertyValue('${_browserPrefix}region-break-before');
2970
2971 /** Sets the value of "region-break-before" */
2972 void set regionBreakBefore(var value) {
2973 setProperty('${_browserPrefix}region-break-before', value, '');
2974 }
2975
2976 /** Gets the value of "region-break-inside" */
2977 String get regionBreakInside() =>
2978 getPropertyValue('${_browserPrefix}region-break-inside');
2979
2980 /** Sets the value of "region-break-inside" */
2981 void set regionBreakInside(var value) {
2982 setProperty('${_browserPrefix}region-break-inside', value, '');
2983 }
2984
2985 /** Gets the value of "region-overflow" */
2986 String get regionOverflow() =>
2987 getPropertyValue('${_browserPrefix}region-overflow');
2988
2989 /** Sets the value of "region-overflow" */
2990 void set regionOverflow(var value) {
2991 setProperty('${_browserPrefix}region-overflow', value, '');
2992 }
2993
2994 /** Gets the value of "resize" */
2995 String get resize() =>
2996 getPropertyValue('resize');
2997
2998 /** Sets the value of "resize" */
2999 void set resize(var value) {
3000 setProperty('resize', value, '');
3001 }
3002
3003 /** Gets the value of "right" */
3004 String get right() =>
3005 getPropertyValue('right');
3006
3007 /** Sets the value of "right" */
3008 void set right(var value) {
3009 setProperty('right', value, '');
3010 }
3011
3012 /** Gets the value of "rtl-ordering" */
3013 String get rtlOrdering() =>
3014 getPropertyValue('${_browserPrefix}rtl-ordering');
3015
3016 /** Sets the value of "rtl-ordering" */
3017 void set rtlOrdering(var value) {
3018 setProperty('${_browserPrefix}rtl-ordering', value, '');
3019 }
3020
3021 /** Gets the value of "size" */
3022 String get size() =>
3023 getPropertyValue('size');
3024
3025 /** Sets the value of "size" */
3026 void set size(var value) {
3027 setProperty('size', value, '');
3028 }
3029
3030 /** Gets the value of "speak" */
3031 String get speak() =>
3032 getPropertyValue('speak');
3033
3034 /** Sets the value of "speak" */
3035 void set speak(var value) {
3036 setProperty('speak', value, '');
3037 }
3038
3039 /** Gets the value of "src" */
3040 String get src() =>
3041 getPropertyValue('src');
3042
3043 /** Sets the value of "src" */
3044 void set src(var value) {
3045 setProperty('src', value, '');
3046 }
3047
3048 /** Gets the value of "table-layout" */
3049 String get tableLayout() =>
3050 getPropertyValue('table-layout');
3051
3052 /** Sets the value of "table-layout" */
3053 void set tableLayout(var value) {
3054 setProperty('table-layout', value, '');
3055 }
3056
3057 /** Gets the value of "tap-highlight-color" */
3058 String get tapHighlightColor() =>
3059 getPropertyValue('${_browserPrefix}tap-highlight-color');
3060
3061 /** Sets the value of "tap-highlight-color" */
3062 void set tapHighlightColor(var value) {
3063 setProperty('${_browserPrefix}tap-highlight-color', value, '');
3064 }
3065
3066 /** Gets the value of "text-align" */
3067 String get textAlign() =>
3068 getPropertyValue('text-align');
3069
3070 /** Sets the value of "text-align" */
3071 void set textAlign(var value) {
3072 setProperty('text-align', value, '');
3073 }
3074
3075 /** Gets the value of "text-combine" */
3076 String get textCombine() =>
3077 getPropertyValue('${_browserPrefix}text-combine');
3078
3079 /** Sets the value of "text-combine" */
3080 void set textCombine(var value) {
3081 setProperty('${_browserPrefix}text-combine', value, '');
3082 }
3083
3084 /** Gets the value of "text-decoration" */
3085 String get textDecoration() =>
3086 getPropertyValue('text-decoration');
3087
3088 /** Sets the value of "text-decoration" */
3089 void set textDecoration(var value) {
3090 setProperty('text-decoration', value, '');
3091 }
3092
3093 /** Gets the value of "text-decorations-in-effect" */
3094 String get textDecorationsInEffect() =>
3095 getPropertyValue('${_browserPrefix}text-decorations-in-effect');
3096
3097 /** Sets the value of "text-decorations-in-effect" */
3098 void set textDecorationsInEffect(var value) {
3099 setProperty('${_browserPrefix}text-decorations-in-effect', value, '');
3100 }
3101
3102 /** Gets the value of "text-emphasis" */
3103 String get textEmphasis() =>
3104 getPropertyValue('${_browserPrefix}text-emphasis');
3105
3106 /** Sets the value of "text-emphasis" */
3107 void set textEmphasis(var value) {
3108 setProperty('${_browserPrefix}text-emphasis', value, '');
3109 }
3110
3111 /** Gets the value of "text-emphasis-color" */
3112 String get textEmphasisColor() =>
3113 getPropertyValue('${_browserPrefix}text-emphasis-color');
3114
3115 /** Sets the value of "text-emphasis-color" */
3116 void set textEmphasisColor(var value) {
3117 setProperty('${_browserPrefix}text-emphasis-color', value, '');
3118 }
3119
3120 /** Gets the value of "text-emphasis-position" */
3121 String get textEmphasisPosition() =>
3122 getPropertyValue('${_browserPrefix}text-emphasis-position');
3123
3124 /** Sets the value of "text-emphasis-position" */
3125 void set textEmphasisPosition(var value) {
3126 setProperty('${_browserPrefix}text-emphasis-position', value, '');
3127 }
3128
3129 /** Gets the value of "text-emphasis-style" */
3130 String get textEmphasisStyle() =>
3131 getPropertyValue('${_browserPrefix}text-emphasis-style');
3132
3133 /** Sets the value of "text-emphasis-style" */
3134 void set textEmphasisStyle(var value) {
3135 setProperty('${_browserPrefix}text-emphasis-style', value, '');
3136 }
3137
3138 /** Gets the value of "text-fill-color" */
3139 String get textFillColor() =>
3140 getPropertyValue('${_browserPrefix}text-fill-color');
3141
3142 /** Sets the value of "text-fill-color" */
3143 void set textFillColor(var value) {
3144 setProperty('${_browserPrefix}text-fill-color', value, '');
3145 }
3146
3147 /** Gets the value of "text-indent" */
3148 String get textIndent() =>
3149 getPropertyValue('text-indent');
3150
3151 /** Sets the value of "text-indent" */
3152 void set textIndent(var value) {
3153 setProperty('text-indent', value, '');
3154 }
3155
3156 /** Gets the value of "text-line-through" */
3157 String get textLineThrough() =>
3158 getPropertyValue('text-line-through');
3159
3160 /** Sets the value of "text-line-through" */
3161 void set textLineThrough(var value) {
3162 setProperty('text-line-through', value, '');
3163 }
3164
3165 /** Gets the value of "text-line-through-color" */
3166 String get textLineThroughColor() =>
3167 getPropertyValue('text-line-through-color');
3168
3169 /** Sets the value of "text-line-through-color" */
3170 void set textLineThroughColor(var value) {
3171 setProperty('text-line-through-color', value, '');
3172 }
3173
3174 /** Gets the value of "text-line-through-mode" */
3175 String get textLineThroughMode() =>
3176 getPropertyValue('text-line-through-mode');
3177
3178 /** Sets the value of "text-line-through-mode" */
3179 void set textLineThroughMode(var value) {
3180 setProperty('text-line-through-mode', value, '');
3181 }
3182
3183 /** Gets the value of "text-line-through-style" */
3184 String get textLineThroughStyle() =>
3185 getPropertyValue('text-line-through-style');
3186
3187 /** Sets the value of "text-line-through-style" */
3188 void set textLineThroughStyle(var value) {
3189 setProperty('text-line-through-style', value, '');
3190 }
3191
3192 /** Gets the value of "text-line-through-width" */
3193 String get textLineThroughWidth() =>
3194 getPropertyValue('text-line-through-width');
3195
3196 /** Sets the value of "text-line-through-width" */
3197 void set textLineThroughWidth(var value) {
3198 setProperty('text-line-through-width', value, '');
3199 }
3200
3201 /** Gets the value of "text-orientation" */
3202 String get textOrientation() =>
3203 getPropertyValue('${_browserPrefix}text-orientation');
3204
3205 /** Sets the value of "text-orientation" */
3206 void set textOrientation(var value) {
3207 setProperty('${_browserPrefix}text-orientation', value, '');
3208 }
3209
3210 /** Gets the value of "text-overflow" */
3211 String get textOverflow() =>
3212 getPropertyValue('text-overflow');
3213
3214 /** Sets the value of "text-overflow" */
3215 void set textOverflow(var value) {
3216 setProperty('text-overflow', value, '');
3217 }
3218
3219 /** Gets the value of "text-overline" */
3220 String get textOverline() =>
3221 getPropertyValue('text-overline');
3222
3223 /** Sets the value of "text-overline" */
3224 void set textOverline(var value) {
3225 setProperty('text-overline', value, '');
3226 }
3227
3228 /** Gets the value of "text-overline-color" */
3229 String get textOverlineColor() =>
3230 getPropertyValue('text-overline-color');
3231
3232 /** Sets the value of "text-overline-color" */
3233 void set textOverlineColor(var value) {
3234 setProperty('text-overline-color', value, '');
3235 }
3236
3237 /** Gets the value of "text-overline-mode" */
3238 String get textOverlineMode() =>
3239 getPropertyValue('text-overline-mode');
3240
3241 /** Sets the value of "text-overline-mode" */
3242 void set textOverlineMode(var value) {
3243 setProperty('text-overline-mode', value, '');
3244 }
3245
3246 /** Gets the value of "text-overline-style" */
3247 String get textOverlineStyle() =>
3248 getPropertyValue('text-overline-style');
3249
3250 /** Sets the value of "text-overline-style" */
3251 void set textOverlineStyle(var value) {
3252 setProperty('text-overline-style', value, '');
3253 }
3254
3255 /** Gets the value of "text-overline-width" */
3256 String get textOverlineWidth() =>
3257 getPropertyValue('text-overline-width');
3258
3259 /** Sets the value of "text-overline-width" */
3260 void set textOverlineWidth(var value) {
3261 setProperty('text-overline-width', value, '');
3262 }
3263
3264 /** Gets the value of "text-rendering" */
3265 String get textRendering() =>
3266 getPropertyValue('text-rendering');
3267
3268 /** Sets the value of "text-rendering" */
3269 void set textRendering(var value) {
3270 setProperty('text-rendering', value, '');
3271 }
3272
3273 /** Gets the value of "text-security" */
3274 String get textSecurity() =>
3275 getPropertyValue('${_browserPrefix}text-security');
3276
3277 /** Sets the value of "text-security" */
3278 void set textSecurity(var value) {
3279 setProperty('${_browserPrefix}text-security', value, '');
3280 }
3281
3282 /** Gets the value of "text-shadow" */
3283 String get textShadow() =>
3284 getPropertyValue('text-shadow');
3285
3286 /** Sets the value of "text-shadow" */
3287 void set textShadow(var value) {
3288 setProperty('text-shadow', value, '');
3289 }
3290
3291 /** Gets the value of "text-size-adjust" */
3292 String get textSizeAdjust() =>
3293 getPropertyValue('${_browserPrefix}text-size-adjust');
3294
3295 /** Sets the value of "text-size-adjust" */
3296 void set textSizeAdjust(var value) {
3297 setProperty('${_browserPrefix}text-size-adjust', value, '');
3298 }
3299
3300 /** Gets the value of "text-stroke" */
3301 String get textStroke() =>
3302 getPropertyValue('${_browserPrefix}text-stroke');
3303
3304 /** Sets the value of "text-stroke" */
3305 void set textStroke(var value) {
3306 setProperty('${_browserPrefix}text-stroke', value, '');
3307 }
3308
3309 /** Gets the value of "text-stroke-color" */
3310 String get textStrokeColor() =>
3311 getPropertyValue('${_browserPrefix}text-stroke-color');
3312
3313 /** Sets the value of "text-stroke-color" */
3314 void set textStrokeColor(var value) {
3315 setProperty('${_browserPrefix}text-stroke-color', value, '');
3316 }
3317
3318 /** Gets the value of "text-stroke-width" */
3319 String get textStrokeWidth() =>
3320 getPropertyValue('${_browserPrefix}text-stroke-width');
3321
3322 /** Sets the value of "text-stroke-width" */
3323 void set textStrokeWidth(var value) {
3324 setProperty('${_browserPrefix}text-stroke-width', value, '');
3325 }
3326
3327 /** Gets the value of "text-transform" */
3328 String get textTransform() =>
3329 getPropertyValue('text-transform');
3330
3331 /** Sets the value of "text-transform" */
3332 void set textTransform(var value) {
3333 setProperty('text-transform', value, '');
3334 }
3335
3336 /** Gets the value of "text-underline" */
3337 String get textUnderline() =>
3338 getPropertyValue('text-underline');
3339
3340 /** Sets the value of "text-underline" */
3341 void set textUnderline(var value) {
3342 setProperty('text-underline', value, '');
3343 }
3344
3345 /** Gets the value of "text-underline-color" */
3346 String get textUnderlineColor() =>
3347 getPropertyValue('text-underline-color');
3348
3349 /** Sets the value of "text-underline-color" */
3350 void set textUnderlineColor(var value) {
3351 setProperty('text-underline-color', value, '');
3352 }
3353
3354 /** Gets the value of "text-underline-mode" */
3355 String get textUnderlineMode() =>
3356 getPropertyValue('text-underline-mode');
3357
3358 /** Sets the value of "text-underline-mode" */
3359 void set textUnderlineMode(var value) {
3360 setProperty('text-underline-mode', value, '');
3361 }
3362
3363 /** Gets the value of "text-underline-style" */
3364 String get textUnderlineStyle() =>
3365 getPropertyValue('text-underline-style');
3366
3367 /** Sets the value of "text-underline-style" */
3368 void set textUnderlineStyle(var value) {
3369 setProperty('text-underline-style', value, '');
3370 }
3371
3372 /** Gets the value of "text-underline-width" */
3373 String get textUnderlineWidth() =>
3374 getPropertyValue('text-underline-width');
3375
3376 /** Sets the value of "text-underline-width" */
3377 void set textUnderlineWidth(var value) {
3378 setProperty('text-underline-width', value, '');
3379 }
3380
3381 /** Gets the value of "top" */
3382 String get top() =>
3383 getPropertyValue('top');
3384
3385 /** Sets the value of "top" */
3386 void set top(var value) {
3387 setProperty('top', value, '');
3388 }
3389
3390 /** Gets the value of "transform" */
3391 String get transform() =>
3392 getPropertyValue('${_browserPrefix}transform');
3393
3394 /** Sets the value of "transform" */
3395 void set transform(var value) {
3396 setProperty('${_browserPrefix}transform', value, '');
3397 }
3398
3399 /** Gets the value of "transform-origin" */
3400 String get transformOrigin() =>
3401 getPropertyValue('${_browserPrefix}transform-origin');
3402
3403 /** Sets the value of "transform-origin" */
3404 void set transformOrigin(var value) {
3405 setProperty('${_browserPrefix}transform-origin', value, '');
3406 }
3407
3408 /** Gets the value of "transform-origin-x" */
3409 String get transformOriginX() =>
3410 getPropertyValue('${_browserPrefix}transform-origin-x');
3411
3412 /** Sets the value of "transform-origin-x" */
3413 void set transformOriginX(var value) {
3414 setProperty('${_browserPrefix}transform-origin-x', value, '');
3415 }
3416
3417 /** Gets the value of "transform-origin-y" */
3418 String get transformOriginY() =>
3419 getPropertyValue('${_browserPrefix}transform-origin-y');
3420
3421 /** Sets the value of "transform-origin-y" */
3422 void set transformOriginY(var value) {
3423 setProperty('${_browserPrefix}transform-origin-y', value, '');
3424 }
3425
3426 /** Gets the value of "transform-origin-z" */
3427 String get transformOriginZ() =>
3428 getPropertyValue('${_browserPrefix}transform-origin-z');
3429
3430 /** Sets the value of "transform-origin-z" */
3431 void set transformOriginZ(var value) {
3432 setProperty('${_browserPrefix}transform-origin-z', value, '');
3433 }
3434
3435 /** Gets the value of "transform-style" */
3436 String get transformStyle() =>
3437 getPropertyValue('${_browserPrefix}transform-style');
3438
3439 /** Sets the value of "transform-style" */
3440 void set transformStyle(var value) {
3441 setProperty('${_browserPrefix}transform-style', value, '');
3442 }
3443
3444 /** Gets the value of "transition" */
3445 String get transition() =>
3446 getPropertyValue('${_browserPrefix}transition');
3447
3448 /** Sets the value of "transition" */
3449 void set transition(var value) {
3450 setProperty('${_browserPrefix}transition', value, '');
3451 }
3452
3453 /** Gets the value of "transition-delay" */
3454 String get transitionDelay() =>
3455 getPropertyValue('${_browserPrefix}transition-delay');
3456
3457 /** Sets the value of "transition-delay" */
3458 void set transitionDelay(var value) {
3459 setProperty('${_browserPrefix}transition-delay', value, '');
3460 }
3461
3462 /** Gets the value of "transition-duration" */
3463 String get transitionDuration() =>
3464 getPropertyValue('${_browserPrefix}transition-duration');
3465
3466 /** Sets the value of "transition-duration" */
3467 void set transitionDuration(var value) {
3468 setProperty('${_browserPrefix}transition-duration', value, '');
3469 }
3470
3471 /** Gets the value of "transition-property" */
3472 String get transitionProperty() =>
3473 getPropertyValue('${_browserPrefix}transition-property');
3474
3475 /** Sets the value of "transition-property" */
3476 void set transitionProperty(var value) {
3477 setProperty('${_browserPrefix}transition-property', value, '');
3478 }
3479
3480 /** Gets the value of "transition-timing-function" */
3481 String get transitionTimingFunction() =>
3482 getPropertyValue('${_browserPrefix}transition-timing-function');
3483
3484 /** Sets the value of "transition-timing-function" */
3485 void set transitionTimingFunction(var value) {
3486 setProperty('${_browserPrefix}transition-timing-function', value, '');
3487 }
3488
3489 /** Gets the value of "unicode-bidi" */
3490 String get unicodeBidi() =>
3491 getPropertyValue('unicode-bidi');
3492
3493 /** Sets the value of "unicode-bidi" */
3494 void set unicodeBidi(var value) {
3495 setProperty('unicode-bidi', value, '');
3496 }
3497
3498 /** Gets the value of "unicode-range" */
3499 String get unicodeRange() =>
3500 getPropertyValue('unicode-range');
3501
3502 /** Sets the value of "unicode-range" */
3503 void set unicodeRange(var value) {
3504 setProperty('unicode-range', value, '');
3505 }
3506
3507 /** Gets the value of "user-drag" */
3508 String get userDrag() =>
3509 getPropertyValue('${_browserPrefix}user-drag');
3510
3511 /** Sets the value of "user-drag" */
3512 void set userDrag(var value) {
3513 setProperty('${_browserPrefix}user-drag', value, '');
3514 }
3515
3516 /** Gets the value of "user-modify" */
3517 String get userModify() =>
3518 getPropertyValue('${_browserPrefix}user-modify');
3519
3520 /** Sets the value of "user-modify" */
3521 void set userModify(var value) {
3522 setProperty('${_browserPrefix}user-modify', value, '');
3523 }
3524
3525 /** Gets the value of "user-select" */
3526 String get userSelect() =>
3527 getPropertyValue('${_browserPrefix}user-select');
3528
3529 /** Sets the value of "user-select" */
3530 void set userSelect(var value) {
3531 setProperty('${_browserPrefix}user-select', value, '');
3532 }
3533
3534 /** Gets the value of "vertical-align" */
3535 String get verticalAlign() =>
3536 getPropertyValue('vertical-align');
3537
3538 /** Sets the value of "vertical-align" */
3539 void set verticalAlign(var value) {
3540 setProperty('vertical-align', value, '');
3541 }
3542
3543 /** Gets the value of "visibility" */
3544 String get visibility() =>
3545 getPropertyValue('visibility');
3546
3547 /** Sets the value of "visibility" */
3548 void set visibility(var value) {
3549 setProperty('visibility', value, '');
3550 }
3551
3552 /** Gets the value of "white-space" */
3553 String get whiteSpace() =>
3554 getPropertyValue('white-space');
3555
3556 /** Sets the value of "white-space" */
3557 void set whiteSpace(var value) {
3558 setProperty('white-space', value, '');
3559 }
3560
3561 /** Gets the value of "widows" */
3562 String get widows() =>
3563 getPropertyValue('widows');
3564
3565 /** Sets the value of "widows" */
3566 void set widows(var value) {
3567 setProperty('widows', value, '');
3568 }
3569
3570 /** Gets the value of "width" */
3571 String get width() =>
3572 getPropertyValue('width');
3573
3574 /** Sets the value of "width" */
3575 void set width(var value) {
3576 setProperty('width', value, '');
3577 }
3578
3579 /** Gets the value of "word-break" */
3580 String get wordBreak() =>
3581 getPropertyValue('word-break');
3582
3583 /** Sets the value of "word-break" */
3584 void set wordBreak(var value) {
3585 setProperty('word-break', value, '');
3586 }
3587
3588 /** Gets the value of "word-spacing" */
3589 String get wordSpacing() =>
3590 getPropertyValue('word-spacing');
3591
3592 /** Sets the value of "word-spacing" */
3593 void set wordSpacing(var value) {
3594 setProperty('word-spacing', value, '');
3595 }
3596
3597 /** Gets the value of "word-wrap" */
3598 String get wordWrap() =>
3599 getPropertyValue('word-wrap');
3600
3601 /** Sets the value of "word-wrap" */
3602 void set wordWrap(var value) {
3603 setProperty('word-wrap', value, '');
3604 }
3605
3606 /** Gets the value of "wrap-shape" */
3607 String get wrapShape() =>
3608 getPropertyValue('${_browserPrefix}wrap-shape');
3609
3610 /** Sets the value of "wrap-shape" */
3611 void set wrapShape(var value) {
3612 setProperty('${_browserPrefix}wrap-shape', value, '');
3613 }
3614
3615 /** Gets the value of "writing-mode" */
3616 String get writingMode() =>
3617 getPropertyValue('${_browserPrefix}writing-mode');
3618
3619 /** Sets the value of "writing-mode" */
3620 void set writingMode(var value) {
3621 setProperty('${_browserPrefix}writing-mode', value, '');
3622 }
3623
3624 /** Gets the value of "z-index" */
3625 String get zIndex() =>
3626 getPropertyValue('z-index');
3627
3628 /** Sets the value of "z-index" */
3629 void set zIndex(var value) {
3630 setProperty('z-index', value, '');
3631 }
3632
3633 /** Gets the value of "zoom" */
3634 String get zoom() =>
3635 getPropertyValue('zoom');
3636
3637 /** Sets the value of "zoom" */
3638 void set zoom(var value) {
3639 setProperty('zoom', value, '');
3640 }
3641 }
3642
3643 class _CSSStyleRuleJs extends _CSSRuleJs implements CSSStyleRule native "*CSSSty leRule" {
3644
3645 String selectorText;
3646
3647 final _CSSStyleDeclarationJs style;
3648 }
3649
3650 class _CSSStyleSheetJs extends _StyleSheetJs implements CSSStyleSheet native "*C SSStyleSheet" {
3651
3652 final _CSSRuleListJs cssRules;
3653
3654 final _CSSRuleJs ownerRule;
3655
3656 final _CSSRuleListJs rules;
3657
3658 int addRule(String selector, String style, [int index = null]) native;
3659
3660 void deleteRule(int index) native;
3661
3662 int insertRule(String rule, int index) native;
3663
3664 void removeRule(int index) native;
3665 }
3666
3667 class _CSSTransformValueJs extends _CSSValueListJs implements CSSTransformValue native "*WebKitCSSTransformValue" {
3668
3669 static final int CSS_MATRIX = 11;
3670
3671 static final int CSS_MATRIX3D = 21;
3672
3673 static final int CSS_PERSPECTIVE = 20;
3674
3675 static final int CSS_ROTATE = 4;
3676
3677 static final int CSS_ROTATE3D = 17;
3678
3679 static final int CSS_ROTATEX = 14;
3680
3681 static final int CSS_ROTATEY = 15;
3682
3683 static final int CSS_ROTATEZ = 16;
3684
3685 static final int CSS_SCALE = 5;
3686
3687 static final int CSS_SCALE3D = 19;
3688
3689 static final int CSS_SCALEX = 6;
3690
3691 static final int CSS_SCALEY = 7;
3692
3693 static final int CSS_SCALEZ = 18;
3694
3695 static final int CSS_SKEW = 8;
3696
3697 static final int CSS_SKEWX = 9;
3698
3699 static final int CSS_SKEWY = 10;
3700
3701 static final int CSS_TRANSLATE = 1;
3702
3703 static final int CSS_TRANSLATE3D = 13;
3704
3705 static final int CSS_TRANSLATEX = 2;
3706
3707 static final int CSS_TRANSLATEY = 3;
3708
3709 static final int CSS_TRANSLATEZ = 12;
3710
3711 final int operationType;
3712 }
3713
3714 class _CSSUnknownRuleJs extends _CSSRuleJs implements CSSUnknownRule native "*CS SUnknownRule" {
3715 }
3716
3717 class _CSSValueJs implements CSSValue native "*CSSValue" {
3718
3719 static final int CSS_CUSTOM = 3;
3720
3721 static final int CSS_INHERIT = 0;
3722
3723 static final int CSS_PRIMITIVE_VALUE = 1;
3724
3725 static final int CSS_VALUE_LIST = 2;
3726
3727 String cssText;
3728
3729 final int cssValueType;
3730 }
3731
3732 class _CSSValueListJs extends _CSSValueJs implements CSSValueList native "*CSSVa lueList" {
3733
3734 final int length;
3735
3736 _CSSValueJs item(int index) native;
3737 }
3738
3739 class _CanvasElementJs extends _ElementJs implements CanvasElement native "*HTML CanvasElement" {
3740
3741 int height;
3742
3743 int width;
3744
3745 Object getContext(String contextId) native;
3746
3747 String toDataURL(String type) native;
3748 }
3749
3750 class _CanvasGradientJs implements CanvasGradient native "*CanvasGradient" {
3751
3752 void addColorStop(num offset, String color) native;
3753 }
3754
3755 class _CanvasPatternJs implements CanvasPattern native "*CanvasPattern" {
3756 }
3757
3758 class _CanvasPixelArrayJs implements CanvasPixelArray native "*CanvasPixelArray" {
3759
3760 final int length;
3761
3762 int operator[](int index) native "return this[index];";
3763
3764 void operator[]=(int index, int value) native "this[index] = value";
3765 // -- start List<int> mixins.
3766 // int is the element type.
3767
3768 // From Iterable<int>:
3769
3770 Iterator<int> iterator() {
3771 // Note: NodeLists are not fixed size. And most probably length shouldn't
3772 // be cached in both iterator _and_ forEach method. For now caching it
3773 // for consistency.
3774 return new _FixedSizeListIterator<int>(this);
3775 }
3776
3777 // From Collection<int>:
3778
3779 void add(int value) {
3780 throw new UnsupportedOperationException("Cannot add to immutable List.");
3781 }
3782
3783 void addLast(int value) {
3784 throw new UnsupportedOperationException("Cannot add to immutable List.");
3785 }
3786
3787 void addAll(Collection<int> collection) {
3788 throw new UnsupportedOperationException("Cannot add to immutable List.");
3789 }
3790
3791 void forEach(void f(int element)) => _Collections.forEach(this, f);
3792
3793 Collection map(f(int element)) => _Collections.map(this, [], f);
3794
3795 Collection<int> filter(bool f(int element)) =>
3796 _Collections.filter(this, <int>[], f);
3797
3798 bool every(bool f(int element)) => _Collections.every(this, f);
3799
3800 bool some(bool f(int element)) => _Collections.some(this, f);
3801
3802 bool isEmpty() => this.length == 0;
3803
3804 // From List<int>:
3805
3806 void sort(int compare(int a, int b)) {
3807 throw new UnsupportedOperationException("Cannot sort immutable List.");
3808 }
3809
3810 int indexOf(int element, [int start = 0]) =>
3811 _Lists.indexOf(this, element, start, this.length);
3812
3813 int lastIndexOf(int element, [int start = 0]) =>
3814 _Lists.lastIndexOf(this, element, start);
3815
3816 int last() => this[length - 1];
3817
3818 // FIXME: implement thesee.
3819 void setRange(int start, int length, List<int> from, [int startFrom]) {
3820 throw new UnsupportedOperationException("Cannot setRange on immutable List." );
3821 }
3822 void removeRange(int start, int length) {
3823 throw new UnsupportedOperationException("Cannot removeRange on immutable Lis t.");
3824 }
3825 void insertRange(int start, int length, [int initialValue]) {
3826 throw new UnsupportedOperationException("Cannot insertRange on immutable Lis t.");
3827 }
3828 List<int> getRange(int start, int length) =>
3829 _Lists.getRange(this, start, length, <int>[]);
3830
3831 // -- end List<int> mixins.
3832 }
3833
3834 class _CanvasRenderingContextJs implements CanvasRenderingContext native "*Canva sRenderingContext" {
3835
3836 final _CanvasElementJs canvas;
3837 }
3838
3839 class _CanvasRenderingContext2DJs extends _CanvasRenderingContextJs implements C anvasRenderingContext2D native "*CanvasRenderingContext2D" {
3840
3841 Dynamic fillStyle;
3842
3843 String font;
3844
3845 num globalAlpha;
3846
3847 String globalCompositeOperation;
3848
3849 String lineCap;
3850
3851 String lineJoin;
3852
3853 num lineWidth;
3854
3855 num miterLimit;
3856
3857 num shadowBlur;
3858
3859 String shadowColor;
3860
3861 num shadowOffsetX;
3862
3863 num shadowOffsetY;
3864
3865 Dynamic strokeStyle;
3866
3867 String textAlign;
3868
3869 String textBaseline;
3870
3871 List webkitLineDash;
3872
3873 num webkitLineDashOffset;
3874
3875 void arc(num x, num y, num radius, num startAngle, num endAngle, bool anticloc kwise) native;
3876
3877 void arcTo(num x1, num y1, num x2, num y2, num radius) native;
3878
3879 void beginPath() native;
3880
3881 void bezierCurveTo(num cp1x, num cp1y, num cp2x, num cp2y, num x, num y) nativ e;
3882
3883 void clearRect(num x, num y, num width, num height) native;
3884
3885 void clearShadow() native;
3886
3887 void clip() native;
3888
3889 void closePath() native;
3890
3891 _ImageDataJs createImageData(var imagedata_OR_sw, [num sh = null]) native;
3892
3893 _CanvasGradientJs createLinearGradient(num x0, num y0, num x1, num y1) native;
3894
3895 _CanvasPatternJs createPattern(var canvas_OR_image, String repetitionType) nat ive;
3896
3897 _CanvasGradientJs createRadialGradient(num x0, num y0, num r0, num x1, num y1, num r1) native;
3898
3899 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;
3900
3901 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;
3902
3903 void fill() native;
3904
3905 void fillRect(num x, num y, num width, num height) native;
3906
3907 void fillText(String text, num x, num y, [num maxWidth = null]) native;
3908
3909 _ImageDataJs getImageData(num sx, num sy, num sw, num sh) native;
3910
3911 bool isPointInPath(num x, num y) native;
3912
3913 void lineTo(num x, num y) native;
3914
3915 _TextMetricsJs measureText(String text) native;
3916
3917 void moveTo(num x, num y) native;
3918
3919 void putImageData(_ImageDataJs imagedata, num dx, num dy, [num dirtyX = null, num dirtyY = null, num dirtyWidth = null, num dirtyHeight = null]) native;
3920
3921 void quadraticCurveTo(num cpx, num cpy, num x, num y) native;
3922
3923 void rect(num x, num y, num width, num height) native;
3924
3925 void restore() native;
3926
3927 void rotate(num angle) native;
3928
3929 void save() native;
3930
3931 void scale(num sx, num sy) native;
3932
3933 void setAlpha(num alpha) native;
3934
3935 void setCompositeOperation(String compositeOperation) native;
3936
3937 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;
3938
3939 void setLineCap(String cap) native;
3940
3941 void setLineJoin(String join) native;
3942
3943 void setLineWidth(num width) native;
3944
3945 void setMiterLimit(num limit) native;
3946
3947 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;
3948
3949 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;
3950
3951 void setTransform(num m11, num m12, num m21, num m22, num dx, num dy) native;
3952
3953 void stroke() native;
3954
3955 void strokeRect(num x, num y, num width, num height, [num lineWidth = null]) n ative;
3956
3957 void strokeText(String text, num x, num y, [num maxWidth = null]) native;
3958
3959 void transform(num m11, num m12, num m21, num m22, num dx, num dy) native;
3960
3961 void translate(num tx, num ty) native;
3962 }
3963
3964 class _CharacterDataJs extends _NodeJs implements CharacterData native "*Charact erData" {
3965
3966 String data;
3967
3968 final int length;
3969
3970 void appendData(String data) native;
3971
3972 void deleteData(int offset, int length) native;
3973
3974 void insertData(int offset, String data) native;
3975
3976 void replaceData(int offset, int length, String data) native;
3977
3978 String substringData(int offset, int length) native;
3979 }
3980
3981 class _ClientRectJs implements ClientRect native "*ClientRect" {
3982
3983 final num bottom;
3984
3985 final num height;
3986
3987 final num left;
3988
3989 final num right;
3990
3991 final num top;
3992
3993 final num width;
3994 }
3995
3996 class _ClientRectListJs implements ClientRectList native "*ClientRectList" {
3997
3998 final int length;
3999
4000 _ClientRectJs item(int index) native;
4001 }
4002
4003 class _ClipboardJs implements Clipboard native "*Clipboard" {
4004
4005 String dropEffect;
4006
4007 String effectAllowed;
4008
4009 final _FileListJs files;
4010
4011 final _DataTransferItemListJs items;
4012
4013 final List types;
4014
4015 void clearData([String type = null]) native;
4016
4017 void getData(String type) native;
4018
4019 bool setData(String type, String data) native;
4020
4021 void setDragImage(_ImageElementJs image, int x, int y) native;
4022 }
4023
4024 class _CloseEventJs extends _EventJs implements CloseEvent native "*CloseEvent" {
4025
4026 final int code;
4027
4028 final String reason;
4029
4030 final bool wasClean;
4031 }
4032
4033 class _CommentJs extends _CharacterDataJs implements Comment native "*Comment" {
4034 }
4035
4036 class _CompositionEventJs extends _UIEventJs implements CompositionEvent native "*CompositionEvent" {
4037
4038 final String data;
4039
4040 void initCompositionEvent(String typeArg, bool canBubbleArg, bool cancelableAr g, _WindowJs viewArg, String dataArg) native;
4041 }
4042 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4043 // for details. All rights reserved. Use of this source code is governed by a
4044 // BSD-style license that can be found in the LICENSE file.
4045
4046 class _ConsoleJs
4047 // Console is sometimes a singleton bag-of-properties without a prototype.
4048 implements Console
4049 native "=(typeof console == 'undefined' ? {} : console)" {
4050
4051 final _MemoryInfoJs memory;
4052
4053 final List profiles;
4054
4055 void assertCondition(bool condition) native;
4056
4057 void count() native;
4058
4059 void debug(Object arg) native;
4060
4061 void dir() native;
4062
4063 void dirxml() native;
4064
4065 void error(Object arg) native;
4066
4067 void group() native;
4068
4069 void groupCollapsed() native;
4070
4071 void groupEnd() native;
4072
4073 void info(Object arg) native;
4074
4075 void log(Object arg) native;
4076
4077 void markTimeline() native;
4078
4079 void profile(String title) native;
4080
4081 void profileEnd(String title) native;
4082
4083 void time(String title) native;
4084
4085 void timeEnd(String title) native;
4086
4087 void timeStamp() native;
4088
4089 void trace(Object arg) native;
4090
4091 void warn(Object arg) native;
4092
4093 }
4094
4095 class _ConvolverNodeJs extends _AudioNodeJs implements ConvolverNode native "*Co nvolverNode" {
4096
4097 _AudioBufferJs buffer;
4098
4099 bool normalize;
4100 }
4101
4102 class _CoordinatesJs implements Coordinates native "*Coordinates" {
4103
4104 final num accuracy;
4105
4106 final num altitude;
4107
4108 final num altitudeAccuracy;
4109
4110 final num heading;
4111
4112 final num latitude;
4113
4114 final num longitude;
4115
4116 final num speed;
4117 }
4118
4119 class _CounterJs implements Counter native "*Counter" {
4120
4121 final String identifier;
4122
4123 final String listStyle;
4124
4125 final String separator;
4126 }
4127
4128 class _CryptoJs implements Crypto native "*Crypto" {
4129
4130 void getRandomValues(_ArrayBufferViewJs array) native;
4131 }
4132
4133 class _CustomEventJs extends _EventJs implements CustomEvent native "*CustomEven t" {
4134
4135 final Object detail;
4136
4137 void initCustomEvent(String typeArg, bool canBubbleArg, bool cancelableArg, Ob ject detailArg) native;
4138 }
4139
4140 class _DListElementJs extends _ElementJs implements DListElement native "*HTMLDL istElement" {
4141
4142 bool compact;
4143 }
4144
4145 class _DOMApplicationCacheJs implements DOMApplicationCache native "*DOMApplicat ionCache" {
4146
4147 static final int CHECKING = 2;
4148
4149 static final int DOWNLOADING = 3;
4150
4151 static final int IDLE = 1;
4152
4153 static final int OBSOLETE = 5;
4154
4155 static final int UNCACHED = 0;
4156
4157 static final int UPDATEREADY = 4;
4158
4159 final int status;
4160
4161 _DOMApplicationCacheEventsImpl get on() =>
4162 new _DOMApplicationCacheEventsImpl(this);
4163
4164 void abort() native;
4165
4166 void _addEventListener(String type, EventListener listener, [bool useCapture = null]) native "this.addEventListener(type, listener, useCapture);";
4167
4168 bool _dispatchEvent(_EventJs evt) native "return this.dispatchEvent(evt);";
4169
4170 void _removeEventListener(String type, EventListener listener, [bool useCaptur e = null]) native "this.removeEventListener(type, listener, useCapture);";
4171
4172 void swapCache() native;
4173
4174 void update() native;
4175 }
4176
4177 class _DOMApplicationCacheEventsImpl extends _EventsImpl implements DOMApplicati onCacheEvents {
4178 _DOMApplicationCacheEventsImpl(_ptr) : super(_ptr);
4179
4180 EventListenerList get cached() => _get('cached');
4181
4182 EventListenerList get checking() => _get('checking');
4183
4184 EventListenerList get downloading() => _get('downloading');
4185
4186 EventListenerList get error() => _get('error');
4187
4188 EventListenerList get noUpdate() => _get('noupdate');
4189
4190 EventListenerList get obsolete() => _get('obsolete');
4191
4192 EventListenerList get progress() => _get('progress');
4193
4194 EventListenerList get updateReady() => _get('updateready');
4195 }
4196
4197 class _DOMExceptionJs implements DOMException native "*DOMException" {
4198
4199 static final int ABORT_ERR = 20;
4200
4201 static final int DATA_CLONE_ERR = 25;
4202
4203 static final int DOMSTRING_SIZE_ERR = 2;
4204
4205 static final int HIERARCHY_REQUEST_ERR = 3;
4206
4207 static final int INDEX_SIZE_ERR = 1;
4208
4209 static final int INUSE_ATTRIBUTE_ERR = 10;
4210
4211 static final int INVALID_ACCESS_ERR = 15;
4212
4213 static final int INVALID_CHARACTER_ERR = 5;
4214
4215 static final int INVALID_MODIFICATION_ERR = 13;
4216
4217 static final int INVALID_NODE_TYPE_ERR = 24;
4218
4219 static final int INVALID_STATE_ERR = 11;
4220
4221 static final int NAMESPACE_ERR = 14;
4222
4223 static final int NETWORK_ERR = 19;
4224
4225 static final int NOT_FOUND_ERR = 8;
4226
4227 static final int NOT_SUPPORTED_ERR = 9;
4228
4229 static final int NO_DATA_ALLOWED_ERR = 6;
4230
4231 static final int NO_MODIFICATION_ALLOWED_ERR = 7;
4232
4233 static final int QUOTA_EXCEEDED_ERR = 22;
4234
4235 static final int SECURITY_ERR = 18;
4236
4237 static final int SYNTAX_ERR = 12;
4238
4239 static final int TIMEOUT_ERR = 23;
4240
4241 static final int TYPE_MISMATCH_ERR = 17;
4242
4243 static final int URL_MISMATCH_ERR = 21;
4244
4245 static final int VALIDATION_ERR = 16;
4246
4247 static final int WRONG_DOCUMENT_ERR = 4;
4248
4249 final int code;
4250
4251 final String message;
4252
4253 final String name;
4254
4255 String toString() native;
4256 }
4257
4258 class _DOMFileSystemJs implements DOMFileSystem native "*DOMFileSystem" {
4259
4260 final String name;
4261
4262 final _DirectoryEntryJs root;
4263 }
4264
4265 class _DOMFileSystemSyncJs implements DOMFileSystemSync native "*DOMFileSystemSy nc" {
4266
4267 final String name;
4268
4269 final _DirectoryEntrySyncJs root;
4270 }
4271
4272 class _DOMFormDataJs implements DOMFormData native "*DOMFormData" {
4273
4274 void append(String name, String value, String filename) native;
4275 }
4276
4277 class _DOMImplementationJs implements DOMImplementation native "*DOMImplementati on" {
4278
4279 _CSSStyleSheetJs createCSSStyleSheet(String title, String media) native;
4280
4281 _DocumentJs createDocument(String namespaceURI, String qualifiedName, _Documen tTypeJs doctype) native;
4282
4283 _DocumentTypeJs createDocumentType(String qualifiedName, String publicId, Stri ng systemId) native;
4284
4285 _DocumentJs createHTMLDocument(String title) native;
4286
4287 bool hasFeature(String feature, String version) native;
4288 }
4289
4290 class _DOMMimeTypeJs implements DOMMimeType native "*DOMMimeType" {
4291
4292 final String description;
4293
4294 final _DOMPluginJs enabledPlugin;
4295
4296 final String suffixes;
4297
4298 final String type;
4299 }
4300
4301 class _DOMMimeTypeArrayJs implements DOMMimeTypeArray native "*DOMMimeTypeArray" {
4302
4303 final int length;
4304
4305 _DOMMimeTypeJs item(int index) native;
4306
4307 _DOMMimeTypeJs namedItem(String name) native;
4308 }
4309
4310 class _DOMParserJs implements DOMParser native "*DOMParser" {
4311
4312 _DocumentJs parseFromString(String str, String contentType) native;
4313 }
4314
4315 class _DOMPluginJs implements DOMPlugin native "*DOMPlugin" {
4316
4317 final String description;
4318
4319 final String filename;
4320
4321 final int length;
4322
4323 final String name;
4324
4325 _DOMMimeTypeJs item(int index) native;
4326
4327 _DOMMimeTypeJs namedItem(String name) native;
4328 }
4329
4330 class _DOMPluginArrayJs implements DOMPluginArray native "*DOMPluginArray" {
4331
4332 final int length;
4333
4334 _DOMPluginJs item(int index) native;
4335
4336 _DOMPluginJs namedItem(String name) native;
4337
4338 void refresh(bool reload) native;
4339 }
4340
4341 class _DOMSelectionJs implements DOMSelection native "*DOMSelection" {
4342
4343 final _NodeJs anchorNode;
4344
4345 final int anchorOffset;
4346
4347 final _NodeJs baseNode;
4348
4349 final int baseOffset;
4350
4351 final _NodeJs extentNode;
4352
4353 final int extentOffset;
4354
4355 final _NodeJs focusNode;
4356
4357 final int focusOffset;
4358
4359 final bool isCollapsed;
4360
4361 final int rangeCount;
4362
4363 final String type;
4364
4365 void addRange(_RangeJs range) native;
4366
4367 void collapse(_NodeJs node, int index) native;
4368
4369 void collapseToEnd() native;
4370
4371 void collapseToStart() native;
4372
4373 bool containsNode(_NodeJs node, bool allowPartial) native;
4374
4375 void deleteFromDocument() native;
4376
4377 void empty() native;
4378
4379 void extend(_NodeJs node, int offset) native;
4380
4381 _RangeJs getRangeAt(int index) native;
4382
4383 void modify(String alter, String direction, String granularity) native;
4384
4385 void removeAllRanges() native;
4386
4387 void selectAllChildren(_NodeJs node) native;
4388
4389 void setBaseAndExtent(_NodeJs baseNode, int baseOffset, _NodeJs extentNode, in t extentOffset) native;
4390
4391 void setPosition(_NodeJs node, int offset) native;
4392
4393 String toString() native;
4394 }
4395
4396 class _DOMSettableTokenListJs extends _DOMTokenListJs implements DOMSettableToke nList native "*DOMSettableTokenList" {
4397
4398 String value;
4399 }
4400
4401 class _DOMTokenListJs implements DOMTokenList native "*DOMTokenList" {
4402
4403 final int length;
4404
4405 void add(String token) native;
4406
4407 bool contains(String token) native;
4408
4409 String item(int index) native;
4410
4411 void remove(String token) native;
4412
4413 String toString() native;
4414
4415 bool toggle(String token) native;
4416 }
4417
4418 class _DOMURLJs implements DOMURL native "*DOMURL" {
4419
4420 String createObjectURL(_BlobJs blob) native;
4421
4422 void revokeObjectURL(String url) native;
4423 }
4424
4425 class _DataTransferItemJs implements DataTransferItem native "*DataTransferItem" {
4426
4427 final String kind;
4428
4429 final String type;
4430
4431 _BlobJs getAsFile() native;
4432
4433 void getAsString(StringCallback callback) native;
4434 }
4435
4436 class _DataTransferItemListJs implements DataTransferItemList native "*DataTrans ferItemList" {
4437
4438 final int length;
4439
4440 void add(var data_OR_file, [String type = null]) native;
4441
4442 void clear() native;
4443
4444 _DataTransferItemJs item(int index) native;
4445 }
4446
4447 class _DataViewJs extends _ArrayBufferViewJs implements DataView native "*DataVi ew" {
4448
4449 num getFloat32(int byteOffset, [bool littleEndian = null]) native;
4450
4451 num getFloat64(int byteOffset, [bool littleEndian = null]) native;
4452
4453 int getInt16(int byteOffset, [bool littleEndian = null]) native;
4454
4455 int getInt32(int byteOffset, [bool littleEndian = null]) native;
4456
4457 Object getInt8() native;
4458
4459 int getUint16(int byteOffset, [bool littleEndian = null]) native;
4460
4461 int getUint32(int byteOffset, [bool littleEndian = null]) native;
4462
4463 Object getUint8() native;
4464
4465 void setFloat32(int byteOffset, num value, [bool littleEndian = null]) native;
4466
4467 void setFloat64(int byteOffset, num value, [bool littleEndian = null]) native;
4468
4469 void setInt16(int byteOffset, int value, [bool littleEndian = null]) native;
4470
4471 void setInt32(int byteOffset, int value, [bool littleEndian = null]) native;
4472
4473 void setInt8() native;
4474
4475 void setUint16(int byteOffset, int value, [bool littleEndian = null]) native;
4476
4477 void setUint32(int byteOffset, int value, [bool littleEndian = null]) native;
4478
4479 void setUint8() native;
4480 }
4481
4482 class _DatabaseJs implements Database native "*Database" {
4483
4484 final String version;
4485
4486 void changeVersion(String oldVersion, String newVersion, [SQLTransactionCallba ck callback = null, SQLTransactionErrorCallback errorCallback = null, VoidCallba ck successCallback = null]) native;
4487
4488 void readTransaction(SQLTransactionCallback callback, [SQLTransactionErrorCall back errorCallback = null, VoidCallback successCallback = null]) native;
4489
4490 void transaction(SQLTransactionCallback callback, [SQLTransactionErrorCallback errorCallback = null, VoidCallback successCallback = null]) native;
4491 }
4492
4493 class _DatabaseSyncJs implements DatabaseSync native "*DatabaseSync" {
4494
4495 final String lastErrorMessage;
4496
4497 final String version;
4498
4499 void changeVersion(String oldVersion, String newVersion, [SQLTransactionSyncCa llback callback = null]) native;
4500
4501 void readTransaction(SQLTransactionSyncCallback callback) native;
4502
4503 void transaction(SQLTransactionSyncCallback callback) native;
4504 }
4505
4506 class _DedicatedWorkerContextJs extends _WorkerContextJs implements DedicatedWor kerContext native "*DedicatedWorkerContext" {
4507
4508 EventListener onmessage;
4509
4510 void postMessage(Object message, [List messagePorts = null]) native;
4511
4512 void webkitPostMessage(Object message, [List transferList = null]) native;
4513 }
4514
4515 class _DelayNodeJs extends _AudioNodeJs implements DelayNode native "*DelayNode" {
4516
4517 final _AudioParamJs delayTime;
4518 }
4519
4520 class _DetailsElementJs extends _ElementJs implements DetailsElement native "*HT MLDetailsElement" {
4521
4522 bool open;
4523 }
4524
4525 class _DeviceMotionEventJs extends _EventJs implements DeviceMotionEvent native "*DeviceMotionEvent" {
4526
4527 final num interval;
4528 }
4529
4530 class _DeviceOrientationEventJs extends _EventJs implements DeviceOrientationEve nt native "*DeviceOrientationEvent" {
4531
4532 final bool absolute;
4533
4534 final num alpha;
4535
4536 final num beta;
4537
4538 final num gamma;
4539
4540 void initDeviceOrientationEvent(String type, bool bubbles, bool cancelable, nu m alpha, num beta, num gamma, bool absolute) native;
4541 }
4542
4543 class _DirectoryElementJs extends _ElementJs implements DirectoryElement native "*HTMLDirectoryElement" {
4544
4545 bool compact;
4546 }
4547
4548 class _DirectoryEntryJs extends _EntryJs implements DirectoryEntry native "*Dire ctoryEntry" {
4549
4550 _DirectoryReaderJs createReader() native;
4551
4552 void getDirectory(String path, [Object flags = null, EntryCallback successCall back = null, ErrorCallback errorCallback = null]) native;
4553
4554 void getFile(String path, [Object flags = null, EntryCallback successCallback = null, ErrorCallback errorCallback = null]) native;
4555
4556 void removeRecursively(VoidCallback successCallback, [ErrorCallback errorCallb ack = null]) native;
4557 }
4558
4559 class _DirectoryEntrySyncJs extends _EntrySyncJs implements DirectoryEntrySync n ative "*DirectoryEntrySync" {
4560
4561 _DirectoryReaderSyncJs createReader() native;
4562
4563 _DirectoryEntrySyncJs getDirectory(String path, Object flags) native;
4564
4565 _FileEntrySyncJs getFile(String path, Object flags) native;
4566
4567 void removeRecursively() native;
4568 }
4569
4570 class _DirectoryReaderJs implements DirectoryReader native "*DirectoryReader" {
4571
4572 void readEntries(EntriesCallback successCallback, [ErrorCallback errorCallback = null]) native;
4573 }
4574
4575 class _DirectoryReaderSyncJs implements DirectoryReaderSync native "*DirectoryRe aderSync" {
4576
4577 _EntryArraySyncJs readEntries() native;
4578 }
4579
4580 class _DivElementJs extends _ElementJs implements DivElement native "*HTMLDivEle ment" {
4581
4582 String align;
4583 }
4584 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4585 // for details. All rights reserved. Use of this source code is governed by a
4586 // BSD-style license that can be found in the LICENSE file.
4587
4588 class _DocumentJs extends _ElementJs
4589 implements Document
4590 native "*HTMLHtmlElement" {
4591
4592 _ElementJs get activeElement() native "return this.parentNode.activeElement;";
4593
4594 _ElementJs get body() native "return this.parentNode.body;";
4595
4596 void set body(_ElementJs value) native "this.parentNode.body = value;";
4597
4598 String get charset() native "return this.parentNode.charset;";
4599
4600 void set charset(String value) native "this.parentNode.charset = value;";
4601
4602 String get cookie() native "return this.parentNode.cookie;";
4603
4604 void set cookie(String value) native "this.parentNode.cookie = value;";
4605
4606 _WindowJs get defaultView() native "return this.parentNode.defaultView;";
4607
4608 String get domain() native "return this.parentNode.domain;";
4609
4610 _HeadElementJs get head() native "return this.parentNode.head;";
4611
4612 String get lastModified() native "return this.parentNode.lastModified;";
4613
4614 String get preferredStylesheetSet() native "return this.parentNode.preferredSt ylesheetSet;";
4615
4616 String get readyState() native "return this.parentNode.readyState;";
4617
4618 String get referrer() native "return this.parentNode.referrer;";
4619
4620 String get selectedStylesheetSet() native "return this.parentNode.selectedStyl esheetSet;";
4621
4622 void set selectedStylesheetSet(String value) native "this.parentNode.selectedS tylesheetSet = value;";
4623
4624 _StyleSheetListJs get styleSheets() native "return this.parentNode.styleSheets ;";
4625
4626 _ElementJs get webkitCurrentFullScreenElement() native "return this.parentNode .webkitCurrentFullScreenElement;";
4627
4628 bool get webkitFullScreenKeyboardInputAllowed() native "return this.parentNode .webkitFullScreenKeyboardInputAllowed;";
4629
4630 bool get webkitHidden() native "return this.parentNode.webkitHidden;";
4631
4632 bool get webkitIsFullScreen() native "return this.parentNode.webkitIsFullScree n;";
4633
4634 String get webkitVisibilityState() native "return this.parentNode.webkitVisibi lityState;";
4635
4636 _DocumentEventsImpl get on() =>
4637 new _DocumentEventsImpl(_jsDocument);
4638
4639 _NodeJs adoptNode(_NodeJs source) native "return this.parentNode.adoptNode(sou rce);";
4640
4641 void captureEvents() native "this.parentNode.captureEvents();";
4642
4643 _RangeJs caretRangeFromPoint(int x, int y) native "return this.parentNode.care tRangeFromPoint(x, y);";
4644
4645 void clear() native "this.parentNode.clear();";
4646
4647 void close() native "this.parentNode.close();";
4648
4649 _AttrJs createAttribute(String name) native "return this.parentNode.createAttr ibute(name);";
4650
4651 _AttrJs createAttributeNS(String namespaceURI, String qualifiedName) native "r eturn this.parentNode.createAttributeNS(namespaceURI, qualifiedName);";
4652
4653 _CDATASectionJs createCDATASection(String data) native "return this.parentNode .createCDATASection(data);";
4654
4655 _CommentJs createComment(String data) native "return this.parentNode.createCom ment(data);";
4656
4657 _DocumentFragmentJs createDocumentFragment() native "return this.parentNode.cr eateDocumentFragment();";
4658
4659 _ElementJs _createElement(String tagName) native "return this.parentNode.creat eElement(tagName);";
4660
4661 _ElementJs createElementNS(String namespaceURI, String qualifiedName) native " return this.parentNode.createElementNS(namespaceURI, qualifiedName);";
4662
4663 _EntityReferenceJs createEntityReference(String name) native "return this.pare ntNode.createEntityReference(name);";
4664
4665 _EventJs _createEvent(String eventType) native "return this.parentNode.createE vent(eventType);";
4666
4667 _XPathExpressionJs createExpression(String expression, _XPathNSResolverJs reso lver) native "return this.parentNode.createExpression(expression, resolver);";
4668
4669 _XPathNSResolverJs createNSResolver(_NodeJs nodeResolver) native "return this. parentNode.createNSResolver(nodeResolver);";
4670
4671 _NodeIteratorJs createNodeIterator(_NodeJs root, int whatToShow, _NodeFilterJs filter, bool expandEntityReferences) native "return this.parentNode.createNodeI terator(root, whatToShow, filter, expandEntityReferences);";
4672
4673 _ProcessingInstructionJs createProcessingInstruction(String target, String dat a) native "return this.parentNode.createProcessingInstruction(target, data);";
4674
4675 _RangeJs createRange() native "return this.parentNode.createRange();";
4676
4677 _TextJs createTextNode(String data) native "return this.parentNode.createTextN ode(data);";
4678
4679 _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);";
4680
4681 _TouchListJs createTouchList() native "return this.parentNode.createTouchList( );";
4682
4683 _TreeWalkerJs createTreeWalker(_NodeJs root, int whatToShow, _NodeFilterJs fil ter, bool expandEntityReferences) native "return this.parentNode.createTreeWalke r(root, whatToShow, filter, expandEntityReferences);";
4684
4685 _ElementJs elementFromPoint(int x, int y) native "return this.parentNode.eleme ntFromPoint(x, y);";
4686
4687 _XPathResultJs evaluate(String expression, _NodeJs contextNode, _XPathNSResolv erJs resolver, int type, _XPathResultJs inResult) native "return this.parentNode .evaluate(expression, contextNode, resolver, type, inResult);";
4688
4689 bool execCommand(String command, bool userInterface, String value) native "ret urn this.parentNode.execCommand(command, userInterface, value);";
4690
4691 Object getCSSCanvasContext(String contextId, String name, int width, int heigh t) native "return this.parentNode.getCSSCanvasContext(contextId, name, width, he ight);";
4692
4693 _ElementJs getElementById(String elementId) native "return this.parentNode.get ElementById(elementId);";
4694
4695 _NodeListJs getElementsByClassName(String tagname) native "return this.parentN ode.getElementsByClassName(tagname);";
4696
4697 _NodeListJs getElementsByName(String elementName) native "return this.parentNo de.getElementsByName(elementName);";
4698
4699 _NodeListJs getElementsByTagName(String tagname) native "return this.parentNod e.getElementsByTagName(tagname);";
4700
4701 _NodeListJs getElementsByTagNameNS(String namespaceURI, String localName) nati ve "return this.parentNode.getElementsByTagNameNS(namespaceURI, localName);";
4702
4703 _CSSStyleDeclarationJs getOverrideStyle(_ElementJs element, String pseudoEleme nt) native "return this.parentNode.getOverrideStyle(element, pseudoElement);";
4704
4705 _DOMSelectionJs getSelection() native "return this.parentNode.getSelection();" ;
4706
4707 bool hasFocus() native "return this.parentNode.hasFocus();";
4708
4709 _NodeJs importNode(_NodeJs importedNode, [bool deep = null]) native "return th is.parentNode.importNode(importedNode, deep);";
4710
4711 void open() native "this.parentNode.open();";
4712
4713 bool queryCommandEnabled(String command) native "return this.parentNode.queryC ommandEnabled(command);";
4714
4715 bool queryCommandIndeterm(String command) native "return this.parentNode.query CommandIndeterm(command);";
4716
4717 bool queryCommandState(String command) native "return this.parentNode.queryCom mandState(command);";
4718
4719 bool queryCommandSupported(String command) native "return this.parentNode.quer yCommandSupported(command);";
4720
4721 String queryCommandValue(String command) native "return this.parentNode.queryC ommandValue(command);";
4722
4723 _ElementJs querySelector(String selectors) native "return this.parentNode.quer ySelector(selectors);";
4724
4725 _NodeListJs querySelectorAll(String selectors) native "return this.parentNode. querySelectorAll(selectors);";
4726
4727 void releaseEvents() native "this.parentNode.releaseEvents();";
4728
4729 void webkitCancelFullScreen() native "this.parentNode.webkitCancelFullScreen() ;";
4730
4731 _WebKitNamedFlowJs webkitGetFlowByName(String name) native "return this.parent Node.webkitGetFlowByName(name);";
4732
4733 void write(String text) native "this.parentNode.write(text);";
4734
4735 void writeln(String text) native "this.parentNode.writeln(text);";
4736
4737
4738 // We execute query selectors off the traditional document rather than the
4739 // HTMLHtmlElement to make the result of query and queryAll less surprising.
4740 // Note: this means that document.query('html') will return the Document.
4741 _ElementJs query(String selectors) native "return this.parentNode.querySelecto r(selectors);";
4742 ElementList queryAll(String selectors) native "return this.parentNode.querySel ectorAll(selectors);";
4743
4744 // TODO(jacobr): remove these methods and let them be generated automatically
4745 // once dart supports defining fields with the same name in an interface and
4746 // its parent interface.
4747 String get title() native "return this.parentNode.title;";
4748 void set title(String value) native "this.parentNode.title = value;";
4749
4750
4751 // For efficiency and simplicity, we always use the HtmlElement as the
4752 // Document but sometimes internally we need the real JS document object.
4753 _NodeJs get _jsDocument() native "return this.parentNode;";
4754
4755 // The document doesn't have a parent element.
4756 _ElementJs get parent() => null;
4757 }
4758
4759 // This class should not be externally visible. If a user ever gets access to
4760 // a _SecretHtmlDocumentJs object that is a bug. This object is hidden by
4761 // adding checks to all methods that could an HTMLDocument. We believe that
4762 // list is limited to Event.target, and HTMLHtmlElement.parent.
4763 class _SecretHtmlDocumentJs extends _NodeJs implements Node
4764 native "*HTMLDocument" {
4765 _DocumentJs get _documentElement() native "return this.documentElement;";
4766 }
4767
4768 EventTarget _FixHtmlDocumentReference(EventTarget eventTarget) {
4769 if (eventTarget is _SecretHtmlDocumentJs) {
4770 _SecretHtmlDocumentJs secretDocument = eventTarget;
4771 return secretDocument._documentElement;
4772 } else {
4773 return eventTarget;
4774 }
4775 }
4776
4777 class _DocumentEventsImpl extends _ElementEventsImpl implements DocumentEvents {
4778 _DocumentEventsImpl(_ptr) : super(_ptr);
4779
4780 EventListenerList get abort() => _get('abort');
4781
4782 EventListenerList get beforeCopy() => _get('beforecopy');
4783
4784 EventListenerList get beforeCut() => _get('beforecut');
4785
4786 EventListenerList get beforePaste() => _get('beforepaste');
4787
4788 EventListenerList get blur() => _get('blur');
4789
4790 EventListenerList get change() => _get('change');
4791
4792 EventListenerList get click() => _get('click');
4793
4794 EventListenerList get contextMenu() => _get('contextmenu');
4795
4796 EventListenerList get copy() => _get('copy');
4797
4798 EventListenerList get cut() => _get('cut');
4799
4800 EventListenerList get doubleClick() => _get('dblclick');
4801
4802 EventListenerList get drag() => _get('drag');
4803
4804 EventListenerList get dragEnd() => _get('dragend');
4805
4806 EventListenerList get dragEnter() => _get('dragenter');
4807
4808 EventListenerList get dragLeave() => _get('dragleave');
4809
4810 EventListenerList get dragOver() => _get('dragover');
4811
4812 EventListenerList get dragStart() => _get('dragstart');
4813
4814 EventListenerList get drop() => _get('drop');
4815
4816 EventListenerList get error() => _get('error');
4817
4818 EventListenerList get focus() => _get('focus');
4819
4820 EventListenerList get fullScreenChange() => _get('webkitFullScreenChange');
4821
4822 EventListenerList get fullScreenError() => _get('webkitFullScreenError');
4823
4824 EventListenerList get input() => _get('input');
4825
4826 EventListenerList get invalid() => _get('invalid');
4827
4828 EventListenerList get keyDown() => _get('keydown');
4829
4830 EventListenerList get keyPress() => _get('keypress');
4831
4832 EventListenerList get keyUp() => _get('keyup');
4833
4834 EventListenerList get load() => _get('load');
4835
4836 EventListenerList get mouseDown() => _get('mousedown');
4837
4838 EventListenerList get mouseMove() => _get('mousemove');
4839
4840 EventListenerList get mouseOut() => _get('mouseout');
4841
4842 EventListenerList get mouseOver() => _get('mouseover');
4843
4844 EventListenerList get mouseUp() => _get('mouseup');
4845
4846 EventListenerList get mouseWheel() => _get('mousewheel');
4847
4848 EventListenerList get paste() => _get('paste');
4849
4850 EventListenerList get readyStateChange() => _get('readystatechange');
4851
4852 EventListenerList get reset() => _get('reset');
4853
4854 EventListenerList get scroll() => _get('scroll');
4855
4856 EventListenerList get search() => _get('search');
4857
4858 EventListenerList get select() => _get('select');
4859
4860 EventListenerList get selectStart() => _get('selectstart');
4861
4862 EventListenerList get selectionChange() => _get('selectionchange');
4863
4864 EventListenerList get submit() => _get('submit');
4865
4866 EventListenerList get touchCancel() => _get('touchcancel');
4867
4868 EventListenerList get touchEnd() => _get('touchend');
4869
4870 EventListenerList get touchMove() => _get('touchmove');
4871
4872 EventListenerList get touchStart() => _get('touchstart');
4873 }
4874
4875 class _DocumentFragmentJs extends _NodeJs implements DocumentFragment native "*D ocumentFragment" {
4876
4877 _ElementJs querySelector(String selectors) native;
4878
4879 _NodeListJs querySelectorAll(String selectors) native;
4880 }
4881
4882 class _DocumentTypeJs extends _NodeJs implements DocumentType native "*DocumentT ype" {
4883
4884 final _NamedNodeMapJs entities;
4885
4886 final String internalSubset;
4887
4888 final String name;
4889
4890 final _NamedNodeMapJs notations;
4891
4892 final String publicId;
4893
4894 final String systemId;
4895 }
4896
4897 class _DynamicsCompressorNodeJs extends _AudioNodeJs implements DynamicsCompress orNode native "*DynamicsCompressorNode" {
4898 }
4899 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4900 // for details. All rights reserved. Use of this source code is governed by a
4901 // BSD-style license that can be found in the LICENSE file.
4902
4903 // TODO(jacobr): use Lists.dart to remove some of the duplicated functionality.
4904 class _ChildrenElementList implements ElementList {
4905 // Raw Element.
4906 final _ElementJs _element;
4907 final _HTMLCollectionJs _childElements;
4908
4909 _ChildrenElementList._wrap(_ElementJs element)
4910 : _childElements = element._children,
4911 _element = element;
4912
4913 List<Element> _toList() {
4914 final output = new List(_childElements.length);
4915 for (int i = 0, len = _childElements.length; i < len; i++) {
4916 output[i] = _childElements[i];
4917 }
4918 return output;
4919 }
4920
4921 _ElementJs get first() {
4922 return _element._firstElementChild;
4923 }
4924
4925 void forEach(void f(Element element)) {
4926 for (_ElementJs element in _childElements) {
4927 f(element);
4928 }
4929 }
4930
4931 Collection<Element> filter(bool f(Element element)) {
4932 List<Element> output = <Element>[];
4933 forEach((Element element) {
4934 if (f(element)) {
4935 output.add(element);
4936 }
4937 });
4938 return output;
4939 }
4940
4941 bool every(bool f(Element element)) {
4942 for(Element element in this) {
4943 if (!f(element)) {
4944 return false;
4945 }
4946 };
4947 return true;
4948 }
4949
4950 bool some(bool f(Element element)) {
4951 for(Element element in this) {
4952 if (f(element)) {
4953 return true;
4954 }
4955 };
4956 return false;
4957 }
4958
4959 bool isEmpty() {
4960 return _element._firstElementChild !== null;
4961 }
4962
4963 int get length() {
4964 return _childElements.length;
4965 }
4966
4967 _ElementJs operator [](int index) {
4968 return _childElements[index];
4969 }
4970
4971 void operator []=(int index, _ElementJs value) {
4972 _element._replaceChild(value, _childElements.item(index));
4973 }
4974
4975 void set length(int newLength) {
4976 // TODO(jacobr): remove children when length is reduced.
4977 throw const UnsupportedOperationException('');
4978 }
4979
4980 Element add(_ElementJs value) {
4981 _element._appendChild(value);
4982 return value;
4983 }
4984
4985 Element addLast(_ElementJs value) => add(value);
4986
4987 Iterator<Element> iterator() => _toList().iterator();
4988
4989 void addAll(Collection<_ElementJs> collection) {
4990 for (_ElementJs element in collection) {
4991 _element._appendChild(element);
4992 }
4993 }
4994
4995 void sort(int compare(Element a, Element b)) {
4996 throw const UnsupportedOperationException('TODO(jacobr): should we impl?');
4997 }
4998
4999 void copyFrom(List<Object> src, int srcStart, int dstStart, int count) {
5000 throw 'Not impl yet. todo(jacobr)';
5001 }
5002
5003 void setRange(int start, int length, List from, [int startFrom = 0]) {
5004 throw const NotImplementedException();
5005 }
5006
5007 void removeRange(int start, int length) {
5008 throw const NotImplementedException();
5009 }
5010
5011 void insertRange(int start, int length, [initialValue = null]) {
5012 throw const NotImplementedException();
5013 }
5014
5015 List getRange(int start, int length) {
5016 throw const NotImplementedException();
5017 }
5018
5019 int indexOf(Element element, [int start = 0]) {
5020 return _Lists.indexOf(this, element, start, this.length);
5021 }
5022
5023 int lastIndexOf(Element element, [int start = null]) {
5024 if (start === null) start = length - 1;
5025 return _Lists.lastIndexOf(this, element, start);
5026 }
5027
5028 void clear() {
5029 // It is unclear if we want to keep non element nodes?
5030 _element.text = '';
5031 }
5032
5033 Element removeLast() {
5034 final last = this.last();
5035 if (last != null) {
5036 _element._removeChild(last);
5037 }
5038 return last;
5039 }
5040
5041 Element last() {
5042 return _element.lastElementChild;
5043 }
5044 }
5045
5046 class ElementAttributeMap implements Map<String, String> {
5047
5048 final _ElementJs _element;
5049
5050 ElementAttributeMap._wrap(this._element);
5051
5052 bool containsValue(String value) {
5053 final attributes = _element.attributes;
5054 for (int i = 0, len = attributes.length; i < len; i++) {
5055 if(value == attributes.item(i).value) {
5056 return true;
5057 }
5058 }
5059 return false;
5060 }
5061
5062 bool containsKey(String key) {
5063 return _element._hasAttribute(key);
5064 }
5065
5066 String operator [](String key) {
5067 return _element._getAttribute(key);
5068 }
5069
5070 void operator []=(String key, String value) {
5071 _element._setAttribute(key, value);
5072 }
5073
5074 String putIfAbsent(String key, String ifAbsent()) {
5075 if (!containsKey(key)) {
5076 this[key] = ifAbsent();
5077 }
5078 }
5079
5080 String remove(String key) {
5081 _element._removeAttribute(key);
5082 }
5083
5084 void clear() {
5085 final attributes = _element._attributes;
5086 for (int i = attributes.length - 1; i >= 0; i--) {
5087 remove(attributes.item(i).name);
5088 }
5089 }
5090
5091 void forEach(void f(String key, String value)) {
5092 final attributes = _element.attributes;
5093 for (int i = 0, len = attributes.length; i < len; i++) {
5094 final item = attributes.item(i);
5095 f(item.name, item.value);
5096 }
5097 }
5098
5099 Collection<String> getKeys() {
5100 // TODO(jacobr): generate a lazy collection instead.
5101 final attributes = _element.attributes;
5102 final keys = new List<String>(attributes.length);
5103 for (int i = 0, len = attributes.length; i < len; i++) {
5104 keys[i] = attributes.item(i).name;
5105 }
5106 return keys;
5107 }
5108
5109 Collection<String> getValues() {
5110 // TODO(jacobr): generate a lazy collection instead.
5111 final attributes = _element.attributes;
5112 final values = new List<String>(attributes.length);
5113 for (int i = 0, len = attributes.length; i < len; i++) {
5114 values[i] = attributes.item(i).value;
5115 }
5116 return values;
5117 }
5118
5119 /**
5120 * The number of {key, value} pairs in the map.
5121 */
5122 int get length() {
5123 return _element._attributes.length;
5124 }
5125
5126 /**
5127 * Returns true if there is no {key, value} pair in the map.
5128 */
5129 bool isEmpty() {
5130 return length == 0;
5131 }
5132 }
5133
5134 class _SimpleClientRect implements ClientRect {
5135 final num left;
5136 final num top;
5137 final num width;
5138 final num height;
5139 num get right() => left + width;
5140 num get bottom() => top + height;
5141
5142 const _SimpleClientRect(this.left, this.top, this.width, this.height);
5143
5144 bool operator ==(ClientRect other) {
5145 return other !== null && left == other.left && top == other.top
5146 && width == other.width && height == other.height;
5147 }
5148
5149 String toString() => "($left, $top, $width, $height)";
5150 }
5151
5152 // TODO(jacobr): we cannot currently be lazy about calculating the client
5153 // rects as we must perform all measurement queries at a safe point to avoid
5154 // triggering unneeded layouts.
5155 /**
5156 * All your element measurement needs in one place
5157 * @domName none
5158 */
5159 class _ElementRectImpl implements ElementRect {
5160 final ClientRect client;
5161 final ClientRect offset;
5162 final ClientRect scroll;
5163
5164 // TODO(jacobr): should we move these outside of ElementRect to avoid the
5165 // overhead of computing them every time even though they are rarely used.
5166 final _ClientRectJs _boundingClientRect;
5167 final _ClientRectListJs _clientRects;
5168
5169 _ElementRectImpl(_ElementJs element) :
5170 client = new _SimpleClientRect(element._clientLeft,
5171 element._clientTop,
5172 element._clientWidth,
5173 element._clientHeight),
5174 offset = new _SimpleClientRect(element._offsetLeft,
5175 element._offsetTop,
5176 element._offsetWidth,
5177 element._offsetHeight),
5178 scroll = new _SimpleClientRect(element._scrollLeft,
5179 element._scrollTop,
5180 element._scrollWidth,
5181 element._scrollHeight),
5182 _boundingClientRect = element.getBoundingClientRect(),
5183 _clientRects = element.getClientRects();
5184
5185 _ClientRectJs get bounding() => _boundingClientRect;
5186
5187 // TODO(jacobr): cleanup.
5188 List<ClientRect> get clientRects() {
5189 final out = new List(_clientRects.length);
5190 for (num i = 0; i < _clientRects.length; i++) {
5191 out[i] = _clientRects.item(i);
5192 }
5193 return out;
5194 }
5195 }
5196
5197 final _START_TAG_REGEXP = const RegExp('<(\\w+)');
5198
5199 class _ElementJs extends _NodeJs implements Element native "*Element" {
5200
5201 static final _CUSTOM_PARENT_TAG_MAP = const {
5202 'body' : 'html',
5203 'head' : 'html',
5204 'caption' : 'table',
5205 'td': 'tr',
5206 'tbody': 'table',
5207 'colgroup': 'table',
5208 'col' : 'colgroup',
5209 'tr' : 'tbody',
5210 'tbody' : 'table',
5211 'tfoot' : 'table',
5212 'thead' : 'table',
5213 'track' : 'audio',
5214 };
5215
5216 /** @domName Document.createElement */
5217 factory Element.html(String html) {
5218 // TODO(jacobr): this method can be made more robust and performant.
5219 // 1) Cache the dummy parent elements required to use innerHTML rather than
5220 // creating them every call.
5221 // 2) Verify that the html does not contain leading or trailing text nodes.
5222 // 3) Verify that the html does not contain both <head> and <body> tags.
5223 // 4) Detatch the created element from its dummy parent.
5224 String parentTag = 'div';
5225 String tag;
5226 final match = _START_TAG_REGEXP.firstMatch(html);
5227 if (match !== null) {
5228 tag = match.group(1).toLowerCase();
5229 if (_CUSTOM_PARENT_TAG_MAP.containsKey(tag)) {
5230 parentTag = _CUSTOM_PARENT_TAG_MAP[tag];
5231 }
5232 }
5233 _ElementJs temp = _document._createElement(parentTag);
5234 temp.innerHTML = html;
5235
5236 if (temp._childElementCount == 1) {
5237 return temp._firstElementChild;
5238 } else if (parentTag == 'html' && temp._childElementCount == 2) {
5239 // Work around for edge case in WebKit and possibly other browsers where
5240 // both body and head elements are created even though the inner html
5241 // only contains a head or body element.
5242 return temp.elements[tag == 'head' ? 0 : 1];
5243 } else {
5244 throw new IllegalArgumentException('HTML had ${temp._childElementCount} ' +
5245 'top level elements but 1 expected');
5246 }
5247 }
5248
5249 /** @domName Document.createElement */
5250 factory Element.tag(String tag) {
5251 return _document._createElement(tag);
5252 }
5253
5254 // TODO(jacobr): caching these may hurt performance.
5255 ElementAttributeMap _elementAttributeMap;
5256 _CssClassSet _cssClassSet;
5257 _DataAttributeMap _dataAttributes;
5258
5259 // TODO(jacobr): remove these methods and let them be generated automatically
5260 // once dart supports defining fields with the same name in an interface and
5261 // its parent interface.
5262 String get title() native "return this.parentNode.title;";
5263 void set title(String value) native "this.parentNode.title = value;";
5264
5265 /**
5266 * @domName Element.hasAttribute, Element.getAttribute, Element.setAttribute,
5267 * Element.removeAttribute
5268 */
5269 Map<String, String> get attributes() {
5270 if (_elementAttributeMap === null) {
5271 _elementAttributeMap = new ElementAttributeMap._wrap(this);
5272 }
5273 return _elementAttributeMap;
5274 }
5275
5276 void set attributes(Map<String, String> value) {
5277 Map<String, String> attributes = this.attributes;
5278 attributes.clear();
5279 for (String key in value.getKeys()) {
5280 attributes[key] = value[key];
5281 }
5282 }
5283
5284 void set elements(Collection<Element> value) {
5285 final elements = this.elements;
5286 elements.clear();
5287 elements.addAll(value);
5288 }
5289
5290 /**
5291 * @domName childElementCount, firstElementChild, lastElementChild,
5292 * children, Node.nodes.add
5293 */
5294 ElementList get elements() => new _ChildrenElementList._wrap(this);
5295
5296 /** @domName querySelector, Document.getElementById */
5297 Element query(String selectors) native "return this.querySelector(selectors);" ;
5298
5299 /**
5300 * @domName querySelectorAll, getElementsByClassName, getElementsByTagName,
5301 * getElementsByTagNameNS
5302 */
5303 ElementList queryAll(String selectors) native "return this.querySelectorAll(se lectors);";
5304
5305 /** @domName className, classList */
5306 Set<String> get classes() {
5307 if (_cssClassSet === null) {
5308 _cssClassSet = new _CssClassSet(this);
5309 }
5310 return _cssClassSet;
5311 }
5312
5313 void set classes(Collection<String> value) {
5314 _CssClassSet classSet = classes;
5315 classSet.clear();
5316 classSet.addAll(value);
5317 }
5318
5319 Map<String, String> get dataAttributes() {
5320 if (_dataAttributes === null) {
5321 _dataAttributes = new _DataAttributeMap(attributes);
5322 }
5323 return _dataAttributes;
5324 }
5325
5326 void set dataAttributes(Map<String, String> value) {
5327 Map<String, String> dataAttributes = this.dataAttributes;
5328 dataAttributes.clear();
5329 for (String key in value.getKeys()) {
5330 dataAttributes[key] = value[key];
5331 }
5332 }
5333
5334 bool matchesSelector(String selectors) native "return this.webkitMatchesSelect or(selectors)";
5335
5336 /**
5337 * @domName getClientRects, getBoundingClientRect, clientHeight, clientWidth,
5338 * clientTop, clientLeft, offsetHeight, offsetWidth, offsetTop, offsetLeft,
5339 * scrollHeight, scrollWidth, scrollTop, scrollLeft
5340 */
5341 Future<ElementRect> get rect() {
5342 return _createMeasurementFuture(
5343 () => new _ElementRectImpl(this),
5344 new Completer<ElementRect>());
5345 }
5346
5347 /** @domName Window.getComputedStyle */
5348 Future<CSSStyleDeclaration> get computedStyle() {
5349 // TODO(jacobr): last param should be null, see b/5045788
5350 return getComputedStyle('');
5351 }
5352
5353 /** @domName Window.getComputedStyle */
5354 Future<CSSStyleDeclaration> getComputedStyle(String pseudoElement) {
5355 return _createMeasurementFuture(() =>
5356 _window._getComputedStyle(this, pseudoElement),
5357 new Completer<CSSStyleDeclaration>());
5358 }
5359
5360 _ElementJs clone(bool deep) native;
5361
5362 static final int ALLOW_KEYBOARD_INPUT = 1;
5363
5364 int get _childElementCount() native "return this.childElementCount;";
5365
5366 _HTMLCollectionJs get _children() native "return this.children;";
5367
5368 final _DOMTokenListJs classList;
5369
5370 String get _className() native "return this.className;";
5371
5372 void set _className(String value) native "this.className = value;";
5373
5374 int get _clientHeight() native "return this.clientHeight;";
5375
5376 int get _clientLeft() native "return this.clientLeft;";
5377
5378 int get _clientTop() native "return this.clientTop;";
5379
5380 int get _clientWidth() native "return this.clientWidth;";
5381
5382 String contentEditable;
5383
5384 String dir;
5385
5386 bool draggable;
5387
5388 _ElementJs get _firstElementChild() native "return this.firstElementChild;";
5389
5390 bool hidden;
5391
5392 String id;
5393
5394 String innerHTML;
5395
5396 final bool isContentEditable;
5397
5398 String lang;
5399
5400 final _ElementJs lastElementChild;
5401
5402 final _ElementJs nextElementSibling;
5403
5404 int get _offsetHeight() native "return this.offsetHeight;";
5405
5406 int get _offsetLeft() native "return this.offsetLeft;";
5407
5408 final _ElementJs offsetParent;
5409
5410 int get _offsetTop() native "return this.offsetTop;";
5411
5412 int get _offsetWidth() native "return this.offsetWidth;";
5413
5414 final String outerHTML;
5415
5416 final _ElementJs previousElementSibling;
5417
5418 int get _scrollHeight() native "return this.scrollHeight;";
5419
5420 int get _scrollLeft() native "return this.scrollLeft;";
5421
5422 void set _scrollLeft(int value) native "this.scrollLeft = value;";
5423
5424 int get _scrollTop() native "return this.scrollTop;";
5425
5426 void set _scrollTop(int value) native "this.scrollTop = value;";
5427
5428 int get _scrollWidth() native "return this.scrollWidth;";
5429
5430 bool spellcheck;
5431
5432 final _CSSStyleDeclarationJs style;
5433
5434 int tabIndex;
5435
5436 final String tagName;
5437
5438 String webkitdropzone;
5439
5440 _ElementEventsImpl get on() =>
5441 new _ElementEventsImpl(this);
5442
5443 void blur() native;
5444
5445 void focus() native;
5446
5447 String _getAttribute(String name) native "return this.getAttribute(name);";
5448
5449 _ClientRectJs getBoundingClientRect() native;
5450
5451 _ClientRectListJs getClientRects() native;
5452
5453 _NodeListJs getElementsByClassName(String name) native;
5454
5455 _NodeListJs getElementsByTagName(String name) native;
5456
5457 _NodeListJs getElementsByTagNameNS(String namespaceURI, String localName) nati ve;
5458
5459 bool _hasAttribute(String name) native "return this.hasAttribute(name);";
5460
5461 _ElementJs insertAdjacentElement(String where, _ElementJs element) native;
5462
5463 void insertAdjacentHTML(String where, String html) native;
5464
5465 void insertAdjacentText(String where, String text) native;
5466
5467 _ElementJs querySelector(String selectors) native;
5468
5469 _NodeListJs querySelectorAll(String selectors) native;
5470
5471 void _removeAttribute(String name) native "this.removeAttribute(name);";
5472
5473 void scrollByLines(int lines) native;
5474
5475 void scrollByPages(int pages) native;
5476
5477 void scrollIntoView([bool alignWithTop = null]) native;
5478
5479 void scrollIntoViewIfNeeded([bool centerIfNeeded = null]) native;
5480
5481 void _setAttribute(String name, String value) native "this.setAttribute(name, value);";
5482
5483 bool webkitMatchesSelector(String selectors) native;
5484
5485 void webkitRequestFullScreen(int flags) native;
5486
5487 }
5488
5489 class _ElementEventsImpl extends _EventsImpl implements ElementEvents {
5490 _ElementEventsImpl(_ptr) : super(_ptr);
5491
5492 EventListenerList get abort() => _get('abort');
5493
5494 EventListenerList get beforeCopy() => _get('beforecopy');
5495
5496 EventListenerList get beforeCut() => _get('beforecut');
5497
5498 EventListenerList get beforePaste() => _get('beforepaste');
5499
5500 EventListenerList get blur() => _get('blur');
5501
5502 EventListenerList get change() => _get('change');
5503
5504 EventListenerList get click() => _get('click');
5505
5506 EventListenerList get contextMenu() => _get('contextmenu');
5507
5508 EventListenerList get copy() => _get('copy');
5509
5510 EventListenerList get cut() => _get('cut');
5511
5512 EventListenerList get doubleClick() => _get('dblclick');
5513
5514 EventListenerList get drag() => _get('drag');
5515
5516 EventListenerList get dragEnd() => _get('dragend');
5517
5518 EventListenerList get dragEnter() => _get('dragenter');
5519
5520 EventListenerList get dragLeave() => _get('dragleave');
5521
5522 EventListenerList get dragOver() => _get('dragover');
5523
5524 EventListenerList get dragStart() => _get('dragstart');
5525
5526 EventListenerList get drop() => _get('drop');
5527
5528 EventListenerList get error() => _get('error');
5529
5530 EventListenerList get focus() => _get('focus');
5531
5532 EventListenerList get fullScreenChange() => _get('webkitFullScreenChange');
5533
5534 EventListenerList get fullScreenError() => _get('webkitFullScreenError');
5535
5536 EventListenerList get input() => _get('input');
5537
5538 EventListenerList get invalid() => _get('invalid');
5539
5540 EventListenerList get keyDown() => _get('keydown');
5541
5542 EventListenerList get keyPress() => _get('keypress');
5543
5544 EventListenerList get keyUp() => _get('keyup');
5545
5546 EventListenerList get load() => _get('load');
5547
5548 EventListenerList get mouseDown() => _get('mousedown');
5549
5550 EventListenerList get mouseMove() => _get('mousemove');
5551
5552 EventListenerList get mouseOut() => _get('mouseout');
5553
5554 EventListenerList get mouseOver() => _get('mouseover');
5555
5556 EventListenerList get mouseUp() => _get('mouseup');
5557
5558 EventListenerList get mouseWheel() => _get('mousewheel');
5559
5560 EventListenerList get paste() => _get('paste');
5561
5562 EventListenerList get reset() => _get('reset');
5563
5564 EventListenerList get scroll() => _get('scroll');
5565
5566 EventListenerList get search() => _get('search');
5567
5568 EventListenerList get select() => _get('select');
5569
5570 EventListenerList get selectStart() => _get('selectstart');
5571
5572 EventListenerList get submit() => _get('submit');
5573
5574 EventListenerList get touchCancel() => _get('touchcancel');
5575
5576 EventListenerList get touchEnd() => _get('touchend');
5577
5578 EventListenerList get touchLeave() => _get('touchleave');
5579
5580 EventListenerList get touchMove() => _get('touchmove');
5581
5582 EventListenerList get touchStart() => _get('touchstart');
5583
5584 EventListenerList get transitionEnd() => _get('webkitTransitionEnd');
5585 }
5586
5587 class _ElementTimeControlJs implements ElementTimeControl native "*ElementTimeCo ntrol" {
5588
5589 void beginElement() native;
5590
5591 void beginElementAt(num offset) native;
5592
5593 void endElement() native;
5594
5595 void endElementAt(num offset) native;
5596 }
5597
5598 class _ElementTraversalJs implements ElementTraversal native "*ElementTraversal" {
5599
5600 final int childElementCount;
5601
5602 final _ElementJs firstElementChild;
5603
5604 final _ElementJs lastElementChild;
5605
5606 final _ElementJs nextElementSibling;
5607
5608 final _ElementJs previousElementSibling;
5609 }
5610
5611 class _EmbedElementJs extends _ElementJs implements EmbedElement native "*HTMLEm bedElement" {
5612
5613 String align;
5614
5615 String height;
5616
5617 String name;
5618
5619 String src;
5620
5621 String type;
5622
5623 String width;
5624 }
5625
5626 class _EntityJs extends _NodeJs implements Entity native "*Entity" {
5627
5628 final String notationName;
5629
5630 final String publicId;
5631
5632 final String systemId;
5633 }
5634
5635 class _EntityReferenceJs extends _NodeJs implements EntityReference native "*Ent ityReference" {
5636 }
5637
5638 class _EntryJs implements Entry native "*Entry" {
5639
5640 final _DOMFileSystemJs filesystem;
5641
5642 final String fullPath;
5643
5644 final bool isDirectory;
5645
5646 final bool isFile;
5647
5648 final String name;
5649
5650 void copyTo(_DirectoryEntryJs parent, [String name = null, EntryCallback succe ssCallback = null, ErrorCallback errorCallback = null]) native;
5651
5652 void getMetadata(MetadataCallback successCallback, [ErrorCallback errorCallbac k = null]) native;
5653
5654 void getParent([EntryCallback successCallback = null, ErrorCallback errorCallb ack = null]) native;
5655
5656 void moveTo(_DirectoryEntryJs parent, [String name = null, EntryCallback succe ssCallback = null, ErrorCallback errorCallback = null]) native;
5657
5658 void remove(VoidCallback successCallback, [ErrorCallback errorCallback = null] ) native;
5659
5660 String toURL() native;
5661 }
5662
5663 class _EntryArrayJs implements EntryArray native "*EntryArray" {
5664
5665 final int length;
5666
5667 _EntryJs item(int index) native;
5668 }
5669
5670 class _EntryArraySyncJs implements EntryArraySync native "*EntryArraySync" {
5671
5672 final int length;
5673
5674 _EntrySyncJs item(int index) native;
5675 }
5676
5677 class _EntrySyncJs implements EntrySync native "*EntrySync" {
5678
5679 final _DOMFileSystemSyncJs filesystem;
5680
5681 final String fullPath;
5682
5683 final bool isDirectory;
5684
5685 final bool isFile;
5686
5687 final String name;
5688
5689 _EntrySyncJs copyTo(_DirectoryEntrySyncJs parent, String name) native;
5690
5691 _MetadataJs getMetadata() native;
5692
5693 _DirectoryEntrySyncJs getParent() native;
5694
5695 _EntrySyncJs moveTo(_DirectoryEntrySyncJs parent, String name) native;
5696
5697 void remove() native;
5698
5699 String toURL() native;
5700 }
5701
5702 class _ErrorEventJs extends _EventJs implements ErrorEvent native "*ErrorEvent" {
5703
5704 final String filename;
5705
5706 final int lineno;
5707
5708 final String message;
5709 }
5710 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5711 // for details. All rights reserved. Use of this source code is governed by a
5712 // BSD-style license that can be found in the LICENSE file.
5713
5714 class _EventJs implements Event native "*Event" {
5715
5716 EventTarget get target() => _FixHtmlDocumentReference(_target);
5717 EventTarget get srcElement() => _FixHtmlDocumentReference(_srcElement);
5718 EventTarget get currentTarget() =>
5719 _FixHtmlDocumentReference(_currentTarget);
5720
5721 static final int AT_TARGET = 2;
5722
5723 static final int BLUR = 8192;
5724
5725 static final int BUBBLING_PHASE = 3;
5726
5727 static final int CAPTURING_PHASE = 1;
5728
5729 static final int CHANGE = 32768;
5730
5731 static final int CLICK = 64;
5732
5733 static final int DBLCLICK = 128;
5734
5735 static final int DRAGDROP = 2048;
5736
5737 static final int FOCUS = 4096;
5738
5739 static final int KEYDOWN = 256;
5740
5741 static final int KEYPRESS = 1024;
5742
5743 static final int KEYUP = 512;
5744
5745 static final int MOUSEDOWN = 1;
5746
5747 static final int MOUSEDRAG = 32;
5748
5749 static final int MOUSEMOVE = 16;
5750
5751 static final int MOUSEOUT = 8;
5752
5753 static final int MOUSEOVER = 4;
5754
5755 static final int MOUSEUP = 2;
5756
5757 static final int SELECT = 16384;
5758
5759 final bool bubbles;
5760
5761 bool cancelBubble;
5762
5763 final bool cancelable;
5764
5765 final _ClipboardJs clipboardData;
5766
5767 _EventTargetJs get _currentTarget() native "return this.currentTarget;";
5768
5769 final bool defaultPrevented;
5770
5771 final int eventPhase;
5772
5773 bool returnValue;
5774
5775 _EventTargetJs get _srcElement() native "return this.srcElement;";
5776
5777 _EventTargetJs get _target() native "return this.target;";
5778
5779 final int timeStamp;
5780
5781 final String type;
5782
5783 void _initEvent(String eventTypeArg, bool canBubbleArg, bool cancelableArg) na tive "this.initEvent(eventTypeArg, canBubbleArg, cancelableArg);";
5784
5785 void preventDefault() native;
5786
5787 void stopImmediatePropagation() native;
5788
5789 void stopPropagation() native;
5790
5791 }
5792
5793 class _EventExceptionJs implements EventException native "*EventException" {
5794
5795 static final int DISPATCH_REQUEST_ERR = 1;
5796
5797 static final int UNSPECIFIED_EVENT_TYPE_ERR = 0;
5798
5799 final int code;
5800
5801 final String message;
5802
5803 final String name;
5804
5805 String toString() native;
5806 }
5807
5808 class _EventSourceJs implements EventSource native "*EventSource" {
5809
5810 static final int CLOSED = 2;
5811
5812 static final int CONNECTING = 0;
5813
5814 static final int OPEN = 1;
5815
5816 final String URL;
5817
5818 final int readyState;
5819
5820 final String url;
5821
5822 _EventSourceEventsImpl get on() =>
5823 new _EventSourceEventsImpl(this);
5824
5825 void _addEventListener(String type, EventListener listener, [bool useCapture = null]) native "this.addEventListener(type, listener, useCapture);";
5826
5827 void close() native;
5828
5829 bool _dispatchEvent(_EventJs evt) native "return this.dispatchEvent(evt);";
5830
5831 void _removeEventListener(String type, EventListener listener, [bool useCaptur e = null]) native "this.removeEventListener(type, listener, useCapture);";
5832 }
5833
5834 class _EventSourceEventsImpl extends _EventsImpl implements EventSourceEvents {
5835 _EventSourceEventsImpl(_ptr) : super(_ptr);
5836
5837 EventListenerList get error() => _get('error');
5838
5839 EventListenerList get message() => _get('message');
5840
5841 EventListenerList get open() => _get('open');
5842 }
5843 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5844 // for details. All rights reserved. Use of this source code is governed by a
5845 // BSD-style license that can be found in the LICENSE file.
5846
5847 class _EventsImpl implements Events {
5848 /* Raw event target. */
5849 // TODO(jacobr): it would be nice if we could specify this as
5850 // _EventTargetJs or EventTarget
5851 final var _ptr;
5852
5853 _EventsImpl(this._ptr);
5854
5855 _EventListenerListImpl operator [](String type) => _get(type.toLowerCase());
5856
5857 _EventListenerListImpl _get(String type) {
5858 return new _EventListenerListImpl(_ptr, type);
5859 }
5860 }
5861
5862 class _EventListenerListImpl implements EventListenerList {
5863
5864 // TODO(jacobr): make this _EventTargetJs
5865 final var _ptr;
5866 final String _type;
5867
5868 _EventListenerListImpl(this._ptr, this._type);
5869
5870 // TODO(jacobr): implement equals.
5871
5872 _EventListenerListImpl add(EventListener listener,
5873 [bool useCapture = false]) {
5874 _add(listener, useCapture);
5875 return this;
5876 }
5877
5878 _EventListenerListImpl remove(EventListener listener,
5879 [bool useCapture = false]) {
5880 _remove(listener, useCapture);
5881 return this;
5882 }
5883
5884 bool dispatch(Event evt) {
5885 // TODO(jacobr): what is the correct behavior here. We could alternately
5886 // force the event to have the expected type.
5887 assert(evt.type == _type);
5888 return _ptr._dispatchEvent(evt);
5889 }
5890
5891 void _add(EventListener listener, bool useCapture) {
5892 _ptr._addEventListener(_type, listener, useCapture);
5893 }
5894
5895 void _remove(EventListener listener, bool useCapture) {
5896 _ptr._removeEventListener(_type, listener, useCapture);
5897 }
5898 }
5899
5900
5901 class _EventTargetJs implements EventTarget native "*EventTarget" {
5902
5903 Events get on() => new _EventsImpl(this);
5904
5905 void _addEventListener(String type, EventListener listener, [bool useCapture = null]) native "this.addEventListener(type, listener, useCapture);";
5906
5907 bool _dispatchEvent(_EventJs event) native "return this.dispatchEvent(event);" ;
5908
5909 void _removeEventListener(String type, EventListener listener, [bool useCaptur e = null]) native "this.removeEventListener(type, listener, useCapture);";
5910
5911 }
5912
5913 class _FieldSetElementJs extends _ElementJs implements FieldSetElement native "* HTMLFieldSetElement" {
5914
5915 final _FormElementJs form;
5916
5917 final String validationMessage;
5918
5919 final _ValidityStateJs validity;
5920
5921 final bool willValidate;
5922
5923 bool checkValidity() native;
5924
5925 void setCustomValidity(String error) native;
5926 }
5927
5928 class _FileJs extends _BlobJs implements File native "*File" {
5929
5930 final String fileName;
5931
5932 final int fileSize;
5933
5934 final Date lastModifiedDate;
5935
5936 final String name;
5937
5938 final String webkitRelativePath;
5939 }
5940
5941 class _FileEntryJs extends _EntryJs implements FileEntry native "*FileEntry" {
5942
5943 void createWriter(FileWriterCallback successCallback, [ErrorCallback errorCall back = null]) native;
5944
5945 void file(FileCallback successCallback, [ErrorCallback errorCallback = null]) native;
5946 }
5947
5948 class _FileEntrySyncJs extends _EntrySyncJs implements FileEntrySync native "*Fi leEntrySync" {
5949
5950 _FileWriterSyncJs createWriter() native;
5951
5952 _FileJs file() native;
5953 }
5954
5955 class _FileErrorJs implements FileError native "*FileError" {
5956
5957 static final int ABORT_ERR = 3;
5958
5959 static final int ENCODING_ERR = 5;
5960
5961 static final int INVALID_MODIFICATION_ERR = 9;
5962
5963 static final int INVALID_STATE_ERR = 7;
5964
5965 static final int NOT_FOUND_ERR = 1;
5966
5967 static final int NOT_READABLE_ERR = 4;
5968
5969 static final int NO_MODIFICATION_ALLOWED_ERR = 6;
5970
5971 static final int PATH_EXISTS_ERR = 12;
5972
5973 static final int QUOTA_EXCEEDED_ERR = 10;
5974
5975 static final int SECURITY_ERR = 2;
5976
5977 static final int SYNTAX_ERR = 8;
5978
5979 static final int TYPE_MISMATCH_ERR = 11;
5980
5981 final int code;
5982 }
5983
5984 class _FileExceptionJs implements FileException native "*FileException" {
5985
5986 static final int ABORT_ERR = 3;
5987
5988 static final int ENCODING_ERR = 5;
5989
5990 static final int INVALID_MODIFICATION_ERR = 9;
5991
5992 static final int INVALID_STATE_ERR = 7;
5993
5994 static final int NOT_FOUND_ERR = 1;
5995
5996 static final int NOT_READABLE_ERR = 4;
5997
5998 static final int NO_MODIFICATION_ALLOWED_ERR = 6;
5999
6000 static final int PATH_EXISTS_ERR = 12;
6001
6002 static final int QUOTA_EXCEEDED_ERR = 10;
6003
6004 static final int SECURITY_ERR = 2;
6005
6006 static final int SYNTAX_ERR = 8;
6007
6008 static final int TYPE_MISMATCH_ERR = 11;
6009
6010 final int code;
6011
6012 final String message;
6013
6014 final String name;
6015
6016 String toString() native;
6017 }
6018
6019 class _FileListJs implements FileList native "*FileList" {
6020
6021 final int length;
6022
6023 _FileJs item(int index) native;
6024 }
6025
6026 class _FileReaderJs implements FileReader native "*FileReader" {
6027
6028 static final int DONE = 2;
6029
6030 static final int EMPTY = 0;
6031
6032 static final int LOADING = 1;
6033
6034 final _FileErrorJs error;
6035
6036 EventListener onabort;
6037
6038 EventListener onerror;
6039
6040 EventListener onload;
6041
6042 EventListener onloadend;
6043
6044 EventListener onloadstart;
6045
6046 EventListener onprogress;
6047
6048 final int readyState;
6049
6050 final Object result;
6051
6052 void abort() native;
6053
6054 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
6055
6056 bool dispatchEvent(_EventJs evt) native;
6057
6058 void readAsArrayBuffer(_BlobJs blob) native;
6059
6060 void readAsBinaryString(_BlobJs blob) native;
6061
6062 void readAsDataURL(_BlobJs blob) native;
6063
6064 void readAsText(_BlobJs blob, [String encoding = null]) native;
6065
6066 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
6067 }
6068
6069 class _FileReaderSyncJs implements FileReaderSync native "*FileReaderSync" {
6070
6071 _ArrayBufferJs readAsArrayBuffer(_BlobJs blob) native;
6072
6073 String readAsBinaryString(_BlobJs blob) native;
6074
6075 String readAsDataURL(_BlobJs blob) native;
6076
6077 String readAsText(_BlobJs blob, [String encoding = null]) native;
6078 }
6079
6080 class _FileWriterJs implements FileWriter native "*FileWriter" {
6081
6082 static final int DONE = 2;
6083
6084 static final int INIT = 0;
6085
6086 static final int WRITING = 1;
6087
6088 final _FileErrorJs error;
6089
6090 final int length;
6091
6092 EventListener onabort;
6093
6094 EventListener onerror;
6095
6096 EventListener onprogress;
6097
6098 EventListener onwrite;
6099
6100 EventListener onwriteend;
6101
6102 EventListener onwritestart;
6103
6104 final int position;
6105
6106 final int readyState;
6107
6108 void abort() native;
6109
6110 void seek(int position) native;
6111
6112 void truncate(int size) native;
6113
6114 void write(_BlobJs data) native;
6115 }
6116
6117 class _FileWriterSyncJs implements FileWriterSync native "*FileWriterSync" {
6118
6119 final int length;
6120
6121 final int position;
6122
6123 void seek(int position) native;
6124
6125 void truncate(int size) native;
6126
6127 void write(_BlobJs data) native;
6128 }
6129
6130 class _Float32ArrayJs extends _ArrayBufferViewJs implements Float32Array, List<n um> native "*Float32Array" {
6131
6132 factory Float32Array(int length) => _construct_Float32Array(length);
6133
6134 factory Float32Array.fromList(List<num> list) => _construct_Float32Array(list) ;
6135
6136 factory Float32Array.fromBuffer(ArrayBuffer buffer) => _construct_Float32Array (buffer);
6137
6138 static _construct_Float32Array(arg) native 'return new Float32Array(arg);';
6139
6140 static final int BYTES_PER_ELEMENT = 4;
6141
6142 final int length;
6143
6144 num operator[](int index) native "return this[index];";
6145
6146 void operator[]=(int index, num value) native "this[index] = value";
6147 // -- start List<num> mixins.
6148 // num is the element type.
6149
6150 // From Iterable<num>:
6151
6152 Iterator<num> iterator() {
6153 // Note: NodeLists are not fixed size. And most probably length shouldn't
6154 // be cached in both iterator _and_ forEach method. For now caching it
6155 // for consistency.
6156 return new _FixedSizeListIterator<num>(this);
6157 }
6158
6159 // From Collection<num>:
6160
6161 void add(num value) {
6162 throw new UnsupportedOperationException("Cannot add to immutable List.");
6163 }
6164
6165 void addLast(num value) {
6166 throw new UnsupportedOperationException("Cannot add to immutable List.");
6167 }
6168
6169 void addAll(Collection<num> collection) {
6170 throw new UnsupportedOperationException("Cannot add to immutable List.");
6171 }
6172
6173 void forEach(void f(num element)) => _Collections.forEach(this, f);
6174
6175 Collection map(f(num element)) => _Collections.map(this, [], f);
6176
6177 Collection<num> filter(bool f(num element)) =>
6178 _Collections.filter(this, <num>[], f);
6179
6180 bool every(bool f(num element)) => _Collections.every(this, f);
6181
6182 bool some(bool f(num element)) => _Collections.some(this, f);
6183
6184 bool isEmpty() => this.length == 0;
6185
6186 // From List<num>:
6187
6188 void sort(int compare(num a, num b)) {
6189 throw new UnsupportedOperationException("Cannot sort immutable List.");
6190 }
6191
6192 int indexOf(num element, [int start = 0]) =>
6193 _Lists.indexOf(this, element, start, this.length);
6194
6195 int lastIndexOf(num element, [int start = 0]) =>
6196 _Lists.lastIndexOf(this, element, start);
6197
6198 num last() => this[length - 1];
6199
6200 // FIXME: implement thesee.
6201 void setRange(int start, int length, List<num> from, [int startFrom]) {
6202 throw new UnsupportedOperationException("Cannot setRange on immutable List." );
6203 }
6204 void removeRange(int start, int length) {
6205 throw new UnsupportedOperationException("Cannot removeRange on immutable Lis t.");
6206 }
6207 void insertRange(int start, int length, [num initialValue]) {
6208 throw new UnsupportedOperationException("Cannot insertRange on immutable Lis t.");
6209 }
6210 List<num> getRange(int start, int length) =>
6211 _Lists.getRange(this, start, length, <num>[]);
6212
6213 // -- end List<num> mixins.
6214
6215 void setElements(Object array, [int offset = null]) native;
6216
6217 _Float32ArrayJs subarray(int start, [int end = null]) native;
6218 }
6219
6220 class _Float64ArrayJs extends _ArrayBufferViewJs implements Float64Array, List<n um> native "*Float64Array" {
6221
6222 factory Float64Array(int length) => _construct_Float64Array(length);
6223
6224 factory Float64Array.fromList(List<num> list) => _construct_Float64Array(list) ;
6225
6226 factory Float64Array.fromBuffer(ArrayBuffer buffer) => _construct_Float64Array (buffer);
6227
6228 static _construct_Float64Array(arg) native 'return new Float64Array(arg);';
6229
6230 static final int BYTES_PER_ELEMENT = 8;
6231
6232 final int length;
6233
6234 num operator[](int index) native "return this[index];";
6235
6236 void operator[]=(int index, num value) native "this[index] = value";
6237 // -- start List<num> mixins.
6238 // num is the element type.
6239
6240 // From Iterable<num>:
6241
6242 Iterator<num> iterator() {
6243 // Note: NodeLists are not fixed size. And most probably length shouldn't
6244 // be cached in both iterator _and_ forEach method. For now caching it
6245 // for consistency.
6246 return new _FixedSizeListIterator<num>(this);
6247 }
6248
6249 // From Collection<num>:
6250
6251 void add(num value) {
6252 throw new UnsupportedOperationException("Cannot add to immutable List.");
6253 }
6254
6255 void addLast(num value) {
6256 throw new UnsupportedOperationException("Cannot add to immutable List.");
6257 }
6258
6259 void addAll(Collection<num> collection) {
6260 throw new UnsupportedOperationException("Cannot add to immutable List.");
6261 }
6262
6263 void forEach(void f(num element)) => _Collections.forEach(this, f);
6264
6265 Collection map(f(num element)) => _Collections.map(this, [], f);
6266
6267 Collection<num> filter(bool f(num element)) =>
6268 _Collections.filter(this, <num>[], f);
6269
6270 bool every(bool f(num element)) => _Collections.every(this, f);
6271
6272 bool some(bool f(num element)) => _Collections.some(this, f);
6273
6274 bool isEmpty() => this.length == 0;
6275
6276 // From List<num>:
6277
6278 void sort(int compare(num a, num b)) {
6279 throw new UnsupportedOperationException("Cannot sort immutable List.");
6280 }
6281
6282 int indexOf(num element, [int start = 0]) =>
6283 _Lists.indexOf(this, element, start, this.length);
6284
6285 int lastIndexOf(num element, [int start = 0]) =>
6286 _Lists.lastIndexOf(this, element, start);
6287
6288 num last() => this[length - 1];
6289
6290 // FIXME: implement thesee.
6291 void setRange(int start, int length, List<num> from, [int startFrom]) {
6292 throw new UnsupportedOperationException("Cannot setRange on immutable List." );
6293 }
6294 void removeRange(int start, int length) {
6295 throw new UnsupportedOperationException("Cannot removeRange on immutable Lis t.");
6296 }
6297 void insertRange(int start, int length, [num initialValue]) {
6298 throw new UnsupportedOperationException("Cannot insertRange on immutable Lis t.");
6299 }
6300 List<num> getRange(int start, int length) =>
6301 _Lists.getRange(this, start, length, <num>[]);
6302
6303 // -- end List<num> mixins.
6304
6305 void setElements(Object array, [int offset = null]) native;
6306
6307 _Float64ArrayJs subarray(int start, [int end = null]) native;
6308 }
6309
6310 class _FontElementJs extends _ElementJs implements FontElement native "*HTMLFont Element" {
6311
6312 String color;
6313
6314 String face;
6315
6316 String size;
6317 }
6318
6319 class _FormElementJs extends _ElementJs implements FormElement native "*HTMLForm Element" {
6320
6321 String acceptCharset;
6322
6323 String action;
6324
6325 String autocomplete;
6326
6327 String encoding;
6328
6329 String enctype;
6330
6331 final int length;
6332
6333 String method;
6334
6335 String name;
6336
6337 bool noValidate;
6338
6339 String target;
6340
6341 bool checkValidity() native;
6342
6343 void reset() native;
6344
6345 void submit() native;
6346 }
6347
6348 class _FrameElementJs extends _ElementJs implements FrameElement native "*HTMLFr ameElement" {
6349
6350 final _DocumentJs contentDocument;
6351
6352 final _WindowJs contentWindow;
6353
6354 String frameBorder;
6355
6356 final int height;
6357
6358 String location;
6359
6360 String longDesc;
6361
6362 String marginHeight;
6363
6364 String marginWidth;
6365
6366 String name;
6367
6368 bool noResize;
6369
6370 String scrolling;
6371
6372 String src;
6373
6374 final int width;
6375
6376 _SVGDocumentJs getSVGDocument() native;
6377 }
6378
6379 class _FrameSetElementJs extends _ElementJs implements FrameSetElement native "* HTMLFrameSetElement" {
6380
6381 String cols;
6382
6383 String rows;
6384
6385 _FrameSetElementEventsImpl get on() =>
6386 new _FrameSetElementEventsImpl(this);
6387 }
6388
6389 class _FrameSetElementEventsImpl extends _ElementEventsImpl implements FrameSetE lementEvents {
6390 _FrameSetElementEventsImpl(_ptr) : super(_ptr);
6391
6392 EventListenerList get beforeUnload() => _get('beforeunload');
6393
6394 EventListenerList get blur() => _get('blur');
6395
6396 EventListenerList get error() => _get('error');
6397
6398 EventListenerList get focus() => _get('focus');
6399
6400 EventListenerList get hashChange() => _get('hashchange');
6401
6402 EventListenerList get load() => _get('load');
6403
6404 EventListenerList get message() => _get('message');
6405
6406 EventListenerList get offline() => _get('offline');
6407
6408 EventListenerList get online() => _get('online');
6409
6410 EventListenerList get popState() => _get('popstate');
6411
6412 EventListenerList get resize() => _get('resize');
6413
6414 EventListenerList get storage() => _get('storage');
6415
6416 EventListenerList get unload() => _get('unload');
6417 }
6418
6419 class _GeolocationJs implements Geolocation native "*Geolocation" {
6420
6421 void clearWatch(int watchId) native;
6422
6423 void getCurrentPosition(PositionCallback successCallback, [PositionErrorCallba ck errorCallback = null]) native;
6424
6425 int watchPosition(PositionCallback successCallback, [PositionErrorCallback err orCallback = null]) native;
6426 }
6427
6428 class _GeopositionJs implements Geoposition native "*Geoposition" {
6429
6430 final _CoordinatesJs coords;
6431
6432 final int timestamp;
6433 }
6434
6435 class _HRElementJs extends _ElementJs implements HRElement native "*HTMLHRElemen t" {
6436
6437 String align;
6438
6439 bool noShade;
6440
6441 String size;
6442
6443 String width;
6444 }
6445
6446 class _HTMLAllCollectionJs implements HTMLAllCollection native "*HTMLAllCollecti on" {
6447
6448 final int length;
6449
6450 _NodeJs item(int index) native;
6451
6452 _NodeJs namedItem(String name) native;
6453
6454 _NodeListJs tags(String name) native;
6455 }
6456
6457 class _HTMLCollectionJs implements HTMLCollection native "*HTMLCollection" {
6458
6459 final int length;
6460
6461 _NodeJs operator[](int index) native "return this[index];";
6462
6463 void operator[]=(int index, _NodeJs value) {
6464 throw new UnsupportedOperationException("Cannot assign element of immutable List.");
6465 }
6466 // -- start List<Node> mixins.
6467 // Node is the element type.
6468
6469 // From Iterable<Node>:
6470
6471 Iterator<Node> iterator() {
6472 // Note: NodeLists are not fixed size. And most probably length shouldn't
6473 // be cached in both iterator _and_ forEach method. For now caching it
6474 // for consistency.
6475 return new _FixedSizeListIterator<Node>(this);
6476 }
6477
6478 // From Collection<Node>:
6479
6480 void add(Node value) {
6481 throw new UnsupportedOperationException("Cannot add to immutable List.");
6482 }
6483
6484 void addLast(Node value) {
6485 throw new UnsupportedOperationException("Cannot add to immutable List.");
6486 }
6487
6488 void addAll(Collection<Node> collection) {
6489 throw new UnsupportedOperationException("Cannot add to immutable List.");
6490 }
6491
6492 void forEach(void f(Node element)) => _Collections.forEach(this, f);
6493
6494 Collection map(f(Node element)) => _Collections.map(this, [], f);
6495
6496 Collection<Node> filter(bool f(Node element)) =>
6497 _Collections.filter(this, <Node>[], f);
6498
6499 bool every(bool f(Node element)) => _Collections.every(this, f);
6500
6501 bool some(bool f(Node element)) => _Collections.some(this, f);
6502
6503 bool isEmpty() => this.length == 0;
6504
6505 // From List<Node>:
6506
6507 void sort(int compare(Node a, Node b)) {
6508 throw new UnsupportedOperationException("Cannot sort immutable List.");
6509 }
6510
6511 int indexOf(Node element, [int start = 0]) =>
6512 _Lists.indexOf(this, element, start, this.length);
6513
6514 int lastIndexOf(Node element, [int start = 0]) =>
6515 _Lists.lastIndexOf(this, element, start);
6516
6517 Node last() => this[length - 1];
6518
6519 // FIXME: implement thesee.
6520 void setRange(int start, int length, List<Node> from, [int startFrom]) {
6521 throw new UnsupportedOperationException("Cannot setRange on immutable List." );
6522 }
6523 void removeRange(int start, int length) {
6524 throw new UnsupportedOperationException("Cannot removeRange on immutable Lis t.");
6525 }
6526 void insertRange(int start, int length, [Node initialValue]) {
6527 throw new UnsupportedOperationException("Cannot insertRange on immutable Lis t.");
6528 }
6529 List<Node> getRange(int start, int length) =>
6530 _Lists.getRange(this, start, length, <Node>[]);
6531
6532 // -- end List<Node> mixins.
6533
6534 _NodeJs item(int index) native;
6535
6536 _NodeJs namedItem(String name) native;
6537 }
6538
6539 class _HTMLOptionsCollectionJs extends _HTMLCollectionJs implements HTMLOptionsC ollection native "*HTMLOptionsCollection" {
6540
6541 // Shadowing definition.
6542 int get length() native "return this.length;";
6543
6544 void set length(int value) native "this.length = value;";
6545
6546 int selectedIndex;
6547
6548 void remove(int index) native;
6549 }
6550
6551 class _HashChangeEventJs extends _EventJs implements HashChangeEvent native "*Ha shChangeEvent" {
6552
6553 final String newURL;
6554
6555 final String oldURL;
6556
6557 void initHashChangeEvent(String type, bool canBubble, bool cancelable, String oldURL, String newURL) native;
6558 }
6559
6560 class _HeadElementJs extends _ElementJs implements HeadElement native "*HTMLHead Element" {
6561
6562 String profile;
6563 }
6564
6565 class _HeadingElementJs extends _ElementJs implements HeadingElement native "*HT MLHeadingElement" {
6566
6567 String align;
6568 }
6569
6570 class _HighPass2FilterNodeJs extends _AudioNodeJs implements HighPass2FilterNode native "*HighPass2FilterNode" {
6571
6572 final _AudioParamJs cutoff;
6573
6574 final _AudioParamJs resonance;
6575 }
6576
6577 class _HistoryJs implements History native "*History" {
6578
6579 final int length;
6580
6581 void back() native;
6582
6583 void forward() native;
6584
6585 void go(int distance) native;
6586
6587 void pushState(Object data, String title, [String url = null]) native;
6588
6589 void replaceState(Object data, String title, [String url = null]) native;
6590 }
6591 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6592 // for details. All rights reserved. Use of this source code is governed by a
6593 // BSD-style license that can be found in the LICENSE file.
6594
6595 class _HtmlElementJs extends _ElementJs implements HtmlElement
6596 native "*IntentionallyInvalid" {
6597
6598 String manifest;
6599
6600 String version;
6601
6602 }
6603
6604 class _IDBAnyJs implements IDBAny native "*IDBAny" {
6605 }
6606
6607 class _IDBCursorJs implements IDBCursor native "*IDBCursor" {
6608
6609 static final int NEXT = 0;
6610
6611 static final int NEXT_NO_DUPLICATE = 1;
6612
6613 static final int PREV = 2;
6614
6615 static final int PREV_NO_DUPLICATE = 3;
6616
6617 final int direction;
6618
6619 final _IDBKeyJs key;
6620
6621 final _IDBKeyJs primaryKey;
6622
6623 final _IDBAnyJs source;
6624
6625 void continueFunction([_IDBKeyJs key = null]) native;
6626
6627 _IDBRequestJs delete() native;
6628
6629 _IDBRequestJs update(Dynamic value) native;
6630 }
6631
6632 class _IDBCursorWithValueJs extends _IDBCursorJs implements IDBCursorWithValue n ative "*IDBCursorWithValue" {
6633
6634 final _IDBAnyJs value;
6635 }
6636
6637 class _IDBDatabaseJs implements IDBDatabase native "*IDBDatabase" {
6638
6639 final String name;
6640
6641 EventListener onabort;
6642
6643 EventListener onerror;
6644
6645 EventListener onversionchange;
6646
6647 final String version;
6648
6649 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
6650
6651 void close() native;
6652
6653 _IDBObjectStoreJs createObjectStore(String name) native;
6654
6655 void deleteObjectStore(String name) native;
6656
6657 bool dispatchEvent(_EventJs evt) native;
6658
6659 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
6660
6661 _IDBVersionChangeRequestJs setVersion(String version) native;
6662
6663 _IDBTransactionJs transaction(String storeName, int mode) native;
6664 }
6665
6666 class _IDBDatabaseErrorJs implements IDBDatabaseError native "*IDBDatabaseError" {
6667
6668 int code;
6669
6670 String message;
6671 }
6672
6673 class _IDBDatabaseExceptionJs implements IDBDatabaseException native "*IDBDataba seException" {
6674
6675 static final int ABORT_ERR = 8;
6676
6677 static final int CONSTRAINT_ERR = 4;
6678
6679 static final int DATA_ERR = 5;
6680
6681 static final int NON_TRANSIENT_ERR = 2;
6682
6683 static final int NOT_ALLOWED_ERR = 6;
6684
6685 static final int NOT_FOUND_ERR = 3;
6686
6687 static final int NO_ERR = 0;
6688
6689 static final int QUOTA_ERR = 11;
6690
6691 static final int READ_ONLY_ERR = 9;
6692
6693 static final int TIMEOUT_ERR = 10;
6694
6695 static final int TRANSACTION_INACTIVE_ERR = 7;
6696
6697 static final int UNKNOWN_ERR = 1;
6698
6699 static final int VER_ERR = 12;
6700
6701 final int code;
6702
6703 final String message;
6704
6705 final String name;
6706
6707 String toString() native;
6708 }
6709
6710 class _IDBFactoryJs implements IDBFactory native "*IDBFactory" {
6711
6712 int cmp(_IDBKeyJs first, _IDBKeyJs second) native;
6713
6714 _IDBVersionChangeRequestJs deleteDatabase(String name) native;
6715
6716 _IDBRequestJs getDatabaseNames() native;
6717
6718 _IDBRequestJs open(String name) native;
6719 }
6720
6721 class _IDBIndexJs implements IDBIndex native "*IDBIndex" {
6722
6723 final String keyPath;
6724
6725 final bool multiEntry;
6726
6727 final String name;
6728
6729 final _IDBObjectStoreJs objectStore;
6730
6731 final bool unique;
6732
6733 _IDBRequestJs count([_IDBKeyRangeJs range = null]) native;
6734
6735 _IDBRequestJs getObject(_IDBKeyJs key) native;
6736
6737 _IDBRequestJs getKey(_IDBKeyJs key) native;
6738
6739 _IDBRequestJs openCursor([_IDBKeyRangeJs range = null, int direction = null]) native;
6740
6741 _IDBRequestJs openKeyCursor([_IDBKeyRangeJs range = null, int direction = null ]) native;
6742 }
6743
6744 class _IDBKeyJs implements IDBKey native "*IDBKey" {
6745 }
6746
6747 class _IDBKeyRangeJs implements IDBKeyRange native "*IDBKeyRange" {
6748
6749 final _IDBKeyJs lower;
6750
6751 final bool lowerOpen;
6752
6753 final _IDBKeyJs upper;
6754
6755 final bool upperOpen;
6756
6757 _IDBKeyRangeJs bound(_IDBKeyJs lower, _IDBKeyJs upper, [bool lowerOpen = null, bool upperOpen = null]) native;
6758
6759 _IDBKeyRangeJs lowerBound(_IDBKeyJs bound, [bool open = null]) native;
6760
6761 _IDBKeyRangeJs only(_IDBKeyJs value) native;
6762
6763 _IDBKeyRangeJs upperBound(_IDBKeyJs bound, [bool open = null]) native;
6764 }
6765
6766 class _IDBObjectStoreJs implements IDBObjectStore native "*IDBObjectStore" {
6767
6768 final String keyPath;
6769
6770 final String name;
6771
6772 final _IDBTransactionJs transaction;
6773
6774 _IDBRequestJs add(Dynamic value, [_IDBKeyJs key = null]) native;
6775
6776 _IDBRequestJs clear() native;
6777
6778 _IDBRequestJs count([_IDBKeyRangeJs range = null]) native;
6779
6780 _IDBIndexJs createIndex(String name, String keyPath) native;
6781
6782 _IDBRequestJs delete(_IDBKeyJs key) native;
6783
6784 void deleteIndex(String name) native;
6785
6786 _IDBRequestJs getObject(_IDBKeyJs key) native;
6787
6788 _IDBIndexJs index(String name) native;
6789
6790 _IDBRequestJs openCursor([_IDBKeyRangeJs range = null, int direction = null]) native;
6791
6792 _IDBRequestJs put(Dynamic value, [_IDBKeyJs key = null]) native;
6793 }
6794
6795 class _IDBRequestJs implements IDBRequest native "*IDBRequest" {
6796
6797 static final int DONE = 2;
6798
6799 static final int LOADING = 1;
6800
6801 final int errorCode;
6802
6803 EventListener onerror;
6804
6805 EventListener onsuccess;
6806
6807 final int readyState;
6808
6809 final _IDBAnyJs result;
6810
6811 final _IDBAnyJs source;
6812
6813 final _IDBTransactionJs transaction;
6814
6815 final String webkitErrorMessage;
6816
6817 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
6818
6819 bool dispatchEvent(_EventJs evt) native;
6820
6821 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
6822 }
6823
6824 class _IDBTransactionJs implements IDBTransaction native "*IDBTransaction" {
6825
6826 static final int READ_ONLY = 0;
6827
6828 static final int READ_WRITE = 1;
6829
6830 static final int VERSION_CHANGE = 2;
6831
6832 final _IDBDatabaseJs db;
6833
6834 final int mode;
6835
6836 EventListener onabort;
6837
6838 EventListener oncomplete;
6839
6840 EventListener onerror;
6841
6842 void abort() native;
6843
6844 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
6845
6846 bool dispatchEvent(_EventJs evt) native;
6847
6848 _IDBObjectStoreJs objectStore(String name) native;
6849
6850 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
6851 }
6852
6853 class _IDBVersionChangeEventJs extends _EventJs implements IDBVersionChangeEvent native "*IDBVersionChangeEvent" {
6854
6855 final String version;
6856 }
6857
6858 class _IDBVersionChangeRequestJs extends _IDBRequestJs implements IDBVersionChan geRequest native "*IDBVersionChangeRequest" {
6859
6860 EventListener onblocked;
6861 }
6862
6863 class _IFrameElementJs extends _ElementJs implements IFrameElement native "*HTML IFrameElement" {
6864
6865 String align;
6866
6867 final _DocumentJs contentDocument;
6868
6869 final _WindowJs contentWindow;
6870
6871 String frameBorder;
6872
6873 String height;
6874
6875 String longDesc;
6876
6877 String marginHeight;
6878
6879 String marginWidth;
6880
6881 String name;
6882
6883 String sandbox;
6884
6885 String scrolling;
6886
6887 String src;
6888
6889 String width;
6890
6891 _SVGDocumentJs getSVGDocument() native;
6892 }
6893
6894 class _ImageDataJs implements ImageData native "*ImageData" {
6895
6896 final _CanvasPixelArrayJs data;
6897
6898 final int height;
6899
6900 final int width;
6901 }
6902
6903 class _ImageElementJs extends _ElementJs implements ImageElement native "*HTMLIm ageElement" {
6904
6905 String align;
6906
6907 String alt;
6908
6909 String border;
6910
6911 final bool complete;
6912
6913 String crossOrigin;
6914
6915 int height;
6916
6917 int hspace;
6918
6919 bool isMap;
6920
6921 String longDesc;
6922
6923 String lowsrc;
6924
6925 String name;
6926
6927 final int naturalHeight;
6928
6929 final int naturalWidth;
6930
6931 String src;
6932
6933 String useMap;
6934
6935 int vspace;
6936
6937 int width;
6938
6939 final int x;
6940
6941 final int y;
6942 }
6943
6944 class _InputElementJs extends _ElementJs implements InputElement native "*HTMLIn putElement" {
6945
6946 String accept;
6947
6948 String align;
6949
6950 String alt;
6951
6952 String autocomplete;
6953
6954 bool autofocus;
6955
6956 bool checked;
6957
6958 bool defaultChecked;
6959
6960 String defaultValue;
6961
6962 bool disabled;
6963
6964 final _FileListJs files;
6965
6966 final _FormElementJs form;
6967
6968 String formAction;
6969
6970 String formEnctype;
6971
6972 String formMethod;
6973
6974 bool formNoValidate;
6975
6976 String formTarget;
6977
6978 bool incremental;
6979
6980 bool indeterminate;
6981
6982 final _NodeListJs labels;
6983
6984 String max;
6985
6986 int maxLength;
6987
6988 String min;
6989
6990 bool multiple;
6991
6992 String name;
6993
6994 String pattern;
6995
6996 String placeholder;
6997
6998 bool readOnly;
6999
7000 bool required;
7001
7002 String selectionDirection;
7003
7004 int selectionEnd;
7005
7006 int selectionStart;
7007
7008 int size;
7009
7010 String src;
7011
7012 String step;
7013
7014 String type;
7015
7016 String useMap;
7017
7018 final String validationMessage;
7019
7020 final _ValidityStateJs validity;
7021
7022 String value;
7023
7024 Date valueAsDate;
7025
7026 num valueAsNumber;
7027
7028 bool webkitGrammar;
7029
7030 bool webkitSpeech;
7031
7032 bool webkitdirectory;
7033
7034 final bool willValidate;
7035
7036 _InputElementEventsImpl get on() =>
7037 new _InputElementEventsImpl(this);
7038
7039 bool checkValidity() native;
7040
7041 void click() native;
7042
7043 void select() native;
7044
7045 void setCustomValidity(String error) native;
7046
7047 void setSelectionRange(int start, int end, [String direction = null]) native;
7048
7049 void stepDown([int n = null]) native;
7050
7051 void stepUp([int n = null]) native;
7052 }
7053
7054 class _InputElementEventsImpl extends _ElementEventsImpl implements InputElement Events {
7055 _InputElementEventsImpl(_ptr) : super(_ptr);
7056
7057 EventListenerList get speechChange() => _get('webkitSpeechChange');
7058 }
7059
7060 class _Int16ArrayJs extends _ArrayBufferViewJs implements Int16Array, List<int> native "*Int16Array" {
7061
7062 factory Int16Array(int length) => _construct_Int16Array(length);
7063
7064 factory Int16Array.fromList(List<int> list) => _construct_Int16Array(list);
7065
7066 factory Int16Array.fromBuffer(ArrayBuffer buffer) => _construct_Int16Array(buf fer);
7067
7068 static _construct_Int16Array(arg) native 'return new Int16Array(arg);';
7069
7070 static final int BYTES_PER_ELEMENT = 2;
7071
7072 final int length;
7073
7074 int operator[](int index) native "return this[index];";
7075
7076 void operator[]=(int index, int value) native "this[index] = value";
7077 // -- start List<int> mixins.
7078 // int is the element type.
7079
7080 // From Iterable<int>:
7081
7082 Iterator<int> iterator() {
7083 // Note: NodeLists are not fixed size. And most probably length shouldn't
7084 // be cached in both iterator _and_ forEach method. For now caching it
7085 // for consistency.
7086 return new _FixedSizeListIterator<int>(this);
7087 }
7088
7089 // From Collection<int>:
7090
7091 void add(int value) {
7092 throw new UnsupportedOperationException("Cannot add to immutable List.");
7093 }
7094
7095 void addLast(int value) {
7096 throw new UnsupportedOperationException("Cannot add to immutable List.");
7097 }
7098
7099 void addAll(Collection<int> collection) {
7100 throw new UnsupportedOperationException("Cannot add to immutable List.");
7101 }
7102
7103 void forEach(void f(int element)) => _Collections.forEach(this, f);
7104
7105 Collection map(f(int element)) => _Collections.map(this, [], f);
7106
7107 Collection<int> filter(bool f(int element)) =>
7108 _Collections.filter(this, <int>[], f);
7109
7110 bool every(bool f(int element)) => _Collections.every(this, f);
7111
7112 bool some(bool f(int element)) => _Collections.some(this, f);
7113
7114 bool isEmpty() => this.length == 0;
7115
7116 // From List<int>:
7117
7118 void sort(int compare(int a, int b)) {
7119 throw new UnsupportedOperationException("Cannot sort immutable List.");
7120 }
7121
7122 int indexOf(int element, [int start = 0]) =>
7123 _Lists.indexOf(this, element, start, this.length);
7124
7125 int lastIndexOf(int element, [int start = 0]) =>
7126 _Lists.lastIndexOf(this, element, start);
7127
7128 int last() => this[length - 1];
7129
7130 // FIXME: implement thesee.
7131 void setRange(int start, int length, List<int> from, [int startFrom]) {
7132 throw new UnsupportedOperationException("Cannot setRange on immutable List." );
7133 }
7134 void removeRange(int start, int length) {
7135 throw new UnsupportedOperationException("Cannot removeRange on immutable Lis t.");
7136 }
7137 void insertRange(int start, int length, [int initialValue]) {
7138 throw new UnsupportedOperationException("Cannot insertRange on immutable Lis t.");
7139 }
7140 List<int> getRange(int start, int length) =>
7141 _Lists.getRange(this, start, length, <int>[]);
7142
7143 // -- end List<int> mixins.
7144
7145 void setElements(Object array, [int offset = null]) native;
7146
7147 _Int16ArrayJs subarray(int start, [int end = null]) native;
7148 }
7149
7150 class _Int32ArrayJs extends _ArrayBufferViewJs implements Int32Array, List<int> native "*Int32Array" {
7151
7152 factory Int32Array(int length) => _construct_Int32Array(length);
7153
7154 factory Int32Array.fromList(List<int> list) => _construct_Int32Array(list);
7155
7156 factory Int32Array.fromBuffer(ArrayBuffer buffer) => _construct_Int32Array(buf fer);
7157
7158 static _construct_Int32Array(arg) native 'return new Int32Array(arg);';
7159
7160 static final int BYTES_PER_ELEMENT = 4;
7161
7162 final int length;
7163
7164 int operator[](int index) native "return this[index];";
7165
7166 void operator[]=(int index, int value) native "this[index] = value";
7167 // -- start List<int> mixins.
7168 // int is the element type.
7169
7170 // From Iterable<int>:
7171
7172 Iterator<int> iterator() {
7173 // Note: NodeLists are not fixed size. And most probably length shouldn't
7174 // be cached in both iterator _and_ forEach method. For now caching it
7175 // for consistency.
7176 return new _FixedSizeListIterator<int>(this);
7177 }
7178
7179 // From Collection<int>:
7180
7181 void add(int value) {
7182 throw new UnsupportedOperationException("Cannot add to immutable List.");
7183 }
7184
7185 void addLast(int value) {
7186 throw new UnsupportedOperationException("Cannot add to immutable List.");
7187 }
7188
7189 void addAll(Collection<int> collection) {
7190 throw new UnsupportedOperationException("Cannot add to immutable List.");
7191 }
7192
7193 void forEach(void f(int element)) => _Collections.forEach(this, f);
7194
7195 Collection map(f(int element)) => _Collections.map(this, [], f);
7196
7197 Collection<int> filter(bool f(int element)) =>
7198 _Collections.filter(this, <int>[], f);
7199
7200 bool every(bool f(int element)) => _Collections.every(this, f);
7201
7202 bool some(bool f(int element)) => _Collections.some(this, f);
7203
7204 bool isEmpty() => this.length == 0;
7205
7206 // From List<int>:
7207
7208 void sort(int compare(int a, int b)) {
7209 throw new UnsupportedOperationException("Cannot sort immutable List.");
7210 }
7211
7212 int indexOf(int element, [int start = 0]) =>
7213 _Lists.indexOf(this, element, start, this.length);
7214
7215 int lastIndexOf(int element, [int start = 0]) =>
7216 _Lists.lastIndexOf(this, element, start);
7217
7218 int last() => this[length - 1];
7219
7220 // FIXME: implement thesee.
7221 void setRange(int start, int length, List<int> from, [int startFrom]) {
7222 throw new UnsupportedOperationException("Cannot setRange on immutable List." );
7223 }
7224 void removeRange(int start, int length) {
7225 throw new UnsupportedOperationException("Cannot removeRange on immutable Lis t.");
7226 }
7227 void insertRange(int start, int length, [int initialValue]) {
7228 throw new UnsupportedOperationException("Cannot insertRange on immutable Lis t.");
7229 }
7230 List<int> getRange(int start, int length) =>
7231 _Lists.getRange(this, start, length, <int>[]);
7232
7233 // -- end List<int> mixins.
7234
7235 void setElements(Object array, [int offset = null]) native;
7236
7237 _Int32ArrayJs subarray(int start, [int end = null]) native;
7238 }
7239
7240 class _Int8ArrayJs extends _ArrayBufferViewJs implements Int8Array, List<int> na tive "*Int8Array" {
7241
7242 factory Int8Array(int length) => _construct_Int8Array(length);
7243
7244 factory Int8Array.fromList(List<int> list) => _construct_Int8Array(list);
7245
7246 factory Int8Array.fromBuffer(ArrayBuffer buffer) => _construct_Int8Array(buffe r);
7247
7248 static _construct_Int8Array(arg) native 'return new Int8Array(arg);';
7249
7250 static final int BYTES_PER_ELEMENT = 1;
7251
7252 final int length;
7253
7254 int operator[](int index) native "return this[index];";
7255
7256 void operator[]=(int index, int value) native "this[index] = value";
7257 // -- start List<int> mixins.
7258 // int is the element type.
7259
7260 // From Iterable<int>:
7261
7262 Iterator<int> iterator() {
7263 // Note: NodeLists are not fixed size. And most probably length shouldn't
7264 // be cached in both iterator _and_ forEach method. For now caching it
7265 // for consistency.
7266 return new _FixedSizeListIterator<int>(this);
7267 }
7268
7269 // From Collection<int>:
7270
7271 void add(int value) {
7272 throw new UnsupportedOperationException("Cannot add to immutable List.");
7273 }
7274
7275 void addLast(int value) {
7276 throw new UnsupportedOperationException("Cannot add to immutable List.");
7277 }
7278
7279 void addAll(Collection<int> collection) {
7280 throw new UnsupportedOperationException("Cannot add to immutable List.");
7281 }
7282
7283 void forEach(void f(int element)) => _Collections.forEach(this, f);
7284
7285 Collection map(f(int element)) => _Collections.map(this, [], f);
7286
7287 Collection<int> filter(bool f(int element)) =>
7288 _Collections.filter(this, <int>[], f);
7289
7290 bool every(bool f(int element)) => _Collections.every(this, f);
7291
7292 bool some(bool f(int element)) => _Collections.some(this, f);
7293
7294 bool isEmpty() => this.length == 0;
7295
7296 // From List<int>:
7297
7298 void sort(int compare(int a, int b)) {
7299 throw new UnsupportedOperationException("Cannot sort immutable List.");
7300 }
7301
7302 int indexOf(int element, [int start = 0]) =>
7303 _Lists.indexOf(this, element, start, this.length);
7304
7305 int lastIndexOf(int element, [int start = 0]) =>
7306 _Lists.lastIndexOf(this, element, start);
7307
7308 int last() => this[length - 1];
7309
7310 // FIXME: implement thesee.
7311 void setRange(int start, int length, List<int> from, [int startFrom]) {
7312 throw new UnsupportedOperationException("Cannot setRange on immutable List." );
7313 }
7314 void removeRange(int start, int length) {
7315 throw new UnsupportedOperationException("Cannot removeRange on immutable Lis t.");
7316 }
7317 void insertRange(int start, int length, [int initialValue]) {
7318 throw new UnsupportedOperationException("Cannot insertRange on immutable Lis t.");
7319 }
7320 List<int> getRange(int start, int length) =>
7321 _Lists.getRange(this, start, length, <int>[]);
7322
7323 // -- end List<int> mixins.
7324
7325 void setElements(Object array, [int offset = null]) native;
7326
7327 _Int8ArrayJs subarray(int start, [int end = null]) native;
7328 }
7329
7330 class _IsIndexElementJs extends _InputElementJs implements IsIndexElement native "*HTMLIsIndexElement" {
7331
7332 // Use implementation from InputElement.
7333 // final _FormElementJs form;
7334
7335 String prompt;
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 _LocationJs implements Location native "*Location" {
7475
7476 String hash;
7477
7478 String host;
7479
7480 String hostname;
7481
7482 String href;
7483
7484 final String origin;
7485
7486 String pathname;
7487
7488 String port;
7489
7490 String protocol;
7491
7492 String search;
7493
7494 void assign(String url) native;
7495
7496 void reload() native;
7497
7498 void replace(String url) native;
7499
7500 String toString() native;
7501 }
7502
7503 class _LowPass2FilterNodeJs extends _AudioNodeJs implements LowPass2FilterNode n ative "*LowPass2FilterNode" {
7504
7505 final _AudioParamJs cutoff;
7506
7507 final _AudioParamJs resonance;
7508 }
7509
7510 class _MapElementJs extends _ElementJs implements MapElement native "*HTMLMapEle ment" {
7511
7512 final _HTMLCollectionJs areas;
7513
7514 String name;
7515 }
7516
7517 class _MarqueeElementJs extends _ElementJs implements MarqueeElement native "*HT MLMarqueeElement" {
7518
7519 String behavior;
7520
7521 String bgColor;
7522
7523 String direction;
7524
7525 String height;
7526
7527 int hspace;
7528
7529 int loop;
7530
7531 int scrollAmount;
7532
7533 int scrollDelay;
7534
7535 bool trueSpeed;
7536
7537 int vspace;
7538
7539 String width;
7540
7541 void start() native;
7542
7543 void stop() native;
7544 }
7545
7546 class _MediaControllerJs implements MediaController native "*MediaController" {
7547
7548 final _TimeRangesJs buffered;
7549
7550 num currentTime;
7551
7552 num defaultPlaybackRate;
7553
7554 final num duration;
7555
7556 bool muted;
7557
7558 final bool paused;
7559
7560 num playbackRate;
7561
7562 final _TimeRangesJs played;
7563
7564 final _TimeRangesJs seekable;
7565
7566 num volume;
7567
7568 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
7569
7570 bool dispatchEvent(_EventJs evt) native;
7571
7572 void pause() native;
7573
7574 void play() native;
7575
7576 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
7577 }
7578
7579 class _MediaElementJs extends _ElementJs implements MediaElement native "*HTMLMe diaElement" {
7580
7581 static final int EOS_DECODE_ERR = 2;
7582
7583 static final int EOS_NETWORK_ERR = 1;
7584
7585 static final int EOS_NO_ERROR = 0;
7586
7587 static final int HAVE_CURRENT_DATA = 2;
7588
7589 static final int HAVE_ENOUGH_DATA = 4;
7590
7591 static final int HAVE_FUTURE_DATA = 3;
7592
7593 static final int HAVE_METADATA = 1;
7594
7595 static final int HAVE_NOTHING = 0;
7596
7597 static final int NETWORK_EMPTY = 0;
7598
7599 static final int NETWORK_IDLE = 1;
7600
7601 static final int NETWORK_LOADING = 2;
7602
7603 static final int NETWORK_NO_SOURCE = 3;
7604
7605 static final int SOURCE_CLOSED = 0;
7606
7607 static final int SOURCE_ENDED = 2;
7608
7609 static final int SOURCE_OPEN = 1;
7610
7611 bool autoplay;
7612
7613 final _TimeRangesJs buffered;
7614
7615 _MediaControllerJs controller;
7616
7617 bool controls;
7618
7619 final String currentSrc;
7620
7621 num currentTime;
7622
7623 bool defaultMuted;
7624
7625 num defaultPlaybackRate;
7626
7627 final num duration;
7628
7629 final bool ended;
7630
7631 final _MediaErrorJs error;
7632
7633 final num initialTime;
7634
7635 bool loop;
7636
7637 String mediaGroup;
7638
7639 bool muted;
7640
7641 final int networkState;
7642
7643 final bool paused;
7644
7645 num playbackRate;
7646
7647 final _TimeRangesJs played;
7648
7649 String preload;
7650
7651 final int readyState;
7652
7653 final _TimeRangesJs seekable;
7654
7655 final bool seeking;
7656
7657 String src;
7658
7659 final num startTime;
7660
7661 final _TextTrackListJs textTracks;
7662
7663 num volume;
7664
7665 final int webkitAudioDecodedByteCount;
7666
7667 bool webkitClosedCaptionsVisible;
7668
7669 final bool webkitHasClosedCaptions;
7670
7671 final String webkitMediaSourceURL;
7672
7673 bool webkitPreservesPitch;
7674
7675 final int webkitSourceState;
7676
7677 final int webkitVideoDecodedByteCount;
7678
7679 _TextTrackJs addTrack(String kind, [String label = null, String language = nul l]) native;
7680
7681 String canPlayType(String type) native;
7682
7683 void load() native;
7684
7685 void pause() native;
7686
7687 void play() native;
7688
7689 void webkitSourceAppend(_Uint8ArrayJs data) native;
7690
7691 void webkitSourceEndOfStream(int status) native;
7692 }
7693
7694 class _MediaElementAudioSourceNodeJs extends _AudioSourceNodeJs implements Media ElementAudioSourceNode native "*MediaElementAudioSourceNode" {
7695
7696 final _MediaElementJs mediaElement;
7697 }
7698
7699 class _MediaErrorJs implements MediaError native "*MediaError" {
7700
7701 static final int MEDIA_ERR_ABORTED = 1;
7702
7703 static final int MEDIA_ERR_DECODE = 3;
7704
7705 static final int MEDIA_ERR_NETWORK = 2;
7706
7707 static final int MEDIA_ERR_SRC_NOT_SUPPORTED = 4;
7708
7709 final int code;
7710 }
7711
7712 class _MediaListJs implements MediaList native "*MediaList" {
7713
7714 final int length;
7715
7716 String mediaText;
7717
7718 String operator[](int index) native "return this[index];";
7719
7720 void operator[]=(int index, String value) {
7721 throw new UnsupportedOperationException("Cannot assign element of immutable List.");
7722 }
7723 // -- start List<String> mixins.
7724 // String is the element type.
7725
7726 // From Iterable<String>:
7727
7728 Iterator<String> iterator() {
7729 // Note: NodeLists are not fixed size. And most probably length shouldn't
7730 // be cached in both iterator _and_ forEach method. For now caching it
7731 // for consistency.
7732 return new _FixedSizeListIterator<String>(this);
7733 }
7734
7735 // From Collection<String>:
7736
7737 void add(String value) {
7738 throw new UnsupportedOperationException("Cannot add to immutable List.");
7739 }
7740
7741 void addLast(String value) {
7742 throw new UnsupportedOperationException("Cannot add to immutable List.");
7743 }
7744
7745 void addAll(Collection<String> collection) {
7746 throw new UnsupportedOperationException("Cannot add to immutable List.");
7747 }
7748
7749 void forEach(void f(String element)) => _Collections.forEach(this, f);
7750
7751 Collection map(f(String element)) => _Collections.map(this, [], f);
7752
7753 Collection<String> filter(bool f(String element)) =>
7754 _Collections.filter(this, <String>[], f);
7755
7756 bool every(bool f(String element)) => _Collections.every(this, f);
7757
7758 bool some(bool f(String element)) => _Collections.some(this, f);
7759
7760 bool isEmpty() => this.length == 0;
7761
7762 // From List<String>:
7763
7764 void sort(int compare(String a, String b)) {
7765 throw new UnsupportedOperationException("Cannot sort immutable List.");
7766 }
7767
7768 int indexOf(String element, [int start = 0]) =>
7769 _Lists.indexOf(this, element, start, this.length);
7770
7771 int lastIndexOf(String element, [int start = 0]) =>
7772 _Lists.lastIndexOf(this, element, start);
7773
7774 String last() => this[length - 1];
7775
7776 // FIXME: implement thesee.
7777 void setRange(int start, int length, List<String> from, [int startFrom]) {
7778 throw new UnsupportedOperationException("Cannot setRange on immutable List." );
7779 }
7780 void removeRange(int start, int length) {
7781 throw new UnsupportedOperationException("Cannot removeRange on immutable Lis t.");
7782 }
7783 void insertRange(int start, int length, [String initialValue]) {
7784 throw new UnsupportedOperationException("Cannot insertRange on immutable Lis t.");
7785 }
7786 List<String> getRange(int start, int length) =>
7787 _Lists.getRange(this, start, length, <String>[]);
7788
7789 // -- end List<String> mixins.
7790
7791 void appendMedium(String newMedium) native;
7792
7793 void deleteMedium(String oldMedium) native;
7794
7795 String item(int index) native;
7796 }
7797
7798 class _MediaQueryListJs implements MediaQueryList native "*MediaQueryList" {
7799
7800 final bool matches;
7801
7802 final String media;
7803
7804 void addListener(_MediaQueryListListenerJs listener) native;
7805
7806 void removeListener(_MediaQueryListListenerJs listener) native;
7807 }
7808
7809 class _MediaQueryListListenerJs implements MediaQueryListListener native "*Media QueryListListener" {
7810
7811 void queryChanged(_MediaQueryListJs list) native;
7812 }
7813
7814 class _MemoryInfoJs implements MemoryInfo native "*MemoryInfo" {
7815
7816 final int jsHeapSizeLimit;
7817
7818 final int totalJSHeapSize;
7819
7820 final int usedJSHeapSize;
7821 }
7822
7823 class _MenuElementJs extends _ElementJs implements MenuElement native "*HTMLMenu Element" {
7824
7825 bool compact;
7826 }
7827
7828 class _MessageChannelJs implements MessageChannel native "*MessageChannel" {
7829
7830 final _MessagePortJs port1;
7831
7832 final _MessagePortJs port2;
7833 }
7834
7835 class _MessageEventJs extends _EventJs implements MessageEvent native "*MessageE vent" {
7836
7837 final Object data;
7838
7839 final String lastEventId;
7840
7841 final String origin;
7842
7843 final List ports;
7844
7845 final _WindowJs source;
7846
7847 void initMessageEvent(String typeArg, bool canBubbleArg, bool cancelableArg, O bject dataArg, String originArg, String lastEventIdArg, _WindowJs sourceArg, Lis t messagePorts) native;
7848
7849 void webkitInitMessageEvent(String typeArg, bool canBubbleArg, bool cancelable Arg, Object dataArg, String originArg, String lastEventIdArg, _WindowJs sourceAr g, List transferables) native;
7850 }
7851
7852 class _MessagePortJs implements MessagePort native "*MessagePort" {
7853
7854 _MessagePortEventsImpl get on() =>
7855 new _MessagePortEventsImpl(this);
7856
7857 void _addEventListener(String type, EventListener listener, [bool useCapture = null]) native "this.addEventListener(type, listener, useCapture);";
7858
7859 void close() native;
7860
7861 bool _dispatchEvent(_EventJs evt) native "return this.dispatchEvent(evt);";
7862
7863 void postMessage(String message, [List messagePorts = null]) native;
7864
7865 void _removeEventListener(String type, EventListener listener, [bool useCaptur e = null]) native "this.removeEventListener(type, listener, useCapture);";
7866
7867 void start() native;
7868
7869 void webkitPostMessage(String message, [List transfer = null]) native;
7870 }
7871
7872 class _MessagePortEventsImpl extends _EventsImpl implements MessagePortEvents {
7873 _MessagePortEventsImpl(_ptr) : super(_ptr);
7874
7875 EventListenerList get message() => _get('message');
7876 }
7877
7878 class _MetaElementJs extends _ElementJs implements MetaElement native "*HTMLMeta Element" {
7879
7880 String content;
7881
7882 String httpEquiv;
7883
7884 String name;
7885
7886 String scheme;
7887 }
7888
7889 class _MetadataJs implements Metadata native "*Metadata" {
7890
7891 final Date modificationTime;
7892 }
7893
7894 class _MeterElementJs extends _ElementJs implements MeterElement native "*HTMLMe terElement" {
7895
7896 final _FormElementJs form;
7897
7898 num high;
7899
7900 final _NodeListJs labels;
7901
7902 num low;
7903
7904 num max;
7905
7906 num min;
7907
7908 num optimum;
7909
7910 num value;
7911 }
7912
7913 class _ModElementJs extends _ElementJs implements ModElement native "*HTMLModEle ment" {
7914
7915 String cite;
7916
7917 String dateTime;
7918 }
7919
7920 class _MouseEventJs extends _UIEventJs implements MouseEvent native "*MouseEvent " {
7921
7922 final bool altKey;
7923
7924 final int button;
7925
7926 final int clientX;
7927
7928 final int clientY;
7929
7930 final bool ctrlKey;
7931
7932 final _ClipboardJs dataTransfer;
7933
7934 final _NodeJs fromElement;
7935
7936 final bool metaKey;
7937
7938 final int offsetX;
7939
7940 final int offsetY;
7941
7942 final _EventTargetJs relatedTarget;
7943
7944 final int screenX;
7945
7946 final int screenY;
7947
7948 final bool shiftKey;
7949
7950 final _NodeJs toElement;
7951
7952 final int x;
7953
7954 final int y;
7955
7956 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;
7957 }
7958
7959 class _MutationEventJs extends _EventJs implements MutationEvent native "*Mutati onEvent" {
7960
7961 static final int ADDITION = 2;
7962
7963 static final int MODIFICATION = 1;
7964
7965 static final int REMOVAL = 3;
7966
7967 final int attrChange;
7968
7969 final String attrName;
7970
7971 final String newValue;
7972
7973 final String prevValue;
7974
7975 final _NodeJs relatedNode;
7976
7977 void initMutationEvent(String type, bool canBubble, bool cancelable, _NodeJs r elatedNode, String prevValue, String newValue, String attrName, int attrChange) native;
7978 }
7979
7980 class _NamedNodeMapJs implements NamedNodeMap native "*NamedNodeMap" {
7981
7982 final int length;
7983
7984 _NodeJs operator[](int index) native "return this[index];";
7985
7986 void operator[]=(int index, _NodeJs value) {
7987 throw new UnsupportedOperationException("Cannot assign element of immutable List.");
7988 }
7989 // -- start List<Node> mixins.
7990 // Node is the element type.
7991
7992 // From Iterable<Node>:
7993
7994 Iterator<Node> iterator() {
7995 // Note: NodeLists are not fixed size. And most probably length shouldn't
7996 // be cached in both iterator _and_ forEach method. For now caching it
7997 // for consistency.
7998 return new _FixedSizeListIterator<Node>(this);
7999 }
8000
8001 // From Collection<Node>:
8002
8003 void add(Node value) {
8004 throw new UnsupportedOperationException("Cannot add to immutable List.");
8005 }
8006
8007 void addLast(Node value) {
8008 throw new UnsupportedOperationException("Cannot add to immutable List.");
8009 }
8010
8011 void addAll(Collection<Node> collection) {
8012 throw new UnsupportedOperationException("Cannot add to immutable List.");
8013 }
8014
8015 void forEach(void f(Node element)) => _Collections.forEach(this, f);
8016
8017 Collection map(f(Node element)) => _Collections.map(this, [], f);
8018
8019 Collection<Node> filter(bool f(Node element)) =>
8020 _Collections.filter(this, <Node>[], f);
8021
8022 bool every(bool f(Node element)) => _Collections.every(this, f);
8023
8024 bool some(bool f(Node element)) => _Collections.some(this, f);
8025
8026 bool isEmpty() => this.length == 0;
8027
8028 // From List<Node>:
8029
8030 void sort(int compare(Node a, Node b)) {
8031 throw new UnsupportedOperationException("Cannot sort immutable List.");
8032 }
8033
8034 int indexOf(Node element, [int start = 0]) =>
8035 _Lists.indexOf(this, element, start, this.length);
8036
8037 int lastIndexOf(Node element, [int start = 0]) =>
8038 _Lists.lastIndexOf(this, element, start);
8039
8040 Node last() => this[length - 1];
8041
8042 // FIXME: implement thesee.
8043 void setRange(int start, int length, List<Node> from, [int startFrom]) {
8044 throw new UnsupportedOperationException("Cannot setRange on immutable List." );
8045 }
8046 void removeRange(int start, int length) {
8047 throw new UnsupportedOperationException("Cannot removeRange on immutable Lis t.");
8048 }
8049 void insertRange(int start, int length, [Node initialValue]) {
8050 throw new UnsupportedOperationException("Cannot insertRange on immutable Lis t.");
8051 }
8052 List<Node> getRange(int start, int length) =>
8053 _Lists.getRange(this, start, length, <Node>[]);
8054
8055 // -- end List<Node> mixins.
8056
8057 _NodeJs getNamedItem(String name) native;
8058
8059 _NodeJs getNamedItemNS(String namespaceURI, String localName) native;
8060
8061 _NodeJs item(int index) native;
8062
8063 _NodeJs removeNamedItem(String name) native;
8064
8065 _NodeJs removeNamedItemNS(String namespaceURI, String localName) native;
8066
8067 _NodeJs setNamedItem(_NodeJs node) native;
8068
8069 _NodeJs setNamedItemNS(_NodeJs node) native;
8070 }
8071
8072 class _NavigatorJs implements Navigator native "*Navigator" {
8073
8074 final String appCodeName;
8075
8076 final String appName;
8077
8078 final String appVersion;
8079
8080 final bool cookieEnabled;
8081
8082 final _GeolocationJs geolocation;
8083
8084 final String language;
8085
8086 final _DOMMimeTypeArrayJs mimeTypes;
8087
8088 final bool onLine;
8089
8090 final String platform;
8091
8092 final _DOMPluginArrayJs plugins;
8093
8094 final String product;
8095
8096 final String productSub;
8097
8098 final String userAgent;
8099
8100 final String vendor;
8101
8102 final String vendorSub;
8103
8104 void getStorageUpdates() native;
8105
8106 bool javaEnabled() native;
8107
8108 void registerProtocolHandler(String scheme, String url, String title) native;
8109 }
8110 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8111 // for details. All rights reserved. Use of this source code is governed by a
8112 // BSD-style license that can be found in the LICENSE file.
8113
8114 // TODO(nweiz): when all implementations we target have the same name for the
8115 // coreimpl implementation of List<E>, extend that rather than wrapping.
8116 class _ListWrapper<E> implements List<E> {
8117 List<E> _list;
8118
8119 _ListWrapper(List<E> this._list);
8120
8121 Iterator<E> iterator() => _list.iterator();
8122
8123 void forEach(void f(E element)) => _list.forEach(f);
8124
8125 Collection map(f(E element)) => _list.map(f);
8126
8127 List<E> filter(bool f(E element)) => _list.filter(f);
8128
8129 bool every(bool f(E element)) => _list.every(f);
8130
8131 bool some(bool f(E element)) => _list.some(f);
8132
8133 bool isEmpty() => _list.isEmpty();
8134
8135 int get length() => _list.length;
8136
8137 E operator [](int index) => _list[index];
8138
8139 void operator []=(int index, E value) { _list[index] = value; }
8140
8141 void set length(int newLength) { _list.length = newLength; }
8142
8143 void add(E value) => _list.add(value);
8144
8145 void addLast(E value) => _list.addLast(value);
8146
8147 void addAll(Collection<E> collection) => _list.addAll(collection);
8148
8149 void sort(int compare(E a, E b)) => _list.sort(compare);
8150
8151 int indexOf(E element, [int start = 0]) => _list.indexOf(element, start);
8152
8153 int lastIndexOf(E element, [int start = 0]) =>
8154 _list.lastIndexOf(element, start);
8155
8156 void clear() => _list.clear();
8157
8158 E removeLast() => _list.removeLast();
8159
8160 E last() => _list.last();
8161
8162 List<E> getRange(int start, int length) => _list.getRange(start, length);
8163
8164 void setRange(int start, int length, List<E> from, [int startFrom = 0]) =>
8165 _list.setRange(start, length, from, startFrom);
8166
8167 void removeRange(int start, int length) => _list.removeRange(start, length);
8168
8169 void insertRange(int start, int length, [E initialValue = null]) =>
8170 _list.insertRange(start, length, initialValue);
8171
8172 E get first() => _list[0];
8173 }
8174
8175 class _NodeList extends _ListWrapper<Node> implements NodeList {
8176 _NodeList(List<Node> list) : super(list);
8177
8178 NodeList filter(bool f(Node element)) => new _NodeList(super.filter(f));
8179
8180 NodeList getRange(int start, int length) =>
8181 new _NodeList(super.getRange(start, length));
8182 }
8183
8184 class _NodeJs implements Node native "*Node" {
8185 _NodeListJs get nodes() {
8186 final list = _childNodes;
8187 list._parent = this;
8188 return list;
8189 }
8190
8191 void set nodes(Collection<Node> value) {
8192 // Copy list first since we don't want liveness during iteration.
8193 // TODO(jacobr): there is a better way to do this.
8194 List copy = new List.from(value);
8195 nodes.clear();
8196 nodes.addAll(copy);
8197 }
8198
8199 _NodeJs get nextNode() native "return this.nextSibling;";
8200
8201 _NodeJs get previousNode() native "return this.previousSibling;";
8202
8203 _DocumentJs get document() native "return this.ownerDocument;";
8204
8205 _NodeJs get parent() native "return this.parentNode;";
8206
8207 String get text() native "return this.textContent;";
8208
8209 void set text(String value) native "this.textContent = value;";
8210
8211 // TODO(jacobr): should we throw an exception if parent is already null?
8212 _NodeJs remove() {
8213 if (this.parent != null) {
8214 this.parent._removeChild(this);
8215 }
8216 return this;
8217 }
8218
8219 _NodeJs replaceWith(Node otherNode) {
8220 try {
8221 this.parent._replaceChild(otherNode, this);
8222 } catch(var e) {
8223
8224 };
8225 return this;
8226 }
8227
8228
8229 static final int ATTRIBUTE_NODE = 2;
8230
8231 static final int CDATA_SECTION_NODE = 4;
8232
8233 static final int COMMENT_NODE = 8;
8234
8235 static final int DOCUMENT_FRAGMENT_NODE = 11;
8236
8237 static final int DOCUMENT_NODE = 9;
8238
8239 static final int DOCUMENT_POSITION_CONTAINED_BY = 0x10;
8240
8241 static final int DOCUMENT_POSITION_CONTAINS = 0x08;
8242
8243 static final int DOCUMENT_POSITION_DISCONNECTED = 0x01;
8244
8245 static final int DOCUMENT_POSITION_FOLLOWING = 0x04;
8246
8247 static final int DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = 0x20;
8248
8249 static final int DOCUMENT_POSITION_PRECEDING = 0x02;
8250
8251 static final int DOCUMENT_TYPE_NODE = 10;
8252
8253 static final int ELEMENT_NODE = 1;
8254
8255 static final int ENTITY_NODE = 6;
8256
8257 static final int ENTITY_REFERENCE_NODE = 5;
8258
8259 static final int NOTATION_NODE = 12;
8260
8261 static final int PROCESSING_INSTRUCTION_NODE = 7;
8262
8263 static final int TEXT_NODE = 3;
8264
8265 _NamedNodeMapJs get _attributes() native "return this.attributes;";
8266
8267 _NodeListJs get _childNodes() native "return this.childNodes;";
8268
8269 final _NodeJs nextSibling;
8270
8271 final _DocumentJs ownerDocument;
8272
8273 final _NodeJs parentNode;
8274
8275 final _NodeJs previousSibling;
8276
8277 String textContent;
8278
8279 void _addEventListener(String type, EventListener listener, [bool useCapture = null]) native "this.addEventListener(type, listener, useCapture);";
8280
8281 _NodeJs _appendChild(_NodeJs newChild) native "return this.appendChild(newChil d);";
8282
8283 _NodeJs cloneNode(bool deep) native;
8284
8285 bool contains(_NodeJs other) native;
8286
8287 bool _dispatchEvent(_EventJs event) native "return this.dispatchEvent(event);" ;
8288
8289 bool hasChildNodes() native;
8290
8291 _NodeJs insertBefore(_NodeJs newChild, _NodeJs refChild) native;
8292
8293 _NodeJs _removeChild(_NodeJs oldChild) native "return this.removeChild(oldChil d);";
8294
8295 void _removeEventListener(String type, EventListener listener, [bool useCaptur e = null]) native "this.removeEventListener(type, listener, useCapture);";
8296
8297 _NodeJs _replaceChild(_NodeJs newChild, _NodeJs oldChild) native "return this. replaceChild(newChild, oldChild);";
8298
8299 }
8300
8301 class _NodeFilterJs implements NodeFilter native "*NodeFilter" {
8302
8303 static final int FILTER_ACCEPT = 1;
8304
8305 static final int FILTER_REJECT = 2;
8306
8307 static final int FILTER_SKIP = 3;
8308
8309 static final int SHOW_ALL = 0xFFFFFFFF;
8310
8311 static final int SHOW_ATTRIBUTE = 0x00000002;
8312
8313 static final int SHOW_CDATA_SECTION = 0x00000008;
8314
8315 static final int SHOW_COMMENT = 0x00000080;
8316
8317 static final int SHOW_DOCUMENT = 0x00000100;
8318
8319 static final int SHOW_DOCUMENT_FRAGMENT = 0x00000400;
8320
8321 static final int SHOW_DOCUMENT_TYPE = 0x00000200;
8322
8323 static final int SHOW_ELEMENT = 0x00000001;
8324
8325 static final int SHOW_ENTITY = 0x00000020;
8326
8327 static final int SHOW_ENTITY_REFERENCE = 0x00000010;
8328
8329 static final int SHOW_NOTATION = 0x00000800;
8330
8331 static final int SHOW_PROCESSING_INSTRUCTION = 0x00000040;
8332
8333 static final int SHOW_TEXT = 0x00000004;
8334
8335 int acceptNode(_NodeJs n) native;
8336 }
8337
8338 class _NodeIteratorJs implements NodeIterator native "*NodeIterator" {
8339
8340 final bool expandEntityReferences;
8341
8342 final _NodeFilterJs filter;
8343
8344 final bool pointerBeforeReferenceNode;
8345
8346 final _NodeJs referenceNode;
8347
8348 final _NodeJs root;
8349
8350 final int whatToShow;
8351
8352 void detach() native;
8353
8354 _NodeJs nextNode() native;
8355
8356 _NodeJs previousNode() native;
8357 }
8358 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8359 // for details. All rights reserved. Use of this source code is governed by a
8360 // BSD-style license that can be found in the LICENSE file.
8361
8362 class _NodeListJs implements NodeList native "*NodeList" {
8363 _NodeJs _parent;
8364
8365 int get length() native "return this.length;";
8366
8367 _NodeJs operator[](int index) native "return this[index];";
8368
8369 void operator[]=(int index, _NodeJs value) {
8370 throw new UnsupportedOperationException("Cannot assign element of immutable List.");
8371 }
8372 // -- start List<Node> mixins.
8373 // Node is the element type.
8374
8375 // From Iterable<Node>:
8376
8377 Iterator<Node> iterator() {
8378 // Note: NodeLists are not fixed size. And most probably length shouldn't
8379 // be cached in both iterator _and_ forEach method. For now caching it
8380 // for consistency.
8381 return new _FixedSizeListIterator<Node>(this);
8382 }
8383
8384 // From Collection<Node>:
8385
8386 void add(_NodeJs value) {
8387 _parent._appendChild(value);
8388 }
8389
8390 void addLast(_NodeJs value) {
8391 _parent._appendChild(value);
8392 }
8393
8394 void addAll(Collection<_NodeJs> collection) {
8395 for (_NodeJs node in collection) {
8396 _parent._appendChild(node);
8397 }
8398 }
8399
8400 void forEach(void f(Node element)) => _Collections.forEach(this, f);
8401
8402 Collection map(f(Node element)) => _Collections.map(this, [], f);
8403
8404 Collection<Node> filter(bool f(Node element)) =>
8405 _Collections.filter(this, <Node>[], f);
8406
8407 bool every(bool f(Node element)) => _Collections.every(this, f);
8408
8409 bool some(bool f(Node element)) => _Collections.some(this, f);
8410
8411 bool isEmpty() => this.length == 0;
8412
8413 // From List<Node>:
8414
8415 void sort(int compare(Node a, Node b)) {
8416 throw new UnsupportedOperationException("Cannot sort immutable List.");
8417 }
8418
8419 int indexOf(Node element, [int start = 0]) =>
8420 _Lists.indexOf(this, element, start, this.length);
8421
8422 int lastIndexOf(Node element, [int start = 0]) =>
8423 _Lists.lastIndexOf(this, element, start);
8424
8425 Node last() => this[length - 1];
8426
8427 // FIXME: implement thesee.
8428 void setRange(int start, int length, List<Node> from, [int startFrom]) {
8429 throw new UnsupportedOperationException("Cannot setRange on immutable List." );
8430 }
8431 void removeRange(int start, int length) {
8432 throw new UnsupportedOperationException("Cannot removeRange on immutable Lis t.");
8433 }
8434 void insertRange(int start, int length, [Node initialValue]) {
8435 throw new UnsupportedOperationException("Cannot insertRange on immutable Lis t.");
8436 }
8437 List<Node> getRange(int start, int length) =>
8438 _Lists.getRange(this, start, length, <Node>[]);
8439
8440 // -- end List<Node> mixins.
8441
8442 /*
8443 Ignore members. TODO(jacobr): find a cleaner solution.
8444
8445 final int length;
8446
8447 _NodeJs operator[](int index) native "return this[index];";
8448
8449 void operator[]=(int index, _NodeJs value) {
8450 throw new UnsupportedOperationException("Cannot assign element of immutable List.");
8451 }
8452 // -- start List<Node> mixins.
8453 // Node is the element type.
8454
8455 // From Iterable<Node>:
8456
8457 Iterator<Node> iterator() {
8458 // Note: NodeLists are not fixed size. And most probably length shouldn't
8459 // be cached in both iterator _and_ forEach method. For now caching it
8460 // for consistency.
8461 return new _FixedSizeListIterator<Node>(this);
8462 }
8463
8464 // From Collection<Node>:
8465
8466 void add(Node value) {
8467 throw new UnsupportedOperationException("Cannot add to immutable List.");
8468 }
8469
8470 void addLast(Node value) {
8471 throw new UnsupportedOperationException("Cannot add to immutable List.");
8472 }
8473
8474 void addAll(Collection<Node> collection) {
8475 throw new UnsupportedOperationException("Cannot add to immutable List.");
8476 }
8477
8478 void forEach(void f(Node element)) => _Collections.forEach(this, f);
8479
8480 Collection map(f(Node element)) => _Collections.map(this, [], f);
8481
8482 Collection<Node> filter(bool f(Node element)) =>
8483 _Collections.filter(this, <Node>[], f);
8484
8485 bool every(bool f(Node element)) => _Collections.every(this, f);
8486
8487 bool some(bool f(Node element)) => _Collections.some(this, f);
8488
8489 bool isEmpty() => this.length == 0;
8490
8491 // From List<Node>:
8492
8493 void sort(int compare(Node a, Node b)) {
8494 throw new UnsupportedOperationException("Cannot sort immutable List.");
8495 }
8496
8497 int indexOf(Node element, [int start = 0]) =>
8498 _Lists.indexOf(this, element, start, this.length);
8499
8500 int lastIndexOf(Node element, [int start = 0]) =>
8501 _Lists.lastIndexOf(this, element, start);
8502
8503 Node last() => this[length - 1];
8504
8505 // FIXME: implement thesee.
8506 void setRange(int start, int length, List<Node> from, [int startFrom]) {
8507 throw new UnsupportedOperationException("Cannot setRange on immutable List." );
8508 }
8509 void removeRange(int start, int length) {
8510 throw new UnsupportedOperationException("Cannot removeRange on immutable Lis t.");
8511 }
8512 void insertRange(int start, int length, [Node initialValue]) {
8513 throw new UnsupportedOperationException("Cannot insertRange on immutable Lis t.");
8514 }
8515 List<Node> getRange(int start, int length) =>
8516 _Lists.getRange(this, start, length, <Node>[]);
8517
8518 // -- end List<Node> mixins.
8519
8520 */
8521 }
8522
8523 class _NodeSelectorJs implements NodeSelector native "*NodeSelector" {
8524
8525 _ElementJs querySelector(String selectors) native;
8526
8527 _NodeListJs querySelectorAll(String selectors) native;
8528 }
8529
8530 class _NotationJs extends _NodeJs implements Notation native "*Notation" {
8531
8532 final String publicId;
8533
8534 final String systemId;
8535 }
8536
8537 class _NotificationJs implements Notification native "*Notification" {
8538
8539 String dir;
8540
8541 String replaceId;
8542
8543 _NotificationEventsImpl get on() =>
8544 new _NotificationEventsImpl(this);
8545
8546 void _addEventListener(String type, EventListener listener, [bool useCapture = null]) native "this.addEventListener(type, listener, useCapture);";
8547
8548 void cancel() native;
8549
8550 bool _dispatchEvent(_EventJs evt) native "return this.dispatchEvent(evt);";
8551
8552 void _removeEventListener(String type, EventListener listener, [bool useCaptur e = null]) native "this.removeEventListener(type, listener, useCapture);";
8553
8554 void show() native;
8555 }
8556
8557 class _NotificationEventsImpl extends _EventsImpl implements NotificationEvents {
8558 _NotificationEventsImpl(_ptr) : super(_ptr);
8559
8560 EventListenerList get click() => _get('click');
8561
8562 EventListenerList get close() => _get('close');
8563
8564 EventListenerList get display() => _get('display');
8565
8566 EventListenerList get error() => _get('error');
8567
8568 EventListenerList get show() => _get('show');
8569 }
8570
8571 class _NotificationCenterJs implements NotificationCenter native "*NotificationC enter" {
8572
8573 int checkPermission() native;
8574
8575 _NotificationJs createHTMLNotification(String url) native;
8576
8577 _NotificationJs createNotification(String iconUrl, String title, String body) native;
8578
8579 void requestPermission(VoidCallback callback) native;
8580 }
8581
8582 class _OESStandardDerivativesJs implements OESStandardDerivatives native "*OESSt andardDerivatives" {
8583
8584 static final int FRAGMENT_SHADER_DERIVATIVE_HINT_OES = 0x8B8B;
8585 }
8586
8587 class _OESTextureFloatJs implements OESTextureFloat native "*OESTextureFloat" {
8588 }
8589
8590 class _OESVertexArrayObjectJs implements OESVertexArrayObject native "*OESVertex ArrayObject" {
8591
8592 static final int VERTEX_ARRAY_BINDING_OES = 0x85B5;
8593
8594 void bindVertexArrayOES(_WebGLVertexArrayObjectOESJs arrayObject) native;
8595
8596 _WebGLVertexArrayObjectOESJs createVertexArrayOES() native;
8597
8598 void deleteVertexArrayOES(_WebGLVertexArrayObjectOESJs arrayObject) native;
8599
8600 bool isVertexArrayOES(_WebGLVertexArrayObjectOESJs arrayObject) native;
8601 }
8602
8603 class _OListElementJs extends _ElementJs implements OListElement native "*HTMLOL istElement" {
8604
8605 bool compact;
8606
8607 bool reversed;
8608
8609 int start;
8610
8611 String type;
8612 }
8613
8614 class _ObjectElementJs extends _ElementJs implements ObjectElement native "*HTML ObjectElement" {
8615
8616 String align;
8617
8618 String archive;
8619
8620 String border;
8621
8622 String code;
8623
8624 String codeBase;
8625
8626 String codeType;
8627
8628 final _DocumentJs contentDocument;
8629
8630 String data;
8631
8632 bool declare;
8633
8634 final _FormElementJs form;
8635
8636 String height;
8637
8638 int hspace;
8639
8640 String name;
8641
8642 String standby;
8643
8644 String type;
8645
8646 String useMap;
8647
8648 final String validationMessage;
8649
8650 final _ValidityStateJs validity;
8651
8652 int vspace;
8653
8654 String width;
8655
8656 final bool willValidate;
8657
8658 bool checkValidity() native;
8659
8660 void setCustomValidity(String error) native;
8661 }
8662
8663 class _OfflineAudioCompletionEventJs extends _EventJs implements OfflineAudioCom pletionEvent native "*OfflineAudioCompletionEvent" {
8664
8665 final _AudioBufferJs renderedBuffer;
8666 }
8667
8668 class _OperationNotAllowedExceptionJs implements OperationNotAllowedException na tive "*OperationNotAllowedException" {
8669
8670 static final int NOT_ALLOWED_ERR = 1;
8671
8672 final int code;
8673
8674 final String message;
8675
8676 final String name;
8677
8678 String toString() native;
8679 }
8680
8681 class _OptGroupElementJs extends _ElementJs implements OptGroupElement native "* HTMLOptGroupElement" {
8682
8683 bool disabled;
8684
8685 String label;
8686 }
8687
8688 class _OptionElementJs extends _ElementJs implements OptionElement native "*HTML OptionElement" {
8689
8690 bool defaultSelected;
8691
8692 bool disabled;
8693
8694 final _FormElementJs form;
8695
8696 final int index;
8697
8698 String label;
8699
8700 bool selected;
8701
8702 String text;
8703
8704 String value;
8705 }
8706
8707 class _OutputElementJs extends _ElementJs implements OutputElement native "*HTML OutputElement" {
8708
8709 String defaultValue;
8710
8711 final _FormElementJs form;
8712
8713 _DOMSettableTokenListJs htmlFor;
8714
8715 final _NodeListJs labels;
8716
8717 String name;
8718
8719 final String type;
8720
8721 final String validationMessage;
8722
8723 final _ValidityStateJs validity;
8724
8725 String value;
8726
8727 final bool willValidate;
8728
8729 bool checkValidity() native;
8730
8731 void setCustomValidity(String error) native;
8732 }
8733
8734 class _OverflowEventJs extends _EventJs implements OverflowEvent native "*Overfl owEvent" {
8735
8736 static final int BOTH = 2;
8737
8738 static final int HORIZONTAL = 0;
8739
8740 static final int VERTICAL = 1;
8741
8742 final bool horizontalOverflow;
8743
8744 final int orient;
8745
8746 final bool verticalOverflow;
8747 }
8748
8749 class _PageTransitionEventJs extends _EventJs implements PageTransitionEvent nat ive "*PageTransitionEvent" {
8750
8751 final bool persisted;
8752 }
8753
8754 class _ParagraphElementJs extends _ElementJs implements ParagraphElement native "*HTMLParagraphElement" {
8755
8756 String align;
8757 }
8758
8759 class _ParamElementJs extends _ElementJs implements ParamElement native "*HTMLPa ramElement" {
8760
8761 String name;
8762
8763 String type;
8764
8765 String value;
8766
8767 String valueType;
8768 }
8769
8770 class _PerformanceJs implements Performance native "*Performance" {
8771
8772 final _MemoryInfoJs memory;
8773
8774 final _PerformanceNavigationJs navigation;
8775
8776 final _PerformanceTimingJs timing;
8777 }
8778
8779 class _PerformanceNavigationJs implements PerformanceNavigation native "*Perform anceNavigation" {
8780
8781 static final int TYPE_BACK_FORWARD = 2;
8782
8783 static final int TYPE_NAVIGATE = 0;
8784
8785 static final int TYPE_RELOAD = 1;
8786
8787 static final int TYPE_RESERVED = 255;
8788
8789 final int redirectCount;
8790
8791 final int type;
8792 }
8793
8794 class _PerformanceTimingJs implements PerformanceTiming native "*PerformanceTimi ng" {
8795
8796 final int connectEnd;
8797
8798 final int connectStart;
8799
8800 final int domComplete;
8801
8802 final int domContentLoadedEventEnd;
8803
8804 final int domContentLoadedEventStart;
8805
8806 final int domInteractive;
8807
8808 final int domLoading;
8809
8810 final int domainLookupEnd;
8811
8812 final int domainLookupStart;
8813
8814 final int fetchStart;
8815
8816 final int loadEventEnd;
8817
8818 final int loadEventStart;
8819
8820 final int navigationStart;
8821
8822 final int redirectEnd;
8823
8824 final int redirectStart;
8825
8826 final int requestStart;
8827
8828 final int responseEnd;
8829
8830 final int responseStart;
8831
8832 final int secureConnectionStart;
8833
8834 final int unloadEventEnd;
8835
8836 final int unloadEventStart;
8837 }
8838
8839 class _PointJs implements Point native "*WebKitPoint" {
8840
8841 num x;
8842
8843 num y;
8844 }
8845
8846 class _PopStateEventJs extends _EventJs implements PopStateEvent native "*PopSta teEvent" {
8847
8848 final Object state;
8849 }
8850
8851 class _PositionErrorJs implements PositionError native "*PositionError" {
8852
8853 static final int PERMISSION_DENIED = 1;
8854
8855 static final int POSITION_UNAVAILABLE = 2;
8856
8857 static final int TIMEOUT = 3;
8858
8859 final int code;
8860
8861 final String message;
8862 }
8863
8864 class _PreElementJs extends _ElementJs implements PreElement native "*HTMLPreEle ment" {
8865
8866 int width;
8867
8868 bool wrap;
8869 }
8870
8871 class _ProcessingInstructionJs extends _NodeJs implements ProcessingInstruction native "*ProcessingInstruction" {
8872
8873 String data;
8874
8875 final _StyleSheetJs sheet;
8876
8877 final String target;
8878 }
8879
8880 class _ProgressElementJs extends _ElementJs implements ProgressElement native "* HTMLProgressElement" {
8881
8882 final _FormElementJs form;
8883
8884 final _NodeListJs labels;
8885
8886 num max;
8887
8888 final num position;
8889
8890 num value;
8891 }
8892
8893 class _ProgressEventJs extends _EventJs implements ProgressEvent native "*Progre ssEvent" {
8894
8895 final bool lengthComputable;
8896
8897 final int loaded;
8898
8899 final int total;
8900 }
8901
8902 class _QuoteElementJs extends _ElementJs implements QuoteElement native "*HTMLQu oteElement" {
8903
8904 String cite;
8905 }
8906
8907 class _RGBColorJs implements RGBColor native "*RGBColor" {
8908
8909 final _CSSPrimitiveValueJs blue;
8910
8911 final _CSSPrimitiveValueJs green;
8912
8913 final _CSSPrimitiveValueJs red;
8914 }
8915
8916 class _RangeJs implements Range native "*Range" {
8917
8918 static final int END_TO_END = 2;
8919
8920 static final int END_TO_START = 3;
8921
8922 static final int NODE_AFTER = 1;
8923
8924 static final int NODE_BEFORE = 0;
8925
8926 static final int NODE_BEFORE_AND_AFTER = 2;
8927
8928 static final int NODE_INSIDE = 3;
8929
8930 static final int START_TO_END = 1;
8931
8932 static final int START_TO_START = 0;
8933
8934 final bool collapsed;
8935
8936 final _NodeJs commonAncestorContainer;
8937
8938 final _NodeJs endContainer;
8939
8940 final int endOffset;
8941
8942 final _NodeJs startContainer;
8943
8944 final int startOffset;
8945
8946 _DocumentFragmentJs cloneContents() native;
8947
8948 _RangeJs cloneRange() native;
8949
8950 void collapse(bool toStart) native;
8951
8952 int compareNode(_NodeJs refNode) native;
8953
8954 int comparePoint(_NodeJs refNode, int offset) native;
8955
8956 _DocumentFragmentJs createContextualFragment(String html) native;
8957
8958 void deleteContents() native;
8959
8960 void detach() native;
8961
8962 void expand(String unit) native;
8963
8964 _DocumentFragmentJs extractContents() native;
8965
8966 _ClientRectJs getBoundingClientRect() native;
8967
8968 _ClientRectListJs getClientRects() native;
8969
8970 void insertNode(_NodeJs newNode) native;
8971
8972 bool intersectsNode(_NodeJs refNode) native;
8973
8974 bool isPointInRange(_NodeJs refNode, int offset) native;
8975
8976 void selectNode(_NodeJs refNode) native;
8977
8978 void selectNodeContents(_NodeJs refNode) native;
8979
8980 void setEnd(_NodeJs refNode, int offset) native;
8981
8982 void setEndAfter(_NodeJs refNode) native;
8983
8984 void setEndBefore(_NodeJs refNode) native;
8985
8986 void setStart(_NodeJs refNode, int offset) native;
8987
8988 void setStartAfter(_NodeJs refNode) native;
8989
8990 void setStartBefore(_NodeJs refNode) native;
8991
8992 void surroundContents(_NodeJs newParent) native;
8993
8994 String toString() native;
8995 }
8996
8997 class _RangeExceptionJs implements RangeException native "*RangeException" {
8998
8999 static final int BAD_BOUNDARYPOINTS_ERR = 1;
9000
9001 static final int INVALID_NODE_TYPE_ERR = 2;
9002
9003 final int code;
9004
9005 final String message;
9006
9007 final String name;
9008
9009 String toString() native;
9010 }
9011
9012 class _RealtimeAnalyserNodeJs extends _AudioNodeJs implements RealtimeAnalyserNo de native "*RealtimeAnalyserNode" {
9013
9014 int fftSize;
9015
9016 final int frequencyBinCount;
9017
9018 num maxDecibels;
9019
9020 num minDecibels;
9021
9022 num smoothingTimeConstant;
9023
9024 void getByteFrequencyData(_Uint8ArrayJs array) native;
9025
9026 void getByteTimeDomainData(_Uint8ArrayJs array) native;
9027
9028 void getFloatFrequencyData(_Float32ArrayJs array) native;
9029 }
9030
9031 class _RectJs implements Rect native "*Rect" {
9032
9033 final _CSSPrimitiveValueJs bottom;
9034
9035 final _CSSPrimitiveValueJs left;
9036
9037 final _CSSPrimitiveValueJs right;
9038
9039 final _CSSPrimitiveValueJs top;
9040 }
9041
9042 class _SQLErrorJs implements SQLError native "*SQLError" {
9043
9044 static final int CONSTRAINT_ERR = 6;
9045
9046 static final int DATABASE_ERR = 1;
9047
9048 static final int QUOTA_ERR = 4;
9049
9050 static final int SYNTAX_ERR = 5;
9051
9052 static final int TIMEOUT_ERR = 7;
9053
9054 static final int TOO_LARGE_ERR = 3;
9055
9056 static final int UNKNOWN_ERR = 0;
9057
9058 static final int VERSION_ERR = 2;
9059
9060 final int code;
9061
9062 final String message;
9063 }
9064
9065 class _SQLExceptionJs implements SQLException native "*SQLException" {
9066
9067 static final int CONSTRAINT_ERR = 6;
9068
9069 static final int DATABASE_ERR = 1;
9070
9071 static final int QUOTA_ERR = 4;
9072
9073 static final int SYNTAX_ERR = 5;
9074
9075 static final int TIMEOUT_ERR = 7;
9076
9077 static final int TOO_LARGE_ERR = 3;
9078
9079 static final int UNKNOWN_ERR = 0;
9080
9081 static final int VERSION_ERR = 2;
9082
9083 final int code;
9084
9085 final String message;
9086 }
9087
9088 class _SQLResultSetJs implements SQLResultSet native "*SQLResultSet" {
9089
9090 final int insertId;
9091
9092 final _SQLResultSetRowListJs rows;
9093
9094 final int rowsAffected;
9095 }
9096
9097 class _SQLResultSetRowListJs implements SQLResultSetRowList native "*SQLResultSe tRowList" {
9098
9099 final int length;
9100
9101 Object item(int index) native;
9102 }
9103
9104 class _SQLTransactionJs implements SQLTransaction native "*SQLTransaction" {
9105 }
9106
9107 class _SQLTransactionSyncJs implements SQLTransactionSync native "*SQLTransactio nSync" {
9108 }
9109
9110 class _SVGAElementJs extends _SVGElementJs implements SVGAElement native "*SVGAE lement" {
9111
9112 final _SVGAnimatedStringJs target;
9113
9114 // From SVGURIReference
9115
9116 final _SVGAnimatedStringJs href;
9117
9118 // From SVGTests
9119
9120 final _SVGStringListJs requiredExtensions;
9121
9122 final _SVGStringListJs requiredFeatures;
9123
9124 final _SVGStringListJs systemLanguage;
9125
9126 bool hasExtension(String extension) native;
9127
9128 // From SVGLangSpace
9129
9130 String xmllang;
9131
9132 String xmlspace;
9133
9134 // From SVGExternalResourcesRequired
9135
9136 final _SVGAnimatedBooleanJs externalResourcesRequired;
9137
9138 // From SVGStylable
9139
9140 _SVGAnimatedStringJs get _className() native "return this.className;";
9141
9142 // Use implementation from Element.
9143 // final _CSSStyleDeclarationJs style;
9144
9145 _CSSValueJs getPresentationAttribute(String name) native;
9146
9147 // From SVGTransformable
9148
9149 final _SVGAnimatedTransformListJs transform;
9150
9151 // From SVGLocatable
9152
9153 final _SVGElementJs farthestViewportElement;
9154
9155 final _SVGElementJs nearestViewportElement;
9156
9157 _SVGRectJs getBBox() native;
9158
9159 _SVGMatrixJs getCTM() native;
9160
9161 _SVGMatrixJs getScreenCTM() native;
9162
9163 _SVGMatrixJs getTransformToElement(_SVGElementJs element) native;
9164 }
9165
9166 class _SVGAltGlyphDefElementJs extends _SVGElementJs implements SVGAltGlyphDefEl ement native "*SVGAltGlyphDefElement" {
9167 }
9168
9169 class _SVGAltGlyphElementJs extends _SVGTextPositioningElementJs implements SVGA ltGlyphElement native "*SVGAltGlyphElement" {
9170
9171 String format;
9172
9173 String glyphRef;
9174
9175 // From SVGURIReference
9176
9177 final _SVGAnimatedStringJs href;
9178 }
9179
9180 class _SVGAltGlyphItemElementJs extends _SVGElementJs implements SVGAltGlyphItem Element native "*SVGAltGlyphItemElement" {
9181 }
9182
9183 class _SVGAngleJs implements SVGAngle native "*SVGAngle" {
9184
9185 static final int SVG_ANGLETYPE_DEG = 2;
9186
9187 static final int SVG_ANGLETYPE_GRAD = 4;
9188
9189 static final int SVG_ANGLETYPE_RAD = 3;
9190
9191 static final int SVG_ANGLETYPE_UNKNOWN = 0;
9192
9193 static final int SVG_ANGLETYPE_UNSPECIFIED = 1;
9194
9195 final int unitType;
9196
9197 num value;
9198
9199 String valueAsString;
9200
9201 num valueInSpecifiedUnits;
9202
9203 void convertToSpecifiedUnits(int unitType) native;
9204
9205 void newValueSpecifiedUnits(int unitType, num valueInSpecifiedUnits) native;
9206 }
9207
9208 class _SVGAnimateColorElementJs extends _SVGAnimationElementJs implements SVGAni mateColorElement native "*SVGAnimateColorElement" {
9209 }
9210
9211 class _SVGAnimateElementJs extends _SVGAnimationElementJs implements SVGAnimateE lement native "*SVGAnimateElement" {
9212 }
9213
9214 class _SVGAnimateMotionElementJs extends _SVGAnimationElementJs implements SVGAn imateMotionElement native "*SVGAnimateMotionElement" {
9215 }
9216
9217 class _SVGAnimateTransformElementJs extends _SVGAnimationElementJs implements SV GAnimateTransformElement native "*SVGAnimateTransformElement" {
9218 }
9219
9220 class _SVGAnimatedAngleJs implements SVGAnimatedAngle native "*SVGAnimatedAngle" {
9221
9222 final _SVGAngleJs animVal;
9223
9224 final _SVGAngleJs baseVal;
9225 }
9226
9227 class _SVGAnimatedBooleanJs implements SVGAnimatedBoolean native "*SVGAnimatedBo olean" {
9228
9229 final bool animVal;
9230
9231 bool baseVal;
9232 }
9233
9234 class _SVGAnimatedEnumerationJs implements SVGAnimatedEnumeration native "*SVGAn imatedEnumeration" {
9235
9236 final int animVal;
9237
9238 int baseVal;
9239 }
9240
9241 class _SVGAnimatedIntegerJs implements SVGAnimatedInteger native "*SVGAnimatedIn teger" {
9242
9243 final int animVal;
9244
9245 int baseVal;
9246 }
9247
9248 class _SVGAnimatedLengthJs implements SVGAnimatedLength native "*SVGAnimatedLeng th" {
9249
9250 final _SVGLengthJs animVal;
9251
9252 final _SVGLengthJs baseVal;
9253 }
9254
9255 class _SVGAnimatedLengthListJs implements SVGAnimatedLengthList native "*SVGAnim atedLengthList" {
9256
9257 final _SVGLengthListJs animVal;
9258
9259 final _SVGLengthListJs baseVal;
9260 }
9261
9262 class _SVGAnimatedNumberJs implements SVGAnimatedNumber native "*SVGAnimatedNumb er" {
9263
9264 final num animVal;
9265
9266 num baseVal;
9267 }
9268
9269 class _SVGAnimatedNumberListJs implements SVGAnimatedNumberList native "*SVGAnim atedNumberList" {
9270
9271 final _SVGNumberListJs animVal;
9272
9273 final _SVGNumberListJs baseVal;
9274 }
9275
9276 class _SVGAnimatedPreserveAspectRatioJs implements SVGAnimatedPreserveAspectRati o native "*SVGAnimatedPreserveAspectRatio" {
9277
9278 final _SVGPreserveAspectRatioJs animVal;
9279
9280 final _SVGPreserveAspectRatioJs baseVal;
9281 }
9282
9283 class _SVGAnimatedRectJs implements SVGAnimatedRect native "*SVGAnimatedRect" {
9284
9285 final _SVGRectJs animVal;
9286
9287 final _SVGRectJs baseVal;
9288 }
9289
9290 class _SVGAnimatedStringJs implements SVGAnimatedString native "*SVGAnimatedStri ng" {
9291
9292 final String animVal;
9293
9294 String baseVal;
9295 }
9296
9297 class _SVGAnimatedTransformListJs implements SVGAnimatedTransformList native "*S VGAnimatedTransformList" {
9298
9299 final _SVGTransformListJs animVal;
9300
9301 final _SVGTransformListJs baseVal;
9302 }
9303
9304 class _SVGAnimationElementJs extends _SVGElementJs implements SVGAnimationElemen t native "*SVGAnimationElement" {
9305
9306 final _SVGElementJs targetElement;
9307
9308 num getCurrentTime() native;
9309
9310 num getSimpleDuration() native;
9311
9312 num getStartTime() native;
9313
9314 // From SVGTests
9315
9316 final _SVGStringListJs requiredExtensions;
9317
9318 final _SVGStringListJs requiredFeatures;
9319
9320 final _SVGStringListJs systemLanguage;
9321
9322 bool hasExtension(String extension) native;
9323
9324 // From SVGExternalResourcesRequired
9325
9326 final _SVGAnimatedBooleanJs externalResourcesRequired;
9327
9328 // From ElementTimeControl
9329
9330 void beginElement() native;
9331
9332 void beginElementAt(num offset) native;
9333
9334 void endElement() native;
9335
9336 void endElementAt(num offset) native;
9337 }
9338
9339 class _SVGCircleElementJs extends _SVGElementJs implements SVGCircleElement nati ve "*SVGCircleElement" {
9340
9341 final _SVGAnimatedLengthJs cx;
9342
9343 final _SVGAnimatedLengthJs cy;
9344
9345 final _SVGAnimatedLengthJs r;
9346
9347 // From SVGTests
9348
9349 final _SVGStringListJs requiredExtensions;
9350
9351 final _SVGStringListJs requiredFeatures;
9352
9353 final _SVGStringListJs systemLanguage;
9354
9355 bool hasExtension(String extension) native;
9356
9357 // From SVGLangSpace
9358
9359 String xmllang;
9360
9361 String xmlspace;
9362
9363 // From SVGExternalResourcesRequired
9364
9365 final _SVGAnimatedBooleanJs externalResourcesRequired;
9366
9367 // From SVGStylable
9368
9369 _SVGAnimatedStringJs get _className() native "return this.className;";
9370
9371 // Use implementation from Element.
9372 // final _CSSStyleDeclarationJs style;
9373
9374 _CSSValueJs getPresentationAttribute(String name) native;
9375
9376 // From SVGTransformable
9377
9378 final _SVGAnimatedTransformListJs transform;
9379
9380 // From SVGLocatable
9381
9382 final _SVGElementJs farthestViewportElement;
9383
9384 final _SVGElementJs nearestViewportElement;
9385
9386 _SVGRectJs getBBox() native;
9387
9388 _SVGMatrixJs getCTM() native;
9389
9390 _SVGMatrixJs getScreenCTM() native;
9391
9392 _SVGMatrixJs getTransformToElement(_SVGElementJs element) native;
9393 }
9394
9395 class _SVGClipPathElementJs extends _SVGElementJs implements SVGClipPathElement native "*SVGClipPathElement" {
9396
9397 final _SVGAnimatedEnumerationJs clipPathUnits;
9398
9399 // From SVGTests
9400
9401 final _SVGStringListJs requiredExtensions;
9402
9403 final _SVGStringListJs requiredFeatures;
9404
9405 final _SVGStringListJs systemLanguage;
9406
9407 bool hasExtension(String extension) native;
9408
9409 // From SVGLangSpace
9410
9411 String xmllang;
9412
9413 String xmlspace;
9414
9415 // From SVGExternalResourcesRequired
9416
9417 final _SVGAnimatedBooleanJs externalResourcesRequired;
9418
9419 // From SVGStylable
9420
9421 _SVGAnimatedStringJs get _className() native "return this.className;";
9422
9423 // Use implementation from Element.
9424 // final _CSSStyleDeclarationJs style;
9425
9426 _CSSValueJs getPresentationAttribute(String name) native;
9427
9428 // From SVGTransformable
9429
9430 final _SVGAnimatedTransformListJs transform;
9431
9432 // From SVGLocatable
9433
9434 final _SVGElementJs farthestViewportElement;
9435
9436 final _SVGElementJs nearestViewportElement;
9437
9438 _SVGRectJs getBBox() native;
9439
9440 _SVGMatrixJs getCTM() native;
9441
9442 _SVGMatrixJs getScreenCTM() native;
9443
9444 _SVGMatrixJs getTransformToElement(_SVGElementJs element) native;
9445 }
9446
9447 class _SVGColorJs extends _CSSValueJs implements SVGColor native "*SVGColor" {
9448
9449 static final int SVG_COLORTYPE_CURRENTCOLOR = 3;
9450
9451 static final int SVG_COLORTYPE_RGBCOLOR = 1;
9452
9453 static final int SVG_COLORTYPE_RGBCOLOR_ICCCOLOR = 2;
9454
9455 static final int SVG_COLORTYPE_UNKNOWN = 0;
9456
9457 final int colorType;
9458
9459 final _RGBColorJs rgbColor;
9460
9461 void setColor(int colorType, String rgbColor, String iccColor) native;
9462
9463 void setRGBColor(String rgbColor) native;
9464
9465 void setRGBColorICCColor(String rgbColor, String iccColor) native;
9466 }
9467
9468 class _SVGComponentTransferFunctionElementJs extends _SVGElementJs implements SV GComponentTransferFunctionElement native "*SVGComponentTransferFunctionElement" {
9469
9470 static final int SVG_FECOMPONENTTRANSFER_TYPE_DISCRETE = 3;
9471
9472 static final int SVG_FECOMPONENTTRANSFER_TYPE_GAMMA = 5;
9473
9474 static final int SVG_FECOMPONENTTRANSFER_TYPE_IDENTITY = 1;
9475
9476 static final int SVG_FECOMPONENTTRANSFER_TYPE_LINEAR = 4;
9477
9478 static final int SVG_FECOMPONENTTRANSFER_TYPE_TABLE = 2;
9479
9480 static final int SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN = 0;
9481
9482 final _SVGAnimatedNumberJs amplitude;
9483
9484 final _SVGAnimatedNumberJs exponent;
9485
9486 final _SVGAnimatedNumberJs intercept;
9487
9488 final _SVGAnimatedNumberJs offset;
9489
9490 final _SVGAnimatedNumberJs slope;
9491
9492 final _SVGAnimatedNumberListJs tableValues;
9493
9494 final _SVGAnimatedEnumerationJs type;
9495 }
9496
9497 class _SVGCursorElementJs extends _SVGElementJs implements SVGCursorElement nati ve "*SVGCursorElement" {
9498
9499 final _SVGAnimatedLengthJs x;
9500
9501 final _SVGAnimatedLengthJs y;
9502
9503 // From SVGURIReference
9504
9505 final _SVGAnimatedStringJs href;
9506
9507 // From SVGTests
9508
9509 final _SVGStringListJs requiredExtensions;
9510
9511 final _SVGStringListJs requiredFeatures;
9512
9513 final _SVGStringListJs systemLanguage;
9514
9515 bool hasExtension(String extension) native;
9516
9517 // From SVGExternalResourcesRequired
9518
9519 final _SVGAnimatedBooleanJs externalResourcesRequired;
9520 }
9521
9522 class _SVGDefsElementJs extends _SVGElementJs implements SVGDefsElement native " *SVGDefsElement" {
9523
9524 // From SVGTests
9525
9526 final _SVGStringListJs requiredExtensions;
9527
9528 final _SVGStringListJs requiredFeatures;
9529
9530 final _SVGStringListJs systemLanguage;
9531
9532 bool hasExtension(String extension) native;
9533
9534 // From SVGLangSpace
9535
9536 String xmllang;
9537
9538 String xmlspace;
9539
9540 // From SVGExternalResourcesRequired
9541
9542 final _SVGAnimatedBooleanJs externalResourcesRequired;
9543
9544 // From SVGStylable
9545
9546 _SVGAnimatedStringJs get _className() native "return this.className;";
9547
9548 // Use implementation from Element.
9549 // final _CSSStyleDeclarationJs style;
9550
9551 _CSSValueJs getPresentationAttribute(String name) native;
9552
9553 // From SVGTransformable
9554
9555 final _SVGAnimatedTransformListJs transform;
9556
9557 // From SVGLocatable
9558
9559 final _SVGElementJs farthestViewportElement;
9560
9561 final _SVGElementJs nearestViewportElement;
9562
9563 _SVGRectJs getBBox() native;
9564
9565 _SVGMatrixJs getCTM() native;
9566
9567 _SVGMatrixJs getScreenCTM() native;
9568
9569 _SVGMatrixJs getTransformToElement(_SVGElementJs element) native;
9570 }
9571
9572 class _SVGDescElementJs extends _SVGElementJs implements SVGDescElement native " *SVGDescElement" {
9573
9574 // From SVGLangSpace
9575
9576 String xmllang;
9577
9578 String xmlspace;
9579
9580 // From SVGStylable
9581
9582 _SVGAnimatedStringJs get _className() native "return this.className;";
9583
9584 // Use implementation from Element.
9585 // final _CSSStyleDeclarationJs style;
9586
9587 _CSSValueJs getPresentationAttribute(String name) native;
9588 }
9589
9590 class _SVGDocumentJs extends _DocumentJs implements SVGDocument native "*SVGDocu ment" {
9591
9592 final _SVGSVGElementJs rootElement;
9593
9594 _EventJs _createEvent(String eventType) native "return this.createEvent(eventT ype);";
9595 }
9596
9597 class _SVGElementJs extends _ElementJs implements SVGElement native "*SVGElement " {
9598
9599 // Shadowing definition.
9600 String get id() native "return this.id;";
9601
9602 void set id(String value) native "this.id = value;";
9603
9604 final _SVGSVGElementJs ownerSVGElement;
9605
9606 final _SVGElementJs viewportElement;
9607
9608 String xmlbase;
9609 }
9610
9611 class _SVGElementInstanceJs implements SVGElementInstance native "*SVGElementIns tance" {
9612
9613 final _SVGElementInstanceListJs childNodes;
9614
9615 final _SVGElementJs correspondingElement;
9616
9617 final _SVGUseElementJs correspondingUseElement;
9618
9619 final _SVGElementInstanceJs firstChild;
9620
9621 final _SVGElementInstanceJs lastChild;
9622
9623 final _SVGElementInstanceJs nextSibling;
9624
9625 final _SVGElementInstanceJs parentNode;
9626
9627 final _SVGElementInstanceJs previousSibling;
9628
9629 _SVGElementInstanceEventsImpl get on() =>
9630 new _SVGElementInstanceEventsImpl(this);
9631
9632 void _addEventListener(String type, EventListener listener, [bool useCapture = null]) native "this.addEventListener(type, listener, useCapture);";
9633
9634 bool _dispatchEvent(_EventJs event) native "return this.dispatchEvent(event);" ;
9635
9636 void _removeEventListener(String type, EventListener listener, [bool useCaptur e = null]) native "this.removeEventListener(type, listener, useCapture);";
9637 }
9638
9639 class _SVGElementInstanceEventsImpl extends _EventsImpl implements SVGElementIns tanceEvents {
9640 _SVGElementInstanceEventsImpl(_ptr) : super(_ptr);
9641
9642 EventListenerList get abort() => _get('abort');
9643
9644 EventListenerList get beforeCopy() => _get('beforecopy');
9645
9646 EventListenerList get beforeCut() => _get('beforecut');
9647
9648 EventListenerList get beforePaste() => _get('beforepaste');
9649
9650 EventListenerList get blur() => _get('blur');
9651
9652 EventListenerList get change() => _get('change');
9653
9654 EventListenerList get click() => _get('click');
9655
9656 EventListenerList get contextMenu() => _get('contextmenu');
9657
9658 EventListenerList get copy() => _get('copy');
9659
9660 EventListenerList get cut() => _get('cut');
9661
9662 EventListenerList get doubleClick() => _get('dblclick');
9663
9664 EventListenerList get drag() => _get('drag');
9665
9666 EventListenerList get dragEnd() => _get('dragend');
9667
9668 EventListenerList get dragEnter() => _get('dragenter');
9669
9670 EventListenerList get dragLeave() => _get('dragleave');
9671
9672 EventListenerList get dragOver() => _get('dragover');
9673
9674 EventListenerList get dragStart() => _get('dragstart');
9675
9676 EventListenerList get drop() => _get('drop');
9677
9678 EventListenerList get error() => _get('error');
9679
9680 EventListenerList get focus() => _get('focus');
9681
9682 EventListenerList get input() => _get('input');
9683
9684 EventListenerList get keyDown() => _get('keydown');
9685
9686 EventListenerList get keyPress() => _get('keypress');
9687
9688 EventListenerList get keyUp() => _get('keyup');
9689
9690 EventListenerList get load() => _get('load');
9691
9692 EventListenerList get mouseDown() => _get('mousedown');
9693
9694 EventListenerList get mouseMove() => _get('mousemove');
9695
9696 EventListenerList get mouseOut() => _get('mouseout');
9697
9698 EventListenerList get mouseOver() => _get('mouseover');
9699
9700 EventListenerList get mouseUp() => _get('mouseup');
9701
9702 EventListenerList get mouseWheel() => _get('mousewheel');
9703
9704 EventListenerList get paste() => _get('paste');
9705
9706 EventListenerList get reset() => _get('reset');
9707
9708 EventListenerList get resize() => _get('resize');
9709
9710 EventListenerList get scroll() => _get('scroll');
9711
9712 EventListenerList get search() => _get('search');
9713
9714 EventListenerList get select() => _get('select');
9715
9716 EventListenerList get selectStart() => _get('selectstart');
9717
9718 EventListenerList get submit() => _get('submit');
9719
9720 EventListenerList get unload() => _get('unload');
9721 }
9722
9723 class _SVGElementInstanceListJs implements SVGElementInstanceList native "*SVGEl ementInstanceList" {
9724
9725 final int length;
9726
9727 _SVGElementInstanceJs item(int index) native;
9728 }
9729
9730 class _SVGEllipseElementJs extends _SVGElementJs implements SVGEllipseElement na tive "*SVGEllipseElement" {
9731
9732 final _SVGAnimatedLengthJs cx;
9733
9734 final _SVGAnimatedLengthJs cy;
9735
9736 final _SVGAnimatedLengthJs rx;
9737
9738 final _SVGAnimatedLengthJs ry;
9739
9740 // From SVGTests
9741
9742 final _SVGStringListJs requiredExtensions;
9743
9744 final _SVGStringListJs requiredFeatures;
9745
9746 final _SVGStringListJs systemLanguage;
9747
9748 bool hasExtension(String extension) native;
9749
9750 // From SVGLangSpace
9751
9752 String xmllang;
9753
9754 String xmlspace;
9755
9756 // From SVGExternalResourcesRequired
9757
9758 final _SVGAnimatedBooleanJs externalResourcesRequired;
9759
9760 // From SVGStylable
9761
9762 _SVGAnimatedStringJs get _className() native "return this.className;";
9763
9764 // Use implementation from Element.
9765 // final _CSSStyleDeclarationJs style;
9766
9767 _CSSValueJs getPresentationAttribute(String name) native;
9768
9769 // From SVGTransformable
9770
9771 final _SVGAnimatedTransformListJs transform;
9772
9773 // From SVGLocatable
9774
9775 final _SVGElementJs farthestViewportElement;
9776
9777 final _SVGElementJs nearestViewportElement;
9778
9779 _SVGRectJs getBBox() native;
9780
9781 _SVGMatrixJs getCTM() native;
9782
9783 _SVGMatrixJs getScreenCTM() native;
9784
9785 _SVGMatrixJs getTransformToElement(_SVGElementJs element) native;
9786 }
9787
9788 class _SVGExceptionJs implements SVGException native "*SVGException" {
9789
9790 static final int SVG_INVALID_VALUE_ERR = 1;
9791
9792 static final int SVG_MATRIX_NOT_INVERTABLE = 2;
9793
9794 static final int SVG_WRONG_TYPE_ERR = 0;
9795
9796 final int code;
9797
9798 final String message;
9799
9800 final String name;
9801
9802 String toString() native;
9803 }
9804
9805 class _SVGExternalResourcesRequiredJs implements SVGExternalResourcesRequired na tive "*SVGExternalResourcesRequired" {
9806
9807 final _SVGAnimatedBooleanJs externalResourcesRequired;
9808 }
9809
9810 class _SVGFEBlendElementJs extends _SVGElementJs implements SVGFEBlendElement na tive "*SVGFEBlendElement" {
9811
9812 static final int SVG_FEBLEND_MODE_DARKEN = 4;
9813
9814 static final int SVG_FEBLEND_MODE_LIGHTEN = 5;
9815
9816 static final int SVG_FEBLEND_MODE_MULTIPLY = 2;
9817
9818 static final int SVG_FEBLEND_MODE_NORMAL = 1;
9819
9820 static final int SVG_FEBLEND_MODE_SCREEN = 3;
9821
9822 static final int SVG_FEBLEND_MODE_UNKNOWN = 0;
9823
9824 final _SVGAnimatedStringJs in1;
9825
9826 final _SVGAnimatedStringJs in2;
9827
9828 final _SVGAnimatedEnumerationJs mode;
9829
9830 // From SVGFilterPrimitiveStandardAttributes
9831
9832 final _SVGAnimatedLengthJs height;
9833
9834 final _SVGAnimatedStringJs result;
9835
9836 final _SVGAnimatedLengthJs width;
9837
9838 final _SVGAnimatedLengthJs x;
9839
9840 final _SVGAnimatedLengthJs y;
9841
9842 // From SVGStylable
9843
9844 _SVGAnimatedStringJs get _className() native "return this.className;";
9845
9846 // Use implementation from Element.
9847 // final _CSSStyleDeclarationJs style;
9848
9849 _CSSValueJs getPresentationAttribute(String name) native;
9850 }
9851
9852 class _SVGFEColorMatrixElementJs extends _SVGElementJs implements SVGFEColorMatr ixElement native "*SVGFEColorMatrixElement" {
9853
9854 static final int SVG_FECOLORMATRIX_TYPE_HUEROTATE = 3;
9855
9856 static final int SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA = 4;
9857
9858 static final int SVG_FECOLORMATRIX_TYPE_MATRIX = 1;
9859
9860 static final int SVG_FECOLORMATRIX_TYPE_SATURATE = 2;
9861
9862 static final int SVG_FECOLORMATRIX_TYPE_UNKNOWN = 0;
9863
9864 final _SVGAnimatedStringJs in1;
9865
9866 final _SVGAnimatedEnumerationJs type;
9867
9868 final _SVGAnimatedNumberListJs values;
9869
9870 // From SVGFilterPrimitiveStandardAttributes
9871
9872 final _SVGAnimatedLengthJs height;
9873
9874 final _SVGAnimatedStringJs result;
9875
9876 final _SVGAnimatedLengthJs width;
9877
9878 final _SVGAnimatedLengthJs x;
9879
9880 final _SVGAnimatedLengthJs y;
9881
9882 // From SVGStylable
9883
9884 _SVGAnimatedStringJs get _className() native "return this.className;";
9885
9886 // Use implementation from Element.
9887 // final _CSSStyleDeclarationJs style;
9888
9889 _CSSValueJs getPresentationAttribute(String name) native;
9890 }
9891
9892 class _SVGFEComponentTransferElementJs extends _SVGElementJs implements SVGFECom ponentTransferElement native "*SVGFEComponentTransferElement" {
9893
9894 final _SVGAnimatedStringJs in1;
9895
9896 // From SVGFilterPrimitiveStandardAttributes
9897
9898 final _SVGAnimatedLengthJs height;
9899
9900 final _SVGAnimatedStringJs result;
9901
9902 final _SVGAnimatedLengthJs width;
9903
9904 final _SVGAnimatedLengthJs x;
9905
9906 final _SVGAnimatedLengthJs y;
9907
9908 // From SVGStylable
9909
9910 _SVGAnimatedStringJs get _className() native "return this.className;";
9911
9912 // Use implementation from Element.
9913 // final _CSSStyleDeclarationJs style;
9914
9915 _CSSValueJs getPresentationAttribute(String name) native;
9916 }
9917
9918 class _SVGFECompositeElementJs extends _SVGElementJs implements SVGFECompositeEl ement native "*SVGFECompositeElement" {
9919
9920 static final int SVG_FECOMPOSITE_OPERATOR_ARITHMETIC = 6;
9921
9922 static final int SVG_FECOMPOSITE_OPERATOR_ATOP = 4;
9923
9924 static final int SVG_FECOMPOSITE_OPERATOR_IN = 2;
9925
9926 static final int SVG_FECOMPOSITE_OPERATOR_OUT = 3;
9927
9928 static final int SVG_FECOMPOSITE_OPERATOR_OVER = 1;
9929
9930 static final int SVG_FECOMPOSITE_OPERATOR_UNKNOWN = 0;
9931
9932 static final int SVG_FECOMPOSITE_OPERATOR_XOR = 5;
9933
9934 final _SVGAnimatedStringJs in1;
9935
9936 final _SVGAnimatedStringJs in2;
9937
9938 final _SVGAnimatedNumberJs k1;
9939
9940 final _SVGAnimatedNumberJs k2;
9941
9942 final _SVGAnimatedNumberJs k3;
9943
9944 final _SVGAnimatedNumberJs k4;
9945
9946 final _SVGAnimatedEnumerationJs operator;
9947
9948 // From SVGFilterPrimitiveStandardAttributes
9949
9950 final _SVGAnimatedLengthJs height;
9951
9952 final _SVGAnimatedStringJs result;
9953
9954 final _SVGAnimatedLengthJs width;
9955
9956 final _SVGAnimatedLengthJs x;
9957
9958 final _SVGAnimatedLengthJs y;
9959
9960 // From SVGStylable
9961
9962 _SVGAnimatedStringJs get _className() native "return this.className;";
9963
9964 // Use implementation from Element.
9965 // final _CSSStyleDeclarationJs style;
9966
9967 _CSSValueJs getPresentationAttribute(String name) native;
9968 }
9969
9970 class _SVGFEConvolveMatrixElementJs extends _SVGElementJs implements SVGFEConvol veMatrixElement native "*SVGFEConvolveMatrixElement" {
9971
9972 static final int SVG_EDGEMODE_DUPLICATE = 1;
9973
9974 static final int SVG_EDGEMODE_NONE = 3;
9975
9976 static final int SVG_EDGEMODE_UNKNOWN = 0;
9977
9978 static final int SVG_EDGEMODE_WRAP = 2;
9979
9980 final _SVGAnimatedNumberJs bias;
9981
9982 final _SVGAnimatedNumberJs divisor;
9983
9984 final _SVGAnimatedEnumerationJs edgeMode;
9985
9986 final _SVGAnimatedStringJs in1;
9987
9988 final _SVGAnimatedNumberListJs kernelMatrix;
9989
9990 final _SVGAnimatedNumberJs kernelUnitLengthX;
9991
9992 final _SVGAnimatedNumberJs kernelUnitLengthY;
9993
9994 final _SVGAnimatedIntegerJs orderX;
9995
9996 final _SVGAnimatedIntegerJs orderY;
9997
9998 final _SVGAnimatedBooleanJs preserveAlpha;
9999
10000 final _SVGAnimatedIntegerJs targetX;
10001
10002 final _SVGAnimatedIntegerJs targetY;
10003
10004 // From SVGFilterPrimitiveStandardAttributes
10005
10006 final _SVGAnimatedLengthJs height;
10007
10008 final _SVGAnimatedStringJs result;
10009
10010 final _SVGAnimatedLengthJs width;
10011
10012 final _SVGAnimatedLengthJs x;
10013
10014 final _SVGAnimatedLengthJs y;
10015
10016 // From SVGStylable
10017
10018 _SVGAnimatedStringJs get _className() native "return this.className;";
10019
10020 // Use implementation from Element.
10021 // final _CSSStyleDeclarationJs style;
10022
10023 _CSSValueJs getPresentationAttribute(String name) native;
10024 }
10025
10026 class _SVGFEDiffuseLightingElementJs extends _SVGElementJs implements SVGFEDiffu seLightingElement native "*SVGFEDiffuseLightingElement" {
10027
10028 final _SVGAnimatedNumberJs diffuseConstant;
10029
10030 final _SVGAnimatedStringJs in1;
10031
10032 final _SVGAnimatedNumberJs kernelUnitLengthX;
10033
10034 final _SVGAnimatedNumberJs kernelUnitLengthY;
10035
10036 final _SVGAnimatedNumberJs surfaceScale;
10037
10038 // From SVGFilterPrimitiveStandardAttributes
10039
10040 final _SVGAnimatedLengthJs height;
10041
10042 final _SVGAnimatedStringJs result;
10043
10044 final _SVGAnimatedLengthJs width;
10045
10046 final _SVGAnimatedLengthJs x;
10047
10048 final _SVGAnimatedLengthJs y;
10049
10050 // From SVGStylable
10051
10052 _SVGAnimatedStringJs get _className() native "return this.className;";
10053
10054 // Use implementation from Element.
10055 // final _CSSStyleDeclarationJs style;
10056
10057 _CSSValueJs getPresentationAttribute(String name) native;
10058 }
10059
10060 class _SVGFEDisplacementMapElementJs extends _SVGElementJs implements SVGFEDispl acementMapElement native "*SVGFEDisplacementMapElement" {
10061
10062 static final int SVG_CHANNEL_A = 4;
10063
10064 static final int SVG_CHANNEL_B = 3;
10065
10066 static final int SVG_CHANNEL_G = 2;
10067
10068 static final int SVG_CHANNEL_R = 1;
10069
10070 static final int SVG_CHANNEL_UNKNOWN = 0;
10071
10072 final _SVGAnimatedStringJs in1;
10073
10074 final _SVGAnimatedStringJs in2;
10075
10076 final _SVGAnimatedNumberJs scale;
10077
10078 final _SVGAnimatedEnumerationJs xChannelSelector;
10079
10080 final _SVGAnimatedEnumerationJs yChannelSelector;
10081
10082 // From SVGFilterPrimitiveStandardAttributes
10083
10084 final _SVGAnimatedLengthJs height;
10085
10086 final _SVGAnimatedStringJs result;
10087
10088 final _SVGAnimatedLengthJs width;
10089
10090 final _SVGAnimatedLengthJs x;
10091
10092 final _SVGAnimatedLengthJs y;
10093
10094 // From SVGStylable
10095
10096 _SVGAnimatedStringJs get _className() native "return this.className;";
10097
10098 // Use implementation from Element.
10099 // final _CSSStyleDeclarationJs style;
10100
10101 _CSSValueJs getPresentationAttribute(String name) native;
10102 }
10103
10104 class _SVGFEDistantLightElementJs extends _SVGElementJs implements SVGFEDistantL ightElement native "*SVGFEDistantLightElement" {
10105
10106 final _SVGAnimatedNumberJs azimuth;
10107
10108 final _SVGAnimatedNumberJs elevation;
10109 }
10110
10111 class _SVGFEDropShadowElementJs extends _SVGElementJs implements SVGFEDropShadow Element native "*SVGFEDropShadowElement" {
10112
10113 final _SVGAnimatedNumberJs dx;
10114
10115 final _SVGAnimatedNumberJs dy;
10116
10117 final _SVGAnimatedStringJs in1;
10118
10119 final _SVGAnimatedNumberJs stdDeviationX;
10120
10121 final _SVGAnimatedNumberJs stdDeviationY;
10122
10123 void setStdDeviation(num stdDeviationX, num stdDeviationY) native;
10124
10125 // From SVGFilterPrimitiveStandardAttributes
10126
10127 final _SVGAnimatedLengthJs height;
10128
10129 final _SVGAnimatedStringJs result;
10130
10131 final _SVGAnimatedLengthJs width;
10132
10133 final _SVGAnimatedLengthJs x;
10134
10135 final _SVGAnimatedLengthJs y;
10136
10137 // From SVGStylable
10138
10139 _SVGAnimatedStringJs get _className() native "return this.className;";
10140
10141 // Use implementation from Element.
10142 // final _CSSStyleDeclarationJs style;
10143
10144 _CSSValueJs getPresentationAttribute(String name) native;
10145 }
10146
10147 class _SVGFEFloodElementJs extends _SVGElementJs implements SVGFEFloodElement na tive "*SVGFEFloodElement" {
10148
10149 // From SVGFilterPrimitiveStandardAttributes
10150
10151 final _SVGAnimatedLengthJs height;
10152
10153 final _SVGAnimatedStringJs result;
10154
10155 final _SVGAnimatedLengthJs width;
10156
10157 final _SVGAnimatedLengthJs x;
10158
10159 final _SVGAnimatedLengthJs y;
10160
10161 // From SVGStylable
10162
10163 _SVGAnimatedStringJs get _className() native "return this.className;";
10164
10165 // Use implementation from Element.
10166 // final _CSSStyleDeclarationJs style;
10167
10168 _CSSValueJs getPresentationAttribute(String name) native;
10169 }
10170
10171 class _SVGFEFuncAElementJs extends _SVGComponentTransferFunctionElementJs implem ents SVGFEFuncAElement native "*SVGFEFuncAElement" {
10172 }
10173
10174 class _SVGFEFuncBElementJs extends _SVGComponentTransferFunctionElementJs implem ents SVGFEFuncBElement native "*SVGFEFuncBElement" {
10175 }
10176
10177 class _SVGFEFuncGElementJs extends _SVGComponentTransferFunctionElementJs implem ents SVGFEFuncGElement native "*SVGFEFuncGElement" {
10178 }
10179
10180 class _SVGFEFuncRElementJs extends _SVGComponentTransferFunctionElementJs implem ents SVGFEFuncRElement native "*SVGFEFuncRElement" {
10181 }
10182
10183 class _SVGFEGaussianBlurElementJs extends _SVGElementJs implements SVGFEGaussian BlurElement native "*SVGFEGaussianBlurElement" {
10184
10185 final _SVGAnimatedStringJs in1;
10186
10187 final _SVGAnimatedNumberJs stdDeviationX;
10188
10189 final _SVGAnimatedNumberJs stdDeviationY;
10190
10191 void setStdDeviation(num stdDeviationX, num stdDeviationY) native;
10192
10193 // From SVGFilterPrimitiveStandardAttributes
10194
10195 final _SVGAnimatedLengthJs height;
10196
10197 final _SVGAnimatedStringJs result;
10198
10199 final _SVGAnimatedLengthJs width;
10200
10201 final _SVGAnimatedLengthJs x;
10202
10203 final _SVGAnimatedLengthJs y;
10204
10205 // From SVGStylable
10206
10207 _SVGAnimatedStringJs get _className() native "return this.className;";
10208
10209 // Use implementation from Element.
10210 // final _CSSStyleDeclarationJs style;
10211
10212 _CSSValueJs getPresentationAttribute(String name) native;
10213 }
10214
10215 class _SVGFEImageElementJs extends _SVGElementJs implements SVGFEImageElement na tive "*SVGFEImageElement" {
10216
10217 final _SVGAnimatedPreserveAspectRatioJs preserveAspectRatio;
10218
10219 // From SVGURIReference
10220
10221 final _SVGAnimatedStringJs href;
10222
10223 // From SVGLangSpace
10224
10225 String xmllang;
10226
10227 String xmlspace;
10228
10229 // From SVGExternalResourcesRequired
10230
10231 final _SVGAnimatedBooleanJs externalResourcesRequired;
10232
10233 // From SVGFilterPrimitiveStandardAttributes
10234
10235 final _SVGAnimatedLengthJs height;
10236
10237 final _SVGAnimatedStringJs result;
10238
10239 final _SVGAnimatedLengthJs width;
10240
10241 final _SVGAnimatedLengthJs x;
10242
10243 final _SVGAnimatedLengthJs y;
10244
10245 // From SVGStylable
10246
10247 _SVGAnimatedStringJs get _className() native "return this.className;";
10248
10249 // Use implementation from Element.
10250 // final _CSSStyleDeclarationJs style;
10251
10252 _CSSValueJs getPresentationAttribute(String name) native;
10253 }
10254
10255 class _SVGFEMergeElementJs extends _SVGElementJs implements SVGFEMergeElement na tive "*SVGFEMergeElement" {
10256
10257 // From SVGFilterPrimitiveStandardAttributes
10258
10259 final _SVGAnimatedLengthJs height;
10260
10261 final _SVGAnimatedStringJs result;
10262
10263 final _SVGAnimatedLengthJs width;
10264
10265 final _SVGAnimatedLengthJs x;
10266
10267 final _SVGAnimatedLengthJs y;
10268
10269 // From SVGStylable
10270
10271 _SVGAnimatedStringJs get _className() native "return this.className;";
10272
10273 // Use implementation from Element.
10274 // final _CSSStyleDeclarationJs style;
10275
10276 _CSSValueJs getPresentationAttribute(String name) native;
10277 }
10278
10279 class _SVGFEMergeNodeElementJs extends _SVGElementJs implements SVGFEMergeNodeEl ement native "*SVGFEMergeNodeElement" {
10280
10281 final _SVGAnimatedStringJs in1;
10282 }
10283
10284 class _SVGFEMorphologyElementJs extends _SVGElementJs implements SVGFEMorphology Element native "*SVGFEMorphologyElement" {
10285
10286 static final int SVG_MORPHOLOGY_OPERATOR_DILATE = 2;
10287
10288 static final int SVG_MORPHOLOGY_OPERATOR_ERODE = 1;
10289
10290 static final int SVG_MORPHOLOGY_OPERATOR_UNKNOWN = 0;
10291
10292 final _SVGAnimatedStringJs in1;
10293
10294 final _SVGAnimatedEnumerationJs operator;
10295
10296 final _SVGAnimatedNumberJs radiusX;
10297
10298 final _SVGAnimatedNumberJs radiusY;
10299
10300 void setRadius(num radiusX, num radiusY) native;
10301
10302 // From SVGFilterPrimitiveStandardAttributes
10303
10304 final _SVGAnimatedLengthJs height;
10305
10306 final _SVGAnimatedStringJs result;
10307
10308 final _SVGAnimatedLengthJs width;
10309
10310 final _SVGAnimatedLengthJs x;
10311
10312 final _SVGAnimatedLengthJs y;
10313
10314 // From SVGStylable
10315
10316 _SVGAnimatedStringJs get _className() native "return this.className;";
10317
10318 // Use implementation from Element.
10319 // final _CSSStyleDeclarationJs style;
10320
10321 _CSSValueJs getPresentationAttribute(String name) native;
10322 }
10323
10324 class _SVGFEOffsetElementJs extends _SVGElementJs implements SVGFEOffsetElement native "*SVGFEOffsetElement" {
10325
10326 final _SVGAnimatedNumberJs dx;
10327
10328 final _SVGAnimatedNumberJs dy;
10329
10330 final _SVGAnimatedStringJs in1;
10331
10332 // From SVGFilterPrimitiveStandardAttributes
10333
10334 final _SVGAnimatedLengthJs height;
10335
10336 final _SVGAnimatedStringJs result;
10337
10338 final _SVGAnimatedLengthJs width;
10339
10340 final _SVGAnimatedLengthJs x;
10341
10342 final _SVGAnimatedLengthJs y;
10343
10344 // From SVGStylable
10345
10346 _SVGAnimatedStringJs get _className() native "return this.className;";
10347
10348 // Use implementation from Element.
10349 // final _CSSStyleDeclarationJs style;
10350
10351 _CSSValueJs getPresentationAttribute(String name) native;
10352 }
10353
10354 class _SVGFEPointLightElementJs extends _SVGElementJs implements SVGFEPointLight Element native "*SVGFEPointLightElement" {
10355
10356 final _SVGAnimatedNumberJs x;
10357
10358 final _SVGAnimatedNumberJs y;
10359
10360 final _SVGAnimatedNumberJs z;
10361 }
10362
10363 class _SVGFESpecularLightingElementJs extends _SVGElementJs implements SVGFESpec ularLightingElement native "*SVGFESpecularLightingElement" {
10364
10365 final _SVGAnimatedStringJs in1;
10366
10367 final _SVGAnimatedNumberJs specularConstant;
10368
10369 final _SVGAnimatedNumberJs specularExponent;
10370
10371 final _SVGAnimatedNumberJs surfaceScale;
10372
10373 // From SVGFilterPrimitiveStandardAttributes
10374
10375 final _SVGAnimatedLengthJs height;
10376
10377 final _SVGAnimatedStringJs result;
10378
10379 final _SVGAnimatedLengthJs width;
10380
10381 final _SVGAnimatedLengthJs x;
10382
10383 final _SVGAnimatedLengthJs y;
10384
10385 // From SVGStylable
10386
10387 _SVGAnimatedStringJs get _className() native "return this.className;";
10388
10389 // Use implementation from Element.
10390 // final _CSSStyleDeclarationJs style;
10391
10392 _CSSValueJs getPresentationAttribute(String name) native;
10393 }
10394
10395 class _SVGFESpotLightElementJs extends _SVGElementJs implements SVGFESpotLightEl ement native "*SVGFESpotLightElement" {
10396
10397 final _SVGAnimatedNumberJs limitingConeAngle;
10398
10399 final _SVGAnimatedNumberJs pointsAtX;
10400
10401 final _SVGAnimatedNumberJs pointsAtY;
10402
10403 final _SVGAnimatedNumberJs pointsAtZ;
10404
10405 final _SVGAnimatedNumberJs specularExponent;
10406
10407 final _SVGAnimatedNumberJs x;
10408
10409 final _SVGAnimatedNumberJs y;
10410
10411 final _SVGAnimatedNumberJs z;
10412 }
10413
10414 class _SVGFETileElementJs extends _SVGElementJs implements SVGFETileElement nati ve "*SVGFETileElement" {
10415
10416 final _SVGAnimatedStringJs in1;
10417
10418 // From SVGFilterPrimitiveStandardAttributes
10419
10420 final _SVGAnimatedLengthJs height;
10421
10422 final _SVGAnimatedStringJs result;
10423
10424 final _SVGAnimatedLengthJs width;
10425
10426 final _SVGAnimatedLengthJs x;
10427
10428 final _SVGAnimatedLengthJs y;
10429
10430 // From SVGStylable
10431
10432 _SVGAnimatedStringJs get _className() native "return this.className;";
10433
10434 // Use implementation from Element.
10435 // final _CSSStyleDeclarationJs style;
10436
10437 _CSSValueJs getPresentationAttribute(String name) native;
10438 }
10439
10440 class _SVGFETurbulenceElementJs extends _SVGElementJs implements SVGFETurbulence Element native "*SVGFETurbulenceElement" {
10441
10442 static final int SVG_STITCHTYPE_NOSTITCH = 2;
10443
10444 static final int SVG_STITCHTYPE_STITCH = 1;
10445
10446 static final int SVG_STITCHTYPE_UNKNOWN = 0;
10447
10448 static final int SVG_TURBULENCE_TYPE_FRACTALNOISE = 1;
10449
10450 static final int SVG_TURBULENCE_TYPE_TURBULENCE = 2;
10451
10452 static final int SVG_TURBULENCE_TYPE_UNKNOWN = 0;
10453
10454 final _SVGAnimatedNumberJs baseFrequencyX;
10455
10456 final _SVGAnimatedNumberJs baseFrequencyY;
10457
10458 final _SVGAnimatedIntegerJs numOctaves;
10459
10460 final _SVGAnimatedNumberJs seed;
10461
10462 final _SVGAnimatedEnumerationJs stitchTiles;
10463
10464 final _SVGAnimatedEnumerationJs type;
10465
10466 // From SVGFilterPrimitiveStandardAttributes
10467
10468 final _SVGAnimatedLengthJs height;
10469
10470 final _SVGAnimatedStringJs result;
10471
10472 final _SVGAnimatedLengthJs width;
10473
10474 final _SVGAnimatedLengthJs x;
10475
10476 final _SVGAnimatedLengthJs y;
10477
10478 // From SVGStylable
10479
10480 _SVGAnimatedStringJs get _className() native "return this.className;";
10481
10482 // Use implementation from Element.
10483 // final _CSSStyleDeclarationJs style;
10484
10485 _CSSValueJs getPresentationAttribute(String name) native;
10486 }
10487
10488 class _SVGFilterElementJs extends _SVGElementJs implements SVGFilterElement nati ve "*SVGFilterElement" {
10489
10490 final _SVGAnimatedIntegerJs filterResX;
10491
10492 final _SVGAnimatedIntegerJs filterResY;
10493
10494 final _SVGAnimatedEnumerationJs filterUnits;
10495
10496 final _SVGAnimatedLengthJs height;
10497
10498 final _SVGAnimatedEnumerationJs primitiveUnits;
10499
10500 final _SVGAnimatedLengthJs width;
10501
10502 final _SVGAnimatedLengthJs x;
10503
10504 final _SVGAnimatedLengthJs y;
10505
10506 void setFilterRes(int filterResX, int filterResY) native;
10507
10508 // From SVGURIReference
10509
10510 final _SVGAnimatedStringJs href;
10511
10512 // From SVGLangSpace
10513
10514 String xmllang;
10515
10516 String xmlspace;
10517
10518 // From SVGExternalResourcesRequired
10519
10520 final _SVGAnimatedBooleanJs externalResourcesRequired;
10521
10522 // From SVGStylable
10523
10524 _SVGAnimatedStringJs get _className() native "return this.className;";
10525
10526 // Use implementation from Element.
10527 // final _CSSStyleDeclarationJs style;
10528
10529 _CSSValueJs getPresentationAttribute(String name) native;
10530 }
10531
10532 class _SVGFilterPrimitiveStandardAttributesJs extends _SVGStylableJs implements SVGFilterPrimitiveStandardAttributes native "*SVGFilterPrimitiveStandardAttribut es" {
10533
10534 final _SVGAnimatedLengthJs height;
10535
10536 final _SVGAnimatedStringJs result;
10537
10538 final _SVGAnimatedLengthJs width;
10539
10540 final _SVGAnimatedLengthJs x;
10541
10542 final _SVGAnimatedLengthJs y;
10543 }
10544
10545 class _SVGFitToViewBoxJs implements SVGFitToViewBox native "*SVGFitToViewBox" {
10546
10547 final _SVGAnimatedPreserveAspectRatioJs preserveAspectRatio;
10548
10549 final _SVGAnimatedRectJs viewBox;
10550 }
10551
10552 class _SVGFontElementJs extends _SVGElementJs implements SVGFontElement native " *SVGFontElement" {
10553 }
10554
10555 class _SVGFontFaceElementJs extends _SVGElementJs implements SVGFontFaceElement native "*SVGFontFaceElement" {
10556 }
10557
10558 class _SVGFontFaceFormatElementJs extends _SVGElementJs implements SVGFontFaceFo rmatElement native "*SVGFontFaceFormatElement" {
10559 }
10560
10561 class _SVGFontFaceNameElementJs extends _SVGElementJs implements SVGFontFaceName Element native "*SVGFontFaceNameElement" {
10562 }
10563
10564 class _SVGFontFaceSrcElementJs extends _SVGElementJs implements SVGFontFaceSrcEl ement native "*SVGFontFaceSrcElement" {
10565 }
10566
10567 class _SVGFontFaceUriElementJs extends _SVGElementJs implements SVGFontFaceUriEl ement native "*SVGFontFaceUriElement" {
10568 }
10569
10570 class _SVGForeignObjectElementJs extends _SVGElementJs implements SVGForeignObje ctElement native "*SVGForeignObjectElement" {
10571
10572 final _SVGAnimatedLengthJs height;
10573
10574 final _SVGAnimatedLengthJs width;
10575
10576 final _SVGAnimatedLengthJs x;
10577
10578 final _SVGAnimatedLengthJs y;
10579
10580 // From SVGTests
10581
10582 final _SVGStringListJs requiredExtensions;
10583
10584 final _SVGStringListJs requiredFeatures;
10585
10586 final _SVGStringListJs systemLanguage;
10587
10588 bool hasExtension(String extension) native;
10589
10590 // From SVGLangSpace
10591
10592 String xmllang;
10593
10594 String xmlspace;
10595
10596 // From SVGExternalResourcesRequired
10597
10598 final _SVGAnimatedBooleanJs externalResourcesRequired;
10599
10600 // From SVGStylable
10601
10602 _SVGAnimatedStringJs get _className() native "return this.className;";
10603
10604 // Use implementation from Element.
10605 // final _CSSStyleDeclarationJs style;
10606
10607 _CSSValueJs getPresentationAttribute(String name) native;
10608
10609 // From SVGTransformable
10610
10611 final _SVGAnimatedTransformListJs transform;
10612
10613 // From SVGLocatable
10614
10615 final _SVGElementJs farthestViewportElement;
10616
10617 final _SVGElementJs nearestViewportElement;
10618
10619 _SVGRectJs getBBox() native;
10620
10621 _SVGMatrixJs getCTM() native;
10622
10623 _SVGMatrixJs getScreenCTM() native;
10624
10625 _SVGMatrixJs getTransformToElement(_SVGElementJs element) native;
10626 }
10627
10628 class _SVGGElementJs extends _SVGElementJs implements SVGGElement native "*SVGGE lement" {
10629
10630 // From SVGTests
10631
10632 final _SVGStringListJs requiredExtensions;
10633
10634 final _SVGStringListJs requiredFeatures;
10635
10636 final _SVGStringListJs systemLanguage;
10637
10638 bool hasExtension(String extension) native;
10639
10640 // From SVGLangSpace
10641
10642 String xmllang;
10643
10644 String xmlspace;
10645
10646 // From SVGExternalResourcesRequired
10647
10648 final _SVGAnimatedBooleanJs externalResourcesRequired;
10649
10650 // From SVGStylable
10651
10652 _SVGAnimatedStringJs get _className() native "return this.className;";
10653
10654 // Use implementation from Element.
10655 // final _CSSStyleDeclarationJs style;
10656
10657 _CSSValueJs getPresentationAttribute(String name) native;
10658
10659 // From SVGTransformable
10660
10661 final _SVGAnimatedTransformListJs transform;
10662
10663 // From SVGLocatable
10664
10665 final _SVGElementJs farthestViewportElement;
10666
10667 final _SVGElementJs nearestViewportElement;
10668
10669 _SVGRectJs getBBox() native;
10670
10671 _SVGMatrixJs getCTM() native;
10672
10673 _SVGMatrixJs getScreenCTM() native;
10674
10675 _SVGMatrixJs getTransformToElement(_SVGElementJs element) native;
10676 }
10677
10678 class _SVGGlyphElementJs extends _SVGElementJs implements SVGGlyphElement native "*SVGGlyphElement" {
10679 }
10680
10681 class _SVGGlyphRefElementJs extends _SVGElementJs implements SVGGlyphRefElement native "*SVGGlyphRefElement" {
10682
10683 num dx;
10684
10685 num dy;
10686
10687 String format;
10688
10689 String glyphRef;
10690
10691 num x;
10692
10693 num y;
10694
10695 // From SVGURIReference
10696
10697 final _SVGAnimatedStringJs href;
10698
10699 // From SVGStylable
10700
10701 _SVGAnimatedStringJs get _className() native "return this.className;";
10702
10703 // Use implementation from Element.
10704 // final _CSSStyleDeclarationJs style;
10705
10706 _CSSValueJs getPresentationAttribute(String name) native;
10707 }
10708
10709 class _SVGGradientElementJs extends _SVGElementJs implements SVGGradientElement native "*SVGGradientElement" {
10710
10711 static final int SVG_SPREADMETHOD_PAD = 1;
10712
10713 static final int SVG_SPREADMETHOD_REFLECT = 2;
10714
10715 static final int SVG_SPREADMETHOD_REPEAT = 3;
10716
10717 static final int SVG_SPREADMETHOD_UNKNOWN = 0;
10718
10719 final _SVGAnimatedTransformListJs gradientTransform;
10720
10721 final _SVGAnimatedEnumerationJs gradientUnits;
10722
10723 final _SVGAnimatedEnumerationJs spreadMethod;
10724
10725 // From SVGURIReference
10726
10727 final _SVGAnimatedStringJs href;
10728
10729 // From SVGExternalResourcesRequired
10730
10731 final _SVGAnimatedBooleanJs externalResourcesRequired;
10732
10733 // From SVGStylable
10734
10735 _SVGAnimatedStringJs get _className() native "return this.className;";
10736
10737 // Use implementation from Element.
10738 // final _CSSStyleDeclarationJs style;
10739
10740 _CSSValueJs getPresentationAttribute(String name) native;
10741 }
10742
10743 class _SVGHKernElementJs extends _SVGElementJs implements SVGHKernElement native "*SVGHKernElement" {
10744 }
10745
10746 class _SVGImageElementJs extends _SVGElementJs implements SVGImageElement native "*SVGImageElement" {
10747
10748 final _SVGAnimatedLengthJs height;
10749
10750 final _SVGAnimatedPreserveAspectRatioJs preserveAspectRatio;
10751
10752 final _SVGAnimatedLengthJs width;
10753
10754 final _SVGAnimatedLengthJs x;
10755
10756 final _SVGAnimatedLengthJs y;
10757
10758 // From SVGURIReference
10759
10760 final _SVGAnimatedStringJs href;
10761
10762 // From SVGTests
10763
10764 final _SVGStringListJs requiredExtensions;
10765
10766 final _SVGStringListJs requiredFeatures;
10767
10768 final _SVGStringListJs systemLanguage;
10769
10770 bool hasExtension(String extension) native;
10771
10772 // From SVGLangSpace
10773
10774 String xmllang;
10775
10776 String xmlspace;
10777
10778 // From SVGExternalResourcesRequired
10779
10780 final _SVGAnimatedBooleanJs externalResourcesRequired;
10781
10782 // From SVGStylable
10783
10784 _SVGAnimatedStringJs get _className() native "return this.className;";
10785
10786 // Use implementation from Element.
10787 // final _CSSStyleDeclarationJs style;
10788
10789 _CSSValueJs getPresentationAttribute(String name) native;
10790
10791 // From SVGTransformable
10792
10793 final _SVGAnimatedTransformListJs transform;
10794
10795 // From SVGLocatable
10796
10797 final _SVGElementJs farthestViewportElement;
10798
10799 final _SVGElementJs nearestViewportElement;
10800
10801 _SVGRectJs getBBox() native;
10802
10803 _SVGMatrixJs getCTM() native;
10804
10805 _SVGMatrixJs getScreenCTM() native;
10806
10807 _SVGMatrixJs getTransformToElement(_SVGElementJs element) native;
10808 }
10809
10810 class _SVGLangSpaceJs implements SVGLangSpace native "*SVGLangSpace" {
10811
10812 String xmllang;
10813
10814 String xmlspace;
10815 }
10816
10817 class _SVGLengthJs implements SVGLength native "*SVGLength" {
10818
10819 static final int SVG_LENGTHTYPE_CM = 6;
10820
10821 static final int SVG_LENGTHTYPE_EMS = 3;
10822
10823 static final int SVG_LENGTHTYPE_EXS = 4;
10824
10825 static final int SVG_LENGTHTYPE_IN = 8;
10826
10827 static final int SVG_LENGTHTYPE_MM = 7;
10828
10829 static final int SVG_LENGTHTYPE_NUMBER = 1;
10830
10831 static final int SVG_LENGTHTYPE_PC = 10;
10832
10833 static final int SVG_LENGTHTYPE_PERCENTAGE = 2;
10834
10835 static final int SVG_LENGTHTYPE_PT = 9;
10836
10837 static final int SVG_LENGTHTYPE_PX = 5;
10838
10839 static final int SVG_LENGTHTYPE_UNKNOWN = 0;
10840
10841 final int unitType;
10842
10843 num value;
10844
10845 String valueAsString;
10846
10847 num valueInSpecifiedUnits;
10848
10849 void convertToSpecifiedUnits(int unitType) native;
10850
10851 void newValueSpecifiedUnits(int unitType, num valueInSpecifiedUnits) native;
10852 }
10853
10854 class _SVGLengthListJs implements SVGLengthList native "*SVGLengthList" {
10855
10856 final int numberOfItems;
10857
10858 _SVGLengthJs appendItem(_SVGLengthJs item) native;
10859
10860 void clear() native;
10861
10862 _SVGLengthJs getItem(int index) native;
10863
10864 _SVGLengthJs initialize(_SVGLengthJs item) native;
10865
10866 _SVGLengthJs insertItemBefore(_SVGLengthJs item, int index) native;
10867
10868 _SVGLengthJs removeItem(int index) native;
10869
10870 _SVGLengthJs replaceItem(_SVGLengthJs item, int index) native;
10871 }
10872
10873 class _SVGLineElementJs extends _SVGElementJs implements SVGLineElement native " *SVGLineElement" {
10874
10875 final _SVGAnimatedLengthJs x1;
10876
10877 final _SVGAnimatedLengthJs x2;
10878
10879 final _SVGAnimatedLengthJs y1;
10880
10881 final _SVGAnimatedLengthJs y2;
10882
10883 // From SVGTests
10884
10885 final _SVGStringListJs requiredExtensions;
10886
10887 final _SVGStringListJs requiredFeatures;
10888
10889 final _SVGStringListJs systemLanguage;
10890
10891 bool hasExtension(String extension) native;
10892
10893 // From SVGLangSpace
10894
10895 String xmllang;
10896
10897 String xmlspace;
10898
10899 // From SVGExternalResourcesRequired
10900
10901 final _SVGAnimatedBooleanJs externalResourcesRequired;
10902
10903 // From SVGStylable
10904
10905 _SVGAnimatedStringJs get _className() native "return this.className;";
10906
10907 // Use implementation from Element.
10908 // final _CSSStyleDeclarationJs style;
10909
10910 _CSSValueJs getPresentationAttribute(String name) native;
10911
10912 // From SVGTransformable
10913
10914 final _SVGAnimatedTransformListJs transform;
10915
10916 // From SVGLocatable
10917
10918 final _SVGElementJs farthestViewportElement;
10919
10920 final _SVGElementJs nearestViewportElement;
10921
10922 _SVGRectJs getBBox() native;
10923
10924 _SVGMatrixJs getCTM() native;
10925
10926 _SVGMatrixJs getScreenCTM() native;
10927
10928 _SVGMatrixJs getTransformToElement(_SVGElementJs element) native;
10929 }
10930
10931 class _SVGLinearGradientElementJs extends _SVGGradientElementJs implements SVGLi nearGradientElement native "*SVGLinearGradientElement" {
10932
10933 final _SVGAnimatedLengthJs x1;
10934
10935 final _SVGAnimatedLengthJs x2;
10936
10937 final _SVGAnimatedLengthJs y1;
10938
10939 final _SVGAnimatedLengthJs y2;
10940 }
10941
10942 class _SVGLocatableJs implements SVGLocatable native "*SVGLocatable" {
10943
10944 final _SVGElementJs farthestViewportElement;
10945
10946 final _SVGElementJs nearestViewportElement;
10947
10948 _SVGRectJs getBBox() native;
10949
10950 _SVGMatrixJs getCTM() native;
10951
10952 _SVGMatrixJs getScreenCTM() native;
10953
10954 _SVGMatrixJs getTransformToElement(_SVGElementJs element) native;
10955 }
10956
10957 class _SVGMPathElementJs extends _SVGElementJs implements SVGMPathElement native "*SVGMPathElement" {
10958
10959 // From SVGURIReference
10960
10961 final _SVGAnimatedStringJs href;
10962
10963 // From SVGExternalResourcesRequired
10964
10965 final _SVGAnimatedBooleanJs externalResourcesRequired;
10966 }
10967
10968 class _SVGMarkerElementJs extends _SVGElementJs implements SVGMarkerElement nati ve "*SVGMarkerElement" {
10969
10970 static final int SVG_MARKERUNITS_STROKEWIDTH = 2;
10971
10972 static final int SVG_MARKERUNITS_UNKNOWN = 0;
10973
10974 static final int SVG_MARKERUNITS_USERSPACEONUSE = 1;
10975
10976 static final int SVG_MARKER_ORIENT_ANGLE = 2;
10977
10978 static final int SVG_MARKER_ORIENT_AUTO = 1;
10979
10980 static final int SVG_MARKER_ORIENT_UNKNOWN = 0;
10981
10982 final _SVGAnimatedLengthJs markerHeight;
10983
10984 final _SVGAnimatedEnumerationJs markerUnits;
10985
10986 final _SVGAnimatedLengthJs markerWidth;
10987
10988 final _SVGAnimatedAngleJs orientAngle;
10989
10990 final _SVGAnimatedEnumerationJs orientType;
10991
10992 final _SVGAnimatedLengthJs refX;
10993
10994 final _SVGAnimatedLengthJs refY;
10995
10996 void setOrientToAngle(_SVGAngleJs angle) native;
10997
10998 void setOrientToAuto() native;
10999
11000 // From SVGLangSpace
11001
11002 String xmllang;
11003
11004 String xmlspace;
11005
11006 // From SVGExternalResourcesRequired
11007
11008 final _SVGAnimatedBooleanJs externalResourcesRequired;
11009
11010 // From SVGStylable
11011
11012 _SVGAnimatedStringJs get _className() native "return this.className;";
11013
11014 // Use implementation from Element.
11015 // final _CSSStyleDeclarationJs style;
11016
11017 _CSSValueJs getPresentationAttribute(String name) native;
11018
11019 // From SVGFitToViewBox
11020
11021 final _SVGAnimatedPreserveAspectRatioJs preserveAspectRatio;
11022
11023 final _SVGAnimatedRectJs viewBox;
11024 }
11025
11026 class _SVGMaskElementJs extends _SVGElementJs implements SVGMaskElement native " *SVGMaskElement" {
11027
11028 final _SVGAnimatedLengthJs height;
11029
11030 final _SVGAnimatedEnumerationJs maskContentUnits;
11031
11032 final _SVGAnimatedEnumerationJs maskUnits;
11033
11034 final _SVGAnimatedLengthJs width;
11035
11036 final _SVGAnimatedLengthJs x;
11037
11038 final _SVGAnimatedLengthJs y;
11039
11040 // From SVGTests
11041
11042 final _SVGStringListJs requiredExtensions;
11043
11044 final _SVGStringListJs requiredFeatures;
11045
11046 final _SVGStringListJs systemLanguage;
11047
11048 bool hasExtension(String extension) native;
11049
11050 // From SVGLangSpace
11051
11052 String xmllang;
11053
11054 String xmlspace;
11055
11056 // From SVGExternalResourcesRequired
11057
11058 final _SVGAnimatedBooleanJs externalResourcesRequired;
11059
11060 // From SVGStylable
11061
11062 _SVGAnimatedStringJs get _className() native "return this.className;";
11063
11064 // Use implementation from Element.
11065 // final _CSSStyleDeclarationJs style;
11066
11067 _CSSValueJs getPresentationAttribute(String name) native;
11068 }
11069
11070 class _SVGMatrixJs implements SVGMatrix native "*SVGMatrix" {
11071
11072 num a;
11073
11074 num b;
11075
11076 num c;
11077
11078 num d;
11079
11080 num e;
11081
11082 num f;
11083
11084 _SVGMatrixJs flipX() native;
11085
11086 _SVGMatrixJs flipY() native;
11087
11088 _SVGMatrixJs inverse() native;
11089
11090 _SVGMatrixJs multiply(_SVGMatrixJs secondMatrix) native;
11091
11092 _SVGMatrixJs rotate(num angle) native;
11093
11094 _SVGMatrixJs rotateFromVector(num x, num y) native;
11095
11096 _SVGMatrixJs scale(num scaleFactor) native;
11097
11098 _SVGMatrixJs scaleNonUniform(num scaleFactorX, num scaleFactorY) native;
11099
11100 _SVGMatrixJs skewX(num angle) native;
11101
11102 _SVGMatrixJs skewY(num angle) native;
11103
11104 _SVGMatrixJs translate(num x, num y) native;
11105 }
11106
11107 class _SVGMetadataElementJs extends _SVGElementJs implements SVGMetadataElement native "*SVGMetadataElement" {
11108 }
11109
11110 class _SVGMissingGlyphElementJs extends _SVGElementJs implements SVGMissingGlyph Element native "*SVGMissingGlyphElement" {
11111 }
11112
11113 class _SVGNumberJs implements SVGNumber native "*SVGNumber" {
11114
11115 num value;
11116 }
11117
11118 class _SVGNumberListJs implements SVGNumberList native "*SVGNumberList" {
11119
11120 final int numberOfItems;
11121
11122 _SVGNumberJs appendItem(_SVGNumberJs item) native;
11123
11124 void clear() native;
11125
11126 _SVGNumberJs getItem(int index) native;
11127
11128 _SVGNumberJs initialize(_SVGNumberJs item) native;
11129
11130 _SVGNumberJs insertItemBefore(_SVGNumberJs item, int index) native;
11131
11132 _SVGNumberJs removeItem(int index) native;
11133
11134 _SVGNumberJs replaceItem(_SVGNumberJs item, int index) native;
11135 }
11136
11137 class _SVGPaintJs extends _SVGColorJs implements SVGPaint native "*SVGPaint" {
11138
11139 static final int SVG_PAINTTYPE_CURRENTCOLOR = 102;
11140
11141 static final int SVG_PAINTTYPE_NONE = 101;
11142
11143 static final int SVG_PAINTTYPE_RGBCOLOR = 1;
11144
11145 static final int SVG_PAINTTYPE_RGBCOLOR_ICCCOLOR = 2;
11146
11147 static final int SVG_PAINTTYPE_UNKNOWN = 0;
11148
11149 static final int SVG_PAINTTYPE_URI = 107;
11150
11151 static final int SVG_PAINTTYPE_URI_CURRENTCOLOR = 104;
11152
11153 static final int SVG_PAINTTYPE_URI_NONE = 103;
11154
11155 static final int SVG_PAINTTYPE_URI_RGBCOLOR = 105;
11156
11157 static final int SVG_PAINTTYPE_URI_RGBCOLOR_ICCCOLOR = 106;
11158
11159 final int paintType;
11160
11161 final String uri;
11162
11163 void setPaint(int paintType, String uri, String rgbColor, String iccColor) nat ive;
11164
11165 void setUri(String uri) native;
11166 }
11167
11168 class _SVGPathElementJs extends _SVGElementJs implements SVGPathElement native " *SVGPathElement" {
11169
11170 final _SVGPathSegListJs animatedNormalizedPathSegList;
11171
11172 final _SVGPathSegListJs animatedPathSegList;
11173
11174 final _SVGPathSegListJs normalizedPathSegList;
11175
11176 final _SVGAnimatedNumberJs pathLength;
11177
11178 final _SVGPathSegListJs pathSegList;
11179
11180 _SVGPathSegArcAbsJs createSVGPathSegArcAbs(num x, num y, num r1, num r2, num a ngle, bool largeArcFlag, bool sweepFlag) native;
11181
11182 _SVGPathSegArcRelJs createSVGPathSegArcRel(num x, num y, num r1, num r2, num a ngle, bool largeArcFlag, bool sweepFlag) native;
11183
11184 _SVGPathSegClosePathJs createSVGPathSegClosePath() native;
11185
11186 _SVGPathSegCurvetoCubicAbsJs createSVGPathSegCurvetoCubicAbs(num x, num y, num x1, num y1, num x2, num y2) native;
11187
11188 _SVGPathSegCurvetoCubicRelJs createSVGPathSegCurvetoCubicRel(num x, num y, num x1, num y1, num x2, num y2) native;
11189
11190 _SVGPathSegCurvetoCubicSmoothAbsJs createSVGPathSegCurvetoCubicSmoothAbs(num x , num y, num x2, num y2) native;
11191
11192 _SVGPathSegCurvetoCubicSmoothRelJs createSVGPathSegCurvetoCubicSmoothRel(num x , num y, num x2, num y2) native;
11193
11194 _SVGPathSegCurvetoQuadraticAbsJs createSVGPathSegCurvetoQuadraticAbs(num x, nu m y, num x1, num y1) native;
11195
11196 _SVGPathSegCurvetoQuadraticRelJs createSVGPathSegCurvetoQuadraticRel(num x, nu m y, num x1, num y1) native;
11197
11198 _SVGPathSegCurvetoQuadraticSmoothAbsJs createSVGPathSegCurvetoQuadraticSmoothA bs(num x, num y) native;
11199
11200 _SVGPathSegCurvetoQuadraticSmoothRelJs createSVGPathSegCurvetoQuadraticSmoothR el(num x, num y) native;
11201
11202 _SVGPathSegLinetoAbsJs createSVGPathSegLinetoAbs(num x, num y) native;
11203
11204 _SVGPathSegLinetoHorizontalAbsJs createSVGPathSegLinetoHorizontalAbs(num x) na tive;
11205
11206 _SVGPathSegLinetoHorizontalRelJs createSVGPathSegLinetoHorizontalRel(num x) na tive;
11207
11208 _SVGPathSegLinetoRelJs createSVGPathSegLinetoRel(num x, num y) native;
11209
11210 _SVGPathSegLinetoVerticalAbsJs createSVGPathSegLinetoVerticalAbs(num y) native ;
11211
11212 _SVGPathSegLinetoVerticalRelJs createSVGPathSegLinetoVerticalRel(num y) native ;
11213
11214 _SVGPathSegMovetoAbsJs createSVGPathSegMovetoAbs(num x, num y) native;
11215
11216 _SVGPathSegMovetoRelJs createSVGPathSegMovetoRel(num x, num y) native;
11217
11218 int getPathSegAtLength(num distance) native;
11219
11220 _SVGPointJs getPointAtLength(num distance) native;
11221
11222 num getTotalLength() native;
11223
11224 // From SVGTests
11225
11226 final _SVGStringListJs requiredExtensions;
11227
11228 final _SVGStringListJs requiredFeatures;
11229
11230 final _SVGStringListJs systemLanguage;
11231
11232 bool hasExtension(String extension) native;
11233
11234 // From SVGLangSpace
11235
11236 String xmllang;
11237
11238 String xmlspace;
11239
11240 // From SVGExternalResourcesRequired
11241
11242 final _SVGAnimatedBooleanJs externalResourcesRequired;
11243
11244 // From SVGStylable
11245
11246 _SVGAnimatedStringJs get _className() native "return this.className;";
11247
11248 // Use implementation from Element.
11249 // final _CSSStyleDeclarationJs style;
11250
11251 _CSSValueJs getPresentationAttribute(String name) native;
11252
11253 // From SVGTransformable
11254
11255 final _SVGAnimatedTransformListJs transform;
11256
11257 // From SVGLocatable
11258
11259 final _SVGElementJs farthestViewportElement;
11260
11261 final _SVGElementJs nearestViewportElement;
11262
11263 _SVGRectJs getBBox() native;
11264
11265 _SVGMatrixJs getCTM() native;
11266
11267 _SVGMatrixJs getScreenCTM() native;
11268
11269 _SVGMatrixJs getTransformToElement(_SVGElementJs element) native;
11270 }
11271
11272 class _SVGPathSegJs implements SVGPathSeg native "*SVGPathSeg" {
11273
11274 static final int PATHSEG_ARC_ABS = 10;
11275
11276 static final int PATHSEG_ARC_REL = 11;
11277
11278 static final int PATHSEG_CLOSEPATH = 1;
11279
11280 static final int PATHSEG_CURVETO_CUBIC_ABS = 6;
11281
11282 static final int PATHSEG_CURVETO_CUBIC_REL = 7;
11283
11284 static final int PATHSEG_CURVETO_CUBIC_SMOOTH_ABS = 16;
11285
11286 static final int PATHSEG_CURVETO_CUBIC_SMOOTH_REL = 17;
11287
11288 static final int PATHSEG_CURVETO_QUADRATIC_ABS = 8;
11289
11290 static final int PATHSEG_CURVETO_QUADRATIC_REL = 9;
11291
11292 static final int PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS = 18;
11293
11294 static final int PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL = 19;
11295
11296 static final int PATHSEG_LINETO_ABS = 4;
11297
11298 static final int PATHSEG_LINETO_HORIZONTAL_ABS = 12;
11299
11300 static final int PATHSEG_LINETO_HORIZONTAL_REL = 13;
11301
11302 static final int PATHSEG_LINETO_REL = 5;
11303
11304 static final int PATHSEG_LINETO_VERTICAL_ABS = 14;
11305
11306 static final int PATHSEG_LINETO_VERTICAL_REL = 15;
11307
11308 static final int PATHSEG_MOVETO_ABS = 2;
11309
11310 static final int PATHSEG_MOVETO_REL = 3;
11311
11312 static final int PATHSEG_UNKNOWN = 0;
11313
11314 final int pathSegType;
11315
11316 final String pathSegTypeAsLetter;
11317 }
11318
11319 class _SVGPathSegArcAbsJs extends _SVGPathSegJs implements SVGPathSegArcAbs nati ve "*SVGPathSegArcAbs" {
11320
11321 num angle;
11322
11323 bool largeArcFlag;
11324
11325 num r1;
11326
11327 num r2;
11328
11329 bool sweepFlag;
11330
11331 num x;
11332
11333 num y;
11334 }
11335
11336 class _SVGPathSegArcRelJs extends _SVGPathSegJs implements SVGPathSegArcRel nati ve "*SVGPathSegArcRel" {
11337
11338 num angle;
11339
11340 bool largeArcFlag;
11341
11342 num r1;
11343
11344 num r2;
11345
11346 bool sweepFlag;
11347
11348 num x;
11349
11350 num y;
11351 }
11352
11353 class _SVGPathSegClosePathJs extends _SVGPathSegJs implements SVGPathSegClosePat h native "*SVGPathSegClosePath" {
11354 }
11355
11356 class _SVGPathSegCurvetoCubicAbsJs extends _SVGPathSegJs implements SVGPathSegCu rvetoCubicAbs native "*SVGPathSegCurvetoCubicAbs" {
11357
11358 num x;
11359
11360 num x1;
11361
11362 num x2;
11363
11364 num y;
11365
11366 num y1;
11367
11368 num y2;
11369 }
11370
11371 class _SVGPathSegCurvetoCubicRelJs extends _SVGPathSegJs implements SVGPathSegCu rvetoCubicRel native "*SVGPathSegCurvetoCubicRel" {
11372
11373 num x;
11374
11375 num x1;
11376
11377 num x2;
11378
11379 num y;
11380
11381 num y1;
11382
11383 num y2;
11384 }
11385
11386 class _SVGPathSegCurvetoCubicSmoothAbsJs extends _SVGPathSegJs implements SVGPat hSegCurvetoCubicSmoothAbs native "*SVGPathSegCurvetoCubicSmoothAbs" {
11387
11388 num x;
11389
11390 num x2;
11391
11392 num y;
11393
11394 num y2;
11395 }
11396
11397 class _SVGPathSegCurvetoCubicSmoothRelJs extends _SVGPathSegJs implements SVGPat hSegCurvetoCubicSmoothRel native "*SVGPathSegCurvetoCubicSmoothRel" {
11398
11399 num x;
11400
11401 num x2;
11402
11403 num y;
11404
11405 num y2;
11406 }
11407
11408 class _SVGPathSegCurvetoQuadraticAbsJs extends _SVGPathSegJs implements SVGPathS egCurvetoQuadraticAbs native "*SVGPathSegCurvetoQuadraticAbs" {
11409
11410 num x;
11411
11412 num x1;
11413
11414 num y;
11415
11416 num y1;
11417 }
11418
11419 class _SVGPathSegCurvetoQuadraticRelJs extends _SVGPathSegJs implements SVGPathS egCurvetoQuadraticRel native "*SVGPathSegCurvetoQuadraticRel" {
11420
11421 num x;
11422
11423 num x1;
11424
11425 num y;
11426
11427 num y1;
11428 }
11429
11430 class _SVGPathSegCurvetoQuadraticSmoothAbsJs extends _SVGPathSegJs implements SV GPathSegCurvetoQuadraticSmoothAbs native "*SVGPathSegCurvetoQuadraticSmoothAbs" {
11431
11432 num x;
11433
11434 num y;
11435 }
11436
11437 class _SVGPathSegCurvetoQuadraticSmoothRelJs extends _SVGPathSegJs implements SV GPathSegCurvetoQuadraticSmoothRel native "*SVGPathSegCurvetoQuadraticSmoothRel" {
11438
11439 num x;
11440
11441 num y;
11442 }
11443
11444 class _SVGPathSegLinetoAbsJs extends _SVGPathSegJs implements SVGPathSegLinetoAb s native "*SVGPathSegLinetoAbs" {
11445
11446 num x;
11447
11448 num y;
11449 }
11450
11451 class _SVGPathSegLinetoHorizontalAbsJs extends _SVGPathSegJs implements SVGPathS egLinetoHorizontalAbs native "*SVGPathSegLinetoHorizontalAbs" {
11452
11453 num x;
11454 }
11455
11456 class _SVGPathSegLinetoHorizontalRelJs extends _SVGPathSegJs implements SVGPathS egLinetoHorizontalRel native "*SVGPathSegLinetoHorizontalRel" {
11457
11458 num x;
11459 }
11460
11461 class _SVGPathSegLinetoRelJs extends _SVGPathSegJs implements SVGPathSegLinetoRe l native "*SVGPathSegLinetoRel" {
11462
11463 num x;
11464
11465 num y;
11466 }
11467
11468 class _SVGPathSegLinetoVerticalAbsJs extends _SVGPathSegJs implements SVGPathSeg LinetoVerticalAbs native "*SVGPathSegLinetoVerticalAbs" {
11469
11470 num y;
11471 }
11472
11473 class _SVGPathSegLinetoVerticalRelJs extends _SVGPathSegJs implements SVGPathSeg LinetoVerticalRel native "*SVGPathSegLinetoVerticalRel" {
11474
11475 num y;
11476 }
11477
11478 class _SVGPathSegListJs implements SVGPathSegList native "*SVGPathSegList" {
11479
11480 final int numberOfItems;
11481
11482 _SVGPathSegJs appendItem(_SVGPathSegJs newItem) native;
11483
11484 void clear() native;
11485
11486 _SVGPathSegJs getItem(int index) native;
11487
11488 _SVGPathSegJs initialize(_SVGPathSegJs newItem) native;
11489
11490 _SVGPathSegJs insertItemBefore(_SVGPathSegJs newItem, int index) native;
11491
11492 _SVGPathSegJs removeItem(int index) native;
11493
11494 _SVGPathSegJs replaceItem(_SVGPathSegJs newItem, int index) native;
11495 }
11496
11497 class _SVGPathSegMovetoAbsJs extends _SVGPathSegJs implements SVGPathSegMovetoAb s native "*SVGPathSegMovetoAbs" {
11498
11499 num x;
11500
11501 num y;
11502 }
11503
11504 class _SVGPathSegMovetoRelJs extends _SVGPathSegJs implements SVGPathSegMovetoRe l native "*SVGPathSegMovetoRel" {
11505
11506 num x;
11507
11508 num y;
11509 }
11510
11511 class _SVGPatternElementJs extends _SVGElementJs implements SVGPatternElement na tive "*SVGPatternElement" {
11512
11513 final _SVGAnimatedLengthJs height;
11514
11515 final _SVGAnimatedEnumerationJs patternContentUnits;
11516
11517 final _SVGAnimatedTransformListJs patternTransform;
11518
11519 final _SVGAnimatedEnumerationJs patternUnits;
11520
11521 final _SVGAnimatedLengthJs width;
11522
11523 final _SVGAnimatedLengthJs x;
11524
11525 final _SVGAnimatedLengthJs y;
11526
11527 // From SVGURIReference
11528
11529 final _SVGAnimatedStringJs href;
11530
11531 // From SVGTests
11532
11533 final _SVGStringListJs requiredExtensions;
11534
11535 final _SVGStringListJs requiredFeatures;
11536
11537 final _SVGStringListJs systemLanguage;
11538
11539 bool hasExtension(String extension) native;
11540
11541 // From SVGLangSpace
11542
11543 String xmllang;
11544
11545 String xmlspace;
11546
11547 // From SVGExternalResourcesRequired
11548
11549 final _SVGAnimatedBooleanJs externalResourcesRequired;
11550
11551 // From SVGStylable
11552
11553 _SVGAnimatedStringJs get _className() native "return this.className;";
11554
11555 // Use implementation from Element.
11556 // final _CSSStyleDeclarationJs style;
11557
11558 _CSSValueJs getPresentationAttribute(String name) native;
11559
11560 // From SVGFitToViewBox
11561
11562 final _SVGAnimatedPreserveAspectRatioJs preserveAspectRatio;
11563
11564 final _SVGAnimatedRectJs viewBox;
11565 }
11566
11567 class _SVGPointJs implements SVGPoint native "*SVGPoint" {
11568
11569 num x;
11570
11571 num y;
11572
11573 _SVGPointJs matrixTransform(_SVGMatrixJs matrix) native;
11574 }
11575
11576 class _SVGPointListJs implements SVGPointList native "*SVGPointList" {
11577
11578 final int numberOfItems;
11579
11580 _SVGPointJs appendItem(_SVGPointJs item) native;
11581
11582 void clear() native;
11583
11584 _SVGPointJs getItem(int index) native;
11585
11586 _SVGPointJs initialize(_SVGPointJs item) native;
11587
11588 _SVGPointJs insertItemBefore(_SVGPointJs item, int index) native;
11589
11590 _SVGPointJs removeItem(int index) native;
11591
11592 _SVGPointJs replaceItem(_SVGPointJs item, int index) native;
11593 }
11594
11595 class _SVGPolygonElementJs extends _SVGElementJs implements SVGPolygonElement na tive "*SVGPolygonElement" {
11596
11597 final _SVGPointListJs animatedPoints;
11598
11599 final _SVGPointListJs points;
11600
11601 // From SVGTests
11602
11603 final _SVGStringListJs requiredExtensions;
11604
11605 final _SVGStringListJs requiredFeatures;
11606
11607 final _SVGStringListJs systemLanguage;
11608
11609 bool hasExtension(String extension) native;
11610
11611 // From SVGLangSpace
11612
11613 String xmllang;
11614
11615 String xmlspace;
11616
11617 // From SVGExternalResourcesRequired
11618
11619 final _SVGAnimatedBooleanJs externalResourcesRequired;
11620
11621 // From SVGStylable
11622
11623 _SVGAnimatedStringJs get _className() native "return this.className;";
11624
11625 // Use implementation from Element.
11626 // final _CSSStyleDeclarationJs style;
11627
11628 _CSSValueJs getPresentationAttribute(String name) native;
11629
11630 // From SVGTransformable
11631
11632 final _SVGAnimatedTransformListJs transform;
11633
11634 // From SVGLocatable
11635
11636 final _SVGElementJs farthestViewportElement;
11637
11638 final _SVGElementJs nearestViewportElement;
11639
11640 _SVGRectJs getBBox() native;
11641
11642 _SVGMatrixJs getCTM() native;
11643
11644 _SVGMatrixJs getScreenCTM() native;
11645
11646 _SVGMatrixJs getTransformToElement(_SVGElementJs element) native;
11647 }
11648
11649 class _SVGPolylineElementJs extends _SVGElementJs implements SVGPolylineElement native "*SVGPolylineElement" {
11650
11651 final _SVGPointListJs animatedPoints;
11652
11653 final _SVGPointListJs points;
11654
11655 // From SVGTests
11656
11657 final _SVGStringListJs requiredExtensions;
11658
11659 final _SVGStringListJs requiredFeatures;
11660
11661 final _SVGStringListJs systemLanguage;
11662
11663 bool hasExtension(String extension) native;
11664
11665 // From SVGLangSpace
11666
11667 String xmllang;
11668
11669 String xmlspace;
11670
11671 // From SVGExternalResourcesRequired
11672
11673 final _SVGAnimatedBooleanJs externalResourcesRequired;
11674
11675 // From SVGStylable
11676
11677 _SVGAnimatedStringJs get _className() native "return this.className;";
11678
11679 // Use implementation from Element.
11680 // final _CSSStyleDeclarationJs style;
11681
11682 _CSSValueJs getPresentationAttribute(String name) native;
11683
11684 // From SVGTransformable
11685
11686 final _SVGAnimatedTransformListJs transform;
11687
11688 // From SVGLocatable
11689
11690 final _SVGElementJs farthestViewportElement;
11691
11692 final _SVGElementJs nearestViewportElement;
11693
11694 _SVGRectJs getBBox() native;
11695
11696 _SVGMatrixJs getCTM() native;
11697
11698 _SVGMatrixJs getScreenCTM() native;
11699
11700 _SVGMatrixJs getTransformToElement(_SVGElementJs element) native;
11701 }
11702
11703 class _SVGPreserveAspectRatioJs implements SVGPreserveAspectRatio native "*SVGPr eserveAspectRatio" {
11704
11705 static final int SVG_MEETORSLICE_MEET = 1;
11706
11707 static final int SVG_MEETORSLICE_SLICE = 2;
11708
11709 static final int SVG_MEETORSLICE_UNKNOWN = 0;
11710
11711 static final int SVG_PRESERVEASPECTRATIO_NONE = 1;
11712
11713 static final int SVG_PRESERVEASPECTRATIO_UNKNOWN = 0;
11714
11715 static final int SVG_PRESERVEASPECTRATIO_XMAXYMAX = 10;
11716
11717 static final int SVG_PRESERVEASPECTRATIO_XMAXYMID = 7;
11718
11719 static final int SVG_PRESERVEASPECTRATIO_XMAXYMIN = 4;
11720
11721 static final int SVG_PRESERVEASPECTRATIO_XMIDYMAX = 9;
11722
11723 static final int SVG_PRESERVEASPECTRATIO_XMIDYMID = 6;
11724
11725 static final int SVG_PRESERVEASPECTRATIO_XMIDYMIN = 3;
11726
11727 static final int SVG_PRESERVEASPECTRATIO_XMINYMAX = 8;
11728
11729 static final int SVG_PRESERVEASPECTRATIO_XMINYMID = 5;
11730
11731 static final int SVG_PRESERVEASPECTRATIO_XMINYMIN = 2;
11732
11733 int align;
11734
11735 int meetOrSlice;
11736 }
11737
11738 class _SVGRadialGradientElementJs extends _SVGGradientElementJs implements SVGRa dialGradientElement native "*SVGRadialGradientElement" {
11739
11740 final _SVGAnimatedLengthJs cx;
11741
11742 final _SVGAnimatedLengthJs cy;
11743
11744 final _SVGAnimatedLengthJs fx;
11745
11746 final _SVGAnimatedLengthJs fy;
11747
11748 final _SVGAnimatedLengthJs r;
11749 }
11750
11751 class _SVGRectJs implements SVGRect native "*SVGRect" {
11752
11753 num height;
11754
11755 num width;
11756
11757 num x;
11758
11759 num y;
11760 }
11761
11762 class _SVGRectElementJs extends _SVGElementJs implements SVGRectElement native " *SVGRectElement" {
11763
11764 final _SVGAnimatedLengthJs height;
11765
11766 final _SVGAnimatedLengthJs rx;
11767
11768 final _SVGAnimatedLengthJs ry;
11769
11770 final _SVGAnimatedLengthJs width;
11771
11772 final _SVGAnimatedLengthJs x;
11773
11774 final _SVGAnimatedLengthJs y;
11775
11776 // From SVGTests
11777
11778 final _SVGStringListJs requiredExtensions;
11779
11780 final _SVGStringListJs requiredFeatures;
11781
11782 final _SVGStringListJs systemLanguage;
11783
11784 bool hasExtension(String extension) native;
11785
11786 // From SVGLangSpace
11787
11788 String xmllang;
11789
11790 String xmlspace;
11791
11792 // From SVGExternalResourcesRequired
11793
11794 final _SVGAnimatedBooleanJs externalResourcesRequired;
11795
11796 // From SVGStylable
11797
11798 _SVGAnimatedStringJs get _className() native "return this.className;";
11799
11800 // Use implementation from Element.
11801 // final _CSSStyleDeclarationJs style;
11802
11803 _CSSValueJs getPresentationAttribute(String name) native;
11804
11805 // From SVGTransformable
11806
11807 final _SVGAnimatedTransformListJs transform;
11808
11809 // From SVGLocatable
11810
11811 final _SVGElementJs farthestViewportElement;
11812
11813 final _SVGElementJs nearestViewportElement;
11814
11815 _SVGRectJs getBBox() native;
11816
11817 _SVGMatrixJs getCTM() native;
11818
11819 _SVGMatrixJs getScreenCTM() native;
11820
11821 _SVGMatrixJs getTransformToElement(_SVGElementJs element) native;
11822 }
11823
11824 class _SVGRenderingIntentJs implements SVGRenderingIntent native "*SVGRenderingI ntent" {
11825
11826 static final int RENDERING_INTENT_ABSOLUTE_COLORIMETRIC = 5;
11827
11828 static final int RENDERING_INTENT_AUTO = 1;
11829
11830 static final int RENDERING_INTENT_PERCEPTUAL = 2;
11831
11832 static final int RENDERING_INTENT_RELATIVE_COLORIMETRIC = 3;
11833
11834 static final int RENDERING_INTENT_SATURATION = 4;
11835
11836 static final int RENDERING_INTENT_UNKNOWN = 0;
11837 }
11838
11839 class _SVGSVGElementJs extends _SVGElementJs implements SVGSVGElement native "*S VGSVGElement" {
11840
11841 String contentScriptType;
11842
11843 String contentStyleType;
11844
11845 num currentScale;
11846
11847 final _SVGPointJs currentTranslate;
11848
11849 final _SVGAnimatedLengthJs height;
11850
11851 final num pixelUnitToMillimeterX;
11852
11853 final num pixelUnitToMillimeterY;
11854
11855 final num screenPixelToMillimeterX;
11856
11857 final num screenPixelToMillimeterY;
11858
11859 bool useCurrentView;
11860
11861 final _SVGRectJs viewport;
11862
11863 final _SVGAnimatedLengthJs width;
11864
11865 final _SVGAnimatedLengthJs x;
11866
11867 final _SVGAnimatedLengthJs y;
11868
11869 bool animationsPaused() native;
11870
11871 bool checkEnclosure(_SVGElementJs element, _SVGRectJs rect) native;
11872
11873 bool checkIntersection(_SVGElementJs element, _SVGRectJs rect) native;
11874
11875 _SVGAngleJs createSVGAngle() native;
11876
11877 _SVGLengthJs createSVGLength() native;
11878
11879 _SVGMatrixJs createSVGMatrix() native;
11880
11881 _SVGNumberJs createSVGNumber() native;
11882
11883 _SVGPointJs createSVGPoint() native;
11884
11885 _SVGRectJs createSVGRect() native;
11886
11887 _SVGTransformJs createSVGTransform() native;
11888
11889 _SVGTransformJs createSVGTransformFromMatrix(_SVGMatrixJs matrix) native;
11890
11891 void deselectAll() native;
11892
11893 void forceRedraw() native;
11894
11895 num getCurrentTime() native;
11896
11897 _ElementJs getElementById(String elementId) native;
11898
11899 _NodeListJs getEnclosureList(_SVGRectJs rect, _SVGElementJs referenceElement) native;
11900
11901 _NodeListJs getIntersectionList(_SVGRectJs rect, _SVGElementJs referenceElemen t) native;
11902
11903 void pauseAnimations() native;
11904
11905 void setCurrentTime(num seconds) native;
11906
11907 int suspendRedraw(int maxWaitMilliseconds) native;
11908
11909 void unpauseAnimations() native;
11910
11911 void unsuspendRedraw(int suspendHandleId) native;
11912
11913 void unsuspendRedrawAll() native;
11914
11915 // From SVGTests
11916
11917 final _SVGStringListJs requiredExtensions;
11918
11919 final _SVGStringListJs requiredFeatures;
11920
11921 final _SVGStringListJs systemLanguage;
11922
11923 bool hasExtension(String extension) native;
11924
11925 // From SVGLangSpace
11926
11927 String xmllang;
11928
11929 String xmlspace;
11930
11931 // From SVGExternalResourcesRequired
11932
11933 final _SVGAnimatedBooleanJs externalResourcesRequired;
11934
11935 // From SVGStylable
11936
11937 _SVGAnimatedStringJs get _className() native "return this.className;";
11938
11939 // Use implementation from Element.
11940 // final _CSSStyleDeclarationJs style;
11941
11942 _CSSValueJs getPresentationAttribute(String name) native;
11943
11944 // From SVGLocatable
11945
11946 final _SVGElementJs farthestViewportElement;
11947
11948 final _SVGElementJs nearestViewportElement;
11949
11950 _SVGRectJs getBBox() native;
11951
11952 _SVGMatrixJs getCTM() native;
11953
11954 _SVGMatrixJs getScreenCTM() native;
11955
11956 _SVGMatrixJs getTransformToElement(_SVGElementJs element) native;
11957
11958 // From SVGFitToViewBox
11959
11960 final _SVGAnimatedPreserveAspectRatioJs preserveAspectRatio;
11961
11962 final _SVGAnimatedRectJs viewBox;
11963
11964 // From SVGZoomAndPan
11965
11966 int zoomAndPan;
11967 }
11968
11969 class _SVGScriptElementJs extends _SVGElementJs implements SVGScriptElement nati ve "*SVGScriptElement" {
11970
11971 String type;
11972
11973 // From SVGURIReference
11974
11975 final _SVGAnimatedStringJs href;
11976
11977 // From SVGExternalResourcesRequired
11978
11979 final _SVGAnimatedBooleanJs externalResourcesRequired;
11980 }
11981
11982 class _SVGSetElementJs extends _SVGAnimationElementJs implements SVGSetElement n ative "*SVGSetElement" {
11983 }
11984
11985 class _SVGStopElementJs extends _SVGElementJs implements SVGStopElement native " *SVGStopElement" {
11986
11987 final _SVGAnimatedNumberJs offset;
11988
11989 // From SVGStylable
11990
11991 _SVGAnimatedStringJs get _className() native "return this.className;";
11992
11993 // Use implementation from Element.
11994 // final _CSSStyleDeclarationJs style;
11995
11996 _CSSValueJs getPresentationAttribute(String name) native;
11997 }
11998
11999 class _SVGStringListJs implements SVGStringList native "*SVGStringList" {
12000
12001 final int numberOfItems;
12002
12003 String appendItem(String item) native;
12004
12005 void clear() native;
12006
12007 String getItem(int index) native;
12008
12009 String initialize(String item) native;
12010
12011 String insertItemBefore(String item, int index) native;
12012
12013 String removeItem(int index) native;
12014
12015 String replaceItem(String item, int index) native;
12016 }
12017
12018 class _SVGStylableJs implements SVGStylable native "*SVGStylable" {
12019
12020 final _SVGAnimatedStringJs className;
12021
12022 final _CSSStyleDeclarationJs style;
12023
12024 _CSSValueJs getPresentationAttribute(String name) native;
12025 }
12026
12027 class _SVGStyleElementJs extends _SVGElementJs implements SVGStyleElement native "*SVGStyleElement" {
12028
12029 String media;
12030
12031 // Shadowing definition.
12032 String get title() native "return this.title;";
12033
12034 void set title(String value) native "this.title = value;";
12035
12036 String type;
12037
12038 // From SVGLangSpace
12039
12040 String xmllang;
12041
12042 String xmlspace;
12043 }
12044
12045 class _SVGSwitchElementJs extends _SVGElementJs implements SVGSwitchElement nati ve "*SVGSwitchElement" {
12046
12047 // From SVGTests
12048
12049 final _SVGStringListJs requiredExtensions;
12050
12051 final _SVGStringListJs requiredFeatures;
12052
12053 final _SVGStringListJs systemLanguage;
12054
12055 bool hasExtension(String extension) native;
12056
12057 // From SVGLangSpace
12058
12059 String xmllang;
12060
12061 String xmlspace;
12062
12063 // From SVGExternalResourcesRequired
12064
12065 final _SVGAnimatedBooleanJs externalResourcesRequired;
12066
12067 // From SVGStylable
12068
12069 _SVGAnimatedStringJs get _className() native "return this.className;";
12070
12071 // Use implementation from Element.
12072 // final _CSSStyleDeclarationJs style;
12073
12074 _CSSValueJs getPresentationAttribute(String name) native;
12075
12076 // From SVGTransformable
12077
12078 final _SVGAnimatedTransformListJs transform;
12079
12080 // From SVGLocatable
12081
12082 final _SVGElementJs farthestViewportElement;
12083
12084 final _SVGElementJs nearestViewportElement;
12085
12086 _SVGRectJs getBBox() native;
12087
12088 _SVGMatrixJs getCTM() native;
12089
12090 _SVGMatrixJs getScreenCTM() native;
12091
12092 _SVGMatrixJs getTransformToElement(_SVGElementJs element) native;
12093 }
12094
12095 class _SVGSymbolElementJs extends _SVGElementJs implements SVGSymbolElement nati ve "*SVGSymbolElement" {
12096
12097 // From SVGLangSpace
12098
12099 String xmllang;
12100
12101 String xmlspace;
12102
12103 // From SVGExternalResourcesRequired
12104
12105 final _SVGAnimatedBooleanJs externalResourcesRequired;
12106
12107 // From SVGStylable
12108
12109 _SVGAnimatedStringJs get _className() native "return this.className;";
12110
12111 // Use implementation from Element.
12112 // final _CSSStyleDeclarationJs style;
12113
12114 _CSSValueJs getPresentationAttribute(String name) native;
12115
12116 // From SVGFitToViewBox
12117
12118 final _SVGAnimatedPreserveAspectRatioJs preserveAspectRatio;
12119
12120 final _SVGAnimatedRectJs viewBox;
12121 }
12122
12123 class _SVGTRefElementJs extends _SVGTextPositioningElementJs implements SVGTRefE lement native "*SVGTRefElement" {
12124
12125 // From SVGURIReference
12126
12127 final _SVGAnimatedStringJs href;
12128 }
12129
12130 class _SVGTSpanElementJs extends _SVGTextPositioningElementJs implements SVGTSpa nElement native "*SVGTSpanElement" {
12131 }
12132
12133 class _SVGTestsJs implements SVGTests native "*SVGTests" {
12134
12135 final _SVGStringListJs requiredExtensions;
12136
12137 final _SVGStringListJs requiredFeatures;
12138
12139 final _SVGStringListJs systemLanguage;
12140
12141 bool hasExtension(String extension) native;
12142 }
12143
12144 class _SVGTextContentElementJs extends _SVGElementJs implements SVGTextContentEl ement native "*SVGTextContentElement" {
12145
12146 static final int LENGTHADJUST_SPACING = 1;
12147
12148 static final int LENGTHADJUST_SPACINGANDGLYPHS = 2;
12149
12150 static final int LENGTHADJUST_UNKNOWN = 0;
12151
12152 final _SVGAnimatedEnumerationJs lengthAdjust;
12153
12154 final _SVGAnimatedLengthJs textLength;
12155
12156 int getCharNumAtPosition(_SVGPointJs point) native;
12157
12158 num getComputedTextLength() native;
12159
12160 _SVGPointJs getEndPositionOfChar(int offset) native;
12161
12162 _SVGRectJs getExtentOfChar(int offset) native;
12163
12164 int getNumberOfChars() native;
12165
12166 num getRotationOfChar(int offset) native;
12167
12168 _SVGPointJs getStartPositionOfChar(int offset) native;
12169
12170 num getSubStringLength(int offset, int length) native;
12171
12172 void selectSubString(int offset, int length) native;
12173
12174 // From SVGTests
12175
12176 final _SVGStringListJs requiredExtensions;
12177
12178 final _SVGStringListJs requiredFeatures;
12179
12180 final _SVGStringListJs systemLanguage;
12181
12182 bool hasExtension(String extension) native;
12183
12184 // From SVGLangSpace
12185
12186 String xmllang;
12187
12188 String xmlspace;
12189
12190 // From SVGExternalResourcesRequired
12191
12192 final _SVGAnimatedBooleanJs externalResourcesRequired;
12193
12194 // From SVGStylable
12195
12196 _SVGAnimatedStringJs get _className() native "return this.className;";
12197
12198 // Use implementation from Element.
12199 // final _CSSStyleDeclarationJs style;
12200
12201 _CSSValueJs getPresentationAttribute(String name) native;
12202 }
12203
12204 class _SVGTextElementJs extends _SVGTextPositioningElementJs implements SVGTextE lement native "*SVGTextElement" {
12205
12206 // From SVGTransformable
12207
12208 final _SVGAnimatedTransformListJs transform;
12209
12210 // From SVGLocatable
12211
12212 final _SVGElementJs farthestViewportElement;
12213
12214 final _SVGElementJs nearestViewportElement;
12215
12216 _SVGRectJs getBBox() native;
12217
12218 _SVGMatrixJs getCTM() native;
12219
12220 _SVGMatrixJs getScreenCTM() native;
12221
12222 _SVGMatrixJs getTransformToElement(_SVGElementJs element) native;
12223 }
12224
12225 class _SVGTextPathElementJs extends _SVGTextContentElementJs implements SVGTextP athElement native "*SVGTextPathElement" {
12226
12227 static final int TEXTPATH_METHODTYPE_ALIGN = 1;
12228
12229 static final int TEXTPATH_METHODTYPE_STRETCH = 2;
12230
12231 static final int TEXTPATH_METHODTYPE_UNKNOWN = 0;
12232
12233 static final int TEXTPATH_SPACINGTYPE_AUTO = 1;
12234
12235 static final int TEXTPATH_SPACINGTYPE_EXACT = 2;
12236
12237 static final int TEXTPATH_SPACINGTYPE_UNKNOWN = 0;
12238
12239 final _SVGAnimatedEnumerationJs method;
12240
12241 final _SVGAnimatedEnumerationJs spacing;
12242
12243 final _SVGAnimatedLengthJs startOffset;
12244
12245 // From SVGURIReference
12246
12247 final _SVGAnimatedStringJs href;
12248 }
12249
12250 class _SVGTextPositioningElementJs extends _SVGTextContentElementJs implements S VGTextPositioningElement native "*SVGTextPositioningElement" {
12251
12252 final _SVGAnimatedLengthListJs dx;
12253
12254 final _SVGAnimatedLengthListJs dy;
12255
12256 final _SVGAnimatedNumberListJs rotate;
12257
12258 final _SVGAnimatedLengthListJs x;
12259
12260 final _SVGAnimatedLengthListJs y;
12261 }
12262
12263 class _SVGTitleElementJs extends _SVGElementJs implements SVGTitleElement native "*SVGTitleElement" {
12264
12265 // From SVGLangSpace
12266
12267 String xmllang;
12268
12269 String xmlspace;
12270
12271 // From SVGStylable
12272
12273 _SVGAnimatedStringJs get _className() native "return this.className;";
12274
12275 // Use implementation from Element.
12276 // final _CSSStyleDeclarationJs style;
12277
12278 _CSSValueJs getPresentationAttribute(String name) native;
12279 }
12280
12281 class _SVGTransformJs implements SVGTransform native "*SVGTransform" {
12282
12283 static final int SVG_TRANSFORM_MATRIX = 1;
12284
12285 static final int SVG_TRANSFORM_ROTATE = 4;
12286
12287 static final int SVG_TRANSFORM_SCALE = 3;
12288
12289 static final int SVG_TRANSFORM_SKEWX = 5;
12290
12291 static final int SVG_TRANSFORM_SKEWY = 6;
12292
12293 static final int SVG_TRANSFORM_TRANSLATE = 2;
12294
12295 static final int SVG_TRANSFORM_UNKNOWN = 0;
12296
12297 final num angle;
12298
12299 final _SVGMatrixJs matrix;
12300
12301 final int type;
12302
12303 void setMatrix(_SVGMatrixJs matrix) native;
12304
12305 void setRotate(num angle, num cx, num cy) native;
12306
12307 void setScale(num sx, num sy) native;
12308
12309 void setSkewX(num angle) native;
12310
12311 void setSkewY(num angle) native;
12312
12313 void setTranslate(num tx, num ty) native;
12314 }
12315
12316 class _SVGTransformListJs implements SVGTransformList native "*SVGTransformList" {
12317
12318 final int numberOfItems;
12319
12320 _SVGTransformJs appendItem(_SVGTransformJs item) native;
12321
12322 void clear() native;
12323
12324 _SVGTransformJs consolidate() native;
12325
12326 _SVGTransformJs createSVGTransformFromMatrix(_SVGMatrixJs matrix) native;
12327
12328 _SVGTransformJs getItem(int index) native;
12329
12330 _SVGTransformJs initialize(_SVGTransformJs item) native;
12331
12332 _SVGTransformJs insertItemBefore(_SVGTransformJs item, int index) native;
12333
12334 _SVGTransformJs removeItem(int index) native;
12335
12336 _SVGTransformJs replaceItem(_SVGTransformJs item, int index) native;
12337 }
12338
12339 class _SVGTransformableJs extends _SVGLocatableJs implements SVGTransformable na tive "*SVGTransformable" {
12340
12341 final _SVGAnimatedTransformListJs transform;
12342 }
12343
12344 class _SVGURIReferenceJs implements SVGURIReference native "*SVGURIReference" {
12345
12346 final _SVGAnimatedStringJs href;
12347 }
12348
12349 class _SVGUnitTypesJs implements SVGUnitTypes native "*SVGUnitTypes" {
12350
12351 static final int SVG_UNIT_TYPE_OBJECTBOUNDINGBOX = 2;
12352
12353 static final int SVG_UNIT_TYPE_UNKNOWN = 0;
12354
12355 static final int SVG_UNIT_TYPE_USERSPACEONUSE = 1;
12356 }
12357
12358 class _SVGUseElementJs extends _SVGElementJs implements SVGUseElement native "*S VGUseElement" {
12359
12360 final _SVGElementInstanceJs animatedInstanceRoot;
12361
12362 final _SVGAnimatedLengthJs height;
12363
12364 final _SVGElementInstanceJs instanceRoot;
12365
12366 final _SVGAnimatedLengthJs width;
12367
12368 final _SVGAnimatedLengthJs x;
12369
12370 final _SVGAnimatedLengthJs y;
12371
12372 // From SVGURIReference
12373
12374 final _SVGAnimatedStringJs href;
12375
12376 // From SVGTests
12377
12378 final _SVGStringListJs requiredExtensions;
12379
12380 final _SVGStringListJs requiredFeatures;
12381
12382 final _SVGStringListJs systemLanguage;
12383
12384 bool hasExtension(String extension) native;
12385
12386 // From SVGLangSpace
12387
12388 String xmllang;
12389
12390 String xmlspace;
12391
12392 // From SVGExternalResourcesRequired
12393
12394 final _SVGAnimatedBooleanJs externalResourcesRequired;
12395
12396 // From SVGStylable
12397
12398 _SVGAnimatedStringJs get _className() native "return this.className;";
12399
12400 // Use implementation from Element.
12401 // final _CSSStyleDeclarationJs style;
12402
12403 _CSSValueJs getPresentationAttribute(String name) native;
12404
12405 // From SVGTransformable
12406
12407 final _SVGAnimatedTransformListJs transform;
12408
12409 // From SVGLocatable
12410
12411 final _SVGElementJs farthestViewportElement;
12412
12413 final _SVGElementJs nearestViewportElement;
12414
12415 _SVGRectJs getBBox() native;
12416
12417 _SVGMatrixJs getCTM() native;
12418
12419 _SVGMatrixJs getScreenCTM() native;
12420
12421 _SVGMatrixJs getTransformToElement(_SVGElementJs element) native;
12422 }
12423
12424 class _SVGVKernElementJs extends _SVGElementJs implements SVGVKernElement native "*SVGVKernElement" {
12425 }
12426
12427 class _SVGViewElementJs extends _SVGElementJs implements SVGViewElement native " *SVGViewElement" {
12428
12429 final _SVGStringListJs viewTarget;
12430
12431 // From SVGExternalResourcesRequired
12432
12433 final _SVGAnimatedBooleanJs externalResourcesRequired;
12434
12435 // From SVGFitToViewBox
12436
12437 final _SVGAnimatedPreserveAspectRatioJs preserveAspectRatio;
12438
12439 final _SVGAnimatedRectJs viewBox;
12440
12441 // From SVGZoomAndPan
12442
12443 int zoomAndPan;
12444 }
12445
12446 class _SVGViewSpecJs extends _SVGZoomAndPanJs implements SVGViewSpec native "*SV GViewSpec" {
12447
12448 final String preserveAspectRatioString;
12449
12450 final _SVGTransformListJs transform;
12451
12452 final String transformString;
12453
12454 final String viewBoxString;
12455
12456 final _SVGElementJs viewTarget;
12457
12458 final String viewTargetString;
12459
12460 // From SVGFitToViewBox
12461
12462 final _SVGAnimatedPreserveAspectRatioJs preserveAspectRatio;
12463
12464 final _SVGAnimatedRectJs viewBox;
12465 }
12466
12467 class _SVGZoomAndPanJs implements SVGZoomAndPan native "*SVGZoomAndPan" {
12468
12469 static final int SVG_ZOOMANDPAN_DISABLE = 1;
12470
12471 static final int SVG_ZOOMANDPAN_MAGNIFY = 2;
12472
12473 static final int SVG_ZOOMANDPAN_UNKNOWN = 0;
12474
12475 int zoomAndPan;
12476 }
12477
12478 class _SVGZoomEventJs extends _UIEventJs implements SVGZoomEvent native "*SVGZoo mEvent" {
12479
12480 final num newScale;
12481
12482 final _SVGPointJs newTranslate;
12483
12484 final num previousScale;
12485
12486 final _SVGPointJs previousTranslate;
12487
12488 final _SVGRectJs zoomRectScreen;
12489 }
12490
12491 class _ScreenJs implements Screen native "*Screen" {
12492
12493 final int availHeight;
12494
12495 final int availLeft;
12496
12497 final int availTop;
12498
12499 final int availWidth;
12500
12501 final int colorDepth;
12502
12503 final int height;
12504
12505 final int pixelDepth;
12506
12507 final int width;
12508 }
12509
12510 class _ScriptElementJs extends _ElementJs implements ScriptElement native "*HTML ScriptElement" {
12511
12512 bool async;
12513
12514 String charset;
12515
12516 bool defer;
12517
12518 String event;
12519
12520 String htmlFor;
12521
12522 String src;
12523
12524 String text;
12525
12526 String type;
12527 }
12528
12529 class _ScriptProfileJs implements ScriptProfile native "*ScriptProfile" {
12530
12531 final _ScriptProfileNodeJs head;
12532
12533 final String title;
12534
12535 final int uid;
12536 }
12537
12538 class _ScriptProfileNodeJs implements ScriptProfileNode native "*ScriptProfileNo de" {
12539
12540 final int callUID;
12541
12542 final List children;
12543
12544 final String functionName;
12545
12546 final int lineNumber;
12547
12548 final int numberOfCalls;
12549
12550 final num selfTime;
12551
12552 final num totalTime;
12553
12554 final String url;
12555
12556 final bool visible;
12557 }
12558
12559 class _SelectElementJs extends _ElementJs implements SelectElement native "*HTML SelectElement" {
12560
12561 bool autofocus;
12562
12563 bool disabled;
12564
12565 final _FormElementJs form;
12566
12567 final _NodeListJs labels;
12568
12569 int length;
12570
12571 bool multiple;
12572
12573 String name;
12574
12575 final _HTMLOptionsCollectionJs options;
12576
12577 bool required;
12578
12579 int selectedIndex;
12580
12581 int size;
12582
12583 final String type;
12584
12585 final String validationMessage;
12586
12587 final _ValidityStateJs validity;
12588
12589 String value;
12590
12591 final bool willValidate;
12592
12593 void add(_ElementJs element, _ElementJs before) native;
12594
12595 bool checkValidity() native;
12596
12597 _NodeJs item(int index) native;
12598
12599 _NodeJs namedItem(String name) native;
12600
12601 void setCustomValidity(String error) native;
12602 }
12603
12604 class _SharedWorkerJs extends _AbstractWorkerJs implements SharedWorker native " *SharedWorker" {
12605
12606 final _MessagePortJs port;
12607 }
12608
12609 class _SharedWorkerContextJs extends _WorkerContextJs implements SharedWorkerCon text native "*SharedWorkerContext" {
12610
12611 final String name;
12612
12613 EventListener onconnect;
12614 }
12615
12616 class _SourceElementJs extends _ElementJs implements SourceElement native "*HTML SourceElement" {
12617
12618 String media;
12619
12620 String src;
12621
12622 String type;
12623 }
12624
12625 class _SpanElementJs extends _ElementJs implements SpanElement native "*HTMLSpan Element" {
12626 }
12627
12628 class _SpeechInputEventJs extends _EventJs implements SpeechInputEvent native "* SpeechInputEvent" {
12629
12630 final _SpeechInputResultListJs results;
12631 }
12632
12633 class _SpeechInputResultJs implements SpeechInputResult native "*SpeechInputResu lt" {
12634
12635 final num confidence;
12636
12637 final String utterance;
12638 }
12639
12640 class _SpeechInputResultListJs implements SpeechInputResultList native "*SpeechI nputResultList" {
12641
12642 final int length;
12643
12644 _SpeechInputResultJs item(int index) native;
12645 }
12646
12647 class _StorageJs implements Storage native "*Storage" {
12648
12649 final int length;
12650
12651 void clear() native;
12652
12653 String getItem(String key) native;
12654
12655 String key(int index) native;
12656
12657 void removeItem(String key) native;
12658
12659 void setItem(String key, String data) native;
12660 }
12661
12662 class _StorageEventJs extends _EventJs implements StorageEvent native "*StorageE vent" {
12663
12664 final String key;
12665
12666 final String newValue;
12667
12668 final String oldValue;
12669
12670 final _StorageJs storageArea;
12671
12672 final String url;
12673
12674 void initStorageEvent(String typeArg, bool canBubbleArg, bool cancelableArg, S tring keyArg, String oldValueArg, String newValueArg, String urlArg, _StorageJs storageAreaArg) native;
12675 }
12676
12677 class _StorageInfoJs implements StorageInfo native "*StorageInfo" {
12678
12679 static final int PERSISTENT = 1;
12680
12681 static final int TEMPORARY = 0;
12682
12683 void queryUsageAndQuota(int storageType, [StorageInfoUsageCallback usageCallba ck = null, StorageInfoErrorCallback errorCallback = null]) native;
12684
12685 void requestQuota(int storageType, int newQuotaInBytes, [StorageInfoQuotaCallb ack quotaCallback = null, StorageInfoErrorCallback errorCallback = null]) native ;
12686 }
12687
12688 class _StyleElementJs extends _ElementJs implements StyleElement native "*HTMLSt yleElement" {
12689
12690 bool disabled;
12691
12692 String media;
12693
12694 final _StyleSheetJs sheet;
12695
12696 String type;
12697 }
12698
12699 class _StyleMediaJs implements StyleMedia native "*StyleMedia" {
12700
12701 final String type;
12702
12703 bool matchMedium(String mediaquery) native;
12704 }
12705
12706 class _StyleSheetJs implements StyleSheet native "*StyleSheet" {
12707
12708 bool disabled;
12709
12710 final String href;
12711
12712 final _MediaListJs media;
12713
12714 final _NodeJs ownerNode;
12715
12716 final _StyleSheetJs parentStyleSheet;
12717
12718 final String title;
12719
12720 final String type;
12721 }
12722
12723 class _StyleSheetListJs implements StyleSheetList native "*StyleSheetList" {
12724
12725 final int length;
12726
12727 _StyleSheetJs operator[](int index) native "return this[index];";
12728
12729 void operator[]=(int index, _StyleSheetJs value) {
12730 throw new UnsupportedOperationException("Cannot assign element of immutable List.");
12731 }
12732 // -- start List<StyleSheet> mixins.
12733 // StyleSheet is the element type.
12734
12735 // From Iterable<StyleSheet>:
12736
12737 Iterator<StyleSheet> iterator() {
12738 // Note: NodeLists are not fixed size. And most probably length shouldn't
12739 // be cached in both iterator _and_ forEach method. For now caching it
12740 // for consistency.
12741 return new _FixedSizeListIterator<StyleSheet>(this);
12742 }
12743
12744 // From Collection<StyleSheet>:
12745
12746 void add(StyleSheet value) {
12747 throw new UnsupportedOperationException("Cannot add to immutable List.");
12748 }
12749
12750 void addLast(StyleSheet value) {
12751 throw new UnsupportedOperationException("Cannot add to immutable List.");
12752 }
12753
12754 void addAll(Collection<StyleSheet> collection) {
12755 throw new UnsupportedOperationException("Cannot add to immutable List.");
12756 }
12757
12758 void forEach(void f(StyleSheet element)) => _Collections.forEach(this, f);
12759
12760 Collection map(f(StyleSheet element)) => _Collections.map(this, [], f);
12761
12762 Collection<StyleSheet> filter(bool f(StyleSheet element)) =>
12763 _Collections.filter(this, <StyleSheet>[], f);
12764
12765 bool every(bool f(StyleSheet element)) => _Collections.every(this, f);
12766
12767 bool some(bool f(StyleSheet element)) => _Collections.some(this, f);
12768
12769 bool isEmpty() => this.length == 0;
12770
12771 // From List<StyleSheet>:
12772
12773 void sort(int compare(StyleSheet a, StyleSheet b)) {
12774 throw new UnsupportedOperationException("Cannot sort immutable List.");
12775 }
12776
12777 int indexOf(StyleSheet element, [int start = 0]) =>
12778 _Lists.indexOf(this, element, start, this.length);
12779
12780 int lastIndexOf(StyleSheet element, [int start = 0]) =>
12781 _Lists.lastIndexOf(this, element, start);
12782
12783 StyleSheet last() => this[length - 1];
12784
12785 // FIXME: implement thesee.
12786 void setRange(int start, int length, List<StyleSheet> from, [int startFrom]) {
12787 throw new UnsupportedOperationException("Cannot setRange on immutable List." );
12788 }
12789 void removeRange(int start, int length) {
12790 throw new UnsupportedOperationException("Cannot removeRange on immutable Lis t.");
12791 }
12792 void insertRange(int start, int length, [StyleSheet initialValue]) {
12793 throw new UnsupportedOperationException("Cannot insertRange on immutable Lis t.");
12794 }
12795 List<StyleSheet> getRange(int start, int length) =>
12796 _Lists.getRange(this, start, length, <StyleSheet>[]);
12797
12798 // -- end List<StyleSheet> mixins.
12799
12800 _StyleSheetJs item(int index) native;
12801 }
12802
12803 class _TableCaptionElementJs extends _ElementJs implements TableCaptionElement n ative "*HTMLTableCaptionElement" {
12804
12805 String align;
12806 }
12807
12808 class _TableCellElementJs extends _ElementJs implements TableCellElement native "*HTMLTableCellElement" {
12809
12810 String abbr;
12811
12812 String align;
12813
12814 String axis;
12815
12816 String bgColor;
12817
12818 final int cellIndex;
12819
12820 String ch;
12821
12822 String chOff;
12823
12824 int colSpan;
12825
12826 String headers;
12827
12828 String height;
12829
12830 bool noWrap;
12831
12832 int rowSpan;
12833
12834 String scope;
12835
12836 String vAlign;
12837
12838 String width;
12839 }
12840
12841 class _TableColElementJs extends _ElementJs implements TableColElement native "* HTMLTableColElement" {
12842
12843 String align;
12844
12845 String ch;
12846
12847 String chOff;
12848
12849 int span;
12850
12851 String vAlign;
12852
12853 String width;
12854 }
12855
12856 class _TableElementJs extends _ElementJs implements TableElement native "*HTMLTa bleElement" {
12857
12858 String align;
12859
12860 String bgColor;
12861
12862 String border;
12863
12864 _TableCaptionElementJs caption;
12865
12866 String cellPadding;
12867
12868 String cellSpacing;
12869
12870 String frame;
12871
12872 final _HTMLCollectionJs rows;
12873
12874 String rules;
12875
12876 String summary;
12877
12878 final _HTMLCollectionJs tBodies;
12879
12880 _TableSectionElementJs tFoot;
12881
12882 _TableSectionElementJs tHead;
12883
12884 String width;
12885
12886 _ElementJs createCaption() native;
12887
12888 _ElementJs createTFoot() native;
12889
12890 _ElementJs createTHead() native;
12891
12892 void deleteCaption() native;
12893
12894 void deleteRow(int index) native;
12895
12896 void deleteTFoot() native;
12897
12898 void deleteTHead() native;
12899
12900 _ElementJs insertRow(int index) native;
12901 }
12902
12903 class _TableRowElementJs extends _ElementJs implements TableRowElement native "* HTMLTableRowElement" {
12904
12905 String align;
12906
12907 String bgColor;
12908
12909 final _HTMLCollectionJs cells;
12910
12911 String ch;
12912
12913 String chOff;
12914
12915 final int rowIndex;
12916
12917 final int sectionRowIndex;
12918
12919 String vAlign;
12920
12921 void deleteCell(int index) native;
12922
12923 _ElementJs insertCell(int index) native;
12924 }
12925
12926 class _TableSectionElementJs extends _ElementJs implements TableSectionElement n ative "*HTMLTableSectionElement" {
12927
12928 String align;
12929
12930 String ch;
12931
12932 String chOff;
12933
12934 final _HTMLCollectionJs rows;
12935
12936 String vAlign;
12937
12938 void deleteRow(int index) native;
12939
12940 _ElementJs insertRow(int index) native;
12941 }
12942
12943 class _TextJs extends _CharacterDataJs implements Text native "*Text" {
12944
12945 final String wholeText;
12946
12947 _TextJs replaceWholeText(String content) native;
12948
12949 _TextJs splitText(int offset) native;
12950 }
12951
12952 class _TextAreaElementJs extends _ElementJs implements TextAreaElement native "* HTMLTextAreaElement" {
12953
12954 bool autofocus;
12955
12956 int cols;
12957
12958 String defaultValue;
12959
12960 bool disabled;
12961
12962 final _FormElementJs form;
12963
12964 final _NodeListJs labels;
12965
12966 int maxLength;
12967
12968 String name;
12969
12970 String placeholder;
12971
12972 bool readOnly;
12973
12974 bool required;
12975
12976 int rows;
12977
12978 String selectionDirection;
12979
12980 int selectionEnd;
12981
12982 int selectionStart;
12983
12984 final int textLength;
12985
12986 final String type;
12987
12988 final String validationMessage;
12989
12990 final _ValidityStateJs validity;
12991
12992 String value;
12993
12994 final bool willValidate;
12995
12996 String wrap;
12997
12998 bool checkValidity() native;
12999
13000 void select() native;
13001
13002 void setCustomValidity(String error) native;
13003
13004 void setSelectionRange(int start, int end, [String direction = null]) native;
13005 }
13006
13007 class _TextEventJs extends _UIEventJs implements TextEvent native "*TextEvent" {
13008
13009 final String data;
13010
13011 void initTextEvent(String typeArg, bool canBubbleArg, bool cancelableArg, _Win dowJs viewArg, String dataArg) native;
13012 }
13013
13014 class _TextMetricsJs implements TextMetrics native "*TextMetrics" {
13015
13016 final num width;
13017 }
13018
13019 class _TextTrackJs implements TextTrack native "*TextTrack" {
13020
13021 static final int DISABLED = 0;
13022
13023 static final int HIDDEN = 1;
13024
13025 static final int SHOWING = 2;
13026
13027 final _TextTrackCueListJs activeCues;
13028
13029 final _TextTrackCueListJs cues;
13030
13031 final String kind;
13032
13033 final String label;
13034
13035 final String language;
13036
13037 int mode;
13038
13039 EventListener oncuechange;
13040
13041 void addCue(_TextTrackCueJs cue) native;
13042
13043 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
13044
13045 bool dispatchEvent(_EventJs evt) native;
13046
13047 void removeCue(_TextTrackCueJs cue) native;
13048
13049 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
13050 }
13051
13052 class _TextTrackCueJs implements TextTrackCue native "*TextTrackCue" {
13053
13054 String alignment;
13055
13056 String direction;
13057
13058 num endTime;
13059
13060 String id;
13061
13062 int linePosition;
13063
13064 EventListener onenter;
13065
13066 EventListener onexit;
13067
13068 bool pauseOnExit;
13069
13070 int size;
13071
13072 bool snapToLines;
13073
13074 num startTime;
13075
13076 String text;
13077
13078 int textPosition;
13079
13080 final _TextTrackJs track;
13081
13082 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
13083
13084 bool dispatchEvent(_EventJs evt) native;
13085
13086 _DocumentFragmentJs getCueAsHTML() native;
13087
13088 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
13089 }
13090
13091 class _TextTrackCueListJs implements TextTrackCueList native "*TextTrackCueList" {
13092
13093 final int length;
13094
13095 _TextTrackCueJs getCueById(String id) native;
13096
13097 _TextTrackCueJs item(int index) native;
13098 }
13099
13100 class _TextTrackListJs implements TextTrackList native "*TextTrackList" {
13101
13102 final int length;
13103
13104 EventListener onaddtrack;
13105
13106 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
13107
13108 bool dispatchEvent(_EventJs evt) native;
13109
13110 _TextTrackJs item(int index) native;
13111
13112 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
13113 }
13114
13115 class _TimeRangesJs implements TimeRanges native "*TimeRanges" {
13116
13117 final int length;
13118
13119 num end(int index) native;
13120
13121 num start(int index) native;
13122 }
13123
13124 class _TitleElementJs extends _ElementJs implements TitleElement native "*HTMLTi tleElement" {
13125
13126 String text;
13127 }
13128
13129 class _TouchJs implements Touch native "*Touch" {
13130
13131 final int clientX;
13132
13133 final int clientY;
13134
13135 final int identifier;
13136
13137 final int pageX;
13138
13139 final int pageY;
13140
13141 final int screenX;
13142
13143 final int screenY;
13144
13145 final _EventTargetJs target;
13146
13147 final num webkitForce;
13148
13149 final int webkitRadiusX;
13150
13151 final int webkitRadiusY;
13152
13153 final num webkitRotationAngle;
13154 }
13155
13156 class _TouchEventJs extends _UIEventJs implements TouchEvent native "*TouchEvent " {
13157
13158 final bool altKey;
13159
13160 final _TouchListJs changedTouches;
13161
13162 final bool ctrlKey;
13163
13164 final bool metaKey;
13165
13166 final bool shiftKey;
13167
13168 final _TouchListJs targetTouches;
13169
13170 final _TouchListJs touches;
13171
13172 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;
13173 }
13174
13175 class _TouchListJs implements TouchList native "*TouchList" {
13176
13177 final int length;
13178
13179 _TouchJs operator[](int index) native "return this[index];";
13180
13181 void operator[]=(int index, _TouchJs value) {
13182 throw new UnsupportedOperationException("Cannot assign element of immutable List.");
13183 }
13184 // -- start List<Touch> mixins.
13185 // Touch is the element type.
13186
13187 // From Iterable<Touch>:
13188
13189 Iterator<Touch> iterator() {
13190 // Note: NodeLists are not fixed size. And most probably length shouldn't
13191 // be cached in both iterator _and_ forEach method. For now caching it
13192 // for consistency.
13193 return new _FixedSizeListIterator<Touch>(this);
13194 }
13195
13196 // From Collection<Touch>:
13197
13198 void add(Touch value) {
13199 throw new UnsupportedOperationException("Cannot add to immutable List.");
13200 }
13201
13202 void addLast(Touch value) {
13203 throw new UnsupportedOperationException("Cannot add to immutable List.");
13204 }
13205
13206 void addAll(Collection<Touch> collection) {
13207 throw new UnsupportedOperationException("Cannot add to immutable List.");
13208 }
13209
13210 void forEach(void f(Touch element)) => _Collections.forEach(this, f);
13211
13212 Collection map(f(Touch element)) => _Collections.map(this, [], f);
13213
13214 Collection<Touch> filter(bool f(Touch element)) =>
13215 _Collections.filter(this, <Touch>[], f);
13216
13217 bool every(bool f(Touch element)) => _Collections.every(this, f);
13218
13219 bool some(bool f(Touch element)) => _Collections.some(this, f);
13220
13221 bool isEmpty() => this.length == 0;
13222
13223 // From List<Touch>:
13224
13225 void sort(int compare(Touch a, Touch b)) {
13226 throw new UnsupportedOperationException("Cannot sort immutable List.");
13227 }
13228
13229 int indexOf(Touch element, [int start = 0]) =>
13230 _Lists.indexOf(this, element, start, this.length);
13231
13232 int lastIndexOf(Touch element, [int start = 0]) =>
13233 _Lists.lastIndexOf(this, element, start);
13234
13235 Touch last() => this[length - 1];
13236
13237 // FIXME: implement thesee.
13238 void setRange(int start, int length, List<Touch> from, [int startFrom]) {
13239 throw new UnsupportedOperationException("Cannot setRange on immutable List." );
13240 }
13241 void removeRange(int start, int length) {
13242 throw new UnsupportedOperationException("Cannot removeRange on immutable Lis t.");
13243 }
13244 void insertRange(int start, int length, [Touch initialValue]) {
13245 throw new UnsupportedOperationException("Cannot insertRange on immutable Lis t.");
13246 }
13247 List<Touch> getRange(int start, int length) =>
13248 _Lists.getRange(this, start, length, <Touch>[]);
13249
13250 // -- end List<Touch> mixins.
13251
13252 _TouchJs item(int index) native;
13253 }
13254
13255 class _TrackElementJs extends _ElementJs implements TrackElement native "*HTMLTr ackElement" {
13256
13257 static final int ERROR = 3;
13258
13259 static final int LOADED = 2;
13260
13261 static final int LOADING = 1;
13262
13263 static final int NONE = 0;
13264
13265 bool isDefault;
13266
13267 String kind;
13268
13269 String label;
13270
13271 final int readyState;
13272
13273 String src;
13274
13275 String srclang;
13276
13277 final _TextTrackJs track;
13278 }
13279
13280 class _TrackEventJs extends _EventJs implements TrackEvent native "*TrackEvent" {
13281
13282 final Object track;
13283 }
13284
13285 class _TransitionEventJs extends _EventJs implements TransitionEvent native "*We bKitTransitionEvent" {
13286
13287 final num elapsedTime;
13288
13289 final String propertyName;
13290 }
13291
13292 class _TreeWalkerJs implements TreeWalker native "*TreeWalker" {
13293
13294 _NodeJs currentNode;
13295
13296 final bool expandEntityReferences;
13297
13298 final _NodeFilterJs filter;
13299
13300 final _NodeJs root;
13301
13302 final int whatToShow;
13303
13304 _NodeJs firstChild() native;
13305
13306 _NodeJs lastChild() native;
13307
13308 _NodeJs nextNode() native;
13309
13310 _NodeJs nextSibling() native;
13311
13312 _NodeJs parentNode() native;
13313
13314 _NodeJs previousNode() native;
13315
13316 _NodeJs previousSibling() native;
13317 }
13318
13319 class _UIEventJs extends _EventJs implements UIEvent native "*UIEvent" {
13320
13321 final int charCode;
13322
13323 final int detail;
13324
13325 final int keyCode;
13326
13327 final int layerX;
13328
13329 final int layerY;
13330
13331 final int pageX;
13332
13333 final int pageY;
13334
13335 final _WindowJs view;
13336
13337 final int which;
13338
13339 void initUIEvent(String type, bool canBubble, bool cancelable, _WindowJs view, int detail) native;
13340 }
13341
13342 class _UListElementJs extends _ElementJs implements UListElement native "*HTMLUL istElement" {
13343
13344 bool compact;
13345
13346 String type;
13347 }
13348
13349 class _Uint16ArrayJs extends _ArrayBufferViewJs implements Uint16Array, List<int > native "*Uint16Array" {
13350
13351 factory Uint16Array(int length) => _construct_Uint16Array(length);
13352
13353 factory Uint16Array.fromList(List<int> list) => _construct_Uint16Array(list);
13354
13355 factory Uint16Array.fromBuffer(ArrayBuffer buffer) => _construct_Uint16Array(b uffer);
13356
13357 static _construct_Uint16Array(arg) native 'return new Uint16Array(arg);';
13358
13359 static final int BYTES_PER_ELEMENT = 2;
13360
13361 final int length;
13362
13363 int operator[](int index) native "return this[index];";
13364
13365 void operator[]=(int index, int value) native "this[index] = value";
13366 // -- start List<int> mixins.
13367 // int is the element type.
13368
13369 // From Iterable<int>:
13370
13371 Iterator<int> iterator() {
13372 // Note: NodeLists are not fixed size. And most probably length shouldn't
13373 // be cached in both iterator _and_ forEach method. For now caching it
13374 // for consistency.
13375 return new _FixedSizeListIterator<int>(this);
13376 }
13377
13378 // From Collection<int>:
13379
13380 void add(int value) {
13381 throw new UnsupportedOperationException("Cannot add to immutable List.");
13382 }
13383
13384 void addLast(int value) {
13385 throw new UnsupportedOperationException("Cannot add to immutable List.");
13386 }
13387
13388 void addAll(Collection<int> collection) {
13389 throw new UnsupportedOperationException("Cannot add to immutable List.");
13390 }
13391
13392 void forEach(void f(int element)) => _Collections.forEach(this, f);
13393
13394 Collection map(f(int element)) => _Collections.map(this, [], f);
13395
13396 Collection<int> filter(bool f(int element)) =>
13397 _Collections.filter(this, <int>[], f);
13398
13399 bool every(bool f(int element)) => _Collections.every(this, f);
13400
13401 bool some(bool f(int element)) => _Collections.some(this, f);
13402
13403 bool isEmpty() => this.length == 0;
13404
13405 // From List<int>:
13406
13407 void sort(int compare(int a, int b)) {
13408 throw new UnsupportedOperationException("Cannot sort immutable List.");
13409 }
13410
13411 int indexOf(int element, [int start = 0]) =>
13412 _Lists.indexOf(this, element, start, this.length);
13413
13414 int lastIndexOf(int element, [int start = 0]) =>
13415 _Lists.lastIndexOf(this, element, start);
13416
13417 int last() => this[length - 1];
13418
13419 // FIXME: implement thesee.
13420 void setRange(int start, int length, List<int> from, [int startFrom]) {
13421 throw new UnsupportedOperationException("Cannot setRange on immutable List." );
13422 }
13423 void removeRange(int start, int length) {
13424 throw new UnsupportedOperationException("Cannot removeRange on immutable Lis t.");
13425 }
13426 void insertRange(int start, int length, [int initialValue]) {
13427 throw new UnsupportedOperationException("Cannot insertRange on immutable Lis t.");
13428 }
13429 List<int> getRange(int start, int length) =>
13430 _Lists.getRange(this, start, length, <int>[]);
13431
13432 // -- end List<int> mixins.
13433
13434 void setElements(Object array, [int offset = null]) native;
13435
13436 _Uint16ArrayJs subarray(int start, [int end = null]) native;
13437 }
13438
13439 class _Uint32ArrayJs extends _ArrayBufferViewJs implements Uint32Array, List<int > native "*Uint32Array" {
13440
13441 factory Uint32Array(int length) => _construct_Uint32Array(length);
13442
13443 factory Uint32Array.fromList(List<int> list) => _construct_Uint32Array(list);
13444
13445 factory Uint32Array.fromBuffer(ArrayBuffer buffer) => _construct_Uint32Array(b uffer);
13446
13447 static _construct_Uint32Array(arg) native 'return new Uint32Array(arg);';
13448
13449 static final int BYTES_PER_ELEMENT = 4;
13450
13451 final int length;
13452
13453 int operator[](int index) native "return this[index];";
13454
13455 void operator[]=(int index, int value) native "this[index] = value";
13456 // -- start List<int> mixins.
13457 // int is the element type.
13458
13459 // From Iterable<int>:
13460
13461 Iterator<int> iterator() {
13462 // Note: NodeLists are not fixed size. And most probably length shouldn't
13463 // be cached in both iterator _and_ forEach method. For now caching it
13464 // for consistency.
13465 return new _FixedSizeListIterator<int>(this);
13466 }
13467
13468 // From Collection<int>:
13469
13470 void add(int value) {
13471 throw new UnsupportedOperationException("Cannot add to immutable List.");
13472 }
13473
13474 void addLast(int value) {
13475 throw new UnsupportedOperationException("Cannot add to immutable List.");
13476 }
13477
13478 void addAll(Collection<int> collection) {
13479 throw new UnsupportedOperationException("Cannot add to immutable List.");
13480 }
13481
13482 void forEach(void f(int element)) => _Collections.forEach(this, f);
13483
13484 Collection map(f(int element)) => _Collections.map(this, [], f);
13485
13486 Collection<int> filter(bool f(int element)) =>
13487 _Collections.filter(this, <int>[], f);
13488
13489 bool every(bool f(int element)) => _Collections.every(this, f);
13490
13491 bool some(bool f(int element)) => _Collections.some(this, f);
13492
13493 bool isEmpty() => this.length == 0;
13494
13495 // From List<int>:
13496
13497 void sort(int compare(int a, int b)) {
13498 throw new UnsupportedOperationException("Cannot sort immutable List.");
13499 }
13500
13501 int indexOf(int element, [int start = 0]) =>
13502 _Lists.indexOf(this, element, start, this.length);
13503
13504 int lastIndexOf(int element, [int start = 0]) =>
13505 _Lists.lastIndexOf(this, element, start);
13506
13507 int last() => this[length - 1];
13508
13509 // FIXME: implement thesee.
13510 void setRange(int start, int length, List<int> from, [int startFrom]) {
13511 throw new UnsupportedOperationException("Cannot setRange on immutable List." );
13512 }
13513 void removeRange(int start, int length) {
13514 throw new UnsupportedOperationException("Cannot removeRange on immutable Lis t.");
13515 }
13516 void insertRange(int start, int length, [int initialValue]) {
13517 throw new UnsupportedOperationException("Cannot insertRange on immutable Lis t.");
13518 }
13519 List<int> getRange(int start, int length) =>
13520 _Lists.getRange(this, start, length, <int>[]);
13521
13522 // -- end List<int> mixins.
13523
13524 void setElements(Object array, [int offset = null]) native;
13525
13526 _Uint32ArrayJs subarray(int start, [int end = null]) native;
13527 }
13528
13529 class _Uint8ArrayJs extends _ArrayBufferViewJs implements Uint8Array, List<int> native "*Uint8Array" {
13530
13531 factory Uint8Array(int length) => _construct_Uint8Array(length);
13532
13533 factory Uint8Array.fromList(List<int> list) => _construct_Uint8Array(list);
13534
13535 factory Uint8Array.fromBuffer(ArrayBuffer buffer) => _construct_Uint8Array(buf fer);
13536
13537 static _construct_Uint8Array(arg) native 'return new Uint8Array(arg);';
13538
13539 static final int BYTES_PER_ELEMENT = 1;
13540
13541 final int length;
13542
13543 int operator[](int index) native "return this[index];";
13544
13545 void operator[]=(int index, int value) native "this[index] = value";
13546 // -- start List<int> mixins.
13547 // int is the element type.
13548
13549 // From Iterable<int>:
13550
13551 Iterator<int> iterator() {
13552 // Note: NodeLists are not fixed size. And most probably length shouldn't
13553 // be cached in both iterator _and_ forEach method. For now caching it
13554 // for consistency.
13555 return new _FixedSizeListIterator<int>(this);
13556 }
13557
13558 // From Collection<int>:
13559
13560 void add(int value) {
13561 throw new UnsupportedOperationException("Cannot add to immutable List.");
13562 }
13563
13564 void addLast(int value) {
13565 throw new UnsupportedOperationException("Cannot add to immutable List.");
13566 }
13567
13568 void addAll(Collection<int> collection) {
13569 throw new UnsupportedOperationException("Cannot add to immutable List.");
13570 }
13571
13572 void forEach(void f(int element)) => _Collections.forEach(this, f);
13573
13574 Collection map(f(int element)) => _Collections.map(this, [], f);
13575
13576 Collection<int> filter(bool f(int element)) =>
13577 _Collections.filter(this, <int>[], f);
13578
13579 bool every(bool f(int element)) => _Collections.every(this, f);
13580
13581 bool some(bool f(int element)) => _Collections.some(this, f);
13582
13583 bool isEmpty() => this.length == 0;
13584
13585 // From List<int>:
13586
13587 void sort(int compare(int a, int b)) {
13588 throw new UnsupportedOperationException("Cannot sort immutable List.");
13589 }
13590
13591 int indexOf(int element, [int start = 0]) =>
13592 _Lists.indexOf(this, element, start, this.length);
13593
13594 int lastIndexOf(int element, [int start = 0]) =>
13595 _Lists.lastIndexOf(this, element, start);
13596
13597 int last() => this[length - 1];
13598
13599 // FIXME: implement thesee.
13600 void setRange(int start, int length, List<int> from, [int startFrom]) {
13601 throw new UnsupportedOperationException("Cannot setRange on immutable List." );
13602 }
13603 void removeRange(int start, int length) {
13604 throw new UnsupportedOperationException("Cannot removeRange on immutable Lis t.");
13605 }
13606 void insertRange(int start, int length, [int initialValue]) {
13607 throw new UnsupportedOperationException("Cannot insertRange on immutable Lis t.");
13608 }
13609 List<int> getRange(int start, int length) =>
13610 _Lists.getRange(this, start, length, <int>[]);
13611
13612 // -- end List<int> mixins.
13613
13614 void setElements(Object array, [int offset = null]) native;
13615
13616 _Uint8ArrayJs subarray(int start, [int end = null]) native;
13617 }
13618
13619 class _Uint8ClampedArrayJs extends _Uint8ArrayJs implements Uint8ClampedArray, L ist<int> native "*Uint8ClampedArray" {
13620
13621 factory Uint8ClampedArray(int length) => _construct_Uint8ClampedArray(length) ;
13622
13623 factory Uint8ClampedArray.fromList(List<int> list) => _construct_Uint8ClampedA rray(list);
13624
13625 factory Uint8ClampedArray.fromBuffer(ArrayBuffer buffer) => _construct_Uint8Cl ampedArray(buffer);
13626
13627 static _construct_Uint8ClampedArray(arg) native 'return new Uint8ClampedArray( arg);';
13628
13629 // Use implementation from Uint8Array.
13630 // final int length;
13631
13632 _Uint8ClampedArrayJs subarray(int start, [int end = null]) native;
13633 }
13634
13635 class _UnknownElementJs extends _ElementJs implements UnknownElement native "*HT MLUnknownElement" {
13636 }
13637
13638 class _ValidityStateJs implements ValidityState native "*ValidityState" {
13639
13640 final bool customError;
13641
13642 final bool patternMismatch;
13643
13644 final bool rangeOverflow;
13645
13646 final bool rangeUnderflow;
13647
13648 final bool stepMismatch;
13649
13650 final bool tooLong;
13651
13652 final bool typeMismatch;
13653
13654 final bool valid;
13655
13656 final bool valueMissing;
13657 }
13658
13659 class _VideoElementJs extends _MediaElementJs implements VideoElement native "*H TMLVideoElement" {
13660
13661 int height;
13662
13663 String poster;
13664
13665 final int videoHeight;
13666
13667 final int videoWidth;
13668
13669 final int webkitDecodedFrameCount;
13670
13671 final bool webkitDisplayingFullscreen;
13672
13673 final int webkitDroppedFrameCount;
13674
13675 final bool webkitSupportsFullscreen;
13676
13677 int width;
13678
13679 void webkitEnterFullScreen() native;
13680
13681 void webkitEnterFullscreen() native;
13682
13683 void webkitExitFullScreen() native;
13684
13685 void webkitExitFullscreen() native;
13686 }
13687
13688 class _WaveShaperNodeJs extends _AudioNodeJs implements WaveShaperNode native "* WaveShaperNode" {
13689
13690 _Float32ArrayJs curve;
13691 }
13692
13693 class _WebGLActiveInfoJs implements WebGLActiveInfo native "*WebGLActiveInfo" {
13694
13695 final String name;
13696
13697 final int size;
13698
13699 final int type;
13700 }
13701
13702 class _WebGLBufferJs implements WebGLBuffer native "*WebGLBuffer" {
13703 }
13704
13705 class _WebGLCompressedTexturesJs implements WebGLCompressedTextures native "*Web GLCompressedTextures" {
13706
13707 static final int COMPRESSED_RGBA_PVRTC_4BPPV1_IMG = 0x8C02;
13708
13709 static final int COMPRESSED_RGBA_S3TC_DXT1_EXT = 0x83F1;
13710
13711 static final int COMPRESSED_RGBA_S3TC_DXT5_EXT = 0x83F3;
13712
13713 static final int COMPRESSED_RGB_PVRTC_4BPPV1_IMG = 0x8C00;
13714
13715 static final int COMPRESSED_RGB_S3TC_DXT1_EXT = 0x83F0;
13716
13717 static final int ETC1_RGB8_OES = 0x8D64;
13718
13719 void compressedTexImage2D(int target, int level, int internalformat, int width , int height, int border, _ArrayBufferViewJs data) native;
13720
13721 void compressedTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, _ArrayBufferViewJs data) native;
13722 }
13723
13724 class _WebGLContextAttributesJs implements WebGLContextAttributes native "*WebGL ContextAttributes" {
13725
13726 bool alpha;
13727
13728 bool antialias;
13729
13730 bool depth;
13731
13732 bool premultipliedAlpha;
13733
13734 bool preserveDrawingBuffer;
13735
13736 bool stencil;
13737 }
13738
13739 class _WebGLContextEventJs extends _EventJs implements WebGLContextEvent native "*WebGLContextEvent" {
13740
13741 final String statusMessage;
13742 }
13743
13744 class _WebGLDebugRendererInfoJs implements WebGLDebugRendererInfo native "*WebGL DebugRendererInfo" {
13745
13746 static final int UNMASKED_RENDERER_WEBGL = 0x9246;
13747
13748 static final int UNMASKED_VENDOR_WEBGL = 0x9245;
13749 }
13750
13751 class _WebGLDebugShadersJs implements WebGLDebugShaders native "*WebGLDebugShade rs" {
13752
13753 String getTranslatedShaderSource(_WebGLShaderJs shader) native;
13754 }
13755
13756 class _WebGLFramebufferJs implements WebGLFramebuffer native "*WebGLFramebuffer" {
13757 }
13758
13759 class _WebGLLoseContextJs implements WebGLLoseContext native "*WebGLLoseContext" {
13760
13761 void loseContext() native;
13762
13763 void restoreContext() native;
13764 }
13765
13766 class _WebGLProgramJs implements WebGLProgram native "*WebGLProgram" {
13767 }
13768
13769 class _WebGLRenderbufferJs implements WebGLRenderbuffer native "*WebGLRenderbuff er" {
13770 }
13771
13772 class _WebGLRenderingContextJs extends _CanvasRenderingContextJs implements WebG LRenderingContext native "*WebGLRenderingContext" {
13773
13774 static final int ACTIVE_ATTRIBUTES = 0x8B89;
13775
13776 static final int ACTIVE_TEXTURE = 0x84E0;
13777
13778 static final int ACTIVE_UNIFORMS = 0x8B86;
13779
13780 static final int ALIASED_LINE_WIDTH_RANGE = 0x846E;
13781
13782 static final int ALIASED_POINT_SIZE_RANGE = 0x846D;
13783
13784 static final int ALPHA = 0x1906;
13785
13786 static final int ALPHA_BITS = 0x0D55;
13787
13788 static final int ALWAYS = 0x0207;
13789
13790 static final int ARRAY_BUFFER = 0x8892;
13791
13792 static final int ARRAY_BUFFER_BINDING = 0x8894;
13793
13794 static final int ATTACHED_SHADERS = 0x8B85;
13795
13796 static final int BACK = 0x0405;
13797
13798 static final int BLEND = 0x0BE2;
13799
13800 static final int BLEND_COLOR = 0x8005;
13801
13802 static final int BLEND_DST_ALPHA = 0x80CA;
13803
13804 static final int BLEND_DST_RGB = 0x80C8;
13805
13806 static final int BLEND_EQUATION = 0x8009;
13807
13808 static final int BLEND_EQUATION_ALPHA = 0x883D;
13809
13810 static final int BLEND_EQUATION_RGB = 0x8009;
13811
13812 static final int BLEND_SRC_ALPHA = 0x80CB;
13813
13814 static final int BLEND_SRC_RGB = 0x80C9;
13815
13816 static final int BLUE_BITS = 0x0D54;
13817
13818 static final int BOOL = 0x8B56;
13819
13820 static final int BOOL_VEC2 = 0x8B57;
13821
13822 static final int BOOL_VEC3 = 0x8B58;
13823
13824 static final int BOOL_VEC4 = 0x8B59;
13825
13826 static final int BROWSER_DEFAULT_WEBGL = 0x9244;
13827
13828 static final int BUFFER_SIZE = 0x8764;
13829
13830 static final int BUFFER_USAGE = 0x8765;
13831
13832 static final int BYTE = 0x1400;
13833
13834 static final int CCW = 0x0901;
13835
13836 static final int CLAMP_TO_EDGE = 0x812F;
13837
13838 static final int COLOR_ATTACHMENT0 = 0x8CE0;
13839
13840 static final int COLOR_BUFFER_BIT = 0x00004000;
13841
13842 static final int COLOR_CLEAR_VALUE = 0x0C22;
13843
13844 static final int COLOR_WRITEMASK = 0x0C23;
13845
13846 static final int COMPILE_STATUS = 0x8B81;
13847
13848 static final int COMPRESSED_TEXTURE_FORMATS = 0x86A3;
13849
13850 static final int CONSTANT_ALPHA = 0x8003;
13851
13852 static final int CONSTANT_COLOR = 0x8001;
13853
13854 static final int CONTEXT_LOST_WEBGL = 0x9242;
13855
13856 static final int CULL_FACE = 0x0B44;
13857
13858 static final int CULL_FACE_MODE = 0x0B45;
13859
13860 static final int CURRENT_PROGRAM = 0x8B8D;
13861
13862 static final int CURRENT_VERTEX_ATTRIB = 0x8626;
13863
13864 static final int CW = 0x0900;
13865
13866 static final int DECR = 0x1E03;
13867
13868 static final int DECR_WRAP = 0x8508;
13869
13870 static final int DELETE_STATUS = 0x8B80;
13871
13872 static final int DEPTH_ATTACHMENT = 0x8D00;
13873
13874 static final int DEPTH_BITS = 0x0D56;
13875
13876 static final int DEPTH_BUFFER_BIT = 0x00000100;
13877
13878 static final int DEPTH_CLEAR_VALUE = 0x0B73;
13879
13880 static final int DEPTH_COMPONENT = 0x1902;
13881
13882 static final int DEPTH_COMPONENT16 = 0x81A5;
13883
13884 static final int DEPTH_FUNC = 0x0B74;
13885
13886 static final int DEPTH_RANGE = 0x0B70;
13887
13888 static final int DEPTH_STENCIL = 0x84F9;
13889
13890 static final int DEPTH_STENCIL_ATTACHMENT = 0x821A;
13891
13892 static final int DEPTH_TEST = 0x0B71;
13893
13894 static final int DEPTH_WRITEMASK = 0x0B72;
13895
13896 static final int DITHER = 0x0BD0;
13897
13898 static final int DONT_CARE = 0x1100;
13899
13900 static final int DST_ALPHA = 0x0304;
13901
13902 static final int DST_COLOR = 0x0306;
13903
13904 static final int DYNAMIC_DRAW = 0x88E8;
13905
13906 static final int ELEMENT_ARRAY_BUFFER = 0x8893;
13907
13908 static final int ELEMENT_ARRAY_BUFFER_BINDING = 0x8895;
13909
13910 static final int EQUAL = 0x0202;
13911
13912 static final int FASTEST = 0x1101;
13913
13914 static final int FLOAT = 0x1406;
13915
13916 static final int FLOAT_MAT2 = 0x8B5A;
13917
13918 static final int FLOAT_MAT3 = 0x8B5B;
13919
13920 static final int FLOAT_MAT4 = 0x8B5C;
13921
13922 static final int FLOAT_VEC2 = 0x8B50;
13923
13924 static final int FLOAT_VEC3 = 0x8B51;
13925
13926 static final int FLOAT_VEC4 = 0x8B52;
13927
13928 static final int FRAGMENT_SHADER = 0x8B30;
13929
13930 static final int FRAMEBUFFER = 0x8D40;
13931
13932 static final int FRAMEBUFFER_ATTACHMENT_OBJECT_NAME = 0x8CD1;
13933
13934 static final int FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE = 0x8CD0;
13935
13936 static final int FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE = 0x8CD3;
13937
13938 static final int FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL = 0x8CD2;
13939
13940 static final int FRAMEBUFFER_BINDING = 0x8CA6;
13941
13942 static final int FRAMEBUFFER_COMPLETE = 0x8CD5;
13943
13944 static final int FRAMEBUFFER_INCOMPLETE_ATTACHMENT = 0x8CD6;
13945
13946 static final int FRAMEBUFFER_INCOMPLETE_DIMENSIONS = 0x8CD9;
13947
13948 static final int FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT = 0x8CD7;
13949
13950 static final int FRAMEBUFFER_UNSUPPORTED = 0x8CDD;
13951
13952 static final int FRONT = 0x0404;
13953
13954 static final int FRONT_AND_BACK = 0x0408;
13955
13956 static final int FRONT_FACE = 0x0B46;
13957
13958 static final int FUNC_ADD = 0x8006;
13959
13960 static final int FUNC_REVERSE_SUBTRACT = 0x800B;
13961
13962 static final int FUNC_SUBTRACT = 0x800A;
13963
13964 static final int GENERATE_MIPMAP_HINT = 0x8192;
13965
13966 static final int GEQUAL = 0x0206;
13967
13968 static final int GREATER = 0x0204;
13969
13970 static final int GREEN_BITS = 0x0D53;
13971
13972 static final int HIGH_FLOAT = 0x8DF2;
13973
13974 static final int HIGH_INT = 0x8DF5;
13975
13976 static final int INCR = 0x1E02;
13977
13978 static final int INCR_WRAP = 0x8507;
13979
13980 static final int INT = 0x1404;
13981
13982 static final int INT_VEC2 = 0x8B53;
13983
13984 static final int INT_VEC3 = 0x8B54;
13985
13986 static final int INT_VEC4 = 0x8B55;
13987
13988 static final int INVALID_ENUM = 0x0500;
13989
13990 static final int INVALID_FRAMEBUFFER_OPERATION = 0x0506;
13991
13992 static final int INVALID_OPERATION = 0x0502;
13993
13994 static final int INVALID_VALUE = 0x0501;
13995
13996 static final int INVERT = 0x150A;
13997
13998 static final int KEEP = 0x1E00;
13999
14000 static final int LEQUAL = 0x0203;
14001
14002 static final int LESS = 0x0201;
14003
14004 static final int LINEAR = 0x2601;
14005
14006 static final int LINEAR_MIPMAP_LINEAR = 0x2703;
14007
14008 static final int LINEAR_MIPMAP_NEAREST = 0x2701;
14009
14010 static final int LINES = 0x0001;
14011
14012 static final int LINE_LOOP = 0x0002;
14013
14014 static final int LINE_STRIP = 0x0003;
14015
14016 static final int LINE_WIDTH = 0x0B21;
14017
14018 static final int LINK_STATUS = 0x8B82;
14019
14020 static final int LOW_FLOAT = 0x8DF0;
14021
14022 static final int LOW_INT = 0x8DF3;
14023
14024 static final int LUMINANCE = 0x1909;
14025
14026 static final int LUMINANCE_ALPHA = 0x190A;
14027
14028 static final int MAX_COMBINED_TEXTURE_IMAGE_UNITS = 0x8B4D;
14029
14030 static final int MAX_CUBE_MAP_TEXTURE_SIZE = 0x851C;
14031
14032 static final int MAX_FRAGMENT_UNIFORM_VECTORS = 0x8DFD;
14033
14034 static final int MAX_RENDERBUFFER_SIZE = 0x84E8;
14035
14036 static final int MAX_TEXTURE_IMAGE_UNITS = 0x8872;
14037
14038 static final int MAX_TEXTURE_SIZE = 0x0D33;
14039
14040 static final int MAX_VARYING_VECTORS = 0x8DFC;
14041
14042 static final int MAX_VERTEX_ATTRIBS = 0x8869;
14043
14044 static final int MAX_VERTEX_TEXTURE_IMAGE_UNITS = 0x8B4C;
14045
14046 static final int MAX_VERTEX_UNIFORM_VECTORS = 0x8DFB;
14047
14048 static final int MAX_VIEWPORT_DIMS = 0x0D3A;
14049
14050 static final int MEDIUM_FLOAT = 0x8DF1;
14051
14052 static final int MEDIUM_INT = 0x8DF4;
14053
14054 static final int MIRRORED_REPEAT = 0x8370;
14055
14056 static final int NEAREST = 0x2600;
14057
14058 static final int NEAREST_MIPMAP_LINEAR = 0x2702;
14059
14060 static final int NEAREST_MIPMAP_NEAREST = 0x2700;
14061
14062 static final int NEVER = 0x0200;
14063
14064 static final int NICEST = 0x1102;
14065
14066 static final int NONE = 0;
14067
14068 static final int NOTEQUAL = 0x0205;
14069
14070 static final int NO_ERROR = 0;
14071
14072 static final int NUM_COMPRESSED_TEXTURE_FORMATS = 0x86A2;
14073
14074 static final int ONE = 1;
14075
14076 static final int ONE_MINUS_CONSTANT_ALPHA = 0x8004;
14077
14078 static final int ONE_MINUS_CONSTANT_COLOR = 0x8002;
14079
14080 static final int ONE_MINUS_DST_ALPHA = 0x0305;
14081
14082 static final int ONE_MINUS_DST_COLOR = 0x0307;
14083
14084 static final int ONE_MINUS_SRC_ALPHA = 0x0303;
14085
14086 static final int ONE_MINUS_SRC_COLOR = 0x0301;
14087
14088 static final int OUT_OF_MEMORY = 0x0505;
14089
14090 static final int PACK_ALIGNMENT = 0x0D05;
14091
14092 static final int POINTS = 0x0000;
14093
14094 static final int POLYGON_OFFSET_FACTOR = 0x8038;
14095
14096 static final int POLYGON_OFFSET_FILL = 0x8037;
14097
14098 static final int POLYGON_OFFSET_UNITS = 0x2A00;
14099
14100 static final int RED_BITS = 0x0D52;
14101
14102 static final int RENDERBUFFER = 0x8D41;
14103
14104 static final int RENDERBUFFER_ALPHA_SIZE = 0x8D53;
14105
14106 static final int RENDERBUFFER_BINDING = 0x8CA7;
14107
14108 static final int RENDERBUFFER_BLUE_SIZE = 0x8D52;
14109
14110 static final int RENDERBUFFER_DEPTH_SIZE = 0x8D54;
14111
14112 static final int RENDERBUFFER_GREEN_SIZE = 0x8D51;
14113
14114 static final int RENDERBUFFER_HEIGHT = 0x8D43;
14115
14116 static final int RENDERBUFFER_INTERNAL_FORMAT = 0x8D44;
14117
14118 static final int RENDERBUFFER_RED_SIZE = 0x8D50;
14119
14120 static final int RENDERBUFFER_STENCIL_SIZE = 0x8D55;
14121
14122 static final int RENDERBUFFER_WIDTH = 0x8D42;
14123
14124 static final int RENDERER = 0x1F01;
14125
14126 static final int REPEAT = 0x2901;
14127
14128 static final int REPLACE = 0x1E01;
14129
14130 static final int RGB = 0x1907;
14131
14132 static final int RGB565 = 0x8D62;
14133
14134 static final int RGB5_A1 = 0x8057;
14135
14136 static final int RGBA = 0x1908;
14137
14138 static final int RGBA4 = 0x8056;
14139
14140 static final int SAMPLER_2D = 0x8B5E;
14141
14142 static final int SAMPLER_CUBE = 0x8B60;
14143
14144 static final int SAMPLES = 0x80A9;
14145
14146 static final int SAMPLE_ALPHA_TO_COVERAGE = 0x809E;
14147
14148 static final int SAMPLE_BUFFERS = 0x80A8;
14149
14150 static final int SAMPLE_COVERAGE = 0x80A0;
14151
14152 static final int SAMPLE_COVERAGE_INVERT = 0x80AB;
14153
14154 static final int SAMPLE_COVERAGE_VALUE = 0x80AA;
14155
14156 static final int SCISSOR_BOX = 0x0C10;
14157
14158 static final int SCISSOR_TEST = 0x0C11;
14159
14160 static final int SHADER_COMPILER = 0x8DFA;
14161
14162 static final int SHADER_TYPE = 0x8B4F;
14163
14164 static final int SHADING_LANGUAGE_VERSION = 0x8B8C;
14165
14166 static final int SHORT = 0x1402;
14167
14168 static final int SRC_ALPHA = 0x0302;
14169
14170 static final int SRC_ALPHA_SATURATE = 0x0308;
14171
14172 static final int SRC_COLOR = 0x0300;
14173
14174 static final int STATIC_DRAW = 0x88E4;
14175
14176 static final int STENCIL_ATTACHMENT = 0x8D20;
14177
14178 static final int STENCIL_BACK_FAIL = 0x8801;
14179
14180 static final int STENCIL_BACK_FUNC = 0x8800;
14181
14182 static final int STENCIL_BACK_PASS_DEPTH_FAIL = 0x8802;
14183
14184 static final int STENCIL_BACK_PASS_DEPTH_PASS = 0x8803;
14185
14186 static final int STENCIL_BACK_REF = 0x8CA3;
14187
14188 static final int STENCIL_BACK_VALUE_MASK = 0x8CA4;
14189
14190 static final int STENCIL_BACK_WRITEMASK = 0x8CA5;
14191
14192 static final int STENCIL_BITS = 0x0D57;
14193
14194 static final int STENCIL_BUFFER_BIT = 0x00000400;
14195
14196 static final int STENCIL_CLEAR_VALUE = 0x0B91;
14197
14198 static final int STENCIL_FAIL = 0x0B94;
14199
14200 static final int STENCIL_FUNC = 0x0B92;
14201
14202 static final int STENCIL_INDEX = 0x1901;
14203
14204 static final int STENCIL_INDEX8 = 0x8D48;
14205
14206 static final int STENCIL_PASS_DEPTH_FAIL = 0x0B95;
14207
14208 static final int STENCIL_PASS_DEPTH_PASS = 0x0B96;
14209
14210 static final int STENCIL_REF = 0x0B97;
14211
14212 static final int STENCIL_TEST = 0x0B90;
14213
14214 static final int STENCIL_VALUE_MASK = 0x0B93;
14215
14216 static final int STENCIL_WRITEMASK = 0x0B98;
14217
14218 static final int STREAM_DRAW = 0x88E0;
14219
14220 static final int SUBPIXEL_BITS = 0x0D50;
14221
14222 static final int TEXTURE = 0x1702;
14223
14224 static final int TEXTURE0 = 0x84C0;
14225
14226 static final int TEXTURE1 = 0x84C1;
14227
14228 static final int TEXTURE10 = 0x84CA;
14229
14230 static final int TEXTURE11 = 0x84CB;
14231
14232 static final int TEXTURE12 = 0x84CC;
14233
14234 static final int TEXTURE13 = 0x84CD;
14235
14236 static final int TEXTURE14 = 0x84CE;
14237
14238 static final int TEXTURE15 = 0x84CF;
14239
14240 static final int TEXTURE16 = 0x84D0;
14241
14242 static final int TEXTURE17 = 0x84D1;
14243
14244 static final int TEXTURE18 = 0x84D2;
14245
14246 static final int TEXTURE19 = 0x84D3;
14247
14248 static final int TEXTURE2 = 0x84C2;
14249
14250 static final int TEXTURE20 = 0x84D4;
14251
14252 static final int TEXTURE21 = 0x84D5;
14253
14254 static final int TEXTURE22 = 0x84D6;
14255
14256 static final int TEXTURE23 = 0x84D7;
14257
14258 static final int TEXTURE24 = 0x84D8;
14259
14260 static final int TEXTURE25 = 0x84D9;
14261
14262 static final int TEXTURE26 = 0x84DA;
14263
14264 static final int TEXTURE27 = 0x84DB;
14265
14266 static final int TEXTURE28 = 0x84DC;
14267
14268 static final int TEXTURE29 = 0x84DD;
14269
14270 static final int TEXTURE3 = 0x84C3;
14271
14272 static final int TEXTURE30 = 0x84DE;
14273
14274 static final int TEXTURE31 = 0x84DF;
14275
14276 static final int TEXTURE4 = 0x84C4;
14277
14278 static final int TEXTURE5 = 0x84C5;
14279
14280 static final int TEXTURE6 = 0x84C6;
14281
14282 static final int TEXTURE7 = 0x84C7;
14283
14284 static final int TEXTURE8 = 0x84C8;
14285
14286 static final int TEXTURE9 = 0x84C9;
14287
14288 static final int TEXTURE_2D = 0x0DE1;
14289
14290 static final int TEXTURE_BINDING_2D = 0x8069;
14291
14292 static final int TEXTURE_BINDING_CUBE_MAP = 0x8514;
14293
14294 static final int TEXTURE_CUBE_MAP = 0x8513;
14295
14296 static final int TEXTURE_CUBE_MAP_NEGATIVE_X = 0x8516;
14297
14298 static final int TEXTURE_CUBE_MAP_NEGATIVE_Y = 0x8518;
14299
14300 static final int TEXTURE_CUBE_MAP_NEGATIVE_Z = 0x851A;
14301
14302 static final int TEXTURE_CUBE_MAP_POSITIVE_X = 0x8515;
14303
14304 static final int TEXTURE_CUBE_MAP_POSITIVE_Y = 0x8517;
14305
14306 static final int TEXTURE_CUBE_MAP_POSITIVE_Z = 0x8519;
14307
14308 static final int TEXTURE_MAG_FILTER = 0x2800;
14309
14310 static final int TEXTURE_MIN_FILTER = 0x2801;
14311
14312 static final int TEXTURE_WRAP_S = 0x2802;
14313
14314 static final int TEXTURE_WRAP_T = 0x2803;
14315
14316 static final int TRIANGLES = 0x0004;
14317
14318 static final int TRIANGLE_FAN = 0x0006;
14319
14320 static final int TRIANGLE_STRIP = 0x0005;
14321
14322 static final int UNPACK_ALIGNMENT = 0x0CF5;
14323
14324 static final int UNPACK_COLORSPACE_CONVERSION_WEBGL = 0x9243;
14325
14326 static final int UNPACK_FLIP_Y_WEBGL = 0x9240;
14327
14328 static final int UNPACK_PREMULTIPLY_ALPHA_WEBGL = 0x9241;
14329
14330 static final int UNSIGNED_BYTE = 0x1401;
14331
14332 static final int UNSIGNED_INT = 0x1405;
14333
14334 static final int UNSIGNED_SHORT = 0x1403;
14335
14336 static final int UNSIGNED_SHORT_4_4_4_4 = 0x8033;
14337
14338 static final int UNSIGNED_SHORT_5_5_5_1 = 0x8034;
14339
14340 static final int UNSIGNED_SHORT_5_6_5 = 0x8363;
14341
14342 static final int VALIDATE_STATUS = 0x8B83;
14343
14344 static final int VENDOR = 0x1F00;
14345
14346 static final int VERSION = 0x1F02;
14347
14348 static final int VERTEX_ATTRIB_ARRAY_BUFFER_BINDING = 0x889F;
14349
14350 static final int VERTEX_ATTRIB_ARRAY_ENABLED = 0x8622;
14351
14352 static final int VERTEX_ATTRIB_ARRAY_NORMALIZED = 0x886A;
14353
14354 static final int VERTEX_ATTRIB_ARRAY_POINTER = 0x8645;
14355
14356 static final int VERTEX_ATTRIB_ARRAY_SIZE = 0x8623;
14357
14358 static final int VERTEX_ATTRIB_ARRAY_STRIDE = 0x8624;
14359
14360 static final int VERTEX_ATTRIB_ARRAY_TYPE = 0x8625;
14361
14362 static final int VERTEX_SHADER = 0x8B31;
14363
14364 static final int VIEWPORT = 0x0BA2;
14365
14366 static final int ZERO = 0;
14367
14368 final int drawingBufferHeight;
14369
14370 final int drawingBufferWidth;
14371
14372 void activeTexture(int texture) native;
14373
14374 void attachShader(_WebGLProgramJs program, _WebGLShaderJs shader) native;
14375
14376 void bindAttribLocation(_WebGLProgramJs program, int index, String name) nativ e;
14377
14378 void bindBuffer(int target, _WebGLBufferJs buffer) native;
14379
14380 void bindFramebuffer(int target, _WebGLFramebufferJs framebuffer) native;
14381
14382 void bindRenderbuffer(int target, _WebGLRenderbufferJs renderbuffer) native;
14383
14384 void bindTexture(int target, _WebGLTextureJs texture) native;
14385
14386 void blendColor(num red, num green, num blue, num alpha) native;
14387
14388 void blendEquation(int mode) native;
14389
14390 void blendEquationSeparate(int modeRGB, int modeAlpha) native;
14391
14392 void blendFunc(int sfactor, int dfactor) native;
14393
14394 void blendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) nat ive;
14395
14396 void bufferData(int target, var data_OR_size, int usage) native;
14397
14398 void bufferSubData(int target, int offset, var data) native;
14399
14400 int checkFramebufferStatus(int target) native;
14401
14402 void clear(int mask) native;
14403
14404 void clearColor(num red, num green, num blue, num alpha) native;
14405
14406 void clearDepth(num depth) native;
14407
14408 void clearStencil(int s) native;
14409
14410 void colorMask(bool red, bool green, bool blue, bool alpha) native;
14411
14412 void compileShader(_WebGLShaderJs shader) native;
14413
14414 void compressedTexImage2D(int target, int level, int internalformat, int width , int height, int border, _ArrayBufferViewJs data) native;
14415
14416 void compressedTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, _ArrayBufferViewJs data) native;
14417
14418 void copyTexImage2D(int target, int level, int internalformat, int x, int y, i nt width, int height, int border) native;
14419
14420 void copyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x, int y, int width, int height) native;
14421
14422 _WebGLBufferJs createBuffer() native;
14423
14424 _WebGLFramebufferJs createFramebuffer() native;
14425
14426 _WebGLProgramJs createProgram() native;
14427
14428 _WebGLRenderbufferJs createRenderbuffer() native;
14429
14430 _WebGLShaderJs createShader(int type) native;
14431
14432 _WebGLTextureJs createTexture() native;
14433
14434 void cullFace(int mode) native;
14435
14436 void deleteBuffer(_WebGLBufferJs buffer) native;
14437
14438 void deleteFramebuffer(_WebGLFramebufferJs framebuffer) native;
14439
14440 void deleteProgram(_WebGLProgramJs program) native;
14441
14442 void deleteRenderbuffer(_WebGLRenderbufferJs renderbuffer) native;
14443
14444 void deleteShader(_WebGLShaderJs shader) native;
14445
14446 void deleteTexture(_WebGLTextureJs texture) native;
14447
14448 void depthFunc(int func) native;
14449
14450 void depthMask(bool flag) native;
14451
14452 void depthRange(num zNear, num zFar) native;
14453
14454 void detachShader(_WebGLProgramJs program, _WebGLShaderJs shader) native;
14455
14456 void disable(int cap) native;
14457
14458 void disableVertexAttribArray(int index) native;
14459
14460 void drawArrays(int mode, int first, int count) native;
14461
14462 void drawElements(int mode, int count, int type, int offset) native;
14463
14464 void enable(int cap) native;
14465
14466 void enableVertexAttribArray(int index) native;
14467
14468 void finish() native;
14469
14470 void flush() native;
14471
14472 void framebufferRenderbuffer(int target, int attachment, int renderbuffertarge t, _WebGLRenderbufferJs renderbuffer) native;
14473
14474 void framebufferTexture2D(int target, int attachment, int textarget, _WebGLTex tureJs texture, int level) native;
14475
14476 void frontFace(int mode) native;
14477
14478 void generateMipmap(int target) native;
14479
14480 _WebGLActiveInfoJs getActiveAttrib(_WebGLProgramJs program, int index) native;
14481
14482 _WebGLActiveInfoJs getActiveUniform(_WebGLProgramJs program, int index) native ;
14483
14484 List getAttachedShaders(_WebGLProgramJs program) native;
14485
14486 int getAttribLocation(_WebGLProgramJs program, String name) native;
14487
14488 Object getBufferParameter(int target, int pname) native;
14489
14490 _WebGLContextAttributesJs getContextAttributes() native;
14491
14492 int getError() native;
14493
14494 Object getExtension(String name) native;
14495
14496 Object getFramebufferAttachmentParameter(int target, int attachment, int pname ) native;
14497
14498 Object getParameter(int pname) native;
14499
14500 String getProgramInfoLog(_WebGLProgramJs program) native;
14501
14502 Object getProgramParameter(_WebGLProgramJs program, int pname) native;
14503
14504 Object getRenderbufferParameter(int target, int pname) native;
14505
14506 String getShaderInfoLog(_WebGLShaderJs shader) native;
14507
14508 Object getShaderParameter(_WebGLShaderJs shader, int pname) native;
14509
14510 String getShaderSource(_WebGLShaderJs shader) native;
14511
14512 Object getTexParameter(int target, int pname) native;
14513
14514 Object getUniform(_WebGLProgramJs program, _WebGLUniformLocationJs location) n ative;
14515
14516 _WebGLUniformLocationJs getUniformLocation(_WebGLProgramJs program, String nam e) native;
14517
14518 Object getVertexAttrib(int index, int pname) native;
14519
14520 int getVertexAttribOffset(int index, int pname) native;
14521
14522 void hint(int target, int mode) native;
14523
14524 bool isBuffer(_WebGLBufferJs buffer) native;
14525
14526 bool isContextLost() native;
14527
14528 bool isEnabled(int cap) native;
14529
14530 bool isFramebuffer(_WebGLFramebufferJs framebuffer) native;
14531
14532 bool isProgram(_WebGLProgramJs program) native;
14533
14534 bool isRenderbuffer(_WebGLRenderbufferJs renderbuffer) native;
14535
14536 bool isShader(_WebGLShaderJs shader) native;
14537
14538 bool isTexture(_WebGLTextureJs texture) native;
14539
14540 void lineWidth(num width) native;
14541
14542 void linkProgram(_WebGLProgramJs program) native;
14543
14544 void pixelStorei(int pname, int param) native;
14545
14546 void polygonOffset(num factor, num units) native;
14547
14548 void readPixels(int x, int y, int width, int height, int format, int type, _Ar rayBufferViewJs pixels) native;
14549
14550 void releaseShaderCompiler() native;
14551
14552 void renderbufferStorage(int target, int internalformat, int width, int height ) native;
14553
14554 void sampleCoverage(num value, bool invert) native;
14555
14556 void scissor(int x, int y, int width, int height) native;
14557
14558 void shaderSource(_WebGLShaderJs shader, String string) native;
14559
14560 void stencilFunc(int func, int ref, int mask) native;
14561
14562 void stencilFuncSeparate(int face, int func, int ref, int mask) native;
14563
14564 void stencilMask(int mask) native;
14565
14566 void stencilMaskSeparate(int face, int mask) native;
14567
14568 void stencilOp(int fail, int zfail, int zpass) native;
14569
14570 void stencilOpSeparate(int face, int fail, int zfail, int zpass) native;
14571
14572 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;
14573
14574 void texParameterf(int target, int pname, num param) native;
14575
14576 void texParameteri(int target, int pname, int param) native;
14577
14578 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;
14579
14580 void uniform1f(_WebGLUniformLocationJs location, num x) native;
14581
14582 void uniform1fv(_WebGLUniformLocationJs location, _Float32ArrayJs v) native;
14583
14584 void uniform1i(_WebGLUniformLocationJs location, int x) native;
14585
14586 void uniform1iv(_WebGLUniformLocationJs location, _Int32ArrayJs v) native;
14587
14588 void uniform2f(_WebGLUniformLocationJs location, num x, num y) native;
14589
14590 void uniform2fv(_WebGLUniformLocationJs location, _Float32ArrayJs v) native;
14591
14592 void uniform2i(_WebGLUniformLocationJs location, int x, int y) native;
14593
14594 void uniform2iv(_WebGLUniformLocationJs location, _Int32ArrayJs v) native;
14595
14596 void uniform3f(_WebGLUniformLocationJs location, num x, num y, num z) native;
14597
14598 void uniform3fv(_WebGLUniformLocationJs location, _Float32ArrayJs v) native;
14599
14600 void uniform3i(_WebGLUniformLocationJs location, int x, int y, int z) native;
14601
14602 void uniform3iv(_WebGLUniformLocationJs location, _Int32ArrayJs v) native;
14603
14604 void uniform4f(_WebGLUniformLocationJs location, num x, num y, num z, num w) n ative;
14605
14606 void uniform4fv(_WebGLUniformLocationJs location, _Float32ArrayJs v) native;
14607
14608 void uniform4i(_WebGLUniformLocationJs location, int x, int y, int z, int w) n ative;
14609
14610 void uniform4iv(_WebGLUniformLocationJs location, _Int32ArrayJs v) native;
14611
14612 void uniformMatrix2fv(_WebGLUniformLocationJs location, bool transpose, _Float 32ArrayJs array) native;
14613
14614 void uniformMatrix3fv(_WebGLUniformLocationJs location, bool transpose, _Float 32ArrayJs array) native;
14615
14616 void uniformMatrix4fv(_WebGLUniformLocationJs location, bool transpose, _Float 32ArrayJs array) native;
14617
14618 void useProgram(_WebGLProgramJs program) native;
14619
14620 void validateProgram(_WebGLProgramJs program) native;
14621
14622 void vertexAttrib1f(int indx, num x) native;
14623
14624 void vertexAttrib1fv(int indx, _Float32ArrayJs values) native;
14625
14626 void vertexAttrib2f(int indx, num x, num y) native;
14627
14628 void vertexAttrib2fv(int indx, _Float32ArrayJs values) native;
14629
14630 void vertexAttrib3f(int indx, num x, num y, num z) native;
14631
14632 void vertexAttrib3fv(int indx, _Float32ArrayJs values) native;
14633
14634 void vertexAttrib4f(int indx, num x, num y, num z, num w) native;
14635
14636 void vertexAttrib4fv(int indx, _Float32ArrayJs values) native;
14637
14638 void vertexAttribPointer(int indx, int size, int type, bool normalized, int st ride, int offset) native;
14639
14640 void viewport(int x, int y, int width, int height) native;
14641 }
14642
14643 class _WebGLShaderJs implements WebGLShader native "*WebGLShader" {
14644 }
14645
14646 class _WebGLTextureJs implements WebGLTexture native "*WebGLTexture" {
14647 }
14648
14649 class _WebGLUniformLocationJs implements WebGLUniformLocation native "*WebGLUnif ormLocation" {
14650 }
14651
14652 class _WebGLVertexArrayObjectOESJs implements WebGLVertexArrayObjectOES native " *WebGLVertexArrayObjectOES" {
14653 }
14654
14655 class _WebKitCSSRegionRuleJs extends _CSSRuleJs implements WebKitCSSRegionRule n ative "*WebKitCSSRegionRule" {
14656
14657 final _CSSRuleListJs cssRules;
14658 }
14659
14660 class _WebKitNamedFlowJs implements WebKitNamedFlow native "*WebKitNamedFlow" {
14661 }
14662
14663 class _WebSocketJs implements WebSocket native "*WebSocket" {
14664
14665 static final int CLOSED = 3;
14666
14667 static final int CLOSING = 2;
14668
14669 static final int CONNECTING = 0;
14670
14671 static final int OPEN = 1;
14672
14673 final String URL;
14674
14675 String binaryType;
14676
14677 final int bufferedAmount;
14678
14679 final String extensions;
14680
14681 final String protocol;
14682
14683 final int readyState;
14684
14685 final String url;
14686
14687 _WebSocketEventsImpl get on() =>
14688 new _WebSocketEventsImpl(this);
14689
14690 void _addEventListener(String type, EventListener listener, [bool useCapture = null]) native "this.addEventListener(type, listener, useCapture);";
14691
14692 void close([int code = null, String reason = null]) native;
14693
14694 bool _dispatchEvent(_EventJs evt) native "return this.dispatchEvent(evt);";
14695
14696 void _removeEventListener(String type, EventListener listener, [bool useCaptur e = null]) native "this.removeEventListener(type, listener, useCapture);";
14697
14698 bool send(String data) native;
14699 }
14700
14701 class _WebSocketEventsImpl extends _EventsImpl implements WebSocketEvents {
14702 _WebSocketEventsImpl(_ptr) : super(_ptr);
14703
14704 EventListenerList get close() => _get('close');
14705
14706 EventListenerList get error() => _get('error');
14707
14708 EventListenerList get message() => _get('message');
14709
14710 EventListenerList get open() => _get('open');
14711 }
14712
14713 class _WheelEventJs extends _UIEventJs implements WheelEvent native "*WheelEvent " {
14714
14715 final bool altKey;
14716
14717 final int clientX;
14718
14719 final int clientY;
14720
14721 final bool ctrlKey;
14722
14723 final bool metaKey;
14724
14725 final int offsetX;
14726
14727 final int offsetY;
14728
14729 final int screenX;
14730
14731 final int screenY;
14732
14733 final bool shiftKey;
14734
14735 final bool webkitDirectionInvertedFromDevice;
14736
14737 final int wheelDelta;
14738
14739 final int wheelDeltaX;
14740
14741 final int wheelDeltaY;
14742
14743 final int x;
14744
14745 final int y;
14746
14747 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;
14748 }
14749 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14750 // for details. All rights reserved. Use of this source code is governed by a
14751 // BSD-style license that can be found in the LICENSE file.
14752
14753 typedef Object ComputeValue();
14754
14755 class _MeasurementRequest<T> {
14756 final ComputeValue computeValue;
14757 final Completer<T> completer;
14758 Object value;
14759 bool exception = false;
14760 _MeasurementRequest(this.computeValue, this.completer);
14761 }
14762
14763 final _MEASUREMENT_MESSAGE = "DART-MEASURE";
14764 List<_MeasurementRequest> _pendingRequests;
14765 List<TimeoutHandler> _pendingMeasurementFrameCallbacks;
14766 bool _nextMeasurementFrameScheduled = false;
14767 bool _firstMeasurementRequest = true;
14768
14769 void _maybeScheduleMeasurementFrame() {
14770 if (_nextMeasurementFrameScheduled) return;
14771
14772 _nextMeasurementFrameScheduled = true;
14773 // postMessage gives us a way to receive a callback after the current
14774 // event listener has unwound but before the browser has repainted.
14775 if (_firstMeasurementRequest) {
14776 // Messages from other windows do not cause a security risk as
14777 // all we care about is that _onCompleteMeasurementRequests is called
14778 // after the current event loop is unwound and calling the function is
14779 // a noop when zero requests are pending.
14780 window.on.message.add((e) => _completeMeasurementFutures());
14781 _firstMeasurementRequest = false;
14782 }
14783
14784 // TODO(jacobr): other mechanisms such as setImmediate and
14785 // requestAnimationFrame may work better of platforms that support them.
14786 // The key is we need a way to execute code immediately after the current
14787 // event listener queue unwinds.
14788 window.postMessage(_MEASUREMENT_MESSAGE, "*");
14789 }
14790
14791 /**
14792 * Registers a [callback] which is called after the next batch of measurements
14793 * completes. Even if no measurements completed, the callback is triggered
14794 * when they would have completed to avoid confusing bugs if it happened that
14795 * no measurements were actually requested.
14796 */
14797 void _addMeasurementFrameCallback(TimeoutHandler callback) {
14798 if (_pendingMeasurementFrameCallbacks === null) {
14799 _pendingMeasurementFrameCallbacks = <TimeoutHandler>[];
14800 _maybeScheduleMeasurementFrame();
14801 }
14802 _pendingMeasurementFrameCallbacks.add(callback);
14803 }
14804
14805 /**
14806 * Returns a [Future] whose value will be the result of evaluating
14807 * [computeValue] during the next safe measurement interval.
14808 * The next safe measurement interval is after the current event loop has
14809 * unwound but before the browser has rendered the page.
14810 * It is important that the [computeValue] function only queries the html
14811 * layout and html in any way.
14812 */
14813 Future _createMeasurementFuture(ComputeValue computeValue,
14814 Completer completer) {
14815 if (_pendingRequests === null) {
14816 _pendingRequests = <_MeasurementRequest>[];
14817 _maybeScheduleMeasurementFrame();
14818 }
14819 _pendingRequests.add(new _MeasurementRequest(computeValue, completer));
14820 return completer.future;
14821 }
14822
14823 /**
14824 * Complete all pending measurement futures evaluating them in a single batch
14825 * so that the the browser is guaranteed to avoid multiple layouts.
14826 */
14827 void _completeMeasurementFutures() {
14828 if (_nextMeasurementFrameScheduled == false) {
14829 // Ignore spurious call to this function.
14830 return;
14831 }
14832
14833 _nextMeasurementFrameScheduled = false;
14834 // We must compute all new values before fulfilling the futures as
14835 // the onComplete callbacks for the futures could modify the DOM making
14836 // subsequent measurement calculations expensive to compute.
14837 if (_pendingRequests !== null) {
14838 for (_MeasurementRequest request in _pendingRequests) {
14839 try {
14840 request.value = request.computeValue();
14841 } catch(var e) {
14842 request.value = e;
14843 request.exception = true;
14844 }
14845 }
14846 }
14847
14848 final completedRequests = _pendingRequests;
14849 final readyMeasurementFrameCallbacks = _pendingMeasurementFrameCallbacks;
14850 _pendingRequests = null;
14851 _pendingMeasurementFrameCallbacks = null;
14852 if (completedRequests !== null) {
14853 for (_MeasurementRequest request in completedRequests) {
14854 if (request.exception) {
14855 request.completer.completeException(request.value);
14856 } else {
14857 request.completer.complete(request.value);
14858 }
14859 }
14860 }
14861
14862 if (readyMeasurementFrameCallbacks !== null) {
14863 for (TimeoutHandler handler in readyMeasurementFrameCallbacks) {
14864 // TODO(jacobr): wrap each call to a handler in a try-catch block.
14865 handler();
14866 }
14867 }
14868 }
14869
14870 class _WindowJs implements Window native "@*DOMWindow" {
14871
14872 _DocumentJs get document() native "return this.document.documentElement;";
14873
14874 void requestLayoutFrame(TimeoutHandler callback) {
14875 _addMeasurementFrameCallback(callback);
14876 }
14877
14878
14879 static final int PERSISTENT = 1;
14880
14881 static final int TEMPORARY = 0;
14882
14883 final _DOMApplicationCacheJs applicationCache;
14884
14885 _NavigatorJs clientInformation;
14886
14887 final bool closed;
14888
14889 _ConsoleJs console;
14890
14891 final _CryptoJs crypto;
14892
14893 String defaultStatus;
14894
14895 String defaultstatus;
14896
14897 num devicePixelRatio;
14898
14899 _EventJs event;
14900
14901 final _ElementJs frameElement;
14902
14903 _WindowJs frames;
14904
14905 _HistoryJs history;
14906
14907 int innerHeight;
14908
14909 int innerWidth;
14910
14911 int length;
14912
14913 final _StorageJs localStorage;
14914
14915 _LocationJs location;
14916
14917 _BarInfoJs locationbar;
14918
14919 _BarInfoJs menubar;
14920
14921 String name;
14922
14923 _NavigatorJs navigator;
14924
14925 bool offscreenBuffering;
14926
14927 _WindowJs opener;
14928
14929 int outerHeight;
14930
14931 int outerWidth;
14932
14933 final int pageXOffset;
14934
14935 final int pageYOffset;
14936
14937 _WindowJs parent;
14938
14939 _PerformanceJs performance;
14940
14941 _BarInfoJs personalbar;
14942
14943 _ScreenJs screen;
14944
14945 int screenLeft;
14946
14947 int screenTop;
14948
14949 int screenX;
14950
14951 int screenY;
14952
14953 int scrollX;
14954
14955 int scrollY;
14956
14957 _BarInfoJs scrollbars;
14958
14959 _WindowJs self;
14960
14961 final _StorageJs sessionStorage;
14962
14963 String status;
14964
14965 _BarInfoJs statusbar;
14966
14967 final _StyleMediaJs styleMedia;
14968
14969 _BarInfoJs toolbar;
14970
14971 _WindowJs top;
14972
14973 final _IDBFactoryJs webkitIndexedDB;
14974
14975 final _NotificationCenterJs webkitNotifications;
14976
14977 final _StorageInfoJs webkitStorageInfo;
14978
14979 final _DOMURLJs webkitURL;
14980
14981 final _WindowJs window;
14982
14983 _WindowEventsImpl get on() =>
14984 new _WindowEventsImpl(this);
14985
14986 void _addEventListener(String type, EventListener listener, [bool useCapture = null]) native "this.addEventListener(type, listener, useCapture);";
14987
14988 void alert(String message) native;
14989
14990 String atob(String string) native;
14991
14992 void blur() native;
14993
14994 String btoa(String string) native;
14995
14996 void captureEvents() native;
14997
14998 void clearInterval(int handle) native;
14999
15000 void clearTimeout(int handle) native;
15001
15002 void close() native;
15003
15004 bool confirm(String message) native;
15005
15006 bool _dispatchEvent(_EventJs evt) native "return this.dispatchEvent(evt);";
15007
15008 bool find(String string, bool caseSensitive, bool backwards, bool wrap, bool w holeWord, bool searchInFrames, bool showDialog) native;
15009
15010 void focus() native;
15011
15012 _CSSStyleDeclarationJs _getComputedStyle(_ElementJs element, String pseudoElem ent) native "return this.getComputedStyle(element, pseudoElement);";
15013
15014 _CSSRuleListJs getMatchedCSSRules(_ElementJs element, String pseudoElement) na tive;
15015
15016 _DOMSelectionJs getSelection() native;
15017
15018 _MediaQueryListJs matchMedia(String query) native;
15019
15020 void moveBy(num x, num y) native;
15021
15022 void moveTo(num x, num y) native;
15023
15024 _WindowJs open(String url, String name, [String options = null]) native;
15025
15026 _DatabaseJs openDatabase(String name, String version, String displayName, int estimatedSize, [DatabaseCallback creationCallback = null]) native;
15027
15028 void postMessage(Dynamic message, String targetOrigin, [List messagePorts = nu ll]) native;
15029
15030 void print() native;
15031
15032 String prompt(String message, String defaultValue) native;
15033
15034 void releaseEvents() native;
15035
15036 void _removeEventListener(String type, EventListener listener, [bool useCaptur e = null]) native "this.removeEventListener(type, listener, useCapture);";
15037
15038 void resizeBy(num x, num y) native;
15039
15040 void resizeTo(num width, num height) native;
15041
15042 void scroll(int x, int y) native;
15043
15044 void scrollBy(int x, int y) native;
15045
15046 void scrollTo(int x, int y) native;
15047
15048 int setInterval(TimeoutHandler handler, int timeout) native;
15049
15050 int setTimeout(TimeoutHandler handler, int timeout) native;
15051
15052 Object showModalDialog(String url, [Object dialogArgs = null, String featureAr gs = null]) native;
15053
15054 void stop() native;
15055
15056 void webkitCancelAnimationFrame(int id) native;
15057
15058 void webkitCancelRequestAnimationFrame(int id) native;
15059
15060 _PointJs webkitConvertPointFromNodeToPage(_NodeJs node, _PointJs p) native;
15061
15062 _PointJs webkitConvertPointFromPageToNode(_NodeJs node, _PointJs p) native;
15063
15064 void webkitPostMessage(Dynamic message, String targetOrigin, [List transferLis t = null]) native;
15065
15066 int webkitRequestAnimationFrame(RequestAnimationFrameCallback callback, _Eleme ntJs element) native;
15067
15068 void webkitRequestFileSystem(int type, int size, FileSystemCallback successCal lback, [ErrorCallback errorCallback = null]) native;
15069
15070 void webkitResolveLocalFileSystemURL(String url, [EntryCallback successCallbac k = null, ErrorCallback errorCallback = null]) native;
15071
15072 }
15073
15074 class _WindowEventsImpl extends _EventsImpl implements WindowEvents {
15075 _WindowEventsImpl(_ptr) : super(_ptr);
15076
15077 EventListenerList get abort() => _get('abort');
15078
15079 EventListenerList get animationEnd() => _get('webkitAnimationEnd');
15080
15081 EventListenerList get animationIteration() => _get('webkitAnimationIteration') ;
15082
15083 EventListenerList get animationStart() => _get('webkitAnimationStart');
15084
15085 EventListenerList get beforeUnload() => _get('beforeunload');
15086
15087 EventListenerList get blur() => _get('blur');
15088
15089 EventListenerList get canPlay() => _get('canplay');
15090
15091 EventListenerList get canPlayThrough() => _get('canplaythrough');
15092
15093 EventListenerList get change() => _get('change');
15094
15095 EventListenerList get click() => _get('click');
15096
15097 EventListenerList get contentLoaded() => _get('DOMContentLoaded');
15098
15099 EventListenerList get contextMenu() => _get('contextmenu');
15100
15101 EventListenerList get deviceMotion() => _get('devicemotion');
15102
15103 EventListenerList get deviceOrientation() => _get('deviceorientation');
15104
15105 EventListenerList get doubleClick() => _get('dblclick');
15106
15107 EventListenerList get drag() => _get('drag');
15108
15109 EventListenerList get dragEnd() => _get('dragend');
15110
15111 EventListenerList get dragEnter() => _get('dragenter');
15112
15113 EventListenerList get dragLeave() => _get('dragleave');
15114
15115 EventListenerList get dragOver() => _get('dragover');
15116
15117 EventListenerList get dragStart() => _get('dragstart');
15118
15119 EventListenerList get drop() => _get('drop');
15120
15121 EventListenerList get durationChange() => _get('durationchange');
15122
15123 EventListenerList get emptied() => _get('emptied');
15124
15125 EventListenerList get ended() => _get('ended');
15126
15127 EventListenerList get error() => _get('error');
15128
15129 EventListenerList get focus() => _get('focus');
15130
15131 EventListenerList get hashChange() => _get('hashchange');
15132
15133 EventListenerList get input() => _get('input');
15134
15135 EventListenerList get invalid() => _get('invalid');
15136
15137 EventListenerList get keyDown() => _get('keydown');
15138
15139 EventListenerList get keyPress() => _get('keypress');
15140
15141 EventListenerList get keyUp() => _get('keyup');
15142
15143 EventListenerList get load() => _get('load');
15144
15145 EventListenerList get loadStart() => _get('loadstart');
15146
15147 EventListenerList get loadedData() => _get('loadeddata');
15148
15149 EventListenerList get loadedMetadata() => _get('loadedmetadata');
15150
15151 EventListenerList get message() => _get('message');
15152
15153 EventListenerList get mouseDown() => _get('mousedown');
15154
15155 EventListenerList get mouseMove() => _get('mousemove');
15156
15157 EventListenerList get mouseOut() => _get('mouseout');
15158
15159 EventListenerList get mouseOver() => _get('mouseover');
15160
15161 EventListenerList get mouseUp() => _get('mouseup');
15162
15163 EventListenerList get mouseWheel() => _get('mousewheel');
15164
15165 EventListenerList get offline() => _get('offline');
15166
15167 EventListenerList get online() => _get('online');
15168
15169 EventListenerList get pageHide() => _get('pagehide');
15170
15171 EventListenerList get pageShow() => _get('pageshow');
15172
15173 EventListenerList get pause() => _get('pause');
15174
15175 EventListenerList get play() => _get('play');
15176
15177 EventListenerList get playing() => _get('playing');
15178
15179 EventListenerList get popState() => _get('popstate');
15180
15181 EventListenerList get progress() => _get('progress');
15182
15183 EventListenerList get rateChange() => _get('ratechange');
15184
15185 EventListenerList get reset() => _get('reset');
15186
15187 EventListenerList get resize() => _get('resize');
15188
15189 EventListenerList get scroll() => _get('scroll');
15190
15191 EventListenerList get search() => _get('search');
15192
15193 EventListenerList get seeked() => _get('seeked');
15194
15195 EventListenerList get seeking() => _get('seeking');
15196
15197 EventListenerList get select() => _get('select');
15198
15199 EventListenerList get stalled() => _get('stalled');
15200
15201 EventListenerList get storage() => _get('storage');
15202
15203 EventListenerList get submit() => _get('submit');
15204
15205 EventListenerList get suspend() => _get('suspend');
15206
15207 EventListenerList get timeUpdate() => _get('timeupdate');
15208
15209 EventListenerList get touchCancel() => _get('touchcancel');
15210
15211 EventListenerList get touchEnd() => _get('touchend');
15212
15213 EventListenerList get touchMove() => _get('touchmove');
15214
15215 EventListenerList get touchStart() => _get('touchstart');
15216
15217 EventListenerList get transitionEnd() => _get('webkitTransitionEnd');
15218
15219 EventListenerList get unload() => _get('unload');
15220
15221 EventListenerList get volumeChange() => _get('volumechange');
15222
15223 EventListenerList get waiting() => _get('waiting');
15224 }
15225
15226 class _WorkerJs extends _AbstractWorkerJs implements Worker native "*Worker" {
15227
15228 _WorkerEventsImpl get on() =>
15229 new _WorkerEventsImpl(this);
15230
15231 void postMessage(Dynamic message, [List messagePorts = null]) native;
15232
15233 void terminate() native;
15234
15235 void webkitPostMessage(Dynamic message, [List messagePorts = null]) native;
15236 }
15237
15238 class _WorkerEventsImpl extends _AbstractWorkerEventsImpl implements WorkerEvent s {
15239 _WorkerEventsImpl(_ptr) : super(_ptr);
15240
15241 EventListenerList get message() => _get('message');
15242 }
15243
15244 class _WorkerContextJs implements WorkerContext native "*WorkerContext" {
15245
15246 static final int PERSISTENT = 1;
15247
15248 static final int TEMPORARY = 0;
15249
15250 _WorkerLocationJs location;
15251
15252 _WorkerNavigatorJs navigator;
15253
15254 EventListener onerror;
15255
15256 _WorkerContextJs self;
15257
15258 final _IDBFactoryJs webkitIndexedDB;
15259
15260 final _NotificationCenterJs webkitNotifications;
15261
15262 final _DOMURLJs webkitURL;
15263
15264 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
15265
15266 void clearInterval(int handle) native;
15267
15268 void clearTimeout(int handle) native;
15269
15270 void close() native;
15271
15272 bool dispatchEvent(_EventJs evt) native;
15273
15274 void importScripts() native;
15275
15276 _DatabaseJs openDatabase(String name, String version, String displayName, int estimatedSize, [DatabaseCallback creationCallback = null]) native;
15277
15278 _DatabaseSyncJs openDatabaseSync(String name, String version, String displayNa me, int estimatedSize, [DatabaseCallback creationCallback = null]) native;
15279
15280 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
15281
15282 int setInterval(TimeoutHandler handler, int timeout) native;
15283
15284 int setTimeout(TimeoutHandler handler, int timeout) native;
15285
15286 void webkitRequestFileSystem(int type, int size, [FileSystemCallback successCa llback = null, ErrorCallback errorCallback = null]) native;
15287
15288 _DOMFileSystemSyncJs webkitRequestFileSystemSync(int type, int size) native;
15289
15290 _EntrySyncJs webkitResolveLocalFileSystemSyncURL(String url) native;
15291
15292 void webkitResolveLocalFileSystemURL(String url, [EntryCallback successCallbac k = null, ErrorCallback errorCallback = null]) native;
15293 }
15294
15295 class _WorkerLocationJs implements WorkerLocation native "*WorkerLocation" {
15296
15297 final String hash;
15298
15299 final String host;
15300
15301 final String hostname;
15302
15303 final String href;
15304
15305 final String pathname;
15306
15307 final String port;
15308
15309 final String protocol;
15310
15311 final String search;
15312
15313 String toString() native;
15314 }
15315
15316 class _WorkerNavigatorJs implements WorkerNavigator native "*WorkerNavigator" {
15317
15318 final String appName;
15319
15320 final String appVersion;
15321
15322 final bool onLine;
15323
15324 final String platform;
15325
15326 final String userAgent;
15327 }
15328
15329 class _XMLHttpRequestJs implements XMLHttpRequest native "*XMLHttpRequest" {
15330
15331 static final int DONE = 4;
15332
15333 static final int HEADERS_RECEIVED = 2;
15334
15335 static final int LOADING = 3;
15336
15337 static final int OPENED = 1;
15338
15339 static final int UNSENT = 0;
15340
15341 bool asBlob;
15342
15343 final int readyState;
15344
15345 final Object response;
15346
15347 final _BlobJs responseBlob;
15348
15349 final String responseText;
15350
15351 String responseType;
15352
15353 final _DocumentJs responseXML;
15354
15355 final int status;
15356
15357 final String statusText;
15358
15359 final _XMLHttpRequestUploadJs upload;
15360
15361 bool withCredentials;
15362
15363 _XMLHttpRequestEventsImpl get on() =>
15364 new _XMLHttpRequestEventsImpl(this);
15365
15366 void abort() native;
15367
15368 void _addEventListener(String type, EventListener listener, [bool useCapture = null]) native "this.addEventListener(type, listener, useCapture);";
15369
15370 bool _dispatchEvent(_EventJs evt) native "return this.dispatchEvent(evt);";
15371
15372 String getAllResponseHeaders() native;
15373
15374 String getResponseHeader(String header) native;
15375
15376 void open(String method, String url, [bool async = null, String user = null, S tring password = null]) native;
15377
15378 void overrideMimeType(String override) native;
15379
15380 void _removeEventListener(String type, EventListener listener, [bool useCaptur e = null]) native "this.removeEventListener(type, listener, useCapture);";
15381
15382 void send([var data = null]) native;
15383
15384 void setRequestHeader(String header, String value) native;
15385 }
15386
15387 class _XMLHttpRequestEventsImpl extends _EventsImpl implements XMLHttpRequestEve nts {
15388 _XMLHttpRequestEventsImpl(_ptr) : super(_ptr);
15389
15390 EventListenerList get abort() => _get('abort');
15391
15392 EventListenerList get error() => _get('error');
15393
15394 EventListenerList get load() => _get('load');
15395
15396 EventListenerList get loadEnd() => _get('loadend');
15397
15398 EventListenerList get loadStart() => _get('loadstart');
15399
15400 EventListenerList get progress() => _get('progress');
15401
15402 EventListenerList get readyStateChange() => _get('readystatechange');
15403 }
15404
15405 class _XMLHttpRequestExceptionJs implements XMLHttpRequestException native "*XML HttpRequestException" {
15406
15407 static final int ABORT_ERR = 102;
15408
15409 static final int NETWORK_ERR = 101;
15410
15411 final int code;
15412
15413 final String message;
15414
15415 final String name;
15416
15417 String toString() native;
15418 }
15419
15420 class _XMLHttpRequestProgressEventJs extends _ProgressEventJs implements XMLHttp RequestProgressEvent native "*XMLHttpRequestProgressEvent" {
15421
15422 final int position;
15423
15424 final int totalSize;
15425 }
15426
15427 class _XMLHttpRequestUploadJs implements XMLHttpRequestUpload native "*XMLHttpRe questUpload" {
15428
15429 _XMLHttpRequestUploadEventsImpl get on() =>
15430 new _XMLHttpRequestUploadEventsImpl(this);
15431
15432 void _addEventListener(String type, EventListener listener, [bool useCapture = null]) native "this.addEventListener(type, listener, useCapture);";
15433
15434 bool _dispatchEvent(_EventJs evt) native "return this.dispatchEvent(evt);";
15435
15436 void _removeEventListener(String type, EventListener listener, [bool useCaptur e = null]) native "this.removeEventListener(type, listener, useCapture);";
15437 }
15438
15439 class _XMLHttpRequestUploadEventsImpl extends _EventsImpl implements XMLHttpRequ estUploadEvents {
15440 _XMLHttpRequestUploadEventsImpl(_ptr) : super(_ptr);
15441
15442 EventListenerList get abort() => _get('abort');
15443
15444 EventListenerList get error() => _get('error');
15445
15446 EventListenerList get load() => _get('load');
15447
15448 EventListenerList get loadEnd() => _get('loadend');
15449
15450 EventListenerList get loadStart() => _get('loadstart');
15451
15452 EventListenerList get progress() => _get('progress');
15453 }
15454
15455 class _XMLSerializerJs implements XMLSerializer native "*XMLSerializer" {
15456
15457 String serializeToString(_NodeJs node) native;
15458 }
15459
15460 class _XPathEvaluatorJs implements XPathEvaluator native "*XPathEvaluator" {
15461
15462 _XPathExpressionJs createExpression(String expression, _XPathNSResolverJs reso lver) native;
15463
15464 _XPathNSResolverJs createNSResolver(_NodeJs nodeResolver) native;
15465
15466 _XPathResultJs evaluate(String expression, _NodeJs contextNode, _XPathNSResolv erJs resolver, int type, _XPathResultJs inResult) native;
15467 }
15468
15469 class _XPathExceptionJs implements XPathException native "*XPathException" {
15470
15471 static final int INVALID_EXPRESSION_ERR = 51;
15472
15473 static final int TYPE_ERR = 52;
15474
15475 final int code;
15476
15477 final String message;
15478
15479 final String name;
15480
15481 String toString() native;
15482 }
15483
15484 class _XPathExpressionJs implements XPathExpression native "*XPathExpression" {
15485
15486 _XPathResultJs evaluate(_NodeJs contextNode, int type, _XPathResultJs inResult ) native;
15487 }
15488
15489 class _XPathNSResolverJs implements XPathNSResolver native "*XPathNSResolver" {
15490
15491 String lookupNamespaceURI(String prefix) native;
15492 }
15493
15494 class _XPathResultJs implements XPathResult native "*XPathResult" {
15495
15496 static final int ANY_TYPE = 0;
15497
15498 static final int ANY_UNORDERED_NODE_TYPE = 8;
15499
15500 static final int BOOLEAN_TYPE = 3;
15501
15502 static final int FIRST_ORDERED_NODE_TYPE = 9;
15503
15504 static final int NUMBER_TYPE = 1;
15505
15506 static final int ORDERED_NODE_ITERATOR_TYPE = 5;
15507
15508 static final int ORDERED_NODE_SNAPSHOT_TYPE = 7;
15509
15510 static final int STRING_TYPE = 2;
15511
15512 static final int UNORDERED_NODE_ITERATOR_TYPE = 4;
15513
15514 static final int UNORDERED_NODE_SNAPSHOT_TYPE = 6;
15515
15516 final bool booleanValue;
15517
15518 final bool invalidIteratorState;
15519
15520 final num numberValue;
15521
15522 final int resultType;
15523
15524 final _NodeJs singleNodeValue;
15525
15526 final int snapshotLength;
15527
15528 final String stringValue;
15529
15530 _NodeJs iterateNext() native;
15531
15532 _NodeJs snapshotItem(int index) native;
15533 }
15534
15535 class _XSLTProcessorJs implements XSLTProcessor native "*XSLTProcessor" {
15536
15537 void clearParameters() native;
15538
15539 String getParameter(String namespaceURI, String localName) native;
15540
15541 void importStylesheet(_NodeJs stylesheet) native;
15542
15543 void removeParameter(String namespaceURI, String localName) native;
15544
15545 void reset() native;
15546
15547 void setParameter(String namespaceURI, String localName, String value) native;
15548
15549 _DocumentJs transformToDocument(_NodeJs source) native;
15550
15551 _DocumentFragmentJs transformToFragment(_NodeJs source, _DocumentJs docVal) na tive;
15552 }
15553 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15554 // for details. All rights reserved. Use of this source code is governed by a
15555 // BSD-style license that can be found in the LICENSE file.
15556
15557 // WARNING: Do not edit - generated code.
15558
15559 interface AbstractWorker extends EventTarget {
15560
15561 AbstractWorkerEvents get on();
15562 }
15563
15564 interface AbstractWorkerEvents extends Events {
15565
15566 EventListenerList get error();
15567 }
15568 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15569 // for details. All rights reserved. Use of this source code is governed by a
15570 // BSD-style license that can be found in the LICENSE file.
15571
15572 // WARNING: Do not edit - generated code.
15573
15574 interface AnchorElement extends Element {
15575
15576 String charset;
15577
15578 String coords;
15579
15580 String download;
15581
15582 String hash;
15583
15584 String host;
15585
15586 String hostname;
15587
15588 String href;
15589
15590 String hreflang;
15591
15592 String name;
15593
15594 final String origin;
15595
15596 String pathname;
15597
15598 String ping;
15599
15600 String port;
15601
15602 String protocol;
15603
15604 String rel;
15605
15606 String rev;
15607
15608 String search;
15609
15610 String shape;
15611
15612 String target;
15613
15614 final String text;
15615
15616 String type;
15617
15618 String toString();
15619 }
15620 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15621 // for details. All rights reserved. Use of this source code is governed by a
15622 // BSD-style license that can be found in the LICENSE file.
15623
15624 // WARNING: Do not edit - generated code.
15625
15626 interface Animation {
15627
15628 static final int DIRECTION_ALTERNATE = 1;
15629
15630 static final int DIRECTION_NORMAL = 0;
15631
15632 static final int FILL_BACKWARDS = 1;
15633
15634 static final int FILL_BOTH = 3;
15635
15636 static final int FILL_FORWARDS = 2;
15637
15638 static final int FILL_NONE = 0;
15639
15640 final num delay;
15641
15642 final int direction;
15643
15644 final num duration;
15645
15646 num elapsedTime;
15647
15648 final bool ended;
15649
15650 final int fillMode;
15651
15652 final int iterationCount;
15653
15654 final String name;
15655
15656 final bool paused;
15657
15658 void pause();
15659
15660 void play();
15661 }
15662 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15663 // for details. All rights reserved. Use of this source code is governed by a
15664 // BSD-style license that can be found in the LICENSE file.
15665
15666 // WARNING: Do not edit - generated code.
15667
15668 interface AnimationEvent extends Event {
15669
15670 final String animationName;
15671
15672 final num elapsedTime;
15673 }
15674 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15675 // for details. All rights reserved. Use of this source code is governed by a
15676 // BSD-style license that can be found in the LICENSE file.
15677
15678 // WARNING: Do not edit - generated code.
15679
15680 interface AnimationList {
15681
15682 final int length;
15683
15684 Animation item(int index);
15685 }
15686 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15687 // for details. All rights reserved. Use of this source code is governed by a
15688 // BSD-style license that can be found in the LICENSE file.
15689
15690 // WARNING: Do not edit - generated code.
15691
15692 interface AppletElement extends Element {
15693
15694 String align;
15695
15696 String alt;
15697
15698 String archive;
15699
15700 String code;
15701
15702 String codeBase;
15703
15704 String height;
15705
15706 String hspace;
15707
15708 String name;
15709
15710 String object;
15711
15712 String vspace;
15713
15714 String width;
15715 }
15716 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15717 // for details. All rights reserved. Use of this source code is governed by a
15718 // BSD-style license that can be found in the LICENSE file.
15719
15720 // WARNING: Do not edit - generated code.
15721
15722 interface AreaElement extends Element {
15723
15724 String alt;
15725
15726 String coords;
15727
15728 final String hash;
15729
15730 final String host;
15731
15732 final String hostname;
15733
15734 String href;
15735
15736 bool noHref;
15737
15738 final String pathname;
15739
15740 String ping;
15741
15742 final String port;
15743
15744 final String protocol;
15745
15746 final String search;
15747
15748 String shape;
15749
15750 String target;
15751 }
15752 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15753 // for details. All rights reserved. Use of this source code is governed by a
15754 // BSD-style license that can be found in the LICENSE file.
15755
15756 // WARNING: Do not edit - generated code.
15757
15758 interface ArrayBuffer {
15759
15760 final int byteLength;
15761
15762 ArrayBuffer slice(int begin, [int end]);
15763 }
15764 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15765 // for details. All rights reserved. Use of this source code is governed by a
15766 // BSD-style license that can be found in the LICENSE file.
15767
15768 // WARNING: Do not edit - generated code.
15769
15770 interface ArrayBufferView {
15771
15772 final ArrayBuffer buffer;
15773
15774 final int byteLength;
15775
15776 final int byteOffset;
15777 }
15778 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15779 // for details. All rights reserved. Use of this source code is governed by a
15780 // BSD-style license that can be found in the LICENSE file.
15781
15782 // WARNING: Do not edit - generated code.
15783
15784 interface Attr extends Node {
15785
15786 final bool isId;
15787
15788 final String name;
15789
15790 final Element ownerElement;
15791
15792 final bool specified;
15793
15794 String value;
15795 }
15796 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15797 // for details. All rights reserved. Use of this source code is governed by a
15798 // BSD-style license that can be found in the LICENSE file.
15799
15800 // WARNING: Do not edit - generated code.
15801
15802 interface AudioBuffer {
15803
15804 final num duration;
15805
15806 num gain;
15807
15808 final int length;
15809
15810 final int numberOfChannels;
15811
15812 final num sampleRate;
15813
15814 Float32Array getChannelData(int channelIndex);
15815 }
15816 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
15817 // for details. All rights reserved. Use of this source code is governed by a
15818 // BSD-style license that can be found in the LICENSE file.
15819
15820 // WARNING: Do not edit - generated code.
15821
15822 typedef bool AudioBufferCallback(AudioBuffer audioBuffer);
15823 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15824 // for details. All rights reserved. Use of this source code is governed by a
15825 // BSD-style license that can be found in the LICENSE file.
15826
15827 // WARNING: Do not edit - generated code.
15828
15829 interface AudioBufferSourceNode extends AudioSourceNode {
15830
15831 AudioBuffer buffer;
15832
15833 final AudioGain gain;
15834
15835 bool loop;
15836
15837 bool looping;
15838
15839 final AudioParam playbackRate;
15840
15841 void noteGrainOn(num when, num grainOffset, num grainDuration);
15842
15843 void noteOff(num when);
15844
15845 void noteOn(num when);
15846 }
15847 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15848 // for details. All rights reserved. Use of this source code is governed by a
15849 // BSD-style license that can be found in the LICENSE file.
15850
15851 // WARNING: Do not edit - generated code.
15852
15853 interface AudioChannelMerger extends AudioNode {
15854 }
15855 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15856 // for details. All rights reserved. Use of this source code is governed by a
15857 // BSD-style license that can be found in the LICENSE file.
15858
15859 // WARNING: Do not edit - generated code.
15860
15861 interface AudioChannelSplitter extends AudioNode {
15862 }
15863 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15864 // for details. All rights reserved. Use of this source code is governed by a
15865 // BSD-style license that can be found in the LICENSE file.
15866
15867 // WARNING: Do not edit - generated code.
15868
15869 interface AudioContext {
15870
15871 final num currentTime;
15872
15873 final AudioDestinationNode destination;
15874
15875 final AudioListener listener;
15876
15877 EventListener oncomplete;
15878
15879 final num sampleRate;
15880
15881 RealtimeAnalyserNode createAnalyser();
15882
15883 BiquadFilterNode createBiquadFilter();
15884
15885 AudioBuffer createBuffer(var buffer_OR_numberOfChannels, var mixToMono_OR_numb erOfFrames, [num sampleRate]);
15886
15887 AudioBufferSourceNode createBufferSource();
15888
15889 AudioChannelMerger createChannelMerger();
15890
15891 AudioChannelSplitter createChannelSplitter();
15892
15893 ConvolverNode createConvolver();
15894
15895 DelayNode createDelayNode();
15896
15897 DynamicsCompressorNode createDynamicsCompressor();
15898
15899 AudioGainNode createGainNode();
15900
15901 HighPass2FilterNode createHighPass2Filter();
15902
15903 JavaScriptAudioNode createJavaScriptNode(int bufferSize);
15904
15905 LowPass2FilterNode createLowPass2Filter();
15906
15907 MediaElementAudioSourceNode createMediaElementSource(MediaElement mediaElement );
15908
15909 AudioPannerNode createPanner();
15910
15911 WaveShaperNode createWaveShaper();
15912
15913 void decodeAudioData(ArrayBuffer audioData, AudioBufferCallback successCallbac k, [AudioBufferCallback errorCallback]);
15914
15915 void startRendering();
15916 }
15917 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15918 // for details. All rights reserved. Use of this source code is governed by a
15919 // BSD-style license that can be found in the LICENSE file.
15920
15921 // WARNING: Do not edit - generated code.
15922
15923 interface AudioDestinationNode extends AudioNode {
15924
15925 final int numberOfChannels;
15926 }
15927 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15928 // for details. All rights reserved. Use of this source code is governed by a
15929 // BSD-style license that can be found in the LICENSE file.
15930
15931 // WARNING: Do not edit - generated code.
15932
15933 interface AudioElement extends MediaElement {
15934 }
15935 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15936 // for details. All rights reserved. Use of this source code is governed by a
15937 // BSD-style license that can be found in the LICENSE file.
15938
15939 // WARNING: Do not edit - generated code.
15940
15941 interface AudioGain extends AudioParam {
15942 }
15943 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15944 // for details. All rights reserved. Use of this source code is governed by a
15945 // BSD-style license that can be found in the LICENSE file.
15946
15947 // WARNING: Do not edit - generated code.
15948
15949 interface AudioGainNode extends AudioNode {
15950
15951 final AudioGain gain;
15952 }
15953 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15954 // for details. All rights reserved. Use of this source code is governed by a
15955 // BSD-style license that can be found in the LICENSE file.
15956
15957 // WARNING: Do not edit - generated code.
15958
15959 interface AudioListener {
15960
15961 num dopplerFactor;
15962
15963 num speedOfSound;
15964
15965 void setOrientation(num x, num y, num z, num xUp, num yUp, num zUp);
15966
15967 void setPosition(num x, num y, num z);
15968
15969 void setVelocity(num x, num y, num z);
15970 }
15971 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15972 // for details. All rights reserved. Use of this source code is governed by a
15973 // BSD-style license that can be found in the LICENSE file.
15974
15975 // WARNING: Do not edit - generated code.
15976
15977 interface AudioNode {
15978
15979 final AudioContext context;
15980
15981 final int numberOfInputs;
15982
15983 final int numberOfOutputs;
15984
15985 void connect(AudioNode destination, int output, int input);
15986
15987 void disconnect(int output);
15988 }
15989 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15990 // for details. All rights reserved. Use of this source code is governed by a
15991 // BSD-style license that can be found in the LICENSE file.
15992
15993 // WARNING: Do not edit - generated code.
15994
15995 interface AudioPannerNode extends AudioNode {
15996
15997 static final int EQUALPOWER = 0;
15998
15999 static final int HRTF = 1;
16000
16001 static final int SOUNDFIELD = 2;
16002
16003 final AudioGain coneGain;
16004
16005 num coneInnerAngle;
16006
16007 num coneOuterAngle;
16008
16009 num coneOuterGain;
16010
16011 final AudioGain distanceGain;
16012
16013 int distanceModel;
16014
16015 num maxDistance;
16016
16017 int panningModel;
16018
16019 num refDistance;
16020
16021 num rolloffFactor;
16022
16023 void setOrientation(num x, num y, num z);
16024
16025 void setPosition(num x, num y, num z);
16026
16027 void setVelocity(num x, num y, num z);
16028 }
16029 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16030 // for details. All rights reserved. Use of this source code is governed by a
16031 // BSD-style license that can be found in the LICENSE file.
16032
16033 // WARNING: Do not edit - generated code.
16034
16035 interface AudioParam {
16036
16037 final num defaultValue;
16038
16039 final num maxValue;
16040
16041 final num minValue;
16042
16043 final String name;
16044
16045 final int units;
16046
16047 num value;
16048
16049 void cancelScheduledValues(num startTime);
16050
16051 void exponentialRampToValueAtTime(num value, num time);
16052
16053 void linearRampToValueAtTime(num value, num time);
16054
16055 void setTargetValueAtTime(num targetValue, num time, num timeConstant);
16056
16057 void setValueAtTime(num value, num time);
16058
16059 void setValueCurveAtTime(Float32Array values, num time, num duration);
16060 }
16061 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16062 // for details. All rights reserved. Use of this source code is governed by a
16063 // BSD-style license that can be found in the LICENSE file.
16064
16065 // WARNING: Do not edit - generated code.
16066
16067 interface AudioProcessingEvent extends Event {
16068
16069 final AudioBuffer inputBuffer;
16070
16071 final AudioBuffer outputBuffer;
16072 }
16073 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16074 // for details. All rights reserved. Use of this source code is governed by a
16075 // BSD-style license that can be found in the LICENSE file.
16076
16077 // WARNING: Do not edit - generated code.
16078
16079 interface AudioSourceNode extends AudioNode {
16080 }
16081 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16082 // for details. All rights reserved. Use of this source code is governed by a
16083 // BSD-style license that can be found in the LICENSE file.
16084
16085 // WARNING: Do not edit - generated code.
16086
16087 interface BRElement extends Element {
16088
16089 String clear;
16090 }
16091 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16092 // for details. All rights reserved. Use of this source code is governed by a
16093 // BSD-style license that can be found in the LICENSE file.
16094
16095 // WARNING: Do not edit - generated code.
16096
16097 interface BarInfo {
16098
16099 final bool visible;
16100 }
16101 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16102 // for details. All rights reserved. Use of this source code is governed by a
16103 // BSD-style license that can be found in the LICENSE file.
16104
16105 // WARNING: Do not edit - generated code.
16106
16107 interface BaseElement extends Element {
16108
16109 String href;
16110
16111 String target;
16112 }
16113 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16114 // for details. All rights reserved. Use of this source code is governed by a
16115 // BSD-style license that can be found in the LICENSE file.
16116
16117 // WARNING: Do not edit - generated code.
16118
16119 interface BaseFontElement extends Element {
16120
16121 String color;
16122
16123 String face;
16124
16125 int size;
16126 }
16127 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16128 // for details. All rights reserved. Use of this source code is governed by a
16129 // BSD-style license that can be found in the LICENSE file.
16130
16131 // WARNING: Do not edit - generated code.
16132
16133 interface BeforeLoadEvent extends Event {
16134
16135 final String url;
16136 }
16137 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16138 // for details. All rights reserved. Use of this source code is governed by a
16139 // BSD-style license that can be found in the LICENSE file.
16140
16141 // WARNING: Do not edit - generated code.
16142
16143 interface BiquadFilterNode extends AudioNode {
16144
16145 static final int ALLPASS = 7;
16146
16147 static final int BANDPASS = 2;
16148
16149 static final int HIGHPASS = 1;
16150
16151 static final int HIGHSHELF = 4;
16152
16153 static final int LOWPASS = 0;
16154
16155 static final int LOWSHELF = 3;
16156
16157 static final int NOTCH = 6;
16158
16159 static final int PEAKING = 5;
16160
16161 final AudioParam Q;
16162
16163 final AudioParam frequency;
16164
16165 final AudioParam gain;
16166
16167 int type;
16168
16169 void getFrequencyResponse(Float32Array frequencyHz, Float32Array magResponse, Float32Array phaseResponse);
16170 }
16171 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16172 // for details. All rights reserved. Use of this source code is governed by a
16173 // BSD-style license that can be found in the LICENSE file.
16174
16175 // WARNING: Do not edit - generated code.
16176
16177 interface Blob {
16178
16179 final int size;
16180
16181 final String type;
16182
16183 Blob webkitSlice([int start, int end, String contentType]);
16184 }
16185 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16186 // for details. All rights reserved. Use of this source code is governed by a
16187 // BSD-style license that can be found in the LICENSE file.
16188
16189 // WARNING: Do not edit - generated code.
16190
16191 interface BlobBuilder {
16192
16193 void append(var arrayBuffer_OR_blob_OR_value, [String endings]);
16194
16195 Blob getBlob([String contentType]);
16196 }
16197 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16198 // for details. All rights reserved. Use of this source code is governed by a
16199 // BSD-style license that can be found in the LICENSE file.
16200
16201 // WARNING: Do not edit - generated code.
16202
16203 interface BodyElement extends Element {
16204
16205 String aLink;
16206
16207 String background;
16208
16209 String bgColor;
16210
16211 String link;
16212
16213 String text;
16214
16215 String vLink;
16216
16217 BodyElementEvents get on();
16218 }
16219
16220 interface BodyElementEvents extends ElementEvents {
16221
16222 EventListenerList get beforeUnload();
16223
16224 EventListenerList get blur();
16225
16226 EventListenerList get error();
16227
16228 EventListenerList get focus();
16229
16230 EventListenerList get hashChange();
16231
16232 EventListenerList get load();
16233
16234 EventListenerList get message();
16235
16236 EventListenerList get offline();
16237
16238 EventListenerList get online();
16239
16240 EventListenerList get popState();
16241
16242 EventListenerList get resize();
16243
16244 EventListenerList get storage();
16245
16246 EventListenerList get unload();
16247 }
16248 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16249 // for details. All rights reserved. Use of this source code is governed by a
16250 // BSD-style license that can be found in the LICENSE file.
16251
16252 // WARNING: Do not edit - generated code.
16253
16254 interface ButtonElement extends Element {
16255
16256 bool autofocus;
16257
16258 bool disabled;
16259
16260 final FormElement form;
16261
16262 String formAction;
16263
16264 String formEnctype;
16265
16266 String formMethod;
16267
16268 bool formNoValidate;
16269
16270 String formTarget;
16271
16272 final NodeList labels;
16273
16274 String name;
16275
16276 final String type;
16277
16278 final String validationMessage;
16279
16280 final ValidityState validity;
16281
16282 String value;
16283
16284 final bool willValidate;
16285
16286 bool checkValidity();
16287
16288 void click();
16289
16290 void setCustomValidity(String error);
16291 }
16292 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16293 // for details. All rights reserved. Use of this source code is governed by a
16294 // BSD-style license that can be found in the LICENSE file.
16295
16296 // WARNING: Do not edit - generated code.
16297
16298 interface CDATASection extends Text {
16299 }
16300 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16301 // for details. All rights reserved. Use of this source code is governed by a
16302 // BSD-style license that can be found in the LICENSE file.
16303
16304 // WARNING: Do not edit - generated code.
16305
16306 interface CSSCharsetRule extends CSSRule {
16307
16308 String encoding;
16309 }
16310 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16311 // for details. All rights reserved. Use of this source code is governed by a
16312 // BSD-style license that can be found in the LICENSE file.
16313
16314 // WARNING: Do not edit - generated code.
16315
16316 interface CSSFontFaceRule extends CSSRule {
16317
16318 final CSSStyleDeclaration style;
16319 }
16320 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16321 // for details. All rights reserved. Use of this source code is governed by a
16322 // BSD-style license that can be found in the LICENSE file.
16323
16324 // WARNING: Do not edit - generated code.
16325
16326 interface CSSImportRule extends CSSRule {
16327
16328 final String href;
16329
16330 final MediaList media;
16331
16332 final CSSStyleSheet styleSheet;
16333 }
16334 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16335 // for details. All rights reserved. Use of this source code is governed by a
16336 // BSD-style license that can be found in the LICENSE file.
16337
16338 // WARNING: Do not edit - generated code.
16339
16340 interface CSSKeyframeRule extends CSSRule {
16341
16342 String keyText;
16343
16344 final CSSStyleDeclaration style;
16345 }
16346 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16347 // for details. All rights reserved. Use of this source code is governed by a
16348 // BSD-style license that can be found in the LICENSE file.
16349
16350 // WARNING: Do not edit - generated code.
16351
16352 interface CSSKeyframesRule extends CSSRule {
16353
16354 final CSSRuleList cssRules;
16355
16356 String name;
16357
16358 void deleteRule(String key);
16359
16360 CSSKeyframeRule findRule(String key);
16361
16362 void insertRule(String rule);
16363 }
16364 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16365 // for details. All rights reserved. Use of this source code is governed by a
16366 // BSD-style license that can be found in the LICENSE file.
16367
16368 // WARNING: Do not edit - generated code.
16369
16370 interface CSSMatrix {
16371
16372 num a;
16373
16374 num b;
16375
16376 num c;
16377
16378 num d;
16379
16380 num e;
16381
16382 num f;
16383
16384 num m11;
16385
16386 num m12;
16387
16388 num m13;
16389
16390 num m14;
16391
16392 num m21;
16393
16394 num m22;
16395
16396 num m23;
16397
16398 num m24;
16399
16400 num m31;
16401
16402 num m32;
16403
16404 num m33;
16405
16406 num m34;
16407
16408 num m41;
16409
16410 num m42;
16411
16412 num m43;
16413
16414 num m44;
16415
16416 CSSMatrix inverse();
16417
16418 CSSMatrix multiply(CSSMatrix secondMatrix);
16419
16420 CSSMatrix rotate(num rotX, num rotY, num rotZ);
16421
16422 CSSMatrix rotateAxisAngle(num x, num y, num z, num angle);
16423
16424 CSSMatrix scale(num scaleX, num scaleY, num scaleZ);
16425
16426 void setMatrixValue(String string);
16427
16428 CSSMatrix skewX(num angle);
16429
16430 CSSMatrix skewY(num angle);
16431
16432 String toString();
16433
16434 CSSMatrix translate(num x, num y, num z);
16435 }
16436 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16437 // for details. All rights reserved. Use of this source code is governed by a
16438 // BSD-style license that can be found in the LICENSE file.
16439
16440 // WARNING: Do not edit - generated code.
16441
16442 interface CSSMediaRule extends CSSRule {
16443
16444 final CSSRuleList cssRules;
16445
16446 final MediaList media;
16447
16448 void deleteRule(int index);
16449
16450 int insertRule(String rule, int index);
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 CSSPageRule extends CSSRule {
16459
16460 String selectorText;
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 CSSPrimitiveValue extends CSSValue {
16471
16472 static final int CSS_ATTR = 22;
16473
16474 static final int CSS_CM = 6;
16475
16476 static final int CSS_COUNTER = 23;
16477
16478 static final int CSS_DEG = 11;
16479
16480 static final int CSS_DIMENSION = 18;
16481
16482 static final int CSS_EMS = 3;
16483
16484 static final int CSS_EXS = 4;
16485
16486 static final int CSS_GRAD = 13;
16487
16488 static final int CSS_HZ = 16;
16489
16490 static final int CSS_IDENT = 21;
16491
16492 static final int CSS_IN = 8;
16493
16494 static final int CSS_KHZ = 17;
16495
16496 static final int CSS_MM = 7;
16497
16498 static final int CSS_MS = 14;
16499
16500 static final int CSS_NUMBER = 1;
16501
16502 static final int CSS_PC = 10;
16503
16504 static final int CSS_PERCENTAGE = 2;
16505
16506 static final int CSS_PT = 9;
16507
16508 static final int CSS_PX = 5;
16509
16510 static final int CSS_RAD = 12;
16511
16512 static final int CSS_RECT = 24;
16513
16514 static final int CSS_RGBCOLOR = 25;
16515
16516 static final int CSS_S = 15;
16517
16518 static final int CSS_STRING = 19;
16519
16520 static final int CSS_UNKNOWN = 0;
16521
16522 static final int CSS_URI = 20;
16523
16524 final int primitiveType;
16525
16526 Counter getCounterValue();
16527
16528 num getFloatValue(int unitType);
16529
16530 RGBColor getRGBColorValue();
16531
16532 Rect getRectValue();
16533
16534 String getStringValue();
16535
16536 void setFloatValue(int unitType, num floatValue);
16537
16538 void setStringValue(int stringType, String stringValue);
16539 }
16540 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16541 // for details. All rights reserved. Use of this source code is governed by a
16542 // BSD-style license that can be found in the LICENSE file.
16543
16544 // WARNING: Do not edit - generated code.
16545
16546 interface CSSRule {
16547
16548 static final int CHARSET_RULE = 2;
16549
16550 static final int FONT_FACE_RULE = 5;
16551
16552 static final int IMPORT_RULE = 3;
16553
16554 static final int MEDIA_RULE = 4;
16555
16556 static final int PAGE_RULE = 6;
16557
16558 static final int STYLE_RULE = 1;
16559
16560 static final int UNKNOWN_RULE = 0;
16561
16562 static final int WEBKIT_KEYFRAMES_RULE = 8;
16563
16564 static final int WEBKIT_KEYFRAME_RULE = 9;
16565
16566 static final int WEBKIT_REGION_RULE = 10;
16567
16568 String cssText;
16569
16570 final CSSRule parentRule;
16571
16572 final CSSStyleSheet parentStyleSheet;
16573
16574 final int type;
16575 }
16576 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16577 // for details. All rights reserved. Use of this source code is governed by a
16578 // BSD-style license that can be found in the LICENSE file.
16579
16580 // WARNING: Do not edit - generated code.
16581
16582 interface CSSRuleList {
16583
16584 final int length;
16585
16586 CSSRule item(int index);
16587 }
16588 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
16589 // for details. All rights reserved. Use of this source code is governed by a
16590 // BSD-style license that can be found in the LICENSE file.
16591
16592 // WARNING: Do not edit - generated code.
16593
16594 interface CSSStyleDeclaration {
16595 CSSStyleDeclaration();
16596
16597 CSSStyleDeclaration.css(String css);
16598
16599
16600 String cssText;
16601
16602 final int length;
16603
16604 final CSSRule parentRule;
16605
16606 CSSValue getPropertyCSSValue(String propertyName);
16607
16608 String getPropertyPriority(String propertyName);
16609
16610 String getPropertyShorthand(String propertyName);
16611
16612 String getPropertyValue(String propertyName);
16613
16614 bool isPropertyImplicit(String propertyName);
16615
16616 String item(int index);
16617
16618 String removeProperty(String propertyName);
16619
16620 void setProperty(String propertyName, String value, [String priority]);
16621
16622
16623 /** Gets the value of "animation" */
16624 String get animation();
16625
16626 /** Sets the value of "animation" */
16627 void set animation(var value);
16628
16629 /** Gets the value of "animation-delay" */
16630 String get animationDelay();
16631
16632 /** Sets the value of "animation-delay" */
16633 void set animationDelay(var value);
16634
16635 /** Gets the value of "animation-direction" */
16636 String get animationDirection();
16637
16638 /** Sets the value of "animation-direction" */
16639 void set animationDirection(var value);
16640
16641 /** Gets the value of "animation-duration" */
16642 String get animationDuration();
16643
16644 /** Sets the value of "animation-duration" */
16645 void set animationDuration(var value);
16646
16647 /** Gets the value of "animation-fill-mode" */
16648 String get animationFillMode();
16649
16650 /** Sets the value of "animation-fill-mode" */
16651 void set animationFillMode(var value);
16652
16653 /** Gets the value of "animation-iteration-count" */
16654 String get animationIterationCount();
16655
16656 /** Sets the value of "animation-iteration-count" */
16657 void set animationIterationCount(var value);
16658
16659 /** Gets the value of "animation-name" */
16660 String get animationName();
16661
16662 /** Sets the value of "animation-name" */
16663 void set animationName(var value);
16664
16665 /** Gets the value of "animation-play-state" */
16666 String get animationPlayState();
16667
16668 /** Sets the value of "animation-play-state" */
16669 void set animationPlayState(var value);
16670
16671 /** Gets the value of "animation-timing-function" */
16672 String get animationTimingFunction();
16673
16674 /** Sets the value of "animation-timing-function" */
16675 void set animationTimingFunction(var value);
16676
16677 /** Gets the value of "appearance" */
16678 String get appearance();
16679
16680 /** Sets the value of "appearance" */
16681 void set appearance(var value);
16682
16683 /** Gets the value of "backface-visibility" */
16684 String get backfaceVisibility();
16685
16686 /** Sets the value of "backface-visibility" */
16687 void set backfaceVisibility(var value);
16688
16689 /** Gets the value of "background" */
16690 String get background();
16691
16692 /** Sets the value of "background" */
16693 void set background(var value);
16694
16695 /** Gets the value of "background-attachment" */
16696 String get backgroundAttachment();
16697
16698 /** Sets the value of "background-attachment" */
16699 void set backgroundAttachment(var value);
16700
16701 /** Gets the value of "background-clip" */
16702 String get backgroundClip();
16703
16704 /** Sets the value of "background-clip" */
16705 void set backgroundClip(var value);
16706
16707 /** Gets the value of "background-color" */
16708 String get backgroundColor();
16709
16710 /** Sets the value of "background-color" */
16711 void set backgroundColor(var value);
16712
16713 /** Gets the value of "background-composite" */
16714 String get backgroundComposite();
16715
16716 /** Sets the value of "background-composite" */
16717 void set backgroundComposite(var value);
16718
16719 /** Gets the value of "background-image" */
16720 String get backgroundImage();
16721
16722 /** Sets the value of "background-image" */
16723 void set backgroundImage(var value);
16724
16725 /** Gets the value of "background-origin" */
16726 String get backgroundOrigin();
16727
16728 /** Sets the value of "background-origin" */
16729 void set backgroundOrigin(var value);
16730
16731 /** Gets the value of "background-position" */
16732 String get backgroundPosition();
16733
16734 /** Sets the value of "background-position" */
16735 void set backgroundPosition(var value);
16736
16737 /** Gets the value of "background-position-x" */
16738 String get backgroundPositionX();
16739
16740 /** Sets the value of "background-position-x" */
16741 void set backgroundPositionX(var value);
16742
16743 /** Gets the value of "background-position-y" */
16744 String get backgroundPositionY();
16745
16746 /** Sets the value of "background-position-y" */
16747 void set backgroundPositionY(var value);
16748
16749 /** Gets the value of "background-repeat" */
16750 String get backgroundRepeat();
16751
16752 /** Sets the value of "background-repeat" */
16753 void set backgroundRepeat(var value);
16754
16755 /** Gets the value of "background-repeat-x" */
16756 String get backgroundRepeatX();
16757
16758 /** Sets the value of "background-repeat-x" */
16759 void set backgroundRepeatX(var value);
16760
16761 /** Gets the value of "background-repeat-y" */
16762 String get backgroundRepeatY();
16763
16764 /** Sets the value of "background-repeat-y" */
16765 void set backgroundRepeatY(var value);
16766
16767 /** Gets the value of "background-size" */
16768 String get backgroundSize();
16769
16770 /** Sets the value of "background-size" */
16771 void set backgroundSize(var value);
16772
16773 /** Gets the value of "border" */
16774 String get border();
16775
16776 /** Sets the value of "border" */
16777 void set border(var value);
16778
16779 /** Gets the value of "border-after" */
16780 String get borderAfter();
16781
16782 /** Sets the value of "border-after" */
16783 void set borderAfter(var value);
16784
16785 /** Gets the value of "border-after-color" */
16786 String get borderAfterColor();
16787
16788 /** Sets the value of "border-after-color" */
16789 void set borderAfterColor(var value);
16790
16791 /** Gets the value of "border-after-style" */
16792 String get borderAfterStyle();
16793
16794 /** Sets the value of "border-after-style" */
16795 void set borderAfterStyle(var value);
16796
16797 /** Gets the value of "border-after-width" */
16798 String get borderAfterWidth();
16799
16800 /** Sets the value of "border-after-width" */
16801 void set borderAfterWidth(var value);
16802
16803 /** Gets the value of "border-before" */
16804 String get borderBefore();
16805
16806 /** Sets the value of "border-before" */
16807 void set borderBefore(var value);
16808
16809 /** Gets the value of "border-before-color" */
16810 String get borderBeforeColor();
16811
16812 /** Sets the value of "border-before-color" */
16813 void set borderBeforeColor(var value);
16814
16815 /** Gets the value of "border-before-style" */
16816 String get borderBeforeStyle();
16817
16818 /** Sets the value of "border-before-style" */
16819 void set borderBeforeStyle(var value);
16820
16821 /** Gets the value of "border-before-width" */
16822 String get borderBeforeWidth();
16823
16824 /** Sets the value of "border-before-width" */
16825 void set borderBeforeWidth(var value);
16826
16827 /** Gets the value of "border-bottom" */
16828 String get borderBottom();
16829
16830 /** Sets the value of "border-bottom" */
16831 void set borderBottom(var value);
16832
16833 /** Gets the value of "border-bottom-color" */
16834 String get borderBottomColor();
16835
16836 /** Sets the value of "border-bottom-color" */
16837 void set borderBottomColor(var value);
16838
16839 /** Gets the value of "border-bottom-left-radius" */
16840 String get borderBottomLeftRadius();
16841
16842 /** Sets the value of "border-bottom-left-radius" */
16843 void set borderBottomLeftRadius(var value);
16844
16845 /** Gets the value of "border-bottom-right-radius" */
16846 String get borderBottomRightRadius();
16847
16848 /** Sets the value of "border-bottom-right-radius" */
16849 void set borderBottomRightRadius(var value);
16850
16851 /** Gets the value of "border-bottom-style" */
16852 String get borderBottomStyle();
16853
16854 /** Sets the value of "border-bottom-style" */
16855 void set borderBottomStyle(var value);
16856
16857 /** Gets the value of "border-bottom-width" */
16858 String get borderBottomWidth();
16859
16860 /** Sets the value of "border-bottom-width" */
16861 void set borderBottomWidth(var value);
16862
16863 /** Gets the value of "border-collapse" */
16864 String get borderCollapse();
16865
16866 /** Sets the value of "border-collapse" */
16867 void set borderCollapse(var value);
16868
16869 /** Gets the value of "border-color" */
16870 String get borderColor();
16871
16872 /** Sets the value of "border-color" */
16873 void set borderColor(var value);
16874
16875 /** Gets the value of "border-end" */
16876 String get borderEnd();
16877
16878 /** Sets the value of "border-end" */
16879 void set borderEnd(var value);
16880
16881 /** Gets the value of "border-end-color" */
16882 String get borderEndColor();
16883
16884 /** Sets the value of "border-end-color" */
16885 void set borderEndColor(var value);
16886
16887 /** Gets the value of "border-end-style" */
16888 String get borderEndStyle();
16889
16890 /** Sets the value of "border-end-style" */
16891 void set borderEndStyle(var value);
16892
16893 /** Gets the value of "border-end-width" */
16894 String get borderEndWidth();
16895
16896 /** Sets the value of "border-end-width" */
16897 void set borderEndWidth(var value);
16898
16899 /** Gets the value of "border-fit" */
16900 String get borderFit();
16901
16902 /** Sets the value of "border-fit" */
16903 void set borderFit(var value);
16904
16905 /** Gets the value of "border-horizontal-spacing" */
16906 String get borderHorizontalSpacing();
16907
16908 /** Sets the value of "border-horizontal-spacing" */
16909 void set borderHorizontalSpacing(var value);
16910
16911 /** Gets the value of "border-image" */
16912 String get borderImage();
16913
16914 /** Sets the value of "border-image" */
16915 void set borderImage(var value);
16916
16917 /** Gets the value of "border-image-outset" */
16918 String get borderImageOutset();
16919
16920 /** Sets the value of "border-image-outset" */
16921 void set borderImageOutset(var value);
16922
16923 /** Gets the value of "border-image-repeat" */
16924 String get borderImageRepeat();
16925
16926 /** Sets the value of "border-image-repeat" */
16927 void set borderImageRepeat(var value);
16928
16929 /** Gets the value of "border-image-slice" */
16930 String get borderImageSlice();
16931
16932 /** Sets the value of "border-image-slice" */
16933 void set borderImageSlice(var value);
16934
16935 /** Gets the value of "border-image-source" */
16936 String get borderImageSource();
16937
16938 /** Sets the value of "border-image-source" */
16939 void set borderImageSource(var value);
16940
16941 /** Gets the value of "border-image-width" */
16942 String get borderImageWidth();
16943
16944 /** Sets the value of "border-image-width" */
16945 void set borderImageWidth(var value);
16946
16947 /** Gets the value of "border-left" */
16948 String get borderLeft();
16949
16950 /** Sets the value of "border-left" */
16951 void set borderLeft(var value);
16952
16953 /** Gets the value of "border-left-color" */
16954 String get borderLeftColor();
16955
16956 /** Sets the value of "border-left-color" */
16957 void set borderLeftColor(var value);
16958
16959 /** Gets the value of "border-left-style" */
16960 String get borderLeftStyle();
16961
16962 /** Sets the value of "border-left-style" */
16963 void set borderLeftStyle(var value);
16964
16965 /** Gets the value of "border-left-width" */
16966 String get borderLeftWidth();
16967
16968 /** Sets the value of "border-left-width" */
16969 void set borderLeftWidth(var value);
16970
16971 /** Gets the value of "border-radius" */
16972 String get borderRadius();
16973
16974 /** Sets the value of "border-radius" */
16975 void set borderRadius(var value);
16976
16977 /** Gets the value of "border-right" */
16978 String get borderRight();
16979
16980 /** Sets the value of "border-right" */
16981 void set borderRight(var value);
16982
16983 /** Gets the value of "border-right-color" */
16984 String get borderRightColor();
16985
16986 /** Sets the value of "border-right-color" */
16987 void set borderRightColor(var value);
16988
16989 /** Gets the value of "border-right-style" */
16990 String get borderRightStyle();
16991
16992 /** Sets the value of "border-right-style" */
16993 void set borderRightStyle(var value);
16994
16995 /** Gets the value of "border-right-width" */
16996 String get borderRightWidth();
16997
16998 /** Sets the value of "border-right-width" */
16999 void set borderRightWidth(var value);
17000
17001 /** Gets the value of "border-spacing" */
17002 String get borderSpacing();
17003
17004 /** Sets the value of "border-spacing" */
17005 void set borderSpacing(var value);
17006
17007 /** Gets the value of "border-start" */
17008 String get borderStart();
17009
17010 /** Sets the value of "border-start" */
17011 void set borderStart(var value);
17012
17013 /** Gets the value of "border-start-color" */
17014 String get borderStartColor();
17015
17016 /** Sets the value of "border-start-color" */
17017 void set borderStartColor(var value);
17018
17019 /** Gets the value of "border-start-style" */
17020 String get borderStartStyle();
17021
17022 /** Sets the value of "border-start-style" */
17023 void set borderStartStyle(var value);
17024
17025 /** Gets the value of "border-start-width" */
17026 String get borderStartWidth();
17027
17028 /** Sets the value of "border-start-width" */
17029 void set borderStartWidth(var value);
17030
17031 /** Gets the value of "border-style" */
17032 String get borderStyle();
17033
17034 /** Sets the value of "border-style" */
17035 void set borderStyle(var value);
17036
17037 /** Gets the value of "border-top" */
17038 String get borderTop();
17039
17040 /** Sets the value of "border-top" */
17041 void set borderTop(var value);
17042
17043 /** Gets the value of "border-top-color" */
17044 String get borderTopColor();
17045
17046 /** Sets the value of "border-top-color" */
17047 void set borderTopColor(var value);
17048
17049 /** Gets the value of "border-top-left-radius" */
17050 String get borderTopLeftRadius();
17051
17052 /** Sets the value of "border-top-left-radius" */
17053 void set borderTopLeftRadius(var value);
17054
17055 /** Gets the value of "border-top-right-radius" */
17056 String get borderTopRightRadius();
17057
17058 /** Sets the value of "border-top-right-radius" */
17059 void set borderTopRightRadius(var value);
17060
17061 /** Gets the value of "border-top-style" */
17062 String get borderTopStyle();
17063
17064 /** Sets the value of "border-top-style" */
17065 void set borderTopStyle(var value);
17066
17067 /** Gets the value of "border-top-width" */
17068 String get borderTopWidth();
17069
17070 /** Sets the value of "border-top-width" */
17071 void set borderTopWidth(var value);
17072
17073 /** Gets the value of "border-vertical-spacing" */
17074 String get borderVerticalSpacing();
17075
17076 /** Sets the value of "border-vertical-spacing" */
17077 void set borderVerticalSpacing(var value);
17078
17079 /** Gets the value of "border-width" */
17080 String get borderWidth();
17081
17082 /** Sets the value of "border-width" */
17083 void set borderWidth(var value);
17084
17085 /** Gets the value of "bottom" */
17086 String get bottom();
17087
17088 /** Sets the value of "bottom" */
17089 void set bottom(var value);
17090
17091 /** Gets the value of "box-align" */
17092 String get boxAlign();
17093
17094 /** Sets the value of "box-align" */
17095 void set boxAlign(var value);
17096
17097 /** Gets the value of "box-direction" */
17098 String get boxDirection();
17099
17100 /** Sets the value of "box-direction" */
17101 void set boxDirection(var value);
17102
17103 /** Gets the value of "box-flex" */
17104 String get boxFlex();
17105
17106 /** Sets the value of "box-flex" */
17107 void set boxFlex(var value);
17108
17109 /** Gets the value of "box-flex-group" */
17110 String get boxFlexGroup();
17111
17112 /** Sets the value of "box-flex-group" */
17113 void set boxFlexGroup(var value);
17114
17115 /** Gets the value of "box-lines" */
17116 String get boxLines();
17117
17118 /** Sets the value of "box-lines" */
17119 void set boxLines(var value);
17120
17121 /** Gets the value of "box-ordinal-group" */
17122 String get boxOrdinalGroup();
17123
17124 /** Sets the value of "box-ordinal-group" */
17125 void set boxOrdinalGroup(var value);
17126
17127 /** Gets the value of "box-orient" */
17128 String get boxOrient();
17129
17130 /** Sets the value of "box-orient" */
17131 void set boxOrient(var value);
17132
17133 /** Gets the value of "box-pack" */
17134 String get boxPack();
17135
17136 /** Sets the value of "box-pack" */
17137 void set boxPack(var value);
17138
17139 /** Gets the value of "box-reflect" */
17140 String get boxReflect();
17141
17142 /** Sets the value of "box-reflect" */
17143 void set boxReflect(var value);
17144
17145 /** Gets the value of "box-shadow" */
17146 String get boxShadow();
17147
17148 /** Sets the value of "box-shadow" */
17149 void set boxShadow(var value);
17150
17151 /** Gets the value of "box-sizing" */
17152 String get boxSizing();
17153
17154 /** Sets the value of "box-sizing" */
17155 void set boxSizing(var value);
17156
17157 /** Gets the value of "caption-side" */
17158 String get captionSide();
17159
17160 /** Sets the value of "caption-side" */
17161 void set captionSide(var value);
17162
17163 /** Gets the value of "clear" */
17164 String get clear();
17165
17166 /** Sets the value of "clear" */
17167 void set clear(var value);
17168
17169 /** Gets the value of "clip" */
17170 String get clip();
17171
17172 /** Sets the value of "clip" */
17173 void set clip(var value);
17174
17175 /** Gets the value of "color" */
17176 String get color();
17177
17178 /** Sets the value of "color" */
17179 void set color(var value);
17180
17181 /** Gets the value of "color-correction" */
17182 String get colorCorrection();
17183
17184 /** Sets the value of "color-correction" */
17185 void set colorCorrection(var value);
17186
17187 /** Gets the value of "column-break-after" */
17188 String get columnBreakAfter();
17189
17190 /** Sets the value of "column-break-after" */
17191 void set columnBreakAfter(var value);
17192
17193 /** Gets the value of "column-break-before" */
17194 String get columnBreakBefore();
17195
17196 /** Sets the value of "column-break-before" */
17197 void set columnBreakBefore(var value);
17198
17199 /** Gets the value of "column-break-inside" */
17200 String get columnBreakInside();
17201
17202 /** Sets the value of "column-break-inside" */
17203 void set columnBreakInside(var value);
17204
17205 /** Gets the value of "column-count" */
17206 String get columnCount();
17207
17208 /** Sets the value of "column-count" */
17209 void set columnCount(var value);
17210
17211 /** Gets the value of "column-gap" */
17212 String get columnGap();
17213
17214 /** Sets the value of "column-gap" */
17215 void set columnGap(var value);
17216
17217 /** Gets the value of "column-rule" */
17218 String get columnRule();
17219
17220 /** Sets the value of "column-rule" */
17221 void set columnRule(var value);
17222
17223 /** Gets the value of "column-rule-color" */
17224 String get columnRuleColor();
17225
17226 /** Sets the value of "column-rule-color" */
17227 void set columnRuleColor(var value);
17228
17229 /** Gets the value of "column-rule-style" */
17230 String get columnRuleStyle();
17231
17232 /** Sets the value of "column-rule-style" */
17233 void set columnRuleStyle(var value);
17234
17235 /** Gets the value of "column-rule-width" */
17236 String get columnRuleWidth();
17237
17238 /** Sets the value of "column-rule-width" */
17239 void set columnRuleWidth(var value);
17240
17241 /** Gets the value of "column-span" */
17242 String get columnSpan();
17243
17244 /** Sets the value of "column-span" */
17245 void set columnSpan(var value);
17246
17247 /** Gets the value of "column-width" */
17248 String get columnWidth();
17249
17250 /** Sets the value of "column-width" */
17251 void set columnWidth(var value);
17252
17253 /** Gets the value of "columns" */
17254 String get columns();
17255
17256 /** Sets the value of "columns" */
17257 void set columns(var value);
17258
17259 /** Gets the value of "content" */
17260 String get content();
17261
17262 /** Sets the value of "content" */
17263 void set content(var value);
17264
17265 /** Gets the value of "counter-increment" */
17266 String get counterIncrement();
17267
17268 /** Sets the value of "counter-increment" */
17269 void set counterIncrement(var value);
17270
17271 /** Gets the value of "counter-reset" */
17272 String get counterReset();
17273
17274 /** Sets the value of "counter-reset" */
17275 void set counterReset(var value);
17276
17277 /** Gets the value of "cursor" */
17278 String get cursor();
17279
17280 /** Sets the value of "cursor" */
17281 void set cursor(var value);
17282
17283 /** Gets the value of "direction" */
17284 String get direction();
17285
17286 /** Sets the value of "direction" */
17287 void set direction(var value);
17288
17289 /** Gets the value of "display" */
17290 String get display();
17291
17292 /** Sets the value of "display" */
17293 void set display(var value);
17294
17295 /** Gets the value of "empty-cells" */
17296 String get emptyCells();
17297
17298 /** Sets the value of "empty-cells" */
17299 void set emptyCells(var value);
17300
17301 /** Gets the value of "filter" */
17302 String get filter();
17303
17304 /** Sets the value of "filter" */
17305 void set filter(var value);
17306
17307 /** Gets the value of "flex-align" */
17308 String get flexAlign();
17309
17310 /** Sets the value of "flex-align" */
17311 void set flexAlign(var value);
17312
17313 /** Gets the value of "flex-flow" */
17314 String get flexFlow();
17315
17316 /** Sets the value of "flex-flow" */
17317 void set flexFlow(var value);
17318
17319 /** Gets the value of "flex-order" */
17320 String get flexOrder();
17321
17322 /** Sets the value of "flex-order" */
17323 void set flexOrder(var value);
17324
17325 /** Gets the value of "flex-pack" */
17326 String get flexPack();
17327
17328 /** Sets the value of "flex-pack" */
17329 void set flexPack(var value);
17330
17331 /** Gets the value of "float" */
17332 String get float();
17333
17334 /** Sets the value of "float" */
17335 void set float(var value);
17336
17337 /** Gets the value of "flow-from" */
17338 String get flowFrom();
17339
17340 /** Sets the value of "flow-from" */
17341 void set flowFrom(var value);
17342
17343 /** Gets the value of "flow-into" */
17344 String get flowInto();
17345
17346 /** Sets the value of "flow-into" */
17347 void set flowInto(var value);
17348
17349 /** Gets the value of "font" */
17350 String get font();
17351
17352 /** Sets the value of "font" */
17353 void set font(var value);
17354
17355 /** Gets the value of "font-family" */
17356 String get fontFamily();
17357
17358 /** Sets the value of "font-family" */
17359 void set fontFamily(var value);
17360
17361 /** Gets the value of "font-feature-settings" */
17362 String get fontFeatureSettings();
17363
17364 /** Sets the value of "font-feature-settings" */
17365 void set fontFeatureSettings(var value);
17366
17367 /** Gets the value of "font-size" */
17368 String get fontSize();
17369
17370 /** Sets the value of "font-size" */
17371 void set fontSize(var value);
17372
17373 /** Gets the value of "font-size-delta" */
17374 String get fontSizeDelta();
17375
17376 /** Sets the value of "font-size-delta" */
17377 void set fontSizeDelta(var value);
17378
17379 /** Gets the value of "font-smoothing" */
17380 String get fontSmoothing();
17381
17382 /** Sets the value of "font-smoothing" */
17383 void set fontSmoothing(var value);
17384
17385 /** Gets the value of "font-stretch" */
17386 String get fontStretch();
17387
17388 /** Sets the value of "font-stretch" */
17389 void set fontStretch(var value);
17390
17391 /** Gets the value of "font-style" */
17392 String get fontStyle();
17393
17394 /** Sets the value of "font-style" */
17395 void set fontStyle(var value);
17396
17397 /** Gets the value of "font-variant" */
17398 String get fontVariant();
17399
17400 /** Sets the value of "font-variant" */
17401 void set fontVariant(var value);
17402
17403 /** Gets the value of "font-weight" */
17404 String get fontWeight();
17405
17406 /** Sets the value of "font-weight" */
17407 void set fontWeight(var value);
17408
17409 /** Gets the value of "height" */
17410 String get height();
17411
17412 /** Sets the value of "height" */
17413 void set height(var value);
17414
17415 /** Gets the value of "highlight" */
17416 String get highlight();
17417
17418 /** Sets the value of "highlight" */
17419 void set highlight(var value);
17420
17421 /** Gets the value of "hyphenate-character" */
17422 String get hyphenateCharacter();
17423
17424 /** Sets the value of "hyphenate-character" */
17425 void set hyphenateCharacter(var value);
17426
17427 /** Gets the value of "hyphenate-limit-after" */
17428 String get hyphenateLimitAfter();
17429
17430 /** Sets the value of "hyphenate-limit-after" */
17431 void set hyphenateLimitAfter(var value);
17432
17433 /** Gets the value of "hyphenate-limit-before" */
17434 String get hyphenateLimitBefore();
17435
17436 /** Sets the value of "hyphenate-limit-before" */
17437 void set hyphenateLimitBefore(var value);
17438
17439 /** Gets the value of "hyphenate-limit-lines" */
17440 String get hyphenateLimitLines();
17441
17442 /** Sets the value of "hyphenate-limit-lines" */
17443 void set hyphenateLimitLines(var value);
17444
17445 /** Gets the value of "hyphens" */
17446 String get hyphens();
17447
17448 /** Sets the value of "hyphens" */
17449 void set hyphens(var value);
17450
17451 /** Gets the value of "image-rendering" */
17452 String get imageRendering();
17453
17454 /** Sets the value of "image-rendering" */
17455 void set imageRendering(var value);
17456
17457 /** Gets the value of "left" */
17458 String get left();
17459
17460 /** Sets the value of "left" */
17461 void set left(var value);
17462
17463 /** Gets the value of "letter-spacing" */
17464 String get letterSpacing();
17465
17466 /** Sets the value of "letter-spacing" */
17467 void set letterSpacing(var value);
17468
17469 /** Gets the value of "line-box-contain" */
17470 String get lineBoxContain();
17471
17472 /** Sets the value of "line-box-contain" */
17473 void set lineBoxContain(var value);
17474
17475 /** Gets the value of "line-break" */
17476 String get lineBreak();
17477
17478 /** Sets the value of "line-break" */
17479 void set lineBreak(var value);
17480
17481 /** Gets the value of "line-clamp" */
17482 String get lineClamp();
17483
17484 /** Sets the value of "line-clamp" */
17485 void set lineClamp(var value);
17486
17487 /** Gets the value of "line-height" */
17488 String get lineHeight();
17489
17490 /** Sets the value of "line-height" */
17491 void set lineHeight(var value);
17492
17493 /** Gets the value of "list-style" */
17494 String get listStyle();
17495
17496 /** Sets the value of "list-style" */
17497 void set listStyle(var value);
17498
17499 /** Gets the value of "list-style-image" */
17500 String get listStyleImage();
17501
17502 /** Sets the value of "list-style-image" */
17503 void set listStyleImage(var value);
17504
17505 /** Gets the value of "list-style-position" */
17506 String get listStylePosition();
17507
17508 /** Sets the value of "list-style-position" */
17509 void set listStylePosition(var value);
17510
17511 /** Gets the value of "list-style-type" */
17512 String get listStyleType();
17513
17514 /** Sets the value of "list-style-type" */
17515 void set listStyleType(var value);
17516
17517 /** Gets the value of "locale" */
17518 String get locale();
17519
17520 /** Sets the value of "locale" */
17521 void set locale(var value);
17522
17523 /** Gets the value of "logical-height" */
17524 String get logicalHeight();
17525
17526 /** Sets the value of "logical-height" */
17527 void set logicalHeight(var value);
17528
17529 /** Gets the value of "logical-width" */
17530 String get logicalWidth();
17531
17532 /** Sets the value of "logical-width" */
17533 void set logicalWidth(var value);
17534
17535 /** Gets the value of "margin" */
17536 String get margin();
17537
17538 /** Sets the value of "margin" */
17539 void set margin(var value);
17540
17541 /** Gets the value of "margin-after" */
17542 String get marginAfter();
17543
17544 /** Sets the value of "margin-after" */
17545 void set marginAfter(var value);
17546
17547 /** Gets the value of "margin-after-collapse" */
17548 String get marginAfterCollapse();
17549
17550 /** Sets the value of "margin-after-collapse" */
17551 void set marginAfterCollapse(var value);
17552
17553 /** Gets the value of "margin-before" */
17554 String get marginBefore();
17555
17556 /** Sets the value of "margin-before" */
17557 void set marginBefore(var value);
17558
17559 /** Gets the value of "margin-before-collapse" */
17560 String get marginBeforeCollapse();
17561
17562 /** Sets the value of "margin-before-collapse" */
17563 void set marginBeforeCollapse(var value);
17564
17565 /** Gets the value of "margin-bottom" */
17566 String get marginBottom();
17567
17568 /** Sets the value of "margin-bottom" */
17569 void set marginBottom(var value);
17570
17571 /** Gets the value of "margin-bottom-collapse" */
17572 String get marginBottomCollapse();
17573
17574 /** Sets the value of "margin-bottom-collapse" */
17575 void set marginBottomCollapse(var value);
17576
17577 /** Gets the value of "margin-collapse" */
17578 String get marginCollapse();
17579
17580 /** Sets the value of "margin-collapse" */
17581 void set marginCollapse(var value);
17582
17583 /** Gets the value of "margin-end" */
17584 String get marginEnd();
17585
17586 /** Sets the value of "margin-end" */
17587 void set marginEnd(var value);
17588
17589 /** Gets the value of "margin-left" */
17590 String get marginLeft();
17591
17592 /** Sets the value of "margin-left" */
17593 void set marginLeft(var value);
17594
17595 /** Gets the value of "margin-right" */
17596 String get marginRight();
17597
17598 /** Sets the value of "margin-right" */
17599 void set marginRight(var value);
17600
17601 /** Gets the value of "margin-start" */
17602 String get marginStart();
17603
17604 /** Sets the value of "margin-start" */
17605 void set marginStart(var value);
17606
17607 /** Gets the value of "margin-top" */
17608 String get marginTop();
17609
17610 /** Sets the value of "margin-top" */
17611 void set marginTop(var value);
17612
17613 /** Gets the value of "margin-top-collapse" */
17614 String get marginTopCollapse();
17615
17616 /** Sets the value of "margin-top-collapse" */
17617 void set marginTopCollapse(var value);
17618
17619 /** Gets the value of "marquee" */
17620 String get marquee();
17621
17622 /** Sets the value of "marquee" */
17623 void set marquee(var value);
17624
17625 /** Gets the value of "marquee-direction" */
17626 String get marqueeDirection();
17627
17628 /** Sets the value of "marquee-direction" */
17629 void set marqueeDirection(var value);
17630
17631 /** Gets the value of "marquee-increment" */
17632 String get marqueeIncrement();
17633
17634 /** Sets the value of "marquee-increment" */
17635 void set marqueeIncrement(var value);
17636
17637 /** Gets the value of "marquee-repetition" */
17638 String get marqueeRepetition();
17639
17640 /** Sets the value of "marquee-repetition" */
17641 void set marqueeRepetition(var value);
17642
17643 /** Gets the value of "marquee-speed" */
17644 String get marqueeSpeed();
17645
17646 /** Sets the value of "marquee-speed" */
17647 void set marqueeSpeed(var value);
17648
17649 /** Gets the value of "marquee-style" */
17650 String get marqueeStyle();
17651
17652 /** Sets the value of "marquee-style" */
17653 void set marqueeStyle(var value);
17654
17655 /** Gets the value of "mask" */
17656 String get mask();
17657
17658 /** Sets the value of "mask" */
17659 void set mask(var value);
17660
17661 /** Gets the value of "mask-attachment" */
17662 String get maskAttachment();
17663
17664 /** Sets the value of "mask-attachment" */
17665 void set maskAttachment(var value);
17666
17667 /** Gets the value of "mask-box-image" */
17668 String get maskBoxImage();
17669
17670 /** Sets the value of "mask-box-image" */
17671 void set maskBoxImage(var value);
17672
17673 /** Gets the value of "mask-box-image-outset" */
17674 String get maskBoxImageOutset();
17675
17676 /** Sets the value of "mask-box-image-outset" */
17677 void set maskBoxImageOutset(var value);
17678
17679 /** Gets the value of "mask-box-image-repeat" */
17680 String get maskBoxImageRepeat();
17681
17682 /** Sets the value of "mask-box-image-repeat" */
17683 void set maskBoxImageRepeat(var value);
17684
17685 /** Gets the value of "mask-box-image-slice" */
17686 String get maskBoxImageSlice();
17687
17688 /** Sets the value of "mask-box-image-slice" */
17689 void set maskBoxImageSlice(var value);
17690
17691 /** Gets the value of "mask-box-image-source" */
17692 String get maskBoxImageSource();
17693
17694 /** Sets the value of "mask-box-image-source" */
17695 void set maskBoxImageSource(var value);
17696
17697 /** Gets the value of "mask-box-image-width" */
17698 String get maskBoxImageWidth();
17699
17700 /** Sets the value of "mask-box-image-width" */
17701 void set maskBoxImageWidth(var value);
17702
17703 /** Gets the value of "mask-clip" */
17704 String get maskClip();
17705
17706 /** Sets the value of "mask-clip" */
17707 void set maskClip(var value);
17708
17709 /** Gets the value of "mask-composite" */
17710 String get maskComposite();
17711
17712 /** Sets the value of "mask-composite" */
17713 void set maskComposite(var value);
17714
17715 /** Gets the value of "mask-image" */
17716 String get maskImage();
17717
17718 /** Sets the value of "mask-image" */
17719 void set maskImage(var value);
17720
17721 /** Gets the value of "mask-origin" */
17722 String get maskOrigin();
17723
17724 /** Sets the value of "mask-origin" */
17725 void set maskOrigin(var value);
17726
17727 /** Gets the value of "mask-position" */
17728 String get maskPosition();
17729
17730 /** Sets the value of "mask-position" */
17731 void set maskPosition(var value);
17732
17733 /** Gets the value of "mask-position-x" */
17734 String get maskPositionX();
17735
17736 /** Sets the value of "mask-position-x" */
17737 void set maskPositionX(var value);
17738
17739 /** Gets the value of "mask-position-y" */
17740 String get maskPositionY();
17741
17742 /** Sets the value of "mask-position-y" */
17743 void set maskPositionY(var value);
17744
17745 /** Gets the value of "mask-repeat" */
17746 String get maskRepeat();
17747
17748 /** Sets the value of "mask-repeat" */
17749 void set maskRepeat(var value);
17750
17751 /** Gets the value of "mask-repeat-x" */
17752 String get maskRepeatX();
17753
17754 /** Sets the value of "mask-repeat-x" */
17755 void set maskRepeatX(var value);
17756
17757 /** Gets the value of "mask-repeat-y" */
17758 String get maskRepeatY();
17759
17760 /** Sets the value of "mask-repeat-y" */
17761 void set maskRepeatY(var value);
17762
17763 /** Gets the value of "mask-size" */
17764 String get maskSize();
17765
17766 /** Sets the value of "mask-size" */
17767 void set maskSize(var value);
17768
17769 /** Gets the value of "match-nearest-mail-blockquote-color" */
17770 String get matchNearestMailBlockquoteColor();
17771
17772 /** Sets the value of "match-nearest-mail-blockquote-color" */
17773 void set matchNearestMailBlockquoteColor(var value);
17774
17775 /** Gets the value of "max-height" */
17776 String get maxHeight();
17777
17778 /** Sets the value of "max-height" */
17779 void set maxHeight(var value);
17780
17781 /** Gets the value of "max-logical-height" */
17782 String get maxLogicalHeight();
17783
17784 /** Sets the value of "max-logical-height" */
17785 void set maxLogicalHeight(var value);
17786
17787 /** Gets the value of "max-logical-width" */
17788 String get maxLogicalWidth();
17789
17790 /** Sets the value of "max-logical-width" */
17791 void set maxLogicalWidth(var value);
17792
17793 /** Gets the value of "max-width" */
17794 String get maxWidth();
17795
17796 /** Sets the value of "max-width" */
17797 void set maxWidth(var value);
17798
17799 /** Gets the value of "min-height" */
17800 String get minHeight();
17801
17802 /** Sets the value of "min-height" */
17803 void set minHeight(var value);
17804
17805 /** Gets the value of "min-logical-height" */
17806 String get minLogicalHeight();
17807
17808 /** Sets the value of "min-logical-height" */
17809 void set minLogicalHeight(var value);
17810
17811 /** Gets the value of "min-logical-width" */
17812 String get minLogicalWidth();
17813
17814 /** Sets the value of "min-logical-width" */
17815 void set minLogicalWidth(var value);
17816
17817 /** Gets the value of "min-width" */
17818 String get minWidth();
17819
17820 /** Sets the value of "min-width" */
17821 void set minWidth(var value);
17822
17823 /** Gets the value of "nbsp-mode" */
17824 String get nbspMode();
17825
17826 /** Sets the value of "nbsp-mode" */
17827 void set nbspMode(var value);
17828
17829 /** Gets the value of "opacity" */
17830 String get opacity();
17831
17832 /** Sets the value of "opacity" */
17833 void set opacity(var value);
17834
17835 /** Gets the value of "orphans" */
17836 String get orphans();
17837
17838 /** Sets the value of "orphans" */
17839 void set orphans(var value);
17840
17841 /** Gets the value of "outline" */
17842 String get outline();
17843
17844 /** Sets the value of "outline" */
17845 void set outline(var value);
17846
17847 /** Gets the value of "outline-color" */
17848 String get outlineColor();
17849
17850 /** Sets the value of "outline-color" */
17851 void set outlineColor(var value);
17852
17853 /** Gets the value of "outline-offset" */
17854 String get outlineOffset();
17855
17856 /** Sets the value of "outline-offset" */
17857 void set outlineOffset(var value);
17858
17859 /** Gets the value of "outline-style" */
17860 String get outlineStyle();
17861
17862 /** Sets the value of "outline-style" */
17863 void set outlineStyle(var value);
17864
17865 /** Gets the value of "outline-width" */
17866 String get outlineWidth();
17867
17868 /** Sets the value of "outline-width" */
17869 void set outlineWidth(var value);
17870
17871 /** Gets the value of "overflow" */
17872 String get overflow();
17873
17874 /** Sets the value of "overflow" */
17875 void set overflow(var value);
17876
17877 /** Gets the value of "overflow-x" */
17878 String get overflowX();
17879
17880 /** Sets the value of "overflow-x" */
17881 void set overflowX(var value);
17882
17883 /** Gets the value of "overflow-y" */
17884 String get overflowY();
17885
17886 /** Sets the value of "overflow-y" */
17887 void set overflowY(var value);
17888
17889 /** Gets the value of "padding" */
17890 String get padding();
17891
17892 /** Sets the value of "padding" */
17893 void set padding(var value);
17894
17895 /** Gets the value of "padding-after" */
17896 String get paddingAfter();
17897
17898 /** Sets the value of "padding-after" */
17899 void set paddingAfter(var value);
17900
17901 /** Gets the value of "padding-before" */
17902 String get paddingBefore();
17903
17904 /** Sets the value of "padding-before" */
17905 void set paddingBefore(var value);
17906
17907 /** Gets the value of "padding-bottom" */
17908 String get paddingBottom();
17909
17910 /** Sets the value of "padding-bottom" */
17911 void set paddingBottom(var value);
17912
17913 /** Gets the value of "padding-end" */
17914 String get paddingEnd();
17915
17916 /** Sets the value of "padding-end" */
17917 void set paddingEnd(var value);
17918
17919 /** Gets the value of "padding-left" */
17920 String get paddingLeft();
17921
17922 /** Sets the value of "padding-left" */
17923 void set paddingLeft(var value);
17924
17925 /** Gets the value of "padding-right" */
17926 String get paddingRight();
17927
17928 /** Sets the value of "padding-right" */
17929 void set paddingRight(var value);
17930
17931 /** Gets the value of "padding-start" */
17932 String get paddingStart();
17933
17934 /** Sets the value of "padding-start" */
17935 void set paddingStart(var value);
17936
17937 /** Gets the value of "padding-top" */
17938 String get paddingTop();
17939
17940 /** Sets the value of "padding-top" */
17941 void set paddingTop(var value);
17942
17943 /** Gets the value of "page" */
17944 String get page();
17945
17946 /** Sets the value of "page" */
17947 void set page(var value);
17948
17949 /** Gets the value of "page-break-after" */
17950 String get pageBreakAfter();
17951
17952 /** Sets the value of "page-break-after" */
17953 void set pageBreakAfter(var value);
17954
17955 /** Gets the value of "page-break-before" */
17956 String get pageBreakBefore();
17957
17958 /** Sets the value of "page-break-before" */
17959 void set pageBreakBefore(var value);
17960
17961 /** Gets the value of "page-break-inside" */
17962 String get pageBreakInside();
17963
17964 /** Sets the value of "page-break-inside" */
17965 void set pageBreakInside(var value);
17966
17967 /** Gets the value of "perspective" */
17968 String get perspective();
17969
17970 /** Sets the value of "perspective" */
17971 void set perspective(var value);
17972
17973 /** Gets the value of "perspective-origin" */
17974 String get perspectiveOrigin();
17975
17976 /** Sets the value of "perspective-origin" */
17977 void set perspectiveOrigin(var value);
17978
17979 /** Gets the value of "perspective-origin-x" */
17980 String get perspectiveOriginX();
17981
17982 /** Sets the value of "perspective-origin-x" */
17983 void set perspectiveOriginX(var value);
17984
17985 /** Gets the value of "perspective-origin-y" */
17986 String get perspectiveOriginY();
17987
17988 /** Sets the value of "perspective-origin-y" */
17989 void set perspectiveOriginY(var value);
17990
17991 /** Gets the value of "pointer-events" */
17992 String get pointerEvents();
17993
17994 /** Sets the value of "pointer-events" */
17995 void set pointerEvents(var value);
17996
17997 /** Gets the value of "position" */
17998 String get position();
17999
18000 /** Sets the value of "position" */
18001 void set position(var value);
18002
18003 /** Gets the value of "quotes" */
18004 String get quotes();
18005
18006 /** Sets the value of "quotes" */
18007 void set quotes(var value);
18008
18009 /** Gets the value of "region-break-after" */
18010 String get regionBreakAfter();
18011
18012 /** Sets the value of "region-break-after" */
18013 void set regionBreakAfter(var value);
18014
18015 /** Gets the value of "region-break-before" */
18016 String get regionBreakBefore();
18017
18018 /** Sets the value of "region-break-before" */
18019 void set regionBreakBefore(var value);
18020
18021 /** Gets the value of "region-break-inside" */
18022 String get regionBreakInside();
18023
18024 /** Sets the value of "region-break-inside" */
18025 void set regionBreakInside(var value);
18026
18027 /** Gets the value of "region-overflow" */
18028 String get regionOverflow();
18029
18030 /** Sets the value of "region-overflow" */
18031 void set regionOverflow(var value);
18032
18033 /** Gets the value of "resize" */
18034 String get resize();
18035
18036 /** Sets the value of "resize" */
18037 void set resize(var value);
18038
18039 /** Gets the value of "right" */
18040 String get right();
18041
18042 /** Sets the value of "right" */
18043 void set right(var value);
18044
18045 /** Gets the value of "rtl-ordering" */
18046 String get rtlOrdering();
18047
18048 /** Sets the value of "rtl-ordering" */
18049 void set rtlOrdering(var value);
18050
18051 /** Gets the value of "size" */
18052 String get size();
18053
18054 /** Sets the value of "size" */
18055 void set size(var value);
18056
18057 /** Gets the value of "speak" */
18058 String get speak();
18059
18060 /** Sets the value of "speak" */
18061 void set speak(var value);
18062
18063 /** Gets the value of "src" */
18064 String get src();
18065
18066 /** Sets the value of "src" */
18067 void set src(var value);
18068
18069 /** Gets the value of "table-layout" */
18070 String get tableLayout();
18071
18072 /** Sets the value of "table-layout" */
18073 void set tableLayout(var value);
18074
18075 /** Gets the value of "tap-highlight-color" */
18076 String get tapHighlightColor();
18077
18078 /** Sets the value of "tap-highlight-color" */
18079 void set tapHighlightColor(var value);
18080
18081 /** Gets the value of "text-align" */
18082 String get textAlign();
18083
18084 /** Sets the value of "text-align" */
18085 void set textAlign(var value);
18086
18087 /** Gets the value of "text-combine" */
18088 String get textCombine();
18089
18090 /** Sets the value of "text-combine" */
18091 void set textCombine(var value);
18092
18093 /** Gets the value of "text-decoration" */
18094 String get textDecoration();
18095
18096 /** Sets the value of "text-decoration" */
18097 void set textDecoration(var value);
18098
18099 /** Gets the value of "text-decorations-in-effect" */
18100 String get textDecorationsInEffect();
18101
18102 /** Sets the value of "text-decorations-in-effect" */
18103 void set textDecorationsInEffect(var value);
18104
18105 /** Gets the value of "text-emphasis" */
18106 String get textEmphasis();
18107
18108 /** Sets the value of "text-emphasis" */
18109 void set textEmphasis(var value);
18110
18111 /** Gets the value of "text-emphasis-color" */
18112 String get textEmphasisColor();
18113
18114 /** Sets the value of "text-emphasis-color" */
18115 void set textEmphasisColor(var value);
18116
18117 /** Gets the value of "text-emphasis-position" */
18118 String get textEmphasisPosition();
18119
18120 /** Sets the value of "text-emphasis-position" */
18121 void set textEmphasisPosition(var value);
18122
18123 /** Gets the value of "text-emphasis-style" */
18124 String get textEmphasisStyle();
18125
18126 /** Sets the value of "text-emphasis-style" */
18127 void set textEmphasisStyle(var value);
18128
18129 /** Gets the value of "text-fill-color" */
18130 String get textFillColor();
18131
18132 /** Sets the value of "text-fill-color" */
18133 void set textFillColor(var value);
18134
18135 /** Gets the value of "text-indent" */
18136 String get textIndent();
18137
18138 /** Sets the value of "text-indent" */
18139 void set textIndent(var value);
18140
18141 /** Gets the value of "text-line-through" */
18142 String get textLineThrough();
18143
18144 /** Sets the value of "text-line-through" */
18145 void set textLineThrough(var value);
18146
18147 /** Gets the value of "text-line-through-color" */
18148 String get textLineThroughColor();
18149
18150 /** Sets the value of "text-line-through-color" */
18151 void set textLineThroughColor(var value);
18152
18153 /** Gets the value of "text-line-through-mode" */
18154 String get textLineThroughMode();
18155
18156 /** Sets the value of "text-line-through-mode" */
18157 void set textLineThroughMode(var value);
18158
18159 /** Gets the value of "text-line-through-style" */
18160 String get textLineThroughStyle();
18161
18162 /** Sets the value of "text-line-through-style" */
18163 void set textLineThroughStyle(var value);
18164
18165 /** Gets the value of "text-line-through-width" */
18166 String get textLineThroughWidth();
18167
18168 /** Sets the value of "text-line-through-width" */
18169 void set textLineThroughWidth(var value);
18170
18171 /** Gets the value of "text-orientation" */
18172 String get textOrientation();
18173
18174 /** Sets the value of "text-orientation" */
18175 void set textOrientation(var value);
18176
18177 /** Gets the value of "text-overflow" */
18178 String get textOverflow();
18179
18180 /** Sets the value of "text-overflow" */
18181 void set textOverflow(var value);
18182
18183 /** Gets the value of "text-overline" */
18184 String get textOverline();
18185
18186 /** Sets the value of "text-overline" */
18187 void set textOverline(var value);
18188
18189 /** Gets the value of "text-overline-color" */
18190 String get textOverlineColor();
18191
18192 /** Sets the value of "text-overline-color" */
18193 void set textOverlineColor(var value);
18194
18195 /** Gets the value of "text-overline-mode" */
18196 String get textOverlineMode();
18197
18198 /** Sets the value of "text-overline-mode" */
18199 void set textOverlineMode(var value);
18200
18201 /** Gets the value of "text-overline-style" */
18202 String get textOverlineStyle();
18203
18204 /** Sets the value of "text-overline-style" */
18205 void set textOverlineStyle(var value);
18206
18207 /** Gets the value of "text-overline-width" */
18208 String get textOverlineWidth();
18209
18210 /** Sets the value of "text-overline-width" */
18211 void set textOverlineWidth(var value);
18212
18213 /** Gets the value of "text-rendering" */
18214 String get textRendering();
18215
18216 /** Sets the value of "text-rendering" */
18217 void set textRendering(var value);
18218
18219 /** Gets the value of "text-security" */
18220 String get textSecurity();
18221
18222 /** Sets the value of "text-security" */
18223 void set textSecurity(var value);
18224
18225 /** Gets the value of "text-shadow" */
18226 String get textShadow();
18227
18228 /** Sets the value of "text-shadow" */
18229 void set textShadow(var value);
18230
18231 /** Gets the value of "text-size-adjust" */
18232 String get textSizeAdjust();
18233
18234 /** Sets the value of "text-size-adjust" */
18235 void set textSizeAdjust(var value);
18236
18237 /** Gets the value of "text-stroke" */
18238 String get textStroke();
18239
18240 /** Sets the value of "text-stroke" */
18241 void set textStroke(var value);
18242
18243 /** Gets the value of "text-stroke-color" */
18244 String get textStrokeColor();
18245
18246 /** Sets the value of "text-stroke-color" */
18247 void set textStrokeColor(var value);
18248
18249 /** Gets the value of "text-stroke-width" */
18250 String get textStrokeWidth();
18251
18252 /** Sets the value of "text-stroke-width" */
18253 void set textStrokeWidth(var value);
18254
18255 /** Gets the value of "text-transform" */
18256 String get textTransform();
18257
18258 /** Sets the value of "text-transform" */
18259 void set textTransform(var value);
18260
18261 /** Gets the value of "text-underline" */
18262 String get textUnderline();
18263
18264 /** Sets the value of "text-underline" */
18265 void set textUnderline(var value);
18266
18267 /** Gets the value of "text-underline-color" */
18268 String get textUnderlineColor();
18269
18270 /** Sets the value of "text-underline-color" */
18271 void set textUnderlineColor(var value);
18272
18273 /** Gets the value of "text-underline-mode" */
18274 String get textUnderlineMode();
18275
18276 /** Sets the value of "text-underline-mode" */
18277 void set textUnderlineMode(var value);
18278
18279 /** Gets the value of "text-underline-style" */
18280 String get textUnderlineStyle();
18281
18282 /** Sets the value of "text-underline-style" */
18283 void set textUnderlineStyle(var value);
18284
18285 /** Gets the value of "text-underline-width" */
18286 String get textUnderlineWidth();
18287
18288 /** Sets the value of "text-underline-width" */
18289 void set textUnderlineWidth(var value);
18290
18291 /** Gets the value of "top" */
18292 String get top();
18293
18294 /** Sets the value of "top" */
18295 void set top(var value);
18296
18297 /** Gets the value of "transform" */
18298 String get transform();
18299
18300 /** Sets the value of "transform" */
18301 void set transform(var value);
18302
18303 /** Gets the value of "transform-origin" */
18304 String get transformOrigin();
18305
18306 /** Sets the value of "transform-origin" */
18307 void set transformOrigin(var value);
18308
18309 /** Gets the value of "transform-origin-x" */
18310 String get transformOriginX();
18311
18312 /** Sets the value of "transform-origin-x" */
18313 void set transformOriginX(var value);
18314
18315 /** Gets the value of "transform-origin-y" */
18316 String get transformOriginY();
18317
18318 /** Sets the value of "transform-origin-y" */
18319 void set transformOriginY(var value);
18320
18321 /** Gets the value of "transform-origin-z" */
18322 String get transformOriginZ();
18323
18324 /** Sets the value of "transform-origin-z" */
18325 void set transformOriginZ(var value);
18326
18327 /** Gets the value of "transform-style" */
18328 String get transformStyle();
18329
18330 /** Sets the value of "transform-style" */
18331 void set transformStyle(var value);
18332
18333 /** Gets the value of "transition" */
18334 String get transition();
18335
18336 /** Sets the value of "transition" */
18337 void set transition(var value);
18338
18339 /** Gets the value of "transition-delay" */
18340 String get transitionDelay();
18341
18342 /** Sets the value of "transition-delay" */
18343 void set transitionDelay(var value);
18344
18345 /** Gets the value of "transition-duration" */
18346 String get transitionDuration();
18347
18348 /** Sets the value of "transition-duration" */
18349 void set transitionDuration(var value);
18350
18351 /** Gets the value of "transition-property" */
18352 String get transitionProperty();
18353
18354 /** Sets the value of "transition-property" */
18355 void set transitionProperty(var value);
18356
18357 /** Gets the value of "transition-timing-function" */
18358 String get transitionTimingFunction();
18359
18360 /** Sets the value of "transition-timing-function" */
18361 void set transitionTimingFunction(var value);
18362
18363 /** Gets the value of "unicode-bidi" */
18364 String get unicodeBidi();
18365
18366 /** Sets the value of "unicode-bidi" */
18367 void set unicodeBidi(var value);
18368
18369 /** Gets the value of "unicode-range" */
18370 String get unicodeRange();
18371
18372 /** Sets the value of "unicode-range" */
18373 void set unicodeRange(var value);
18374
18375 /** Gets the value of "user-drag" */
18376 String get userDrag();
18377
18378 /** Sets the value of "user-drag" */
18379 void set userDrag(var value);
18380
18381 /** Gets the value of "user-modify" */
18382 String get userModify();
18383
18384 /** Sets the value of "user-modify" */
18385 void set userModify(var value);
18386
18387 /** Gets the value of "user-select" */
18388 String get userSelect();
18389
18390 /** Sets the value of "user-select" */
18391 void set userSelect(var value);
18392
18393 /** Gets the value of "vertical-align" */
18394 String get verticalAlign();
18395
18396 /** Sets the value of "vertical-align" */
18397 void set verticalAlign(var value);
18398
18399 /** Gets the value of "visibility" */
18400 String get visibility();
18401
18402 /** Sets the value of "visibility" */
18403 void set visibility(var value);
18404
18405 /** Gets the value of "white-space" */
18406 String get whiteSpace();
18407
18408 /** Sets the value of "white-space" */
18409 void set whiteSpace(var value);
18410
18411 /** Gets the value of "widows" */
18412 String get widows();
18413
18414 /** Sets the value of "widows" */
18415 void set widows(var value);
18416
18417 /** Gets the value of "width" */
18418 String get width();
18419
18420 /** Sets the value of "width" */
18421 void set width(var value);
18422
18423 /** Gets the value of "word-break" */
18424 String get wordBreak();
18425
18426 /** Sets the value of "word-break" */
18427 void set wordBreak(var value);
18428
18429 /** Gets the value of "word-spacing" */
18430 String get wordSpacing();
18431
18432 /** Sets the value of "word-spacing" */
18433 void set wordSpacing(var value);
18434
18435 /** Gets the value of "word-wrap" */
18436 String get wordWrap();
18437
18438 /** Sets the value of "word-wrap" */
18439 void set wordWrap(var value);
18440
18441 /** Gets the value of "wrap-shape" */
18442 String get wrapShape();
18443
18444 /** Sets the value of "wrap-shape" */
18445 void set wrapShape(var value);
18446
18447 /** Gets the value of "writing-mode" */
18448 String get writingMode();
18449
18450 /** Sets the value of "writing-mode" */
18451 void set writingMode(var value);
18452
18453 /** Gets the value of "z-index" */
18454 String get zIndex();
18455
18456 /** Sets the value of "z-index" */
18457 void set zIndex(var value);
18458
18459 /** Gets the value of "zoom" */
18460 String get zoom();
18461
18462 /** Sets the value of "zoom" */
18463 void set zoom(var value);
18464 }
18465 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
18466 // for details. All rights reserved. Use of this source code is governed by a
18467 // BSD-style license that can be found in the LICENSE file.
18468
18469 // WARNING: Do not edit - generated code.
18470
18471 interface CSSStyleRule extends CSSRule {
18472
18473 String selectorText;
18474
18475 final CSSStyleDeclaration style;
18476 }
18477 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
18478 // for details. All rights reserved. Use of this source code is governed by a
18479 // BSD-style license that can be found in the LICENSE file.
18480
18481 // WARNING: Do not edit - generated code.
18482
18483 interface CSSStyleSheet extends StyleSheet {
18484
18485 final CSSRuleList cssRules;
18486
18487 final CSSRule ownerRule;
18488
18489 final CSSRuleList rules;
18490
18491 int addRule(String selector, String style, [int index]);
18492
18493 void deleteRule(int index);
18494
18495 int insertRule(String rule, int index);
18496
18497 void removeRule(int index);
18498 }
18499 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
18500 // for details. All rights reserved. Use of this source code is governed by a
18501 // BSD-style license that can be found in the LICENSE file.
18502
18503 // WARNING: Do not edit - generated code.
18504
18505 interface CSSTransformValue extends CSSValueList {
18506
18507 static final int CSS_MATRIX = 11;
18508
18509 static final int CSS_MATRIX3D = 21;
18510
18511 static final int CSS_PERSPECTIVE = 20;
18512
18513 static final int CSS_ROTATE = 4;
18514
18515 static final int CSS_ROTATE3D = 17;
18516
18517 static final int CSS_ROTATEX = 14;
18518
18519 static final int CSS_ROTATEY = 15;
18520
18521 static final int CSS_ROTATEZ = 16;
18522
18523 static final int CSS_SCALE = 5;
18524
18525 static final int CSS_SCALE3D = 19;
18526
18527 static final int CSS_SCALEX = 6;
18528
18529 static final int CSS_SCALEY = 7;
18530
18531 static final int CSS_SCALEZ = 18;
18532
18533 static final int CSS_SKEW = 8;
18534
18535 static final int CSS_SKEWX = 9;
18536
18537 static final int CSS_SKEWY = 10;
18538
18539 static final int CSS_TRANSLATE = 1;
18540
18541 static final int CSS_TRANSLATE3D = 13;
18542
18543 static final int CSS_TRANSLATEX = 2;
18544
18545 static final int CSS_TRANSLATEY = 3;
18546
18547 static final int CSS_TRANSLATEZ = 12;
18548
18549 final int operationType;
18550 }
18551 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
18552 // for details. All rights reserved. Use of this source code is governed by a
18553 // BSD-style license that can be found in the LICENSE file.
18554
18555 // WARNING: Do not edit - generated code.
18556
18557 interface CSSUnknownRule extends CSSRule {
18558 }
18559 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
18560 // for details. All rights reserved. Use of this source code is governed by a
18561 // BSD-style license that can be found in the LICENSE file.
18562
18563 // WARNING: Do not edit - generated code.
18564
18565 interface CSSValue {
18566
18567 static final int CSS_CUSTOM = 3;
18568
18569 static final int CSS_INHERIT = 0;
18570
18571 static final int CSS_PRIMITIVE_VALUE = 1;
18572
18573 static final int CSS_VALUE_LIST = 2;
18574
18575 String cssText;
18576
18577 final int cssValueType;
18578 }
18579 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
18580 // for details. All rights reserved. Use of this source code is governed by a
18581 // BSD-style license that can be found in the LICENSE file.
18582
18583 // WARNING: Do not edit - generated code.
18584
18585 interface CSSValueList extends CSSValue {
18586
18587 final int length;
18588
18589 CSSValue item(int index);
18590 }
18591 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
18592 // for details. All rights reserved. Use of this source code is governed by a
18593 // BSD-style license that can be found in the LICENSE file.
18594
18595 // WARNING: Do not edit - generated code.
18596
18597 interface CanvasElement extends Element {
18598
18599 int height;
18600
18601 int width;
18602
18603 Object getContext(String contextId);
18604
18605 String toDataURL(String type);
18606 }
18607 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
18608 // for details. All rights reserved. Use of this source code is governed by a
18609 // BSD-style license that can be found in the LICENSE file.
18610
18611 // WARNING: Do not edit - generated code.
18612
18613 interface CanvasGradient {
18614
18615 void addColorStop(num offset, String color);
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 CanvasPattern {
18624 }
18625 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
18626 // for details. All rights reserved. Use of this source code is governed by a
18627 // BSD-style license that can be found in the LICENSE file.
18628
18629 // WARNING: Do not edit - generated code.
18630
18631 interface CanvasPixelArray extends List<int> {
18632
18633 final int length;
18634 }
18635 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
18636 // for details. All rights reserved. Use of this source code is governed by a
18637 // BSD-style license that can be found in the LICENSE file.
18638
18639 // WARNING: Do not edit - generated code.
18640
18641 interface CanvasRenderingContext {
18642
18643 final CanvasElement canvas;
18644 }
18645 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
18646 // for details. All rights reserved. Use of this source code is governed by a
18647 // BSD-style license that can be found in the LICENSE file.
18648
18649 // WARNING: Do not edit - generated code.
18650
18651 interface CanvasRenderingContext2D extends CanvasRenderingContext {
18652
18653 Dynamic fillStyle;
18654
18655 String font;
18656
18657 num globalAlpha;
18658
18659 String globalCompositeOperation;
18660
18661 String lineCap;
18662
18663 String lineJoin;
18664
18665 num lineWidth;
18666
18667 num miterLimit;
18668
18669 num shadowBlur;
18670
18671 String shadowColor;
18672
18673 num shadowOffsetX;
18674
18675 num shadowOffsetY;
18676
18677 Dynamic strokeStyle;
18678
18679 String textAlign;
18680
18681 String textBaseline;
18682
18683 List webkitLineDash;
18684
18685 num webkitLineDashOffset;
18686
18687 void arc(num x, num y, num radius, num startAngle, num endAngle, bool anticloc kwise);
18688
18689 void arcTo(num x1, num y1, num x2, num y2, num radius);
18690
18691 void beginPath();
18692
18693 void bezierCurveTo(num cp1x, num cp1y, num cp2x, num cp2y, num x, num y);
18694
18695 void clearRect(num x, num y, num width, num height);
18696
18697 void clearShadow();
18698
18699 void clip();
18700
18701 void closePath();
18702
18703 ImageData createImageData(var imagedata_OR_sw, [num sh]);
18704
18705 CanvasGradient createLinearGradient(num x0, num y0, num x1, num y1);
18706
18707 CanvasPattern createPattern(var canvas_OR_image, String repetitionType);
18708
18709 CanvasGradient createRadialGradient(num x0, num y0, num r0, num x1, num y1, nu m r1);
18710
18711 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]);
18712
18713 void drawImageFromRect(ImageElement image, [num sx, num sy, num sw, num sh, nu m dx, num dy, num dw, num dh, String compositeOperation]);
18714
18715 void fill();
18716
18717 void fillRect(num x, num y, num width, num height);
18718
18719 void fillText(String text, num x, num y, [num maxWidth]);
18720
18721 ImageData getImageData(num sx, num sy, num sw, num sh);
18722
18723 bool isPointInPath(num x, num y);
18724
18725 void lineTo(num x, num y);
18726
18727 TextMetrics measureText(String text);
18728
18729 void moveTo(num x, num y);
18730
18731 void putImageData(ImageData imagedata, num dx, num dy, [num dirtyX, num dirtyY , num dirtyWidth, num dirtyHeight]);
18732
18733 void quadraticCurveTo(num cpx, num cpy, num x, num y);
18734
18735 void rect(num x, num y, num width, num height);
18736
18737 void restore();
18738
18739 void rotate(num angle);
18740
18741 void save();
18742
18743 void scale(num sx, num sy);
18744
18745 void setAlpha(num alpha);
18746
18747 void setCompositeOperation(String compositeOperation);
18748
18749 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]);
18750
18751 void setLineCap(String cap);
18752
18753 void setLineJoin(String join);
18754
18755 void setLineWidth(num width);
18756
18757 void setMiterLimit(num limit);
18758
18759 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]);
18760
18761 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]);
18762
18763 void setTransform(num m11, num m12, num m21, num m22, num dx, num dy);
18764
18765 void stroke();
18766
18767 void strokeRect(num x, num y, num width, num height, [num lineWidth]);
18768
18769 void strokeText(String text, num x, num y, [num maxWidth]);
18770
18771 void transform(num m11, num m12, num m21, num m22, num dx, num dy);
18772
18773 void translate(num tx, num ty);
18774 }
18775 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
18776 // for details. All rights reserved. Use of this source code is governed by a
18777 // BSD-style license that can be found in the LICENSE file.
18778
18779 // WARNING: Do not edit - generated code.
18780
18781 interface CharacterData extends Node {
18782
18783 String data;
18784
18785 final int length;
18786
18787 void appendData(String data);
18788
18789 void deleteData(int offset, int length);
18790
18791 void insertData(int offset, String data);
18792
18793 void replaceData(int offset, int length, String data);
18794
18795 String substringData(int offset, int length);
18796 }
18797 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
18798 // for details. All rights reserved. Use of this source code is governed by a
18799 // BSD-style license that can be found in the LICENSE file.
18800
18801 // WARNING: Do not edit - generated code.
18802
18803 interface ClientRect {
18804
18805 final num bottom;
18806
18807 final num height;
18808
18809 final num left;
18810
18811 final num right;
18812
18813 final num top;
18814
18815 final num width;
18816 }
18817 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
18818 // for details. All rights reserved. Use of this source code is governed by a
18819 // BSD-style license that can be found in the LICENSE file.
18820
18821 // WARNING: Do not edit - generated code.
18822
18823 interface ClientRectList {
18824
18825 final int length;
18826
18827 ClientRect item(int index);
18828 }
18829 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
18830 // for details. All rights reserved. Use of this source code is governed by a
18831 // BSD-style license that can be found in the LICENSE file.
18832
18833 // WARNING: Do not edit - generated code.
18834
18835 interface Clipboard {
18836
18837 String dropEffect;
18838
18839 String effectAllowed;
18840
18841 final FileList files;
18842
18843 final DataTransferItemList items;
18844
18845 final List types;
18846
18847 void clearData([String type]);
18848
18849 void getData(String type);
18850
18851 bool setData(String type, String data);
18852
18853 void setDragImage(ImageElement image, int x, int y);
18854 }
18855 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
18856 // for details. All rights reserved. Use of this source code is governed by a
18857 // BSD-style license that can be found in the LICENSE file.
18858
18859 // WARNING: Do not edit - generated code.
18860
18861 interface CloseEvent extends Event {
18862
18863 final int code;
18864
18865 final String reason;
18866
18867 final bool wasClean;
18868 }
18869 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
18870 // for details. All rights reserved. Use of this source code is governed by a
18871 // BSD-style license that can be found in the LICENSE file.
18872
18873 // WARNING: Do not edit - generated code.
18874
18875 interface Comment extends CharacterData {
18876 }
18877 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
18878 // for details. All rights reserved. Use of this source code is governed by a
18879 // BSD-style license that can be found in the LICENSE file.
18880
18881 // WARNING: Do not edit - generated code.
18882
18883 interface CompositionEvent extends UIEvent {
18884
18885 final String data;
18886
18887 void initCompositionEvent(String typeArg, bool canBubbleArg, bool cancelableAr g, Window viewArg, String dataArg);
18888 }
18889 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
18890 // for details. All rights reserved. Use of this source code is governed by a
18891 // BSD-style license that can be found in the LICENSE file.
18892
18893 // WARNING: Do not edit - generated code.
18894
18895 interface Console {
18896
18897 final MemoryInfo memory;
18898
18899 final List profiles;
18900
18901 void assertCondition(bool condition);
18902
18903 void count();
18904
18905 void debug(Object arg);
18906
18907 void dir();
18908
18909 void dirxml();
18910
18911 void error(Object arg);
18912
18913 void group();
18914
18915 void groupCollapsed();
18916
18917 void groupEnd();
18918
18919 void info(Object arg);
18920
18921 void log(Object arg);
18922
18923 void markTimeline();
18924
18925 void profile(String title);
18926
18927 void profileEnd(String title);
18928
18929 void time(String title);
18930
18931 void timeEnd(String title);
18932
18933 void timeStamp();
18934
18935 void trace(Object arg);
18936
18937 void warn(Object arg);
18938 }
18939 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
18940 // for details. All rights reserved. Use of this source code is governed by a
18941 // BSD-style license that can be found in the LICENSE file.
18942
18943 // WARNING: Do not edit - generated code.
18944
18945 interface ConvolverNode extends AudioNode {
18946
18947 AudioBuffer buffer;
18948
18949 bool normalize;
18950 }
18951 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
18952 // for details. All rights reserved. Use of this source code is governed by a
18953 // BSD-style license that can be found in the LICENSE file.
18954
18955 // WARNING: Do not edit - generated code.
18956
18957 interface Coordinates {
18958
18959 final num accuracy;
18960
18961 final num altitude;
18962
18963 final num altitudeAccuracy;
18964
18965 final num heading;
18966
18967 final num latitude;
18968
18969 final num longitude;
18970
18971 final num speed;
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 Counter {
18980
18981 final String identifier;
18982
18983 final String listStyle;
18984
18985 final String separator;
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 Crypto {
18994
18995 void getRandomValues(ArrayBufferView array);
18996 }
18997 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
18998 // for details. All rights reserved. Use of this source code is governed by a
18999 // BSD-style license that can be found in the LICENSE file.
19000
19001 // WARNING: Do not edit - generated code.
19002
19003 interface CustomEvent extends Event {
19004
19005 final Object detail;
19006
19007 void initCustomEvent(String typeArg, bool canBubbleArg, bool cancelableArg, Ob ject detailArg);
19008 }
19009 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
19010 // for details. All rights reserved. Use of this source code is governed by a
19011 // BSD-style license that can be found in the LICENSE file.
19012
19013 // WARNING: Do not edit - generated code.
19014
19015 interface DListElement extends Element {
19016
19017 bool compact;
19018 }
19019 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
19020 // for details. All rights reserved. Use of this source code is governed by a
19021 // BSD-style license that can be found in the LICENSE file.
19022
19023 // WARNING: Do not edit - generated code.
19024
19025 interface DOMApplicationCache extends EventTarget {
19026
19027 static final int CHECKING = 2;
19028
19029 static final int DOWNLOADING = 3;
19030
19031 static final int IDLE = 1;
19032
19033 static final int OBSOLETE = 5;
19034
19035 static final int UNCACHED = 0;
19036
19037 static final int UPDATEREADY = 4;
19038
19039 final int status;
19040
19041 DOMApplicationCacheEvents get on();
19042
19043 void abort();
19044
19045 void swapCache();
19046
19047 void update();
19048 }
19049
19050 interface DOMApplicationCacheEvents extends Events {
19051
19052 EventListenerList get cached();
19053
19054 EventListenerList get checking();
19055
19056 EventListenerList get downloading();
19057
19058 EventListenerList get error();
19059
19060 EventListenerList get noUpdate();
19061
19062 EventListenerList get obsolete();
19063
19064 EventListenerList get progress();
19065
19066 EventListenerList get updateReady();
19067 }
19068 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
19069 // for details. All rights reserved. Use of this source code is governed by a
19070 // BSD-style license that can be found in the LICENSE file.
19071
19072 // WARNING: Do not edit - generated code.
19073
19074 interface DOMException {
19075
19076 static final int ABORT_ERR = 20;
19077
19078 static final int DATA_CLONE_ERR = 25;
19079
19080 static final int DOMSTRING_SIZE_ERR = 2;
19081
19082 static final int HIERARCHY_REQUEST_ERR = 3;
19083
19084 static final int INDEX_SIZE_ERR = 1;
19085
19086 static final int INUSE_ATTRIBUTE_ERR = 10;
19087
19088 static final int INVALID_ACCESS_ERR = 15;
19089
19090 static final int INVALID_CHARACTER_ERR = 5;
19091
19092 static final int INVALID_MODIFICATION_ERR = 13;
19093
19094 static final int INVALID_NODE_TYPE_ERR = 24;
19095
19096 static final int INVALID_STATE_ERR = 11;
19097
19098 static final int NAMESPACE_ERR = 14;
19099
19100 static final int NETWORK_ERR = 19;
19101
19102 static final int NOT_FOUND_ERR = 8;
19103
19104 static final int NOT_SUPPORTED_ERR = 9;
19105
19106 static final int NO_DATA_ALLOWED_ERR = 6;
19107
19108 static final int NO_MODIFICATION_ALLOWED_ERR = 7;
19109
19110 static final int QUOTA_EXCEEDED_ERR = 22;
19111
19112 static final int SECURITY_ERR = 18;
19113
19114 static final int SYNTAX_ERR = 12;
19115
19116 static final int TIMEOUT_ERR = 23;
19117
19118 static final int TYPE_MISMATCH_ERR = 17;
19119
19120 static final int URL_MISMATCH_ERR = 21;
19121
19122 static final int VALIDATION_ERR = 16;
19123
19124 static final int WRONG_DOCUMENT_ERR = 4;
19125
19126 final int code;
19127
19128 final String message;
19129
19130 final String name;
19131
19132 String toString();
19133 }
19134 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
19135 // for details. All rights reserved. Use of this source code is governed by a
19136 // BSD-style license that can be found in the LICENSE file.
19137
19138 // WARNING: Do not edit - generated code.
19139
19140 interface DOMFileSystem {
19141
19142 final String name;
19143
19144 final DirectoryEntry root;
19145 }
19146 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
19147 // for details. All rights reserved. Use of this source code is governed by a
19148 // BSD-style license that can be found in the LICENSE file.
19149
19150 // WARNING: Do not edit - generated code.
19151
19152 interface DOMFileSystemSync {
19153
19154 final String name;
19155
19156 final DirectoryEntrySync root;
19157 }
19158 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
19159 // for details. All rights reserved. Use of this source code is governed by a
19160 // BSD-style license that can be found in the LICENSE file.
19161
19162 // WARNING: Do not edit - generated code.
19163
19164 interface DOMFormData {
19165
19166 void append(String name, String value, String filename);
19167 }
19168 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
19169 // for details. All rights reserved. Use of this source code is governed by a
19170 // BSD-style license that can be found in the LICENSE file.
19171
19172 // WARNING: Do not edit - generated code.
19173
19174 interface DOMImplementation {
19175
19176 CSSStyleSheet createCSSStyleSheet(String title, String media);
19177
19178 Document createDocument(String namespaceURI, String qualifiedName, DocumentTyp e doctype);
19179
19180 DocumentType createDocumentType(String qualifiedName, String publicId, String systemId);
19181
19182 Document createHTMLDocument(String title);
19183
19184 bool hasFeature(String feature, String version);
19185 }
19186 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
19187 // for details. All rights reserved. Use of this source code is governed by a
19188 // BSD-style license that can be found in the LICENSE file.
19189
19190 // WARNING: Do not edit - generated code.
19191
19192 interface DOMMimeType {
19193
19194 final String description;
19195
19196 final DOMPlugin enabledPlugin;
19197
19198 final String suffixes;
19199
19200 final String type;
19201 }
19202 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
19203 // for details. All rights reserved. Use of this source code is governed by a
19204 // BSD-style license that can be found in the LICENSE file.
19205
19206 // WARNING: Do not edit - generated code.
19207
19208 interface DOMMimeTypeArray {
19209
19210 final int length;
19211
19212 DOMMimeType item(int index);
19213
19214 DOMMimeType namedItem(String name);
19215 }
19216 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
19217 // for details. All rights reserved. Use of this source code is governed by a
19218 // BSD-style license that can be found in the LICENSE file.
19219
19220 // WARNING: Do not edit - generated code.
19221
19222 interface DOMParser {
19223
19224 Document parseFromString(String str, String contentType);
19225 }
19226 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
19227 // for details. All rights reserved. Use of this source code is governed by a
19228 // BSD-style license that can be found in the LICENSE file.
19229
19230 // WARNING: Do not edit - generated code.
19231
19232 interface DOMPlugin {
19233
19234 final String description;
19235
19236 final String filename;
19237
19238 final int length;
19239
19240 final String name;
19241
19242 DOMMimeType item(int index);
19243
19244 DOMMimeType namedItem(String name);
19245 }
19246 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
19247 // for details. All rights reserved. Use of this source code is governed by a
19248 // BSD-style license that can be found in the LICENSE file.
19249
19250 // WARNING: Do not edit - generated code.
19251
19252 interface DOMPluginArray {
19253
19254 final int length;
19255
19256 DOMPlugin item(int index);
19257
19258 DOMPlugin namedItem(String name);
19259
19260 void refresh(bool reload);
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 DOMSelection {
19269
19270 final Node anchorNode;
19271
19272 final int anchorOffset;
19273
19274 final Node baseNode;
19275
19276 final int baseOffset;
19277
19278 final Node extentNode;
19279
19280 final int extentOffset;
19281
19282 final Node focusNode;
19283
19284 final int focusOffset;
19285
19286 final bool isCollapsed;
19287
19288 final int rangeCount;
19289
19290 final String type;
19291
19292 void addRange(Range range);
19293
19294 void collapse(Node node, int index);
19295
19296 void collapseToEnd();
19297
19298 void collapseToStart();
19299
19300 bool containsNode(Node node, bool allowPartial);
19301
19302 void deleteFromDocument();
19303
19304 void empty();
19305
19306 void extend(Node node, int offset);
19307
19308 Range getRangeAt(int index);
19309
19310 void modify(String alter, String direction, String granularity);
19311
19312 void removeAllRanges();
19313
19314 void selectAllChildren(Node node);
19315
19316 void setBaseAndExtent(Node baseNode, int baseOffset, Node extentNode, int exte ntOffset);
19317
19318 void setPosition(Node node, int offset);
19319
19320 String toString();
19321 }
19322 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
19323 // for details. All rights reserved. Use of this source code is governed by a
19324 // BSD-style license that can be found in the LICENSE file.
19325
19326 // WARNING: Do not edit - generated code.
19327
19328 interface DOMSettableTokenList extends DOMTokenList {
19329
19330 String value;
19331 }
19332 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
19333 // for details. All rights reserved. Use of this source code is governed by a
19334 // BSD-style license that can be found in the LICENSE file.
19335
19336 // WARNING: Do not edit - generated code.
19337
19338 interface DOMTokenList {
19339
19340 final int length;
19341
19342 void add(String token);
19343
19344 bool contains(String token);
19345
19346 String item(int index);
19347
19348 void remove(String token);
19349
19350 String toString();
19351
19352 bool toggle(String token);
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 DOMURL {
19361
19362 String createObjectURL(Blob blob);
19363
19364 void revokeObjectURL(String url);
19365 }
19366 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
19367 // for details. All rights reserved. Use of this source code is governed by a
19368 // BSD-style license that can be found in the LICENSE file.
19369
19370 // WARNING: Do not edit - generated code.
19371
19372 interface DataTransferItem {
19373
19374 final String kind;
19375
19376 final String type;
19377
19378 Blob getAsFile();
19379
19380 void getAsString(StringCallback callback);
19381 }
19382 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
19383 // for details. All rights reserved. Use of this source code is governed by a
19384 // BSD-style license that can be found in the LICENSE file.
19385
19386 // WARNING: Do not edit - generated code.
19387
19388 interface DataTransferItemList {
19389
19390 final int length;
19391
19392 void add(var data_OR_file, [String type]);
19393
19394 void clear();
19395
19396 DataTransferItem item(int index);
19397 }
19398 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
19399 // for details. All rights reserved. Use of this source code is governed by a
19400 // BSD-style license that can be found in the LICENSE file.
19401
19402 // WARNING: Do not edit - generated code.
19403
19404 interface DataView extends ArrayBufferView {
19405
19406 num getFloat32(int byteOffset, [bool littleEndian]);
19407
19408 num getFloat64(int byteOffset, [bool littleEndian]);
19409
19410 int getInt16(int byteOffset, [bool littleEndian]);
19411
19412 int getInt32(int byteOffset, [bool littleEndian]);
19413
19414 Object getInt8();
19415
19416 int getUint16(int byteOffset, [bool littleEndian]);
19417
19418 int getUint32(int byteOffset, [bool littleEndian]);
19419
19420 Object getUint8();
19421
19422 void setFloat32(int byteOffset, num value, [bool littleEndian]);
19423
19424 void setFloat64(int byteOffset, num value, [bool littleEndian]);
19425
19426 void setInt16(int byteOffset, int value, [bool littleEndian]);
19427
19428 void setInt32(int byteOffset, int value, [bool littleEndian]);
19429
19430 void setInt8();
19431
19432 void setUint16(int byteOffset, int value, [bool littleEndian]);
19433
19434 void setUint32(int byteOffset, int value, [bool littleEndian]);
19435
19436 void setUint8();
19437 }
19438 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
19439 // for details. All rights reserved. Use of this source code is governed by a
19440 // BSD-style license that can be found in the LICENSE file.
19441
19442 // WARNING: Do not edit - generated code.
19443
19444 interface Database {
19445
19446 final String version;
19447
19448 void changeVersion(String oldVersion, String newVersion, [SQLTransactionCallba ck callback, SQLTransactionErrorCallback errorCallback, VoidCallback successCall back]);
19449
19450 void readTransaction(SQLTransactionCallback callback, [SQLTransactionErrorCall back errorCallback, VoidCallback successCallback]);
19451
19452 void transaction(SQLTransactionCallback callback, [SQLTransactionErrorCallback errorCallback, VoidCallback successCallback]);
19453 }
19454 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
19455 // for details. All rights reserved. Use of this source code is governed by a
19456 // BSD-style license that can be found in the LICENSE file.
19457
19458 // WARNING: Do not edit - generated code.
19459
19460 typedef bool DatabaseCallback(var database);
19461 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
19462 // for details. All rights reserved. Use of this source code is governed by a
19463 // BSD-style license that can be found in the LICENSE file.
19464
19465 // WARNING: Do not edit - generated code.
19466
19467 interface DatabaseSync {
19468
19469 final String lastErrorMessage;
19470
19471 final String version;
19472
19473 void changeVersion(String oldVersion, String newVersion, [SQLTransactionSyncCa llback callback]);
19474
19475 void readTransaction(SQLTransactionSyncCallback callback);
19476
19477 void transaction(SQLTransactionSyncCallback callback);
19478 }
19479 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
19480 // for details. All rights reserved. Use of this source code is governed by a
19481 // BSD-style license that can be found in the LICENSE file.
19482
19483 // WARNING: Do not edit - generated code.
19484
19485 interface DedicatedWorkerContext extends WorkerContext {
19486
19487 EventListener onmessage;
19488
19489 void postMessage(Object message, [List messagePorts]);
19490
19491 void webkitPostMessage(Object message, [List transferList]);
19492 }
19493 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
19494 // for details. All rights reserved. Use of this source code is governed by a
19495 // BSD-style license that can be found in the LICENSE file.
19496
19497 // WARNING: Do not edit - generated code.
19498
19499 interface DelayNode extends AudioNode {
19500
19501 final AudioParam delayTime;
19502 }
19503 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
19504 // for details. All rights reserved. Use of this source code is governed by a
19505 // BSD-style license that can be found in the LICENSE file.
19506
19507 // WARNING: Do not edit - generated code.
19508
19509 interface DetailsElement extends Element {
19510
19511 bool open;
19512 }
19513 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
19514 // for details. All rights reserved. Use of this source code is governed by a
19515 // BSD-style license that can be found in the LICENSE file.
19516
19517 // WARNING: Do not edit - generated code.
19518
19519 interface DeviceMotionEvent extends Event {
19520
19521 final num interval;
19522 }
19523 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
19524 // for details. All rights reserved. Use of this source code is governed by a
19525 // BSD-style license that can be found in the LICENSE file.
19526
19527 // WARNING: Do not edit - generated code.
19528
19529 interface DeviceOrientationEvent extends Event {
19530
19531 final bool absolute;
19532
19533 final num alpha;
19534
19535 final num beta;
19536
19537 final num gamma;
19538
19539 void initDeviceOrientationEvent(String type, bool bubbles, bool cancelable, nu m alpha, num beta, num gamma, bool absolute);
19540 }
19541 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
19542 // for details. All rights reserved. Use of this source code is governed by a
19543 // BSD-style license that can be found in the LICENSE file.
19544
19545 // WARNING: Do not edit - generated code.
19546
19547 interface DirectoryElement extends Element {
19548
19549 bool compact;
19550 }
19551 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
19552 // for details. All rights reserved. Use of this source code is governed by a
19553 // BSD-style license that can be found in the LICENSE file.
19554
19555 // WARNING: Do not edit - generated code.
19556
19557 interface DirectoryEntry extends Entry {
19558
19559 DirectoryReader createReader();
19560
19561 void getDirectory(String path, [Object flags, EntryCallback successCallback, E rrorCallback errorCallback]);
19562
19563 void getFile(String path, [Object flags, EntryCallback successCallback, ErrorC allback errorCallback]);
19564
19565 void removeRecursively(VoidCallback successCallback, [ErrorCallback errorCallb ack]);
19566 }
19567 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
19568 // for details. All rights reserved. Use of this source code is governed by a
19569 // BSD-style license that can be found in the LICENSE file.
19570
19571 // WARNING: Do not edit - generated code.
19572
19573 interface DirectoryEntrySync extends EntrySync {
19574
19575 DirectoryReaderSync createReader();
19576
19577 DirectoryEntrySync getDirectory(String path, Object flags);
19578
19579 FileEntrySync getFile(String path, Object flags);
19580
19581 void removeRecursively();
19582 }
19583 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
19584 // for details. All rights reserved. Use of this source code is governed by a
19585 // BSD-style license that can be found in the LICENSE file.
19586
19587 // WARNING: Do not edit - generated code.
19588
19589 interface DirectoryReader {
19590
19591 void readEntries(EntriesCallback successCallback, [ErrorCallback errorCallback ]);
19592 }
19593 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
19594 // for details. All rights reserved. Use of this source code is governed by a
19595 // BSD-style license that can be found in the LICENSE file.
19596
19597 // WARNING: Do not edit - generated code.
19598
19599 interface DirectoryReaderSync {
19600
19601 EntryArraySync readEntries();
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 DivElement extends Element {
19610
19611 String align;
19612 }
19613 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
19614 // for details. All rights reserved. Use of this source code is governed by a
19615 // BSD-style license that can be found in the LICENSE file.
19616
19617 interface Document extends HtmlElement {
19618
19619 // TODO(jacobr): remove these methods and let them be generated automatically
19620 // once dart supports defining fields with the same name in an interface and
19621 // its parent interface.
19622 String get title();
19623 void set title(String value);
19624
19625
19626 final Element activeElement;
19627
19628 Element body;
19629
19630 String charset;
19631
19632 String cookie;
19633
19634 final Window defaultView;
19635
19636 final String domain;
19637
19638 final HeadElement head;
19639
19640 final String lastModified;
19641
19642 final String preferredStylesheetSet;
19643
19644 final String readyState;
19645
19646 final String referrer;
19647
19648 String selectedStylesheetSet;
19649
19650 final StyleSheetList styleSheets;
19651
19652 final Element webkitCurrentFullScreenElement;
19653
19654 final bool webkitFullScreenKeyboardInputAllowed;
19655
19656 final bool webkitHidden;
19657
19658 final bool webkitIsFullScreen;
19659
19660 final String webkitVisibilityState;
19661
19662 DocumentEvents get on();
19663
19664 Range caretRangeFromPoint(int x, int y);
19665
19666 CDATASection createCDATASection(String data);
19667
19668 DocumentFragment createDocumentFragment();
19669
19670 Range createRange();
19671
19672 Text createTextNode(String data);
19673
19674 Touch createTouch(Window window, EventTarget target, int identifier, int pageX , int pageY, int screenX, int screenY, int webkitRadiusX, int webkitRadiusY, num webkitRotationAngle, num webkitForce);
19675
19676 TouchList createTouchList();
19677
19678 Element elementFromPoint(int x, int y);
19679
19680 bool execCommand(String command, bool userInterface, String value);
19681
19682 Object getCSSCanvasContext(String contextId, String name, int width, int heigh t);
19683
19684 Element getElementById(String elementId);
19685
19686 bool queryCommandEnabled(String command);
19687
19688 bool queryCommandIndeterm(String command);
19689
19690 bool queryCommandState(String command);
19691
19692 bool queryCommandSupported(String command);
19693
19694 String queryCommandValue(String command);
19695
19696 void webkitCancelFullScreen();
19697
19698 WebKitNamedFlow webkitGetFlowByName(String name);
19699
19700 }
19701
19702 interface DocumentEvents extends ElementEvents {
19703
19704 EventListenerList get abort();
19705
19706 EventListenerList get beforeCopy();
19707
19708 EventListenerList get beforeCut();
19709
19710 EventListenerList get beforePaste();
19711
19712 EventListenerList get blur();
19713
19714 EventListenerList get change();
19715
19716 EventListenerList get click();
19717
19718 EventListenerList get contextMenu();
19719
19720 EventListenerList get copy();
19721
19722 EventListenerList get cut();
19723
19724 EventListenerList get doubleClick();
19725
19726 EventListenerList get drag();
19727
19728 EventListenerList get dragEnd();
19729
19730 EventListenerList get dragEnter();
19731
19732 EventListenerList get dragLeave();
19733
19734 EventListenerList get dragOver();
19735
19736 EventListenerList get dragStart();
19737
19738 EventListenerList get drop();
19739
19740 EventListenerList get error();
19741
19742 EventListenerList get focus();
19743
19744 EventListenerList get fullScreenChange();
19745
19746 EventListenerList get fullScreenError();
19747
19748 EventListenerList get input();
19749
19750 EventListenerList get invalid();
19751
19752 EventListenerList get keyDown();
19753
19754 EventListenerList get keyPress();
19755
19756 EventListenerList get keyUp();
19757
19758 EventListenerList get load();
19759
19760 EventListenerList get mouseDown();
19761
19762 EventListenerList get mouseMove();
19763
19764 EventListenerList get mouseOut();
19765
19766 EventListenerList get mouseOver();
19767
19768 EventListenerList get mouseUp();
19769
19770 EventListenerList get mouseWheel();
19771
19772 EventListenerList get paste();
19773
19774 EventListenerList get readyStateChange();
19775
19776 EventListenerList get reset();
19777
19778 EventListenerList get scroll();
19779
19780 EventListenerList get search();
19781
19782 EventListenerList get select();
19783
19784 EventListenerList get selectStart();
19785
19786 EventListenerList get selectionChange();
19787
19788 EventListenerList get submit();
19789
19790 EventListenerList get touchCancel();
19791
19792 EventListenerList get touchEnd();
19793
19794 EventListenerList get touchMove();
19795
19796 EventListenerList get touchStart();
19797 }
19798 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
19799 // for details. All rights reserved. Use of this source code is governed by a
19800 // BSD-style license that can be found in the LICENSE file.
19801
19802 // WARNING: Do not edit - generated code.
19803
19804 interface DocumentFragment extends Node, NodeSelector {
19805
19806 Element querySelector(String selectors);
19807
19808 NodeList querySelectorAll(String selectors);
19809 }
19810 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
19811 // for details. All rights reserved. Use of this source code is governed by a
19812 // BSD-style license that can be found in the LICENSE file.
19813
19814 // WARNING: Do not edit - generated code.
19815
19816 interface DocumentType extends Node {
19817
19818 final NamedNodeMap entities;
19819
19820 final String internalSubset;
19821
19822 final String name;
19823
19824 final NamedNodeMap notations;
19825
19826 final String publicId;
19827
19828 final String systemId;
19829 }
19830 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
19831 // for details. All rights reserved. Use of this source code is governed by a
19832 // BSD-style license that can be found in the LICENSE file.
19833
19834 // WARNING: Do not edit - generated code.
19835
19836 interface DynamicsCompressorNode extends AudioNode {
19837 }
19838 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
19839 // for details. All rights reserved. Use of this source code is governed by a
19840 // BSD-style license that can be found in the LICENSE file.
19841
19842 // WARNING: Do not edit - generated code.
19843
19844 /**
19845 * Provides a Map abstraction on top of data-* attributes, similar to the
19846 * dataSet in the old DOM.
19847 */
19848 class _DataAttributeMap implements Map<String, String> {
19849
19850 final Map<String, String> _attributes;
19851
19852 _DataAttributeMap(this._attributes);
19853
19854 // interface Map
19855
19856 // TODO: Use lazy iterator when it is available on Map.
19857 bool containsValue(String value) => getValues().some((v) => v == value);
19858
19859 bool containsKey(String key) => _attributes.containsKey(_attr(key));
19860
19861 String operator [](String key) => _attributes[_attr(key)];
19862
19863 void operator []=(String key, String value) {
19864 _attributes[_attr(key)] = value;
19865 }
19866
19867 String putIfAbsent(String key, String ifAbsent()) {
19868 if (!containsKey(key)) {
19869 return this[key] = ifAbsent();
19870 }
19871 return this[key];
19872 }
19873
19874 String remove(String key) => _attributes.remove(_attr(key));
19875
19876 void clear() {
19877 // Needs to operate on a snapshot since we are mutatiting the collection.
19878 for (String key in getKeys()) {
19879 remove(key);
19880 }
19881 }
19882
19883 void forEach(void f(String key, String value)) {
19884 _attributes.forEach((String key, String value) {
19885 if (_matches(key)) {
19886 f(_strip(key), value);
19887 }
19888 });
19889 }
19890
19891 Collection<String> getKeys() {
19892 final keys = new List<String>();
19893 _attributes.forEach((String key, String value) {
19894 if (_matches(key)) {
19895 keys.add(_strip(key));
19896 }
19897 });
19898 return keys;
19899 }
19900
19901 Collection<String> getValues() {
19902 final values = new List<String>();
19903 _attributes.forEach((String key, String value) {
19904 if (_matches(key)) {
19905 values.add(value);
19906 }
19907 });
19908 return values;
19909 }
19910
19911 int get length() => getKeys().length;
19912
19913 // TODO: Use lazy iterator when it is available on Map.
19914 bool isEmpty() => length == 0;
19915
19916 // Helpers.
19917 String _attr(String key) => 'data-$key';
19918 bool _matches(String key) => key.startsWith('data-');
19919 String _strip(String key) => key.substring(5);
19920 }
19921
19922 class _CssClassSet implements Set<String> {
19923
19924 final _ElementJs _element;
19925
19926 _CssClassSet(this._element);
19927
19928 String toString() {
19929 return _formatSet(_read());
19930 }
19931
19932 // interface Iterable - BEGIN
19933 Iterator<String> iterator() {
19934 return _read().iterator();
19935 }
19936 // interface Iterable - END
19937
19938 // interface Collection - BEGIN
19939 void forEach(void f(String element)) {
19940 _read().forEach(f);
19941 }
19942
19943 Collection map(f(String element)) {
19944 return _read().map(f);
19945 }
19946
19947 Collection<String> filter(bool f(String element)) {
19948 return _read().filter(f);
19949 }
19950
19951 bool every(bool f(String element)) {
19952 return _read().every(f);
19953 }
19954
19955 bool some(bool f(String element)) {
19956 return _read().some(f);
19957 }
19958
19959 bool isEmpty() {
19960 return _read().isEmpty();
19961 }
19962
19963 int get length() {
19964 return _read().length;
19965 }
19966 // interface Collection - END
19967
19968 // interface Set - BEGIN
19969 bool contains(String value) {
19970 return _read().contains(value);
19971 }
19972
19973 void add(String value) {
19974 // TODO - figure out if we need to do any validation here
19975 // or if the browser natively does enough
19976 _modify((s) => s.add(value));
19977 }
19978
19979 bool remove(String value) {
19980 Set<String> s = _read();
19981 bool result = s.remove(value);
19982 _write(s);
19983 return result;
19984 }
19985
19986 void addAll(Collection<String> collection) {
19987 // TODO - see comment above about validation
19988 _modify((s) => s.addAll(collection));
19989 }
19990
19991 void removeAll(Collection<String> collection) {
19992 _modify((s) => s.removeAll(collection));
19993 }
19994
19995 bool isSubsetOf(Collection<String> collection) {
19996 return _read().isSubsetOf(collection);
19997 }
19998
19999 bool containsAll(Collection<String> collection) {
20000 return _read().containsAll(collection);
20001 }
20002
20003 Set<String> intersection(Collection<String> other) {
20004 return _read().intersection(other);
20005 }
20006
20007 void clear() {
20008 _modify((s) => s.clear());
20009 }
20010 // interface Set - END
20011
20012 /**
20013 * Helper method used to modify the set of css classes on this element.
20014 *
20015 * f - callback with:
20016 * s - a Set of all the css class name currently on this element.
20017 *
20018 * After f returns, the modified set is written to the
20019 * className property of this element.
20020 */
20021 void _modify( f(Set<String> s)) {
20022 Set<String> s = _read();
20023 f(s);
20024 _write(s);
20025 }
20026
20027 /**
20028 * Read the class names from the Element class property,
20029 * and put them into a set (duplicates are discarded).
20030 */
20031 Set<String> _read() {
20032 // TODO(mattsh) simplify this once split can take regex.
20033 Set<String> s = new Set<String>();
20034 for (String name in _className().split(' ')) {
20035 String trimmed = name.trim();
20036 if (!trimmed.isEmpty()) {
20037 s.add(trimmed);
20038 }
20039 }
20040 return s;
20041 }
20042
20043 /**
20044 * Read the class names as a space-separated string. This is meant to be
20045 * overridden by subclasses.
20046 */
20047 String _className() => _element._className;
20048
20049 /**
20050 * Join all the elements of a set into one string and write
20051 * back to the element.
20052 */
20053 void _write(Set s) {
20054 _element._className = _formatSet(s);
20055 }
20056
20057 String _formatSet(Set<String> s) {
20058 // TODO(mattsh) should be able to pass Set to String.joins http:/b/5398605
20059 List list = new List.from(s);
20060 return Strings.join(list, ' ');
20061 }
20062 }
20063
20064 interface ElementList extends List<Element> {
20065 // TODO(jacobr): add element batch manipulation methods.
20066 ElementList filter(bool f(Element element));
20067
20068 ElementList getRange(int start, int length);
20069
20070 Element get first();
20071 // TODO(jacobr): add insertAt
20072 }
20073
20074 /**
20075 * All your element measurement needs in one place
20076 */
20077 interface ElementRect {
20078 // Relative to offsetParent
20079 ClientRect get client();
20080 ClientRect get offset();
20081 ClientRect get scroll();
20082 // In global coords
20083 ClientRect get bounding();
20084 // In global coords
20085 List<ClientRect> get clientRects();
20086 }
20087
20088 // TODO(jacobr): referencing _ElementJs here is problematic when we need
20089 // to support wrappers as well.
20090 interface Element extends Node, NodeSelector default _ElementJs {
20091 // TODO(jacobr): switch back to:
20092 // interface Element extends Node, NodeSelector, ElementTraversal default _Eleme ntJs {
20093 Element.html(String html);
20094 Element.tag(String tag);
20095
20096 Map<String, String> get attributes();
20097 void set attributes(Map<String, String> value);
20098
20099 // TODO(jacobr): remove these methods and let them be generated automatically
20100 // once dart supports defining fields with the same name in an interface and
20101 // its parent interface.
20102 String get title();
20103 void set title(String value);
20104
20105 ElementList get elements();
20106
20107 // TODO: The type of value should be Collection<Element>. See http://b/5392897
20108 void set elements(value);
20109
20110 Element query(String selectors);
20111
20112 ElementList queryAll(String selectors);
20113
20114 Set<String> get classes();
20115
20116 // TODO: The type of value should be Collection<String>. See http://b/5392897
20117 void set classes(value);
20118
20119 Map<String, String> get dataAttributes();
20120 void set dataAttributes(Map<String, String> value);
20121
20122 bool matchesSelector([String selectors]);
20123
20124 Future<ElementRect> get rect();
20125
20126 Future<CSSStyleDeclaration> get computedStyle();
20127
20128 Future<CSSStyleDeclaration> getComputedStyle(String pseudoElement);
20129
20130 Element clone(bool deep);
20131
20132
20133 Element get parent();
20134
20135
20136 static final int ALLOW_KEYBOARD_INPUT = 1;
20137
20138 final int childElementCount;
20139
20140 final HTMLCollection children;
20141
20142 final DOMTokenList classList;
20143
20144 final String className;
20145
20146 final int clientHeight;
20147
20148 final int clientLeft;
20149
20150 final int clientTop;
20151
20152 final int clientWidth;
20153
20154 String contentEditable;
20155
20156 String dir;
20157
20158 bool draggable;
20159
20160 final Element firstElementChild;
20161
20162 bool hidden;
20163
20164 String id;
20165
20166 String innerHTML;
20167
20168 final bool isContentEditable;
20169
20170 String lang;
20171
20172 final Element lastElementChild;
20173
20174 final Element nextElementSibling;
20175
20176 final int offsetHeight;
20177
20178 final int offsetLeft;
20179
20180 final Element offsetParent;
20181
20182 final int offsetTop;
20183
20184 final int offsetWidth;
20185
20186 final String outerHTML;
20187
20188 final Element previousElementSibling;
20189
20190 final int scrollHeight;
20191
20192 int scrollLeft;
20193
20194 int scrollTop;
20195
20196 final int scrollWidth;
20197
20198 bool spellcheck;
20199
20200 final CSSStyleDeclaration style;
20201
20202 int tabIndex;
20203
20204 final String tagName;
20205
20206 String webkitdropzone;
20207
20208 ElementEvents get on();
20209
20210 void blur();
20211
20212 void focus();
20213
20214 ClientRect getBoundingClientRect();
20215
20216 ClientRectList getClientRects();
20217
20218 NodeList getElementsByClassName(String name);
20219
20220 NodeList getElementsByTagName(String name);
20221
20222 NodeList getElementsByTagNameNS(String namespaceURI, String localName);
20223
20224 Element insertAdjacentElement(String where, Element element);
20225
20226 void insertAdjacentHTML(String where, String html);
20227
20228 void insertAdjacentText(String where, String text);
20229
20230 Element querySelector(String selectors);
20231
20232 NodeList querySelectorAll(String selectors);
20233
20234 void scrollByLines(int lines);
20235
20236 void scrollByPages(int pages);
20237
20238 void scrollIntoView([bool alignWithTop]);
20239
20240 void scrollIntoViewIfNeeded([bool centerIfNeeded]);
20241
20242 bool webkitMatchesSelector(String selectors);
20243
20244 void webkitRequestFullScreen(int flags);
20245
20246 }
20247
20248 interface ElementEvents extends Events {
20249
20250 EventListenerList get abort();
20251
20252 EventListenerList get beforeCopy();
20253
20254 EventListenerList get beforeCut();
20255
20256 EventListenerList get beforePaste();
20257
20258 EventListenerList get blur();
20259
20260 EventListenerList get change();
20261
20262 EventListenerList get click();
20263
20264 EventListenerList get contextMenu();
20265
20266 EventListenerList get copy();
20267
20268 EventListenerList get cut();
20269
20270 EventListenerList get doubleClick();
20271
20272 EventListenerList get drag();
20273
20274 EventListenerList get dragEnd();
20275
20276 EventListenerList get dragEnter();
20277
20278 EventListenerList get dragLeave();
20279
20280 EventListenerList get dragOver();
20281
20282 EventListenerList get dragStart();
20283
20284 EventListenerList get drop();
20285
20286 EventListenerList get error();
20287
20288 EventListenerList get focus();
20289
20290 EventListenerList get fullScreenChange();
20291
20292 EventListenerList get fullScreenError();
20293
20294 EventListenerList get input();
20295
20296 EventListenerList get invalid();
20297
20298 EventListenerList get keyDown();
20299
20300 EventListenerList get keyPress();
20301
20302 EventListenerList get keyUp();
20303
20304 EventListenerList get load();
20305
20306 EventListenerList get mouseDown();
20307
20308 EventListenerList get mouseMove();
20309
20310 EventListenerList get mouseOut();
20311
20312 EventListenerList get mouseOver();
20313
20314 EventListenerList get mouseUp();
20315
20316 EventListenerList get mouseWheel();
20317
20318 EventListenerList get paste();
20319
20320 EventListenerList get reset();
20321
20322 EventListenerList get scroll();
20323
20324 EventListenerList get search();
20325
20326 EventListenerList get select();
20327
20328 EventListenerList get selectStart();
20329
20330 EventListenerList get submit();
20331
20332 EventListenerList get touchCancel();
20333
20334 EventListenerList get touchEnd();
20335
20336 EventListenerList get touchLeave();
20337
20338 EventListenerList get touchMove();
20339
20340 EventListenerList get touchStart();
20341
20342 EventListenerList get transitionEnd();
20343 }
20344 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
20345 // for details. All rights reserved. Use of this source code is governed by a
20346 // BSD-style license that can be found in the LICENSE file.
20347
20348 // WARNING: Do not edit - generated code.
20349
20350 interface ElementTimeControl {
20351
20352 void beginElement();
20353
20354 void beginElementAt(num offset);
20355
20356 void endElement();
20357
20358 void endElementAt(num offset);
20359 }
20360 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
20361 // for details. All rights reserved. Use of this source code is governed by a
20362 // BSD-style license that can be found in the LICENSE file.
20363
20364 // WARNING: Do not edit - generated code.
20365
20366 interface ElementTraversal {
20367
20368 final int childElementCount;
20369
20370 final Element firstElementChild;
20371
20372 final Element lastElementChild;
20373
20374 final Element nextElementSibling;
20375
20376 final Element previousElementSibling;
20377 }
20378 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
20379 // for details. All rights reserved. Use of this source code is governed by a
20380 // BSD-style license that can be found in the LICENSE file.
20381
20382 // WARNING: Do not edit - generated code.
20383
20384 interface EmbedElement extends Element {
20385
20386 String align;
20387
20388 String height;
20389
20390 String name;
20391
20392 String src;
20393
20394 String type;
20395
20396 String width;
20397 }
20398 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
20399 // for details. All rights reserved. Use of this source code is governed by a
20400 // BSD-style license that can be found in the LICENSE file.
20401
20402 // WARNING: Do not edit - generated code.
20403
20404 interface Entity extends Node {
20405
20406 final String notationName;
20407
20408 final String publicId;
20409
20410 final String systemId;
20411 }
20412 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
20413 // for details. All rights reserved. Use of this source code is governed by a
20414 // BSD-style license that can be found in the LICENSE file.
20415
20416 // WARNING: Do not edit - generated code.
20417
20418 interface EntityReference extends Node {
20419 }
20420 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
20421 // for details. All rights reserved. Use of this source code is governed by a
20422 // BSD-style license that can be found in the LICENSE file.
20423
20424 // WARNING: Do not edit - generated code.
20425
20426 typedef bool EntriesCallback(EntryArray entries);
20427 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
20428 // for details. All rights reserved. Use of this source code is governed by a
20429 // BSD-style license that can be found in the LICENSE file.
20430
20431 // WARNING: Do not edit - generated code.
20432
20433 interface Entry {
20434
20435 final DOMFileSystem filesystem;
20436
20437 final String fullPath;
20438
20439 final bool isDirectory;
20440
20441 final bool isFile;
20442
20443 final String name;
20444
20445 void copyTo(DirectoryEntry parent, [String name, EntryCallback successCallback , ErrorCallback errorCallback]);
20446
20447 void getMetadata(MetadataCallback successCallback, [ErrorCallback errorCallbac k]);
20448
20449 void getParent([EntryCallback successCallback, ErrorCallback errorCallback]);
20450
20451 void moveTo(DirectoryEntry parent, [String name, EntryCallback successCallback , ErrorCallback errorCallback]);
20452
20453 void remove(VoidCallback successCallback, [ErrorCallback errorCallback]);
20454
20455 String toURL();
20456 }
20457 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
20458 // for details. All rights reserved. Use of this source code is governed by a
20459 // BSD-style license that can be found in the LICENSE file.
20460
20461 // WARNING: Do not edit - generated code.
20462
20463 interface EntryArray {
20464
20465 final int length;
20466
20467 Entry item(int index);
20468 }
20469 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
20470 // for details. All rights reserved. Use of this source code is governed by a
20471 // BSD-style license that can be found in the LICENSE file.
20472
20473 // WARNING: Do not edit - generated code.
20474
20475 interface EntryArraySync {
20476
20477 final int length;
20478
20479 EntrySync item(int index);
20480 }
20481 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
20482 // for details. All rights reserved. Use of this source code is governed by a
20483 // BSD-style license that can be found in the LICENSE file.
20484
20485 // WARNING: Do not edit - generated code.
20486
20487 typedef bool EntryCallback(Entry entry);
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 EntrySync {
20495
20496 final DOMFileSystemSync filesystem;
20497
20498 final String fullPath;
20499
20500 final bool isDirectory;
20501
20502 final bool isFile;
20503
20504 final String name;
20505
20506 EntrySync copyTo(DirectoryEntrySync parent, String name);
20507
20508 Metadata getMetadata();
20509
20510 DirectoryEntrySync getParent();
20511
20512 EntrySync moveTo(DirectoryEntrySync parent, String name);
20513
20514 void remove();
20515
20516 String toURL();
20517 }
20518 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
20519 // for details. All rights reserved. Use of this source code is governed by a
20520 // BSD-style license that can be found in the LICENSE file.
20521
20522 // WARNING: Do not edit - generated code.
20523
20524 typedef bool ErrorCallback(FileError error);
20525 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
20526 // for details. All rights reserved. Use of this source code is governed by a
20527 // BSD-style license that can be found in the LICENSE file.
20528
20529 // WARNING: Do not edit - generated code.
20530
20531 interface ErrorEvent extends Event {
20532
20533 final String filename;
20534
20535 final int lineno;
20536
20537 final String message;
20538 }
20539 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
20540 // for details. All rights reserved. Use of this source code is governed by a
20541 // BSD-style license that can be found in the LICENSE file.
20542
20543 // WARNING: Do not edit - generated code.
20544
20545 interface Event default _EventFactoryProvider {
20546
20547 // In JS, canBubble and cancelable are technically required parameters to
20548 // init*Event. In practice, though, if they aren't provided they simply
20549 // default to false (since that's Boolean(undefined)).
20550 //
20551 // Contrary to JS, we default canBubble and cancelable to true, since that's
20552 // what people want most of the time anyway.
20553 Event(String type, [bool canBubble, bool cancelable]);
20554
20555 static final int AT_TARGET = 2;
20556
20557 static final int BLUR = 8192;
20558
20559 static final int BUBBLING_PHASE = 3;
20560
20561 static final int CAPTURING_PHASE = 1;
20562
20563 static final int CHANGE = 32768;
20564
20565 static final int CLICK = 64;
20566
20567 static final int DBLCLICK = 128;
20568
20569 static final int DRAGDROP = 2048;
20570
20571 static final int FOCUS = 4096;
20572
20573 static final int KEYDOWN = 256;
20574
20575 static final int KEYPRESS = 1024;
20576
20577 static final int KEYUP = 512;
20578
20579 static final int MOUSEDOWN = 1;
20580
20581 static final int MOUSEDRAG = 32;
20582
20583 static final int MOUSEMOVE = 16;
20584
20585 static final int MOUSEOUT = 8;
20586
20587 static final int MOUSEOVER = 4;
20588
20589 static final int MOUSEUP = 2;
20590
20591 static final int SELECT = 16384;
20592
20593 final bool bubbles;
20594
20595 bool cancelBubble;
20596
20597 final bool cancelable;
20598
20599 final Clipboard clipboardData;
20600
20601 final EventTarget currentTarget;
20602
20603 final bool defaultPrevented;
20604
20605 final int eventPhase;
20606
20607 bool returnValue;
20608
20609 final EventTarget srcElement;
20610
20611 final EventTarget target;
20612
20613 final int timeStamp;
20614
20615 final String type;
20616
20617 void preventDefault();
20618
20619 void stopImmediatePropagation();
20620
20621 void stopPropagation();
20622 }
20623 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
20624 // for details. All rights reserved. Use of this source code is governed by a
20625 // BSD-style license that can be found in the LICENSE file.
20626
20627 // WARNING: Do not edit - generated code.
20628
20629 interface EventException {
20630
20631 static final int DISPATCH_REQUEST_ERR = 1;
20632
20633 static final int UNSPECIFIED_EVENT_TYPE_ERR = 0;
20634
20635 final int code;
20636
20637 final String message;
20638
20639 final String name;
20640
20641 String toString();
20642 }
20643 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
20644 // for details. All rights reserved. Use of this source code is governed by a
20645 // BSD-style license that can be found in the LICENSE file.
20646
20647 // WARNING: Do not edit - generated code.
20648
20649 interface EventSource extends EventTarget {
20650
20651 static final int CLOSED = 2;
20652
20653 static final int CONNECTING = 0;
20654
20655 static final int OPEN = 1;
20656
20657 final String URL;
20658
20659 final int readyState;
20660
20661 final String url;
20662
20663 EventSourceEvents get on();
20664
20665 void close();
20666 }
20667
20668 interface EventSourceEvents extends Events {
20669
20670 EventListenerList get error();
20671
20672 EventListenerList get message();
20673
20674 EventListenerList get open();
20675 }
20676 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
20677 // for details. All rights reserved. Use of this source code is governed by a
20678 // BSD-style license that can be found in the LICENSE file.
20679
20680 // WARNING: Do not edit - generated code.
20681
20682 interface EventListenerList {
20683 EventListenerList add(EventListener handler, [bool useCapture]);
20684
20685 EventListenerList remove(EventListener handler, [bool useCapture]);
20686
20687 bool dispatch(Event evt);
20688 }
20689
20690 interface Events {
20691 EventListenerList operator [](String type);
20692 }
20693
20694 interface EventTarget {
20695
20696 final Events on;
20697
20698 }
20699 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
20700 // for details. All rights reserved. Use of this source code is governed by a
20701 // BSD-style license that can be found in the LICENSE file.
20702
20703 // WARNING: Do not edit - generated code.
20704
20705 interface FieldSetElement extends Element {
20706
20707 final FormElement form;
20708
20709 final String validationMessage;
20710
20711 final ValidityState validity;
20712
20713 final bool willValidate;
20714
20715 bool checkValidity();
20716
20717 void setCustomValidity(String error);
20718 }
20719 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
20720 // for details. All rights reserved. Use of this source code is governed by a
20721 // BSD-style license that can be found in the LICENSE file.
20722
20723 // WARNING: Do not edit - generated code.
20724
20725 interface File extends Blob {
20726
20727 final String fileName;
20728
20729 final int fileSize;
20730
20731 final Date lastModifiedDate;
20732
20733 final String name;
20734
20735 final String webkitRelativePath;
20736 }
20737 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
20738 // for details. All rights reserved. Use of this source code is governed by a
20739 // BSD-style license that can be found in the LICENSE file.
20740
20741 // WARNING: Do not edit - generated code.
20742
20743 typedef bool FileCallback(File file);
20744 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
20745 // for details. All rights reserved. Use of this source code is governed by a
20746 // BSD-style license that can be found in the LICENSE file.
20747
20748 // WARNING: Do not edit - generated code.
20749
20750 interface FileEntry extends Entry {
20751
20752 void createWriter(FileWriterCallback successCallback, [ErrorCallback errorCall back]);
20753
20754 void file(FileCallback successCallback, [ErrorCallback errorCallback]);
20755 }
20756 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
20757 // for details. All rights reserved. Use of this source code is governed by a
20758 // BSD-style license that can be found in the LICENSE file.
20759
20760 // WARNING: Do not edit - generated code.
20761
20762 interface FileEntrySync extends EntrySync {
20763
20764 FileWriterSync createWriter();
20765
20766 File file();
20767 }
20768 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
20769 // for details. All rights reserved. Use of this source code is governed by a
20770 // BSD-style license that can be found in the LICENSE file.
20771
20772 // WARNING: Do not edit - generated code.
20773
20774 interface FileError {
20775
20776 static final int ABORT_ERR = 3;
20777
20778 static final int ENCODING_ERR = 5;
20779
20780 static final int INVALID_MODIFICATION_ERR = 9;
20781
20782 static final int INVALID_STATE_ERR = 7;
20783
20784 static final int NOT_FOUND_ERR = 1;
20785
20786 static final int NOT_READABLE_ERR = 4;
20787
20788 static final int NO_MODIFICATION_ALLOWED_ERR = 6;
20789
20790 static final int PATH_EXISTS_ERR = 12;
20791
20792 static final int QUOTA_EXCEEDED_ERR = 10;
20793
20794 static final int SECURITY_ERR = 2;
20795
20796 static final int SYNTAX_ERR = 8;
20797
20798 static final int TYPE_MISMATCH_ERR = 11;
20799
20800 final int code;
20801 }
20802 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
20803 // for details. All rights reserved. Use of this source code is governed by a
20804 // BSD-style license that can be found in the LICENSE file.
20805
20806 // WARNING: Do not edit - generated code.
20807
20808 interface FileException {
20809
20810 static final int ABORT_ERR = 3;
20811
20812 static final int ENCODING_ERR = 5;
20813
20814 static final int INVALID_MODIFICATION_ERR = 9;
20815
20816 static final int INVALID_STATE_ERR = 7;
20817
20818 static final int NOT_FOUND_ERR = 1;
20819
20820 static final int NOT_READABLE_ERR = 4;
20821
20822 static final int NO_MODIFICATION_ALLOWED_ERR = 6;
20823
20824 static final int PATH_EXISTS_ERR = 12;
20825
20826 static final int QUOTA_EXCEEDED_ERR = 10;
20827
20828 static final int SECURITY_ERR = 2;
20829
20830 static final int SYNTAX_ERR = 8;
20831
20832 static final int TYPE_MISMATCH_ERR = 11;
20833
20834 final int code;
20835
20836 final String message;
20837
20838 final String name;
20839
20840 String toString();
20841 }
20842 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
20843 // for details. All rights reserved. Use of this source code is governed by a
20844 // BSD-style license that can be found in the LICENSE file.
20845
20846 // WARNING: Do not edit - generated code.
20847
20848 interface FileList {
20849
20850 final int length;
20851
20852 File item(int index);
20853 }
20854 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
20855 // for details. All rights reserved. Use of this source code is governed by a
20856 // BSD-style license that can be found in the LICENSE file.
20857
20858 // WARNING: Do not edit - generated code.
20859
20860 interface FileReader {
20861
20862 static final int DONE = 2;
20863
20864 static final int EMPTY = 0;
20865
20866 static final int LOADING = 1;
20867
20868 final FileError error;
20869
20870 EventListener onabort;
20871
20872 EventListener onerror;
20873
20874 EventListener onload;
20875
20876 EventListener onloadend;
20877
20878 EventListener onloadstart;
20879
20880 EventListener onprogress;
20881
20882 final int readyState;
20883
20884 final Object result;
20885
20886 void abort();
20887
20888 void addEventListener(String type, EventListener listener, [bool useCapture]);
20889
20890 bool dispatchEvent(Event evt);
20891
20892 void readAsArrayBuffer(Blob blob);
20893
20894 void readAsBinaryString(Blob blob);
20895
20896 void readAsDataURL(Blob blob);
20897
20898 void readAsText(Blob blob, [String encoding]);
20899
20900 void removeEventListener(String type, EventListener listener, [bool useCapture ]);
20901 }
20902 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
20903 // for details. All rights reserved. Use of this source code is governed by a
20904 // BSD-style license that can be found in the LICENSE file.
20905
20906 // WARNING: Do not edit - generated code.
20907
20908 interface FileReaderSync {
20909
20910 ArrayBuffer readAsArrayBuffer(Blob blob);
20911
20912 String readAsBinaryString(Blob blob);
20913
20914 String readAsDataURL(Blob blob);
20915
20916 String readAsText(Blob blob, [String encoding]);
20917 }
20918 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
20919 // for details. All rights reserved. Use of this source code is governed by a
20920 // BSD-style license that can be found in the LICENSE file.
20921
20922 // WARNING: Do not edit - generated code.
20923
20924 typedef bool FileSystemCallback(DOMFileSystem fileSystem);
20925 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
20926 // for details. All rights reserved. Use of this source code is governed by a
20927 // BSD-style license that can be found in the LICENSE file.
20928
20929 // WARNING: Do not edit - generated code.
20930
20931 interface FileWriter {
20932
20933 static final int DONE = 2;
20934
20935 static final int INIT = 0;
20936
20937 static final int WRITING = 1;
20938
20939 final FileError error;
20940
20941 final int length;
20942
20943 EventListener onabort;
20944
20945 EventListener onerror;
20946
20947 EventListener onprogress;
20948
20949 EventListener onwrite;
20950
20951 EventListener onwriteend;
20952
20953 EventListener onwritestart;
20954
20955 final int position;
20956
20957 final int readyState;
20958
20959 void abort();
20960
20961 void seek(int position);
20962
20963 void truncate(int size);
20964
20965 void write(Blob data);
20966 }
20967 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
20968 // for details. All rights reserved. Use of this source code is governed by a
20969 // BSD-style license that can be found in the LICENSE file.
20970
20971 // WARNING: Do not edit - generated code.
20972
20973 typedef bool FileWriterCallback(FileWriter fileWriter);
20974 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
20975 // for details. All rights reserved. Use of this source code is governed by a
20976 // BSD-style license that can be found in the LICENSE file.
20977
20978 // WARNING: Do not edit - generated code.
20979
20980 interface FileWriterSync {
20981
20982 final int length;
20983
20984 final int position;
20985
20986 void seek(int position);
20987
20988 void truncate(int size);
20989
20990 void write(Blob data);
20991 }
20992 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
20993 // for details. All rights reserved. Use of this source code is governed by a
20994 // BSD-style license that can be found in the LICENSE file.
20995
20996 // WARNING: Do not edit - generated code.
20997
20998 interface Float32Array extends ArrayBufferView, List<num> default _TypedArrayFac toryProvider {
20999
21000 Float32Array(int length);
21001
21002 Float32Array.fromList(List<num> list);
21003
21004 Float32Array.fromBuffer(ArrayBuffer buffer);
21005
21006 static final int BYTES_PER_ELEMENT = 4;
21007
21008 final int length;
21009
21010 void setElements(Object array, [int offset]);
21011
21012 Float32Array subarray(int start, [int end]);
21013 }
21014 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
21015 // for details. All rights reserved. Use of this source code is governed by a
21016 // BSD-style license that can be found in the LICENSE file.
21017
21018 // WARNING: Do not edit - generated code.
21019
21020 interface Float64Array extends ArrayBufferView, List<num> default _TypedArrayFac toryProvider {
21021
21022 Float64Array(int length);
21023
21024 Float64Array.fromList(List<num> list);
21025
21026 Float64Array.fromBuffer(ArrayBuffer buffer);
21027
21028 static final int BYTES_PER_ELEMENT = 8;
21029
21030 final int length;
21031
21032 void setElements(Object array, [int offset]);
21033
21034 Float64Array subarray(int start, [int end]);
21035 }
21036 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
21037 // for details. All rights reserved. Use of this source code is governed by a
21038 // BSD-style license that can be found in the LICENSE file.
21039
21040 // WARNING: Do not edit - generated code.
21041
21042 interface FontElement extends Element {
21043
21044 String color;
21045
21046 String face;
21047
21048 String size;
21049 }
21050 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
21051 // for details. All rights reserved. Use of this source code is governed by a
21052 // BSD-style license that can be found in the LICENSE file.
21053
21054 // WARNING: Do not edit - generated code.
21055
21056 interface FormElement extends Element {
21057
21058 String acceptCharset;
21059
21060 String action;
21061
21062 String autocomplete;
21063
21064 String encoding;
21065
21066 String enctype;
21067
21068 final int length;
21069
21070 String method;
21071
21072 String name;
21073
21074 bool noValidate;
21075
21076 String target;
21077
21078 bool checkValidity();
21079
21080 void reset();
21081
21082 void submit();
21083 }
21084 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
21085 // for details. All rights reserved. Use of this source code is governed by a
21086 // BSD-style license that can be found in the LICENSE file.
21087
21088 // WARNING: Do not edit - generated code.
21089
21090 interface FrameElement extends Element {
21091
21092 final Document contentDocument;
21093
21094 final Window contentWindow;
21095
21096 String frameBorder;
21097
21098 final int height;
21099
21100 String location;
21101
21102 String longDesc;
21103
21104 String marginHeight;
21105
21106 String marginWidth;
21107
21108 String name;
21109
21110 bool noResize;
21111
21112 String scrolling;
21113
21114 String src;
21115
21116 final int width;
21117
21118 SVGDocument getSVGDocument();
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 FrameSetElement extends Element {
21127
21128 String cols;
21129
21130 String rows;
21131
21132 FrameSetElementEvents get on();
21133 }
21134
21135 interface FrameSetElementEvents extends ElementEvents {
21136
21137 EventListenerList get beforeUnload();
21138
21139 EventListenerList get blur();
21140
21141 EventListenerList get error();
21142
21143 EventListenerList get focus();
21144
21145 EventListenerList get hashChange();
21146
21147 EventListenerList get load();
21148
21149 EventListenerList get message();
21150
21151 EventListenerList get offline();
21152
21153 EventListenerList get online();
21154
21155 EventListenerList get popState();
21156
21157 EventListenerList get resize();
21158
21159 EventListenerList get storage();
21160
21161 EventListenerList get unload();
21162 }
21163 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
21164 // for details. All rights reserved. Use of this source code is governed by a
21165 // BSD-style license that can be found in the LICENSE file.
21166
21167 // WARNING: Do not edit - generated code.
21168
21169 interface Geolocation {
21170
21171 void clearWatch(int watchId);
21172
21173 void getCurrentPosition(PositionCallback successCallback, [PositionErrorCallba ck errorCallback]);
21174
21175 int watchPosition(PositionCallback successCallback, [PositionErrorCallback err orCallback]);
21176 }
21177 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
21178 // for details. All rights reserved. Use of this source code is governed by a
21179 // BSD-style license that can be found in the LICENSE file.
21180
21181 // WARNING: Do not edit - generated code.
21182
21183 interface Geoposition {
21184
21185 final Coordinates coords;
21186
21187 final int timestamp;
21188 }
21189 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
21190 // for details. All rights reserved. Use of this source code is governed by a
21191 // BSD-style license that can be found in the LICENSE file.
21192
21193 // WARNING: Do not edit - generated code.
21194
21195 interface HRElement extends Element {
21196
21197 String align;
21198
21199 bool noShade;
21200
21201 String size;
21202
21203 String width;
21204 }
21205 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
21206 // for details. All rights reserved. Use of this source code is governed by a
21207 // BSD-style license that can be found in the LICENSE file.
21208
21209 // WARNING: Do not edit - generated code.
21210
21211 interface HTMLAllCollection {
21212
21213 final int length;
21214
21215 Node item(int index);
21216
21217 Node namedItem(String name);
21218
21219 NodeList tags(String name);
21220 }
21221 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
21222 // for details. All rights reserved. Use of this source code is governed by a
21223 // BSD-style license that can be found in the LICENSE file.
21224
21225 // WARNING: Do not edit - generated code.
21226
21227 interface HTMLCollection extends List<Node> {
21228
21229 final int length;
21230
21231 Node item(int index);
21232
21233 Node namedItem(String name);
21234 }
21235 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
21236 // for details. All rights reserved. Use of this source code is governed by a
21237 // BSD-style license that can be found in the LICENSE file.
21238
21239 // WARNING: Do not edit - generated code.
21240
21241 interface HTMLOptionsCollection extends HTMLCollection {
21242
21243 int length;
21244
21245 int selectedIndex;
21246
21247 void remove(int index);
21248 }
21249 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
21250 // for details. All rights reserved. Use of this source code is governed by a
21251 // BSD-style license that can be found in the LICENSE file.
21252
21253 // WARNING: Do not edit - generated code.
21254
21255 interface HashChangeEvent extends Event {
21256
21257 final String newURL;
21258
21259 final String oldURL;
21260
21261 void initHashChangeEvent(String type, bool canBubble, bool cancelable, String oldURL, String newURL);
21262 }
21263 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
21264 // for details. All rights reserved. Use of this source code is governed by a
21265 // BSD-style license that can be found in the LICENSE file.
21266
21267 // WARNING: Do not edit - generated code.
21268
21269 interface HeadElement extends Element {
21270
21271 String profile;
21272 }
21273 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
21274 // for details. All rights reserved. Use of this source code is governed by a
21275 // BSD-style license that can be found in the LICENSE file.
21276
21277 // WARNING: Do not edit - generated code.
21278
21279 interface HeadingElement extends Element {
21280
21281 String align;
21282 }
21283 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
21284 // for details. All rights reserved. Use of this source code is governed by a
21285 // BSD-style license that can be found in the LICENSE file.
21286
21287 // WARNING: Do not edit - generated code.
21288
21289 interface HighPass2FilterNode extends AudioNode {
21290
21291 final AudioParam cutoff;
21292
21293 final AudioParam resonance;
21294 }
21295 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
21296 // for details. All rights reserved. Use of this source code is governed by a
21297 // BSD-style license that can be found in the LICENSE file.
21298
21299 // WARNING: Do not edit - generated code.
21300
21301 interface History {
21302
21303 final int length;
21304
21305 void back();
21306
21307 void forward();
21308
21309 void go(int distance);
21310
21311 void pushState(Object data, String title, [String url]);
21312
21313 void replaceState(Object data, String title, [String url]);
21314 }
21315 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
21316 // for details. All rights reserved. Use of this source code is governed by a
21317 // BSD-style license that can be found in the LICENSE file.
21318
21319 // WARNING: Do not edit - generated code.
21320
21321 interface HtmlElement extends Element {
21322
21323 String manifest;
21324
21325 String version;
21326 }
21327 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
21328 // for details. All rights reserved. Use of this source code is governed by a
21329 // BSD-style license that can be found in the LICENSE file.
21330
21331 // WARNING: Do not edit - generated code.
21332
21333 interface IDBAny {
21334 }
21335 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
21336 // for details. All rights reserved. Use of this source code is governed by a
21337 // BSD-style license that can be found in the LICENSE file.
21338
21339 // WARNING: Do not edit - generated code.
21340
21341 interface IDBCursor {
21342
21343 static final int NEXT = 0;
21344
21345 static final int NEXT_NO_DUPLICATE = 1;
21346
21347 static final int PREV = 2;
21348
21349 static final int PREV_NO_DUPLICATE = 3;
21350
21351 final int direction;
21352
21353 final IDBKey key;
21354
21355 final IDBKey primaryKey;
21356
21357 final IDBAny source;
21358
21359 void continueFunction([IDBKey key]);
21360
21361 IDBRequest delete();
21362
21363 IDBRequest update(Dynamic value);
21364 }
21365 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
21366 // for details. All rights reserved. Use of this source code is governed by a
21367 // BSD-style license that can be found in the LICENSE file.
21368
21369 // WARNING: Do not edit - generated code.
21370
21371 interface IDBCursorWithValue extends IDBCursor {
21372
21373 final IDBAny value;
21374 }
21375 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
21376 // for details. All rights reserved. Use of this source code is governed by a
21377 // BSD-style license that can be found in the LICENSE file.
21378
21379 // WARNING: Do not edit - generated code.
21380
21381 interface IDBDatabase {
21382
21383 final String name;
21384
21385 EventListener onabort;
21386
21387 EventListener onerror;
21388
21389 EventListener onversionchange;
21390
21391 final String version;
21392
21393 void addEventListener(String type, EventListener listener, [bool useCapture]);
21394
21395 void close();
21396
21397 IDBObjectStore createObjectStore(String name);
21398
21399 void deleteObjectStore(String name);
21400
21401 bool dispatchEvent(Event evt);
21402
21403 void removeEventListener(String type, EventListener listener, [bool useCapture ]);
21404
21405 IDBVersionChangeRequest setVersion(String version);
21406
21407 IDBTransaction transaction(String storeName, int mode);
21408 }
21409 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
21410 // for details. All rights reserved. Use of this source code is governed by a
21411 // BSD-style license that can be found in the LICENSE file.
21412
21413 // WARNING: Do not edit - generated code.
21414
21415 interface IDBDatabaseError {
21416
21417 int code;
21418
21419 String message;
21420 }
21421 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
21422 // for details. All rights reserved. Use of this source code is governed by a
21423 // BSD-style license that can be found in the LICENSE file.
21424
21425 // WARNING: Do not edit - generated code.
21426
21427 interface IDBDatabaseException {
21428
21429 static final int ABORT_ERR = 8;
21430
21431 static final int CONSTRAINT_ERR = 4;
21432
21433 static final int DATA_ERR = 5;
21434
21435 static final int NON_TRANSIENT_ERR = 2;
21436
21437 static final int NOT_ALLOWED_ERR = 6;
21438
21439 static final int NOT_FOUND_ERR = 3;
21440
21441 static final int NO_ERR = 0;
21442
21443 static final int QUOTA_ERR = 11;
21444
21445 static final int READ_ONLY_ERR = 9;
21446
21447 static final int TIMEOUT_ERR = 10;
21448
21449 static final int TRANSACTION_INACTIVE_ERR = 7;
21450
21451 static final int UNKNOWN_ERR = 1;
21452
21453 static final int VER_ERR = 12;
21454
21455 final int code;
21456
21457 final String message;
21458
21459 final String name;
21460
21461 String toString();
21462 }
21463 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
21464 // for details. All rights reserved. Use of this source code is governed by a
21465 // BSD-style license that can be found in the LICENSE file.
21466
21467 // WARNING: Do not edit - generated code.
21468
21469 interface IDBFactory {
21470
21471 int cmp(IDBKey first, IDBKey second);
21472
21473 IDBVersionChangeRequest deleteDatabase(String name);
21474
21475 IDBRequest getDatabaseNames();
21476
21477 IDBRequest open(String name);
21478 }
21479 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
21480 // for details. All rights reserved. Use of this source code is governed by a
21481 // BSD-style license that can be found in the LICENSE file.
21482
21483 // WARNING: Do not edit - generated code.
21484
21485 interface IDBIndex {
21486
21487 final String keyPath;
21488
21489 final bool multiEntry;
21490
21491 final String name;
21492
21493 final IDBObjectStore objectStore;
21494
21495 final bool unique;
21496
21497 IDBRequest count([IDBKeyRange range]);
21498
21499 IDBRequest getObject(IDBKey key);
21500
21501 IDBRequest getKey(IDBKey key);
21502
21503 IDBRequest openCursor([IDBKeyRange range, int direction]);
21504
21505 IDBRequest openKeyCursor([IDBKeyRange range, int direction]);
21506 }
21507 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
21508 // for details. All rights reserved. Use of this source code is governed by a
21509 // BSD-style license that can be found in the LICENSE file.
21510
21511 // WARNING: Do not edit - generated code.
21512
21513 interface IDBKey {
21514 }
21515 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
21516 // for details. All rights reserved. Use of this source code is governed by a
21517 // BSD-style license that can be found in the LICENSE file.
21518
21519 // WARNING: Do not edit - generated code.
21520
21521 interface IDBKeyRange {
21522
21523 final IDBKey lower;
21524
21525 final bool lowerOpen;
21526
21527 final IDBKey upper;
21528
21529 final bool upperOpen;
21530
21531 IDBKeyRange bound(IDBKey lower, IDBKey upper, [bool lowerOpen, bool upperOpen] );
21532
21533 IDBKeyRange lowerBound(IDBKey bound, [bool open]);
21534
21535 IDBKeyRange only(IDBKey value);
21536
21537 IDBKeyRange upperBound(IDBKey bound, [bool open]);
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 IDBObjectStore {
21546
21547 final String keyPath;
21548
21549 final String name;
21550
21551 final IDBTransaction transaction;
21552
21553 IDBRequest add(Dynamic value, [IDBKey key]);
21554
21555 IDBRequest clear();
21556
21557 IDBRequest count([IDBKeyRange range]);
21558
21559 IDBIndex createIndex(String name, String keyPath);
21560
21561 IDBRequest delete(IDBKey key);
21562
21563 void deleteIndex(String name);
21564
21565 IDBRequest getObject(IDBKey key);
21566
21567 IDBIndex index(String name);
21568
21569 IDBRequest openCursor([IDBKeyRange range, int direction]);
21570
21571 IDBRequest put(Dynamic value, [IDBKey key]);
21572 }
21573 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
21574 // for details. All rights reserved. Use of this source code is governed by a
21575 // BSD-style license that can be found in the LICENSE file.
21576
21577 // WARNING: Do not edit - generated code.
21578
21579 interface IDBRequest {
21580
21581 static final int DONE = 2;
21582
21583 static final int LOADING = 1;
21584
21585 final int errorCode;
21586
21587 EventListener onerror;
21588
21589 EventListener onsuccess;
21590
21591 final int readyState;
21592
21593 final IDBAny result;
21594
21595 final IDBAny source;
21596
21597 final IDBTransaction transaction;
21598
21599 final String webkitErrorMessage;
21600
21601 void addEventListener(String type, EventListener listener, [bool useCapture]);
21602
21603 bool dispatchEvent(Event evt);
21604
21605 void removeEventListener(String type, EventListener listener, [bool useCapture ]);
21606 }
21607 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
21608 // for details. All rights reserved. Use of this source code is governed by a
21609 // BSD-style license that can be found in the LICENSE file.
21610
21611 // WARNING: Do not edit - generated code.
21612
21613 interface IDBTransaction {
21614
21615 static final int READ_ONLY = 0;
21616
21617 static final int READ_WRITE = 1;
21618
21619 static final int VERSION_CHANGE = 2;
21620
21621 final IDBDatabase db;
21622
21623 final int mode;
21624
21625 EventListener onabort;
21626
21627 EventListener oncomplete;
21628
21629 EventListener onerror;
21630
21631 void abort();
21632
21633 void addEventListener(String type, EventListener listener, [bool useCapture]);
21634
21635 bool dispatchEvent(Event evt);
21636
21637 IDBObjectStore objectStore(String name);
21638
21639 void removeEventListener(String type, EventListener listener, [bool useCapture ]);
21640 }
21641 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
21642 // for details. All rights reserved. Use of this source code is governed by a
21643 // BSD-style license that can be found in the LICENSE file.
21644
21645 // WARNING: Do not edit - generated code.
21646
21647 interface IDBVersionChangeEvent extends Event {
21648
21649 final String version;
21650 }
21651 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
21652 // for details. All rights reserved. Use of this source code is governed by a
21653 // BSD-style license that can be found in the LICENSE file.
21654
21655 // WARNING: Do not edit - generated code.
21656
21657 interface IDBVersionChangeRequest extends IDBRequest {
21658
21659 EventListener onblocked;
21660 }
21661 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
21662 // for details. All rights reserved. Use of this source code is governed by a
21663 // BSD-style license that can be found in the LICENSE file.
21664
21665 // WARNING: Do not edit - generated code.
21666
21667 interface IFrameElement extends Element {
21668
21669 String align;
21670
21671 final Document contentDocument;
21672
21673 final Window contentWindow;
21674
21675 String frameBorder;
21676
21677 String height;
21678
21679 String longDesc;
21680
21681 String marginHeight;
21682
21683 String marginWidth;
21684
21685 String name;
21686
21687 String sandbox;
21688
21689 String scrolling;
21690
21691 String src;
21692
21693 String width;
21694
21695 SVGDocument getSVGDocument();
21696 }
21697 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
21698 // for details. All rights reserved. Use of this source code is governed by a
21699 // BSD-style license that can be found in the LICENSE file.
21700
21701 // WARNING: Do not edit - generated code.
21702
21703 interface ImageData {
21704
21705 final CanvasPixelArray data;
21706
21707 final int height;
21708
21709 final int width;
21710 }
21711 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
21712 // for details. All rights reserved. Use of this source code is governed by a
21713 // BSD-style license that can be found in the LICENSE file.
21714
21715 // WARNING: Do not edit - generated code.
21716
21717 interface ImageElement extends Element {
21718
21719 String align;
21720
21721 String alt;
21722
21723 String border;
21724
21725 final bool complete;
21726
21727 String crossOrigin;
21728
21729 int height;
21730
21731 int hspace;
21732
21733 bool isMap;
21734
21735 String longDesc;
21736
21737 String lowsrc;
21738
21739 String name;
21740
21741 final int naturalHeight;
21742
21743 final int naturalWidth;
21744
21745 String src;
21746
21747 String useMap;
21748
21749 int vspace;
21750
21751 int width;
21752
21753 final int x;
21754
21755 final int y;
21756 }
21757 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
21758 // for details. All rights reserved. Use of this source code is governed by a
21759 // BSD-style license that can be found in the LICENSE file.
21760
21761 // WARNING: Do not edit - generated code.
21762
21763 interface InputElement extends Element {
21764
21765 String accept;
21766
21767 String align;
21768
21769 String alt;
21770
21771 String autocomplete;
21772
21773 bool autofocus;
21774
21775 bool checked;
21776
21777 bool defaultChecked;
21778
21779 String defaultValue;
21780
21781 bool disabled;
21782
21783 final FileList files;
21784
21785 final FormElement form;
21786
21787 String formAction;
21788
21789 String formEnctype;
21790
21791 String formMethod;
21792
21793 bool formNoValidate;
21794
21795 String formTarget;
21796
21797 bool incremental;
21798
21799 bool indeterminate;
21800
21801 final NodeList labels;
21802
21803 String max;
21804
21805 int maxLength;
21806
21807 String min;
21808
21809 bool multiple;
21810
21811 String name;
21812
21813 String pattern;
21814
21815 String placeholder;
21816
21817 bool readOnly;
21818
21819 bool required;
21820
21821 String selectionDirection;
21822
21823 int selectionEnd;
21824
21825 int selectionStart;
21826
21827 int size;
21828
21829 String src;
21830
21831 String step;
21832
21833 String type;
21834
21835 String useMap;
21836
21837 final String validationMessage;
21838
21839 final ValidityState validity;
21840
21841 String value;
21842
21843 Date valueAsDate;
21844
21845 num valueAsNumber;
21846
21847 bool webkitGrammar;
21848
21849 bool webkitSpeech;
21850
21851 bool webkitdirectory;
21852
21853 final bool willValidate;
21854
21855 InputElementEvents get on();
21856
21857 bool checkValidity();
21858
21859 void click();
21860
21861 void select();
21862
21863 void setCustomValidity(String error);
21864
21865 void setSelectionRange(int start, int end, [String direction]);
21866
21867 void stepDown([int n]);
21868
21869 void stepUp([int n]);
21870 }
21871
21872 interface InputElementEvents extends ElementEvents {
21873
21874 EventListenerList get speechChange();
21875 }
21876 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
21877 // for details. All rights reserved. Use of this source code is governed by a
21878 // BSD-style license that can be found in the LICENSE file.
21879
21880 // WARNING: Do not edit - generated code.
21881
21882 interface Int16Array extends ArrayBufferView, List<int> default _TypedArrayFacto ryProvider {
21883
21884 Int16Array(int length);
21885
21886 Int16Array.fromList(List<int> list);
21887
21888 Int16Array.fromBuffer(ArrayBuffer buffer);
21889
21890 static final int BYTES_PER_ELEMENT = 2;
21891
21892 final int length;
21893
21894 void setElements(Object array, [int offset]);
21895
21896 Int16Array subarray(int start, [int end]);
21897 }
21898 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
21899 // for details. All rights reserved. Use of this source code is governed by a
21900 // BSD-style license that can be found in the LICENSE file.
21901
21902 // WARNING: Do not edit - generated code.
21903
21904 interface Int32Array extends ArrayBufferView, List<int> default _TypedArrayFacto ryProvider {
21905
21906 Int32Array(int length);
21907
21908 Int32Array.fromList(List<int> list);
21909
21910 Int32Array.fromBuffer(ArrayBuffer buffer);
21911
21912 static final int BYTES_PER_ELEMENT = 4;
21913
21914 final int length;
21915
21916 void setElements(Object array, [int offset]);
21917
21918 Int32Array subarray(int start, [int end]);
21919 }
21920 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
21921 // for details. All rights reserved. Use of this source code is governed by a
21922 // BSD-style license that can be found in the LICENSE file.
21923
21924 // WARNING: Do not edit - generated code.
21925
21926 interface Int8Array extends ArrayBufferView, List<int> default _TypedArrayFactor yProvider {
21927
21928 Int8Array(int length);
21929
21930 Int8Array.fromList(List<int> list);
21931
21932 Int8Array.fromBuffer(ArrayBuffer buffer);
21933
21934 static final int BYTES_PER_ELEMENT = 1;
21935
21936 final int length;
21937
21938 void setElements(Object array, [int offset]);
21939
21940 Int8Array subarray(int start, [int end]);
21941 }
21942 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
21943 // for details. All rights reserved. Use of this source code is governed by a
21944 // BSD-style license that can be found in the LICENSE file.
21945
21946 // WARNING: Do not edit - generated code.
21947
21948 interface IsIndexElement extends InputElement {
21949
21950 final FormElement form;
21951
21952 String prompt;
21953 }
21954 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
21955 // for details. All rights reserved. Use of this source code is governed by a
21956 // BSD-style license that can be found in the LICENSE file.
21957
21958 // WARNING: Do not edit - generated code.
21959
21960 interface JavaScriptAudioNode extends AudioNode {
21961
21962 final int bufferSize;
21963
21964 EventListener onaudioprocess;
21965 }
21966 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
21967 // for details. All rights reserved. Use of this source code is governed by a
21968 // BSD-style license that can be found in the LICENSE file.
21969
21970 // WARNING: Do not edit - generated code.
21971
21972 interface JavaScriptCallFrame {
21973
21974 static final int CATCH_SCOPE = 4;
21975
21976 static final int CLOSURE_SCOPE = 3;
21977
21978 static final int GLOBAL_SCOPE = 0;
21979
21980 static final int LOCAL_SCOPE = 1;
21981
21982 static final int WITH_SCOPE = 2;
21983
21984 final JavaScriptCallFrame caller;
21985
21986 final int column;
21987
21988 final String functionName;
21989
21990 final int line;
21991
21992 final List scopeChain;
21993
21994 final int sourceID;
21995
21996 final Object thisObject;
21997
21998 final String type;
21999
22000 void evaluate(String script);
22001
22002 int scopeType(int scopeIndex);
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 KeyboardEvent extends UIEvent {
22011
22012 final bool altGraphKey;
22013
22014 final bool altKey;
22015
22016 final bool ctrlKey;
22017
22018 final String keyIdentifier;
22019
22020 final int keyLocation;
22021
22022 final bool metaKey;
22023
22024 final bool shiftKey;
22025
22026 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);
22027 }
22028 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
22029 // for details. All rights reserved. Use of this source code is governed by a
22030 // BSD-style license that can be found in the LICENSE file.
22031
22032 // WARNING: Do not edit - generated code.
22033
22034 interface KeygenElement extends Element {
22035
22036 bool autofocus;
22037
22038 String challenge;
22039
22040 bool disabled;
22041
22042 final FormElement form;
22043
22044 String keytype;
22045
22046 final NodeList labels;
22047
22048 String name;
22049
22050 final String type;
22051
22052 final String validationMessage;
22053
22054 final ValidityState validity;
22055
22056 final bool willValidate;
22057
22058 bool checkValidity();
22059
22060 void setCustomValidity(String error);
22061 }
22062 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
22063 // for details. All rights reserved. Use of this source code is governed by a
22064 // BSD-style license that can be found in the LICENSE file.
22065
22066 // WARNING: Do not edit - generated code.
22067
22068 interface LIElement extends Element {
22069
22070 String type;
22071
22072 int value;
22073 }
22074 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
22075 // for details. All rights reserved. Use of this source code is governed by a
22076 // BSD-style license that can be found in the LICENSE file.
22077
22078 // WARNING: Do not edit - generated code.
22079
22080 interface LabelElement extends Element {
22081
22082 final Element control;
22083
22084 final FormElement form;
22085
22086 String htmlFor;
22087 }
22088 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
22089 // for details. All rights reserved. Use of this source code is governed by a
22090 // BSD-style license that can be found in the LICENSE file.
22091
22092 // WARNING: Do not edit - generated code.
22093
22094 interface LegendElement extends Element {
22095
22096 String align;
22097
22098 final FormElement form;
22099 }
22100 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
22101 // for details. All rights reserved. Use of this source code is governed by a
22102 // BSD-style license that can be found in the LICENSE file.
22103
22104 // WARNING: Do not edit - generated code.
22105
22106 interface LinkElement extends Element {
22107
22108 String charset;
22109
22110 bool disabled;
22111
22112 String href;
22113
22114 String hreflang;
22115
22116 String media;
22117
22118 String rel;
22119
22120 String rev;
22121
22122 final StyleSheet sheet;
22123
22124 DOMSettableTokenList sizes;
22125
22126 String target;
22127
22128 String type;
22129 }
22130 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
22131 // for details. All rights reserved. Use of this source code is governed by a
22132 // BSD-style license that can be found in the LICENSE file.
22133
22134 // WARNING: Do not edit - generated code.
22135
22136 interface Location {
22137
22138 String hash;
22139
22140 String host;
22141
22142 String hostname;
22143
22144 String href;
22145
22146 final String origin;
22147
22148 String pathname;
22149
22150 String port;
22151
22152 String protocol;
22153
22154 String search;
22155
22156 void assign(String url);
22157
22158 void reload();
22159
22160 void replace(String url);
22161
22162 String toString();
22163 }
22164 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
22165 // for details. All rights reserved. Use of this source code is governed by a
22166 // BSD-style license that can be found in the LICENSE file.
22167
22168 // WARNING: Do not edit - generated code.
22169
22170 interface LowPass2FilterNode extends AudioNode {
22171
22172 final AudioParam cutoff;
22173
22174 final AudioParam resonance;
22175 }
22176 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
22177 // for details. All rights reserved. Use of this source code is governed by a
22178 // BSD-style license that can be found in the LICENSE file.
22179
22180 // WARNING: Do not edit - generated code.
22181
22182 interface MapElement extends Element {
22183
22184 final HTMLCollection areas;
22185
22186 String name;
22187 }
22188 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
22189 // for details. All rights reserved. Use of this source code is governed by a
22190 // BSD-style license that can be found in the LICENSE file.
22191
22192 // WARNING: Do not edit - generated code.
22193
22194 interface MarqueeElement extends Element {
22195
22196 String behavior;
22197
22198 String bgColor;
22199
22200 String direction;
22201
22202 String height;
22203
22204 int hspace;
22205
22206 int loop;
22207
22208 int scrollAmount;
22209
22210 int scrollDelay;
22211
22212 bool trueSpeed;
22213
22214 int vspace;
22215
22216 String width;
22217
22218 void start();
22219
22220 void stop();
22221 }
22222 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
22223 // for details. All rights reserved. Use of this source code is governed by a
22224 // BSD-style license that can be found in the LICENSE file.
22225
22226 // WARNING: Do not edit - generated code.
22227
22228 interface MediaController {
22229
22230 final TimeRanges buffered;
22231
22232 num currentTime;
22233
22234 num defaultPlaybackRate;
22235
22236 final num duration;
22237
22238 bool muted;
22239
22240 final bool paused;
22241
22242 num playbackRate;
22243
22244 final TimeRanges played;
22245
22246 final TimeRanges seekable;
22247
22248 num volume;
22249
22250 void addEventListener(String type, EventListener listener, [bool useCapture]);
22251
22252 bool dispatchEvent(Event evt);
22253
22254 void pause();
22255
22256 void play();
22257
22258 void removeEventListener(String type, EventListener listener, [bool useCapture ]);
22259 }
22260 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
22261 // for details. All rights reserved. Use of this source code is governed by a
22262 // BSD-style license that can be found in the LICENSE file.
22263
22264 // WARNING: Do not edit - generated code.
22265
22266 interface MediaElement extends Element {
22267
22268 static final int EOS_DECODE_ERR = 2;
22269
22270 static final int EOS_NETWORK_ERR = 1;
22271
22272 static final int EOS_NO_ERROR = 0;
22273
22274 static final int HAVE_CURRENT_DATA = 2;
22275
22276 static final int HAVE_ENOUGH_DATA = 4;
22277
22278 static final int HAVE_FUTURE_DATA = 3;
22279
22280 static final int HAVE_METADATA = 1;
22281
22282 static final int HAVE_NOTHING = 0;
22283
22284 static final int NETWORK_EMPTY = 0;
22285
22286 static final int NETWORK_IDLE = 1;
22287
22288 static final int NETWORK_LOADING = 2;
22289
22290 static final int NETWORK_NO_SOURCE = 3;
22291
22292 static final int SOURCE_CLOSED = 0;
22293
22294 static final int SOURCE_ENDED = 2;
22295
22296 static final int SOURCE_OPEN = 1;
22297
22298 bool autoplay;
22299
22300 final TimeRanges buffered;
22301
22302 MediaController controller;
22303
22304 bool controls;
22305
22306 final String currentSrc;
22307
22308 num currentTime;
22309
22310 bool defaultMuted;
22311
22312 num defaultPlaybackRate;
22313
22314 final num duration;
22315
22316 final bool ended;
22317
22318 final MediaError error;
22319
22320 final num initialTime;
22321
22322 bool loop;
22323
22324 String mediaGroup;
22325
22326 bool muted;
22327
22328 final int networkState;
22329
22330 final bool paused;
22331
22332 num playbackRate;
22333
22334 final TimeRanges played;
22335
22336 String preload;
22337
22338 final int readyState;
22339
22340 final TimeRanges seekable;
22341
22342 final bool seeking;
22343
22344 String src;
22345
22346 final num startTime;
22347
22348 final TextTrackList textTracks;
22349
22350 num volume;
22351
22352 final int webkitAudioDecodedByteCount;
22353
22354 bool webkitClosedCaptionsVisible;
22355
22356 final bool webkitHasClosedCaptions;
22357
22358 final String webkitMediaSourceURL;
22359
22360 bool webkitPreservesPitch;
22361
22362 final int webkitSourceState;
22363
22364 final int webkitVideoDecodedByteCount;
22365
22366 TextTrack addTrack(String kind, [String label, String language]);
22367
22368 String canPlayType(String type);
22369
22370 void load();
22371
22372 void pause();
22373
22374 void play();
22375
22376 void webkitSourceAppend(Uint8Array data);
22377
22378 void webkitSourceEndOfStream(int status);
22379 }
22380 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
22381 // for details. All rights reserved. Use of this source code is governed by a
22382 // BSD-style license that can be found in the LICENSE file.
22383
22384 // WARNING: Do not edit - generated code.
22385
22386 interface MediaElementAudioSourceNode extends AudioSourceNode {
22387
22388 final MediaElement mediaElement;
22389 }
22390 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
22391 // for details. All rights reserved. Use of this source code is governed by a
22392 // BSD-style license that can be found in the LICENSE file.
22393
22394 // WARNING: Do not edit - generated code.
22395
22396 interface MediaError {
22397
22398 static final int MEDIA_ERR_ABORTED = 1;
22399
22400 static final int MEDIA_ERR_DECODE = 3;
22401
22402 static final int MEDIA_ERR_NETWORK = 2;
22403
22404 static final int MEDIA_ERR_SRC_NOT_SUPPORTED = 4;
22405
22406 final int code;
22407 }
22408 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
22409 // for details. All rights reserved. Use of this source code is governed by a
22410 // BSD-style license that can be found in the LICENSE file.
22411
22412 // WARNING: Do not edit - generated code.
22413
22414 interface MediaList extends List<String> {
22415
22416 final int length;
22417
22418 String mediaText;
22419
22420 void appendMedium(String newMedium);
22421
22422 void deleteMedium(String oldMedium);
22423
22424 String item(int index);
22425 }
22426 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
22427 // for details. All rights reserved. Use of this source code is governed by a
22428 // BSD-style license that can be found in the LICENSE file.
22429
22430 // WARNING: Do not edit - generated code.
22431
22432 interface MediaQueryList {
22433
22434 final bool matches;
22435
22436 final String media;
22437
22438 void addListener(MediaQueryListListener listener);
22439
22440 void removeListener(MediaQueryListListener listener);
22441 }
22442 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
22443 // for details. All rights reserved. Use of this source code is governed by a
22444 // BSD-style license that can be found in the LICENSE file.
22445
22446 // WARNING: Do not edit - generated code.
22447
22448 interface MediaQueryListListener {
22449
22450 void queryChanged(MediaQueryList list);
22451 }
22452 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
22453 // for details. All rights reserved. Use of this source code is governed by a
22454 // BSD-style license that can be found in the LICENSE file.
22455
22456 // WARNING: Do not edit - generated code.
22457
22458 interface MemoryInfo {
22459
22460 final int jsHeapSizeLimit;
22461
22462 final int totalJSHeapSize;
22463
22464 final int usedJSHeapSize;
22465 }
22466 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
22467 // for details. All rights reserved. Use of this source code is governed by a
22468 // BSD-style license that can be found in the LICENSE file.
22469
22470 // WARNING: Do not edit - generated code.
22471
22472 interface MenuElement extends Element {
22473
22474 bool compact;
22475 }
22476 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
22477 // for details. All rights reserved. Use of this source code is governed by a
22478 // BSD-style license that can be found in the LICENSE file.
22479
22480 // WARNING: Do not edit - generated code.
22481
22482 interface MessageChannel {
22483
22484 final MessagePort port1;
22485
22486 final MessagePort port2;
22487 }
22488 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
22489 // for details. All rights reserved. Use of this source code is governed by a
22490 // BSD-style license that can be found in the LICENSE file.
22491
22492 // WARNING: Do not edit - generated code.
22493
22494 interface MessageEvent extends Event {
22495
22496 final Object data;
22497
22498 final String lastEventId;
22499
22500 final String origin;
22501
22502 final List ports;
22503
22504 final Window source;
22505
22506 void initMessageEvent(String typeArg, bool canBubbleArg, bool cancelableArg, O bject dataArg, String originArg, String lastEventIdArg, Window sourceArg, List m essagePorts);
22507
22508 void webkitInitMessageEvent(String typeArg, bool canBubbleArg, bool cancelable Arg, Object dataArg, String originArg, String lastEventIdArg, Window sourceArg, List transferables);
22509 }
22510 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
22511 // for details. All rights reserved. Use of this source code is governed by a
22512 // BSD-style license that can be found in the LICENSE file.
22513
22514 // WARNING: Do not edit - generated code.
22515
22516 interface MessagePort extends EventTarget {
22517
22518 MessagePortEvents get on();
22519
22520 void close();
22521
22522 void postMessage(String message, [List messagePorts]);
22523
22524 void start();
22525
22526 void webkitPostMessage(String message, [List transfer]);
22527 }
22528
22529 interface MessagePortEvents extends Events {
22530
22531 EventListenerList get message();
22532 }
22533 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
22534 // for details. All rights reserved. Use of this source code is governed by a
22535 // BSD-style license that can be found in the LICENSE file.
22536
22537 // WARNING: Do not edit - generated code.
22538
22539 interface MetaElement extends Element {
22540
22541 String content;
22542
22543 String httpEquiv;
22544
22545 String name;
22546
22547 String scheme;
22548 }
22549 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
22550 // for details. All rights reserved. Use of this source code is governed by a
22551 // BSD-style license that can be found in the LICENSE file.
22552
22553 // WARNING: Do not edit - generated code.
22554
22555 interface Metadata {
22556
22557 final Date modificationTime;
22558 }
22559 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
22560 // for details. All rights reserved. Use of this source code is governed by a
22561 // BSD-style license that can be found in the LICENSE file.
22562
22563 // WARNING: Do not edit - generated code.
22564
22565 typedef bool MetadataCallback(Metadata metadata);
22566 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
22567 // for details. All rights reserved. Use of this source code is governed by a
22568 // BSD-style license that can be found in the LICENSE file.
22569
22570 // WARNING: Do not edit - generated code.
22571
22572 interface MeterElement extends Element {
22573
22574 final FormElement form;
22575
22576 num high;
22577
22578 final NodeList labels;
22579
22580 num low;
22581
22582 num max;
22583
22584 num min;
22585
22586 num optimum;
22587
22588 num value;
22589 }
22590 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
22591 // for details. All rights reserved. Use of this source code is governed by a
22592 // BSD-style license that can be found in the LICENSE file.
22593
22594 // WARNING: Do not edit - generated code.
22595
22596 interface ModElement extends Element {
22597
22598 String cite;
22599
22600 String dateTime;
22601 }
22602 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
22603 // for details. All rights reserved. Use of this source code is governed by a
22604 // BSD-style license that can be found in the LICENSE file.
22605
22606 // WARNING: Do not edit - generated code.
22607
22608 interface MouseEvent extends UIEvent {
22609
22610 final bool altKey;
22611
22612 final int button;
22613
22614 final int clientX;
22615
22616 final int clientY;
22617
22618 final bool ctrlKey;
22619
22620 final Clipboard dataTransfer;
22621
22622 final Node fromElement;
22623
22624 final bool metaKey;
22625
22626 final int offsetX;
22627
22628 final int offsetY;
22629
22630 final EventTarget relatedTarget;
22631
22632 final int screenX;
22633
22634 final int screenY;
22635
22636 final bool shiftKey;
22637
22638 final Node toElement;
22639
22640 final int x;
22641
22642 final int y;
22643
22644 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);
22645 }
22646 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
22647 // for details. All rights reserved. Use of this source code is governed by a
22648 // BSD-style license that can be found in the LICENSE file.
22649
22650 // WARNING: Do not edit - generated code.
22651
22652 interface MutationEvent extends Event {
22653
22654 static final int ADDITION = 2;
22655
22656 static final int MODIFICATION = 1;
22657
22658 static final int REMOVAL = 3;
22659
22660 final int attrChange;
22661
22662 final String attrName;
22663
22664 final String newValue;
22665
22666 final String prevValue;
22667
22668 final Node relatedNode;
22669
22670 void initMutationEvent(String type, bool canBubble, bool cancelable, Node rela tedNode, String prevValue, String newValue, String attrName, int attrChange);
22671 }
22672 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
22673 // for details. All rights reserved. Use of this source code is governed by a
22674 // BSD-style license that can be found in the LICENSE file.
22675
22676 // WARNING: Do not edit - generated code.
22677
22678 interface NamedNodeMap extends List<Node> {
22679
22680 final int length;
22681
22682 Node getNamedItem(String name);
22683
22684 Node getNamedItemNS(String namespaceURI, String localName);
22685
22686 Node item(int index);
22687
22688 Node removeNamedItem(String name);
22689
22690 Node removeNamedItemNS(String namespaceURI, String localName);
22691
22692 Node setNamedItem(Node node);
22693
22694 Node setNamedItemNS(Node node);
22695 }
22696 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
22697 // for details. All rights reserved. Use of this source code is governed by a
22698 // BSD-style license that can be found in the LICENSE file.
22699
22700 // WARNING: Do not edit - generated code.
22701
22702 interface Navigator {
22703
22704 final String appCodeName;
22705
22706 final String appName;
22707
22708 final String appVersion;
22709
22710 final bool cookieEnabled;
22711
22712 final Geolocation geolocation;
22713
22714 final String language;
22715
22716 final DOMMimeTypeArray mimeTypes;
22717
22718 final bool onLine;
22719
22720 final String platform;
22721
22722 final DOMPluginArray plugins;
22723
22724 final String product;
22725
22726 final String productSub;
22727
22728 final String userAgent;
22729
22730 final String vendor;
22731
22732 final String vendorSub;
22733
22734 void getStorageUpdates();
22735
22736 bool javaEnabled();
22737
22738 void registerProtocolHandler(String scheme, String url, String title);
22739 }
22740 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
22741 // for details. All rights reserved. Use of this source code is governed by a
22742 // BSD-style license that can be found in the LICENSE file.
22743
22744 // WARNING: Do not edit - generated code.
22745
22746 interface Node extends EventTarget {
22747 NodeList get nodes();
22748
22749 // TODO: The type of value should be Collection<Node>. See http://b/5392897
22750 void set nodes(value);
22751
22752 Node get nextNode();
22753
22754 Document get document();
22755
22756 Node get parent();
22757
22758 Node get previousNode();
22759
22760 String get text();
22761
22762 void set text(String value);
22763
22764 Node replaceWith(Node otherNode);
22765
22766 Node remove();
22767
22768
22769 static final int ATTRIBUTE_NODE = 2;
22770
22771 static final int CDATA_SECTION_NODE = 4;
22772
22773 static final int COMMENT_NODE = 8;
22774
22775 static final int DOCUMENT_FRAGMENT_NODE = 11;
22776
22777 static final int DOCUMENT_NODE = 9;
22778
22779 static final int DOCUMENT_POSITION_CONTAINED_BY = 0x10;
22780
22781 static final int DOCUMENT_POSITION_CONTAINS = 0x08;
22782
22783 static final int DOCUMENT_POSITION_DISCONNECTED = 0x01;
22784
22785 static final int DOCUMENT_POSITION_FOLLOWING = 0x04;
22786
22787 static final int DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = 0x20;
22788
22789 static final int DOCUMENT_POSITION_PRECEDING = 0x02;
22790
22791 static final int DOCUMENT_TYPE_NODE = 10;
22792
22793 static final int ELEMENT_NODE = 1;
22794
22795 static final int ENTITY_NODE = 6;
22796
22797 static final int ENTITY_REFERENCE_NODE = 5;
22798
22799 static final int NOTATION_NODE = 12;
22800
22801 static final int PROCESSING_INSTRUCTION_NODE = 7;
22802
22803 static final int TEXT_NODE = 3;
22804
22805 final Node nextSibling;
22806
22807 final Document ownerDocument;
22808
22809 final Node parentNode;
22810
22811 final Node previousSibling;
22812
22813 String textContent;
22814
22815 Node cloneNode(bool deep);
22816
22817 bool contains(Node other);
22818
22819 bool hasChildNodes();
22820
22821 Node insertBefore(Node newChild, Node refChild);
22822
22823 }
22824 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
22825 // for details. All rights reserved. Use of this source code is governed by a
22826 // BSD-style license that can be found in the LICENSE file.
22827
22828 // WARNING: Do not edit - generated code.
22829
22830 interface NodeFilter {
22831
22832 static final int FILTER_ACCEPT = 1;
22833
22834 static final int FILTER_REJECT = 2;
22835
22836 static final int FILTER_SKIP = 3;
22837
22838 static final int SHOW_ALL = 0xFFFFFFFF;
22839
22840 static final int SHOW_ATTRIBUTE = 0x00000002;
22841
22842 static final int SHOW_CDATA_SECTION = 0x00000008;
22843
22844 static final int SHOW_COMMENT = 0x00000080;
22845
22846 static final int SHOW_DOCUMENT = 0x00000100;
22847
22848 static final int SHOW_DOCUMENT_FRAGMENT = 0x00000400;
22849
22850 static final int SHOW_DOCUMENT_TYPE = 0x00000200;
22851
22852 static final int SHOW_ELEMENT = 0x00000001;
22853
22854 static final int SHOW_ENTITY = 0x00000020;
22855
22856 static final int SHOW_ENTITY_REFERENCE = 0x00000010;
22857
22858 static final int SHOW_NOTATION = 0x00000800;
22859
22860 static final int SHOW_PROCESSING_INSTRUCTION = 0x00000040;
22861
22862 static final int SHOW_TEXT = 0x00000004;
22863
22864 int acceptNode(Node n);
22865 }
22866 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
22867 // for details. All rights reserved. Use of this source code is governed by a
22868 // BSD-style license that can be found in the LICENSE file.
22869
22870 // WARNING: Do not edit - generated code.
22871
22872 interface NodeIterator {
22873
22874 final bool expandEntityReferences;
22875
22876 final NodeFilter filter;
22877
22878 final bool pointerBeforeReferenceNode;
22879
22880 final Node referenceNode;
22881
22882 final Node root;
22883
22884 final int whatToShow;
22885
22886 void detach();
22887
22888 Node nextNode();
22889
22890 Node previousNode();
22891 }
22892 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
22893 // for details. All rights reserved. Use of this source code is governed by a
22894 // BSD-style license that can be found in the LICENSE file.
22895
22896 // WARNING: Do not edit - generated code.
22897
22898 interface NodeList extends List<Node> {
22899
22900 NodeList filter(bool f(Node element));
22901
22902 NodeList getRange(int start, int length);
22903
22904 Node get first();
22905
22906
22907 final int length;
22908
22909 }
22910 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
22911 // for details. All rights reserved. Use of this source code is governed by a
22912 // BSD-style license that can be found in the LICENSE file.
22913
22914 // WARNING: Do not edit - generated code.
22915
22916 interface NodeSelector {
22917
22918 Element querySelector(String selectors);
22919
22920 NodeList querySelectorAll(String selectors);
22921 }
22922 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
22923 // for details. All rights reserved. Use of this source code is governed by a
22924 // BSD-style license that can be found in the LICENSE file.
22925
22926 // WARNING: Do not edit - generated code.
22927
22928 interface Notation extends Node {
22929
22930 final String publicId;
22931
22932 final String systemId;
22933 }
22934 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
22935 // for details. All rights reserved. Use of this source code is governed by a
22936 // BSD-style license that can be found in the LICENSE file.
22937
22938 // WARNING: Do not edit - generated code.
22939
22940 interface Notification extends EventTarget {
22941
22942 String dir;
22943
22944 String replaceId;
22945
22946 NotificationEvents get on();
22947
22948 void cancel();
22949
22950 void show();
22951 }
22952
22953 interface NotificationEvents extends Events {
22954
22955 EventListenerList get click();
22956
22957 EventListenerList get close();
22958
22959 EventListenerList get display();
22960
22961 EventListenerList get error();
22962
22963 EventListenerList get show();
22964 }
22965 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
22966 // for details. All rights reserved. Use of this source code is governed by a
22967 // BSD-style license that can be found in the LICENSE file.
22968
22969 // WARNING: Do not edit - generated code.
22970
22971 interface NotificationCenter {
22972
22973 int checkPermission();
22974
22975 Notification createHTMLNotification(String url);
22976
22977 Notification createNotification(String iconUrl, String title, String body);
22978
22979 void requestPermission(VoidCallback callback);
22980 }
22981 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
22982 // for details. All rights reserved. Use of this source code is governed by a
22983 // BSD-style license that can be found in the LICENSE file.
22984
22985 // WARNING: Do not edit - generated code.
22986
22987 interface OESStandardDerivatives {
22988
22989 static final int FRAGMENT_SHADER_DERIVATIVE_HINT_OES = 0x8B8B;
22990 }
22991 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
22992 // for details. All rights reserved. Use of this source code is governed by a
22993 // BSD-style license that can be found in the LICENSE file.
22994
22995 // WARNING: Do not edit - generated code.
22996
22997 interface OESTextureFloat {
22998 }
22999 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
23000 // for details. All rights reserved. Use of this source code is governed by a
23001 // BSD-style license that can be found in the LICENSE file.
23002
23003 // WARNING: Do not edit - generated code.
23004
23005 interface OESVertexArrayObject {
23006
23007 static final int VERTEX_ARRAY_BINDING_OES = 0x85B5;
23008
23009 void bindVertexArrayOES(WebGLVertexArrayObjectOES arrayObject);
23010
23011 WebGLVertexArrayObjectOES createVertexArrayOES();
23012
23013 void deleteVertexArrayOES(WebGLVertexArrayObjectOES arrayObject);
23014
23015 bool isVertexArrayOES(WebGLVertexArrayObjectOES arrayObject);
23016 }
23017 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
23018 // for details. All rights reserved. Use of this source code is governed by a
23019 // BSD-style license that can be found in the LICENSE file.
23020
23021 // WARNING: Do not edit - generated code.
23022
23023 interface OListElement extends Element {
23024
23025 bool compact;
23026
23027 bool reversed;
23028
23029 int start;
23030
23031 String type;
23032 }
23033 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
23034 // for details. All rights reserved. Use of this source code is governed by a
23035 // BSD-style license that can be found in the LICENSE file.
23036
23037 // WARNING: Do not edit - generated code.
23038
23039 interface ObjectElement extends Element {
23040
23041 String align;
23042
23043 String archive;
23044
23045 String border;
23046
23047 String code;
23048
23049 String codeBase;
23050
23051 String codeType;
23052
23053 final Document contentDocument;
23054
23055 String data;
23056
23057 bool declare;
23058
23059 final FormElement form;
23060
23061 String height;
23062
23063 int hspace;
23064
23065 String name;
23066
23067 String standby;
23068
23069 String type;
23070
23071 String useMap;
23072
23073 final String validationMessage;
23074
23075 final ValidityState validity;
23076
23077 int vspace;
23078
23079 String width;
23080
23081 final bool willValidate;
23082
23083 bool checkValidity();
23084
23085 void setCustomValidity(String error);
23086 }
23087 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
23088 // for details. All rights reserved. Use of this source code is governed by a
23089 // BSD-style license that can be found in the LICENSE file.
23090
23091 // WARNING: Do not edit - generated code.
23092
23093 interface OfflineAudioCompletionEvent extends Event {
23094
23095 final AudioBuffer renderedBuffer;
23096 }
23097 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
23098 // for details. All rights reserved. Use of this source code is governed by a
23099 // BSD-style license that can be found in the LICENSE file.
23100
23101 // WARNING: Do not edit - generated code.
23102
23103 interface OperationNotAllowedException {
23104
23105 static final int NOT_ALLOWED_ERR = 1;
23106
23107 final int code;
23108
23109 final String message;
23110
23111 final String name;
23112
23113 String toString();
23114 }
23115 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
23116 // for details. All rights reserved. Use of this source code is governed by a
23117 // BSD-style license that can be found in the LICENSE file.
23118
23119 // WARNING: Do not edit - generated code.
23120
23121 interface OptGroupElement extends Element {
23122
23123 bool disabled;
23124
23125 String label;
23126 }
23127 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
23128 // for details. All rights reserved. Use of this source code is governed by a
23129 // BSD-style license that can be found in the LICENSE file.
23130
23131 // WARNING: Do not edit - generated code.
23132
23133 interface OptionElement extends Element {
23134
23135 bool defaultSelected;
23136
23137 bool disabled;
23138
23139 final FormElement form;
23140
23141 final int index;
23142
23143 String label;
23144
23145 bool selected;
23146
23147 String text;
23148
23149 String value;
23150 }
23151 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
23152 // for details. All rights reserved. Use of this source code is governed by a
23153 // BSD-style license that can be found in the LICENSE file.
23154
23155 // WARNING: Do not edit - generated code.
23156
23157 interface OutputElement extends Element {
23158
23159 String defaultValue;
23160
23161 final FormElement form;
23162
23163 DOMSettableTokenList htmlFor;
23164
23165 final NodeList labels;
23166
23167 String name;
23168
23169 final String type;
23170
23171 final String validationMessage;
23172
23173 final ValidityState validity;
23174
23175 String value;
23176
23177 final bool willValidate;
23178
23179 bool checkValidity();
23180
23181 void setCustomValidity(String error);
23182 }
23183 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
23184 // for details. All rights reserved. Use of this source code is governed by a
23185 // BSD-style license that can be found in the LICENSE file.
23186
23187 // WARNING: Do not edit - generated code.
23188
23189 interface OverflowEvent extends Event {
23190
23191 static final int BOTH = 2;
23192
23193 static final int HORIZONTAL = 0;
23194
23195 static final int VERTICAL = 1;
23196
23197 final bool horizontalOverflow;
23198
23199 final int orient;
23200
23201 final bool verticalOverflow;
23202 }
23203 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
23204 // for details. All rights reserved. Use of this source code is governed by a
23205 // BSD-style license that can be found in the LICENSE file.
23206
23207 // WARNING: Do not edit - generated code.
23208
23209 interface PageTransitionEvent extends Event {
23210
23211 final bool persisted;
23212 }
23213 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
23214 // for details. All rights reserved. Use of this source code is governed by a
23215 // BSD-style license that can be found in the LICENSE file.
23216
23217 // WARNING: Do not edit - generated code.
23218
23219 interface ParagraphElement extends Element {
23220
23221 String align;
23222 }
23223 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
23224 // for details. All rights reserved. Use of this source code is governed by a
23225 // BSD-style license that can be found in the LICENSE file.
23226
23227 // WARNING: Do not edit - generated code.
23228
23229 interface ParamElement extends Element {
23230
23231 String name;
23232
23233 String type;
23234
23235 String value;
23236
23237 String valueType;
23238 }
23239 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
23240 // for details. All rights reserved. Use of this source code is governed by a
23241 // BSD-style license that can be found in the LICENSE file.
23242
23243 // WARNING: Do not edit - generated code.
23244
23245 interface Performance {
23246
23247 final MemoryInfo memory;
23248
23249 final PerformanceNavigation navigation;
23250
23251 final PerformanceTiming timing;
23252 }
23253 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
23254 // for details. All rights reserved. Use of this source code is governed by a
23255 // BSD-style license that can be found in the LICENSE file.
23256
23257 // WARNING: Do not edit - generated code.
23258
23259 interface PerformanceNavigation {
23260
23261 static final int TYPE_BACK_FORWARD = 2;
23262
23263 static final int TYPE_NAVIGATE = 0;
23264
23265 static final int TYPE_RELOAD = 1;
23266
23267 static final int TYPE_RESERVED = 255;
23268
23269 final int redirectCount;
23270
23271 final int type;
23272 }
23273 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
23274 // for details. All rights reserved. Use of this source code is governed by a
23275 // BSD-style license that can be found in the LICENSE file.
23276
23277 // WARNING: Do not edit - generated code.
23278
23279 interface PerformanceTiming {
23280
23281 final int connectEnd;
23282
23283 final int connectStart;
23284
23285 final int domComplete;
23286
23287 final int domContentLoadedEventEnd;
23288
23289 final int domContentLoadedEventStart;
23290
23291 final int domInteractive;
23292
23293 final int domLoading;
23294
23295 final int domainLookupEnd;
23296
23297 final int domainLookupStart;
23298
23299 final int fetchStart;
23300
23301 final int loadEventEnd;
23302
23303 final int loadEventStart;
23304
23305 final int navigationStart;
23306
23307 final int redirectEnd;
23308
23309 final int redirectStart;
23310
23311 final int requestStart;
23312
23313 final int responseEnd;
23314
23315 final int responseStart;
23316
23317 final int secureConnectionStart;
23318
23319 final int unloadEventEnd;
23320
23321 final int unloadEventStart;
23322 }
23323 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
23324 // for details. All rights reserved. Use of this source code is governed by a
23325 // BSD-style license that can be found in the LICENSE file.
23326
23327 // WARNING: Do not edit - generated code.
23328
23329 interface Point default _PointFactoryProvider {
23330
23331 Point(num x, num y);
23332
23333 num x;
23334
23335 num y;
23336 }
23337 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
23338 // for details. All rights reserved. Use of this source code is governed by a
23339 // BSD-style license that can be found in the LICENSE file.
23340
23341 // WARNING: Do not edit - generated code.
23342
23343 interface PopStateEvent extends Event {
23344
23345 final Object state;
23346 }
23347 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
23348 // for details. All rights reserved. Use of this source code is governed by a
23349 // BSD-style license that can be found in the LICENSE file.
23350
23351 // WARNING: Do not edit - generated code.
23352
23353 typedef bool PositionCallback(Geoposition position);
23354 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
23355 // for details. All rights reserved. Use of this source code is governed by a
23356 // BSD-style license that can be found in the LICENSE file.
23357
23358 // WARNING: Do not edit - generated code.
23359
23360 interface PositionError {
23361
23362 static final int PERMISSION_DENIED = 1;
23363
23364 static final int POSITION_UNAVAILABLE = 2;
23365
23366 static final int TIMEOUT = 3;
23367
23368 final int code;
23369
23370 final String message;
23371 }
23372 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
23373 // for details. All rights reserved. Use of this source code is governed by a
23374 // BSD-style license that can be found in the LICENSE file.
23375
23376 // WARNING: Do not edit - generated code.
23377
23378 typedef bool PositionErrorCallback(PositionError error);
23379 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
23380 // for details. All rights reserved. Use of this source code is governed by a
23381 // BSD-style license that can be found in the LICENSE file.
23382
23383 // WARNING: Do not edit - generated code.
23384
23385 interface PreElement extends Element {
23386
23387 int width;
23388
23389 bool wrap;
23390 }
23391 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
23392 // for details. All rights reserved. Use of this source code is governed by a
23393 // BSD-style license that can be found in the LICENSE file.
23394
23395 // WARNING: Do not edit - generated code.
23396
23397 interface ProcessingInstruction extends Node {
23398
23399 String data;
23400
23401 final StyleSheet sheet;
23402
23403 final String target;
23404 }
23405 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
23406 // for details. All rights reserved. Use of this source code is governed by a
23407 // BSD-style license that can be found in the LICENSE file.
23408
23409 // WARNING: Do not edit - generated code.
23410
23411 interface ProgressElement extends Element {
23412
23413 final FormElement form;
23414
23415 final NodeList labels;
23416
23417 num max;
23418
23419 final num position;
23420
23421 num value;
23422 }
23423 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
23424 // for details. All rights reserved. Use of this source code is governed by a
23425 // BSD-style license that can be found in the LICENSE file.
23426
23427 // WARNING: Do not edit - generated code.
23428
23429 interface ProgressEvent extends Event {
23430
23431 final bool lengthComputable;
23432
23433 final int loaded;
23434
23435 final int total;
23436 }
23437 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
23438 // for details. All rights reserved. Use of this source code is governed by a
23439 // BSD-style license that can be found in the LICENSE file.
23440
23441 // WARNING: Do not edit - generated code.
23442
23443 interface QuoteElement extends Element {
23444
23445 String cite;
23446 }
23447 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
23448 // for details. All rights reserved. Use of this source code is governed by a
23449 // BSD-style license that can be found in the LICENSE file.
23450
23451 // WARNING: Do not edit - generated code.
23452
23453 interface RGBColor {
23454
23455 final CSSPrimitiveValue blue;
23456
23457 final CSSPrimitiveValue green;
23458
23459 final CSSPrimitiveValue red;
23460 }
23461 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
23462 // for details. All rights reserved. Use of this source code is governed by a
23463 // BSD-style license that can be found in the LICENSE file.
23464
23465 // WARNING: Do not edit - generated code.
23466
23467 interface Range {
23468
23469 static final int END_TO_END = 2;
23470
23471 static final int END_TO_START = 3;
23472
23473 static final int NODE_AFTER = 1;
23474
23475 static final int NODE_BEFORE = 0;
23476
23477 static final int NODE_BEFORE_AND_AFTER = 2;
23478
23479 static final int NODE_INSIDE = 3;
23480
23481 static final int START_TO_END = 1;
23482
23483 static final int START_TO_START = 0;
23484
23485 final bool collapsed;
23486
23487 final Node commonAncestorContainer;
23488
23489 final Node endContainer;
23490
23491 final int endOffset;
23492
23493 final Node startContainer;
23494
23495 final int startOffset;
23496
23497 DocumentFragment cloneContents();
23498
23499 Range cloneRange();
23500
23501 void collapse(bool toStart);
23502
23503 int compareNode(Node refNode);
23504
23505 int comparePoint(Node refNode, int offset);
23506
23507 DocumentFragment createContextualFragment(String html);
23508
23509 void deleteContents();
23510
23511 void detach();
23512
23513 void expand(String unit);
23514
23515 DocumentFragment extractContents();
23516
23517 ClientRect getBoundingClientRect();
23518
23519 ClientRectList getClientRects();
23520
23521 void insertNode(Node newNode);
23522
23523 bool intersectsNode(Node refNode);
23524
23525 bool isPointInRange(Node refNode, int offset);
23526
23527 void selectNode(Node refNode);
23528
23529 void selectNodeContents(Node refNode);
23530
23531 void setEnd(Node refNode, int offset);
23532
23533 void setEndAfter(Node refNode);
23534
23535 void setEndBefore(Node refNode);
23536
23537 void setStart(Node refNode, int offset);
23538
23539 void setStartAfter(Node refNode);
23540
23541 void setStartBefore(Node refNode);
23542
23543 void surroundContents(Node newParent);
23544
23545 String toString();
23546 }
23547 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
23548 // for details. All rights reserved. Use of this source code is governed by a
23549 // BSD-style license that can be found in the LICENSE file.
23550
23551 // WARNING: Do not edit - generated code.
23552
23553 interface RangeException {
23554
23555 static final int BAD_BOUNDARYPOINTS_ERR = 1;
23556
23557 static final int INVALID_NODE_TYPE_ERR = 2;
23558
23559 final int code;
23560
23561 final String message;
23562
23563 final String name;
23564
23565 String toString();
23566 }
23567 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
23568 // for details. All rights reserved. Use of this source code is governed by a
23569 // BSD-style license that can be found in the LICENSE file.
23570
23571 // WARNING: Do not edit - generated code.
23572
23573 interface RealtimeAnalyserNode extends AudioNode {
23574
23575 int fftSize;
23576
23577 final int frequencyBinCount;
23578
23579 num maxDecibels;
23580
23581 num minDecibels;
23582
23583 num smoothingTimeConstant;
23584
23585 void getByteFrequencyData(Uint8Array array);
23586
23587 void getByteTimeDomainData(Uint8Array array);
23588
23589 void getFloatFrequencyData(Float32Array array);
23590 }
23591 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
23592 // for details. All rights reserved. Use of this source code is governed by a
23593 // BSD-style license that can be found in the LICENSE file.
23594
23595 // WARNING: Do not edit - generated code.
23596
23597 interface Rect {
23598
23599 final CSSPrimitiveValue bottom;
23600
23601 final CSSPrimitiveValue left;
23602
23603 final CSSPrimitiveValue right;
23604
23605 final CSSPrimitiveValue top;
23606 }
23607 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
23608 // for details. All rights reserved. Use of this source code is governed by a
23609 // BSD-style license that can be found in the LICENSE file.
23610
23611 // WARNING: Do not edit - generated code.
23612
23613 typedef bool RequestAnimationFrameCallback(int time);
23614 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
23615 // for details. All rights reserved. Use of this source code is governed by a
23616 // BSD-style license that can be found in the LICENSE file.
23617
23618 // WARNING: Do not edit - generated code.
23619
23620 interface SQLError {
23621
23622 static final int CONSTRAINT_ERR = 6;
23623
23624 static final int DATABASE_ERR = 1;
23625
23626 static final int QUOTA_ERR = 4;
23627
23628 static final int SYNTAX_ERR = 5;
23629
23630 static final int TIMEOUT_ERR = 7;
23631
23632 static final int TOO_LARGE_ERR = 3;
23633
23634 static final int UNKNOWN_ERR = 0;
23635
23636 static final int VERSION_ERR = 2;
23637
23638 final int code;
23639
23640 final String message;
23641 }
23642 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
23643 // for details. All rights reserved. Use of this source code is governed by a
23644 // BSD-style license that can be found in the LICENSE file.
23645
23646 // WARNING: Do not edit - generated code.
23647
23648 interface SQLException {
23649
23650 static final int CONSTRAINT_ERR = 6;
23651
23652 static final int DATABASE_ERR = 1;
23653
23654 static final int QUOTA_ERR = 4;
23655
23656 static final int SYNTAX_ERR = 5;
23657
23658 static final int TIMEOUT_ERR = 7;
23659
23660 static final int TOO_LARGE_ERR = 3;
23661
23662 static final int UNKNOWN_ERR = 0;
23663
23664 static final int VERSION_ERR = 2;
23665
23666 final int code;
23667
23668 final String message;
23669 }
23670 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
23671 // for details. All rights reserved. Use of this source code is governed by a
23672 // BSD-style license that can be found in the LICENSE file.
23673
23674 // WARNING: Do not edit - generated code.
23675
23676 interface SQLResultSet {
23677
23678 final int insertId;
23679
23680 final SQLResultSetRowList rows;
23681
23682 final int rowsAffected;
23683 }
23684 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
23685 // for details. All rights reserved. Use of this source code is governed by a
23686 // BSD-style license that can be found in the LICENSE file.
23687
23688 // WARNING: Do not edit - generated code.
23689
23690 interface SQLResultSetRowList {
23691
23692 final int length;
23693
23694 Object item(int index);
23695 }
23696 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
23697 // for details. All rights reserved. Use of this source code is governed by a
23698 // BSD-style license that can be found in the LICENSE file.
23699
23700 // WARNING: Do not edit - generated code.
23701
23702 typedef bool SQLStatementCallback(SQLTransaction transaction, SQLResultSet resul tSet);
23703 // Copyright (c) 2011, 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 typedef bool SQLStatementErrorCallback(SQLTransaction transaction, SQLError erro r);
23710 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
23711 // for details. All rights reserved. Use of this source code is governed by a
23712 // BSD-style license that can be found in the LICENSE file.
23713
23714 // WARNING: Do not edit - generated code.
23715
23716 interface SQLTransaction {
23717 }
23718 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
23719 // for details. All rights reserved. Use of this source code is governed by a
23720 // BSD-style license that can be found in the LICENSE file.
23721
23722 // WARNING: Do not edit - generated code.
23723
23724 typedef bool SQLTransactionCallback(SQLTransaction transaction);
23725 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
23726 // for details. All rights reserved. Use of this source code is governed by a
23727 // BSD-style license that can be found in the LICENSE file.
23728
23729 // WARNING: Do not edit - generated code.
23730
23731 typedef bool SQLTransactionErrorCallback(SQLError error);
23732 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
23733 // for details. All rights reserved. Use of this source code is governed by a
23734 // BSD-style license that can be found in the LICENSE file.
23735
23736 // WARNING: Do not edit - generated code.
23737
23738 interface SQLTransactionSync {
23739 }
23740 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
23741 // for details. All rights reserved. Use of this source code is governed by a
23742 // BSD-style license that can be found in the LICENSE file.
23743
23744 // WARNING: Do not edit - generated code.
23745
23746 typedef bool SQLTransactionSyncCallback(SQLTransactionSync transaction);
23747 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
23748 // for details. All rights reserved. Use of this source code is governed by a
23749 // BSD-style license that can be found in the LICENSE file.
23750
23751 // WARNING: Do not edit - generated code.
23752
23753 interface SVGAElement extends SVGElement, SVGURIReference, SVGTests, SVGLangSpac e, SVGExternalResourcesRequired, SVGStylable, SVGTransformable {
23754
23755 final SVGAnimatedString target;
23756 }
23757 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
23758 // for details. All rights reserved. Use of this source code is governed by a
23759 // BSD-style license that can be found in the LICENSE file.
23760
23761 // WARNING: Do not edit - generated code.
23762
23763 interface SVGAltGlyphDefElement extends SVGElement {
23764 }
23765 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
23766 // for details. All rights reserved. Use of this source code is governed by a
23767 // BSD-style license that can be found in the LICENSE file.
23768
23769 // WARNING: Do not edit - generated code.
23770
23771 interface SVGAltGlyphElement extends SVGTextPositioningElement, SVGURIReference {
23772
23773 String format;
23774
23775 String glyphRef;
23776 }
23777 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
23778 // for details. All rights reserved. Use of this source code is governed by a
23779 // BSD-style license that can be found in the LICENSE file.
23780
23781 // WARNING: Do not edit - generated code.
23782
23783 interface SVGAltGlyphItemElement extends SVGElement {
23784 }
23785 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
23786 // for details. All rights reserved. Use of this source code is governed by a
23787 // BSD-style license that can be found in the LICENSE file.
23788
23789 // WARNING: Do not edit - generated code.
23790
23791 interface SVGAngle {
23792
23793 static final int SVG_ANGLETYPE_DEG = 2;
23794
23795 static final int SVG_ANGLETYPE_GRAD = 4;
23796
23797 static final int SVG_ANGLETYPE_RAD = 3;
23798
23799 static final int SVG_ANGLETYPE_UNKNOWN = 0;
23800
23801 static final int SVG_ANGLETYPE_UNSPECIFIED = 1;
23802
23803 final int unitType;
23804
23805 num value;
23806
23807 String valueAsString;
23808
23809 num valueInSpecifiedUnits;
23810
23811 void convertToSpecifiedUnits(int unitType);
23812
23813 void newValueSpecifiedUnits(int unitType, num valueInSpecifiedUnits);
23814 }
23815 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
23816 // for details. All rights reserved. Use of this source code is governed by a
23817 // BSD-style license that can be found in the LICENSE file.
23818
23819 // WARNING: Do not edit - generated code.
23820
23821 interface SVGAnimateColorElement extends SVGAnimationElement {
23822 }
23823 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
23824 // for details. All rights reserved. Use of this source code is governed by a
23825 // BSD-style license that can be found in the LICENSE file.
23826
23827 // WARNING: Do not edit - generated code.
23828
23829 interface SVGAnimateElement extends SVGAnimationElement {
23830 }
23831 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
23832 // for details. All rights reserved. Use of this source code is governed by a
23833 // BSD-style license that can be found in the LICENSE file.
23834
23835 // WARNING: Do not edit - generated code.
23836
23837 interface SVGAnimateMotionElement extends SVGAnimationElement {
23838 }
23839 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
23840 // for details. All rights reserved. Use of this source code is governed by a
23841 // BSD-style license that can be found in the LICENSE file.
23842
23843 // WARNING: Do not edit - generated code.
23844
23845 interface SVGAnimateTransformElement extends SVGAnimationElement {
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 SVGAnimatedAngle {
23854
23855 final SVGAngle animVal;
23856
23857 final SVGAngle baseVal;
23858 }
23859 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
23860 // for details. All rights reserved. Use of this source code is governed by a
23861 // BSD-style license that can be found in the LICENSE file.
23862
23863 // WARNING: Do not edit - generated code.
23864
23865 interface SVGAnimatedBoolean {
23866
23867 final bool animVal;
23868
23869 bool baseVal;
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 SVGAnimatedEnumeration {
23878
23879 final int animVal;
23880
23881 int baseVal;
23882 }
23883 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
23884 // for details. All rights reserved. Use of this source code is governed by a
23885 // BSD-style license that can be found in the LICENSE file.
23886
23887 // WARNING: Do not edit - generated code.
23888
23889 interface SVGAnimatedInteger {
23890
23891 final int animVal;
23892
23893 int baseVal;
23894 }
23895 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
23896 // for details. All rights reserved. Use of this source code is governed by a
23897 // BSD-style license that can be found in the LICENSE file.
23898
23899 // WARNING: Do not edit - generated code.
23900
23901 interface SVGAnimatedLength {
23902
23903 final SVGLength animVal;
23904
23905 final SVGLength baseVal;
23906 }
23907 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
23908 // for details. All rights reserved. Use of this source code is governed by a
23909 // BSD-style license that can be found in the LICENSE file.
23910
23911 // WARNING: Do not edit - generated code.
23912
23913 interface SVGAnimatedLengthList {
23914
23915 final SVGLengthList animVal;
23916
23917 final SVGLengthList baseVal;
23918 }
23919 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
23920 // for details. All rights reserved. Use of this source code is governed by a
23921 // BSD-style license that can be found in the LICENSE file.
23922
23923 // WARNING: Do not edit - generated code.
23924
23925 interface SVGAnimatedNumber {
23926
23927 final num animVal;
23928
23929 num baseVal;
23930 }
23931 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
23932 // for details. All rights reserved. Use of this source code is governed by a
23933 // BSD-style license that can be found in the LICENSE file.
23934
23935 // WARNING: Do not edit - generated code.
23936
23937 interface SVGAnimatedNumberList {
23938
23939 final SVGNumberList animVal;
23940
23941 final SVGNumberList baseVal;
23942 }
23943 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
23944 // for details. All rights reserved. Use of this source code is governed by a
23945 // BSD-style license that can be found in the LICENSE file.
23946
23947 // WARNING: Do not edit - generated code.
23948
23949 interface SVGAnimatedPreserveAspectRatio {
23950
23951 final SVGPreserveAspectRatio animVal;
23952
23953 final SVGPreserveAspectRatio baseVal;
23954 }
23955 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
23956 // for details. All rights reserved. Use of this source code is governed by a
23957 // BSD-style license that can be found in the LICENSE file.
23958
23959 // WARNING: Do not edit - generated code.
23960
23961 interface SVGAnimatedRect {
23962
23963 final SVGRect animVal;
23964
23965 final SVGRect baseVal;
23966 }
23967 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
23968 // for details. All rights reserved. Use of this source code is governed by a
23969 // BSD-style license that can be found in the LICENSE file.
23970
23971 // WARNING: Do not edit - generated code.
23972
23973 interface SVGAnimatedString {
23974
23975 final String animVal;
23976
23977 String baseVal;
23978 }
23979 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
23980 // for details. All rights reserved. Use of this source code is governed by a
23981 // BSD-style license that can be found in the LICENSE file.
23982
23983 // WARNING: Do not edit - generated code.
23984
23985 interface SVGAnimatedTransformList {
23986
23987 final SVGTransformList animVal;
23988
23989 final SVGTransformList baseVal;
23990 }
23991 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
23992 // for details. All rights reserved. Use of this source code is governed by a
23993 // BSD-style license that can be found in the LICENSE file.
23994
23995 // WARNING: Do not edit - generated code.
23996
23997 interface SVGAnimationElement extends SVGElement, SVGTests, SVGExternalResources Required, ElementTimeControl {
23998
23999 final SVGElement targetElement;
24000
24001 num getCurrentTime();
24002
24003 num getSimpleDuration();
24004
24005 num getStartTime();
24006 }
24007 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
24008 // for details. All rights reserved. Use of this source code is governed by a
24009 // BSD-style license that can be found in the LICENSE file.
24010
24011 // WARNING: Do not edit - generated code.
24012
24013 interface SVGCircleElement extends SVGElement, SVGTests, SVGLangSpace, SVGExtern alResourcesRequired, SVGStylable, SVGTransformable {
24014
24015 final SVGAnimatedLength cx;
24016
24017 final SVGAnimatedLength cy;
24018
24019 final SVGAnimatedLength r;
24020 }
24021 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
24022 // for details. All rights reserved. Use of this source code is governed by a
24023 // BSD-style license that can be found in the LICENSE file.
24024
24025 // WARNING: Do not edit - generated code.
24026
24027 interface SVGClipPathElement extends SVGElement, SVGTests, SVGLangSpace, SVGExte rnalResourcesRequired, SVGStylable, SVGTransformable {
24028
24029 final SVGAnimatedEnumeration clipPathUnits;
24030 }
24031 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
24032 // for details. All rights reserved. Use of this source code is governed by a
24033 // BSD-style license that can be found in the LICENSE file.
24034
24035 // WARNING: Do not edit - generated code.
24036
24037 interface SVGColor extends CSSValue {
24038
24039 static final int SVG_COLORTYPE_CURRENTCOLOR = 3;
24040
24041 static final int SVG_COLORTYPE_RGBCOLOR = 1;
24042
24043 static final int SVG_COLORTYPE_RGBCOLOR_ICCCOLOR = 2;
24044
24045 static final int SVG_COLORTYPE_UNKNOWN = 0;
24046
24047 final int colorType;
24048
24049 final RGBColor rgbColor;
24050
24051 void setColor(int colorType, String rgbColor, String iccColor);
24052
24053 void setRGBColor(String rgbColor);
24054
24055 void setRGBColorICCColor(String rgbColor, String iccColor);
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 SVGComponentTransferFunctionElement extends SVGElement {
24064
24065 static final int SVG_FECOMPONENTTRANSFER_TYPE_DISCRETE = 3;
24066
24067 static final int SVG_FECOMPONENTTRANSFER_TYPE_GAMMA = 5;
24068
24069 static final int SVG_FECOMPONENTTRANSFER_TYPE_IDENTITY = 1;
24070
24071 static final int SVG_FECOMPONENTTRANSFER_TYPE_LINEAR = 4;
24072
24073 static final int SVG_FECOMPONENTTRANSFER_TYPE_TABLE = 2;
24074
24075 static final int SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN = 0;
24076
24077 final SVGAnimatedNumber amplitude;
24078
24079 final SVGAnimatedNumber exponent;
24080
24081 final SVGAnimatedNumber intercept;
24082
24083 final SVGAnimatedNumber offset;
24084
24085 final SVGAnimatedNumber slope;
24086
24087 final SVGAnimatedNumberList tableValues;
24088
24089 final SVGAnimatedEnumeration type;
24090 }
24091 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
24092 // for details. All rights reserved. Use of this source code is governed by a
24093 // BSD-style license that can be found in the LICENSE file.
24094
24095 // WARNING: Do not edit - generated code.
24096
24097 interface SVGCursorElement extends SVGElement, SVGURIReference, SVGTests, SVGExt ernalResourcesRequired {
24098
24099 final SVGAnimatedLength x;
24100
24101 final SVGAnimatedLength y;
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 SVGDefsElement extends SVGElement, SVGTests, SVGLangSpace, SVGExternal ResourcesRequired, SVGStylable, SVGTransformable {
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 SVGDescElement extends SVGElement, SVGLangSpace, SVGStylable {
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 SVGDocument extends Document {
24126
24127 final SVGSVGElement rootElement;
24128 }
24129 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
24130 // for details. All rights reserved. Use of this source code is governed by a
24131 // BSD-style license that can be found in the LICENSE file.
24132
24133 // WARNING: Do not edit - generated code.
24134
24135 interface SVGElement extends Element {
24136
24137 String id;
24138
24139 final SVGSVGElement ownerSVGElement;
24140
24141 final SVGElement viewportElement;
24142
24143 String xmlbase;
24144 }
24145 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
24146 // for details. All rights reserved. Use of this source code is governed by a
24147 // BSD-style license that can be found in the LICENSE file.
24148
24149 // WARNING: Do not edit - generated code.
24150
24151 interface SVGElementInstance extends EventTarget {
24152
24153 final SVGElementInstanceList childNodes;
24154
24155 final SVGElement correspondingElement;
24156
24157 final SVGUseElement correspondingUseElement;
24158
24159 final SVGElementInstance firstChild;
24160
24161 final SVGElementInstance lastChild;
24162
24163 final SVGElementInstance nextSibling;
24164
24165 final SVGElementInstance parentNode;
24166
24167 final SVGElementInstance previousSibling;
24168
24169 SVGElementInstanceEvents get on();
24170 }
24171
24172 interface SVGElementInstanceEvents extends Events {
24173
24174 EventListenerList get abort();
24175
24176 EventListenerList get beforeCopy();
24177
24178 EventListenerList get beforeCut();
24179
24180 EventListenerList get beforePaste();
24181
24182 EventListenerList get blur();
24183
24184 EventListenerList get change();
24185
24186 EventListenerList get click();
24187
24188 EventListenerList get contextMenu();
24189
24190 EventListenerList get copy();
24191
24192 EventListenerList get cut();
24193
24194 EventListenerList get doubleClick();
24195
24196 EventListenerList get drag();
24197
24198 EventListenerList get dragEnd();
24199
24200 EventListenerList get dragEnter();
24201
24202 EventListenerList get dragLeave();
24203
24204 EventListenerList get dragOver();
24205
24206 EventListenerList get dragStart();
24207
24208 EventListenerList get drop();
24209
24210 EventListenerList get error();
24211
24212 EventListenerList get focus();
24213
24214 EventListenerList get input();
24215
24216 EventListenerList get keyDown();
24217
24218 EventListenerList get keyPress();
24219
24220 EventListenerList get keyUp();
24221
24222 EventListenerList get load();
24223
24224 EventListenerList get mouseDown();
24225
24226 EventListenerList get mouseMove();
24227
24228 EventListenerList get mouseOut();
24229
24230 EventListenerList get mouseOver();
24231
24232 EventListenerList get mouseUp();
24233
24234 EventListenerList get mouseWheel();
24235
24236 EventListenerList get paste();
24237
24238 EventListenerList get reset();
24239
24240 EventListenerList get resize();
24241
24242 EventListenerList get scroll();
24243
24244 EventListenerList get search();
24245
24246 EventListenerList get select();
24247
24248 EventListenerList get selectStart();
24249
24250 EventListenerList get submit();
24251
24252 EventListenerList get unload();
24253 }
24254 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
24255 // for details. All rights reserved. Use of this source code is governed by a
24256 // BSD-style license that can be found in the LICENSE file.
24257
24258 // WARNING: Do not edit - generated code.
24259
24260 interface SVGElementInstanceList {
24261
24262 final int length;
24263
24264 SVGElementInstance item(int index);
24265 }
24266 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
24267 // for details. All rights reserved. Use of this source code is governed by a
24268 // BSD-style license that can be found in the LICENSE file.
24269
24270 // WARNING: Do not edit - generated code.
24271
24272 interface SVGEllipseElement extends SVGElement, SVGTests, SVGLangSpace, SVGExter nalResourcesRequired, SVGStylable, SVGTransformable {
24273
24274 final SVGAnimatedLength cx;
24275
24276 final SVGAnimatedLength cy;
24277
24278 final SVGAnimatedLength rx;
24279
24280 final SVGAnimatedLength ry;
24281 }
24282 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
24283 // for details. All rights reserved. Use of this source code is governed by a
24284 // BSD-style license that can be found in the LICENSE file.
24285
24286 // WARNING: Do not edit - generated code.
24287
24288 interface SVGException {
24289
24290 static final int SVG_INVALID_VALUE_ERR = 1;
24291
24292 static final int SVG_MATRIX_NOT_INVERTABLE = 2;
24293
24294 static final int SVG_WRONG_TYPE_ERR = 0;
24295
24296 final int code;
24297
24298 final String message;
24299
24300 final String name;
24301
24302 String toString();
24303 }
24304 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
24305 // for details. All rights reserved. Use of this source code is governed by a
24306 // BSD-style license that can be found in the LICENSE file.
24307
24308 // WARNING: Do not edit - generated code.
24309
24310 interface SVGExternalResourcesRequired {
24311
24312 final SVGAnimatedBoolean externalResourcesRequired;
24313 }
24314 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
24315 // for details. All rights reserved. Use of this source code is governed by a
24316 // BSD-style license that can be found in the LICENSE file.
24317
24318 // WARNING: Do not edit - generated code.
24319
24320 interface SVGFEBlendElement extends SVGElement, SVGFilterPrimitiveStandardAttrib utes {
24321
24322 static final int SVG_FEBLEND_MODE_DARKEN = 4;
24323
24324 static final int SVG_FEBLEND_MODE_LIGHTEN = 5;
24325
24326 static final int SVG_FEBLEND_MODE_MULTIPLY = 2;
24327
24328 static final int SVG_FEBLEND_MODE_NORMAL = 1;
24329
24330 static final int SVG_FEBLEND_MODE_SCREEN = 3;
24331
24332 static final int SVG_FEBLEND_MODE_UNKNOWN = 0;
24333
24334 final SVGAnimatedString in1;
24335
24336 final SVGAnimatedString in2;
24337
24338 final SVGAnimatedEnumeration mode;
24339 }
24340 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
24341 // for details. All rights reserved. Use of this source code is governed by a
24342 // BSD-style license that can be found in the LICENSE file.
24343
24344 // WARNING: Do not edit - generated code.
24345
24346 interface SVGFEColorMatrixElement extends SVGElement, SVGFilterPrimitiveStandard Attributes {
24347
24348 static final int SVG_FECOLORMATRIX_TYPE_HUEROTATE = 3;
24349
24350 static final int SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA = 4;
24351
24352 static final int SVG_FECOLORMATRIX_TYPE_MATRIX = 1;
24353
24354 static final int SVG_FECOLORMATRIX_TYPE_SATURATE = 2;
24355
24356 static final int SVG_FECOLORMATRIX_TYPE_UNKNOWN = 0;
24357
24358 final SVGAnimatedString in1;
24359
24360 final SVGAnimatedEnumeration type;
24361
24362 final SVGAnimatedNumberList values;
24363 }
24364 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
24365 // for details. All rights reserved. Use of this source code is governed by a
24366 // BSD-style license that can be found in the LICENSE file.
24367
24368 // WARNING: Do not edit - generated code.
24369
24370 interface SVGFEComponentTransferElement extends SVGElement, SVGFilterPrimitiveSt andardAttributes {
24371
24372 final SVGAnimatedString in1;
24373 }
24374 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
24375 // for details. All rights reserved. Use of this source code is governed by a
24376 // BSD-style license that can be found in the LICENSE file.
24377
24378 // WARNING: Do not edit - generated code.
24379
24380 interface SVGFECompositeElement extends SVGElement, SVGFilterPrimitiveStandardAt tributes {
24381
24382 static final int SVG_FECOMPOSITE_OPERATOR_ARITHMETIC = 6;
24383
24384 static final int SVG_FECOMPOSITE_OPERATOR_ATOP = 4;
24385
24386 static final int SVG_FECOMPOSITE_OPERATOR_IN = 2;
24387
24388 static final int SVG_FECOMPOSITE_OPERATOR_OUT = 3;
24389
24390 static final int SVG_FECOMPOSITE_OPERATOR_OVER = 1;
24391
24392 static final int SVG_FECOMPOSITE_OPERATOR_UNKNOWN = 0;
24393
24394 static final int SVG_FECOMPOSITE_OPERATOR_XOR = 5;
24395
24396 final SVGAnimatedString in1;
24397
24398 final SVGAnimatedString in2;
24399
24400 final SVGAnimatedNumber k1;
24401
24402 final SVGAnimatedNumber k2;
24403
24404 final SVGAnimatedNumber k3;
24405
24406 final SVGAnimatedNumber k4;
24407
24408 final SVGAnimatedEnumeration operator;
24409 }
24410 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
24411 // for details. All rights reserved. Use of this source code is governed by a
24412 // BSD-style license that can be found in the LICENSE file.
24413
24414 // WARNING: Do not edit - generated code.
24415
24416 interface SVGFEConvolveMatrixElement extends SVGElement, SVGFilterPrimitiveStand ardAttributes {
24417
24418 static final int SVG_EDGEMODE_DUPLICATE = 1;
24419
24420 static final int SVG_EDGEMODE_NONE = 3;
24421
24422 static final int SVG_EDGEMODE_UNKNOWN = 0;
24423
24424 static final int SVG_EDGEMODE_WRAP = 2;
24425
24426 final SVGAnimatedNumber bias;
24427
24428 final SVGAnimatedNumber divisor;
24429
24430 final SVGAnimatedEnumeration edgeMode;
24431
24432 final SVGAnimatedString in1;
24433
24434 final SVGAnimatedNumberList kernelMatrix;
24435
24436 final SVGAnimatedNumber kernelUnitLengthX;
24437
24438 final SVGAnimatedNumber kernelUnitLengthY;
24439
24440 final SVGAnimatedInteger orderX;
24441
24442 final SVGAnimatedInteger orderY;
24443
24444 final SVGAnimatedBoolean preserveAlpha;
24445
24446 final SVGAnimatedInteger targetX;
24447
24448 final SVGAnimatedInteger targetY;
24449 }
24450 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
24451 // for details. All rights reserved. Use of this source code is governed by a
24452 // BSD-style license that can be found in the LICENSE file.
24453
24454 // WARNING: Do not edit - generated code.
24455
24456 interface SVGFEDiffuseLightingElement extends SVGElement, SVGFilterPrimitiveStan dardAttributes {
24457
24458 final SVGAnimatedNumber diffuseConstant;
24459
24460 final SVGAnimatedString in1;
24461
24462 final SVGAnimatedNumber kernelUnitLengthX;
24463
24464 final SVGAnimatedNumber kernelUnitLengthY;
24465
24466 final SVGAnimatedNumber surfaceScale;
24467 }
24468 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
24469 // for details. All rights reserved. Use of this source code is governed by a
24470 // BSD-style license that can be found in the LICENSE file.
24471
24472 // WARNING: Do not edit - generated code.
24473
24474 interface SVGFEDisplacementMapElement extends SVGElement, SVGFilterPrimitiveStan dardAttributes {
24475
24476 static final int SVG_CHANNEL_A = 4;
24477
24478 static final int SVG_CHANNEL_B = 3;
24479
24480 static final int SVG_CHANNEL_G = 2;
24481
24482 static final int SVG_CHANNEL_R = 1;
24483
24484 static final int SVG_CHANNEL_UNKNOWN = 0;
24485
24486 final SVGAnimatedString in1;
24487
24488 final SVGAnimatedString in2;
24489
24490 final SVGAnimatedNumber scale;
24491
24492 final SVGAnimatedEnumeration xChannelSelector;
24493
24494 final SVGAnimatedEnumeration yChannelSelector;
24495 }
24496 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
24497 // for details. All rights reserved. Use of this source code is governed by a
24498 // BSD-style license that can be found in the LICENSE file.
24499
24500 // WARNING: Do not edit - generated code.
24501
24502 interface SVGFEDistantLightElement extends SVGElement {
24503
24504 final SVGAnimatedNumber azimuth;
24505
24506 final SVGAnimatedNumber elevation;
24507 }
24508 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
24509 // for details. All rights reserved. Use of this source code is governed by a
24510 // BSD-style license that can be found in the LICENSE file.
24511
24512 // WARNING: Do not edit - generated code.
24513
24514 interface SVGFEDropShadowElement extends SVGElement, SVGFilterPrimitiveStandardA ttributes {
24515
24516 final SVGAnimatedNumber dx;
24517
24518 final SVGAnimatedNumber dy;
24519
24520 final SVGAnimatedString in1;
24521
24522 final SVGAnimatedNumber stdDeviationX;
24523
24524 final SVGAnimatedNumber stdDeviationY;
24525
24526 void setStdDeviation(num stdDeviationX, num stdDeviationY);
24527 }
24528 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
24529 // for details. All rights reserved. Use of this source code is governed by a
24530 // BSD-style license that can be found in the LICENSE file.
24531
24532 // WARNING: Do not edit - generated code.
24533
24534 interface SVGFEFloodElement extends SVGElement, SVGFilterPrimitiveStandardAttrib utes {
24535 }
24536 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
24537 // for details. All rights reserved. Use of this source code is governed by a
24538 // BSD-style license that can be found in the LICENSE file.
24539
24540 // WARNING: Do not edit - generated code.
24541
24542 interface SVGFEFuncAElement extends SVGComponentTransferFunctionElement {
24543 }
24544 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
24545 // for details. All rights reserved. Use of this source code is governed by a
24546 // BSD-style license that can be found in the LICENSE file.
24547
24548 // WARNING: Do not edit - generated code.
24549
24550 interface SVGFEFuncBElement extends SVGComponentTransferFunctionElement {
24551 }
24552 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
24553 // for details. All rights reserved. Use of this source code is governed by a
24554 // BSD-style license that can be found in the LICENSE file.
24555
24556 // WARNING: Do not edit - generated code.
24557
24558 interface SVGFEFuncGElement extends SVGComponentTransferFunctionElement {
24559 }
24560 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
24561 // for details. All rights reserved. Use of this source code is governed by a
24562 // BSD-style license that can be found in the LICENSE file.
24563
24564 // WARNING: Do not edit - generated code.
24565
24566 interface SVGFEFuncRElement extends SVGComponentTransferFunctionElement {
24567 }
24568 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
24569 // for details. All rights reserved. Use of this source code is governed by a
24570 // BSD-style license that can be found in the LICENSE file.
24571
24572 // WARNING: Do not edit - generated code.
24573
24574 interface SVGFEGaussianBlurElement extends SVGElement, SVGFilterPrimitiveStandar dAttributes {
24575
24576 final SVGAnimatedString in1;
24577
24578 final SVGAnimatedNumber stdDeviationX;
24579
24580 final SVGAnimatedNumber stdDeviationY;
24581
24582 void setStdDeviation(num stdDeviationX, num stdDeviationY);
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 SVGFEImageElement extends SVGElement, SVGURIReference, SVGLangSpace, S VGExternalResourcesRequired, SVGFilterPrimitiveStandardAttributes {
24591
24592 final SVGAnimatedPreserveAspectRatio preserveAspectRatio;
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 SVGFEMergeElement extends SVGElement, SVGFilterPrimitiveStandardAttrib utes {
24601 }
24602 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
24603 // for details. All rights reserved. Use of this source code is governed by a
24604 // BSD-style license that can be found in the LICENSE file.
24605
24606 // WARNING: Do not edit - generated code.
24607
24608 interface SVGFEMergeNodeElement extends SVGElement {
24609
24610 final SVGAnimatedString in1;
24611 }
24612 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
24613 // for details. All rights reserved. Use of this source code is governed by a
24614 // BSD-style license that can be found in the LICENSE file.
24615
24616 // WARNING: Do not edit - generated code.
24617
24618 interface SVGFEMorphologyElement extends SVGElement, SVGFilterPrimitiveStandardA ttributes {
24619
24620 static final int SVG_MORPHOLOGY_OPERATOR_DILATE = 2;
24621
24622 static final int SVG_MORPHOLOGY_OPERATOR_ERODE = 1;
24623
24624 static final int SVG_MORPHOLOGY_OPERATOR_UNKNOWN = 0;
24625
24626 final SVGAnimatedString in1;
24627
24628 final SVGAnimatedEnumeration operator;
24629
24630 final SVGAnimatedNumber radiusX;
24631
24632 final SVGAnimatedNumber radiusY;
24633
24634 void setRadius(num radiusX, num radiusY);
24635 }
24636 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
24637 // for details. All rights reserved. Use of this source code is governed by a
24638 // BSD-style license that can be found in the LICENSE file.
24639
24640 // WARNING: Do not edit - generated code.
24641
24642 interface SVGFEOffsetElement extends SVGElement, SVGFilterPrimitiveStandardAttri butes {
24643
24644 final SVGAnimatedNumber dx;
24645
24646 final SVGAnimatedNumber dy;
24647
24648 final SVGAnimatedString in1;
24649 }
24650 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
24651 // for details. All rights reserved. Use of this source code is governed by a
24652 // BSD-style license that can be found in the LICENSE file.
24653
24654 // WARNING: Do not edit - generated code.
24655
24656 interface SVGFEPointLightElement extends SVGElement {
24657
24658 final SVGAnimatedNumber x;
24659
24660 final SVGAnimatedNumber y;
24661
24662 final SVGAnimatedNumber z;
24663 }
24664 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
24665 // for details. All rights reserved. Use of this source code is governed by a
24666 // BSD-style license that can be found in the LICENSE file.
24667
24668 // WARNING: Do not edit - generated code.
24669
24670 interface SVGFESpecularLightingElement extends SVGElement, SVGFilterPrimitiveSta ndardAttributes {
24671
24672 final SVGAnimatedString in1;
24673
24674 final SVGAnimatedNumber specularConstant;
24675
24676 final SVGAnimatedNumber specularExponent;
24677
24678 final SVGAnimatedNumber surfaceScale;
24679 }
24680 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
24681 // for details. All rights reserved. Use of this source code is governed by a
24682 // BSD-style license that can be found in the LICENSE file.
24683
24684 // WARNING: Do not edit - generated code.
24685
24686 interface SVGFESpotLightElement extends SVGElement {
24687
24688 final SVGAnimatedNumber limitingConeAngle;
24689
24690 final SVGAnimatedNumber pointsAtX;
24691
24692 final SVGAnimatedNumber pointsAtY;
24693
24694 final SVGAnimatedNumber pointsAtZ;
24695
24696 final SVGAnimatedNumber specularExponent;
24697
24698 final SVGAnimatedNumber x;
24699
24700 final SVGAnimatedNumber y;
24701
24702 final SVGAnimatedNumber z;
24703 }
24704 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
24705 // for details. All rights reserved. Use of this source code is governed by a
24706 // BSD-style license that can be found in the LICENSE file.
24707
24708 // WARNING: Do not edit - generated code.
24709
24710 interface SVGFETileElement extends SVGElement, SVGFilterPrimitiveStandardAttribu tes {
24711
24712 final SVGAnimatedString in1;
24713 }
24714 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
24715 // for details. All rights reserved. Use of this source code is governed by a
24716 // BSD-style license that can be found in the LICENSE file.
24717
24718 // WARNING: Do not edit - generated code.
24719
24720 interface SVGFETurbulenceElement extends SVGElement, SVGFilterPrimitiveStandardA ttributes {
24721
24722 static final int SVG_STITCHTYPE_NOSTITCH = 2;
24723
24724 static final int SVG_STITCHTYPE_STITCH = 1;
24725
24726 static final int SVG_STITCHTYPE_UNKNOWN = 0;
24727
24728 static final int SVG_TURBULENCE_TYPE_FRACTALNOISE = 1;
24729
24730 static final int SVG_TURBULENCE_TYPE_TURBULENCE = 2;
24731
24732 static final int SVG_TURBULENCE_TYPE_UNKNOWN = 0;
24733
24734 final SVGAnimatedNumber baseFrequencyX;
24735
24736 final SVGAnimatedNumber baseFrequencyY;
24737
24738 final SVGAnimatedInteger numOctaves;
24739
24740 final SVGAnimatedNumber seed;
24741
24742 final SVGAnimatedEnumeration stitchTiles;
24743
24744 final SVGAnimatedEnumeration type;
24745 }
24746 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
24747 // for details. All rights reserved. Use of this source code is governed by a
24748 // BSD-style license that can be found in the LICENSE file.
24749
24750 // WARNING: Do not edit - generated code.
24751
24752 interface SVGFilterElement extends SVGElement, SVGURIReference, SVGLangSpace, SV GExternalResourcesRequired, SVGStylable {
24753
24754 final SVGAnimatedInteger filterResX;
24755
24756 final SVGAnimatedInteger filterResY;
24757
24758 final SVGAnimatedEnumeration filterUnits;
24759
24760 final SVGAnimatedLength height;
24761
24762 final SVGAnimatedEnumeration primitiveUnits;
24763
24764 final SVGAnimatedLength width;
24765
24766 final SVGAnimatedLength x;
24767
24768 final SVGAnimatedLength y;
24769
24770 void setFilterRes(int filterResX, int filterResY);
24771 }
24772 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
24773 // for details. All rights reserved. Use of this source code is governed by a
24774 // BSD-style license that can be found in the LICENSE file.
24775
24776 // WARNING: Do not edit - generated code.
24777
24778 interface SVGFilterPrimitiveStandardAttributes extends SVGStylable {
24779
24780 final SVGAnimatedLength height;
24781
24782 final SVGAnimatedString result;
24783
24784 final SVGAnimatedLength width;
24785
24786 final SVGAnimatedLength x;
24787
24788 final SVGAnimatedLength y;
24789 }
24790 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
24791 // for details. All rights reserved. Use of this source code is governed by a
24792 // BSD-style license that can be found in the LICENSE file.
24793
24794 // WARNING: Do not edit - generated code.
24795
24796 interface SVGFitToViewBox {
24797
24798 final SVGAnimatedPreserveAspectRatio preserveAspectRatio;
24799
24800 final SVGAnimatedRect viewBox;
24801 }
24802 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
24803 // for details. All rights reserved. Use of this source code is governed by a
24804 // BSD-style license that can be found in the LICENSE file.
24805
24806 // WARNING: Do not edit - generated code.
24807
24808 interface SVGFontElement extends SVGElement {
24809 }
24810 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
24811 // for details. All rights reserved. Use of this source code is governed by a
24812 // BSD-style license that can be found in the LICENSE file.
24813
24814 // WARNING: Do not edit - generated code.
24815
24816 interface SVGFontFaceElement extends SVGElement {
24817 }
24818 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
24819 // for details. All rights reserved. Use of this source code is governed by a
24820 // BSD-style license that can be found in the LICENSE file.
24821
24822 // WARNING: Do not edit - generated code.
24823
24824 interface SVGFontFaceFormatElement extends SVGElement {
24825 }
24826 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
24827 // for details. All rights reserved. Use of this source code is governed by a
24828 // BSD-style license that can be found in the LICENSE file.
24829
24830 // WARNING: Do not edit - generated code.
24831
24832 interface SVGFontFaceNameElement extends SVGElement {
24833 }
24834 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
24835 // for details. All rights reserved. Use of this source code is governed by a
24836 // BSD-style license that can be found in the LICENSE file.
24837
24838 // WARNING: Do not edit - generated code.
24839
24840 interface SVGFontFaceSrcElement extends SVGElement {
24841 }
24842 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
24843 // for details. All rights reserved. Use of this source code is governed by a
24844 // BSD-style license that can be found in the LICENSE file.
24845
24846 // WARNING: Do not edit - generated code.
24847
24848 interface SVGFontFaceUriElement extends SVGElement {
24849 }
24850 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
24851 // for details. All rights reserved. Use of this source code is governed by a
24852 // BSD-style license that can be found in the LICENSE file.
24853
24854 // WARNING: Do not edit - generated code.
24855
24856 interface SVGForeignObjectElement extends SVGElement, SVGTests, SVGLangSpace, SV GExternalResourcesRequired, SVGStylable, SVGTransformable {
24857
24858 final SVGAnimatedLength height;
24859
24860 final SVGAnimatedLength width;
24861
24862 final SVGAnimatedLength x;
24863
24864 final SVGAnimatedLength y;
24865 }
24866 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
24867 // for details. All rights reserved. Use of this source code is governed by a
24868 // BSD-style license that can be found in the LICENSE file.
24869
24870 // WARNING: Do not edit - generated code.
24871
24872 interface SVGGElement extends SVGElement, SVGTests, SVGLangSpace, SVGExternalRes ourcesRequired, SVGStylable, SVGTransformable {
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 SVGGlyphElement extends SVGElement {
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 SVGGlyphRefElement extends SVGElement, SVGURIReference, SVGStylable {
24889
24890 num dx;
24891
24892 num dy;
24893
24894 String format;
24895
24896 String glyphRef;
24897
24898 num x;
24899
24900 num y;
24901 }
24902 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
24903 // for details. All rights reserved. Use of this source code is governed by a
24904 // BSD-style license that can be found in the LICENSE file.
24905
24906 // WARNING: Do not edit - generated code.
24907
24908 interface SVGGradientElement extends SVGElement, SVGURIReference, SVGExternalRes ourcesRequired, SVGStylable {
24909
24910 static final int SVG_SPREADMETHOD_PAD = 1;
24911
24912 static final int SVG_SPREADMETHOD_REFLECT = 2;
24913
24914 static final int SVG_SPREADMETHOD_REPEAT = 3;
24915
24916 static final int SVG_SPREADMETHOD_UNKNOWN = 0;
24917
24918 final SVGAnimatedTransformList gradientTransform;
24919
24920 final SVGAnimatedEnumeration gradientUnits;
24921
24922 final SVGAnimatedEnumeration spreadMethod;
24923 }
24924 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
24925 // for details. All rights reserved. Use of this source code is governed by a
24926 // BSD-style license that can be found in the LICENSE file.
24927
24928 // WARNING: Do not edit - generated code.
24929
24930 interface SVGHKernElement extends SVGElement {
24931 }
24932 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
24933 // for details. All rights reserved. Use of this source code is governed by a
24934 // BSD-style license that can be found in the LICENSE file.
24935
24936 // WARNING: Do not edit - generated code.
24937
24938 interface SVGImageElement extends SVGElement, SVGURIReference, SVGTests, SVGLang Space, SVGExternalResourcesRequired, SVGStylable, SVGTransformable {
24939
24940 final SVGAnimatedLength height;
24941
24942 final SVGAnimatedPreserveAspectRatio preserveAspectRatio;
24943
24944 final SVGAnimatedLength width;
24945
24946 final SVGAnimatedLength x;
24947
24948 final SVGAnimatedLength y;
24949 }
24950 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
24951 // for details. All rights reserved. Use of this source code is governed by a
24952 // BSD-style license that can be found in the LICENSE file.
24953
24954 // WARNING: Do not edit - generated code.
24955
24956 interface SVGLangSpace {
24957
24958 String xmllang;
24959
24960 String xmlspace;
24961 }
24962 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
24963 // for details. All rights reserved. Use of this source code is governed by a
24964 // BSD-style license that can be found in the LICENSE file.
24965
24966 // WARNING: Do not edit - generated code.
24967
24968 interface SVGLength {
24969
24970 static final int SVG_LENGTHTYPE_CM = 6;
24971
24972 static final int SVG_LENGTHTYPE_EMS = 3;
24973
24974 static final int SVG_LENGTHTYPE_EXS = 4;
24975
24976 static final int SVG_LENGTHTYPE_IN = 8;
24977
24978 static final int SVG_LENGTHTYPE_MM = 7;
24979
24980 static final int SVG_LENGTHTYPE_NUMBER = 1;
24981
24982 static final int SVG_LENGTHTYPE_PC = 10;
24983
24984 static final int SVG_LENGTHTYPE_PERCENTAGE = 2;
24985
24986 static final int SVG_LENGTHTYPE_PT = 9;
24987
24988 static final int SVG_LENGTHTYPE_PX = 5;
24989
24990 static final int SVG_LENGTHTYPE_UNKNOWN = 0;
24991
24992 final int unitType;
24993
24994 num value;
24995
24996 String valueAsString;
24997
24998 num valueInSpecifiedUnits;
24999
25000 void convertToSpecifiedUnits(int unitType);
25001
25002 void newValueSpecifiedUnits(int unitType, num valueInSpecifiedUnits);
25003 }
25004 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
25005 // for details. All rights reserved. Use of this source code is governed by a
25006 // BSD-style license that can be found in the LICENSE file.
25007
25008 // WARNING: Do not edit - generated code.
25009
25010 interface SVGLengthList {
25011
25012 final int numberOfItems;
25013
25014 SVGLength appendItem(SVGLength item);
25015
25016 void clear();
25017
25018 SVGLength getItem(int index);
25019
25020 SVGLength initialize(SVGLength item);
25021
25022 SVGLength insertItemBefore(SVGLength item, int index);
25023
25024 SVGLength removeItem(int index);
25025
25026 SVGLength replaceItem(SVGLength item, int index);
25027 }
25028 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
25029 // for details. All rights reserved. Use of this source code is governed by a
25030 // BSD-style license that can be found in the LICENSE file.
25031
25032 // WARNING: Do not edit - generated code.
25033
25034 interface SVGLineElement extends SVGElement, SVGTests, SVGLangSpace, SVGExternal ResourcesRequired, SVGStylable, SVGTransformable {
25035
25036 final SVGAnimatedLength x1;
25037
25038 final SVGAnimatedLength x2;
25039
25040 final SVGAnimatedLength y1;
25041
25042 final SVGAnimatedLength y2;
25043 }
25044 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
25045 // for details. All rights reserved. Use of this source code is governed by a
25046 // BSD-style license that can be found in the LICENSE file.
25047
25048 // WARNING: Do not edit - generated code.
25049
25050 interface SVGLinearGradientElement extends SVGGradientElement {
25051
25052 final SVGAnimatedLength x1;
25053
25054 final SVGAnimatedLength x2;
25055
25056 final SVGAnimatedLength y1;
25057
25058 final SVGAnimatedLength y2;
25059 }
25060 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
25061 // for details. All rights reserved. Use of this source code is governed by a
25062 // BSD-style license that can be found in the LICENSE file.
25063
25064 // WARNING: Do not edit - generated code.
25065
25066 interface SVGLocatable {
25067
25068 final SVGElement farthestViewportElement;
25069
25070 final SVGElement nearestViewportElement;
25071
25072 SVGRect getBBox();
25073
25074 SVGMatrix getCTM();
25075
25076 SVGMatrix getScreenCTM();
25077
25078 SVGMatrix getTransformToElement(SVGElement element);
25079 }
25080 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
25081 // for details. All rights reserved. Use of this source code is governed by a
25082 // BSD-style license that can be found in the LICENSE file.
25083
25084 // WARNING: Do not edit - generated code.
25085
25086 interface SVGMPathElement extends SVGElement, SVGURIReference, SVGExternalResour cesRequired {
25087 }
25088 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
25089 // for details. All rights reserved. Use of this source code is governed by a
25090 // BSD-style license that can be found in the LICENSE file.
25091
25092 // WARNING: Do not edit - generated code.
25093
25094 interface SVGMarkerElement extends SVGElement, SVGLangSpace, SVGExternalResource sRequired, SVGStylable, SVGFitToViewBox {
25095
25096 static final int SVG_MARKERUNITS_STROKEWIDTH = 2;
25097
25098 static final int SVG_MARKERUNITS_UNKNOWN = 0;
25099
25100 static final int SVG_MARKERUNITS_USERSPACEONUSE = 1;
25101
25102 static final int SVG_MARKER_ORIENT_ANGLE = 2;
25103
25104 static final int SVG_MARKER_ORIENT_AUTO = 1;
25105
25106 static final int SVG_MARKER_ORIENT_UNKNOWN = 0;
25107
25108 final SVGAnimatedLength markerHeight;
25109
25110 final SVGAnimatedEnumeration markerUnits;
25111
25112 final SVGAnimatedLength markerWidth;
25113
25114 final SVGAnimatedAngle orientAngle;
25115
25116 final SVGAnimatedEnumeration orientType;
25117
25118 final SVGAnimatedLength refX;
25119
25120 final SVGAnimatedLength refY;
25121
25122 void setOrientToAngle(SVGAngle angle);
25123
25124 void setOrientToAuto();
25125 }
25126 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
25127 // for details. All rights reserved. Use of this source code is governed by a
25128 // BSD-style license that can be found in the LICENSE file.
25129
25130 // WARNING: Do not edit - generated code.
25131
25132 interface SVGMaskElement extends SVGElement, SVGTests, SVGLangSpace, SVGExternal ResourcesRequired, SVGStylable {
25133
25134 final SVGAnimatedLength height;
25135
25136 final SVGAnimatedEnumeration maskContentUnits;
25137
25138 final SVGAnimatedEnumeration maskUnits;
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 SVGMatrix {
25153
25154 num a;
25155
25156 num b;
25157
25158 num c;
25159
25160 num d;
25161
25162 num e;
25163
25164 num f;
25165
25166 SVGMatrix flipX();
25167
25168 SVGMatrix flipY();
25169
25170 SVGMatrix inverse();
25171
25172 SVGMatrix multiply(SVGMatrix secondMatrix);
25173
25174 SVGMatrix rotate(num angle);
25175
25176 SVGMatrix rotateFromVector(num x, num y);
25177
25178 SVGMatrix scale(num scaleFactor);
25179
25180 SVGMatrix scaleNonUniform(num scaleFactorX, num scaleFactorY);
25181
25182 SVGMatrix skewX(num angle);
25183
25184 SVGMatrix skewY(num angle);
25185
25186 SVGMatrix translate(num x, num y);
25187 }
25188 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
25189 // for details. All rights reserved. Use of this source code is governed by a
25190 // BSD-style license that can be found in the LICENSE file.
25191
25192 // WARNING: Do not edit - generated code.
25193
25194 interface SVGMetadataElement extends SVGElement {
25195 }
25196 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
25197 // for details. All rights reserved. Use of this source code is governed by a
25198 // BSD-style license that can be found in the LICENSE file.
25199
25200 // WARNING: Do not edit - generated code.
25201
25202 interface SVGMissingGlyphElement extends SVGElement {
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 SVGNumber {
25211
25212 num value;
25213 }
25214 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
25215 // for details. All rights reserved. Use of this source code is governed by a
25216 // BSD-style license that can be found in the LICENSE file.
25217
25218 // WARNING: Do not edit - generated code.
25219
25220 interface SVGNumberList {
25221
25222 final int numberOfItems;
25223
25224 SVGNumber appendItem(SVGNumber item);
25225
25226 void clear();
25227
25228 SVGNumber getItem(int index);
25229
25230 SVGNumber initialize(SVGNumber item);
25231
25232 SVGNumber insertItemBefore(SVGNumber item, int index);
25233
25234 SVGNumber removeItem(int index);
25235
25236 SVGNumber replaceItem(SVGNumber item, int index);
25237 }
25238 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
25239 // for details. All rights reserved. Use of this source code is governed by a
25240 // BSD-style license that can be found in the LICENSE file.
25241
25242 // WARNING: Do not edit - generated code.
25243
25244 interface SVGPaint extends SVGColor {
25245
25246 static final int SVG_PAINTTYPE_CURRENTCOLOR = 102;
25247
25248 static final int SVG_PAINTTYPE_NONE = 101;
25249
25250 static final int SVG_PAINTTYPE_RGBCOLOR = 1;
25251
25252 static final int SVG_PAINTTYPE_RGBCOLOR_ICCCOLOR = 2;
25253
25254 static final int SVG_PAINTTYPE_UNKNOWN = 0;
25255
25256 static final int SVG_PAINTTYPE_URI = 107;
25257
25258 static final int SVG_PAINTTYPE_URI_CURRENTCOLOR = 104;
25259
25260 static final int SVG_PAINTTYPE_URI_NONE = 103;
25261
25262 static final int SVG_PAINTTYPE_URI_RGBCOLOR = 105;
25263
25264 static final int SVG_PAINTTYPE_URI_RGBCOLOR_ICCCOLOR = 106;
25265
25266 final int paintType;
25267
25268 final String uri;
25269
25270 void setPaint(int paintType, String uri, String rgbColor, String iccColor);
25271
25272 void setUri(String uri);
25273 }
25274 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
25275 // for details. All rights reserved. Use of this source code is governed by a
25276 // BSD-style license that can be found in the LICENSE file.
25277
25278 // WARNING: Do not edit - generated code.
25279
25280 interface SVGPathElement extends SVGElement, SVGTests, SVGLangSpace, SVGExternal ResourcesRequired, SVGStylable, SVGTransformable {
25281
25282 final SVGPathSegList animatedNormalizedPathSegList;
25283
25284 final SVGPathSegList animatedPathSegList;
25285
25286 final SVGPathSegList normalizedPathSegList;
25287
25288 final SVGAnimatedNumber pathLength;
25289
25290 final SVGPathSegList pathSegList;
25291
25292 SVGPathSegArcAbs createSVGPathSegArcAbs(num x, num y, num r1, num r2, num angl e, bool largeArcFlag, bool sweepFlag);
25293
25294 SVGPathSegArcRel createSVGPathSegArcRel(num x, num y, num r1, num r2, num angl e, bool largeArcFlag, bool sweepFlag);
25295
25296 SVGPathSegClosePath createSVGPathSegClosePath();
25297
25298 SVGPathSegCurvetoCubicAbs createSVGPathSegCurvetoCubicAbs(num x, num y, num x1 , num y1, num x2, num y2);
25299
25300 SVGPathSegCurvetoCubicRel createSVGPathSegCurvetoCubicRel(num x, num y, num x1 , num y1, num x2, num y2);
25301
25302 SVGPathSegCurvetoCubicSmoothAbs createSVGPathSegCurvetoCubicSmoothAbs(num x, n um y, num x2, num y2);
25303
25304 SVGPathSegCurvetoCubicSmoothRel createSVGPathSegCurvetoCubicSmoothRel(num x, n um y, num x2, num y2);
25305
25306 SVGPathSegCurvetoQuadraticAbs createSVGPathSegCurvetoQuadraticAbs(num x, num y , num x1, num y1);
25307
25308 SVGPathSegCurvetoQuadraticRel createSVGPathSegCurvetoQuadraticRel(num x, num y , num x1, num y1);
25309
25310 SVGPathSegCurvetoQuadraticSmoothAbs createSVGPathSegCurvetoQuadraticSmoothAbs( num x, num y);
25311
25312 SVGPathSegCurvetoQuadraticSmoothRel createSVGPathSegCurvetoQuadraticSmoothRel( num x, num y);
25313
25314 SVGPathSegLinetoAbs createSVGPathSegLinetoAbs(num x, num y);
25315
25316 SVGPathSegLinetoHorizontalAbs createSVGPathSegLinetoHorizontalAbs(num x);
25317
25318 SVGPathSegLinetoHorizontalRel createSVGPathSegLinetoHorizontalRel(num x);
25319
25320 SVGPathSegLinetoRel createSVGPathSegLinetoRel(num x, num y);
25321
25322 SVGPathSegLinetoVerticalAbs createSVGPathSegLinetoVerticalAbs(num y);
25323
25324 SVGPathSegLinetoVerticalRel createSVGPathSegLinetoVerticalRel(num y);
25325
25326 SVGPathSegMovetoAbs createSVGPathSegMovetoAbs(num x, num y);
25327
25328 SVGPathSegMovetoRel createSVGPathSegMovetoRel(num x, num y);
25329
25330 int getPathSegAtLength(num distance);
25331
25332 SVGPoint getPointAtLength(num distance);
25333
25334 num getTotalLength();
25335 }
25336 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
25337 // for details. All rights reserved. Use of this source code is governed by a
25338 // BSD-style license that can be found in the LICENSE file.
25339
25340 // WARNING: Do not edit - generated code.
25341
25342 interface SVGPathSeg {
25343
25344 static final int PATHSEG_ARC_ABS = 10;
25345
25346 static final int PATHSEG_ARC_REL = 11;
25347
25348 static final int PATHSEG_CLOSEPATH = 1;
25349
25350 static final int PATHSEG_CURVETO_CUBIC_ABS = 6;
25351
25352 static final int PATHSEG_CURVETO_CUBIC_REL = 7;
25353
25354 static final int PATHSEG_CURVETO_CUBIC_SMOOTH_ABS = 16;
25355
25356 static final int PATHSEG_CURVETO_CUBIC_SMOOTH_REL = 17;
25357
25358 static final int PATHSEG_CURVETO_QUADRATIC_ABS = 8;
25359
25360 static final int PATHSEG_CURVETO_QUADRATIC_REL = 9;
25361
25362 static final int PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS = 18;
25363
25364 static final int PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL = 19;
25365
25366 static final int PATHSEG_LINETO_ABS = 4;
25367
25368 static final int PATHSEG_LINETO_HORIZONTAL_ABS = 12;
25369
25370 static final int PATHSEG_LINETO_HORIZONTAL_REL = 13;
25371
25372 static final int PATHSEG_LINETO_REL = 5;
25373
25374 static final int PATHSEG_LINETO_VERTICAL_ABS = 14;
25375
25376 static final int PATHSEG_LINETO_VERTICAL_REL = 15;
25377
25378 static final int PATHSEG_MOVETO_ABS = 2;
25379
25380 static final int PATHSEG_MOVETO_REL = 3;
25381
25382 static final int PATHSEG_UNKNOWN = 0;
25383
25384 final int pathSegType;
25385
25386 final String pathSegTypeAsLetter;
25387 }
25388 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
25389 // for details. All rights reserved. Use of this source code is governed by a
25390 // BSD-style license that can be found in the LICENSE file.
25391
25392 // WARNING: Do not edit - generated code.
25393
25394 interface SVGPathSegArcAbs extends SVGPathSeg {
25395
25396 num angle;
25397
25398 bool largeArcFlag;
25399
25400 num r1;
25401
25402 num r2;
25403
25404 bool sweepFlag;
25405
25406 num x;
25407
25408 num y;
25409 }
25410 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
25411 // for details. All rights reserved. Use of this source code is governed by a
25412 // BSD-style license that can be found in the LICENSE file.
25413
25414 // WARNING: Do not edit - generated code.
25415
25416 interface SVGPathSegArcRel extends SVGPathSeg {
25417
25418 num angle;
25419
25420 bool largeArcFlag;
25421
25422 num r1;
25423
25424 num r2;
25425
25426 bool sweepFlag;
25427
25428 num x;
25429
25430 num y;
25431 }
25432 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
25433 // for details. All rights reserved. Use of this source code is governed by a
25434 // BSD-style license that can be found in the LICENSE file.
25435
25436 // WARNING: Do not edit - generated code.
25437
25438 interface SVGPathSegClosePath extends SVGPathSeg {
25439 }
25440 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
25441 // for details. All rights reserved. Use of this source code is governed by a
25442 // BSD-style license that can be found in the LICENSE file.
25443
25444 // WARNING: Do not edit - generated code.
25445
25446 interface SVGPathSegCurvetoCubicAbs extends SVGPathSeg {
25447
25448 num x;
25449
25450 num x1;
25451
25452 num x2;
25453
25454 num y;
25455
25456 num y1;
25457
25458 num y2;
25459 }
25460 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
25461 // for details. All rights reserved. Use of this source code is governed by a
25462 // BSD-style license that can be found in the LICENSE file.
25463
25464 // WARNING: Do not edit - generated code.
25465
25466 interface SVGPathSegCurvetoCubicRel extends SVGPathSeg {
25467
25468 num x;
25469
25470 num x1;
25471
25472 num x2;
25473
25474 num y;
25475
25476 num y1;
25477
25478 num y2;
25479 }
25480 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
25481 // for details. All rights reserved. Use of this source code is governed by a
25482 // BSD-style license that can be found in the LICENSE file.
25483
25484 // WARNING: Do not edit - generated code.
25485
25486 interface SVGPathSegCurvetoCubicSmoothAbs extends SVGPathSeg {
25487
25488 num x;
25489
25490 num x2;
25491
25492 num y;
25493
25494 num y2;
25495 }
25496 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
25497 // for details. All rights reserved. Use of this source code is governed by a
25498 // BSD-style license that can be found in the LICENSE file.
25499
25500 // WARNING: Do not edit - generated code.
25501
25502 interface SVGPathSegCurvetoCubicSmoothRel extends SVGPathSeg {
25503
25504 num x;
25505
25506 num x2;
25507
25508 num y;
25509
25510 num y2;
25511 }
25512 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
25513 // for details. All rights reserved. Use of this source code is governed by a
25514 // BSD-style license that can be found in the LICENSE file.
25515
25516 // WARNING: Do not edit - generated code.
25517
25518 interface SVGPathSegCurvetoQuadraticAbs extends SVGPathSeg {
25519
25520 num x;
25521
25522 num x1;
25523
25524 num y;
25525
25526 num y1;
25527 }
25528 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
25529 // for details. All rights reserved. Use of this source code is governed by a
25530 // BSD-style license that can be found in the LICENSE file.
25531
25532 // WARNING: Do not edit - generated code.
25533
25534 interface SVGPathSegCurvetoQuadraticRel extends SVGPathSeg {
25535
25536 num x;
25537
25538 num x1;
25539
25540 num y;
25541
25542 num y1;
25543 }
25544 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
25545 // for details. All rights reserved. Use of this source code is governed by a
25546 // BSD-style license that can be found in the LICENSE file.
25547
25548 // WARNING: Do not edit - generated code.
25549
25550 interface SVGPathSegCurvetoQuadraticSmoothAbs extends SVGPathSeg {
25551
25552 num x;
25553
25554 num y;
25555 }
25556 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
25557 // for details. All rights reserved. Use of this source code is governed by a
25558 // BSD-style license that can be found in the LICENSE file.
25559
25560 // WARNING: Do not edit - generated code.
25561
25562 interface SVGPathSegCurvetoQuadraticSmoothRel extends SVGPathSeg {
25563
25564 num x;
25565
25566 num y;
25567 }
25568 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
25569 // for details. All rights reserved. Use of this source code is governed by a
25570 // BSD-style license that can be found in the LICENSE file.
25571
25572 // WARNING: Do not edit - generated code.
25573
25574 interface SVGPathSegLinetoAbs extends SVGPathSeg {
25575
25576 num x;
25577
25578 num y;
25579 }
25580 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
25581 // for details. All rights reserved. Use of this source code is governed by a
25582 // BSD-style license that can be found in the LICENSE file.
25583
25584 // WARNING: Do not edit - generated code.
25585
25586 interface SVGPathSegLinetoHorizontalAbs extends SVGPathSeg {
25587
25588 num x;
25589 }
25590 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
25591 // for details. All rights reserved. Use of this source code is governed by a
25592 // BSD-style license that can be found in the LICENSE file.
25593
25594 // WARNING: Do not edit - generated code.
25595
25596 interface SVGPathSegLinetoHorizontalRel extends SVGPathSeg {
25597
25598 num x;
25599 }
25600 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
25601 // for details. All rights reserved. Use of this source code is governed by a
25602 // BSD-style license that can be found in the LICENSE file.
25603
25604 // WARNING: Do not edit - generated code.
25605
25606 interface SVGPathSegLinetoRel extends SVGPathSeg {
25607
25608 num x;
25609
25610 num y;
25611 }
25612 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
25613 // for details. All rights reserved. Use of this source code is governed by a
25614 // BSD-style license that can be found in the LICENSE file.
25615
25616 // WARNING: Do not edit - generated code.
25617
25618 interface SVGPathSegLinetoVerticalAbs extends SVGPathSeg {
25619
25620 num y;
25621 }
25622 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
25623 // for details. All rights reserved. Use of this source code is governed by a
25624 // BSD-style license that can be found in the LICENSE file.
25625
25626 // WARNING: Do not edit - generated code.
25627
25628 interface SVGPathSegLinetoVerticalRel extends SVGPathSeg {
25629
25630 num y;
25631 }
25632 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
25633 // for details. All rights reserved. Use of this source code is governed by a
25634 // BSD-style license that can be found in the LICENSE file.
25635
25636 // WARNING: Do not edit - generated code.
25637
25638 interface SVGPathSegList {
25639
25640 final int numberOfItems;
25641
25642 SVGPathSeg appendItem(SVGPathSeg newItem);
25643
25644 void clear();
25645
25646 SVGPathSeg getItem(int index);
25647
25648 SVGPathSeg initialize(SVGPathSeg newItem);
25649
25650 SVGPathSeg insertItemBefore(SVGPathSeg newItem, int index);
25651
25652 SVGPathSeg removeItem(int index);
25653
25654 SVGPathSeg replaceItem(SVGPathSeg newItem, int index);
25655 }
25656 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
25657 // for details. All rights reserved. Use of this source code is governed by a
25658 // BSD-style license that can be found in the LICENSE file.
25659
25660 // WARNING: Do not edit - generated code.
25661
25662 interface SVGPathSegMovetoAbs extends SVGPathSeg {
25663
25664 num x;
25665
25666 num y;
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 SVGPathSegMovetoRel extends SVGPathSeg {
25675
25676 num x;
25677
25678 num y;
25679 }
25680 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
25681 // for details. All rights reserved. Use of this source code is governed by a
25682 // BSD-style license that can be found in the LICENSE file.
25683
25684 // WARNING: Do not edit - generated code.
25685
25686 interface SVGPatternElement extends SVGElement, SVGURIReference, SVGTests, SVGLa ngSpace, SVGExternalResourcesRequired, SVGStylable, SVGFitToViewBox {
25687
25688 final SVGAnimatedLength height;
25689
25690 final SVGAnimatedEnumeration patternContentUnits;
25691
25692 final SVGAnimatedTransformList patternTransform;
25693
25694 final SVGAnimatedEnumeration patternUnits;
25695
25696 final SVGAnimatedLength width;
25697
25698 final SVGAnimatedLength x;
25699
25700 final SVGAnimatedLength y;
25701 }
25702 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
25703 // for details. All rights reserved. Use of this source code is governed by a
25704 // BSD-style license that can be found in the LICENSE file.
25705
25706 // WARNING: Do not edit - generated code.
25707
25708 interface SVGPoint {
25709
25710 num x;
25711
25712 num y;
25713
25714 SVGPoint matrixTransform(SVGMatrix matrix);
25715 }
25716 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
25717 // for details. All rights reserved. Use of this source code is governed by a
25718 // BSD-style license that can be found in the LICENSE file.
25719
25720 // WARNING: Do not edit - generated code.
25721
25722 interface SVGPointList {
25723
25724 final int numberOfItems;
25725
25726 SVGPoint appendItem(SVGPoint item);
25727
25728 void clear();
25729
25730 SVGPoint getItem(int index);
25731
25732 SVGPoint initialize(SVGPoint item);
25733
25734 SVGPoint insertItemBefore(SVGPoint item, int index);
25735
25736 SVGPoint removeItem(int index);
25737
25738 SVGPoint replaceItem(SVGPoint item, int index);
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 SVGPolygonElement extends SVGElement, SVGTests, SVGLangSpace, SVGExter nalResourcesRequired, SVGStylable, SVGTransformable {
25747
25748 final SVGPointList animatedPoints;
25749
25750 final SVGPointList points;
25751 }
25752 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
25753 // for details. All rights reserved. Use of this source code is governed by a
25754 // BSD-style license that can be found in the LICENSE file.
25755
25756 // WARNING: Do not edit - generated code.
25757
25758 interface SVGPolylineElement extends SVGElement, SVGTests, SVGLangSpace, SVGExte rnalResourcesRequired, SVGStylable, SVGTransformable {
25759
25760 final SVGPointList animatedPoints;
25761
25762 final SVGPointList points;
25763 }
25764 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
25765 // for details. All rights reserved. Use of this source code is governed by a
25766 // BSD-style license that can be found in the LICENSE file.
25767
25768 // WARNING: Do not edit - generated code.
25769
25770 interface SVGPreserveAspectRatio {
25771
25772 static final int SVG_MEETORSLICE_MEET = 1;
25773
25774 static final int SVG_MEETORSLICE_SLICE = 2;
25775
25776 static final int SVG_MEETORSLICE_UNKNOWN = 0;
25777
25778 static final int SVG_PRESERVEASPECTRATIO_NONE = 1;
25779
25780 static final int SVG_PRESERVEASPECTRATIO_UNKNOWN = 0;
25781
25782 static final int SVG_PRESERVEASPECTRATIO_XMAXYMAX = 10;
25783
25784 static final int SVG_PRESERVEASPECTRATIO_XMAXYMID = 7;
25785
25786 static final int SVG_PRESERVEASPECTRATIO_XMAXYMIN = 4;
25787
25788 static final int SVG_PRESERVEASPECTRATIO_XMIDYMAX = 9;
25789
25790 static final int SVG_PRESERVEASPECTRATIO_XMIDYMID = 6;
25791
25792 static final int SVG_PRESERVEASPECTRATIO_XMIDYMIN = 3;
25793
25794 static final int SVG_PRESERVEASPECTRATIO_XMINYMAX = 8;
25795
25796 static final int SVG_PRESERVEASPECTRATIO_XMINYMID = 5;
25797
25798 static final int SVG_PRESERVEASPECTRATIO_XMINYMIN = 2;
25799
25800 int align;
25801
25802 int meetOrSlice;
25803 }
25804 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
25805 // for details. All rights reserved. Use of this source code is governed by a
25806 // BSD-style license that can be found in the LICENSE file.
25807
25808 // WARNING: Do not edit - generated code.
25809
25810 interface SVGRadialGradientElement extends SVGGradientElement {
25811
25812 final SVGAnimatedLength cx;
25813
25814 final SVGAnimatedLength cy;
25815
25816 final SVGAnimatedLength fx;
25817
25818 final SVGAnimatedLength fy;
25819
25820 final SVGAnimatedLength r;
25821 }
25822 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
25823 // for details. All rights reserved. Use of this source code is governed by a
25824 // BSD-style license that can be found in the LICENSE file.
25825
25826 // WARNING: Do not edit - generated code.
25827
25828 interface SVGRect {
25829
25830 num height;
25831
25832 num width;
25833
25834 num x;
25835
25836 num y;
25837 }
25838 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
25839 // for details. All rights reserved. Use of this source code is governed by a
25840 // BSD-style license that can be found in the LICENSE file.
25841
25842 // WARNING: Do not edit - generated code.
25843
25844 interface SVGRectElement extends SVGElement, SVGTests, SVGLangSpace, SVGExternal ResourcesRequired, SVGStylable, SVGTransformable {
25845
25846 final SVGAnimatedLength height;
25847
25848 final SVGAnimatedLength rx;
25849
25850 final SVGAnimatedLength ry;
25851
25852 final SVGAnimatedLength width;
25853
25854 final SVGAnimatedLength x;
25855
25856 final SVGAnimatedLength y;
25857 }
25858 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
25859 // for details. All rights reserved. Use of this source code is governed by a
25860 // BSD-style license that can be found in the LICENSE file.
25861
25862 // WARNING: Do not edit - generated code.
25863
25864 interface SVGRenderingIntent {
25865
25866 static final int RENDERING_INTENT_ABSOLUTE_COLORIMETRIC = 5;
25867
25868 static final int RENDERING_INTENT_AUTO = 1;
25869
25870 static final int RENDERING_INTENT_PERCEPTUAL = 2;
25871
25872 static final int RENDERING_INTENT_RELATIVE_COLORIMETRIC = 3;
25873
25874 static final int RENDERING_INTENT_SATURATION = 4;
25875
25876 static final int RENDERING_INTENT_UNKNOWN = 0;
25877 }
25878 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
25879 // for details. All rights reserved. Use of this source code is governed by a
25880 // BSD-style license that can be found in the LICENSE file.
25881
25882 // WARNING: Do not edit - generated code.
25883
25884 interface SVGSVGElement extends SVGElement, SVGTests, SVGLangSpace, SVGExternalR esourcesRequired, SVGStylable, SVGLocatable, SVGFitToViewBox, SVGZoomAndPan {
25885
25886 String contentScriptType;
25887
25888 String contentStyleType;
25889
25890 num currentScale;
25891
25892 final SVGPoint currentTranslate;
25893
25894 final SVGAnimatedLength height;
25895
25896 final num pixelUnitToMillimeterX;
25897
25898 final num pixelUnitToMillimeterY;
25899
25900 final num screenPixelToMillimeterX;
25901
25902 final num screenPixelToMillimeterY;
25903
25904 bool useCurrentView;
25905
25906 final SVGRect viewport;
25907
25908 final SVGAnimatedLength width;
25909
25910 final SVGAnimatedLength x;
25911
25912 final SVGAnimatedLength y;
25913
25914 bool animationsPaused();
25915
25916 bool checkEnclosure(SVGElement element, SVGRect rect);
25917
25918 bool checkIntersection(SVGElement element, SVGRect rect);
25919
25920 SVGAngle createSVGAngle();
25921
25922 SVGLength createSVGLength();
25923
25924 SVGMatrix createSVGMatrix();
25925
25926 SVGNumber createSVGNumber();
25927
25928 SVGPoint createSVGPoint();
25929
25930 SVGRect createSVGRect();
25931
25932 SVGTransform createSVGTransform();
25933
25934 SVGTransform createSVGTransformFromMatrix(SVGMatrix matrix);
25935
25936 void deselectAll();
25937
25938 void forceRedraw();
25939
25940 num getCurrentTime();
25941
25942 Element getElementById(String elementId);
25943
25944 NodeList getEnclosureList(SVGRect rect, SVGElement referenceElement);
25945
25946 NodeList getIntersectionList(SVGRect rect, SVGElement referenceElement);
25947
25948 void pauseAnimations();
25949
25950 void setCurrentTime(num seconds);
25951
25952 int suspendRedraw(int maxWaitMilliseconds);
25953
25954 void unpauseAnimations();
25955
25956 void unsuspendRedraw(int suspendHandleId);
25957
25958 void unsuspendRedrawAll();
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 SVGScriptElement extends SVGElement, SVGURIReference, SVGExternalResou rcesRequired {
25967
25968 String type;
25969 }
25970 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
25971 // for details. All rights reserved. Use of this source code is governed by a
25972 // BSD-style license that can be found in the LICENSE file.
25973
25974 // WARNING: Do not edit - generated code.
25975
25976 interface SVGSetElement extends SVGAnimationElement {
25977 }
25978 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
25979 // for details. All rights reserved. Use of this source code is governed by a
25980 // BSD-style license that can be found in the LICENSE file.
25981
25982 // WARNING: Do not edit - generated code.
25983
25984 interface SVGStopElement extends SVGElement, SVGStylable {
25985
25986 final SVGAnimatedNumber offset;
25987 }
25988 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
25989 // for details. All rights reserved. Use of this source code is governed by a
25990 // BSD-style license that can be found in the LICENSE file.
25991
25992 // WARNING: Do not edit - generated code.
25993
25994 interface SVGStringList {
25995
25996 final int numberOfItems;
25997
25998 String appendItem(String item);
25999
26000 void clear();
26001
26002 String getItem(int index);
26003
26004 String initialize(String item);
26005
26006 String insertItemBefore(String item, int index);
26007
26008 String removeItem(int index);
26009
26010 String replaceItem(String item, int index);
26011 }
26012 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
26013 // for details. All rights reserved. Use of this source code is governed by a
26014 // BSD-style license that can be found in the LICENSE file.
26015
26016 // WARNING: Do not edit - generated code.
26017
26018 interface SVGStylable {
26019
26020 final SVGAnimatedString className;
26021
26022 final CSSStyleDeclaration style;
26023
26024 CSSValue getPresentationAttribute(String name);
26025 }
26026 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
26027 // for details. All rights reserved. Use of this source code is governed by a
26028 // BSD-style license that can be found in the LICENSE file.
26029
26030 // WARNING: Do not edit - generated code.
26031
26032 interface SVGStyleElement extends SVGElement, SVGLangSpace {
26033
26034 String media;
26035
26036 String title;
26037
26038 String type;
26039 }
26040 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
26041 // for details. All rights reserved. Use of this source code is governed by a
26042 // BSD-style license that can be found in the LICENSE file.
26043
26044 // WARNING: Do not edit - generated code.
26045
26046 interface SVGSwitchElement extends SVGElement, SVGTests, SVGLangSpace, SVGExtern alResourcesRequired, SVGStylable, SVGTransformable {
26047 }
26048 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
26049 // for details. All rights reserved. Use of this source code is governed by a
26050 // BSD-style license that can be found in the LICENSE file.
26051
26052 // WARNING: Do not edit - generated code.
26053
26054 interface SVGSymbolElement extends SVGElement, SVGLangSpace, SVGExternalResource sRequired, SVGStylable, SVGFitToViewBox {
26055 }
26056 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
26057 // for details. All rights reserved. Use of this source code is governed by a
26058 // BSD-style license that can be found in the LICENSE file.
26059
26060 // WARNING: Do not edit - generated code.
26061
26062 interface SVGTRefElement extends SVGTextPositioningElement, SVGURIReference {
26063 }
26064 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
26065 // for details. All rights reserved. Use of this source code is governed by a
26066 // BSD-style license that can be found in the LICENSE file.
26067
26068 // WARNING: Do not edit - generated code.
26069
26070 interface SVGTSpanElement extends SVGTextPositioningElement {
26071 }
26072 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
26073 // for details. All rights reserved. Use of this source code is governed by a
26074 // BSD-style license that can be found in the LICENSE file.
26075
26076 // WARNING: Do not edit - generated code.
26077
26078 interface SVGTests {
26079
26080 final SVGStringList requiredExtensions;
26081
26082 final SVGStringList requiredFeatures;
26083
26084 final SVGStringList systemLanguage;
26085
26086 bool hasExtension(String extension);
26087 }
26088 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
26089 // for details. All rights reserved. Use of this source code is governed by a
26090 // BSD-style license that can be found in the LICENSE file.
26091
26092 // WARNING: Do not edit - generated code.
26093
26094 interface SVGTextContentElement extends SVGElement, SVGTests, SVGLangSpace, SVGE xternalResourcesRequired, SVGStylable {
26095
26096 static final int LENGTHADJUST_SPACING = 1;
26097
26098 static final int LENGTHADJUST_SPACINGANDGLYPHS = 2;
26099
26100 static final int LENGTHADJUST_UNKNOWN = 0;
26101
26102 final SVGAnimatedEnumeration lengthAdjust;
26103
26104 final SVGAnimatedLength textLength;
26105
26106 int getCharNumAtPosition(SVGPoint point);
26107
26108 num getComputedTextLength();
26109
26110 SVGPoint getEndPositionOfChar(int offset);
26111
26112 SVGRect getExtentOfChar(int offset);
26113
26114 int getNumberOfChars();
26115
26116 num getRotationOfChar(int offset);
26117
26118 SVGPoint getStartPositionOfChar(int offset);
26119
26120 num getSubStringLength(int offset, int length);
26121
26122 void selectSubString(int offset, int length);
26123 }
26124 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
26125 // for details. All rights reserved. Use of this source code is governed by a
26126 // BSD-style license that can be found in the LICENSE file.
26127
26128 // WARNING: Do not edit - generated code.
26129
26130 interface SVGTextElement extends SVGTextPositioningElement, SVGTransformable {
26131 }
26132 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
26133 // for details. All rights reserved. Use of this source code is governed by a
26134 // BSD-style license that can be found in the LICENSE file.
26135
26136 // WARNING: Do not edit - generated code.
26137
26138 interface SVGTextPathElement extends SVGTextContentElement, SVGURIReference {
26139
26140 static final int TEXTPATH_METHODTYPE_ALIGN = 1;
26141
26142 static final int TEXTPATH_METHODTYPE_STRETCH = 2;
26143
26144 static final int TEXTPATH_METHODTYPE_UNKNOWN = 0;
26145
26146 static final int TEXTPATH_SPACINGTYPE_AUTO = 1;
26147
26148 static final int TEXTPATH_SPACINGTYPE_EXACT = 2;
26149
26150 static final int TEXTPATH_SPACINGTYPE_UNKNOWN = 0;
26151
26152 final SVGAnimatedEnumeration method;
26153
26154 final SVGAnimatedEnumeration spacing;
26155
26156 final SVGAnimatedLength startOffset;
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 SVGTextPositioningElement extends SVGTextContentElement {
26165
26166 final SVGAnimatedLengthList dx;
26167
26168 final SVGAnimatedLengthList dy;
26169
26170 final SVGAnimatedNumberList rotate;
26171
26172 final SVGAnimatedLengthList x;
26173
26174 final SVGAnimatedLengthList y;
26175 }
26176 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
26177 // for details. All rights reserved. Use of this source code is governed by a
26178 // BSD-style license that can be found in the LICENSE file.
26179
26180 // WARNING: Do not edit - generated code.
26181
26182 interface SVGTitleElement extends SVGElement, SVGLangSpace, SVGStylable {
26183 }
26184 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
26185 // for details. All rights reserved. Use of this source code is governed by a
26186 // BSD-style license that can be found in the LICENSE file.
26187
26188 // WARNING: Do not edit - generated code.
26189
26190 interface SVGTransform {
26191
26192 static final int SVG_TRANSFORM_MATRIX = 1;
26193
26194 static final int SVG_TRANSFORM_ROTATE = 4;
26195
26196 static final int SVG_TRANSFORM_SCALE = 3;
26197
26198 static final int SVG_TRANSFORM_SKEWX = 5;
26199
26200 static final int SVG_TRANSFORM_SKEWY = 6;
26201
26202 static final int SVG_TRANSFORM_TRANSLATE = 2;
26203
26204 static final int SVG_TRANSFORM_UNKNOWN = 0;
26205
26206 final num angle;
26207
26208 final SVGMatrix matrix;
26209
26210 final int type;
26211
26212 void setMatrix(SVGMatrix matrix);
26213
26214 void setRotate(num angle, num cx, num cy);
26215
26216 void setScale(num sx, num sy);
26217
26218 void setSkewX(num angle);
26219
26220 void setSkewY(num angle);
26221
26222 void setTranslate(num tx, num ty);
26223 }
26224 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
26225 // for details. All rights reserved. Use of this source code is governed by a
26226 // BSD-style license that can be found in the LICENSE file.
26227
26228 // WARNING: Do not edit - generated code.
26229
26230 interface SVGTransformList {
26231
26232 final int numberOfItems;
26233
26234 SVGTransform appendItem(SVGTransform item);
26235
26236 void clear();
26237
26238 SVGTransform consolidate();
26239
26240 SVGTransform createSVGTransformFromMatrix(SVGMatrix matrix);
26241
26242 SVGTransform getItem(int index);
26243
26244 SVGTransform initialize(SVGTransform item);
26245
26246 SVGTransform insertItemBefore(SVGTransform item, int index);
26247
26248 SVGTransform removeItem(int index);
26249
26250 SVGTransform replaceItem(SVGTransform item, int index);
26251 }
26252 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
26253 // for details. All rights reserved. Use of this source code is governed by a
26254 // BSD-style license that can be found in the LICENSE file.
26255
26256 // WARNING: Do not edit - generated code.
26257
26258 interface SVGTransformable extends SVGLocatable {
26259
26260 final SVGAnimatedTransformList transform;
26261 }
26262 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
26263 // for details. All rights reserved. Use of this source code is governed by a
26264 // BSD-style license that can be found in the LICENSE file.
26265
26266 // WARNING: Do not edit - generated code.
26267
26268 interface SVGURIReference {
26269
26270 final SVGAnimatedString href;
26271 }
26272 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
26273 // for details. All rights reserved. Use of this source code is governed by a
26274 // BSD-style license that can be found in the LICENSE file.
26275
26276 // WARNING: Do not edit - generated code.
26277
26278 interface SVGUnitTypes {
26279
26280 static final int SVG_UNIT_TYPE_OBJECTBOUNDINGBOX = 2;
26281
26282 static final int SVG_UNIT_TYPE_UNKNOWN = 0;
26283
26284 static final int SVG_UNIT_TYPE_USERSPACEONUSE = 1;
26285 }
26286 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
26287 // for details. All rights reserved. Use of this source code is governed by a
26288 // BSD-style license that can be found in the LICENSE file.
26289
26290 // WARNING: Do not edit - generated code.
26291
26292 interface SVGUseElement extends SVGElement, SVGURIReference, SVGTests, SVGLangSp ace, SVGExternalResourcesRequired, SVGStylable, SVGTransformable {
26293
26294 final SVGElementInstance animatedInstanceRoot;
26295
26296 final SVGAnimatedLength height;
26297
26298 final SVGElementInstance instanceRoot;
26299
26300 final SVGAnimatedLength width;
26301
26302 final SVGAnimatedLength x;
26303
26304 final SVGAnimatedLength y;
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 SVGVKernElement extends SVGElement {
26313 }
26314 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
26315 // for details. All rights reserved. Use of this source code is governed by a
26316 // BSD-style license that can be found in the LICENSE file.
26317
26318 // WARNING: Do not edit - generated code.
26319
26320 interface SVGViewElement extends SVGElement, SVGExternalResourcesRequired, SVGFi tToViewBox, SVGZoomAndPan {
26321
26322 final SVGStringList viewTarget;
26323 }
26324 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
26325 // for details. All rights reserved. Use of this source code is governed by a
26326 // BSD-style license that can be found in the LICENSE file.
26327
26328 // WARNING: Do not edit - generated code.
26329
26330 interface SVGViewSpec extends SVGZoomAndPan, SVGFitToViewBox {
26331
26332 final String preserveAspectRatioString;
26333
26334 final SVGTransformList transform;
26335
26336 final String transformString;
26337
26338 final String viewBoxString;
26339
26340 final SVGElement viewTarget;
26341
26342 final String viewTargetString;
26343 }
26344 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
26345 // for details. All rights reserved. Use of this source code is governed by a
26346 // BSD-style license that can be found in the LICENSE file.
26347
26348 // WARNING: Do not edit - generated code.
26349
26350 interface SVGZoomAndPan {
26351
26352 static final int SVG_ZOOMANDPAN_DISABLE = 1;
26353
26354 static final int SVG_ZOOMANDPAN_MAGNIFY = 2;
26355
26356 static final int SVG_ZOOMANDPAN_UNKNOWN = 0;
26357
26358 int zoomAndPan;
26359 }
26360 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
26361 // for details. All rights reserved. Use of this source code is governed by a
26362 // BSD-style license that can be found in the LICENSE file.
26363
26364 // WARNING: Do not edit - generated code.
26365
26366 interface SVGZoomEvent extends UIEvent {
26367
26368 final num newScale;
26369
26370 final SVGPoint newTranslate;
26371
26372 final num previousScale;
26373
26374 final SVGPoint previousTranslate;
26375
26376 final SVGRect zoomRectScreen;
26377 }
26378 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
26379 // for details. All rights reserved. Use of this source code is governed by a
26380 // BSD-style license that can be found in the LICENSE file.
26381
26382 // WARNING: Do not edit - generated code.
26383
26384 interface Screen {
26385
26386 final int availHeight;
26387
26388 final int availLeft;
26389
26390 final int availTop;
26391
26392 final int availWidth;
26393
26394 final int colorDepth;
26395
26396 final int height;
26397
26398 final int pixelDepth;
26399
26400 final int width;
26401 }
26402 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
26403 // for details. All rights reserved. Use of this source code is governed by a
26404 // BSD-style license that can be found in the LICENSE file.
26405
26406 // WARNING: Do not edit - generated code.
26407
26408 interface ScriptElement extends Element {
26409
26410 bool async;
26411
26412 String charset;
26413
26414 bool defer;
26415
26416 String event;
26417
26418 String htmlFor;
26419
26420 String src;
26421
26422 String text;
26423
26424 String type;
26425 }
26426 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
26427 // for details. All rights reserved. Use of this source code is governed by a
26428 // BSD-style license that can be found in the LICENSE file.
26429
26430 // WARNING: Do not edit - generated code.
26431
26432 interface ScriptProfile {
26433
26434 final ScriptProfileNode head;
26435
26436 final String title;
26437
26438 final int uid;
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 ScriptProfileNode {
26447
26448 final int callUID;
26449
26450 final List children;
26451
26452 final String functionName;
26453
26454 final int lineNumber;
26455
26456 final int numberOfCalls;
26457
26458 final num selfTime;
26459
26460 final num totalTime;
26461
26462 final String url;
26463
26464 final bool visible;
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 SelectElement extends Element {
26473
26474 bool autofocus;
26475
26476 bool disabled;
26477
26478 final FormElement form;
26479
26480 final NodeList labels;
26481
26482 int length;
26483
26484 bool multiple;
26485
26486 String name;
26487
26488 final HTMLOptionsCollection options;
26489
26490 bool required;
26491
26492 int selectedIndex;
26493
26494 int size;
26495
26496 final String type;
26497
26498 final String validationMessage;
26499
26500 final ValidityState validity;
26501
26502 String value;
26503
26504 final bool willValidate;
26505
26506 void add(Element element, Element before);
26507
26508 bool checkValidity();
26509
26510 Node item(int index);
26511
26512 Node namedItem(String name);
26513
26514 void setCustomValidity(String error);
26515 }
26516 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
26517 // for details. All rights reserved. Use of this source code is governed by a
26518 // BSD-style license that can be found in the LICENSE file.
26519
26520 // WARNING: Do not edit - generated code.
26521
26522 interface SharedWorker extends AbstractWorker {
26523
26524 final MessagePort port;
26525 }
26526 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
26527 // for details. All rights reserved. Use of this source code is governed by a
26528 // BSD-style license that can be found in the LICENSE file.
26529
26530 // WARNING: Do not edit - generated code.
26531
26532 interface SharedWorkerContext extends WorkerContext {
26533
26534 final String name;
26535
26536 EventListener onconnect;
26537 }
26538 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
26539 // for details. All rights reserved. Use of this source code is governed by a
26540 // BSD-style license that can be found in the LICENSE file.
26541
26542 // WARNING: Do not edit - generated code.
26543
26544 interface SourceElement extends Element {
26545
26546 String media;
26547
26548 String src;
26549
26550 String type;
26551 }
26552 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
26553 // for details. All rights reserved. Use of this source code is governed by a
26554 // BSD-style license that can be found in the LICENSE file.
26555
26556 // WARNING: Do not edit - generated code.
26557
26558 interface SpanElement extends Element {
26559 }
26560 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
26561 // for details. All rights reserved. Use of this source code is governed by a
26562 // BSD-style license that can be found in the LICENSE file.
26563
26564 // WARNING: Do not edit - generated code.
26565
26566 interface SpeechInputEvent extends Event {
26567
26568 final SpeechInputResultList results;
26569 }
26570 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
26571 // for details. All rights reserved. Use of this source code is governed by a
26572 // BSD-style license that can be found in the LICENSE file.
26573
26574 // WARNING: Do not edit - generated code.
26575
26576 interface SpeechInputResult {
26577
26578 final num confidence;
26579
26580 final String utterance;
26581 }
26582 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
26583 // for details. All rights reserved. Use of this source code is governed by a
26584 // BSD-style license that can be found in the LICENSE file.
26585
26586 // WARNING: Do not edit - generated code.
26587
26588 interface SpeechInputResultList {
26589
26590 final int length;
26591
26592 SpeechInputResult item(int index);
26593 }
26594 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
26595 // for details. All rights reserved. Use of this source code is governed by a
26596 // BSD-style license that can be found in the LICENSE file.
26597
26598 // WARNING: Do not edit - generated code.
26599
26600 interface Storage {
26601
26602 final int length;
26603
26604 void clear();
26605
26606 String getItem(String key);
26607
26608 String key(int index);
26609
26610 void removeItem(String key);
26611
26612 void setItem(String key, String data);
26613 }
26614 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
26615 // for details. All rights reserved. Use of this source code is governed by a
26616 // BSD-style license that can be found in the LICENSE file.
26617
26618 // WARNING: Do not edit - generated code.
26619
26620 interface StorageEvent extends Event {
26621
26622 final String key;
26623
26624 final String newValue;
26625
26626 final String oldValue;
26627
26628 final Storage storageArea;
26629
26630 final String url;
26631
26632 void initStorageEvent(String typeArg, bool canBubbleArg, bool cancelableArg, S tring keyArg, String oldValueArg, String newValueArg, String urlArg, Storage sto rageAreaArg);
26633 }
26634 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
26635 // for details. All rights reserved. Use of this source code is governed by a
26636 // BSD-style license that can be found in the LICENSE file.
26637
26638 // WARNING: Do not edit - generated code.
26639
26640 interface StorageInfo {
26641
26642 static final int PERSISTENT = 1;
26643
26644 static final int TEMPORARY = 0;
26645
26646 void queryUsageAndQuota(int storageType, [StorageInfoUsageCallback usageCallba ck, StorageInfoErrorCallback errorCallback]);
26647
26648 void requestQuota(int storageType, int newQuotaInBytes, [StorageInfoQuotaCallb ack quotaCallback, StorageInfoErrorCallback errorCallback]);
26649 }
26650 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
26651 // for details. All rights reserved. Use of this source code is governed by a
26652 // BSD-style license that can be found in the LICENSE file.
26653
26654 // WARNING: Do not edit - generated code.
26655
26656 typedef bool StorageInfoErrorCallback(DOMException error);
26657 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
26658 // for details. All rights reserved. Use of this source code is governed by a
26659 // BSD-style license that can be found in the LICENSE file.
26660
26661 // WARNING: Do not edit - generated code.
26662
26663 typedef bool StorageInfoQuotaCallback(int grantedQuotaInBytes);
26664 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
26665 // for details. All rights reserved. Use of this source code is governed by a
26666 // BSD-style license that can be found in the LICENSE file.
26667
26668 // WARNING: Do not edit - generated code.
26669
26670 typedef bool StorageInfoUsageCallback(int currentUsageInBytes, int currentQuotaI nBytes);
26671 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
26672 // for details. All rights reserved. Use of this source code is governed by a
26673 // BSD-style license that can be found in the LICENSE file.
26674
26675 // WARNING: Do not edit - generated code.
26676
26677 typedef bool StringCallback(String data);
26678 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
26679 // for details. All rights reserved. Use of this source code is governed by a
26680 // BSD-style license that can be found in the LICENSE file.
26681
26682 // WARNING: Do not edit - generated code.
26683
26684 interface StyleElement extends Element {
26685
26686 bool disabled;
26687
26688 String media;
26689
26690 final StyleSheet sheet;
26691
26692 String type;
26693 }
26694 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
26695 // for details. All rights reserved. Use of this source code is governed by a
26696 // BSD-style license that can be found in the LICENSE file.
26697
26698 // WARNING: Do not edit - generated code.
26699
26700 interface StyleMedia {
26701
26702 final String type;
26703
26704 bool matchMedium(String mediaquery);
26705 }
26706 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
26707 // for details. All rights reserved. Use of this source code is governed by a
26708 // BSD-style license that can be found in the LICENSE file.
26709
26710 // WARNING: Do not edit - generated code.
26711
26712 interface StyleSheet {
26713
26714 bool disabled;
26715
26716 final String href;
26717
26718 final MediaList media;
26719
26720 final Node ownerNode;
26721
26722 final StyleSheet parentStyleSheet;
26723
26724 final String title;
26725
26726 final String type;
26727 }
26728 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
26729 // for details. All rights reserved. Use of this source code is governed by a
26730 // BSD-style license that can be found in the LICENSE file.
26731
26732 // WARNING: Do not edit - generated code.
26733
26734 interface StyleSheetList extends List<StyleSheet> {
26735
26736 final int length;
26737
26738 StyleSheet item(int index);
26739 }
26740 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
26741 // for details. All rights reserved. Use of this source code is governed by a
26742 // BSD-style license that can be found in the LICENSE file.
26743
26744 // WARNING: Do not edit - generated code.
26745
26746 interface TableCaptionElement extends Element {
26747
26748 String align;
26749 }
26750 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
26751 // for details. All rights reserved. Use of this source code is governed by a
26752 // BSD-style license that can be found in the LICENSE file.
26753
26754 // WARNING: Do not edit - generated code.
26755
26756 interface TableCellElement extends Element {
26757
26758 String abbr;
26759
26760 String align;
26761
26762 String axis;
26763
26764 String bgColor;
26765
26766 final int cellIndex;
26767
26768 String ch;
26769
26770 String chOff;
26771
26772 int colSpan;
26773
26774 String headers;
26775
26776 String height;
26777
26778 bool noWrap;
26779
26780 int rowSpan;
26781
26782 String scope;
26783
26784 String vAlign;
26785
26786 String width;
26787 }
26788 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
26789 // for details. All rights reserved. Use of this source code is governed by a
26790 // BSD-style license that can be found in the LICENSE file.
26791
26792 // WARNING: Do not edit - generated code.
26793
26794 interface TableColElement extends Element {
26795
26796 String align;
26797
26798 String ch;
26799
26800 String chOff;
26801
26802 int span;
26803
26804 String vAlign;
26805
26806 String width;
26807 }
26808 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
26809 // for details. All rights reserved. Use of this source code is governed by a
26810 // BSD-style license that can be found in the LICENSE file.
26811
26812 // WARNING: Do not edit - generated code.
26813
26814 interface TableElement extends Element {
26815
26816 String align;
26817
26818 String bgColor;
26819
26820 String border;
26821
26822 TableCaptionElement caption;
26823
26824 String cellPadding;
26825
26826 String cellSpacing;
26827
26828 String frame;
26829
26830 final HTMLCollection rows;
26831
26832 String rules;
26833
26834 String summary;
26835
26836 final HTMLCollection tBodies;
26837
26838 TableSectionElement tFoot;
26839
26840 TableSectionElement tHead;
26841
26842 String width;
26843
26844 Element createCaption();
26845
26846 Element createTFoot();
26847
26848 Element createTHead();
26849
26850 void deleteCaption();
26851
26852 void deleteRow(int index);
26853
26854 void deleteTFoot();
26855
26856 void deleteTHead();
26857
26858 Element insertRow(int index);
26859 }
26860 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
26861 // for details. All rights reserved. Use of this source code is governed by a
26862 // BSD-style license that can be found in the LICENSE file.
26863
26864 // WARNING: Do not edit - generated code.
26865
26866 interface TableRowElement extends Element {
26867
26868 String align;
26869
26870 String bgColor;
26871
26872 final HTMLCollection cells;
26873
26874 String ch;
26875
26876 String chOff;
26877
26878 final int rowIndex;
26879
26880 final int sectionRowIndex;
26881
26882 String vAlign;
26883
26884 void deleteCell(int index);
26885
26886 Element insertCell(int index);
26887 }
26888 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
26889 // for details. All rights reserved. Use of this source code is governed by a
26890 // BSD-style license that can be found in the LICENSE file.
26891
26892 // WARNING: Do not edit - generated code.
26893
26894 interface TableSectionElement extends Element {
26895
26896 String align;
26897
26898 String ch;
26899
26900 String chOff;
26901
26902 final HTMLCollection rows;
26903
26904 String vAlign;
26905
26906 void deleteRow(int index);
26907
26908 Element insertRow(int index);
26909 }
26910 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
26911 // for details. All rights reserved. Use of this source code is governed by a
26912 // BSD-style license that can be found in the LICENSE file.
26913
26914 // WARNING: Do not edit - generated code.
26915
26916 interface Text extends CharacterData {
26917
26918 final String wholeText;
26919
26920 Text replaceWholeText(String content);
26921
26922 Text splitText(int offset);
26923 }
26924 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
26925 // for details. All rights reserved. Use of this source code is governed by a
26926 // BSD-style license that can be found in the LICENSE file.
26927
26928 // WARNING: Do not edit - generated code.
26929
26930 interface TextAreaElement extends Element {
26931
26932 bool autofocus;
26933
26934 int cols;
26935
26936 String defaultValue;
26937
26938 bool disabled;
26939
26940 final FormElement form;
26941
26942 final NodeList labels;
26943
26944 int maxLength;
26945
26946 String name;
26947
26948 String placeholder;
26949
26950 bool readOnly;
26951
26952 bool required;
26953
26954 int rows;
26955
26956 String selectionDirection;
26957
26958 int selectionEnd;
26959
26960 int selectionStart;
26961
26962 final int textLength;
26963
26964 final String type;
26965
26966 final String validationMessage;
26967
26968 final ValidityState validity;
26969
26970 String value;
26971
26972 final bool willValidate;
26973
26974 String wrap;
26975
26976 bool checkValidity();
26977
26978 void select();
26979
26980 void setCustomValidity(String error);
26981
26982 void setSelectionRange(int start, int end, [String direction]);
26983 }
26984 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
26985 // for details. All rights reserved. Use of this source code is governed by a
26986 // BSD-style license that can be found in the LICENSE file.
26987
26988 // WARNING: Do not edit - generated code.
26989
26990 interface TextEvent extends UIEvent {
26991
26992 final String data;
26993
26994 void initTextEvent(String typeArg, bool canBubbleArg, bool cancelableArg, Wind ow viewArg, String dataArg);
26995 }
26996 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
26997 // for details. All rights reserved. Use of this source code is governed by a
26998 // BSD-style license that can be found in the LICENSE file.
26999
27000 // WARNING: Do not edit - generated code.
27001
27002 interface TextMetrics {
27003
27004 final num width;
27005 }
27006 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
27007 // for details. All rights reserved. Use of this source code is governed by a
27008 // BSD-style license that can be found in the LICENSE file.
27009
27010 // WARNING: Do not edit - generated code.
27011
27012 interface TextTrack {
27013
27014 static final int DISABLED = 0;
27015
27016 static final int HIDDEN = 1;
27017
27018 static final int SHOWING = 2;
27019
27020 final TextTrackCueList activeCues;
27021
27022 final TextTrackCueList cues;
27023
27024 final String kind;
27025
27026 final String label;
27027
27028 final String language;
27029
27030 int mode;
27031
27032 EventListener oncuechange;
27033
27034 void addCue(TextTrackCue cue);
27035
27036 void addEventListener(String type, EventListener listener, [bool useCapture]);
27037
27038 bool dispatchEvent(Event evt);
27039
27040 void removeCue(TextTrackCue cue);
27041
27042 void removeEventListener(String type, EventListener listener, [bool useCapture ]);
27043 }
27044 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
27045 // for details. All rights reserved. Use of this source code is governed by a
27046 // BSD-style license that can be found in the LICENSE file.
27047
27048 // WARNING: Do not edit - generated code.
27049
27050 interface TextTrackCue {
27051
27052 String alignment;
27053
27054 String direction;
27055
27056 num endTime;
27057
27058 String id;
27059
27060 int linePosition;
27061
27062 EventListener onenter;
27063
27064 EventListener onexit;
27065
27066 bool pauseOnExit;
27067
27068 int size;
27069
27070 bool snapToLines;
27071
27072 num startTime;
27073
27074 String text;
27075
27076 int textPosition;
27077
27078 final TextTrack track;
27079
27080 void addEventListener(String type, EventListener listener, [bool useCapture]);
27081
27082 bool dispatchEvent(Event evt);
27083
27084 DocumentFragment getCueAsHTML();
27085
27086 void removeEventListener(String type, EventListener listener, [bool useCapture ]);
27087 }
27088 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
27089 // for details. All rights reserved. Use of this source code is governed by a
27090 // BSD-style license that can be found in the LICENSE file.
27091
27092 // WARNING: Do not edit - generated code.
27093
27094 interface TextTrackCueList {
27095
27096 final int length;
27097
27098 TextTrackCue getCueById(String id);
27099
27100 TextTrackCue item(int index);
27101 }
27102 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
27103 // for details. All rights reserved. Use of this source code is governed by a
27104 // BSD-style license that can be found in the LICENSE file.
27105
27106 // WARNING: Do not edit - generated code.
27107
27108 interface TextTrackList {
27109
27110 final int length;
27111
27112 EventListener onaddtrack;
27113
27114 void addEventListener(String type, EventListener listener, [bool useCapture]);
27115
27116 bool dispatchEvent(Event evt);
27117
27118 TextTrack item(int index);
27119
27120 void removeEventListener(String type, EventListener listener, [bool useCapture ]);
27121 }
27122 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
27123 // for details. All rights reserved. Use of this source code is governed by a
27124 // BSD-style license that can be found in the LICENSE file.
27125
27126 // WARNING: Do not edit - generated code.
27127
27128 interface TimeRanges {
27129
27130 final int length;
27131
27132 num end(int index);
27133
27134 num start(int index);
27135 }
27136 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
27137 // for details. All rights reserved. Use of this source code is governed by a
27138 // BSD-style license that can be found in the LICENSE file.
27139
27140 // WARNING: Do not edit - generated code.
27141
27142 interface TitleElement extends Element {
27143
27144 String text;
27145 }
27146 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
27147 // for details. All rights reserved. Use of this source code is governed by a
27148 // BSD-style license that can be found in the LICENSE file.
27149
27150 // WARNING: Do not edit - generated code.
27151
27152 interface Touch {
27153
27154 final int clientX;
27155
27156 final int clientY;
27157
27158 final int identifier;
27159
27160 final int pageX;
27161
27162 final int pageY;
27163
27164 final int screenX;
27165
27166 final int screenY;
27167
27168 final EventTarget target;
27169
27170 final num webkitForce;
27171
27172 final int webkitRadiusX;
27173
27174 final int webkitRadiusY;
27175
27176 final num webkitRotationAngle;
27177 }
27178 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
27179 // for details. All rights reserved. Use of this source code is governed by a
27180 // BSD-style license that can be found in the LICENSE file.
27181
27182 // WARNING: Do not edit - generated code.
27183
27184 interface TouchEvent extends UIEvent {
27185
27186 final bool altKey;
27187
27188 final TouchList changedTouches;
27189
27190 final bool ctrlKey;
27191
27192 final bool metaKey;
27193
27194 final bool shiftKey;
27195
27196 final TouchList targetTouches;
27197
27198 final TouchList touches;
27199
27200 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);
27201 }
27202 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
27203 // for details. All rights reserved. Use of this source code is governed by a
27204 // BSD-style license that can be found in the LICENSE file.
27205
27206 // WARNING: Do not edit - generated code.
27207
27208 interface TouchList extends List<Touch> {
27209
27210 final int length;
27211
27212 Touch item(int index);
27213 }
27214 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
27215 // for details. All rights reserved. Use of this source code is governed by a
27216 // BSD-style license that can be found in the LICENSE file.
27217
27218 // WARNING: Do not edit - generated code.
27219
27220 interface TrackElement extends Element {
27221
27222 static final int ERROR = 3;
27223
27224 static final int LOADED = 2;
27225
27226 static final int LOADING = 1;
27227
27228 static final int NONE = 0;
27229
27230 bool isDefault;
27231
27232 String kind;
27233
27234 String label;
27235
27236 final int readyState;
27237
27238 String src;
27239
27240 String srclang;
27241
27242 final TextTrack track;
27243 }
27244 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
27245 // for details. All rights reserved. Use of this source code is governed by a
27246 // BSD-style license that can be found in the LICENSE file.
27247
27248 // WARNING: Do not edit - generated code.
27249
27250 interface TrackEvent extends Event {
27251
27252 final Object track;
27253 }
27254 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
27255 // for details. All rights reserved. Use of this source code is governed by a
27256 // BSD-style license that can be found in the LICENSE file.
27257
27258 // WARNING: Do not edit - generated code.
27259
27260 interface TransitionEvent extends Event {
27261
27262 final num elapsedTime;
27263
27264 final String propertyName;
27265 }
27266 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
27267 // for details. All rights reserved. Use of this source code is governed by a
27268 // BSD-style license that can be found in the LICENSE file.
27269
27270 // WARNING: Do not edit - generated code.
27271
27272 interface TreeWalker {
27273
27274 Node currentNode;
27275
27276 final bool expandEntityReferences;
27277
27278 final NodeFilter filter;
27279
27280 final Node root;
27281
27282 final int whatToShow;
27283
27284 Node firstChild();
27285
27286 Node lastChild();
27287
27288 Node nextNode();
27289
27290 Node nextSibling();
27291
27292 Node parentNode();
27293
27294 Node previousNode();
27295
27296 Node previousSibling();
27297 }
27298 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
27299 // for details. All rights reserved. Use of this source code is governed by a
27300 // BSD-style license that can be found in the LICENSE file.
27301
27302 // WARNING: Do not edit - generated code.
27303
27304 interface UIEvent extends Event {
27305
27306 final int charCode;
27307
27308 final int detail;
27309
27310 final int keyCode;
27311
27312 final int layerX;
27313
27314 final int layerY;
27315
27316 final int pageX;
27317
27318 final int pageY;
27319
27320 final Window view;
27321
27322 final int which;
27323
27324 void initUIEvent(String type, bool canBubble, bool cancelable, Window view, in t detail);
27325 }
27326 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
27327 // for details. All rights reserved. Use of this source code is governed by a
27328 // BSD-style license that can be found in the LICENSE file.
27329
27330 // WARNING: Do not edit - generated code.
27331
27332 interface UListElement extends Element {
27333
27334 bool compact;
27335
27336 String type;
27337 }
27338 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
27339 // for details. All rights reserved. Use of this source code is governed by a
27340 // BSD-style license that can be found in the LICENSE file.
27341
27342 // WARNING: Do not edit - generated code.
27343
27344 interface Uint16Array extends ArrayBufferView, List<int> default _TypedArrayFact oryProvider {
27345
27346 Uint16Array(int length);
27347
27348 Uint16Array.fromList(List<int> list);
27349
27350 Uint16Array.fromBuffer(ArrayBuffer buffer);
27351
27352 static final int BYTES_PER_ELEMENT = 2;
27353
27354 final int length;
27355
27356 void setElements(Object array, [int offset]);
27357
27358 Uint16Array subarray(int start, [int end]);
27359 }
27360 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
27361 // for details. All rights reserved. Use of this source code is governed by a
27362 // BSD-style license that can be found in the LICENSE file.
27363
27364 // WARNING: Do not edit - generated code.
27365
27366 interface Uint32Array extends ArrayBufferView, List<int> default _TypedArrayFact oryProvider {
27367
27368 Uint32Array(int length);
27369
27370 Uint32Array.fromList(List<int> list);
27371
27372 Uint32Array.fromBuffer(ArrayBuffer buffer);
27373
27374 static final int BYTES_PER_ELEMENT = 4;
27375
27376 final int length;
27377
27378 void setElements(Object array, [int offset]);
27379
27380 Uint32Array subarray(int start, [int end]);
27381 }
27382 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
27383 // for details. All rights reserved. Use of this source code is governed by a
27384 // BSD-style license that can be found in the LICENSE file.
27385
27386 // WARNING: Do not edit - generated code.
27387
27388 interface Uint8Array extends ArrayBufferView, List<int> default _TypedArrayFacto ryProvider {
27389
27390 Uint8Array(int length);
27391
27392 Uint8Array.fromList(List<int> list);
27393
27394 Uint8Array.fromBuffer(ArrayBuffer buffer);
27395
27396 static final int BYTES_PER_ELEMENT = 1;
27397
27398 final int length;
27399
27400 void setElements(Object array, [int offset]);
27401
27402 Uint8Array subarray(int start, [int end]);
27403 }
27404 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
27405 // for details. All rights reserved. Use of this source code is governed by a
27406 // BSD-style license that can be found in the LICENSE file.
27407
27408 // WARNING: Do not edit - generated code.
27409
27410 interface Uint8ClampedArray extends Uint8Array default _TypedArrayFactoryProvide r {
27411
27412 Uint8ClampedArray(int length);
27413
27414 Uint8ClampedArray.fromList(List<int> list);
27415
27416 Uint8ClampedArray.fromBuffer(ArrayBuffer buffer);
27417
27418 final int length;
27419
27420 Uint8ClampedArray subarray(int start, [int end]);
27421 }
27422 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
27423 // for details. All rights reserved. Use of this source code is governed by a
27424 // BSD-style license that can be found in the LICENSE file.
27425
27426 // WARNING: Do not edit - generated code.
27427
27428 interface UnknownElement extends Element {
27429 }
27430 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
27431 // for details. All rights reserved. Use of this source code is governed by a
27432 // BSD-style license that can be found in the LICENSE file.
27433
27434 // WARNING: Do not edit - generated code.
27435
27436 interface ValidityState {
27437
27438 final bool customError;
27439
27440 final bool patternMismatch;
27441
27442 final bool rangeOverflow;
27443
27444 final bool rangeUnderflow;
27445
27446 final bool stepMismatch;
27447
27448 final bool tooLong;
27449
27450 final bool typeMismatch;
27451
27452 final bool valid;
27453
27454 final bool valueMissing;
27455 }
27456 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
27457 // for details. All rights reserved. Use of this source code is governed by a
27458 // BSD-style license that can be found in the LICENSE file.
27459
27460 // WARNING: Do not edit - generated code.
27461
27462 interface VideoElement extends MediaElement {
27463
27464 int height;
27465
27466 String poster;
27467
27468 final int videoHeight;
27469
27470 final int videoWidth;
27471
27472 final int webkitDecodedFrameCount;
27473
27474 final bool webkitDisplayingFullscreen;
27475
27476 final int webkitDroppedFrameCount;
27477
27478 final bool webkitSupportsFullscreen;
27479
27480 int width;
27481
27482 void webkitEnterFullScreen();
27483
27484 void webkitEnterFullscreen();
27485
27486 void webkitExitFullScreen();
27487
27488 void webkitExitFullscreen();
27489 }
27490 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
27491 // for details. All rights reserved. Use of this source code is governed by a
27492 // BSD-style license that can be found in the LICENSE file.
27493
27494 // WARNING: Do not edit - generated code.
27495
27496 typedef void VoidCallback();
27497 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
27498 // for details. All rights reserved. Use of this source code is governed by a
27499 // BSD-style license that can be found in the LICENSE file.
27500
27501 // WARNING: Do not edit - generated code.
27502
27503 interface WaveShaperNode extends AudioNode {
27504
27505 Float32Array curve;
27506 }
27507 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
27508 // for details. All rights reserved. Use of this source code is governed by a
27509 // BSD-style license that can be found in the LICENSE file.
27510
27511 // WARNING: Do not edit - generated code.
27512
27513 interface WebGLActiveInfo {
27514
27515 final String name;
27516
27517 final int size;
27518
27519 final int type;
27520 }
27521 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
27522 // for details. All rights reserved. Use of this source code is governed by a
27523 // BSD-style license that can be found in the LICENSE file.
27524
27525 // WARNING: Do not edit - generated code.
27526
27527 interface WebGLBuffer {
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 WebGLCompressedTextures {
27536
27537 static final int COMPRESSED_RGBA_PVRTC_4BPPV1_IMG = 0x8C02;
27538
27539 static final int COMPRESSED_RGBA_S3TC_DXT1_EXT = 0x83F1;
27540
27541 static final int COMPRESSED_RGBA_S3TC_DXT5_EXT = 0x83F3;
27542
27543 static final int COMPRESSED_RGB_PVRTC_4BPPV1_IMG = 0x8C00;
27544
27545 static final int COMPRESSED_RGB_S3TC_DXT1_EXT = 0x83F0;
27546
27547 static final int ETC1_RGB8_OES = 0x8D64;
27548
27549 void compressedTexImage2D(int target, int level, int internalformat, int width , int height, int border, ArrayBufferView data);
27550
27551 void compressedTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, ArrayBufferView data);
27552 }
27553 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
27554 // for details. All rights reserved. Use of this source code is governed by a
27555 // BSD-style license that can be found in the LICENSE file.
27556
27557 // WARNING: Do not edit - generated code.
27558
27559 interface WebGLContextAttributes {
27560
27561 bool alpha;
27562
27563 bool antialias;
27564
27565 bool depth;
27566
27567 bool premultipliedAlpha;
27568
27569 bool preserveDrawingBuffer;
27570
27571 bool stencil;
27572 }
27573 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
27574 // for details. All rights reserved. Use of this source code is governed by a
27575 // BSD-style license that can be found in the LICENSE file.
27576
27577 // WARNING: Do not edit - generated code.
27578
27579 interface WebGLContextEvent extends Event {
27580
27581 final String statusMessage;
27582 }
27583 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
27584 // for details. All rights reserved. Use of this source code is governed by a
27585 // BSD-style license that can be found in the LICENSE file.
27586
27587 // WARNING: Do not edit - generated code.
27588
27589 interface WebGLDebugRendererInfo {
27590
27591 static final int UNMASKED_RENDERER_WEBGL = 0x9246;
27592
27593 static final int UNMASKED_VENDOR_WEBGL = 0x9245;
27594 }
27595 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
27596 // for details. All rights reserved. Use of this source code is governed by a
27597 // BSD-style license that can be found in the LICENSE file.
27598
27599 // WARNING: Do not edit - generated code.
27600
27601 interface WebGLDebugShaders {
27602
27603 String getTranslatedShaderSource(WebGLShader shader);
27604 }
27605 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
27606 // for details. All rights reserved. Use of this source code is governed by a
27607 // BSD-style license that can be found in the LICENSE file.
27608
27609 // WARNING: Do not edit - generated code.
27610
27611 interface WebGLFramebuffer {
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 WebGLLoseContext {
27620
27621 void loseContext();
27622
27623 void restoreContext();
27624 }
27625 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
27626 // for details. All rights reserved. Use of this source code is governed by a
27627 // BSD-style license that can be found in the LICENSE file.
27628
27629 // WARNING: Do not edit - generated code.
27630
27631 interface WebGLProgram {
27632 }
27633 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
27634 // for details. All rights reserved. Use of this source code is governed by a
27635 // BSD-style license that can be found in the LICENSE file.
27636
27637 // WARNING: Do not edit - generated code.
27638
27639 interface WebGLRenderbuffer {
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 WebGLRenderingContext extends CanvasRenderingContext {
27648
27649 static final int ACTIVE_ATTRIBUTES = 0x8B89;
27650
27651 static final int ACTIVE_TEXTURE = 0x84E0;
27652
27653 static final int ACTIVE_UNIFORMS = 0x8B86;
27654
27655 static final int ALIASED_LINE_WIDTH_RANGE = 0x846E;
27656
27657 static final int ALIASED_POINT_SIZE_RANGE = 0x846D;
27658
27659 static final int ALPHA = 0x1906;
27660
27661 static final int ALPHA_BITS = 0x0D55;
27662
27663 static final int ALWAYS = 0x0207;
27664
27665 static final int ARRAY_BUFFER = 0x8892;
27666
27667 static final int ARRAY_BUFFER_BINDING = 0x8894;
27668
27669 static final int ATTACHED_SHADERS = 0x8B85;
27670
27671 static final int BACK = 0x0405;
27672
27673 static final int BLEND = 0x0BE2;
27674
27675 static final int BLEND_COLOR = 0x8005;
27676
27677 static final int BLEND_DST_ALPHA = 0x80CA;
27678
27679 static final int BLEND_DST_RGB = 0x80C8;
27680
27681 static final int BLEND_EQUATION = 0x8009;
27682
27683 static final int BLEND_EQUATION_ALPHA = 0x883D;
27684
27685 static final int BLEND_EQUATION_RGB = 0x8009;
27686
27687 static final int BLEND_SRC_ALPHA = 0x80CB;
27688
27689 static final int BLEND_SRC_RGB = 0x80C9;
27690
27691 static final int BLUE_BITS = 0x0D54;
27692
27693 static final int BOOL = 0x8B56;
27694
27695 static final int BOOL_VEC2 = 0x8B57;
27696
27697 static final int BOOL_VEC3 = 0x8B58;
27698
27699 static final int BOOL_VEC4 = 0x8B59;
27700
27701 static final int BROWSER_DEFAULT_WEBGL = 0x9244;
27702
27703 static final int BUFFER_SIZE = 0x8764;
27704
27705 static final int BUFFER_USAGE = 0x8765;
27706
27707 static final int BYTE = 0x1400;
27708
27709 static final int CCW = 0x0901;
27710
27711 static final int CLAMP_TO_EDGE = 0x812F;
27712
27713 static final int COLOR_ATTACHMENT0 = 0x8CE0;
27714
27715 static final int COLOR_BUFFER_BIT = 0x00004000;
27716
27717 static final int COLOR_CLEAR_VALUE = 0x0C22;
27718
27719 static final int COLOR_WRITEMASK = 0x0C23;
27720
27721 static final int COMPILE_STATUS = 0x8B81;
27722
27723 static final int COMPRESSED_TEXTURE_FORMATS = 0x86A3;
27724
27725 static final int CONSTANT_ALPHA = 0x8003;
27726
27727 static final int CONSTANT_COLOR = 0x8001;
27728
27729 static final int CONTEXT_LOST_WEBGL = 0x9242;
27730
27731 static final int CULL_FACE = 0x0B44;
27732
27733 static final int CULL_FACE_MODE = 0x0B45;
27734
27735 static final int CURRENT_PROGRAM = 0x8B8D;
27736
27737 static final int CURRENT_VERTEX_ATTRIB = 0x8626;
27738
27739 static final int CW = 0x0900;
27740
27741 static final int DECR = 0x1E03;
27742
27743 static final int DECR_WRAP = 0x8508;
27744
27745 static final int DELETE_STATUS = 0x8B80;
27746
27747 static final int DEPTH_ATTACHMENT = 0x8D00;
27748
27749 static final int DEPTH_BITS = 0x0D56;
27750
27751 static final int DEPTH_BUFFER_BIT = 0x00000100;
27752
27753 static final int DEPTH_CLEAR_VALUE = 0x0B73;
27754
27755 static final int DEPTH_COMPONENT = 0x1902;
27756
27757 static final int DEPTH_COMPONENT16 = 0x81A5;
27758
27759 static final int DEPTH_FUNC = 0x0B74;
27760
27761 static final int DEPTH_RANGE = 0x0B70;
27762
27763 static final int DEPTH_STENCIL = 0x84F9;
27764
27765 static final int DEPTH_STENCIL_ATTACHMENT = 0x821A;
27766
27767 static final int DEPTH_TEST = 0x0B71;
27768
27769 static final int DEPTH_WRITEMASK = 0x0B72;
27770
27771 static final int DITHER = 0x0BD0;
27772
27773 static final int DONT_CARE = 0x1100;
27774
27775 static final int DST_ALPHA = 0x0304;
27776
27777 static final int DST_COLOR = 0x0306;
27778
27779 static final int DYNAMIC_DRAW = 0x88E8;
27780
27781 static final int ELEMENT_ARRAY_BUFFER = 0x8893;
27782
27783 static final int ELEMENT_ARRAY_BUFFER_BINDING = 0x8895;
27784
27785 static final int EQUAL = 0x0202;
27786
27787 static final int FASTEST = 0x1101;
27788
27789 static final int FLOAT = 0x1406;
27790
27791 static final int FLOAT_MAT2 = 0x8B5A;
27792
27793 static final int FLOAT_MAT3 = 0x8B5B;
27794
27795 static final int FLOAT_MAT4 = 0x8B5C;
27796
27797 static final int FLOAT_VEC2 = 0x8B50;
27798
27799 static final int FLOAT_VEC3 = 0x8B51;
27800
27801 static final int FLOAT_VEC4 = 0x8B52;
27802
27803 static final int FRAGMENT_SHADER = 0x8B30;
27804
27805 static final int FRAMEBUFFER = 0x8D40;
27806
27807 static final int FRAMEBUFFER_ATTACHMENT_OBJECT_NAME = 0x8CD1;
27808
27809 static final int FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE = 0x8CD0;
27810
27811 static final int FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE = 0x8CD3;
27812
27813 static final int FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL = 0x8CD2;
27814
27815 static final int FRAMEBUFFER_BINDING = 0x8CA6;
27816
27817 static final int FRAMEBUFFER_COMPLETE = 0x8CD5;
27818
27819 static final int FRAMEBUFFER_INCOMPLETE_ATTACHMENT = 0x8CD6;
27820
27821 static final int FRAMEBUFFER_INCOMPLETE_DIMENSIONS = 0x8CD9;
27822
27823 static final int FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT = 0x8CD7;
27824
27825 static final int FRAMEBUFFER_UNSUPPORTED = 0x8CDD;
27826
27827 static final int FRONT = 0x0404;
27828
27829 static final int FRONT_AND_BACK = 0x0408;
27830
27831 static final int FRONT_FACE = 0x0B46;
27832
27833 static final int FUNC_ADD = 0x8006;
27834
27835 static final int FUNC_REVERSE_SUBTRACT = 0x800B;
27836
27837 static final int FUNC_SUBTRACT = 0x800A;
27838
27839 static final int GENERATE_MIPMAP_HINT = 0x8192;
27840
27841 static final int GEQUAL = 0x0206;
27842
27843 static final int GREATER = 0x0204;
27844
27845 static final int GREEN_BITS = 0x0D53;
27846
27847 static final int HIGH_FLOAT = 0x8DF2;
27848
27849 static final int HIGH_INT = 0x8DF5;
27850
27851 static final int INCR = 0x1E02;
27852
27853 static final int INCR_WRAP = 0x8507;
27854
27855 static final int INT = 0x1404;
27856
27857 static final int INT_VEC2 = 0x8B53;
27858
27859 static final int INT_VEC3 = 0x8B54;
27860
27861 static final int INT_VEC4 = 0x8B55;
27862
27863 static final int INVALID_ENUM = 0x0500;
27864
27865 static final int INVALID_FRAMEBUFFER_OPERATION = 0x0506;
27866
27867 static final int INVALID_OPERATION = 0x0502;
27868
27869 static final int INVALID_VALUE = 0x0501;
27870
27871 static final int INVERT = 0x150A;
27872
27873 static final int KEEP = 0x1E00;
27874
27875 static final int LEQUAL = 0x0203;
27876
27877 static final int LESS = 0x0201;
27878
27879 static final int LINEAR = 0x2601;
27880
27881 static final int LINEAR_MIPMAP_LINEAR = 0x2703;
27882
27883 static final int LINEAR_MIPMAP_NEAREST = 0x2701;
27884
27885 static final int LINES = 0x0001;
27886
27887 static final int LINE_LOOP = 0x0002;
27888
27889 static final int LINE_STRIP = 0x0003;
27890
27891 static final int LINE_WIDTH = 0x0B21;
27892
27893 static final int LINK_STATUS = 0x8B82;
27894
27895 static final int LOW_FLOAT = 0x8DF0;
27896
27897 static final int LOW_INT = 0x8DF3;
27898
27899 static final int LUMINANCE = 0x1909;
27900
27901 static final int LUMINANCE_ALPHA = 0x190A;
27902
27903 static final int MAX_COMBINED_TEXTURE_IMAGE_UNITS = 0x8B4D;
27904
27905 static final int MAX_CUBE_MAP_TEXTURE_SIZE = 0x851C;
27906
27907 static final int MAX_FRAGMENT_UNIFORM_VECTORS = 0x8DFD;
27908
27909 static final int MAX_RENDERBUFFER_SIZE = 0x84E8;
27910
27911 static final int MAX_TEXTURE_IMAGE_UNITS = 0x8872;
27912
27913 static final int MAX_TEXTURE_SIZE = 0x0D33;
27914
27915 static final int MAX_VARYING_VECTORS = 0x8DFC;
27916
27917 static final int MAX_VERTEX_ATTRIBS = 0x8869;
27918
27919 static final int MAX_VERTEX_TEXTURE_IMAGE_UNITS = 0x8B4C;
27920
27921 static final int MAX_VERTEX_UNIFORM_VECTORS = 0x8DFB;
27922
27923 static final int MAX_VIEWPORT_DIMS = 0x0D3A;
27924
27925 static final int MEDIUM_FLOAT = 0x8DF1;
27926
27927 static final int MEDIUM_INT = 0x8DF4;
27928
27929 static final int MIRRORED_REPEAT = 0x8370;
27930
27931 static final int NEAREST = 0x2600;
27932
27933 static final int NEAREST_MIPMAP_LINEAR = 0x2702;
27934
27935 static final int NEAREST_MIPMAP_NEAREST = 0x2700;
27936
27937 static final int NEVER = 0x0200;
27938
27939 static final int NICEST = 0x1102;
27940
27941 static final int NONE = 0;
27942
27943 static final int NOTEQUAL = 0x0205;
27944
27945 static final int NO_ERROR = 0;
27946
27947 static final int NUM_COMPRESSED_TEXTURE_FORMATS = 0x86A2;
27948
27949 static final int ONE = 1;
27950
27951 static final int ONE_MINUS_CONSTANT_ALPHA = 0x8004;
27952
27953 static final int ONE_MINUS_CONSTANT_COLOR = 0x8002;
27954
27955 static final int ONE_MINUS_DST_ALPHA = 0x0305;
27956
27957 static final int ONE_MINUS_DST_COLOR = 0x0307;
27958
27959 static final int ONE_MINUS_SRC_ALPHA = 0x0303;
27960
27961 static final int ONE_MINUS_SRC_COLOR = 0x0301;
27962
27963 static final int OUT_OF_MEMORY = 0x0505;
27964
27965 static final int PACK_ALIGNMENT = 0x0D05;
27966
27967 static final int POINTS = 0x0000;
27968
27969 static final int POLYGON_OFFSET_FACTOR = 0x8038;
27970
27971 static final int POLYGON_OFFSET_FILL = 0x8037;
27972
27973 static final int POLYGON_OFFSET_UNITS = 0x2A00;
27974
27975 static final int RED_BITS = 0x0D52;
27976
27977 static final int RENDERBUFFER = 0x8D41;
27978
27979 static final int RENDERBUFFER_ALPHA_SIZE = 0x8D53;
27980
27981 static final int RENDERBUFFER_BINDING = 0x8CA7;
27982
27983 static final int RENDERBUFFER_BLUE_SIZE = 0x8D52;
27984
27985 static final int RENDERBUFFER_DEPTH_SIZE = 0x8D54;
27986
27987 static final int RENDERBUFFER_GREEN_SIZE = 0x8D51;
27988
27989 static final int RENDERBUFFER_HEIGHT = 0x8D43;
27990
27991 static final int RENDERBUFFER_INTERNAL_FORMAT = 0x8D44;
27992
27993 static final int RENDERBUFFER_RED_SIZE = 0x8D50;
27994
27995 static final int RENDERBUFFER_STENCIL_SIZE = 0x8D55;
27996
27997 static final int RENDERBUFFER_WIDTH = 0x8D42;
27998
27999 static final int RENDERER = 0x1F01;
28000
28001 static final int REPEAT = 0x2901;
28002
28003 static final int REPLACE = 0x1E01;
28004
28005 static final int RGB = 0x1907;
28006
28007 static final int RGB565 = 0x8D62;
28008
28009 static final int RGB5_A1 = 0x8057;
28010
28011 static final int RGBA = 0x1908;
28012
28013 static final int RGBA4 = 0x8056;
28014
28015 static final int SAMPLER_2D = 0x8B5E;
28016
28017 static final int SAMPLER_CUBE = 0x8B60;
28018
28019 static final int SAMPLES = 0x80A9;
28020
28021 static final int SAMPLE_ALPHA_TO_COVERAGE = 0x809E;
28022
28023 static final int SAMPLE_BUFFERS = 0x80A8;
28024
28025 static final int SAMPLE_COVERAGE = 0x80A0;
28026
28027 static final int SAMPLE_COVERAGE_INVERT = 0x80AB;
28028
28029 static final int SAMPLE_COVERAGE_VALUE = 0x80AA;
28030
28031 static final int SCISSOR_BOX = 0x0C10;
28032
28033 static final int SCISSOR_TEST = 0x0C11;
28034
28035 static final int SHADER_COMPILER = 0x8DFA;
28036
28037 static final int SHADER_TYPE = 0x8B4F;
28038
28039 static final int SHADING_LANGUAGE_VERSION = 0x8B8C;
28040
28041 static final int SHORT = 0x1402;
28042
28043 static final int SRC_ALPHA = 0x0302;
28044
28045 static final int SRC_ALPHA_SATURATE = 0x0308;
28046
28047 static final int SRC_COLOR = 0x0300;
28048
28049 static final int STATIC_DRAW = 0x88E4;
28050
28051 static final int STENCIL_ATTACHMENT = 0x8D20;
28052
28053 static final int STENCIL_BACK_FAIL = 0x8801;
28054
28055 static final int STENCIL_BACK_FUNC = 0x8800;
28056
28057 static final int STENCIL_BACK_PASS_DEPTH_FAIL = 0x8802;
28058
28059 static final int STENCIL_BACK_PASS_DEPTH_PASS = 0x8803;
28060
28061 static final int STENCIL_BACK_REF = 0x8CA3;
28062
28063 static final int STENCIL_BACK_VALUE_MASK = 0x8CA4;
28064
28065 static final int STENCIL_BACK_WRITEMASK = 0x8CA5;
28066
28067 static final int STENCIL_BITS = 0x0D57;
28068
28069 static final int STENCIL_BUFFER_BIT = 0x00000400;
28070
28071 static final int STENCIL_CLEAR_VALUE = 0x0B91;
28072
28073 static final int STENCIL_FAIL = 0x0B94;
28074
28075 static final int STENCIL_FUNC = 0x0B92;
28076
28077 static final int STENCIL_INDEX = 0x1901;
28078
28079 static final int STENCIL_INDEX8 = 0x8D48;
28080
28081 static final int STENCIL_PASS_DEPTH_FAIL = 0x0B95;
28082
28083 static final int STENCIL_PASS_DEPTH_PASS = 0x0B96;
28084
28085 static final int STENCIL_REF = 0x0B97;
28086
28087 static final int STENCIL_TEST = 0x0B90;
28088
28089 static final int STENCIL_VALUE_MASK = 0x0B93;
28090
28091 static final int STENCIL_WRITEMASK = 0x0B98;
28092
28093 static final int STREAM_DRAW = 0x88E0;
28094
28095 static final int SUBPIXEL_BITS = 0x0D50;
28096
28097 static final int TEXTURE = 0x1702;
28098
28099 static final int TEXTURE0 = 0x84C0;
28100
28101 static final int TEXTURE1 = 0x84C1;
28102
28103 static final int TEXTURE10 = 0x84CA;
28104
28105 static final int TEXTURE11 = 0x84CB;
28106
28107 static final int TEXTURE12 = 0x84CC;
28108
28109 static final int TEXTURE13 = 0x84CD;
28110
28111 static final int TEXTURE14 = 0x84CE;
28112
28113 static final int TEXTURE15 = 0x84CF;
28114
28115 static final int TEXTURE16 = 0x84D0;
28116
28117 static final int TEXTURE17 = 0x84D1;
28118
28119 static final int TEXTURE18 = 0x84D2;
28120
28121 static final int TEXTURE19 = 0x84D3;
28122
28123 static final int TEXTURE2 = 0x84C2;
28124
28125 static final int TEXTURE20 = 0x84D4;
28126
28127 static final int TEXTURE21 = 0x84D5;
28128
28129 static final int TEXTURE22 = 0x84D6;
28130
28131 static final int TEXTURE23 = 0x84D7;
28132
28133 static final int TEXTURE24 = 0x84D8;
28134
28135 static final int TEXTURE25 = 0x84D9;
28136
28137 static final int TEXTURE26 = 0x84DA;
28138
28139 static final int TEXTURE27 = 0x84DB;
28140
28141 static final int TEXTURE28 = 0x84DC;
28142
28143 static final int TEXTURE29 = 0x84DD;
28144
28145 static final int TEXTURE3 = 0x84C3;
28146
28147 static final int TEXTURE30 = 0x84DE;
28148
28149 static final int TEXTURE31 = 0x84DF;
28150
28151 static final int TEXTURE4 = 0x84C4;
28152
28153 static final int TEXTURE5 = 0x84C5;
28154
28155 static final int TEXTURE6 = 0x84C6;
28156
28157 static final int TEXTURE7 = 0x84C7;
28158
28159 static final int TEXTURE8 = 0x84C8;
28160
28161 static final int TEXTURE9 = 0x84C9;
28162
28163 static final int TEXTURE_2D = 0x0DE1;
28164
28165 static final int TEXTURE_BINDING_2D = 0x8069;
28166
28167 static final int TEXTURE_BINDING_CUBE_MAP = 0x8514;
28168
28169 static final int TEXTURE_CUBE_MAP = 0x8513;
28170
28171 static final int TEXTURE_CUBE_MAP_NEGATIVE_X = 0x8516;
28172
28173 static final int TEXTURE_CUBE_MAP_NEGATIVE_Y = 0x8518;
28174
28175 static final int TEXTURE_CUBE_MAP_NEGATIVE_Z = 0x851A;
28176
28177 static final int TEXTURE_CUBE_MAP_POSITIVE_X = 0x8515;
28178
28179 static final int TEXTURE_CUBE_MAP_POSITIVE_Y = 0x8517;
28180
28181 static final int TEXTURE_CUBE_MAP_POSITIVE_Z = 0x8519;
28182
28183 static final int TEXTURE_MAG_FILTER = 0x2800;
28184
28185 static final int TEXTURE_MIN_FILTER = 0x2801;
28186
28187 static final int TEXTURE_WRAP_S = 0x2802;
28188
28189 static final int TEXTURE_WRAP_T = 0x2803;
28190
28191 static final int TRIANGLES = 0x0004;
28192
28193 static final int TRIANGLE_FAN = 0x0006;
28194
28195 static final int TRIANGLE_STRIP = 0x0005;
28196
28197 static final int UNPACK_ALIGNMENT = 0x0CF5;
28198
28199 static final int UNPACK_COLORSPACE_CONVERSION_WEBGL = 0x9243;
28200
28201 static final int UNPACK_FLIP_Y_WEBGL = 0x9240;
28202
28203 static final int UNPACK_PREMULTIPLY_ALPHA_WEBGL = 0x9241;
28204
28205 static final int UNSIGNED_BYTE = 0x1401;
28206
28207 static final int UNSIGNED_INT = 0x1405;
28208
28209 static final int UNSIGNED_SHORT = 0x1403;
28210
28211 static final int UNSIGNED_SHORT_4_4_4_4 = 0x8033;
28212
28213 static final int UNSIGNED_SHORT_5_5_5_1 = 0x8034;
28214
28215 static final int UNSIGNED_SHORT_5_6_5 = 0x8363;
28216
28217 static final int VALIDATE_STATUS = 0x8B83;
28218
28219 static final int VENDOR = 0x1F00;
28220
28221 static final int VERSION = 0x1F02;
28222
28223 static final int VERTEX_ATTRIB_ARRAY_BUFFER_BINDING = 0x889F;
28224
28225 static final int VERTEX_ATTRIB_ARRAY_ENABLED = 0x8622;
28226
28227 static final int VERTEX_ATTRIB_ARRAY_NORMALIZED = 0x886A;
28228
28229 static final int VERTEX_ATTRIB_ARRAY_POINTER = 0x8645;
28230
28231 static final int VERTEX_ATTRIB_ARRAY_SIZE = 0x8623;
28232
28233 static final int VERTEX_ATTRIB_ARRAY_STRIDE = 0x8624;
28234
28235 static final int VERTEX_ATTRIB_ARRAY_TYPE = 0x8625;
28236
28237 static final int VERTEX_SHADER = 0x8B31;
28238
28239 static final int VIEWPORT = 0x0BA2;
28240
28241 static final int ZERO = 0;
28242
28243 final int drawingBufferHeight;
28244
28245 final int drawingBufferWidth;
28246
28247 void activeTexture(int texture);
28248
28249 void attachShader(WebGLProgram program, WebGLShader shader);
28250
28251 void bindAttribLocation(WebGLProgram program, int index, String name);
28252
28253 void bindBuffer(int target, WebGLBuffer buffer);
28254
28255 void bindFramebuffer(int target, WebGLFramebuffer framebuffer);
28256
28257 void bindRenderbuffer(int target, WebGLRenderbuffer renderbuffer);
28258
28259 void bindTexture(int target, WebGLTexture texture);
28260
28261 void blendColor(num red, num green, num blue, num alpha);
28262
28263 void blendEquation(int mode);
28264
28265 void blendEquationSeparate(int modeRGB, int modeAlpha);
28266
28267 void blendFunc(int sfactor, int dfactor);
28268
28269 void blendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha);
28270
28271 void bufferData(int target, var data_OR_size, int usage);
28272
28273 void bufferSubData(int target, int offset, var data);
28274
28275 int checkFramebufferStatus(int target);
28276
28277 void clear(int mask);
28278
28279 void clearColor(num red, num green, num blue, num alpha);
28280
28281 void clearDepth(num depth);
28282
28283 void clearStencil(int s);
28284
28285 void colorMask(bool red, bool green, bool blue, bool alpha);
28286
28287 void compileShader(WebGLShader shader);
28288
28289 void compressedTexImage2D(int target, int level, int internalformat, int width , int height, int border, ArrayBufferView data);
28290
28291 void compressedTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, ArrayBufferView data);
28292
28293 void copyTexImage2D(int target, int level, int internalformat, int x, int y, i nt width, int height, int border);
28294
28295 void copyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x, int y, int width, int height);
28296
28297 WebGLBuffer createBuffer();
28298
28299 WebGLFramebuffer createFramebuffer();
28300
28301 WebGLProgram createProgram();
28302
28303 WebGLRenderbuffer createRenderbuffer();
28304
28305 WebGLShader createShader(int type);
28306
28307 WebGLTexture createTexture();
28308
28309 void cullFace(int mode);
28310
28311 void deleteBuffer(WebGLBuffer buffer);
28312
28313 void deleteFramebuffer(WebGLFramebuffer framebuffer);
28314
28315 void deleteProgram(WebGLProgram program);
28316
28317 void deleteRenderbuffer(WebGLRenderbuffer renderbuffer);
28318
28319 void deleteShader(WebGLShader shader);
28320
28321 void deleteTexture(WebGLTexture texture);
28322
28323 void depthFunc(int func);
28324
28325 void depthMask(bool flag);
28326
28327 void depthRange(num zNear, num zFar);
28328
28329 void detachShader(WebGLProgram program, WebGLShader shader);
28330
28331 void disable(int cap);
28332
28333 void disableVertexAttribArray(int index);
28334
28335 void drawArrays(int mode, int first, int count);
28336
28337 void drawElements(int mode, int count, int type, int offset);
28338
28339 void enable(int cap);
28340
28341 void enableVertexAttribArray(int index);
28342
28343 void finish();
28344
28345 void flush();
28346
28347 void framebufferRenderbuffer(int target, int attachment, int renderbuffertarge t, WebGLRenderbuffer renderbuffer);
28348
28349 void framebufferTexture2D(int target, int attachment, int textarget, WebGLText ure texture, int level);
28350
28351 void frontFace(int mode);
28352
28353 void generateMipmap(int target);
28354
28355 WebGLActiveInfo getActiveAttrib(WebGLProgram program, int index);
28356
28357 WebGLActiveInfo getActiveUniform(WebGLProgram program, int index);
28358
28359 List getAttachedShaders(WebGLProgram program);
28360
28361 int getAttribLocation(WebGLProgram program, String name);
28362
28363 Object getBufferParameter(int target, int pname);
28364
28365 WebGLContextAttributes getContextAttributes();
28366
28367 int getError();
28368
28369 Object getExtension(String name);
28370
28371 Object getFramebufferAttachmentParameter(int target, int attachment, int pname );
28372
28373 Object getParameter(int pname);
28374
28375 String getProgramInfoLog(WebGLProgram program);
28376
28377 Object getProgramParameter(WebGLProgram program, int pname);
28378
28379 Object getRenderbufferParameter(int target, int pname);
28380
28381 String getShaderInfoLog(WebGLShader shader);
28382
28383 Object getShaderParameter(WebGLShader shader, int pname);
28384
28385 String getShaderSource(WebGLShader shader);
28386
28387 Object getTexParameter(int target, int pname);
28388
28389 Object getUniform(WebGLProgram program, WebGLUniformLocation location);
28390
28391 WebGLUniformLocation getUniformLocation(WebGLProgram program, String name);
28392
28393 Object getVertexAttrib(int index, int pname);
28394
28395 int getVertexAttribOffset(int index, int pname);
28396
28397 void hint(int target, int mode);
28398
28399 bool isBuffer(WebGLBuffer buffer);
28400
28401 bool isContextLost();
28402
28403 bool isEnabled(int cap);
28404
28405 bool isFramebuffer(WebGLFramebuffer framebuffer);
28406
28407 bool isProgram(WebGLProgram program);
28408
28409 bool isRenderbuffer(WebGLRenderbuffer renderbuffer);
28410
28411 bool isShader(WebGLShader shader);
28412
28413 bool isTexture(WebGLTexture texture);
28414
28415 void lineWidth(num width);
28416
28417 void linkProgram(WebGLProgram program);
28418
28419 void pixelStorei(int pname, int param);
28420
28421 void polygonOffset(num factor, num units);
28422
28423 void readPixels(int x, int y, int width, int height, int format, int type, Arr ayBufferView pixels);
28424
28425 void releaseShaderCompiler();
28426
28427 void renderbufferStorage(int target, int internalformat, int width, int height );
28428
28429 void sampleCoverage(num value, bool invert);
28430
28431 void scissor(int x, int y, int width, int height);
28432
28433 void shaderSource(WebGLShader shader, String string);
28434
28435 void stencilFunc(int func, int ref, int mask);
28436
28437 void stencilFuncSeparate(int face, int func, int ref, int mask);
28438
28439 void stencilMask(int mask);
28440
28441 void stencilMaskSeparate(int face, int mask);
28442
28443 void stencilOp(int fail, int zfail, int zpass);
28444
28445 void stencilOpSeparate(int face, int fail, int zfail, int zpass);
28446
28447 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]);
28448
28449 void texParameterf(int target, int pname, num param);
28450
28451 void texParameteri(int target, int pname, int param);
28452
28453 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]);
28454
28455 void uniform1f(WebGLUniformLocation location, num x);
28456
28457 void uniform1fv(WebGLUniformLocation location, Float32Array v);
28458
28459 void uniform1i(WebGLUniformLocation location, int x);
28460
28461 void uniform1iv(WebGLUniformLocation location, Int32Array v);
28462
28463 void uniform2f(WebGLUniformLocation location, num x, num y);
28464
28465 void uniform2fv(WebGLUniformLocation location, Float32Array v);
28466
28467 void uniform2i(WebGLUniformLocation location, int x, int y);
28468
28469 void uniform2iv(WebGLUniformLocation location, Int32Array v);
28470
28471 void uniform3f(WebGLUniformLocation location, num x, num y, num z);
28472
28473 void uniform3fv(WebGLUniformLocation location, Float32Array v);
28474
28475 void uniform3i(WebGLUniformLocation location, int x, int y, int z);
28476
28477 void uniform3iv(WebGLUniformLocation location, Int32Array v);
28478
28479 void uniform4f(WebGLUniformLocation location, num x, num y, num z, num w);
28480
28481 void uniform4fv(WebGLUniformLocation location, Float32Array v);
28482
28483 void uniform4i(WebGLUniformLocation location, int x, int y, int z, int w);
28484
28485 void uniform4iv(WebGLUniformLocation location, Int32Array v);
28486
28487 void uniformMatrix2fv(WebGLUniformLocation location, bool transpose, Float32Ar ray array);
28488
28489 void uniformMatrix3fv(WebGLUniformLocation location, bool transpose, Float32Ar ray array);
28490
28491 void uniformMatrix4fv(WebGLUniformLocation location, bool transpose, Float32Ar ray array);
28492
28493 void useProgram(WebGLProgram program);
28494
28495 void validateProgram(WebGLProgram program);
28496
28497 void vertexAttrib1f(int indx, num x);
28498
28499 void vertexAttrib1fv(int indx, Float32Array values);
28500
28501 void vertexAttrib2f(int indx, num x, num y);
28502
28503 void vertexAttrib2fv(int indx, Float32Array values);
28504
28505 void vertexAttrib3f(int indx, num x, num y, num z);
28506
28507 void vertexAttrib3fv(int indx, Float32Array values);
28508
28509 void vertexAttrib4f(int indx, num x, num y, num z, num w);
28510
28511 void vertexAttrib4fv(int indx, Float32Array values);
28512
28513 void vertexAttribPointer(int indx, int size, int type, bool normalized, int st ride, int offset);
28514
28515 void viewport(int x, int y, int width, int height);
28516 }
28517 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
28518 // for details. All rights reserved. Use of this source code is governed by a
28519 // BSD-style license that can be found in the LICENSE file.
28520
28521 // WARNING: Do not edit - generated code.
28522
28523 interface WebGLShader {
28524 }
28525 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
28526 // for details. All rights reserved. Use of this source code is governed by a
28527 // BSD-style license that can be found in the LICENSE file.
28528
28529 // WARNING: Do not edit - generated code.
28530
28531 interface WebGLTexture {
28532 }
28533 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
28534 // for details. All rights reserved. Use of this source code is governed by a
28535 // BSD-style license that can be found in the LICENSE file.
28536
28537 // WARNING: Do not edit - generated code.
28538
28539 interface WebGLUniformLocation {
28540 }
28541 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
28542 // for details. All rights reserved. Use of this source code is governed by a
28543 // BSD-style license that can be found in the LICENSE file.
28544
28545 // WARNING: Do not edit - generated code.
28546
28547 interface WebGLVertexArrayObjectOES {
28548 }
28549 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
28550 // for details. All rights reserved. Use of this source code is governed by a
28551 // BSD-style license that can be found in the LICENSE file.
28552
28553 // WARNING: Do not edit - generated code.
28554
28555 interface WebKitCSSRegionRule extends CSSRule {
28556
28557 final CSSRuleList cssRules;
28558 }
28559 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
28560 // for details. All rights reserved. Use of this source code is governed by a
28561 // BSD-style license that can be found in the LICENSE file.
28562
28563 // WARNING: Do not edit - generated code.
28564
28565 interface WebKitNamedFlow {
28566 }
28567 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
28568 // for details. All rights reserved. Use of this source code is governed by a
28569 // BSD-style license that can be found in the LICENSE file.
28570
28571 // WARNING: Do not edit - generated code.
28572
28573 interface WebSocket extends EventTarget {
28574
28575 static final int CLOSED = 3;
28576
28577 static final int CLOSING = 2;
28578
28579 static final int CONNECTING = 0;
28580
28581 static final int OPEN = 1;
28582
28583 final String URL;
28584
28585 String binaryType;
28586
28587 final int bufferedAmount;
28588
28589 final String extensions;
28590
28591 final String protocol;
28592
28593 final int readyState;
28594
28595 final String url;
28596
28597 WebSocketEvents get on();
28598
28599 void close([int code, String reason]);
28600
28601 bool send(String data);
28602 }
28603
28604 interface WebSocketEvents extends Events {
28605
28606 EventListenerList get close();
28607
28608 EventListenerList get error();
28609
28610 EventListenerList get message();
28611
28612 EventListenerList get open();
28613 }
28614 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
28615 // for details. All rights reserved. Use of this source code is governed by a
28616 // BSD-style license that can be found in the LICENSE file.
28617
28618 // WARNING: Do not edit - generated code.
28619
28620 interface WheelEvent extends UIEvent {
28621
28622 final bool altKey;
28623
28624 final int clientX;
28625
28626 final int clientY;
28627
28628 final bool ctrlKey;
28629
28630 final bool metaKey;
28631
28632 final int offsetX;
28633
28634 final int offsetY;
28635
28636 final int screenX;
28637
28638 final int screenY;
28639
28640 final bool shiftKey;
28641
28642 final bool webkitDirectionInvertedFromDevice;
28643
28644 final int wheelDelta;
28645
28646 final int wheelDeltaX;
28647
28648 final int wheelDeltaY;
28649
28650 final int x;
28651
28652 final int y;
28653
28654 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);
28655 }
28656 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
28657 // for details. All rights reserved. Use of this source code is governed by a
28658 // BSD-style license that can be found in the LICENSE file.
28659
28660 // WARNING: Do not edit - generated code.
28661
28662 interface Window extends EventTarget {
28663
28664 final Document document;
28665
28666 /**
28667 * Executes a [callback] after the next batch of browser layout measurements
28668 * has completed or would have completed if any browser layout measurements
28669 * had been scheduled.
28670 */
28671 void requestLayoutFrame(TimeoutHandler callback);
28672
28673
28674 static final int PERSISTENT = 1;
28675
28676 static final int TEMPORARY = 0;
28677
28678 final DOMApplicationCache applicationCache;
28679
28680 Navigator clientInformation;
28681
28682 final bool closed;
28683
28684 Console console;
28685
28686 final Crypto crypto;
28687
28688 String defaultStatus;
28689
28690 String defaultstatus;
28691
28692 num devicePixelRatio;
28693
28694 Event event;
28695
28696 final Element frameElement;
28697
28698 Window frames;
28699
28700 History history;
28701
28702 int innerHeight;
28703
28704 int innerWidth;
28705
28706 int length;
28707
28708 final Storage localStorage;
28709
28710 Location location;
28711
28712 BarInfo locationbar;
28713
28714 BarInfo menubar;
28715
28716 String name;
28717
28718 Navigator navigator;
28719
28720 bool offscreenBuffering;
28721
28722 Window opener;
28723
28724 int outerHeight;
28725
28726 int outerWidth;
28727
28728 final int pageXOffset;
28729
28730 final int pageYOffset;
28731
28732 Window parent;
28733
28734 Performance performance;
28735
28736 BarInfo personalbar;
28737
28738 Screen screen;
28739
28740 int screenLeft;
28741
28742 int screenTop;
28743
28744 int screenX;
28745
28746 int screenY;
28747
28748 int scrollX;
28749
28750 int scrollY;
28751
28752 BarInfo scrollbars;
28753
28754 Window self;
28755
28756 final Storage sessionStorage;
28757
28758 String status;
28759
28760 BarInfo statusbar;
28761
28762 final StyleMedia styleMedia;
28763
28764 BarInfo toolbar;
28765
28766 Window top;
28767
28768 final IDBFactory webkitIndexedDB;
28769
28770 final NotificationCenter webkitNotifications;
28771
28772 final StorageInfo webkitStorageInfo;
28773
28774 final DOMURL webkitURL;
28775
28776 final Window window;
28777
28778 WindowEvents get on();
28779
28780 void alert(String message);
28781
28782 String atob(String string);
28783
28784 void blur();
28785
28786 String btoa(String string);
28787
28788 void captureEvents();
28789
28790 void clearInterval(int handle);
28791
28792 void clearTimeout(int handle);
28793
28794 void close();
28795
28796 bool confirm(String message);
28797
28798 bool find(String string, bool caseSensitive, bool backwards, bool wrap, bool w holeWord, bool searchInFrames, bool showDialog);
28799
28800 void focus();
28801
28802 CSSRuleList getMatchedCSSRules(Element element, String pseudoElement);
28803
28804 DOMSelection getSelection();
28805
28806 MediaQueryList matchMedia(String query);
28807
28808 void moveBy(num x, num y);
28809
28810 void moveTo(num x, num y);
28811
28812 Window open(String url, String name, [String options]);
28813
28814 Database openDatabase(String name, String version, String displayName, int est imatedSize, [DatabaseCallback creationCallback]);
28815
28816 void postMessage(Dynamic message, String targetOrigin, [List messagePorts]);
28817
28818 void print();
28819
28820 String prompt(String message, String defaultValue);
28821
28822 void releaseEvents();
28823
28824 void resizeBy(num x, num y);
28825
28826 void resizeTo(num width, num height);
28827
28828 void scroll(int x, int y);
28829
28830 void scrollBy(int x, int y);
28831
28832 void scrollTo(int x, int y);
28833
28834 int setInterval(TimeoutHandler handler, int timeout);
28835
28836 int setTimeout(TimeoutHandler handler, int timeout);
28837
28838 Object showModalDialog(String url, [Object dialogArgs, String featureArgs]);
28839
28840 void stop();
28841
28842 void webkitCancelAnimationFrame(int id);
28843
28844 void webkitCancelRequestAnimationFrame(int id);
28845
28846 Point webkitConvertPointFromNodeToPage(Node node, Point p);
28847
28848 Point webkitConvertPointFromPageToNode(Node node, Point p);
28849
28850 void webkitPostMessage(Dynamic message, String targetOrigin, [List transferLis t]);
28851
28852 int webkitRequestAnimationFrame(RequestAnimationFrameCallback callback, Elemen t element);
28853
28854 void webkitRequestFileSystem(int type, int size, FileSystemCallback successCal lback, [ErrorCallback errorCallback]);
28855
28856 void webkitResolveLocalFileSystemURL(String url, [EntryCallback successCallbac k, ErrorCallback errorCallback]);
28857
28858 }
28859
28860 interface WindowEvents extends Events {
28861
28862 EventListenerList get abort();
28863
28864 EventListenerList get animationEnd();
28865
28866 EventListenerList get animationIteration();
28867
28868 EventListenerList get animationStart();
28869
28870 EventListenerList get beforeUnload();
28871
28872 EventListenerList get blur();
28873
28874 EventListenerList get canPlay();
28875
28876 EventListenerList get canPlayThrough();
28877
28878 EventListenerList get change();
28879
28880 EventListenerList get click();
28881
28882 EventListenerList get contentLoaded();
28883
28884 EventListenerList get contextMenu();
28885
28886 EventListenerList get deviceMotion();
28887
28888 EventListenerList get deviceOrientation();
28889
28890 EventListenerList get doubleClick();
28891
28892 EventListenerList get drag();
28893
28894 EventListenerList get dragEnd();
28895
28896 EventListenerList get dragEnter();
28897
28898 EventListenerList get dragLeave();
28899
28900 EventListenerList get dragOver();
28901
28902 EventListenerList get dragStart();
28903
28904 EventListenerList get drop();
28905
28906 EventListenerList get durationChange();
28907
28908 EventListenerList get emptied();
28909
28910 EventListenerList get ended();
28911
28912 EventListenerList get error();
28913
28914 EventListenerList get focus();
28915
28916 EventListenerList get hashChange();
28917
28918 EventListenerList get input();
28919
28920 EventListenerList get invalid();
28921
28922 EventListenerList get keyDown();
28923
28924 EventListenerList get keyPress();
28925
28926 EventListenerList get keyUp();
28927
28928 EventListenerList get load();
28929
28930 EventListenerList get loadStart();
28931
28932 EventListenerList get loadedData();
28933
28934 EventListenerList get loadedMetadata();
28935
28936 EventListenerList get message();
28937
28938 EventListenerList get mouseDown();
28939
28940 EventListenerList get mouseMove();
28941
28942 EventListenerList get mouseOut();
28943
28944 EventListenerList get mouseOver();
28945
28946 EventListenerList get mouseUp();
28947
28948 EventListenerList get mouseWheel();
28949
28950 EventListenerList get offline();
28951
28952 EventListenerList get online();
28953
28954 EventListenerList get pageHide();
28955
28956 EventListenerList get pageShow();
28957
28958 EventListenerList get pause();
28959
28960 EventListenerList get play();
28961
28962 EventListenerList get playing();
28963
28964 EventListenerList get popState();
28965
28966 EventListenerList get progress();
28967
28968 EventListenerList get rateChange();
28969
28970 EventListenerList get reset();
28971
28972 EventListenerList get resize();
28973
28974 EventListenerList get scroll();
28975
28976 EventListenerList get search();
28977
28978 EventListenerList get seeked();
28979
28980 EventListenerList get seeking();
28981
28982 EventListenerList get select();
28983
28984 EventListenerList get stalled();
28985
28986 EventListenerList get storage();
28987
28988 EventListenerList get submit();
28989
28990 EventListenerList get suspend();
28991
28992 EventListenerList get timeUpdate();
28993
28994 EventListenerList get touchCancel();
28995
28996 EventListenerList get touchEnd();
28997
28998 EventListenerList get touchMove();
28999
29000 EventListenerList get touchStart();
29001
29002 EventListenerList get transitionEnd();
29003
29004 EventListenerList get unload();
29005
29006 EventListenerList get volumeChange();
29007
29008 EventListenerList get waiting();
29009 }
29010 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
29011 // for details. All rights reserved. Use of this source code is governed by a
29012 // BSD-style license that can be found in the LICENSE file.
29013
29014 // WARNING: Do not edit - generated code.
29015
29016 interface Worker extends AbstractWorker {
29017
29018 WorkerEvents get on();
29019
29020 void postMessage(Dynamic message, [List messagePorts]);
29021
29022 void terminate();
29023
29024 void webkitPostMessage(Dynamic message, [List messagePorts]);
29025 }
29026
29027 interface WorkerEvents extends AbstractWorkerEvents {
29028
29029 EventListenerList get message();
29030 }
29031 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
29032 // for details. All rights reserved. Use of this source code is governed by a
29033 // BSD-style license that can be found in the LICENSE file.
29034
29035 // WARNING: Do not edit - generated code.
29036
29037 interface WorkerContext {
29038
29039 static final int PERSISTENT = 1;
29040
29041 static final int TEMPORARY = 0;
29042
29043 WorkerLocation location;
29044
29045 WorkerNavigator navigator;
29046
29047 EventListener onerror;
29048
29049 WorkerContext self;
29050
29051 final IDBFactory webkitIndexedDB;
29052
29053 final NotificationCenter webkitNotifications;
29054
29055 final DOMURL webkitURL;
29056
29057 void addEventListener(String type, EventListener listener, [bool useCapture]);
29058
29059 void clearInterval(int handle);
29060
29061 void clearTimeout(int handle);
29062
29063 void close();
29064
29065 bool dispatchEvent(Event evt);
29066
29067 void importScripts();
29068
29069 Database openDatabase(String name, String version, String displayName, int est imatedSize, [DatabaseCallback creationCallback]);
29070
29071 DatabaseSync openDatabaseSync(String name, String version, String displayName, int estimatedSize, [DatabaseCallback creationCallback]);
29072
29073 void removeEventListener(String type, EventListener listener, [bool useCapture ]);
29074
29075 int setInterval(TimeoutHandler handler, int timeout);
29076
29077 int setTimeout(TimeoutHandler handler, int timeout);
29078
29079 void webkitRequestFileSystem(int type, int size, [FileSystemCallback successCa llback, ErrorCallback errorCallback]);
29080
29081 DOMFileSystemSync webkitRequestFileSystemSync(int type, int size);
29082
29083 EntrySync webkitResolveLocalFileSystemSyncURL(String url);
29084
29085 void webkitResolveLocalFileSystemURL(String url, [EntryCallback successCallbac k, ErrorCallback errorCallback]);
29086 }
29087 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
29088 // for details. All rights reserved. Use of this source code is governed by a
29089 // BSD-style license that can be found in the LICENSE file.
29090
29091 // WARNING: Do not edit - generated code.
29092
29093 interface WorkerLocation {
29094
29095 final String hash;
29096
29097 final String host;
29098
29099 final String hostname;
29100
29101 final String href;
29102
29103 final String pathname;
29104
29105 final String port;
29106
29107 final String protocol;
29108
29109 final String search;
29110
29111 String toString();
29112 }
29113 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
29114 // for details. All rights reserved. Use of this source code is governed by a
29115 // BSD-style license that can be found in the LICENSE file.
29116
29117 // WARNING: Do not edit - generated code.
29118
29119 interface WorkerNavigator {
29120
29121 final String appName;
29122
29123 final String appVersion;
29124
29125 final bool onLine;
29126
29127 final String platform;
29128
29129 final String userAgent;
29130 }
29131 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
29132 // for details. All rights reserved. Use of this source code is governed by a
29133 // BSD-style license that can be found in the LICENSE file.
29134
29135 // WARNING: Do not edit - generated code.
29136
29137 interface XMLHttpRequest extends EventTarget default _XMLHttpRequestFactoryProvi der {
29138
29139 XMLHttpRequest();
29140
29141 // TODO(rnystrom): This name should just be "get" which is valid in Dart, but
29142 // not correctly implemented yet. (b/4970173)
29143 XMLHttpRequest.getTEMPNAME(String url, onSuccess(XMLHttpRequest request));
29144
29145 static final int DONE = 4;
29146
29147 static final int HEADERS_RECEIVED = 2;
29148
29149 static final int LOADING = 3;
29150
29151 static final int OPENED = 1;
29152
29153 static final int UNSENT = 0;
29154
29155 bool asBlob;
29156
29157 final int readyState;
29158
29159 final Object response;
29160
29161 final Blob responseBlob;
29162
29163 final String responseText;
29164
29165 String responseType;
29166
29167 final Document responseXML;
29168
29169 final int status;
29170
29171 final String statusText;
29172
29173 final XMLHttpRequestUpload upload;
29174
29175 bool withCredentials;
29176
29177 XMLHttpRequestEvents get on();
29178
29179 void abort();
29180
29181 String getAllResponseHeaders();
29182
29183 String getResponseHeader(String header);
29184
29185 void open(String method, String url, [bool async, String user, String password ]);
29186
29187 void overrideMimeType(String override);
29188
29189 void send([var data]);
29190
29191 void setRequestHeader(String header, String value);
29192 }
29193
29194 interface XMLHttpRequestEvents extends Events {
29195
29196 EventListenerList get abort();
29197
29198 EventListenerList get error();
29199
29200 EventListenerList get load();
29201
29202 EventListenerList get loadEnd();
29203
29204 EventListenerList get loadStart();
29205
29206 EventListenerList get progress();
29207
29208 EventListenerList get readyStateChange();
29209 }
29210 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
29211 // for details. All rights reserved. Use of this source code is governed by a
29212 // BSD-style license that can be found in the LICENSE file.
29213
29214 // WARNING: Do not edit - generated code.
29215
29216 interface XMLHttpRequestException {
29217
29218 static final int ABORT_ERR = 102;
29219
29220 static final int NETWORK_ERR = 101;
29221
29222 final int code;
29223
29224 final String message;
29225
29226 final String name;
29227
29228 String toString();
29229 }
29230 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
29231 // for details. All rights reserved. Use of this source code is governed by a
29232 // BSD-style license that can be found in the LICENSE file.
29233
29234 // WARNING: Do not edit - generated code.
29235
29236 interface XMLHttpRequestProgressEvent extends ProgressEvent {
29237
29238 final int position;
29239
29240 final int totalSize;
29241 }
29242 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
29243 // for details. All rights reserved. Use of this source code is governed by a
29244 // BSD-style license that can be found in the LICENSE file.
29245
29246 // WARNING: Do not edit - generated code.
29247
29248 interface XMLHttpRequestUpload extends EventTarget {
29249
29250 XMLHttpRequestUploadEvents get on();
29251 }
29252
29253 interface XMLHttpRequestUploadEvents extends Events {
29254
29255 EventListenerList get abort();
29256
29257 EventListenerList get error();
29258
29259 EventListenerList get load();
29260
29261 EventListenerList get loadEnd();
29262
29263 EventListenerList get loadStart();
29264
29265 EventListenerList get progress();
29266 }
29267 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
29268 // for details. All rights reserved. Use of this source code is governed by a
29269 // BSD-style license that can be found in the LICENSE file.
29270
29271 // WARNING: Do not edit - generated code.
29272
29273 interface XMLSerializer {
29274
29275 String serializeToString(Node node);
29276 }
29277 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
29278 // for details. All rights reserved. Use of this source code is governed by a
29279 // BSD-style license that can be found in the LICENSE file.
29280
29281 // WARNING: Do not edit - generated code.
29282
29283 interface XPathEvaluator {
29284
29285 XPathExpression createExpression(String expression, XPathNSResolver resolver);
29286
29287 XPathNSResolver createNSResolver(Node nodeResolver);
29288
29289 XPathResult evaluate(String expression, Node contextNode, XPathNSResolver reso lver, int type, XPathResult inResult);
29290 }
29291 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
29292 // for details. All rights reserved. Use of this source code is governed by a
29293 // BSD-style license that can be found in the LICENSE file.
29294
29295 // WARNING: Do not edit - generated code.
29296
29297 interface XPathException {
29298
29299 static final int INVALID_EXPRESSION_ERR = 51;
29300
29301 static final int TYPE_ERR = 52;
29302
29303 final int code;
29304
29305 final String message;
29306
29307 final String name;
29308
29309 String toString();
29310 }
29311 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
29312 // for details. All rights reserved. Use of this source code is governed by a
29313 // BSD-style license that can be found in the LICENSE file.
29314
29315 // WARNING: Do not edit - generated code.
29316
29317 interface XPathExpression {
29318
29319 XPathResult evaluate(Node contextNode, int type, XPathResult inResult);
29320 }
29321 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
29322 // for details. All rights reserved. Use of this source code is governed by a
29323 // BSD-style license that can be found in the LICENSE file.
29324
29325 // WARNING: Do not edit - generated code.
29326
29327 interface XPathNSResolver {
29328
29329 String lookupNamespaceURI(String prefix);
29330 }
29331 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
29332 // for details. All rights reserved. Use of this source code is governed by a
29333 // BSD-style license that can be found in the LICENSE file.
29334
29335 // WARNING: Do not edit - generated code.
29336
29337 interface XPathResult {
29338
29339 static final int ANY_TYPE = 0;
29340
29341 static final int ANY_UNORDERED_NODE_TYPE = 8;
29342
29343 static final int BOOLEAN_TYPE = 3;
29344
29345 static final int FIRST_ORDERED_NODE_TYPE = 9;
29346
29347 static final int NUMBER_TYPE = 1;
29348
29349 static final int ORDERED_NODE_ITERATOR_TYPE = 5;
29350
29351 static final int ORDERED_NODE_SNAPSHOT_TYPE = 7;
29352
29353 static final int STRING_TYPE = 2;
29354
29355 static final int UNORDERED_NODE_ITERATOR_TYPE = 4;
29356
29357 static final int UNORDERED_NODE_SNAPSHOT_TYPE = 6;
29358
29359 final bool booleanValue;
29360
29361 final bool invalidIteratorState;
29362
29363 final num numberValue;
29364
29365 final int resultType;
29366
29367 final Node singleNodeValue;
29368
29369 final int snapshotLength;
29370
29371 final String stringValue;
29372
29373 Node iterateNext();
29374
29375 Node snapshotItem(int index);
29376 }
29377 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
29378 // for details. All rights reserved. Use of this source code is governed by a
29379 // BSD-style license that can be found in the LICENSE file.
29380
29381 // WARNING: Do not edit - generated code.
29382
29383 interface XSLTProcessor {
29384
29385 void clearParameters();
29386
29387 String getParameter(String namespaceURI, String localName);
29388
29389 void importStylesheet(Node stylesheet);
29390
29391 void removeParameter(String namespaceURI, String localName);
29392
29393 void reset();
29394
29395 void setParameter(String namespaceURI, String localName, String value);
29396
29397 Document transformToDocument(Node source);
29398
29399 DocumentFragment transformToFragment(Node source, Document docVal);
29400 }
29401 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
29402 // for details. All rights reserved. Use of this source code is governed by a
29403 // BSD-style license that can be found in the LICENSE file.
29404
29405 typedef void EventListener(Event event);
29406 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
29407 // for details. All rights reserved. Use of this source code is governed by a
29408 // BSD-style license that can be found in the LICENSE file.
29409
29410 /**
29411 * Defines the standard key locations returned by
29412 * KeyboardEvent.getKeyLocation.
29413 */
29414 interface KeyLocation {
29415
29416 /**
29417 * The event key is not distinguished as the left or right version
29418 * of the key, and did not originate from the numeric keypad (or did not
29419 * originate with a virtual key corresponding to the numeric keypad).
29420 */
29421 static final int STANDARD = 0;
29422
29423 /**
29424 * The event key is in the left key location.
29425 */
29426 static final int LEFT = 1;
29427
29428 /**
29429 * The event key is in the right key location.
29430 */
29431 static final int RIGHT = 2;
29432
29433 /**
29434 * The event key originated on the numeric keypad or with a virtual key
29435 * corresponding to the numeric keypad.
29436 */
29437 static final int NUMPAD = 3;
29438
29439 /**
29440 * The event key originated on a mobile device, either on a physical
29441 * keypad or a virtual keyboard.
29442 */
29443 static final int MOBILE = 4;
29444
29445 /**
29446 * The event key originated on a game controller or a joystick on a mobile
29447 * device.
29448 */
29449 static final int JOYSTICK = 5;
29450 }
29451 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
29452 // for details. All rights reserved. Use of this source code is governed by a
29453 // BSD-style license that can be found in the LICENSE file.
29454
29455 /**
29456 * Defines the standard keyboard identifier names for keys that are returned
29457 * by KeyEvent.getKeyboardIdentifier when the key does not have a direct
29458 * unicode mapping.
29459 */
29460 interface KeyName {
29461
29462 /** The Accept (Commit, OK) key */
29463 static final String ACCEPT = "Accept";
29464
29465 /** The Add key */
29466 static final String ADD = "Add";
29467
29468 /** The Again key */
29469 static final String AGAIN = "Again";
29470
29471 /** The All Candidates key */
29472 static final String ALL_CANDIDATES = "AllCandidates";
29473
29474 /** The Alphanumeric key */
29475 static final String ALPHANUMERIC = "Alphanumeric";
29476
29477 /** The Alt (Menu) key */
29478 static final String ALT = "Alt";
29479
29480 /** The Alt-Graph key */
29481 static final String ALT_GRAPH = "AltGraph";
29482
29483 /** The Application key */
29484 static final String APPS = "Apps";
29485
29486 /** The ATTN key */
29487 static final String ATTN = "Attn";
29488
29489 /** The Browser Back key */
29490 static final String BROWSER_BACK = "BrowserBack";
29491
29492 /** The Browser Favorites key */
29493 static final String BROWSER_FAVORTIES = "BrowserFavorites";
29494
29495 /** The Browser Forward key */
29496 static final String BROWSER_FORWARD = "BrowserForward";
29497
29498 /** The Browser Home key */
29499 static final String BROWSER_NAME = "BrowserHome";
29500
29501 /** The Browser Refresh key */
29502 static final String BROWSER_REFRESH = "BrowserRefresh";
29503
29504 /** The Browser Search key */
29505 static final String BROWSER_SEARCH = "BrowserSearch";
29506
29507 /** The Browser Stop key */
29508 static final String BROWSER_STOP = "BrowserStop";
29509
29510 /** The Camera key */
29511 static final String CAMERA = "Camera";
29512
29513 /** The Caps Lock (Capital) key */
29514 static final String CAPS_LOCK = "CapsLock";
29515
29516 /** The Clear key */
29517 static final String CLEAR = "Clear";
29518
29519 /** The Code Input key */
29520 static final String CODE_INPUT = "CodeInput";
29521
29522 /** The Compose key */
29523 static final String COMPOSE = "Compose";
29524
29525 /** The Control (Ctrl) key */
29526 static final String CONTROL = "Control";
29527
29528 /** The Crsel key */
29529 static final String CRSEL = "Crsel";
29530
29531 /** The Convert key */
29532 static final String CONVERT = "Convert";
29533
29534 /** The Copy key */
29535 static final String COPY = "Copy";
29536
29537 /** The Cut key */
29538 static final String CUT = "Cut";
29539
29540 /** The Decimal key */
29541 static final String DECIMAL = "Decimal";
29542
29543 /** The Divide key */
29544 static final String DIVIDE = "Divide";
29545
29546 /** The Down Arrow key */
29547 static final String DOWN = "Down";
29548
29549 /** The diagonal Down-Left Arrow key */
29550 static final String DOWN_LEFT = "DownLeft";
29551
29552 /** The diagonal Down-Right Arrow key */
29553 static final String DOWN_RIGHT = "DownRight";
29554
29555 /** The Eject key */
29556 static final String EJECT = "Eject";
29557
29558 /** The End key */
29559 static final String END = "End";
29560
29561 /**
29562 * The Enter key. Note: This key value must also be used for the Return
29563 * (Macintosh numpad) key
29564 */
29565 static final String ENTER = "Enter";
29566
29567 /** The Erase EOF key */
29568 static final String ERASE_EOF= "EraseEof";
29569
29570 /** The Execute key */
29571 static final String EXECUTE = "Execute";
29572
29573 /** The Exsel key */
29574 static final String EXSEL = "Exsel";
29575
29576 /** The Function switch key */
29577 static final String FN = "Fn";
29578
29579 /** The F1 key */
29580 static final String F1 = "F1";
29581
29582 /** The F2 key */
29583 static final String F2 = "F2";
29584
29585 /** The F3 key */
29586 static final String F3 = "F3";
29587
29588 /** The F4 key */
29589 static final String F4 = "F4";
29590
29591 /** The F5 key */
29592 static final String F5 = "F5";
29593
29594 /** The F6 key */
29595 static final String F6 = "F6";
29596
29597 /** The F7 key */
29598 static final String F7 = "F7";
29599
29600 /** The F8 key */
29601 static final String F8 = "F8";
29602
29603 /** The F9 key */
29604 static final String F9 = "F9";
29605
29606 /** The F10 key */
29607 static final String F10 = "F10";
29608
29609 /** The F11 key */
29610 static final String F11 = "F11";
29611
29612 /** The F12 key */
29613 static final String F12 = "F12";
29614
29615 /** The F13 key */
29616 static final String F13 = "F13";
29617
29618 /** The F14 key */
29619 static final String F14 = "F14";
29620
29621 /** The F15 key */
29622 static final String F15 = "F15";
29623
29624 /** The F16 key */
29625 static final String F16 = "F16";
29626
29627 /** The F17 key */
29628 static final String F17 = "F17";
29629
29630 /** The F18 key */
29631 static final String F18 = "F18";
29632
29633 /** The F19 key */
29634 static final String F19 = "F19";
29635
29636 /** The F20 key */
29637 static final String F20 = "F20";
29638
29639 /** The F21 key */
29640 static final String F21 = "F21";
29641
29642 /** The F22 key */
29643 static final String F22 = "F22";
29644
29645 /** The F23 key */
29646 static final String F23 = "F23";
29647
29648 /** The F24 key */
29649 static final String F24 = "F24";
29650
29651 /** The Final Mode (Final) key used on some asian keyboards */
29652 static final String FINAL_MODE = "FinalMode";
29653
29654 /** The Find key */
29655 static final String FIND = "Find";
29656
29657 /** The Full-Width Characters key */
29658 static final String FULL_WIDTH = "FullWidth";
29659
29660 /** The Half-Width Characters key */
29661 static final String HALF_WIDTH = "HalfWidth";
29662
29663 /** The Hangul (Korean characters) Mode key */
29664 static final String HANGUL_MODE = "HangulMode";
29665
29666 /** The Hanja (Korean characters) Mode key */
29667 static final String HANJA_MODE = "HanjaMode";
29668
29669 /** The Help key */
29670 static final String HELP = "Help";
29671
29672 /** The Hiragana (Japanese Kana characters) key */
29673 static final String HIRAGANA = "Hiragana";
29674
29675 /** The Home key */
29676 static final String HOME = "Home";
29677
29678 /** The Insert (Ins) key */
29679 static final String INSERT = "Insert";
29680
29681 /** The Japanese-Hiragana key */
29682 static final String JAPANESE_HIRAGANA = "JapaneseHiragana";
29683
29684 /** The Japanese-Katakana key */
29685 static final String JAPANESE_KATAKANA = "JapaneseKatakana";
29686
29687 /** The Japanese-Romaji key */
29688 static final String JAPANESE_ROMAJI = "JapaneseRomaji";
29689
29690 /** The Junja Mode key */
29691 static final String JUNJA_MODE = "JunjaMode";
29692
29693 /** The Kana Mode (Kana Lock) key */
29694 static final String KANA_MODE = "KanaMode";
29695
29696 /**
29697 * The Kanji (Japanese name for ideographic characters of Chinese origin)
29698 * Mode key
29699 */
29700 static final String KANJI_MODE = "KanjiMode";
29701
29702 /** The Katakana (Japanese Kana characters) key */
29703 static final String KATAKANA = "Katakana";
29704
29705 /** The Start Application One key */
29706 static final String LAUNCH_APPLICATION_1 = "LaunchApplication1";
29707
29708 /** The Start Application Two key */
29709 static final String LAUNCH_APPLICATION_2 = "LaunchApplication2";
29710
29711 /** The Start Mail key */
29712 static final String LAUNCH_MAIL = "LaunchMail";
29713
29714 /** The Left Arrow key */
29715 static final String LEFT = "Left";
29716
29717 /** The Menu key */
29718 static final String MENU = "Menu";
29719
29720 /**
29721 * The Meta key. Note: This key value shall be also used for the Apple
29722 * Command key
29723 */
29724 static final String META = "Meta";
29725
29726 /** The Media Next Track key */
29727 static final String MEDIA_NEXT_TRACK = "MediaNextTrack";
29728
29729 /** The Media Play Pause key */
29730 static final String MEDIA_PAUSE_PLAY = "MediaPlayPause";
29731
29732 /** The Media Previous Track key */
29733 static final String MEDIA_PREVIOUS_TRACK = "MediaPreviousTrack";
29734
29735 /** The Media Stop key */
29736 static final String MEDIA_STOP = "MediaStop";
29737
29738 /** The Mode Change key */
29739 static final String MODE_CHANGE = "ModeChange";
29740
29741 /** The Next Candidate function key */
29742 static final String NEXT_CANDIDATE = "NextCandidate";
29743
29744 /** The Nonconvert (Don't Convert) key */
29745 static final String NON_CONVERT = "Nonconvert";
29746
29747 /** The Number Lock key */
29748 static final String NUM_LOCK = "NumLock";
29749
29750 /** The Page Down (Next) key */
29751 static final String PAGE_DOWN = "PageDown";
29752
29753 /** The Page Up key */
29754 static final String PAGE_UP = "PageUp";
29755
29756 /** The Paste key */
29757 static final String PASTE = "Paste";
29758
29759 /** The Pause key */
29760 static final String PAUSE = "Pause";
29761
29762 /** The Play key */
29763 static final String PLAY = "Play";
29764
29765 /**
29766 * The Power key. Note: Some devices may not expose this key to the
29767 * operating environment
29768 */
29769 static final String POWER = "Power";
29770
29771 /** The Previous Candidate function key */
29772 static final String PREVIOUS_CANDIDATE = "PreviousCandidate";
29773
29774 /** The Print Screen (PrintScrn, SnapShot) key */
29775 static final String PRINT_SCREEN = "PrintScreen";
29776
29777 /** The Process key */
29778 static final String PROCESS = "Process";
29779
29780 /** The Props key */
29781 static final String PROPS = "Props";
29782
29783 /** The Right Arrow key */
29784 static final String RIGHT = "Right";
29785
29786 /** The Roman Characters function key */
29787 static final String ROMAN_CHARACTERS = "RomanCharacters";
29788
29789 /** The Scroll Lock key */
29790 static final String SCROLL = "Scroll";
29791
29792 /** The Select key */
29793 static final String SELECT = "Select";
29794
29795 /** The Select Media key */
29796 static final String SELECT_MEDIA = "SelectMedia";
29797
29798 /** The Separator key */
29799 static final String SEPARATOR = "Separator";
29800
29801 /** The Shift key */
29802 static final String SHIFT = "Shift";
29803
29804 /** The Soft1 key */
29805 static final String SOFT_1 = "Soft1";
29806
29807 /** The Soft2 key */
29808 static final String SOFT_2 = "Soft2";
29809
29810 /** The Soft3 key */
29811 static final String SOFT_3 = "Soft3";
29812
29813 /** The Soft4 key */
29814 static final String SOFT_4 = "Soft4";
29815
29816 /** The Stop key */
29817 static final String STOP = "Stop";
29818
29819 /** The Subtract key */
29820 static final String SUBTRACT = "Subtract";
29821
29822 /** The Symbol Lock key */
29823 static final String SYMBOL_LOCK = "SymbolLock";
29824
29825 /** The Up Arrow key */
29826 static final String UP = "Up";
29827
29828 /** The diagonal Up-Left Arrow key */
29829 static final String UP_LEFT = "UpLeft";
29830
29831 /** The diagonal Up-Right Arrow key */
29832 static final String UP_RIGHT = "UpRight";
29833
29834 /** The Undo key */
29835 static final String UNDO = "Undo";
29836
29837 /** The Volume Down key */
29838 static final String VOLUME_DOWN = "VolumeDown";
29839
29840 /** The Volume Mute key */
29841 static final String VOLUMN_MUTE = "VolumeMute";
29842
29843 /** The Volume Up key */
29844 static final String VOLUMN_UP = "VolumeUp";
29845
29846 /** The Windows Logo key */
29847 static final String WIN = "Win";
29848
29849 /** The Zoom key */
29850 static final String ZOOM = "Zoom";
29851
29852 /**
29853 * The Backspace (Back) key. Note: This key value shall be also used for the
29854 * key labeled 'delete' MacOS keyboards when not modified by the 'Fn' key
29855 */
29856 static final String BACKSPACE = "Backspace";
29857
29858 /** The Horizontal Tabulation (Tab) key */
29859 static final String TAB = "Tab";
29860
29861 /** The Cancel key */
29862 static final String CANCEL = "Cancel";
29863
29864 /** The Escape (Esc) key */
29865 static final String ESC = "Esc";
29866
29867 /** The Space (Spacebar) key: */
29868 static final String SPACEBAR = "Spacebar";
29869
29870 /**
29871 * The Delete (Del) Key. Note: This key value shall be also used for the key
29872 * labeled 'delete' MacOS keyboards when modified by the 'Fn' key
29873 */
29874 static final String DEL = "Del";
29875
29876 /** The Combining Grave Accent (Greek Varia, Dead Grave) key */
29877 static final String DEAD_GRAVE = "DeadGrave";
29878
29879 /**
29880 * The Combining Acute Accent (Stress Mark, Greek Oxia, Tonos, Dead Eacute)
29881 * key
29882 */
29883 static final String DEAD_EACUTE = "DeadEacute";
29884
29885 /** The Combining Circumflex Accent (Hat, Dead Circumflex) key */
29886 static final String DEAD_CIRCUMFLEX = "DeadCircumflex";
29887
29888 /** The Combining Tilde (Dead Tilde) key */
29889 static final String DEAD_TILDE = "DeadTilde";
29890
29891 /** The Combining Macron (Long, Dead Macron) key */
29892 static final String DEAD_MACRON = "DeadMacron";
29893
29894 /** The Combining Breve (Short, Dead Breve) key */
29895 static final String DEAD_BREVE = "DeadBreve";
29896
29897 /** The Combining Dot Above (Derivative, Dead Above Dot) key */
29898 static final String DEAD_ABOVE_DOT = "DeadAboveDot";
29899
29900 /**
29901 * The Combining Diaeresis (Double Dot Abode, Umlaut, Greek Dialytika,
29902 * Double Derivative, Dead Diaeresis) key
29903 */
29904 static final String DEAD_UMLAUT = "DeadUmlaut";
29905
29906 /** The Combining Ring Above (Dead Above Ring) key */
29907 static final String DEAD_ABOVE_RING = "DeadAboveRing";
29908
29909 /** The Combining Double Acute Accent (Dead Doubleacute) key */
29910 static final String DEAD_DOUBLEACUTE = "DeadDoubleacute";
29911
29912 /** The Combining Caron (Hacek, V Above, Dead Caron) key */
29913 static final String DEAD_CARON = "DeadCaron";
29914
29915 /** The Combining Cedilla (Dead Cedilla) key */
29916 static final String DEAD_CEDILLA = "DeadCedilla";
29917
29918 /** The Combining Ogonek (Nasal Hook, Dead Ogonek) key */
29919 static final String DEAD_OGONEK = "DeadOgonek";
29920
29921 /**
29922 * The Combining Greek Ypogegrammeni (Greek Non-Spacing Iota Below, Iota
29923 * Subscript, Dead Iota) key
29924 */
29925 static final String DEAD_IOTA = "DeadIota";
29926
29927 /**
29928 * The Combining Katakana-Hiragana Voiced Sound Mark (Dead Voiced Sound) key
29929 */
29930 static final String DEAD_VOICED_SOUND = "DeadVoicedSound";
29931
29932 /**
29933 * The Combining Katakana-Hiragana Semi-Voiced Sound Mark (Dead Semivoiced
29934 * Sound) key
29935 */
29936 static final String DEC_SEMIVOICED_SOUND= "DeadSemivoicedSound";
29937
29938 /**
29939 * Key value used when an implementation is unable to identify another key
29940 * value, due to either hardware, platform, or software constraints
29941 */
29942 static final String UNIDENTIFIED = "Unidentified";
29943 }
29944 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
29945 // for details. All rights reserved. Use of this source code is governed by a
29946 // BSD-style license that can be found in the LICENSE file.
29947
29948 /**
29949 * Contains the set of standard values returned by HTMLDocument.getReadyState.
29950 */
29951 interface ReadyState {
29952 /**
29953 * Indicates the document is still loading and parsing.
29954 */
29955 static final String LOADING = "loading";
29956
29957 /**
29958 * Indicates the document is finished parsing but is still loading
29959 * subresources.
29960 */
29961 static final String INTERACTIVE = "interactive";
29962
29963 /**
29964 * Indicates the document and all subresources have been loaded.
29965 */
29966 static final String COMPLETE = "complete";
29967 }
29968 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
29969 // for details. All rights reserved. Use of this source code is governed by a
29970 // BSD-style license that can be found in the LICENSE file.
29971
29972 typedef void TimeoutHandler();
29973 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
29974 // for details. All rights reserved. Use of this source code is governed by a
29975 // BSD-style license that can be found in the LICENSE file.
29976
29977 /**
29978 * The [Collections] class implements static methods useful when
29979 * writing a class that implements [Collection] and the [iterator]
29980 * method.
29981 */
29982 class _Collections {
29983 static void forEach(Iterable<Object> iterable, void f(Object o)) {
29984 for (final e in iterable) {
29985 f(e);
29986 }
29987 }
29988
29989 static List map(Iterable<Object> source,
29990 List<Object> destination,
29991 f(o)) {
29992 for (final e in source) {
29993 destination.add(f(e));
29994 }
29995 return destination;
29996 }
29997
29998 static bool some(Iterable<Object> iterable, bool f(Object o)) {
29999 for (final e in iterable) {
30000 if (f(e)) return true;
30001 }
30002 return false;
30003 }
30004
30005 static bool every(Iterable<Object> iterable, bool f(Object o)) {
30006 for (final e in iterable) {
30007 if (!f(e)) return false;
30008 }
30009 return true;
30010 }
30011
30012 static List filter(Iterable<Object> source,
30013 List<Object> destination,
30014 bool f(o)) {
30015 for (final e in source) {
30016 if (f(e)) destination.add(e);
30017 }
30018 return destination;
30019 }
30020
30021 static bool isEmpty(Iterable<Object> iterable) {
30022 return !iterable.iterator().hasNext();
30023 }
30024 }
30025 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
30026 // for details. All rights reserved. Use of this source code is governed by a
30027 // BSD-style license that can be found in the LICENSE file.
30028
30029 class _AudioContextFactoryProvider {
30030
30031 factory AudioContext() native '''
30032 var constructor = window.AudioContext || window.webkitAudioContext;
30033 return new constructor();
30034 ''';
30035 }
30036
30037 class _DOMParserFactoryProvider {
30038
30039 factory DOMParser() native 'return new DOMParser();';
30040 }
30041
30042 class _FileReaderFactoryProvider {
30043
30044 factory FileReader() native 'return new FileReader();';
30045 }
30046
30047 class _TypedArrayFactoryProvider {
30048
30049 factory Float32Array(int length) => _F32(length);
30050 factory Float32Array.fromList(List<num> list) => _F32(ensureNative(list));
30051 factory Float32Array.fromBuffer(ArrayBuffer buffer) => _F32(buffer);
30052
30053 factory Float64Array(int length) => _F64(length);
30054 factory Float64Array.fromList(List<num> list) => _F64(ensureNative(list));
30055 factory Float64Array.fromBuffer(ArrayBuffer buffer) => _F64(buffer);
30056
30057 factory Int8Array(int length) => _I8(length);
30058 factory Int8Array.fromList(List<num> list) => _I8(ensureNative(list));
30059 factory Int8Array.fromBuffer(ArrayBuffer buffer) => _I8(buffer);
30060
30061 factory Int16Array(int length) => _I16(length);
30062 factory Int16Array.fromList(List<num> list) => _I16(ensureNative(list));
30063 factory Int16Array.fromBuffer(ArrayBuffer buffer) => _I16(buffer);
30064
30065 factory Int32Array(int length) => _I32(length);
30066 factory Int32Array.fromList(List<num> list) => _I32(ensureNative(list));
30067 factory Int32Array.fromBuffer(ArrayBuffer buffer) => _I32(buffer);
30068
30069 factory Uint8Array(int length) => _U8(length);
30070 factory Uint8Array.fromList(List<num> list) => _U8(ensureNative(list));
30071 factory Uint8Array.fromBuffer(ArrayBuffer buffer) => _U8(buffer);
30072
30073 factory Uint16Array(int length) => _U16(length);
30074 factory Uint16Array.fromList(List<num> list) => _U16(ensureNative(list));
30075 factory Uint16Array.fromBuffer(ArrayBuffer buffer) => _U16(buffer);
30076
30077 factory Uint32Array(int length) => _U32(length);
30078 factory Uint32Array.fromList(List<num> list) => _U32(ensureNative(list));
30079 factory Uint32Array.fromBuffer(ArrayBuffer buffer) => _U32(buffer);
30080
30081 factory Uint8ClampedArray(int length) => _U8C(length);
30082 factory Uint8ClampedArray.fromList(List<num> list) => _U8C(ensureNative(list)) ;
30083 factory Uint8ClampedArray.fromBuffer(ArrayBuffer buffer) => _U8C(buffer);
30084
30085 static Float32Array _F32(arg) native 'return new Float32Array(arg);';
30086 static Float64Array _F64(arg) native 'return new Float64Array(arg);';
30087 static Int8Array _I8(arg) native 'return new Int8Array(arg);';
30088 static Int16Array _I16(arg) native 'return new Int16Array(arg);';
30089 static Int32Array _I32(arg) native 'return new Int32Array(arg);';
30090 static Uint8Array _U8(arg) native 'return new Uint8Array(arg);';
30091 static Uint16Array _U16(arg) native 'return new Uint16Array(arg);';
30092 static Uint32Array _U32(arg) native 'return new Uint32Array(arg);';
30093 static Uint8ClampedArray _U8C(arg) native 'return new Uint8ClampedArray(arg);' ;
30094
30095 static ensureNative(List list) => list; // TODO: make sure.
30096 }
30097
30098 class _CSSMatrixFactoryProvider {
30099
30100 factory CSSMatrix([String spec = '']) native
30101 'return new WebKitCSSMatrix(spec);';
30102 }
30103
30104 // TODO(jacobr): this factory does not require any native code so move to a
30105 // separate file so it can be shared between wrapper and wrapperless versions.
30106 class _EventFactoryProvider {
30107 factory Event(String type, [bool canBubble = true,
30108 bool cancelable = true]) {
30109 _EventJs e = _document._createEvent("Event");
30110 e._initEvent(type, canBubble, cancelable);
30111 return e;
30112 }
30113 }
30114
30115 class _PointFactoryProvider {
30116
30117 factory Point(num x, num y) native 'return new WebKitPoint(x, y);';
30118 }
30119
30120 class _WebSocketFactoryProvider {
30121
30122 factory WebSocket(String url) native 'return new WebSocket(url);';
30123 }
30124
30125 class _XMLHttpRequestFactoryProvider {
30126 factory XMLHttpRequest() native 'return new XMLHttpRequest();';
30127
30128 factory XMLHttpRequest.getTEMPNAME(String url,
30129 onSuccess(XMLHttpRequest request)) {
30130 final request = new XMLHttpRequest();
30131 request.open('GET', url, true);
30132
30133 // TODO(terry): Validate after client login added if necessary to forward
30134 // cookies to server.
30135 request.withCredentials = true;
30136
30137 // Status 0 is for local XHR request.
30138 request.on.readyStateChange.add((e) {
30139 if (request.readyState == XMLHttpRequest.DONE &&
30140 (request.status == 200 || request.status == 0)) {
30141 onSuccess(request);
30142 }
30143 });
30144
30145 request.send();
30146
30147 return request;
30148 }
30149 }
30150 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
30151 // for details. All rights reserved. Use of this source code is governed by a
30152 // BSD-style license that can be found in the LICENSE file.
30153
30154 /**
30155 * Utils for device detection.
30156 */
30157 class _Device {
30158 /**
30159 * Gets the browser's user agent. Using this function allows tests to inject
30160 * the user agent.
30161 * Returns the user agent.
30162 */
30163 static String get userAgent() => window.navigator.userAgent;
30164
30165 /**
30166 * Determines if the current device is running Firefox.
30167 */
30168 static bool get isFirefox() => userAgent.contains("Firefox", 0);
30169 }
30170 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
30171 // for details. All rights reserved. Use of this source code is governed by a
30172 // BSD-style license that can be found in the LICENSE file.
30173
30174 // Iterator for arrays with fixed size.
30175 class _FixedSizeListIterator<T> extends _VariableSizeListIterator<T> {
30176 _FixedSizeListIterator(List<T> array)
30177 : super(array),
30178 _length = array.length;
30179
30180 bool hasNext() => _length > _pos;
30181
30182 final int _length; // Cache array length for faster access.
30183 }
30184
30185 // Iterator for arrays with variable size.
30186 class _VariableSizeListIterator<T> implements Iterator<T> {
30187 _VariableSizeListIterator(List<T> array)
30188 : _array = array,
30189 _pos = 0;
30190
30191 bool hasNext() => _array.length > _pos;
30192
30193 T next() {
30194 if (!hasNext()) {
30195 throw const NoMoreElementsException();
30196 }
30197 return _array[_pos++];
30198 }
30199
30200 final List<T> _array;
30201 int _pos;
30202 }
30203 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
30204 // for details. All rights reserved. Use of this source code is governed by a
30205 // BSD-style license that can be found in the LICENSE file.
30206
30207 class _Lists {
30208
30209 /**
30210 * Returns the index in the array [a] of the given [element], starting
30211 * the search at index [startIndex] to [endIndex] (exclusive).
30212 * Returns -1 if [element] is not found.
30213 */
30214 static int indexOf(List a,
30215 Object element,
30216 int startIndex,
30217 int endIndex) {
30218 if (startIndex >= a.length) {
30219 return -1;
30220 }
30221 if (startIndex < 0) {
30222 startIndex = 0;
30223 }
30224 for (int i = startIndex; i < endIndex; i++) {
30225 if (a[i] == element) {
30226 return i;
30227 }
30228 }
30229 return -1;
30230 }
30231
30232 /**
30233 * Returns the last index in the array [a] of the given [element], starting
30234 * the search at index [startIndex] to 0.
30235 * Returns -1 if [element] is not found.
30236 */
30237 static int lastIndexOf(List a, Object element, int startIndex) {
30238 if (startIndex < 0) {
30239 return -1;
30240 }
30241 if (startIndex >= a.length) {
30242 startIndex = a.length - 1;
30243 }
30244 for (int i = startIndex; i >= 0; i--) {
30245 if (a[i] == element) {
30246 return i;
30247 }
30248 }
30249 return -1;
30250 }
30251
30252 /**
30253 * Returns a sub list copy of this list, from [start] to
30254 * [:start + length:].
30255 * Returns an empty list if [length] is 0.
30256 * Throws an [IllegalArgumentException] if [length] is negative.
30257 * Throws an [IndexOutOfRangeException] if [start] or
30258 * [:start + length:] are out of range.
30259 */
30260 static List getRange(List a, int start, int length, List accumulator) {
30261 if (length < 0) throw new IllegalArgumentException('length');
30262 if (start < 0) throw new IndexOutOfRangeException(start);
30263 int end = start + length;
30264 if (end > a.length) throw new IndexOutOfRangeException(end);
30265 for (int i = start; i < end; i++) {
30266 accumulator.add(a[i]);
30267 }
30268 return accumulator;
30269 }
30270 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698