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

Side by Side Diff: client/dom/frog/frog_dom.dart

Issue 8915019: Rename frog dom to match SDK naming convention (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « client/dom/frog/dom_frog.js ('k') | client/dom/frog/frog_dom.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #library('dom');
2
3 #native('frog_dom.js');
4 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
5 // for details. All rights reserved. Use of this source code is governed by a
6 // BSD-style license that can be found in the LICENSE file.
7
8 // DO NOT EDIT
9 // Auto-generated Dart DOM library.
10
11
12
13 // #source('src/_FactoryProviders.dart');
14
15 // TODO(jmesserly): 'native' here is aWork-around for Frog bug. Frog needs to
16 // be smarter about inheriting from a hidden native type (in this case
17 // DOMWindow)
18 class Window extends DOMWindow native "*Window" {}
19 DOMWindow get window() native "return window;";
20 // TODO(vsm): Revert to Dart method when 508 is fixed.
21 HTMLDocument get document() native "return window.document;";
22
23 class AbstractWorker native "*AbstractWorker" {
24
25 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
26
27 bool dispatchEvent(Event evt) native;
28
29 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
30
31 var dartObjectLocalStorage;
32
33 String get typeName() native;
34 }
35
36 class ArrayBuffer native "*ArrayBuffer" {
37
38 int byteLength;
39
40 ArrayBuffer slice(int begin, [int end = null]) native;
41
42 var dartObjectLocalStorage;
43
44 String get typeName() native;
45 }
46
47 class ArrayBufferView native "*ArrayBufferView" {
48
49 ArrayBuffer buffer;
50
51 int byteLength;
52
53 int byteOffset;
54
55 var dartObjectLocalStorage;
56
57 String get typeName() native;
58 }
59
60 class Attr extends Node native "*Attr" {
61
62 bool isId;
63
64 String name;
65
66 Element ownerElement;
67
68 bool specified;
69
70 String value;
71 }
72
73 class AudioBuffer native "*AudioBuffer" {
74
75 num duration;
76
77 num gain;
78
79 int length;
80
81 int numberOfChannels;
82
83 num sampleRate;
84
85 Float32Array getChannelData(int channelIndex) native;
86
87 var dartObjectLocalStorage;
88
89 String get typeName() native;
90 }
91
92 class AudioBufferSourceNode extends AudioSourceNode native "*AudioBufferSourceNo de" {
93
94 AudioBuffer buffer;
95
96 AudioGain gain;
97
98 bool loop;
99
100 bool looping;
101
102 AudioParam playbackRate;
103
104 void noteGrainOn(num when, num grainOffset, num grainDuration) native;
105
106 void noteOff(num when) native;
107
108 void noteOn(num when) native;
109 }
110
111 class AudioChannelMerger extends AudioNode native "*AudioChannelMerger" {
112 }
113
114 class AudioChannelSplitter extends AudioNode native "*AudioChannelSplitter" {
115 }
116
117 class AudioContext native "*AudioContext" {
118 AudioContext() native;
119
120
121 num currentTime;
122
123 AudioDestinationNode destination;
124
125 AudioListener listener;
126
127 EventListener oncomplete;
128
129 num sampleRate;
130
131 RealtimeAnalyserNode createAnalyser() native;
132
133 BiquadFilterNode createBiquadFilter() native;
134
135 AudioBuffer createBuffer() native;
136
137 AudioBufferSourceNode createBufferSource() native;
138
139 AudioChannelMerger createChannelMerger() native;
140
141 AudioChannelSplitter createChannelSplitter() native;
142
143 ConvolverNode createConvolver() native;
144
145 DelayNode createDelayNode() native;
146
147 DynamicsCompressorNode createDynamicsCompressor() native;
148
149 AudioGainNode createGainNode() native;
150
151 HighPass2FilterNode createHighPass2Filter() native;
152
153 JavaScriptAudioNode createJavaScriptNode(int bufferSize) native;
154
155 LowPass2FilterNode createLowPass2Filter() native;
156
157 MediaElementAudioSourceNode createMediaElementSource(HTMLMediaElement mediaEle ment) native;
158
159 AudioPannerNode createPanner() native;
160
161 WaveShaperNode createWaveShaper() native;
162
163 void decodeAudioData(ArrayBuffer audioData, AudioBufferCallback successCallbac k, [AudioBufferCallback errorCallback = null]) native;
164
165 void startRendering() native;
166
167 var dartObjectLocalStorage;
168
169 String get typeName() native;
170 }
171
172 class AudioDestinationNode extends AudioNode native "*AudioDestinationNode" {
173
174 int numberOfChannels;
175 }
176
177 class AudioGain extends AudioParam native "*AudioGain" {
178 }
179
180 class AudioGainNode extends AudioNode native "*AudioGainNode" {
181
182 AudioGain gain;
183 }
184
185 class AudioListener native "*AudioListener" {
186
187 num dopplerFactor;
188
189 num speedOfSound;
190
191 void setOrientation(num x, num y, num z, num xUp, num yUp, num zUp) native;
192
193 void setPosition(num x, num y, num z) native;
194
195 void setVelocity(num x, num y, num z) native;
196
197 var dartObjectLocalStorage;
198
199 String get typeName() native;
200 }
201
202 class AudioNode native "*AudioNode" {
203
204 AudioContext context;
205
206 int numberOfInputs;
207
208 int numberOfOutputs;
209
210 void connect(AudioNode destination, [int output = null, int input = null]) nat ive;
211
212 void disconnect([int output = null]) native;
213
214 var dartObjectLocalStorage;
215
216 String get typeName() native;
217 }
218
219 class AudioPannerNode extends AudioNode native "*AudioPannerNode" {
220
221 static final int EQUALPOWER = 0;
222
223 static final int HRTF = 1;
224
225 static final int SOUNDFIELD = 2;
226
227 AudioGain coneGain;
228
229 num coneInnerAngle;
230
231 num coneOuterAngle;
232
233 num coneOuterGain;
234
235 AudioGain distanceGain;
236
237 int distanceModel;
238
239 num maxDistance;
240
241 int panningModel;
242
243 num refDistance;
244
245 num rolloffFactor;
246
247 void setOrientation(num x, num y, num z) native;
248
249 void setPosition(num x, num y, num z) native;
250
251 void setVelocity(num x, num y, num z) native;
252 }
253
254 class AudioParam native "*AudioParam" {
255
256 num defaultValue;
257
258 num maxValue;
259
260 num minValue;
261
262 String name;
263
264 int units;
265
266 num value;
267
268 void cancelScheduledValues(num startTime) native;
269
270 void exponentialRampToValueAtTime(num value, num time) native;
271
272 void linearRampToValueAtTime(num value, num time) native;
273
274 void setTargetValueAtTime(num targetValue, num time, num timeConstant) native;
275
276 void setValueAtTime(num value, num time) native;
277
278 void setValueCurveAtTime(Float32Array values, num time, num duration) native;
279
280 var dartObjectLocalStorage;
281
282 String get typeName() native;
283 }
284
285 class AudioProcessingEvent extends Event native "*AudioProcessingEvent" {
286
287 AudioBuffer inputBuffer;
288
289 AudioBuffer outputBuffer;
290 }
291
292 class AudioSourceNode extends AudioNode native "*AudioSourceNode" {
293 }
294
295 class BarInfo native "*BarInfo" {
296
297 bool visible;
298
299 var dartObjectLocalStorage;
300
301 String get typeName() native;
302 }
303
304 class BeforeLoadEvent extends Event native "*BeforeLoadEvent" {
305
306 String url;
307
308 void initBeforeLoadEvent(String type, bool canBubble, bool cancelable, String url) native;
309 }
310
311 class BiquadFilterNode extends AudioNode native "*BiquadFilterNode" {
312
313 static final int ALLPASS = 7;
314
315 static final int BANDPASS = 2;
316
317 static final int HIGHPASS = 1;
318
319 static final int HIGHSHELF = 4;
320
321 static final int LOWPASS = 0;
322
323 static final int LOWSHELF = 3;
324
325 static final int NOTCH = 6;
326
327 static final int PEAKING = 5;
328
329 AudioParam Q;
330
331 AudioParam frequency;
332
333 AudioParam gain;
334
335 int type;
336 }
337
338 class Blob native "*Blob" {
339
340 int size;
341
342 String type;
343
344 Blob webkitSlice([int start = null, int end = null, String contentType = null] ) native;
345
346 var dartObjectLocalStorage;
347
348 String get typeName() native;
349 }
350
351 class CDATASection extends Text native "*CDATASection" {
352 }
353
354 class CSSCharsetRule extends CSSRule native "*CSSCharsetRule" {
355
356 String encoding;
357 }
358
359 class CSSFontFaceRule extends CSSRule native "*CSSFontFaceRule" {
360
361 CSSStyleDeclaration style;
362 }
363
364 class CSSImportRule extends CSSRule native "*CSSImportRule" {
365
366 String href;
367
368 MediaList media;
369
370 CSSStyleSheet styleSheet;
371 }
372
373 class CSSMediaRule extends CSSRule native "*CSSMediaRule" {
374
375 CSSRuleList cssRules;
376
377 MediaList media;
378
379 void deleteRule(int index) native;
380
381 int insertRule(String rule, int index) native;
382 }
383
384 class CSSPageRule extends CSSRule native "*CSSPageRule" {
385
386 String selectorText;
387
388 CSSStyleDeclaration style;
389 }
390
391 class CSSPrimitiveValue extends CSSValue native "*CSSPrimitiveValue" {
392
393 static final int CSS_ATTR = 22;
394
395 static final int CSS_CM = 6;
396
397 static final int CSS_COUNTER = 23;
398
399 static final int CSS_DEG = 11;
400
401 static final int CSS_DIMENSION = 18;
402
403 static final int CSS_EMS = 3;
404
405 static final int CSS_EXS = 4;
406
407 static final int CSS_GRAD = 13;
408
409 static final int CSS_HZ = 16;
410
411 static final int CSS_IDENT = 21;
412
413 static final int CSS_IN = 8;
414
415 static final int CSS_KHZ = 17;
416
417 static final int CSS_MM = 7;
418
419 static final int CSS_MS = 14;
420
421 static final int CSS_NUMBER = 1;
422
423 static final int CSS_PC = 10;
424
425 static final int CSS_PERCENTAGE = 2;
426
427 static final int CSS_PT = 9;
428
429 static final int CSS_PX = 5;
430
431 static final int CSS_RAD = 12;
432
433 static final int CSS_RECT = 24;
434
435 static final int CSS_RGBCOLOR = 25;
436
437 static final int CSS_S = 15;
438
439 static final int CSS_STRING = 19;
440
441 static final int CSS_UNKNOWN = 0;
442
443 static final int CSS_URI = 20;
444
445 int primitiveType;
446
447 Counter getCounterValue() native;
448
449 num getFloatValue(int unitType) native;
450
451 RGBColor getRGBColorValue() native;
452
453 Rect getRectValue() native;
454
455 String getStringValue() native;
456
457 void setFloatValue(int unitType, num floatValue) native;
458
459 void setStringValue(int stringType, String stringValue) native;
460 }
461
462 class CSSRule native "CSSRule" {
463
464 static final int CHARSET_RULE = 2;
465
466 static final int FONT_FACE_RULE = 5;
467
468 static final int IMPORT_RULE = 3;
469
470 static final int MEDIA_RULE = 4;
471
472 static final int PAGE_RULE = 6;
473
474 static final int STYLE_RULE = 1;
475
476 static final int UNKNOWN_RULE = 0;
477
478 static final int WEBKIT_KEYFRAMES_RULE = 8;
479
480 static final int WEBKIT_KEYFRAME_RULE = 9;
481
482 static final int WEBKIT_REGION_STYLE_RULE = 10;
483
484 String cssText;
485
486 CSSRule parentRule;
487
488 CSSStyleSheet parentStyleSheet;
489
490 int type;
491
492 var dartObjectLocalStorage;
493
494 String get typeName() native;
495 }
496
497 class CSSRuleList native "*CSSRuleList" {
498
499 int length;
500
501 CSSRule item(int index) native;
502
503 var dartObjectLocalStorage;
504
505 String get typeName() native;
506 }
507
508 class CSSStyleDeclaration native "*CSSStyleDeclaration" {
509
510 String cssText;
511
512 int length;
513
514 CSSRule parentRule;
515
516 CSSValue getPropertyCSSValue(String propertyName) native;
517
518 String getPropertyPriority(String propertyName) native;
519
520 String getPropertyShorthand(String propertyName) native;
521
522 String getPropertyValue(String propertyName) native;
523
524 bool isPropertyImplicit(String propertyName) native;
525
526 String item(int index) native;
527
528 String removeProperty(String propertyName) native;
529
530 void setProperty(String propertyName, String value, [String priority = null]) native;
531
532 var dartObjectLocalStorage;
533
534 String get typeName() native;
535 }
536
537 class CSSStyleRule extends CSSRule native "*CSSStyleRule" {
538
539 String selectorText;
540
541 CSSStyleDeclaration style;
542 }
543
544 class CSSStyleSheet extends StyleSheet native "*CSSStyleSheet" {
545
546 CSSRuleList cssRules;
547
548 CSSRule ownerRule;
549
550 CSSRuleList rules;
551
552 int addRule(String selector, String style, [int index = null]) native;
553
554 void deleteRule(int index) native;
555
556 int insertRule(String rule, int index) native;
557
558 void removeRule(int index) native;
559 }
560
561 class CSSUnknownRule extends CSSRule native "*CSSUnknownRule" {
562 }
563
564 class CSSValue native "*CSSValue" {
565
566 static final int CSS_CUSTOM = 3;
567
568 static final int CSS_INHERIT = 0;
569
570 static final int CSS_PRIMITIVE_VALUE = 1;
571
572 static final int CSS_VALUE_LIST = 2;
573
574 String cssText;
575
576 int cssValueType;
577
578 var dartObjectLocalStorage;
579
580 String get typeName() native;
581 }
582
583 class CSSValueList extends CSSValue native "*CSSValueList" {
584
585 int length;
586
587 CSSValue item(int index) native;
588 }
589
590 class CanvasGradient native "*CanvasGradient" {
591
592 void addColorStop(num offset, String color) native;
593
594 var dartObjectLocalStorage;
595
596 String get typeName() native;
597 }
598
599 class CanvasPattern native "*CanvasPattern" {
600
601 var dartObjectLocalStorage;
602
603 String get typeName() native;
604 }
605
606 class CanvasPixelArray native "*CanvasPixelArray" {
607
608 int length;
609
610 int operator[](int index) native;
611
612 void operator[]=(int index, int value) native;
613
614 var dartObjectLocalStorage;
615
616 String get typeName() native;
617 }
618
619 class CanvasRenderingContext native "*CanvasRenderingContext" {
620
621 HTMLCanvasElement canvas;
622
623 var dartObjectLocalStorage;
624
625 String get typeName() native;
626 }
627
628 class CanvasRenderingContext2D extends CanvasRenderingContext native "*CanvasRen deringContext2D" {
629
630 Object fillStyle;
631
632 String font;
633
634 num globalAlpha;
635
636 String globalCompositeOperation;
637
638 String lineCap;
639
640 String lineJoin;
641
642 num lineWidth;
643
644 num miterLimit;
645
646 num shadowBlur;
647
648 String shadowColor;
649
650 num shadowOffsetX;
651
652 num shadowOffsetY;
653
654 Object strokeStyle;
655
656 String textAlign;
657
658 String textBaseline;
659
660 List webkitLineDash;
661
662 num webkitLineDashOffset;
663
664 void arc(num x, num y, num radius, num startAngle, num endAngle, bool anticloc kwise) native;
665
666 void arcTo(num x1, num y1, num x2, num y2, num radius) native;
667
668 void beginPath() native;
669
670 void bezierCurveTo(num cp1x, num cp1y, num cp2x, num cp2y, num x, num y) nativ e;
671
672 void clearRect(num x, num y, num width, num height) native;
673
674 void clearShadow() native;
675
676 void clip() native;
677
678 void closePath() native;
679
680 ImageData createImageData(var imagedata_OR_sw, [num sh = null]) native;
681
682 CanvasGradient createLinearGradient(num x0, num y0, num x1, num y1) native;
683
684 CanvasPattern createPattern(var canvas_OR_image, String repetitionType) native ;
685
686 CanvasGradient createRadialGradient(num x0, num y0, num r0, num x1, num y1, nu m r1) native;
687
688 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;
689
690 void drawImageFromRect(HTMLImageElement image, [num sx = null, num sy = null, num sw = null, num sh = null, num dx = null, num dy = null, num dw = null, num d h = null, String compositeOperation = null]) native;
691
692 void fill() native;
693
694 void fillRect(num x, num y, num width, num height) native;
695
696 void fillText(String text, num x, num y, [num maxWidth = null]) native;
697
698 ImageData getImageData(num sx, num sy, num sw, num sh) native;
699
700 bool isPointInPath(num x, num y) native;
701
702 void lineTo(num x, num y) native;
703
704 TextMetrics measureText(String text) native;
705
706 void moveTo(num x, num y) native;
707
708 void putImageData(ImageData imagedata, num dx, num dy, [num dirtyX = null, num dirtyY = null, num dirtyWidth = null, num dirtyHeight = null]) native;
709
710 void quadraticCurveTo(num cpx, num cpy, num x, num y) native;
711
712 void rect(num x, num y, num width, num height) native;
713
714 void restore() native;
715
716 void rotate(num angle) native;
717
718 void save() native;
719
720 void scale(num sx, num sy) native;
721
722 void setAlpha(num alpha) native;
723
724 void setCompositeOperation(String compositeOperation) native;
725
726 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;
727
728 void setLineCap(String cap) native;
729
730 void setLineJoin(String join) native;
731
732 void setLineWidth(num width) native;
733
734 void setMiterLimit(num limit) native;
735
736 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;
737
738 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;
739
740 void setTransform(num m11, num m12, num m21, num m22, num dx, num dy) native;
741
742 void stroke() native;
743
744 void strokeRect(num x, num y, num width, num height, [num lineWidth = null]) n ative;
745
746 void strokeText(String text, num x, num y, [num maxWidth = null]) native;
747
748 void transform(num m11, num m12, num m21, num m22, num dx, num dy) native;
749
750 void translate(num tx, num ty) native;
751 }
752
753 class CharacterData extends Node native "CharacterData" {
754
755 String data;
756
757 int length;
758
759 void appendData(String data) native;
760
761 void deleteData(int offset, int length) native;
762
763 void insertData(int offset, String data) native;
764
765 void replaceData(int offset, int length, String data) native;
766
767 String substringData(int offset, int length) native;
768 }
769
770 class ClientRect native "*ClientRect" {
771
772 num bottom;
773
774 num height;
775
776 num left;
777
778 num right;
779
780 num top;
781
782 num width;
783
784 var dartObjectLocalStorage;
785
786 String get typeName() native;
787 }
788
789 class ClientRectList native "*ClientRectList" {
790
791 int length;
792
793 ClientRect item(int index) native;
794
795 var dartObjectLocalStorage;
796
797 String get typeName() native;
798 }
799
800 class Clipboard native "*Clipboard" {
801
802 String dropEffect;
803
804 String effectAllowed;
805
806 FileList files;
807
808 DataTransferItemList items;
809
810 List types;
811
812 void clearData([String type = null]) native;
813
814 void getData(String type) native;
815
816 bool setData(String type, String data) native;
817
818 void setDragImage(HTMLImageElement image, int x, int y) native;
819
820 var dartObjectLocalStorage;
821
822 String get typeName() native;
823 }
824
825 class CloseEvent extends Event native "*CloseEvent" {
826
827 int code;
828
829 String reason;
830
831 bool wasClean;
832
833 void initCloseEvent(String typeArg, bool canBubbleArg, bool cancelableArg, boo l wasCleanArg, int codeArg, String reasonArg) native;
834 }
835
836 class Comment extends CharacterData native "*Comment" {
837 }
838
839 class CompositionEvent extends UIEvent native "*CompositionEvent" {
840
841 String data;
842
843 void initCompositionEvent(String typeArg, bool canBubbleArg, bool cancelableAr g, DOMWindow viewArg, String dataArg) native;
844 }
845
846 class Console native "=(typeof console == 'undefined' ? {} : console)" {
847
848 MemoryInfo memory;
849
850 List profiles;
851
852 void assert(bool condition) native;
853
854 void count() native;
855
856 void debug(Object arg) native;
857
858 void dir() native;
859
860 void dirxml() native;
861
862 void error(Object arg) native;
863
864 void group() native;
865
866 void groupCollapsed() native;
867
868 void groupEnd() native;
869
870 void info(Object arg) native;
871
872 void log(Object arg) native;
873
874 void markTimeline() native;
875
876 void profile(String title) native;
877
878 void profileEnd(String title) native;
879
880 void time(String title) native;
881
882 void timeEnd(String title) native;
883
884 void timeStamp() native;
885
886 void trace(Object arg) native;
887
888 void warn(Object arg) native;
889
890 var dartObjectLocalStorage;
891
892 String get typeName() native;
893 }
894
895 class ConvolverNode extends AudioNode native "*ConvolverNode" {
896
897 AudioBuffer buffer;
898 }
899
900 class Coordinates native "*Coordinates" {
901
902 num accuracy;
903
904 num altitude;
905
906 num altitudeAccuracy;
907
908 num heading;
909
910 num latitude;
911
912 num longitude;
913
914 num speed;
915
916 var dartObjectLocalStorage;
917
918 String get typeName() native;
919 }
920
921 class Counter native "*Counter" {
922
923 String identifier;
924
925 String listStyle;
926
927 String separator;
928
929 var dartObjectLocalStorage;
930
931 String get typeName() native;
932 }
933
934 class Crypto native "*Crypto" {
935
936 void getRandomValues(ArrayBufferView array) native;
937
938 var dartObjectLocalStorage;
939
940 String get typeName() native;
941 }
942
943 class CustomEvent extends Event native "*CustomEvent" {
944
945 Object detail;
946
947 void initCustomEvent(String typeArg, bool canBubbleArg, bool cancelableArg, Ob ject detailArg) native;
948 }
949
950 class DOMApplicationCache native "*DOMApplicationCache" {
951
952 static final int CHECKING = 2;
953
954 static final int DOWNLOADING = 3;
955
956 static final int IDLE = 1;
957
958 static final int OBSOLETE = 5;
959
960 static final int UNCACHED = 0;
961
962 static final int UPDATEREADY = 4;
963
964 int status;
965
966 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
967
968 bool dispatchEvent(Event evt) native;
969
970 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
971
972 void swapCache() native;
973
974 void update() native;
975
976 var dartObjectLocalStorage;
977
978 String get typeName() native;
979 }
980
981 class DOMException native "*DOMException" {
982
983 static final int ABORT_ERR = 20;
984
985 static final int DATA_CLONE_ERR = 25;
986
987 static final int DOMSTRING_SIZE_ERR = 2;
988
989 static final int HIERARCHY_REQUEST_ERR = 3;
990
991 static final int INDEX_SIZE_ERR = 1;
992
993 static final int INUSE_ATTRIBUTE_ERR = 10;
994
995 static final int INVALID_ACCESS_ERR = 15;
996
997 static final int INVALID_CHARACTER_ERR = 5;
998
999 static final int INVALID_MODIFICATION_ERR = 13;
1000
1001 static final int INVALID_NODE_TYPE_ERR = 24;
1002
1003 static final int INVALID_STATE_ERR = 11;
1004
1005 static final int NAMESPACE_ERR = 14;
1006
1007 static final int NETWORK_ERR = 19;
1008
1009 static final int NOT_FOUND_ERR = 8;
1010
1011 static final int NOT_SUPPORTED_ERR = 9;
1012
1013 static final int NO_DATA_ALLOWED_ERR = 6;
1014
1015 static final int NO_MODIFICATION_ALLOWED_ERR = 7;
1016
1017 static final int QUOTA_EXCEEDED_ERR = 22;
1018
1019 static final int SECURITY_ERR = 18;
1020
1021 static final int SYNTAX_ERR = 12;
1022
1023 static final int TIMEOUT_ERR = 23;
1024
1025 static final int TYPE_MISMATCH_ERR = 17;
1026
1027 static final int URL_MISMATCH_ERR = 21;
1028
1029 static final int VALIDATION_ERR = 16;
1030
1031 static final int WRONG_DOCUMENT_ERR = 4;
1032
1033 int code;
1034
1035 String message;
1036
1037 String name;
1038
1039 String toString() native;
1040
1041 var dartObjectLocalStorage;
1042
1043 String get typeName() native;
1044 }
1045
1046 class DOMFileSystem native "*DOMFileSystem" {
1047
1048 String name;
1049
1050 DirectoryEntry root;
1051
1052 var dartObjectLocalStorage;
1053
1054 String get typeName() native;
1055 }
1056
1057 class DOMFileSystemSync native "*DOMFileSystemSync" {
1058
1059 String name;
1060
1061 DirectoryEntrySync root;
1062
1063 var dartObjectLocalStorage;
1064
1065 String get typeName() native;
1066 }
1067
1068 class DOMFormData native "*DOMFormData" {
1069
1070 void append(String name, String value, String filename) native;
1071
1072 var dartObjectLocalStorage;
1073
1074 String get typeName() native;
1075 }
1076
1077 class DOMImplementation native "*DOMImplementation" {
1078
1079 CSSStyleSheet createCSSStyleSheet(String title, String media) native;
1080
1081 Document createDocument(String namespaceURI, String qualifiedName, DocumentTyp e doctype) native;
1082
1083 DocumentType createDocumentType(String qualifiedName, String publicId, String systemId) native;
1084
1085 HTMLDocument createHTMLDocument(String title) native;
1086
1087 bool hasFeature(String feature, String version) native;
1088
1089 var dartObjectLocalStorage;
1090
1091 String get typeName() native;
1092 }
1093
1094 class DOMMimeType native "*DOMMimeType" {
1095
1096 String description;
1097
1098 DOMPlugin enabledPlugin;
1099
1100 String suffixes;
1101
1102 String type;
1103
1104 var dartObjectLocalStorage;
1105
1106 String get typeName() native;
1107 }
1108
1109 class DOMMimeTypeArray native "*DOMMimeTypeArray" {
1110
1111 int length;
1112
1113 DOMMimeType item(int index) native;
1114
1115 DOMMimeType namedItem(String name) native;
1116
1117 var dartObjectLocalStorage;
1118
1119 String get typeName() native;
1120 }
1121
1122 class DOMParser native "*DOMParser" {
1123
1124 Document parseFromString(String str, String contentType) native;
1125
1126 var dartObjectLocalStorage;
1127
1128 String get typeName() native;
1129 }
1130
1131 class DOMPlugin native "*DOMPlugin" {
1132
1133 String description;
1134
1135 String filename;
1136
1137 int length;
1138
1139 String name;
1140
1141 DOMMimeType item(int index) native;
1142
1143 DOMMimeType namedItem(String name) native;
1144
1145 var dartObjectLocalStorage;
1146
1147 String get typeName() native;
1148 }
1149
1150 class DOMPluginArray native "*DOMPluginArray" {
1151
1152 int length;
1153
1154 DOMPlugin item(int index) native;
1155
1156 DOMPlugin namedItem(String name) native;
1157
1158 void refresh(bool reload) native;
1159
1160 var dartObjectLocalStorage;
1161
1162 String get typeName() native;
1163 }
1164
1165 class DOMSelection native "*DOMSelection" {
1166
1167 Node anchorNode;
1168
1169 int anchorOffset;
1170
1171 Node baseNode;
1172
1173 int baseOffset;
1174
1175 Node extentNode;
1176
1177 int extentOffset;
1178
1179 Node focusNode;
1180
1181 int focusOffset;
1182
1183 bool isCollapsed;
1184
1185 int rangeCount;
1186
1187 String type;
1188
1189 void addRange(Range range) native;
1190
1191 void collapse(Node node, int index) native;
1192
1193 void collapseToEnd() native;
1194
1195 void collapseToStart() native;
1196
1197 bool containsNode(Node node, bool allowPartial) native;
1198
1199 void deleteFromDocument() native;
1200
1201 void empty() native;
1202
1203 void extend(Node node, int offset) native;
1204
1205 Range getRangeAt(int index) native;
1206
1207 void modify(String alter, String direction, String granularity) native;
1208
1209 void removeAllRanges() native;
1210
1211 void selectAllChildren(Node node) native;
1212
1213 void setBaseAndExtent(Node baseNode, int baseOffset, Node extentNode, int exte ntOffset) native;
1214
1215 void setPosition(Node node, int offset) native;
1216
1217 String toString() native;
1218
1219 var dartObjectLocalStorage;
1220
1221 String get typeName() native;
1222 }
1223
1224 class DOMSettableTokenList extends DOMTokenList native "*DOMSettableTokenList" {
1225
1226 String value;
1227 }
1228
1229 class DOMTokenList native "*DOMTokenList" {
1230
1231 int length;
1232
1233 void add(String token) native;
1234
1235 bool contains(String token) native;
1236
1237 String item(int index) native;
1238
1239 void remove(String token) native;
1240
1241 String toString() native;
1242
1243 bool toggle(String token) native;
1244
1245 var dartObjectLocalStorage;
1246
1247 String get typeName() native;
1248 }
1249
1250 class DOMURL native "*DOMURL" {
1251
1252 String createObjectURL(Blob blob) native;
1253
1254 void revokeObjectURL(String url) native;
1255
1256 var dartObjectLocalStorage;
1257
1258 String get typeName() native;
1259 }
1260
1261 class DOMWindow native "@*DOMWindow" {
1262
1263 static final int PERSISTENT = 1;
1264
1265 static final int TEMPORARY = 0;
1266
1267 DOMApplicationCache applicationCache;
1268
1269 Navigator clientInformation;
1270
1271 bool closed;
1272
1273 Console console;
1274
1275 Crypto crypto;
1276
1277 String defaultStatus;
1278
1279 String defaultstatus;
1280
1281 num devicePixelRatio;
1282
1283 Document document;
1284
1285 Event event;
1286
1287 Element frameElement;
1288
1289 DOMWindow frames;
1290
1291 History history;
1292
1293 int innerHeight;
1294
1295 int innerWidth;
1296
1297 int length;
1298
1299 Storage localStorage;
1300
1301 Location location;
1302
1303 BarInfo locationbar;
1304
1305 BarInfo menubar;
1306
1307 String name;
1308
1309 Navigator navigator;
1310
1311 bool offscreenBuffering;
1312
1313 DOMWindow opener;
1314
1315 int outerHeight;
1316
1317 int outerWidth;
1318
1319 int pageXOffset;
1320
1321 int pageYOffset;
1322
1323 DOMWindow parent;
1324
1325 Performance performance;
1326
1327 BarInfo personalbar;
1328
1329 Screen screen;
1330
1331 int screenLeft;
1332
1333 int screenTop;
1334
1335 int screenX;
1336
1337 int screenY;
1338
1339 int scrollX;
1340
1341 int scrollY;
1342
1343 BarInfo scrollbars;
1344
1345 DOMWindow self;
1346
1347 Storage sessionStorage;
1348
1349 String status;
1350
1351 BarInfo statusbar;
1352
1353 StyleMedia styleMedia;
1354
1355 BarInfo toolbar;
1356
1357 DOMWindow top;
1358
1359 IDBFactory webkitIndexedDB;
1360
1361 NotificationCenter webkitNotifications;
1362
1363 StorageInfo webkitStorageInfo;
1364
1365 DOMURL webkitURL;
1366
1367 DOMWindow window;
1368
1369 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
1370
1371 void alert(String message) native;
1372
1373 String atob(String string) native;
1374
1375 void blur() native;
1376
1377 String btoa(String string) native;
1378
1379 void captureEvents() native;
1380
1381 void clearInterval(int handle) native;
1382
1383 void clearTimeout(int handle) native;
1384
1385 void close() native;
1386
1387 bool confirm(String message) native;
1388
1389 bool dispatchEvent(Event evt) native;
1390
1391 bool find(String string, bool caseSensitive, bool backwards, bool wrap, bool w holeWord, bool searchInFrames, bool showDialog) native;
1392
1393 void focus() native;
1394
1395 CSSStyleDeclaration getComputedStyle(Element element, String pseudoElement) na tive;
1396
1397 CSSRuleList getMatchedCSSRules(Element element, String pseudoElement) native;
1398
1399 DOMSelection getSelection() native;
1400
1401 MediaQueryList matchMedia(String query) native;
1402
1403 void moveBy(num x, num y) native;
1404
1405 void moveTo(num x, num y) native;
1406
1407 DOMWindow open(String url, String name, [String options = null]) native;
1408
1409 Database openDatabase(String name, String version, String displayName, int est imatedSize, [DatabaseCallback creationCallback = null]) native;
1410
1411 void postMessage(String message, var messagePorts_OR_targetOrigin, [String tar getOrigin = null]) native;
1412
1413 void print() native;
1414
1415 String prompt(String message, String defaultValue) native;
1416
1417 void releaseEvents() native;
1418
1419 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
1420
1421 void resizeBy(num x, num y) native;
1422
1423 void resizeTo(num width, num height) native;
1424
1425 void scroll(int x, int y) native;
1426
1427 void scrollBy(int x, int y) native;
1428
1429 void scrollTo(int x, int y) native;
1430
1431 int setInterval(TimeoutHandler handler, int timeout) native;
1432
1433 int setTimeout(TimeoutHandler handler, int timeout) native;
1434
1435 Object showModalDialog(String url, [Object dialogArgs = null, String featureAr gs = null]) native;
1436
1437 void stop() native;
1438
1439 void webkitCancelRequestAnimationFrame(int id) native;
1440
1441 WebKitPoint webkitConvertPointFromNodeToPage(Node node, WebKitPoint p) native;
1442
1443 WebKitPoint webkitConvertPointFromPageToNode(Node node, WebKitPoint p) native;
1444
1445 void webkitPostMessage(String message, var targetOrigin_OR_transferList, [Stri ng targetOrigin = null]) native;
1446
1447 int webkitRequestAnimationFrame(RequestAnimationFrameCallback callback, Elemen t element) native;
1448
1449 void webkitRequestFileSystem(int type, int size, [FileSystemCallback successCa llback = null, ErrorCallback errorCallback = null]) native;
1450
1451 void webkitResolveLocalFileSystemURL(String url, [EntryCallback successCallbac k = null, ErrorCallback errorCallback = null]) native;
1452
1453 var dartObjectLocalStorage;
1454
1455 String get typeName() native;
1456 }
1457
1458 class DataTransferItem native "*DataTransferItem" {
1459
1460 String kind;
1461
1462 String type;
1463
1464 Blob getAsFile() native;
1465
1466 void getAsString(StringCallback callback) native;
1467
1468 var dartObjectLocalStorage;
1469
1470 String get typeName() native;
1471 }
1472
1473 class DataTransferItemList native "*DataTransferItemList" {
1474
1475 int length;
1476
1477 void add(String data, String type) native;
1478
1479 void clear() native;
1480
1481 DataTransferItem item(int index) native;
1482
1483 var dartObjectLocalStorage;
1484
1485 String get typeName() native;
1486 }
1487
1488 class DataView extends ArrayBufferView native "*DataView" {
1489
1490 num getFloat32(int byteOffset, [bool littleEndian = null]) native;
1491
1492 num getFloat64(int byteOffset, [bool littleEndian = null]) native;
1493
1494 int getInt16(int byteOffset, [bool littleEndian = null]) native;
1495
1496 int getInt32(int byteOffset, [bool littleEndian = null]) native;
1497
1498 Object getInt8() native;
1499
1500 int getUint16(int byteOffset, [bool littleEndian = null]) native;
1501
1502 int getUint32(int byteOffset, [bool littleEndian = null]) native;
1503
1504 Object getUint8() native;
1505
1506 void setFloat32(int byteOffset, num value, [bool littleEndian = null]) native;
1507
1508 void setFloat64(int byteOffset, num value, [bool littleEndian = null]) native;
1509
1510 void setInt16(int byteOffset, int value, [bool littleEndian = null]) native;
1511
1512 void setInt32(int byteOffset, int value, [bool littleEndian = null]) native;
1513
1514 void setInt8() native;
1515
1516 void setUint16(int byteOffset, int value, [bool littleEndian = null]) native;
1517
1518 void setUint32(int byteOffset, int value, [bool littleEndian = null]) native;
1519
1520 void setUint8() native;
1521 }
1522
1523 class Database native "*Database" {
1524
1525 String version;
1526
1527 void changeVersion(String oldVersion, String newVersion, [SQLTransactionCallba ck callback = null, SQLTransactionErrorCallback errorCallback = null, VoidCallba ck successCallback = null]) native;
1528
1529 void readTransaction(SQLTransactionCallback callback, [SQLTransactionErrorCall back errorCallback = null, VoidCallback successCallback = null]) native;
1530
1531 void transaction(SQLTransactionCallback callback, [SQLTransactionErrorCallback errorCallback = null, VoidCallback successCallback = null]) native;
1532
1533 var dartObjectLocalStorage;
1534
1535 String get typeName() native;
1536 }
1537
1538 class DatabaseSync native "*DatabaseSync" {
1539
1540 String version;
1541
1542 void changeVersion(String oldVersion, String newVersion, [SQLTransactionSyncCa llback callback = null]) native;
1543
1544 void readTransaction(SQLTransactionSyncCallback callback) native;
1545
1546 void transaction(SQLTransactionSyncCallback callback) native;
1547
1548 var dartObjectLocalStorage;
1549
1550 String get typeName() native;
1551 }
1552
1553 class DedicatedWorkerContext extends WorkerContext native "*DedicatedWorkerConte xt" {
1554
1555 EventListener onmessage;
1556
1557 void postMessage(Object message, [List messagePorts = null]) native;
1558
1559 void webkitPostMessage(Object message, [List transferList = null]) native;
1560 }
1561
1562 class DelayNode extends AudioNode native "*DelayNode" {
1563
1564 AudioParam delayTime;
1565 }
1566
1567 class DeviceMotionEvent extends Event native "*DeviceMotionEvent" {
1568
1569 num interval;
1570 }
1571
1572 class DeviceOrientationEvent extends Event native "*DeviceOrientationEvent" {
1573
1574 num alpha;
1575
1576 num beta;
1577
1578 num gamma;
1579
1580 void initDeviceOrientationEvent(String type, bool bubbles, bool cancelable, nu m alpha, num beta, num gamma) native;
1581 }
1582
1583 class DirectoryEntry extends Entry native "*DirectoryEntry" {
1584
1585 DirectoryReader createReader() native;
1586
1587 void getDirectory(String path, [WebKitFlags flags = null, EntryCallback succes sCallback = null, ErrorCallback errorCallback = null]) native;
1588
1589 void getFile(String path, [WebKitFlags flags = null, EntryCallback successCall back = null, ErrorCallback errorCallback = null]) native;
1590
1591 void removeRecursively([VoidCallback successCallback = null, ErrorCallback err orCallback = null]) native;
1592 }
1593
1594 class DirectoryEntrySync extends EntrySync native "*DirectoryEntrySync" {
1595
1596 DirectoryReaderSync createReader() native;
1597
1598 DirectoryEntrySync getDirectory(String path, WebKitFlags flags) native;
1599
1600 FileEntrySync getFile(String path, WebKitFlags flags) native;
1601
1602 void removeRecursively() native;
1603 }
1604
1605 class DirectoryReader native "*DirectoryReader" {
1606
1607 void readEntries(EntriesCallback successCallback, [ErrorCallback errorCallback = null]) native;
1608
1609 var dartObjectLocalStorage;
1610
1611 String get typeName() native;
1612 }
1613
1614 class DirectoryReaderSync native "*DirectoryReaderSync" {
1615
1616 EntryArraySync readEntries() native;
1617
1618 var dartObjectLocalStorage;
1619
1620 String get typeName() native;
1621 }
1622
1623 class Document extends Node native "Document" {
1624
1625 String URL;
1626
1627 HTMLCollection anchors;
1628
1629 HTMLCollection applets;
1630
1631 HTMLElement body;
1632
1633 String characterSet;
1634
1635 String charset;
1636
1637 String compatMode;
1638
1639 String cookie;
1640
1641 String defaultCharset;
1642
1643 DOMWindow defaultView;
1644
1645 DocumentType doctype;
1646
1647 Element documentElement;
1648
1649 String documentURI;
1650
1651 String domain;
1652
1653 HTMLCollection forms;
1654
1655 HTMLHeadElement head;
1656
1657 HTMLCollection images;
1658
1659 DOMImplementation implementation;
1660
1661 String inputEncoding;
1662
1663 String lastModified;
1664
1665 HTMLCollection links;
1666
1667 Location location;
1668
1669 String preferredStylesheetSet;
1670
1671 String readyState;
1672
1673 String referrer;
1674
1675 String selectedStylesheetSet;
1676
1677 StyleSheetList styleSheets;
1678
1679 String title;
1680
1681 Element webkitCurrentFullScreenElement;
1682
1683 bool webkitFullScreenKeyboardInputAllowed;
1684
1685 bool webkitHidden;
1686
1687 bool webkitIsFullScreen;
1688
1689 String webkitVisibilityState;
1690
1691 String xmlEncoding;
1692
1693 bool xmlStandalone;
1694
1695 String xmlVersion;
1696
1697 Node adoptNode(Node source) native;
1698
1699 Range caretRangeFromPoint(int x, int y) native;
1700
1701 Attr createAttribute(String name) native;
1702
1703 Attr createAttributeNS(String namespaceURI, String qualifiedName) native;
1704
1705 CDATASection createCDATASection(String data) native;
1706
1707 Comment createComment(String data) native;
1708
1709 DocumentFragment createDocumentFragment() native;
1710
1711 Element createElement(String tagName) native;
1712
1713 Element createElementNS(String namespaceURI, String qualifiedName) native;
1714
1715 EntityReference createEntityReference(String name) native;
1716
1717 Event createEvent(String eventType) native;
1718
1719 XPathExpression createExpression(String expression, XPathNSResolver resolver) native;
1720
1721 XPathNSResolver createNSResolver(Node nodeResolver) native;
1722
1723 NodeIterator createNodeIterator(Node root, int whatToShow, NodeFilter filter, bool expandEntityReferences) native;
1724
1725 ProcessingInstruction createProcessingInstruction(String target, String data) native;
1726
1727 Range createRange() native;
1728
1729 Text createTextNode(String data) native;
1730
1731 Touch createTouch(DOMWindow window, EventTarget target, int identifier, int pa geX, int pageY, int screenX, int screenY, int webkitRadiusX, int webkitRadiusY, num webkitRotationAngle, num webkitForce) native;
1732
1733 TouchList createTouchList() native;
1734
1735 TreeWalker createTreeWalker(Node root, int whatToShow, NodeFilter filter, bool expandEntityReferences) native;
1736
1737 Element elementFromPoint(int x, int y) native;
1738
1739 XPathResult evaluate(String expression, Node contextNode, XPathNSResolver reso lver, int type, XPathResult inResult) native;
1740
1741 bool execCommand(String command, bool userInterface, String value) native;
1742
1743 Object getCSSCanvasContext(String contextId, String name, int width, int heigh t) native;
1744
1745 Element getElementById(String elementId) native;
1746
1747 NodeList getElementsByClassName(String tagname) native;
1748
1749 NodeList getElementsByName(String elementName) native;
1750
1751 NodeList getElementsByTagName(String tagname) native;
1752
1753 NodeList getElementsByTagNameNS(String namespaceURI, String localName) native;
1754
1755 CSSStyleDeclaration getOverrideStyle(Element element, String pseudoElement) na tive;
1756
1757 DOMSelection getSelection() native;
1758
1759 Node importNode(Node importedNode, bool deep) native;
1760
1761 bool queryCommandEnabled(String command) native;
1762
1763 bool queryCommandIndeterm(String command) native;
1764
1765 bool queryCommandState(String command) native;
1766
1767 bool queryCommandSupported(String command) native;
1768
1769 String queryCommandValue(String command) native;
1770
1771 Element querySelector(String selectors) native;
1772
1773 NodeList querySelectorAll(String selectors) native;
1774
1775 void webkitCancelFullScreen() native;
1776 }
1777
1778 class DocumentFragment extends Node native "*DocumentFragment" {
1779
1780 Element querySelector(String selectors) native;
1781
1782 NodeList querySelectorAll(String selectors) native;
1783 }
1784
1785 class DocumentType extends Node native "*DocumentType" {
1786
1787 NamedNodeMap entities;
1788
1789 String internalSubset;
1790
1791 String name;
1792
1793 NamedNodeMap notations;
1794
1795 String publicId;
1796
1797 String systemId;
1798 }
1799
1800 class DynamicsCompressorNode extends AudioNode native "*DynamicsCompressorNode" {
1801 }
1802
1803 class Element extends Node native "Element" {
1804
1805 static final int ALLOW_KEYBOARD_INPUT = 1;
1806
1807 int childElementCount;
1808
1809 int clientHeight;
1810
1811 int clientLeft;
1812
1813 int clientTop;
1814
1815 int clientWidth;
1816
1817 Element firstElementChild;
1818
1819 Element lastElementChild;
1820
1821 Element nextElementSibling;
1822
1823 int offsetHeight;
1824
1825 int offsetLeft;
1826
1827 Element offsetParent;
1828
1829 int offsetTop;
1830
1831 int offsetWidth;
1832
1833 Element previousElementSibling;
1834
1835 int scrollHeight;
1836
1837 int scrollLeft;
1838
1839 int scrollTop;
1840
1841 int scrollWidth;
1842
1843 CSSStyleDeclaration style;
1844
1845 String tagName;
1846
1847 void blur() native;
1848
1849 void focus() native;
1850
1851 String getAttribute(String name) native;
1852
1853 String getAttributeNS(String namespaceURI, String localName) native;
1854
1855 Attr getAttributeNode(String name) native;
1856
1857 Attr getAttributeNodeNS(String namespaceURI, String localName) native;
1858
1859 ClientRect getBoundingClientRect() native;
1860
1861 ClientRectList getClientRects() native;
1862
1863 NodeList getElementsByClassName(String name) native;
1864
1865 NodeList getElementsByTagName(String name) native;
1866
1867 NodeList getElementsByTagNameNS(String namespaceURI, String localName) native;
1868
1869 bool hasAttribute(String name) native;
1870
1871 bool hasAttributeNS(String namespaceURI, String localName) native;
1872
1873 Element querySelector(String selectors) native;
1874
1875 NodeList querySelectorAll(String selectors) native;
1876
1877 void removeAttribute(String name) native;
1878
1879 void removeAttributeNS(String namespaceURI, String localName) native;
1880
1881 Attr removeAttributeNode(Attr oldAttr) native;
1882
1883 void scrollByLines(int lines) native;
1884
1885 void scrollByPages(int pages) native;
1886
1887 void scrollIntoView([bool alignWithTop = null]) native;
1888
1889 void scrollIntoViewIfNeeded([bool centerIfNeeded = null]) native;
1890
1891 void setAttribute(String name, String value) native;
1892
1893 void setAttributeNS(String namespaceURI, String qualifiedName, String value) n ative;
1894
1895 Attr setAttributeNode(Attr newAttr) native;
1896
1897 Attr setAttributeNodeNS(Attr newAttr) native;
1898
1899 bool webkitMatchesSelector(String selectors) native;
1900
1901 void webkitRequestFullScreen(int flags) native;
1902 }
1903
1904 class ElementTimeControl native "*ElementTimeControl" {
1905
1906 void beginElement() native;
1907
1908 void beginElementAt(num offset) native;
1909
1910 void endElement() native;
1911
1912 void endElementAt(num offset) native;
1913
1914 var dartObjectLocalStorage;
1915
1916 String get typeName() native;
1917 }
1918
1919 class ElementTraversal native "*ElementTraversal" {
1920
1921 int childElementCount;
1922
1923 Element firstElementChild;
1924
1925 Element lastElementChild;
1926
1927 Element nextElementSibling;
1928
1929 Element previousElementSibling;
1930
1931 var dartObjectLocalStorage;
1932
1933 String get typeName() native;
1934 }
1935
1936 class Entity extends Node native "*Entity" {
1937
1938 String notationName;
1939
1940 String publicId;
1941
1942 String systemId;
1943 }
1944
1945 class EntityReference extends Node native "*EntityReference" {
1946 }
1947
1948 class Entry native "*Entry" {
1949
1950 DOMFileSystem filesystem;
1951
1952 String fullPath;
1953
1954 bool isDirectory;
1955
1956 bool isFile;
1957
1958 String name;
1959
1960 void copyTo(DirectoryEntry parent, [String name = null, EntryCallback successC allback = null, ErrorCallback errorCallback = null]) native;
1961
1962 void getMetadata([MetadataCallback successCallback = null, ErrorCallback error Callback = null]) native;
1963
1964 void getParent([EntryCallback successCallback = null, ErrorCallback errorCallb ack = null]) native;
1965
1966 void moveTo(DirectoryEntry parent, [String name = null, EntryCallback successC allback = null, ErrorCallback errorCallback = null]) native;
1967
1968 void remove([VoidCallback successCallback = null, ErrorCallback errorCallback = null]) native;
1969
1970 String toURL() native;
1971
1972 var dartObjectLocalStorage;
1973
1974 String get typeName() native;
1975 }
1976
1977 class EntryArray native "*EntryArray" {
1978
1979 int length;
1980
1981 Entry item(int index) native;
1982
1983 var dartObjectLocalStorage;
1984
1985 String get typeName() native;
1986 }
1987
1988 class EntryArraySync native "*EntryArraySync" {
1989
1990 int length;
1991
1992 EntrySync item(int index) native;
1993
1994 var dartObjectLocalStorage;
1995
1996 String get typeName() native;
1997 }
1998
1999 class EntrySync native "*EntrySync" {
2000
2001 DOMFileSystemSync filesystem;
2002
2003 String fullPath;
2004
2005 bool isDirectory;
2006
2007 bool isFile;
2008
2009 String name;
2010
2011 EntrySync copyTo(DirectoryEntrySync parent, String name) native;
2012
2013 Metadata getMetadata() native;
2014
2015 DirectoryEntrySync getParent() native;
2016
2017 EntrySync moveTo(DirectoryEntrySync parent, String name) native;
2018
2019 void remove() native;
2020
2021 String toURL() native;
2022
2023 var dartObjectLocalStorage;
2024
2025 String get typeName() native;
2026 }
2027
2028 class ErrorEvent extends Event native "*ErrorEvent" {
2029
2030 String filename;
2031
2032 int lineno;
2033
2034 String message;
2035
2036 void initErrorEvent(String typeArg, bool canBubbleArg, bool cancelableArg, Str ing messageArg, String filenameArg, int linenoArg) native;
2037 }
2038
2039 class Event native "Event" {
2040
2041 static final int AT_TARGET = 2;
2042
2043 static final int BLUR = 8192;
2044
2045 static final int BUBBLING_PHASE = 3;
2046
2047 static final int CAPTURING_PHASE = 1;
2048
2049 static final int CHANGE = 32768;
2050
2051 static final int CLICK = 64;
2052
2053 static final int DBLCLICK = 128;
2054
2055 static final int DRAGDROP = 2048;
2056
2057 static final int FOCUS = 4096;
2058
2059 static final int KEYDOWN = 256;
2060
2061 static final int KEYPRESS = 1024;
2062
2063 static final int KEYUP = 512;
2064
2065 static final int MOUSEDOWN = 1;
2066
2067 static final int MOUSEDRAG = 32;
2068
2069 static final int MOUSEMOVE = 16;
2070
2071 static final int MOUSEOUT = 8;
2072
2073 static final int MOUSEOVER = 4;
2074
2075 static final int MOUSEUP = 2;
2076
2077 static final int SELECT = 16384;
2078
2079 bool bubbles;
2080
2081 bool cancelBubble;
2082
2083 bool cancelable;
2084
2085 Clipboard clipboardData;
2086
2087 EventTarget currentTarget;
2088
2089 bool defaultPrevented;
2090
2091 int eventPhase;
2092
2093 bool returnValue;
2094
2095 EventTarget srcElement;
2096
2097 EventTarget target;
2098
2099 int timeStamp;
2100
2101 String type;
2102
2103 void initEvent(String eventTypeArg, bool canBubbleArg, bool cancelableArg) nat ive;
2104
2105 void preventDefault() native;
2106
2107 void stopImmediatePropagation() native;
2108
2109 void stopPropagation() native;
2110
2111 var dartObjectLocalStorage;
2112
2113 String get typeName() native;
2114 }
2115
2116 class EventException native "*EventException" {
2117
2118 static final int DISPATCH_REQUEST_ERR = 1;
2119
2120 static final int UNSPECIFIED_EVENT_TYPE_ERR = 0;
2121
2122 int code;
2123
2124 String message;
2125
2126 String name;
2127
2128 String toString() native;
2129
2130 var dartObjectLocalStorage;
2131
2132 String get typeName() native;
2133 }
2134
2135 class EventSource native "*EventSource" {
2136
2137 static final int CLOSED = 2;
2138
2139 static final int CONNECTING = 0;
2140
2141 static final int OPEN = 1;
2142
2143 String URL;
2144
2145 int readyState;
2146
2147 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
2148
2149 void close() native;
2150
2151 bool dispatchEvent(Event evt) native;
2152
2153 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
2154
2155 var dartObjectLocalStorage;
2156
2157 String get typeName() native;
2158 }
2159
2160 class EventTarget native "*EventTarget" {
2161
2162 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
2163
2164 bool dispatchEvent(Event event) native;
2165
2166 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
2167
2168 var dartObjectLocalStorage;
2169
2170 String get typeName() native;
2171 }
2172
2173 class File extends Blob native "*File" {
2174
2175 String fileName;
2176
2177 int fileSize;
2178
2179 Date lastModifiedDate;
2180
2181 String name;
2182
2183 String webkitRelativePath;
2184 }
2185
2186 class FileEntry extends Entry native "*FileEntry" {
2187
2188 void createWriter(FileWriterCallback successCallback, [ErrorCallback errorCall back = null]) native;
2189
2190 void file(FileCallback successCallback, [ErrorCallback errorCallback = null]) native;
2191 }
2192
2193 class FileEntrySync extends EntrySync native "*FileEntrySync" {
2194
2195 FileWriterSync createWriter() native;
2196
2197 File file() native;
2198 }
2199
2200 class FileError native "*FileError" {
2201
2202 static final int ABORT_ERR = 3;
2203
2204 static final int ENCODING_ERR = 5;
2205
2206 static final int INVALID_MODIFICATION_ERR = 9;
2207
2208 static final int INVALID_STATE_ERR = 7;
2209
2210 static final int NOT_FOUND_ERR = 1;
2211
2212 static final int NOT_READABLE_ERR = 4;
2213
2214 static final int NO_MODIFICATION_ALLOWED_ERR = 6;
2215
2216 static final int PATH_EXISTS_ERR = 12;
2217
2218 static final int QUOTA_EXCEEDED_ERR = 10;
2219
2220 static final int SECURITY_ERR = 2;
2221
2222 static final int SYNTAX_ERR = 8;
2223
2224 static final int TYPE_MISMATCH_ERR = 11;
2225
2226 int code;
2227
2228 var dartObjectLocalStorage;
2229
2230 String get typeName() native;
2231 }
2232
2233 class FileException native "*FileException" {
2234
2235 static final int ABORT_ERR = 3;
2236
2237 static final int ENCODING_ERR = 5;
2238
2239 static final int INVALID_MODIFICATION_ERR = 9;
2240
2241 static final int INVALID_STATE_ERR = 7;
2242
2243 static final int NOT_FOUND_ERR = 1;
2244
2245 static final int NOT_READABLE_ERR = 4;
2246
2247 static final int NO_MODIFICATION_ALLOWED_ERR = 6;
2248
2249 static final int PATH_EXISTS_ERR = 12;
2250
2251 static final int QUOTA_EXCEEDED_ERR = 10;
2252
2253 static final int SECURITY_ERR = 2;
2254
2255 static final int SYNTAX_ERR = 8;
2256
2257 static final int TYPE_MISMATCH_ERR = 11;
2258
2259 int code;
2260
2261 String message;
2262
2263 String name;
2264
2265 String toString() native;
2266
2267 var dartObjectLocalStorage;
2268
2269 String get typeName() native;
2270 }
2271
2272 class FileList native "*FileList" {
2273
2274 int length;
2275
2276 File item(int index) native;
2277
2278 var dartObjectLocalStorage;
2279
2280 String get typeName() native;
2281 }
2282
2283 class FileReader native "*FileReader" {
2284 FileReader() native;
2285
2286
2287 static final int DONE = 2;
2288
2289 static final int EMPTY = 0;
2290
2291 static final int LOADING = 1;
2292
2293 FileError error;
2294
2295 EventListener onabort;
2296
2297 EventListener onerror;
2298
2299 EventListener onload;
2300
2301 EventListener onloadend;
2302
2303 EventListener onloadstart;
2304
2305 EventListener onprogress;
2306
2307 int readyState;
2308
2309 Object result;
2310
2311 void abort() native;
2312
2313 void readAsArrayBuffer(Blob blob) native;
2314
2315 void readAsBinaryString(Blob blob) native;
2316
2317 void readAsDataURL(Blob blob) native;
2318
2319 void readAsText(Blob blob, [String encoding = null]) native;
2320
2321 var dartObjectLocalStorage;
2322
2323 String get typeName() native;
2324 }
2325
2326 class FileReaderSync native "*FileReaderSync" {
2327
2328 ArrayBuffer readAsArrayBuffer(Blob blob) native;
2329
2330 String readAsBinaryString(Blob blob) native;
2331
2332 String readAsDataURL(Blob blob) native;
2333
2334 String readAsText(Blob blob, [String encoding = null]) native;
2335
2336 var dartObjectLocalStorage;
2337
2338 String get typeName() native;
2339 }
2340
2341 class FileWriter native "*FileWriter" {
2342
2343 static final int DONE = 2;
2344
2345 static final int INIT = 0;
2346
2347 static final int WRITING = 1;
2348
2349 FileError error;
2350
2351 int length;
2352
2353 EventListener onabort;
2354
2355 EventListener onerror;
2356
2357 EventListener onprogress;
2358
2359 EventListener onwrite;
2360
2361 EventListener onwriteend;
2362
2363 EventListener onwritestart;
2364
2365 int position;
2366
2367 int readyState;
2368
2369 void abort() native;
2370
2371 void seek(int position) native;
2372
2373 void truncate(int size) native;
2374
2375 void write(Blob data) native;
2376
2377 var dartObjectLocalStorage;
2378
2379 String get typeName() native;
2380 }
2381
2382 class FileWriterSync native "*FileWriterSync" {
2383
2384 int length;
2385
2386 int position;
2387
2388 void seek(int position) native;
2389
2390 void truncate(int size) native;
2391
2392 void write(Blob data) native;
2393
2394 var dartObjectLocalStorage;
2395
2396 String get typeName() native;
2397 }
2398
2399 class Float32Array extends ArrayBufferView implements List<num> native "Float32A rray" {
2400
2401 factory Float32Array(int length) => _construct(length);
2402
2403 factory Float32Array.fromList(List<num> list) => _construct(list);
2404
2405 factory Float32Array.fromBuffer(ArrayBuffer buffer) => _construct(buffer);
2406
2407 static _construct(arg) native 'return new Float32Array(arg);';
2408
2409 static final int BYTES_PER_ELEMENT = 4;
2410
2411 int length;
2412
2413 num operator[](int index) native;
2414
2415 void operator[]=(int index, num value) native;
2416
2417 Float32Array subarray(int start, [int end = null]) native;
2418 }
2419
2420 class Float64Array extends ArrayBufferView implements List<num> native "Float64A rray" {
2421
2422 factory Float64Array(int length) => _construct(length);
2423
2424 factory Float64Array.fromList(List<num> list) => _construct(list);
2425
2426 factory Float64Array.fromBuffer(ArrayBuffer buffer) => _construct(buffer);
2427
2428 static _construct(arg) native 'return new Float64Array(arg);';
2429
2430 static final int BYTES_PER_ELEMENT = 8;
2431
2432 int length;
2433
2434 num operator[](int index) native;
2435
2436 void operator[]=(int index, num value) native;
2437
2438 Float64Array subarray(int start, [int end = null]) native;
2439 }
2440
2441 class Geolocation native "*Geolocation" {
2442
2443 void clearWatch(int watchId) native;
2444
2445 void getCurrentPosition(PositionCallback successCallback, [PositionErrorCallba ck errorCallback = null]) native;
2446
2447 int watchPosition(PositionCallback successCallback, [PositionErrorCallback err orCallback = null]) native;
2448
2449 var dartObjectLocalStorage;
2450
2451 String get typeName() native;
2452 }
2453
2454 class Geoposition native "*Geoposition" {
2455
2456 Coordinates coords;
2457
2458 int timestamp;
2459
2460 var dartObjectLocalStorage;
2461
2462 String get typeName() native;
2463 }
2464
2465 class HTMLAllCollection native "*HTMLAllCollection" {
2466
2467 int length;
2468
2469 Node item(int index) native;
2470
2471 Node namedItem(String name) native;
2472
2473 NodeList tags(String name) native;
2474
2475 var dartObjectLocalStorage;
2476
2477 String get typeName() native;
2478 }
2479
2480 class HTMLAnchorElement extends HTMLElement native "*HTMLAnchorElement" {
2481
2482 String accessKey;
2483
2484 String charset;
2485
2486 String coords;
2487
2488 String download;
2489
2490 String hash;
2491
2492 String host;
2493
2494 String hostname;
2495
2496 String href;
2497
2498 String hreflang;
2499
2500 String name;
2501
2502 String origin;
2503
2504 String pathname;
2505
2506 String ping;
2507
2508 String port;
2509
2510 String protocol;
2511
2512 String rel;
2513
2514 String rev;
2515
2516 String search;
2517
2518 String shape;
2519
2520 String target;
2521
2522 String text;
2523
2524 String type;
2525
2526 String getParameter(String name) native;
2527
2528 String toString() native;
2529 }
2530
2531 class HTMLAppletElement extends HTMLElement native "*HTMLAppletElement" {
2532
2533 String align;
2534
2535 String alt;
2536
2537 String archive;
2538
2539 String code;
2540
2541 String codeBase;
2542
2543 String height;
2544
2545 String hspace;
2546
2547 String name;
2548
2549 String object;
2550
2551 String vspace;
2552
2553 String width;
2554 }
2555
2556 class HTMLAreaElement extends HTMLElement native "*HTMLAreaElement" {
2557
2558 String accessKey;
2559
2560 String alt;
2561
2562 String coords;
2563
2564 String hash;
2565
2566 String host;
2567
2568 String hostname;
2569
2570 String href;
2571
2572 bool noHref;
2573
2574 String pathname;
2575
2576 String ping;
2577
2578 String port;
2579
2580 String protocol;
2581
2582 String search;
2583
2584 String shape;
2585
2586 String target;
2587 }
2588
2589 class HTMLAudioElement extends HTMLMediaElement native "*HTMLAudioElement" {
2590 }
2591
2592 class HTMLBRElement extends HTMLElement native "*HTMLBRElement" {
2593
2594 String clear;
2595 }
2596
2597 class HTMLBaseElement extends HTMLElement native "*HTMLBaseElement" {
2598
2599 String href;
2600
2601 String target;
2602 }
2603
2604 class HTMLBaseFontElement extends HTMLElement native "*HTMLBaseFontElement" {
2605
2606 String color;
2607
2608 String face;
2609
2610 int size;
2611 }
2612
2613 class HTMLBodyElement extends HTMLElement native "*HTMLBodyElement" {
2614
2615 String aLink;
2616
2617 String background;
2618
2619 String bgColor;
2620
2621 String link;
2622
2623 String text;
2624
2625 String vLink;
2626 }
2627
2628 class HTMLButtonElement extends HTMLElement native "*HTMLButtonElement" {
2629
2630 String accessKey;
2631
2632 bool autofocus;
2633
2634 bool disabled;
2635
2636 HTMLFormElement form;
2637
2638 String formAction;
2639
2640 String formEnctype;
2641
2642 String formMethod;
2643
2644 bool formNoValidate;
2645
2646 String formTarget;
2647
2648 NodeList labels;
2649
2650 String name;
2651
2652 String type;
2653
2654 String validationMessage;
2655
2656 ValidityState validity;
2657
2658 String value;
2659
2660 bool willValidate;
2661
2662 bool checkValidity() native;
2663
2664 void click() native;
2665
2666 void setCustomValidity(String error) native;
2667 }
2668
2669 class HTMLCanvasElement extends HTMLElement native "*HTMLCanvasElement" {
2670
2671 int height;
2672
2673 int width;
2674
2675 Object getContext(String contextId) native;
2676
2677 String toDataURL(String type) native;
2678 }
2679
2680 class HTMLCollection native "HTMLCollection" {
2681
2682 int length;
2683
2684 Node operator[](int index) native;
2685
2686 void operator[]=(int index, Node value) {
2687 throw new UnsupportedOperationException("Cannot assign element of immutable List.");
2688 }
2689
2690 Node item(int index) native;
2691
2692 Node namedItem(String name) native;
2693
2694 var dartObjectLocalStorage;
2695
2696 String get typeName() native;
2697 }
2698
2699 class HTMLDListElement extends HTMLElement native "*HTMLDListElement" {
2700
2701 bool compact;
2702 }
2703
2704 class HTMLDataListElement extends HTMLElement native "*HTMLDataListElement" {
2705
2706 HTMLCollection options;
2707 }
2708
2709 class HTMLDetailsElement extends HTMLElement native "*HTMLDetailsElement" {
2710
2711 bool open;
2712 }
2713
2714 class HTMLDirectoryElement extends HTMLElement native "*HTMLDirectoryElement" {
2715
2716 bool compact;
2717 }
2718
2719 class HTMLDivElement extends HTMLElement native "*HTMLDivElement" {
2720
2721 String align;
2722 }
2723
2724 class HTMLDocument extends Document native "*HTMLDocument" {
2725
2726 Element activeElement;
2727
2728 String alinkColor;
2729
2730 HTMLAllCollection all;
2731
2732 String bgColor;
2733
2734 String compatMode;
2735
2736 String designMode;
2737
2738 String dir;
2739
2740 HTMLCollection embeds;
2741
2742 String fgColor;
2743
2744 int height;
2745
2746 String linkColor;
2747
2748 HTMLCollection plugins;
2749
2750 HTMLCollection scripts;
2751
2752 String vlinkColor;
2753
2754 int width;
2755
2756 void captureEvents() native;
2757
2758 void clear() native;
2759
2760 void close() native;
2761
2762 bool hasFocus() native;
2763
2764 void open() native;
2765
2766 void releaseEvents() native;
2767
2768 void write(String text) native;
2769
2770 void writeln(String text) native;
2771 }
2772
2773 class HTMLElement extends Element native "HTMLElement" {
2774
2775 HTMLCollection children;
2776
2777 DOMTokenList classList;
2778
2779 String className;
2780
2781 String contentEditable;
2782
2783 String dir;
2784
2785 bool draggable;
2786
2787 bool hidden;
2788
2789 String id;
2790
2791 String innerHTML;
2792
2793 String innerText;
2794
2795 bool isContentEditable;
2796
2797 String itemId;
2798
2799 DOMSettableTokenList itemProp;
2800
2801 DOMSettableTokenList itemRef;
2802
2803 bool itemScope;
2804
2805 DOMSettableTokenList itemType;
2806
2807 Object itemValue;
2808
2809 String lang;
2810
2811 String outerHTML;
2812
2813 String outerText;
2814
2815 bool spellcheck;
2816
2817 int tabIndex;
2818
2819 String title;
2820
2821 String webkitdropzone;
2822
2823 Element insertAdjacentElement(String where, Element element) native;
2824
2825 void insertAdjacentHTML(String where, String html) native;
2826
2827 void insertAdjacentText(String where, String text) native;
2828 }
2829
2830 class HTMLEmbedElement extends HTMLElement native "*HTMLEmbedElement" {
2831
2832 String align;
2833
2834 String height;
2835
2836 String name;
2837
2838 String src;
2839
2840 String type;
2841
2842 String width;
2843
2844 SVGDocument getSVGDocument() native;
2845 }
2846
2847 class HTMLFieldSetElement extends HTMLElement native "*HTMLFieldSetElement" {
2848
2849 HTMLFormElement form;
2850
2851 String validationMessage;
2852
2853 ValidityState validity;
2854
2855 bool willValidate;
2856
2857 bool checkValidity() native;
2858
2859 void setCustomValidity(String error) native;
2860 }
2861
2862 class HTMLFontElement extends HTMLElement native "*HTMLFontElement" {
2863
2864 String color;
2865
2866 String face;
2867
2868 String size;
2869 }
2870
2871 class HTMLFormElement extends HTMLElement native "*HTMLFormElement" {
2872
2873 String acceptCharset;
2874
2875 String action;
2876
2877 String autocomplete;
2878
2879 HTMLCollection elements;
2880
2881 String encoding;
2882
2883 String enctype;
2884
2885 int length;
2886
2887 String method;
2888
2889 String name;
2890
2891 bool noValidate;
2892
2893 String target;
2894
2895 bool checkValidity() native;
2896
2897 void reset() native;
2898
2899 void submit() native;
2900 }
2901
2902 class HTMLFrameElement extends HTMLElement native "*HTMLFrameElement" {
2903
2904 Document contentDocument;
2905
2906 DOMWindow contentWindow;
2907
2908 String frameBorder;
2909
2910 int height;
2911
2912 String location;
2913
2914 String longDesc;
2915
2916 String marginHeight;
2917
2918 String marginWidth;
2919
2920 String name;
2921
2922 bool noResize;
2923
2924 String scrolling;
2925
2926 String src;
2927
2928 int width;
2929
2930 SVGDocument getSVGDocument() native;
2931 }
2932
2933 class HTMLFrameSetElement extends HTMLElement native "*HTMLFrameSetElement" {
2934
2935 String cols;
2936
2937 String rows;
2938 }
2939
2940 class HTMLHRElement extends HTMLElement native "*HTMLHRElement" {
2941
2942 String align;
2943
2944 bool noShade;
2945
2946 String size;
2947
2948 String width;
2949 }
2950
2951 class HTMLHeadElement extends HTMLElement native "*HTMLHeadElement" {
2952
2953 String profile;
2954 }
2955
2956 class HTMLHeadingElement extends HTMLElement native "*HTMLHeadingElement" {
2957
2958 String align;
2959 }
2960
2961 class HTMLHtmlElement extends HTMLElement native "*HTMLHtmlElement" {
2962
2963 String manifest;
2964
2965 String version;
2966 }
2967
2968 class HTMLIFrameElement extends HTMLElement native "*HTMLIFrameElement" {
2969
2970 String align;
2971
2972 Document contentDocument;
2973
2974 DOMWindow contentWindow;
2975
2976 String frameBorder;
2977
2978 String height;
2979
2980 String longDesc;
2981
2982 String marginHeight;
2983
2984 String marginWidth;
2985
2986 String name;
2987
2988 String sandbox;
2989
2990 String scrolling;
2991
2992 String src;
2993
2994 String width;
2995
2996 SVGDocument getSVGDocument() native;
2997 }
2998
2999 class HTMLImageElement extends HTMLElement native "*HTMLImageElement" {
3000
3001 String align;
3002
3003 String alt;
3004
3005 String border;
3006
3007 bool complete;
3008
3009 String crossOrigin;
3010
3011 int height;
3012
3013 int hspace;
3014
3015 bool isMap;
3016
3017 String longDesc;
3018
3019 String lowsrc;
3020
3021 String name;
3022
3023 int naturalHeight;
3024
3025 int naturalWidth;
3026
3027 String src;
3028
3029 String useMap;
3030
3031 int vspace;
3032
3033 int width;
3034
3035 int x;
3036
3037 int y;
3038 }
3039
3040 class HTMLInputElement extends HTMLElement native "HTMLInputElement" {
3041
3042 String accept;
3043
3044 String accessKey;
3045
3046 String align;
3047
3048 String alt;
3049
3050 String autocomplete;
3051
3052 bool autofocus;
3053
3054 bool checked;
3055
3056 bool defaultChecked;
3057
3058 String defaultValue;
3059
3060 bool disabled;
3061
3062 FileList files;
3063
3064 HTMLFormElement form;
3065
3066 String formAction;
3067
3068 String formEnctype;
3069
3070 String formMethod;
3071
3072 bool formNoValidate;
3073
3074 String formTarget;
3075
3076 bool incremental;
3077
3078 bool indeterminate;
3079
3080 NodeList labels;
3081
3082 HTMLElement list;
3083
3084 String max;
3085
3086 int maxLength;
3087
3088 String min;
3089
3090 bool multiple;
3091
3092 String name;
3093
3094 String pattern;
3095
3096 String placeholder;
3097
3098 bool readOnly;
3099
3100 bool required;
3101
3102 HTMLOptionElement selectedOption;
3103
3104 String selectionDirection;
3105
3106 int selectionEnd;
3107
3108 int selectionStart;
3109
3110 int size;
3111
3112 String src;
3113
3114 String step;
3115
3116 String type;
3117
3118 String useMap;
3119
3120 String validationMessage;
3121
3122 ValidityState validity;
3123
3124 String value;
3125
3126 Date valueAsDate;
3127
3128 num valueAsNumber;
3129
3130 bool webkitGrammar;
3131
3132 bool webkitSpeech;
3133
3134 bool webkitdirectory;
3135
3136 bool willValidate;
3137
3138 bool checkValidity() native;
3139
3140 void click() native;
3141
3142 void select() native;
3143
3144 void setCustomValidity(String error) native;
3145
3146 void setSelectionRange(int start, int end, [String direction = null]) native;
3147
3148 void stepDown([int n = null]) native;
3149
3150 void stepUp([int n = null]) native;
3151 }
3152
3153 class HTMLIsIndexElement extends HTMLInputElement native "*HTMLIsIndexElement" {
3154
3155 HTMLFormElement form;
3156
3157 String prompt;
3158 }
3159
3160 class HTMLKeygenElement extends HTMLElement native "*HTMLKeygenElement" {
3161
3162 bool autofocus;
3163
3164 String challenge;
3165
3166 bool disabled;
3167
3168 HTMLFormElement form;
3169
3170 String keytype;
3171
3172 NodeList labels;
3173
3174 String name;
3175
3176 String type;
3177
3178 String validationMessage;
3179
3180 ValidityState validity;
3181
3182 bool willValidate;
3183
3184 bool checkValidity() native;
3185
3186 void setCustomValidity(String error) native;
3187 }
3188
3189 class HTMLLIElement extends HTMLElement native "*HTMLLIElement" {
3190
3191 String type;
3192
3193 int value;
3194 }
3195
3196 class HTMLLabelElement extends HTMLElement native "*HTMLLabelElement" {
3197
3198 String accessKey;
3199
3200 HTMLElement control;
3201
3202 HTMLFormElement form;
3203
3204 String htmlFor;
3205 }
3206
3207 class HTMLLegendElement extends HTMLElement native "*HTMLLegendElement" {
3208
3209 String accessKey;
3210
3211 String align;
3212
3213 HTMLFormElement form;
3214 }
3215
3216 class HTMLLinkElement extends HTMLElement native "*HTMLLinkElement" {
3217
3218 String charset;
3219
3220 bool disabled;
3221
3222 String href;
3223
3224 String hreflang;
3225
3226 String media;
3227
3228 String rel;
3229
3230 String rev;
3231
3232 StyleSheet sheet;
3233
3234 DOMSettableTokenList sizes;
3235
3236 String target;
3237
3238 String type;
3239 }
3240
3241 class HTMLMapElement extends HTMLElement native "*HTMLMapElement" {
3242
3243 HTMLCollection areas;
3244
3245 String name;
3246 }
3247
3248 class HTMLMarqueeElement extends HTMLElement native "*HTMLMarqueeElement" {
3249
3250 String behavior;
3251
3252 String bgColor;
3253
3254 String direction;
3255
3256 String height;
3257
3258 int hspace;
3259
3260 int loop;
3261
3262 int scrollAmount;
3263
3264 int scrollDelay;
3265
3266 bool trueSpeed;
3267
3268 int vspace;
3269
3270 String width;
3271
3272 void start() native;
3273
3274 void stop() native;
3275 }
3276
3277 class HTMLMediaElement extends HTMLElement native "HTMLMediaElement" {
3278
3279 static final int EOS_DECODE_ERR = 2;
3280
3281 static final int EOS_NETWORK_ERR = 1;
3282
3283 static final int EOS_NO_ERROR = 0;
3284
3285 static final int HAVE_CURRENT_DATA = 2;
3286
3287 static final int HAVE_ENOUGH_DATA = 4;
3288
3289 static final int HAVE_FUTURE_DATA = 3;
3290
3291 static final int HAVE_METADATA = 1;
3292
3293 static final int HAVE_NOTHING = 0;
3294
3295 static final int NETWORK_EMPTY = 0;
3296
3297 static final int NETWORK_IDLE = 1;
3298
3299 static final int NETWORK_LOADING = 2;
3300
3301 static final int NETWORK_NO_SOURCE = 3;
3302
3303 static final int SOURCE_CLOSED = 0;
3304
3305 static final int SOURCE_ENDED = 2;
3306
3307 static final int SOURCE_OPEN = 1;
3308
3309 bool autoplay;
3310
3311 TimeRanges buffered;
3312
3313 bool controls;
3314
3315 String currentSrc;
3316
3317 num currentTime;
3318
3319 bool defaultMuted;
3320
3321 num defaultPlaybackRate;
3322
3323 num duration;
3324
3325 bool ended;
3326
3327 MediaError error;
3328
3329 num initialTime;
3330
3331 bool loop;
3332
3333 bool muted;
3334
3335 int networkState;
3336
3337 bool paused;
3338
3339 num playbackRate;
3340
3341 TimeRanges played;
3342
3343 String preload;
3344
3345 int readyState;
3346
3347 TimeRanges seekable;
3348
3349 bool seeking;
3350
3351 String src;
3352
3353 num startTime;
3354
3355 num volume;
3356
3357 int webkitAudioDecodedByteCount;
3358
3359 bool webkitClosedCaptionsVisible;
3360
3361 bool webkitHasClosedCaptions;
3362
3363 String webkitMediaSourceURL;
3364
3365 bool webkitPreservesPitch;
3366
3367 int webkitSourceState;
3368
3369 int webkitVideoDecodedByteCount;
3370
3371 TextTrack addTrack(String kind, [String label = null, String language = null]) native;
3372
3373 String canPlayType(String type) native;
3374
3375 void load() native;
3376
3377 void pause() native;
3378
3379 void play() native;
3380
3381 void webkitSourceAppend(Uint8Array data) native;
3382
3383 void webkitSourceEndOfStream(int status) native;
3384 }
3385
3386 class HTMLMenuElement extends HTMLElement native "*HTMLMenuElement" {
3387
3388 bool compact;
3389 }
3390
3391 class HTMLMetaElement extends HTMLElement native "*HTMLMetaElement" {
3392
3393 String content;
3394
3395 String httpEquiv;
3396
3397 String name;
3398
3399 String scheme;
3400 }
3401
3402 class HTMLMeterElement extends HTMLElement native "*HTMLMeterElement" {
3403
3404 HTMLFormElement form;
3405
3406 num high;
3407
3408 NodeList labels;
3409
3410 num low;
3411
3412 num max;
3413
3414 num min;
3415
3416 num optimum;
3417
3418 num value;
3419 }
3420
3421 class HTMLModElement extends HTMLElement native "*HTMLModElement" {
3422
3423 String cite;
3424
3425 String dateTime;
3426 }
3427
3428 class HTMLOListElement extends HTMLElement native "*HTMLOListElement" {
3429
3430 bool compact;
3431
3432 int start;
3433
3434 String type;
3435 }
3436
3437 class HTMLObjectElement extends HTMLElement native "*HTMLObjectElement" {
3438
3439 String align;
3440
3441 String archive;
3442
3443 String border;
3444
3445 String code;
3446
3447 String codeBase;
3448
3449 String codeType;
3450
3451 Document contentDocument;
3452
3453 String data;
3454
3455 bool declare;
3456
3457 HTMLFormElement form;
3458
3459 String height;
3460
3461 int hspace;
3462
3463 String name;
3464
3465 String standby;
3466
3467 String type;
3468
3469 String useMap;
3470
3471 String validationMessage;
3472
3473 ValidityState validity;
3474
3475 int vspace;
3476
3477 String width;
3478
3479 bool willValidate;
3480
3481 bool checkValidity() native;
3482
3483 SVGDocument getSVGDocument() native;
3484
3485 void setCustomValidity(String error) native;
3486 }
3487
3488 class HTMLOptGroupElement extends HTMLElement native "*HTMLOptGroupElement" {
3489
3490 bool disabled;
3491
3492 String label;
3493 }
3494
3495 class HTMLOptionElement extends HTMLElement native "*HTMLOptionElement" {
3496
3497 bool defaultSelected;
3498
3499 bool disabled;
3500
3501 HTMLFormElement form;
3502
3503 int index;
3504
3505 String label;
3506
3507 bool selected;
3508
3509 String text;
3510
3511 String value;
3512 }
3513
3514 class HTMLOptionsCollection extends HTMLCollection native "*HTMLOptionsCollectio n" {
3515
3516 int length;
3517
3518 int selectedIndex;
3519
3520 void remove(int index) native;
3521 }
3522
3523 class HTMLOutputElement extends HTMLElement native "*HTMLOutputElement" {
3524
3525 String defaultValue;
3526
3527 HTMLFormElement form;
3528
3529 DOMSettableTokenList htmlFor;
3530
3531 NodeList labels;
3532
3533 String name;
3534
3535 String type;
3536
3537 String validationMessage;
3538
3539 ValidityState validity;
3540
3541 String value;
3542
3543 bool willValidate;
3544
3545 bool checkValidity() native;
3546
3547 void setCustomValidity(String error) native;
3548 }
3549
3550 class HTMLParagraphElement extends HTMLElement native "*HTMLParagraphElement" {
3551
3552 String align;
3553 }
3554
3555 class HTMLParamElement extends HTMLElement native "*HTMLParamElement" {
3556
3557 String name;
3558
3559 String type;
3560
3561 String value;
3562
3563 String valueType;
3564 }
3565
3566 class HTMLPreElement extends HTMLElement native "*HTMLPreElement" {
3567
3568 int width;
3569
3570 bool wrap;
3571 }
3572
3573 class HTMLProgressElement extends HTMLElement native "*HTMLProgressElement" {
3574
3575 HTMLFormElement form;
3576
3577 NodeList labels;
3578
3579 num max;
3580
3581 num position;
3582
3583 num value;
3584 }
3585
3586 class HTMLQuoteElement extends HTMLElement native "*HTMLQuoteElement" {
3587
3588 String cite;
3589 }
3590
3591 class HTMLScriptElement extends HTMLElement native "*HTMLScriptElement" {
3592
3593 bool async;
3594
3595 String charset;
3596
3597 bool defer;
3598
3599 String event;
3600
3601 String htmlFor;
3602
3603 String src;
3604
3605 String text;
3606
3607 String type;
3608 }
3609
3610 class HTMLSelectElement extends HTMLElement native "*HTMLSelectElement" {
3611
3612 bool autofocus;
3613
3614 bool disabled;
3615
3616 HTMLFormElement form;
3617
3618 NodeList labels;
3619
3620 int length;
3621
3622 bool multiple;
3623
3624 String name;
3625
3626 HTMLOptionsCollection options;
3627
3628 bool required;
3629
3630 int selectedIndex;
3631
3632 int size;
3633
3634 String type;
3635
3636 String validationMessage;
3637
3638 ValidityState validity;
3639
3640 String value;
3641
3642 bool willValidate;
3643
3644 void add(HTMLElement element, HTMLElement before) native;
3645
3646 bool checkValidity() native;
3647
3648 Node item(int index) native;
3649
3650 Node namedItem(String name) native;
3651
3652 void remove(var index_OR_option) native;
3653
3654 void setCustomValidity(String error) native;
3655 }
3656
3657 class HTMLSourceElement extends HTMLElement native "*HTMLSourceElement" {
3658
3659 String media;
3660
3661 String src;
3662
3663 String type;
3664 }
3665
3666 class HTMLSpanElement extends HTMLElement native "*HTMLSpanElement" {
3667 }
3668
3669 class HTMLStyleElement extends HTMLElement native "*HTMLStyleElement" {
3670
3671 bool disabled;
3672
3673 String media;
3674
3675 StyleSheet sheet;
3676
3677 String type;
3678 }
3679
3680 class HTMLTableCaptionElement extends HTMLElement native "*HTMLTableCaptionEleme nt" {
3681
3682 String align;
3683 }
3684
3685 class HTMLTableCellElement extends HTMLElement native "*HTMLTableCellElement" {
3686
3687 String abbr;
3688
3689 String align;
3690
3691 String axis;
3692
3693 String bgColor;
3694
3695 int cellIndex;
3696
3697 String ch;
3698
3699 String chOff;
3700
3701 int colSpan;
3702
3703 String headers;
3704
3705 String height;
3706
3707 bool noWrap;
3708
3709 int rowSpan;
3710
3711 String scope;
3712
3713 String vAlign;
3714
3715 String width;
3716 }
3717
3718 class HTMLTableColElement extends HTMLElement native "*HTMLTableColElement" {
3719
3720 String align;
3721
3722 String ch;
3723
3724 String chOff;
3725
3726 int span;
3727
3728 String vAlign;
3729
3730 String width;
3731 }
3732
3733 class HTMLTableElement extends HTMLElement native "*HTMLTableElement" {
3734
3735 String align;
3736
3737 String bgColor;
3738
3739 String border;
3740
3741 HTMLTableCaptionElement caption;
3742
3743 String cellPadding;
3744
3745 String cellSpacing;
3746
3747 String frame;
3748
3749 HTMLCollection rows;
3750
3751 String rules;
3752
3753 String summary;
3754
3755 HTMLCollection tBodies;
3756
3757 HTMLTableSectionElement tFoot;
3758
3759 HTMLTableSectionElement tHead;
3760
3761 String width;
3762
3763 HTMLElement createCaption() native;
3764
3765 HTMLElement createTFoot() native;
3766
3767 HTMLElement createTHead() native;
3768
3769 void deleteCaption() native;
3770
3771 void deleteRow(int index) native;
3772
3773 void deleteTFoot() native;
3774
3775 void deleteTHead() native;
3776
3777 HTMLElement insertRow(int index) native;
3778 }
3779
3780 class HTMLTableRowElement extends HTMLElement native "*HTMLTableRowElement" {
3781
3782 String align;
3783
3784 String bgColor;
3785
3786 HTMLCollection cells;
3787
3788 String ch;
3789
3790 String chOff;
3791
3792 int rowIndex;
3793
3794 int sectionRowIndex;
3795
3796 String vAlign;
3797
3798 void deleteCell(int index) native;
3799
3800 HTMLElement insertCell(int index) native;
3801 }
3802
3803 class HTMLTableSectionElement extends HTMLElement native "*HTMLTableSectionEleme nt" {
3804
3805 String align;
3806
3807 String ch;
3808
3809 String chOff;
3810
3811 HTMLCollection rows;
3812
3813 String vAlign;
3814
3815 void deleteRow(int index) native;
3816
3817 HTMLElement insertRow(int index) native;
3818 }
3819
3820 class HTMLTextAreaElement extends HTMLElement native "*HTMLTextAreaElement" {
3821
3822 String accessKey;
3823
3824 bool autofocus;
3825
3826 int cols;
3827
3828 String defaultValue;
3829
3830 bool disabled;
3831
3832 HTMLFormElement form;
3833
3834 NodeList labels;
3835
3836 int maxLength;
3837
3838 String name;
3839
3840 String placeholder;
3841
3842 bool readOnly;
3843
3844 bool required;
3845
3846 int rows;
3847
3848 String selectionDirection;
3849
3850 int selectionEnd;
3851
3852 int selectionStart;
3853
3854 int textLength;
3855
3856 String type;
3857
3858 String validationMessage;
3859
3860 ValidityState validity;
3861
3862 String value;
3863
3864 bool willValidate;
3865
3866 String wrap;
3867
3868 bool checkValidity() native;
3869
3870 void select() native;
3871
3872 void setCustomValidity(String error) native;
3873
3874 void setSelectionRange(int start, int end, [String direction = null]) native;
3875 }
3876
3877 class HTMLTitleElement extends HTMLElement native "*HTMLTitleElement" {
3878
3879 String text;
3880 }
3881
3882 class HTMLTrackElement extends HTMLElement native "*HTMLTrackElement" {
3883
3884 bool isDefault;
3885
3886 String kind;
3887
3888 String label;
3889
3890 String src;
3891
3892 String srclang;
3893
3894 TextTrack track;
3895 }
3896
3897 class HTMLUListElement extends HTMLElement native "*HTMLUListElement" {
3898
3899 bool compact;
3900
3901 String type;
3902 }
3903
3904 class HTMLUnknownElement extends HTMLElement native "*HTMLUnknownElement" {
3905 }
3906
3907 class HTMLVideoElement extends HTMLMediaElement native "*HTMLVideoElement" {
3908
3909 int height;
3910
3911 String poster;
3912
3913 int videoHeight;
3914
3915 int videoWidth;
3916
3917 int webkitDecodedFrameCount;
3918
3919 bool webkitDisplayingFullscreen;
3920
3921 int webkitDroppedFrameCount;
3922
3923 bool webkitSupportsFullscreen;
3924
3925 int width;
3926
3927 void webkitEnterFullScreen() native;
3928
3929 void webkitEnterFullscreen() native;
3930
3931 void webkitExitFullScreen() native;
3932
3933 void webkitExitFullscreen() native;
3934 }
3935
3936 class HashChangeEvent extends Event native "*HashChangeEvent" {
3937
3938 String newURL;
3939
3940 String oldURL;
3941
3942 void initHashChangeEvent(String type, bool canBubble, bool cancelable, String oldURL, String newURL) native;
3943 }
3944
3945 class HighPass2FilterNode extends AudioNode native "*HighPass2FilterNode" {
3946
3947 AudioParam cutoff;
3948
3949 AudioParam resonance;
3950 }
3951
3952 class History native "*History" {
3953
3954 int length;
3955
3956 void back() native;
3957
3958 void forward() native;
3959
3960 void go(int distance) native;
3961
3962 void pushState(Object data, String title, [String url = null]) native;
3963
3964 void replaceState(Object data, String title, [String url = null]) native;
3965
3966 var dartObjectLocalStorage;
3967
3968 String get typeName() native;
3969 }
3970
3971 class IDBAny native "*IDBAny" {
3972
3973 var dartObjectLocalStorage;
3974
3975 String get typeName() native;
3976 }
3977
3978 class IDBCursor native "*IDBCursor" {
3979
3980 static final int NEXT = 0;
3981
3982 static final int NEXT_NO_DUPLICATE = 1;
3983
3984 static final int PREV = 2;
3985
3986 static final int PREV_NO_DUPLICATE = 3;
3987
3988 int direction;
3989
3990 IDBKey key;
3991
3992 IDBKey primaryKey;
3993
3994 IDBAny source;
3995
3996 void continueFunction([IDBKey key = null]) native;
3997
3998 IDBRequest delete() native;
3999
4000 IDBRequest update(String value) native;
4001
4002 var dartObjectLocalStorage;
4003
4004 String get typeName() native;
4005 }
4006
4007 class IDBCursorWithValue extends IDBCursor native "*IDBCursorWithValue" {
4008
4009 IDBAny value;
4010 }
4011
4012 class IDBDatabase native "*IDBDatabase" {
4013
4014 String name;
4015
4016 EventListener onabort;
4017
4018 EventListener onerror;
4019
4020 EventListener onversionchange;
4021
4022 String version;
4023
4024 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
4025
4026 void close() native;
4027
4028 IDBObjectStore createObjectStore(String name) native;
4029
4030 void deleteObjectStore(String name) native;
4031
4032 bool dispatchEvent(Event evt) native;
4033
4034 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
4035
4036 IDBVersionChangeRequest setVersion(String version) native;
4037
4038 IDBTransaction transaction(String storeName, int mode) native;
4039
4040 var dartObjectLocalStorage;
4041
4042 String get typeName() native;
4043 }
4044
4045 class IDBDatabaseError native "*IDBDatabaseError" {
4046
4047 int code;
4048
4049 String message;
4050
4051 var dartObjectLocalStorage;
4052
4053 String get typeName() native;
4054 }
4055
4056 class IDBDatabaseException native "*IDBDatabaseException" {
4057
4058 static final int ABORT_ERR = 13;
4059
4060 static final int CONSTRAINT_ERR = 4;
4061
4062 static final int DATA_ERR = 5;
4063
4064 static final int DEADLOCK_ERR = 11;
4065
4066 static final int NON_TRANSIENT_ERR = 2;
4067
4068 static final int NOT_ALLOWED_ERR = 6;
4069
4070 static final int NOT_FOUND_ERR = 3;
4071
4072 static final int NO_ERR = 0;
4073
4074 static final int READ_ONLY_ERR = 12;
4075
4076 static final int RECOVERABLE_ERR = 8;
4077
4078 static final int SERIAL_ERR = 7;
4079
4080 static final int TIMEOUT_ERR = 10;
4081
4082 static final int TRANSIENT_ERR = 9;
4083
4084 static final int UNKNOWN_ERR = 1;
4085
4086 int code;
4087
4088 String message;
4089
4090 String name;
4091
4092 String toString() native;
4093
4094 var dartObjectLocalStorage;
4095
4096 String get typeName() native;
4097 }
4098
4099 class IDBFactory native "*IDBFactory" {
4100
4101 int cmp(IDBKey first, IDBKey second) native;
4102
4103 IDBVersionChangeRequest deleteDatabase(String name) native;
4104
4105 IDBRequest getDatabaseNames() native;
4106
4107 IDBRequest open(String name) native;
4108
4109 var dartObjectLocalStorage;
4110
4111 String get typeName() native;
4112 }
4113
4114 class IDBIndex native "*IDBIndex" {
4115
4116 String keyPath;
4117
4118 String name;
4119
4120 IDBObjectStore objectStore;
4121
4122 bool unique;
4123
4124 IDBRequest getObject(IDBKey key) native;
4125
4126 IDBRequest getKey(IDBKey key) native;
4127
4128 IDBRequest openCursor([IDBKeyRange range = null, int direction = null]) native ;
4129
4130 IDBRequest openKeyCursor([IDBKeyRange range = null, int direction = null]) nat ive;
4131
4132 var dartObjectLocalStorage;
4133
4134 String get typeName() native;
4135 }
4136
4137 class IDBKey native "*IDBKey" {
4138
4139 var dartObjectLocalStorage;
4140
4141 String get typeName() native;
4142 }
4143
4144 class IDBKeyRange native "*IDBKeyRange" {
4145
4146 IDBKey lower;
4147
4148 bool lowerOpen;
4149
4150 IDBKey upper;
4151
4152 bool upperOpen;
4153
4154 IDBKeyRange bound(IDBKey lower, IDBKey upper, [bool lowerOpen = null, bool upp erOpen = null]) native;
4155
4156 IDBKeyRange lowerBound(IDBKey bound, [bool open = null]) native;
4157
4158 IDBKeyRange only(IDBKey value) native;
4159
4160 IDBKeyRange upperBound(IDBKey bound, [bool open = null]) native;
4161
4162 var dartObjectLocalStorage;
4163
4164 String get typeName() native;
4165 }
4166
4167 class IDBObjectStore native "*IDBObjectStore" {
4168
4169 String keyPath;
4170
4171 String name;
4172
4173 IDBTransaction transaction;
4174
4175 IDBRequest add(String value, [IDBKey key = null]) native;
4176
4177 IDBRequest clear() native;
4178
4179 IDBIndex createIndex(String name, String keyPath) native;
4180
4181 IDBRequest delete(IDBKey key) native;
4182
4183 void deleteIndex(String name) native;
4184
4185 IDBRequest getObject(IDBKey key) native;
4186
4187 IDBIndex index(String name) native;
4188
4189 IDBRequest openCursor([IDBKeyRange range = null, int direction = null]) native ;
4190
4191 IDBRequest put(String value, [IDBKey key = null]) native;
4192
4193 var dartObjectLocalStorage;
4194
4195 String get typeName() native;
4196 }
4197
4198 class IDBRequest native "*IDBRequest" {
4199
4200 static final int DONE = 2;
4201
4202 static final int LOADING = 1;
4203
4204 int errorCode;
4205
4206 EventListener onerror;
4207
4208 EventListener onsuccess;
4209
4210 int readyState;
4211
4212 IDBAny result;
4213
4214 IDBAny source;
4215
4216 IDBTransaction transaction;
4217
4218 String webkitErrorMessage;
4219
4220 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
4221
4222 bool dispatchEvent(Event evt) native;
4223
4224 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
4225
4226 var dartObjectLocalStorage;
4227
4228 String get typeName() native;
4229 }
4230
4231 class IDBTransaction native "*IDBTransaction" {
4232
4233 static final int READ_ONLY = 0;
4234
4235 static final int READ_WRITE = 1;
4236
4237 static final int VERSION_CHANGE = 2;
4238
4239 IDBDatabase db;
4240
4241 int mode;
4242
4243 EventListener onabort;
4244
4245 EventListener oncomplete;
4246
4247 EventListener onerror;
4248
4249 void abort() native;
4250
4251 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
4252
4253 bool dispatchEvent(Event evt) native;
4254
4255 IDBObjectStore objectStore(String name) native;
4256
4257 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
4258
4259 var dartObjectLocalStorage;
4260
4261 String get typeName() native;
4262 }
4263
4264 class IDBVersionChangeEvent extends Event native "*IDBVersionChangeEvent" {
4265
4266 String version;
4267 }
4268
4269 class IDBVersionChangeRequest extends IDBRequest native "*IDBVersionChangeReques t" {
4270
4271 EventListener onblocked;
4272 }
4273
4274 class ImageData native "*ImageData" {
4275
4276 CanvasPixelArray data;
4277
4278 int height;
4279
4280 int width;
4281
4282 var dartObjectLocalStorage;
4283
4284 String get typeName() native;
4285 }
4286
4287 class InjectedScriptHost native "*InjectedScriptHost" {
4288
4289 void clearConsoleMessages() native;
4290
4291 void copyText(String text) native;
4292
4293 int databaseId(Object database) native;
4294
4295 void didCreateWorker(int id, String url, bool isFakeWorker) native;
4296
4297 void didDestroyWorker(int id) native;
4298
4299 Object evaluate(String text) native;
4300
4301 void inspect(Object objectId, Object hints) native;
4302
4303 Object inspectedNode(int num) native;
4304
4305 Object internalConstructorName(Object object) native;
4306
4307 bool isHTMLAllCollection(Object object) native;
4308
4309 int nextWorkerId() native;
4310
4311 int storageId(Object storage) native;
4312
4313 String type(Object object) native;
4314
4315 var dartObjectLocalStorage;
4316
4317 String get typeName() native;
4318 }
4319
4320 class InspectorFrontendHost native "*InspectorFrontendHost" {
4321
4322 void bringToFront() native;
4323
4324 void closeWindow() native;
4325
4326 void copyText(String text) native;
4327
4328 void disconnectFromBackend() native;
4329
4330 String hiddenPanels() native;
4331
4332 void inspectedURLChanged(String newURL) native;
4333
4334 void loaded() native;
4335
4336 String localizedStringsURL() native;
4337
4338 void moveWindowBy(num x, num y) native;
4339
4340 String platform() native;
4341
4342 String port() native;
4343
4344 void recordActionTaken(int actionCode) native;
4345
4346 void recordPanelShown(int panelCode) native;
4347
4348 void recordSettingChanged(int settingChanged) native;
4349
4350 void requestAttachWindow() native;
4351
4352 void requestDetachWindow() native;
4353
4354 void saveAs(String fileName, String content) native;
4355
4356 void sendMessageToBackend(String message) native;
4357
4358 void setAttachedWindowHeight(int height) native;
4359
4360 void setExtensionAPI(String script) native;
4361
4362 void showContextMenu(MouseEvent event, Object items) native;
4363
4364 var dartObjectLocalStorage;
4365
4366 String get typeName() native;
4367 }
4368
4369 class Int16Array extends ArrayBufferView implements List<int> native "Int16Array " {
4370
4371 factory Int16Array(int length) => _construct(length);
4372
4373 factory Int16Array.fromList(List<int> list) => _construct(list);
4374
4375 factory Int16Array.fromBuffer(ArrayBuffer buffer) => _construct(buffer);
4376
4377 static _construct(arg) native 'return new Int16Array(arg);';
4378
4379 static final int BYTES_PER_ELEMENT = 2;
4380
4381 int length;
4382
4383 int operator[](int index) native;
4384
4385 void operator[]=(int index, int value) native;
4386
4387 Int16Array subarray(int start, [int end = null]) native;
4388 }
4389
4390 class Int32Array extends ArrayBufferView implements List<int> native "Int32Array " {
4391
4392 factory Int32Array(int length) => _construct(length);
4393
4394 factory Int32Array.fromList(List<int> list) => _construct(list);
4395
4396 factory Int32Array.fromBuffer(ArrayBuffer buffer) => _construct(buffer);
4397
4398 static _construct(arg) native 'return new Int32Array(arg);';
4399
4400 static final int BYTES_PER_ELEMENT = 4;
4401
4402 int length;
4403
4404 int operator[](int index) native;
4405
4406 void operator[]=(int index, int value) native;
4407
4408 Int32Array subarray(int start, [int end = null]) native;
4409 }
4410
4411 class Int8Array extends ArrayBufferView implements List<int> native "Int8Array" {
4412
4413 factory Int8Array(int length) => _construct(length);
4414
4415 factory Int8Array.fromList(List<int> list) => _construct(list);
4416
4417 factory Int8Array.fromBuffer(ArrayBuffer buffer) => _construct(buffer);
4418
4419 static _construct(arg) native 'return new Int8Array(arg);';
4420
4421 static final int BYTES_PER_ELEMENT = 1;
4422
4423 int length;
4424
4425 int operator[](int index) native;
4426
4427 void operator[]=(int index, int value) native;
4428
4429 Int8Array subarray(int start, [int end = null]) native;
4430 }
4431
4432 class JavaScriptAudioNode extends AudioNode native "*JavaScriptAudioNode" {
4433
4434 int bufferSize;
4435
4436 EventListener onaudioprocess;
4437 }
4438
4439 class JavaScriptCallFrame native "*JavaScriptCallFrame" {
4440
4441 static final int CATCH_SCOPE = 4;
4442
4443 static final int CLOSURE_SCOPE = 3;
4444
4445 static final int GLOBAL_SCOPE = 0;
4446
4447 static final int LOCAL_SCOPE = 1;
4448
4449 static final int WITH_SCOPE = 2;
4450
4451 JavaScriptCallFrame caller;
4452
4453 int column;
4454
4455 String functionName;
4456
4457 int line;
4458
4459 List scopeChain;
4460
4461 int sourceID;
4462
4463 String type;
4464
4465 void evaluate(String script) native;
4466
4467 int scopeType(int scopeIndex) native;
4468
4469 var dartObjectLocalStorage;
4470
4471 String get typeName() native;
4472 }
4473
4474 class KeyboardEvent extends UIEvent native "*KeyboardEvent" {
4475
4476 bool altGraphKey;
4477
4478 bool altKey;
4479
4480 bool ctrlKey;
4481
4482 String keyIdentifier;
4483
4484 int keyLocation;
4485
4486 bool metaKey;
4487
4488 bool shiftKey;
4489
4490 void initKeyboardEvent(String type, bool canBubble, bool cancelable, DOMWindow view, String keyIdentifier, int keyLocation, bool ctrlKey, bool altKey, bool sh iftKey, bool metaKey, bool altGraphKey) native;
4491 }
4492
4493 class Location native "*Location" {
4494
4495 String hash;
4496
4497 String host;
4498
4499 String hostname;
4500
4501 String href;
4502
4503 String origin;
4504
4505 String pathname;
4506
4507 String port;
4508
4509 String protocol;
4510
4511 String search;
4512
4513 void assign(String url) native;
4514
4515 String getParameter(String name) native;
4516
4517 void reload() native;
4518
4519 void replace(String url) native;
4520
4521 String toString() native;
4522
4523 var dartObjectLocalStorage;
4524
4525 String get typeName() native;
4526 }
4527
4528 class LowPass2FilterNode extends AudioNode native "*LowPass2FilterNode" {
4529
4530 AudioParam cutoff;
4531
4532 AudioParam resonance;
4533 }
4534
4535 class MediaElementAudioSourceNode extends AudioSourceNode native "*MediaElementA udioSourceNode" {
4536
4537 HTMLMediaElement mediaElement;
4538 }
4539
4540 class MediaError native "*MediaError" {
4541
4542 static final int MEDIA_ERR_ABORTED = 1;
4543
4544 static final int MEDIA_ERR_DECODE = 3;
4545
4546 static final int MEDIA_ERR_NETWORK = 2;
4547
4548 static final int MEDIA_ERR_SRC_NOT_SUPPORTED = 4;
4549
4550 int code;
4551
4552 var dartObjectLocalStorage;
4553
4554 String get typeName() native;
4555 }
4556
4557 class MediaList native "*MediaList" {
4558
4559 int length;
4560
4561 String mediaText;
4562
4563 String operator[](int index) native;
4564
4565 void operator[]=(int index, String value) {
4566 throw new UnsupportedOperationException("Cannot assign element of immutable List.");
4567 }
4568
4569 void appendMedium(String newMedium) native;
4570
4571 void deleteMedium(String oldMedium) native;
4572
4573 String item(int index) native;
4574
4575 var dartObjectLocalStorage;
4576
4577 String get typeName() native;
4578 }
4579
4580 class MediaQueryList native "*MediaQueryList" {
4581
4582 bool matches;
4583
4584 String media;
4585
4586 void addListener(MediaQueryListListener listener) native;
4587
4588 void removeListener(MediaQueryListListener listener) native;
4589
4590 var dartObjectLocalStorage;
4591
4592 String get typeName() native;
4593 }
4594
4595 class MediaQueryListListener native "*MediaQueryListListener" {
4596
4597 void queryChanged(MediaQueryList list) native;
4598
4599 var dartObjectLocalStorage;
4600
4601 String get typeName() native;
4602 }
4603
4604 class MemoryInfo native "*MemoryInfo" {
4605
4606 int jsHeapSizeLimit;
4607
4608 int totalJSHeapSize;
4609
4610 int usedJSHeapSize;
4611
4612 var dartObjectLocalStorage;
4613
4614 String get typeName() native;
4615 }
4616
4617 class MessageChannel native "*MessageChannel" {
4618
4619 MessagePort port1;
4620
4621 MessagePort port2;
4622
4623 var dartObjectLocalStorage;
4624
4625 String get typeName() native;
4626 }
4627
4628 class MessageEvent extends Event native "*MessageEvent" {
4629
4630 Object data;
4631
4632 String lastEventId;
4633
4634 String origin;
4635
4636 List ports;
4637
4638 DOMWindow source;
4639
4640 void initMessageEvent(String typeArg, bool canBubbleArg, bool cancelableArg, O bject dataArg, String originArg, String lastEventIdArg, DOMWindow sourceArg, Lis t messagePorts) native;
4641
4642 void webkitInitMessageEvent(String typeArg, bool canBubbleArg, bool cancelable Arg, Object dataArg, String originArg, String lastEventIdArg, DOMWindow sourceAr g, List transferables) native;
4643 }
4644
4645 class MessagePort native "*MessagePort" {
4646
4647 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
4648
4649 void close() native;
4650
4651 bool dispatchEvent(Event evt) native;
4652
4653 void postMessage(String message, [List messagePorts = null]) native;
4654
4655 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
4656
4657 void start() native;
4658
4659 void webkitPostMessage(String message, [List transfer = null]) native;
4660
4661 var dartObjectLocalStorage;
4662
4663 String get typeName() native;
4664 }
4665
4666 class Metadata native "*Metadata" {
4667
4668 Date modificationTime;
4669
4670 var dartObjectLocalStorage;
4671
4672 String get typeName() native;
4673 }
4674
4675 class MouseEvent extends UIEvent native "*MouseEvent" {
4676
4677 bool altKey;
4678
4679 int button;
4680
4681 int clientX;
4682
4683 int clientY;
4684
4685 bool ctrlKey;
4686
4687 Clipboard dataTransfer;
4688
4689 Node fromElement;
4690
4691 bool metaKey;
4692
4693 int offsetX;
4694
4695 int offsetY;
4696
4697 EventTarget relatedTarget;
4698
4699 int screenX;
4700
4701 int screenY;
4702
4703 bool shiftKey;
4704
4705 Node toElement;
4706
4707 int x;
4708
4709 int y;
4710
4711 void initMouseEvent(String type, bool canBubble, bool cancelable, DOMWindow vi ew, int detail, int screenX, int screenY, int clientX, int clientY, bool ctrlKey , bool altKey, bool shiftKey, bool metaKey, int button, EventTarget relatedTarge t) native;
4712 }
4713
4714 class MutationCallback native "*MutationCallback" {
4715
4716 var dartObjectLocalStorage;
4717
4718 String get typeName() native;
4719 }
4720
4721 class MutationEvent extends Event native "*MutationEvent" {
4722
4723 static final int ADDITION = 2;
4724
4725 static final int MODIFICATION = 1;
4726
4727 static final int REMOVAL = 3;
4728
4729 int attrChange;
4730
4731 String attrName;
4732
4733 String newValue;
4734
4735 String prevValue;
4736
4737 Node relatedNode;
4738
4739 void initMutationEvent(String type, bool canBubble, bool cancelable, Node rela tedNode, String prevValue, String newValue, String attrName, int attrChange) nat ive;
4740 }
4741
4742 class MutationRecord native "*MutationRecord" {
4743
4744 NodeList addedNodes;
4745
4746 String attributeName;
4747
4748 String attributeNamespace;
4749
4750 Node nextSibling;
4751
4752 String oldValue;
4753
4754 Node previousSibling;
4755
4756 NodeList removedNodes;
4757
4758 Node target;
4759
4760 String type;
4761
4762 var dartObjectLocalStorage;
4763
4764 String get typeName() native;
4765 }
4766
4767 class NamedNodeMap native "*NamedNodeMap" {
4768
4769 int length;
4770
4771 Node operator[](int index) native;
4772
4773 void operator[]=(int index, Node value) {
4774 throw new UnsupportedOperationException("Cannot assign element of immutable List.");
4775 }
4776
4777 Node getNamedItem(String name) native;
4778
4779 Node getNamedItemNS(String namespaceURI, String localName) native;
4780
4781 Node item(int index) native;
4782
4783 Node removeNamedItem(String name) native;
4784
4785 Node removeNamedItemNS(String namespaceURI, String localName) native;
4786
4787 Node setNamedItem(Node node) native;
4788
4789 Node setNamedItemNS(Node node) native;
4790
4791 var dartObjectLocalStorage;
4792
4793 String get typeName() native;
4794 }
4795
4796 class Navigator native "*Navigator" {
4797
4798 String appCodeName;
4799
4800 String appName;
4801
4802 String appVersion;
4803
4804 bool cookieEnabled;
4805
4806 Geolocation geolocation;
4807
4808 String language;
4809
4810 DOMMimeTypeArray mimeTypes;
4811
4812 bool onLine;
4813
4814 String platform;
4815
4816 DOMPluginArray plugins;
4817
4818 String product;
4819
4820 String productSub;
4821
4822 String userAgent;
4823
4824 String vendor;
4825
4826 String vendorSub;
4827
4828 void getStorageUpdates() native;
4829
4830 bool javaEnabled() native;
4831
4832 void registerProtocolHandler(String scheme, String url, String title) native;
4833
4834 void webkitGetUserMedia(String options, NavigatorUserMediaSuccessCallback succ essCallback, [NavigatorUserMediaErrorCallback errorCallback = null]) native;
4835
4836 var dartObjectLocalStorage;
4837
4838 String get typeName() native;
4839 }
4840
4841 class NavigatorUserMediaError native "*NavigatorUserMediaError" {
4842
4843 static final int PERMISSION_DENIED = 1;
4844
4845 int code;
4846
4847 var dartObjectLocalStorage;
4848
4849 String get typeName() native;
4850 }
4851
4852 class NavigatorUserMediaSuccessCallback native "*NavigatorUserMediaSuccessCallba ck" {
4853
4854 var dartObjectLocalStorage;
4855
4856 String get typeName() native;
4857 }
4858
4859 class Node native "Node" {
4860
4861 static final int ATTRIBUTE_NODE = 2;
4862
4863 static final int CDATA_SECTION_NODE = 4;
4864
4865 static final int COMMENT_NODE = 8;
4866
4867 static final int DOCUMENT_FRAGMENT_NODE = 11;
4868
4869 static final int DOCUMENT_NODE = 9;
4870
4871 static final int DOCUMENT_POSITION_CONTAINED_BY = 0x10;
4872
4873 static final int DOCUMENT_POSITION_CONTAINS = 0x08;
4874
4875 static final int DOCUMENT_POSITION_DISCONNECTED = 0x01;
4876
4877 static final int DOCUMENT_POSITION_FOLLOWING = 0x04;
4878
4879 static final int DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = 0x20;
4880
4881 static final int DOCUMENT_POSITION_PRECEDING = 0x02;
4882
4883 static final int DOCUMENT_TYPE_NODE = 10;
4884
4885 static final int ELEMENT_NODE = 1;
4886
4887 static final int ENTITY_NODE = 6;
4888
4889 static final int ENTITY_REFERENCE_NODE = 5;
4890
4891 static final int NOTATION_NODE = 12;
4892
4893 static final int PROCESSING_INSTRUCTION_NODE = 7;
4894
4895 static final int TEXT_NODE = 3;
4896
4897 NamedNodeMap attributes;
4898
4899 String baseURI;
4900
4901 NodeList childNodes;
4902
4903 Node firstChild;
4904
4905 Node lastChild;
4906
4907 String localName;
4908
4909 String namespaceURI;
4910
4911 Node nextSibling;
4912
4913 String nodeName;
4914
4915 int nodeType;
4916
4917 String nodeValue;
4918
4919 Document ownerDocument;
4920
4921 Element parentElement;
4922
4923 Node parentNode;
4924
4925 String prefix;
4926
4927 Node previousSibling;
4928
4929 String textContent;
4930
4931 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
4932
4933 Node appendChild(Node newChild) native;
4934
4935 Node cloneNode(bool deep) native;
4936
4937 int compareDocumentPosition(Node other) native;
4938
4939 bool contains(Node other) native;
4940
4941 bool dispatchEvent(Event event) native;
4942
4943 bool hasAttributes() native;
4944
4945 bool hasChildNodes() native;
4946
4947 Node insertBefore(Node newChild, Node refChild) native;
4948
4949 bool isDefaultNamespace(String namespaceURI) native;
4950
4951 bool isEqualNode(Node other) native;
4952
4953 bool isSameNode(Node other) native;
4954
4955 bool isSupported(String feature, String version) native;
4956
4957 String lookupNamespaceURI(String prefix) native;
4958
4959 String lookupPrefix(String namespaceURI) native;
4960
4961 void normalize() native;
4962
4963 Node removeChild(Node oldChild) native;
4964
4965 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
4966
4967 Node replaceChild(Node newChild, Node oldChild) native;
4968
4969 var dartObjectLocalStorage;
4970
4971 String get typeName() native;
4972 }
4973
4974 class NodeFilter native "*NodeFilter" {
4975
4976 static final int FILTER_ACCEPT = 1;
4977
4978 static final int FILTER_REJECT = 2;
4979
4980 static final int FILTER_SKIP = 3;
4981
4982 static final int SHOW_ALL = 0xFFFFFFFF;
4983
4984 static final int SHOW_ATTRIBUTE = 0x00000002;
4985
4986 static final int SHOW_CDATA_SECTION = 0x00000008;
4987
4988 static final int SHOW_COMMENT = 0x00000080;
4989
4990 static final int SHOW_DOCUMENT = 0x00000100;
4991
4992 static final int SHOW_DOCUMENT_FRAGMENT = 0x00000400;
4993
4994 static final int SHOW_DOCUMENT_TYPE = 0x00000200;
4995
4996 static final int SHOW_ELEMENT = 0x00000001;
4997
4998 static final int SHOW_ENTITY = 0x00000020;
4999
5000 static final int SHOW_ENTITY_REFERENCE = 0x00000010;
5001
5002 static final int SHOW_NOTATION = 0x00000800;
5003
5004 static final int SHOW_PROCESSING_INSTRUCTION = 0x00000040;
5005
5006 static final int SHOW_TEXT = 0x00000004;
5007
5008 int acceptNode(Node n) native;
5009
5010 var dartObjectLocalStorage;
5011
5012 String get typeName() native;
5013 }
5014
5015 class NodeIterator native "*NodeIterator" {
5016
5017 bool expandEntityReferences;
5018
5019 NodeFilter filter;
5020
5021 bool pointerBeforeReferenceNode;
5022
5023 Node referenceNode;
5024
5025 Node root;
5026
5027 int whatToShow;
5028
5029 void detach() native;
5030
5031 Node nextNode() native;
5032
5033 Node previousNode() native;
5034
5035 var dartObjectLocalStorage;
5036
5037 String get typeName() native;
5038 }
5039
5040 class NodeList native "*NodeList" {
5041
5042 int length;
5043
5044 Node operator[](int index) native;
5045
5046 void operator[]=(int index, Node value) {
5047 throw new UnsupportedOperationException("Cannot assign element of immutable List.");
5048 }
5049
5050 Node item(int index) native;
5051
5052 var dartObjectLocalStorage;
5053
5054 String get typeName() native;
5055 }
5056
5057 class NodeSelector native "*NodeSelector" {
5058
5059 Element querySelector(String selectors) native;
5060
5061 NodeList querySelectorAll(String selectors) native;
5062
5063 var dartObjectLocalStorage;
5064
5065 String get typeName() native;
5066 }
5067
5068 class Notation extends Node native "*Notation" {
5069
5070 String publicId;
5071
5072 String systemId;
5073 }
5074
5075 class Notification native "*Notification" {
5076
5077 String dir;
5078
5079 String replaceId;
5080
5081 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
5082
5083 void cancel() native;
5084
5085 bool dispatchEvent(Event evt) native;
5086
5087 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
5088
5089 void show() native;
5090
5091 var dartObjectLocalStorage;
5092
5093 String get typeName() native;
5094 }
5095
5096 class NotificationCenter native "*NotificationCenter" {
5097
5098 int checkPermission() native;
5099
5100 Notification createHTMLNotification(String url) native;
5101
5102 Notification createNotification(String iconUrl, String title, String body) nat ive;
5103
5104 void requestPermission(VoidCallback callback) native;
5105
5106 var dartObjectLocalStorage;
5107
5108 String get typeName() native;
5109 }
5110
5111 class OESStandardDerivatives native "*OESStandardDerivatives" {
5112
5113 static final int FRAGMENT_SHADER_DERIVATIVE_HINT_OES = 0x8B8B;
5114
5115 var dartObjectLocalStorage;
5116
5117 String get typeName() native;
5118 }
5119
5120 class OESTextureFloat native "*OESTextureFloat" {
5121
5122 var dartObjectLocalStorage;
5123
5124 String get typeName() native;
5125 }
5126
5127 class OESVertexArrayObject native "*OESVertexArrayObject" {
5128
5129 static final int VERTEX_ARRAY_BINDING_OES = 0x85B5;
5130
5131 void bindVertexArrayOES(WebGLVertexArrayObjectOES arrayObject) native;
5132
5133 WebGLVertexArrayObjectOES createVertexArrayOES() native;
5134
5135 void deleteVertexArrayOES(WebGLVertexArrayObjectOES arrayObject) native;
5136
5137 bool isVertexArrayOES(WebGLVertexArrayObjectOES arrayObject) native;
5138
5139 var dartObjectLocalStorage;
5140
5141 String get typeName() native;
5142 }
5143
5144 class OfflineAudioCompletionEvent extends Event native "*OfflineAudioCompletionE vent" {
5145
5146 AudioBuffer renderedBuffer;
5147 }
5148
5149 class OperationNotAllowedException native "*OperationNotAllowedException" {
5150
5151 static final int NOT_ALLOWED_ERR = 1;
5152
5153 int code;
5154
5155 String message;
5156
5157 String name;
5158
5159 String toString() native;
5160
5161 var dartObjectLocalStorage;
5162
5163 String get typeName() native;
5164 }
5165
5166 class OverflowEvent extends Event native "*OverflowEvent" {
5167
5168 static final int BOTH = 2;
5169
5170 static final int HORIZONTAL = 0;
5171
5172 static final int VERTICAL = 1;
5173
5174 bool horizontalOverflow;
5175
5176 int orient;
5177
5178 bool verticalOverflow;
5179
5180 void initOverflowEvent(int orient, bool horizontalOverflow, bool verticalOverf low) native;
5181 }
5182
5183 class PageTransitionEvent extends Event native "*PageTransitionEvent" {
5184
5185 bool persisted;
5186
5187 void initPageTransitionEvent(String typeArg, bool canBubbleArg, bool cancelabl eArg, bool persisted) native;
5188 }
5189
5190 class Performance native "*Performance" {
5191
5192 MemoryInfo memory;
5193
5194 PerformanceNavigation navigation;
5195
5196 PerformanceTiming timing;
5197
5198 var dartObjectLocalStorage;
5199
5200 String get typeName() native;
5201 }
5202
5203 class PerformanceNavigation native "*PerformanceNavigation" {
5204
5205 static final int TYPE_BACK_FORWARD = 2;
5206
5207 static final int TYPE_NAVIGATE = 0;
5208
5209 static final int TYPE_RELOAD = 1;
5210
5211 static final int TYPE_RESERVED = 255;
5212
5213 int redirectCount;
5214
5215 int type;
5216
5217 var dartObjectLocalStorage;
5218
5219 String get typeName() native;
5220 }
5221
5222 class PerformanceTiming native "*PerformanceTiming" {
5223
5224 int connectEnd;
5225
5226 int connectStart;
5227
5228 int domComplete;
5229
5230 int domContentLoadedEventEnd;
5231
5232 int domContentLoadedEventStart;
5233
5234 int domInteractive;
5235
5236 int domLoading;
5237
5238 int domainLookupEnd;
5239
5240 int domainLookupStart;
5241
5242 int fetchStart;
5243
5244 int loadEventEnd;
5245
5246 int loadEventStart;
5247
5248 int navigationStart;
5249
5250 int redirectEnd;
5251
5252 int redirectStart;
5253
5254 int requestStart;
5255
5256 int responseEnd;
5257
5258 int responseStart;
5259
5260 int secureConnectionStart;
5261
5262 int unloadEventEnd;
5263
5264 int unloadEventStart;
5265
5266 var dartObjectLocalStorage;
5267
5268 String get typeName() native;
5269 }
5270
5271 class PopStateEvent extends Event native "*PopStateEvent" {
5272
5273 Object state;
5274
5275 void initPopStateEvent(String typeArg, bool canBubbleArg, bool cancelableArg, Object stateArg) native;
5276 }
5277
5278 class PositionError native "*PositionError" {
5279
5280 static final int PERMISSION_DENIED = 1;
5281
5282 static final int POSITION_UNAVAILABLE = 2;
5283
5284 static final int TIMEOUT = 3;
5285
5286 int code;
5287
5288 String message;
5289
5290 var dartObjectLocalStorage;
5291
5292 String get typeName() native;
5293 }
5294
5295 class ProcessingInstruction extends Node native "*ProcessingInstruction" {
5296
5297 String data;
5298
5299 StyleSheet sheet;
5300
5301 String target;
5302 }
5303
5304 class ProgressEvent extends Event native "*ProgressEvent" {
5305
5306 bool lengthComputable;
5307
5308 int loaded;
5309
5310 int total;
5311
5312 void initProgressEvent(String typeArg, bool canBubbleArg, bool cancelableArg, bool lengthComputableArg, int loadedArg, int totalArg) native;
5313 }
5314
5315 class RGBColor native "*RGBColor" {
5316
5317 CSSPrimitiveValue blue;
5318
5319 CSSPrimitiveValue green;
5320
5321 CSSPrimitiveValue red;
5322
5323 var dartObjectLocalStorage;
5324
5325 String get typeName() native;
5326 }
5327
5328 class Range native "*Range" {
5329
5330 static final int END_TO_END = 2;
5331
5332 static final int END_TO_START = 3;
5333
5334 static final int NODE_AFTER = 1;
5335
5336 static final int NODE_BEFORE = 0;
5337
5338 static final int NODE_BEFORE_AND_AFTER = 2;
5339
5340 static final int NODE_INSIDE = 3;
5341
5342 static final int START_TO_END = 1;
5343
5344 static final int START_TO_START = 0;
5345
5346 bool collapsed;
5347
5348 Node commonAncestorContainer;
5349
5350 Node endContainer;
5351
5352 int endOffset;
5353
5354 Node startContainer;
5355
5356 int startOffset;
5357
5358 DocumentFragment cloneContents() native;
5359
5360 Range cloneRange() native;
5361
5362 void collapse(bool toStart) native;
5363
5364 int compareNode(Node refNode) native;
5365
5366 int comparePoint(Node refNode, int offset) native;
5367
5368 DocumentFragment createContextualFragment(String html) native;
5369
5370 void deleteContents() native;
5371
5372 void detach() native;
5373
5374 void expand(String unit) native;
5375
5376 DocumentFragment extractContents() native;
5377
5378 ClientRect getBoundingClientRect() native;
5379
5380 ClientRectList getClientRects() native;
5381
5382 void insertNode(Node newNode) native;
5383
5384 bool intersectsNode(Node refNode) native;
5385
5386 bool isPointInRange(Node refNode, int offset) native;
5387
5388 void selectNode(Node refNode) native;
5389
5390 void selectNodeContents(Node refNode) native;
5391
5392 void setEnd(Node refNode, int offset) native;
5393
5394 void setEndAfter(Node refNode) native;
5395
5396 void setEndBefore(Node refNode) native;
5397
5398 void setStart(Node refNode, int offset) native;
5399
5400 void setStartAfter(Node refNode) native;
5401
5402 void setStartBefore(Node refNode) native;
5403
5404 void surroundContents(Node newParent) native;
5405
5406 String toString() native;
5407
5408 var dartObjectLocalStorage;
5409
5410 String get typeName() native;
5411 }
5412
5413 class RangeException native "*RangeException" {
5414
5415 static final int BAD_BOUNDARYPOINTS_ERR = 1;
5416
5417 static final int INVALID_NODE_TYPE_ERR = 2;
5418
5419 int code;
5420
5421 String message;
5422
5423 String name;
5424
5425 String toString() native;
5426
5427 var dartObjectLocalStorage;
5428
5429 String get typeName() native;
5430 }
5431
5432 class RealtimeAnalyserNode extends AudioNode native "*RealtimeAnalyserNode" {
5433
5434 int fftSize;
5435
5436 int frequencyBinCount;
5437
5438 num maxDecibels;
5439
5440 num minDecibels;
5441
5442 num smoothingTimeConstant;
5443
5444 void getByteFrequencyData(Uint8Array array) native;
5445
5446 void getByteTimeDomainData(Uint8Array array) native;
5447
5448 void getFloatFrequencyData(Float32Array array) native;
5449 }
5450
5451 class Rect native "*Rect" {
5452
5453 CSSPrimitiveValue bottom;
5454
5455 CSSPrimitiveValue left;
5456
5457 CSSPrimitiveValue right;
5458
5459 CSSPrimitiveValue top;
5460
5461 var dartObjectLocalStorage;
5462
5463 String get typeName() native;
5464 }
5465
5466 class SQLError native "*SQLError" {
5467
5468 static final int CONSTRAINT_ERR = 6;
5469
5470 static final int DATABASE_ERR = 1;
5471
5472 static final int QUOTA_ERR = 4;
5473
5474 static final int SYNTAX_ERR = 5;
5475
5476 static final int TIMEOUT_ERR = 7;
5477
5478 static final int TOO_LARGE_ERR = 3;
5479
5480 static final int UNKNOWN_ERR = 0;
5481
5482 static final int VERSION_ERR = 2;
5483
5484 int code;
5485
5486 String message;
5487
5488 var dartObjectLocalStorage;
5489
5490 String get typeName() native;
5491 }
5492
5493 class SQLException native "*SQLException" {
5494
5495 static final int CONSTRAINT_ERR = 6;
5496
5497 static final int DATABASE_ERR = 1;
5498
5499 static final int QUOTA_ERR = 4;
5500
5501 static final int SYNTAX_ERR = 5;
5502
5503 static final int TIMEOUT_ERR = 7;
5504
5505 static final int TOO_LARGE_ERR = 3;
5506
5507 static final int UNKNOWN_ERR = 0;
5508
5509 static final int VERSION_ERR = 2;
5510
5511 int code;
5512
5513 String message;
5514
5515 var dartObjectLocalStorage;
5516
5517 String get typeName() native;
5518 }
5519
5520 class SQLResultSet native "*SQLResultSet" {
5521
5522 int insertId;
5523
5524 SQLResultSetRowList rows;
5525
5526 int rowsAffected;
5527
5528 var dartObjectLocalStorage;
5529
5530 String get typeName() native;
5531 }
5532
5533 class SQLResultSetRowList native "*SQLResultSetRowList" {
5534
5535 int length;
5536
5537 Object item(int index) native;
5538
5539 var dartObjectLocalStorage;
5540
5541 String get typeName() native;
5542 }
5543
5544 class SQLTransaction native "*SQLTransaction" {
5545
5546 var dartObjectLocalStorage;
5547
5548 String get typeName() native;
5549 }
5550
5551 class SQLTransactionSync native "*SQLTransactionSync" {
5552
5553 var dartObjectLocalStorage;
5554
5555 String get typeName() native;
5556 }
5557
5558 class SVGAElement extends SVGElement native "*SVGAElement" {
5559
5560 SVGAnimatedString target;
5561
5562 // From SVGURIReference
5563
5564 SVGAnimatedString href;
5565
5566 // From SVGTests
5567
5568 SVGStringList requiredExtensions;
5569
5570 SVGStringList requiredFeatures;
5571
5572 SVGStringList systemLanguage;
5573
5574 bool hasExtension(String extension) native;
5575
5576 // From SVGLangSpace
5577
5578 String xmllang;
5579
5580 String xmlspace;
5581
5582 // From SVGExternalResourcesRequired
5583
5584 SVGAnimatedBoolean externalResourcesRequired;
5585
5586 // From SVGStylable
5587
5588 SVGAnimatedString className;
5589
5590 CSSStyleDeclaration style;
5591
5592 CSSValue getPresentationAttribute(String name) native;
5593
5594 // From SVGTransformable
5595
5596 SVGAnimatedTransformList transform;
5597
5598 // From SVGLocatable
5599
5600 SVGElement farthestViewportElement;
5601
5602 SVGElement nearestViewportElement;
5603
5604 SVGRect getBBox() native;
5605
5606 SVGMatrix getCTM() native;
5607
5608 SVGMatrix getScreenCTM() native;
5609
5610 SVGMatrix getTransformToElement(SVGElement element) native;
5611 }
5612
5613 class SVGAltGlyphDefElement extends SVGElement native "*SVGAltGlyphDefElement" {
5614 }
5615
5616 class SVGAltGlyphElement extends SVGTextPositioningElement native "*SVGAltGlyphE lement" {
5617
5618 String format;
5619
5620 String glyphRef;
5621
5622 // From SVGURIReference
5623
5624 SVGAnimatedString href;
5625 }
5626
5627 class SVGAltGlyphItemElement extends SVGElement native "*SVGAltGlyphItemElement" {
5628 }
5629
5630 class SVGAngle native "*SVGAngle" {
5631
5632 static final int SVG_ANGLETYPE_DEG = 2;
5633
5634 static final int SVG_ANGLETYPE_GRAD = 4;
5635
5636 static final int SVG_ANGLETYPE_RAD = 3;
5637
5638 static final int SVG_ANGLETYPE_UNKNOWN = 0;
5639
5640 static final int SVG_ANGLETYPE_UNSPECIFIED = 1;
5641
5642 int unitType;
5643
5644 num value;
5645
5646 String valueAsString;
5647
5648 num valueInSpecifiedUnits;
5649
5650 void convertToSpecifiedUnits(int unitType) native;
5651
5652 void newValueSpecifiedUnits(int unitType, num valueInSpecifiedUnits) native;
5653
5654 var dartObjectLocalStorage;
5655
5656 String get typeName() native;
5657 }
5658
5659 class SVGAnimateColorElement extends SVGAnimationElement native "*SVGAnimateColo rElement" {
5660 }
5661
5662 class SVGAnimateElement extends SVGAnimationElement native "*SVGAnimateElement" {
5663 }
5664
5665 class SVGAnimateMotionElement extends SVGAnimationElement native "*SVGAnimateMot ionElement" {
5666 }
5667
5668 class SVGAnimateTransformElement extends SVGAnimationElement native "*SVGAnimate TransformElement" {
5669 }
5670
5671 class SVGAnimatedAngle native "*SVGAnimatedAngle" {
5672
5673 SVGAngle animVal;
5674
5675 SVGAngle baseVal;
5676
5677 var dartObjectLocalStorage;
5678
5679 String get typeName() native;
5680 }
5681
5682 class SVGAnimatedBoolean native "*SVGAnimatedBoolean" {
5683
5684 bool animVal;
5685
5686 bool baseVal;
5687
5688 var dartObjectLocalStorage;
5689
5690 String get typeName() native;
5691 }
5692
5693 class SVGAnimatedEnumeration native "*SVGAnimatedEnumeration" {
5694
5695 int animVal;
5696
5697 int baseVal;
5698
5699 var dartObjectLocalStorage;
5700
5701 String get typeName() native;
5702 }
5703
5704 class SVGAnimatedInteger native "*SVGAnimatedInteger" {
5705
5706 int animVal;
5707
5708 int baseVal;
5709
5710 var dartObjectLocalStorage;
5711
5712 String get typeName() native;
5713 }
5714
5715 class SVGAnimatedLength native "*SVGAnimatedLength" {
5716
5717 SVGLength animVal;
5718
5719 SVGLength baseVal;
5720
5721 var dartObjectLocalStorage;
5722
5723 String get typeName() native;
5724 }
5725
5726 class SVGAnimatedLengthList native "*SVGAnimatedLengthList" {
5727
5728 SVGLengthList animVal;
5729
5730 SVGLengthList baseVal;
5731
5732 var dartObjectLocalStorage;
5733
5734 String get typeName() native;
5735 }
5736
5737 class SVGAnimatedNumber native "*SVGAnimatedNumber" {
5738
5739 num animVal;
5740
5741 num baseVal;
5742
5743 var dartObjectLocalStorage;
5744
5745 String get typeName() native;
5746 }
5747
5748 class SVGAnimatedNumberList native "*SVGAnimatedNumberList" {
5749
5750 SVGNumberList animVal;
5751
5752 SVGNumberList baseVal;
5753
5754 var dartObjectLocalStorage;
5755
5756 String get typeName() native;
5757 }
5758
5759 class SVGAnimatedPreserveAspectRatio native "*SVGAnimatedPreserveAspectRatio" {
5760
5761 SVGPreserveAspectRatio animVal;
5762
5763 SVGPreserveAspectRatio baseVal;
5764
5765 var dartObjectLocalStorage;
5766
5767 String get typeName() native;
5768 }
5769
5770 class SVGAnimatedRect native "*SVGAnimatedRect" {
5771
5772 SVGRect animVal;
5773
5774 SVGRect baseVal;
5775
5776 var dartObjectLocalStorage;
5777
5778 String get typeName() native;
5779 }
5780
5781 class SVGAnimatedString native "*SVGAnimatedString" {
5782
5783 String animVal;
5784
5785 String baseVal;
5786
5787 var dartObjectLocalStorage;
5788
5789 String get typeName() native;
5790 }
5791
5792 class SVGAnimatedTransformList native "*SVGAnimatedTransformList" {
5793
5794 SVGTransformList animVal;
5795
5796 SVGTransformList baseVal;
5797
5798 var dartObjectLocalStorage;
5799
5800 String get typeName() native;
5801 }
5802
5803 class SVGAnimationElement extends SVGElement native "*SVGAnimationElement" {
5804
5805 SVGElement targetElement;
5806
5807 num getCurrentTime() native;
5808
5809 num getSimpleDuration() native;
5810
5811 num getStartTime() native;
5812
5813 // From SVGTests
5814
5815 SVGStringList requiredExtensions;
5816
5817 SVGStringList requiredFeatures;
5818
5819 SVGStringList systemLanguage;
5820
5821 bool hasExtension(String extension) native;
5822
5823 // From SVGExternalResourcesRequired
5824
5825 SVGAnimatedBoolean externalResourcesRequired;
5826
5827 // From ElementTimeControl
5828
5829 void beginElement() native;
5830
5831 void beginElementAt(num offset) native;
5832
5833 void endElement() native;
5834
5835 void endElementAt(num offset) native;
5836 }
5837
5838 class SVGCircleElement extends SVGElement native "*SVGCircleElement" {
5839
5840 SVGAnimatedLength cx;
5841
5842 SVGAnimatedLength cy;
5843
5844 SVGAnimatedLength r;
5845
5846 // From SVGTests
5847
5848 SVGStringList requiredExtensions;
5849
5850 SVGStringList requiredFeatures;
5851
5852 SVGStringList systemLanguage;
5853
5854 bool hasExtension(String extension) native;
5855
5856 // From SVGLangSpace
5857
5858 String xmllang;
5859
5860 String xmlspace;
5861
5862 // From SVGExternalResourcesRequired
5863
5864 SVGAnimatedBoolean externalResourcesRequired;
5865
5866 // From SVGStylable
5867
5868 SVGAnimatedString className;
5869
5870 CSSStyleDeclaration style;
5871
5872 CSSValue getPresentationAttribute(String name) native;
5873
5874 // From SVGTransformable
5875
5876 SVGAnimatedTransformList transform;
5877
5878 // From SVGLocatable
5879
5880 SVGElement farthestViewportElement;
5881
5882 SVGElement nearestViewportElement;
5883
5884 SVGRect getBBox() native;
5885
5886 SVGMatrix getCTM() native;
5887
5888 SVGMatrix getScreenCTM() native;
5889
5890 SVGMatrix getTransformToElement(SVGElement element) native;
5891 }
5892
5893 class SVGClipPathElement extends SVGElement native "*SVGClipPathElement" {
5894
5895 SVGAnimatedEnumeration clipPathUnits;
5896
5897 // From SVGTests
5898
5899 SVGStringList requiredExtensions;
5900
5901 SVGStringList requiredFeatures;
5902
5903 SVGStringList systemLanguage;
5904
5905 bool hasExtension(String extension) native;
5906
5907 // From SVGLangSpace
5908
5909 String xmllang;
5910
5911 String xmlspace;
5912
5913 // From SVGExternalResourcesRequired
5914
5915 SVGAnimatedBoolean externalResourcesRequired;
5916
5917 // From SVGStylable
5918
5919 SVGAnimatedString className;
5920
5921 CSSStyleDeclaration style;
5922
5923 CSSValue getPresentationAttribute(String name) native;
5924
5925 // From SVGTransformable
5926
5927 SVGAnimatedTransformList transform;
5928
5929 // From SVGLocatable
5930
5931 SVGElement farthestViewportElement;
5932
5933 SVGElement nearestViewportElement;
5934
5935 SVGRect getBBox() native;
5936
5937 SVGMatrix getCTM() native;
5938
5939 SVGMatrix getScreenCTM() native;
5940
5941 SVGMatrix getTransformToElement(SVGElement element) native;
5942 }
5943
5944 class SVGColor extends CSSValue native "*SVGColor" {
5945
5946 static final int SVG_COLORTYPE_CURRENTCOLOR = 3;
5947
5948 static final int SVG_COLORTYPE_RGBCOLOR = 1;
5949
5950 static final int SVG_COLORTYPE_RGBCOLOR_ICCCOLOR = 2;
5951
5952 static final int SVG_COLORTYPE_UNKNOWN = 0;
5953
5954 int colorType;
5955
5956 RGBColor rgbColor;
5957
5958 void setColor(int colorType, String rgbColor, String iccColor) native;
5959
5960 void setRGBColor(String rgbColor) native;
5961
5962 void setRGBColorICCColor(String rgbColor, String iccColor) native;
5963 }
5964
5965 class SVGComponentTransferFunctionElement extends SVGElement native "*SVGCompone ntTransferFunctionElement" {
5966
5967 static final int SVG_FECOMPONENTTRANSFER_TYPE_DISCRETE = 3;
5968
5969 static final int SVG_FECOMPONENTTRANSFER_TYPE_GAMMA = 5;
5970
5971 static final int SVG_FECOMPONENTTRANSFER_TYPE_IDENTITY = 1;
5972
5973 static final int SVG_FECOMPONENTTRANSFER_TYPE_LINEAR = 4;
5974
5975 static final int SVG_FECOMPONENTTRANSFER_TYPE_TABLE = 2;
5976
5977 static final int SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN = 0;
5978
5979 SVGAnimatedNumber amplitude;
5980
5981 SVGAnimatedNumber exponent;
5982
5983 SVGAnimatedNumber intercept;
5984
5985 SVGAnimatedNumber offset;
5986
5987 SVGAnimatedNumber slope;
5988
5989 SVGAnimatedNumberList tableValues;
5990
5991 SVGAnimatedEnumeration type;
5992 }
5993
5994 class SVGCursorElement extends SVGElement native "*SVGCursorElement" {
5995
5996 SVGAnimatedLength x;
5997
5998 SVGAnimatedLength y;
5999
6000 // From SVGURIReference
6001
6002 SVGAnimatedString href;
6003
6004 // From SVGTests
6005
6006 SVGStringList requiredExtensions;
6007
6008 SVGStringList requiredFeatures;
6009
6010 SVGStringList systemLanguage;
6011
6012 bool hasExtension(String extension) native;
6013
6014 // From SVGExternalResourcesRequired
6015
6016 SVGAnimatedBoolean externalResourcesRequired;
6017 }
6018
6019 class SVGDefsElement extends SVGElement native "*SVGDefsElement" {
6020
6021 // From SVGTests
6022
6023 SVGStringList requiredExtensions;
6024
6025 SVGStringList requiredFeatures;
6026
6027 SVGStringList systemLanguage;
6028
6029 bool hasExtension(String extension) native;
6030
6031 // From SVGLangSpace
6032
6033 String xmllang;
6034
6035 String xmlspace;
6036
6037 // From SVGExternalResourcesRequired
6038
6039 SVGAnimatedBoolean externalResourcesRequired;
6040
6041 // From SVGStylable
6042
6043 SVGAnimatedString className;
6044
6045 CSSStyleDeclaration style;
6046
6047 CSSValue getPresentationAttribute(String name) native;
6048
6049 // From SVGTransformable
6050
6051 SVGAnimatedTransformList transform;
6052
6053 // From SVGLocatable
6054
6055 SVGElement farthestViewportElement;
6056
6057 SVGElement nearestViewportElement;
6058
6059 SVGRect getBBox() native;
6060
6061 SVGMatrix getCTM() native;
6062
6063 SVGMatrix getScreenCTM() native;
6064
6065 SVGMatrix getTransformToElement(SVGElement element) native;
6066 }
6067
6068 class SVGDescElement extends SVGElement native "*SVGDescElement" {
6069
6070 // From SVGLangSpace
6071
6072 String xmllang;
6073
6074 String xmlspace;
6075
6076 // From SVGStylable
6077
6078 SVGAnimatedString className;
6079
6080 CSSStyleDeclaration style;
6081
6082 CSSValue getPresentationAttribute(String name) native;
6083 }
6084
6085 class SVGDocument extends Document native "*SVGDocument" {
6086
6087 SVGSVGElement rootElement;
6088
6089 Event createEvent(String eventType) native;
6090 }
6091
6092 class SVGElement extends Element native "SVGElement" {
6093
6094 String id;
6095
6096 SVGSVGElement ownerSVGElement;
6097
6098 SVGElement viewportElement;
6099
6100 String xmlbase;
6101 }
6102
6103 class SVGElementInstance native "*SVGElementInstance" {
6104
6105 SVGElementInstanceList childNodes;
6106
6107 SVGElement correspondingElement;
6108
6109 SVGUseElement correspondingUseElement;
6110
6111 SVGElementInstance firstChild;
6112
6113 SVGElementInstance lastChild;
6114
6115 SVGElementInstance nextSibling;
6116
6117 SVGElementInstance parentNode;
6118
6119 SVGElementInstance previousSibling;
6120
6121 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
6122
6123 bool dispatchEvent(Event event) native;
6124
6125 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
6126
6127 var dartObjectLocalStorage;
6128
6129 String get typeName() native;
6130 }
6131
6132 class SVGElementInstanceList native "*SVGElementInstanceList" {
6133
6134 int length;
6135
6136 SVGElementInstance item(int index) native;
6137
6138 var dartObjectLocalStorage;
6139
6140 String get typeName() native;
6141 }
6142
6143 class SVGEllipseElement extends SVGElement native "*SVGEllipseElement" {
6144
6145 SVGAnimatedLength cx;
6146
6147 SVGAnimatedLength cy;
6148
6149 SVGAnimatedLength rx;
6150
6151 SVGAnimatedLength ry;
6152
6153 // From SVGTests
6154
6155 SVGStringList requiredExtensions;
6156
6157 SVGStringList requiredFeatures;
6158
6159 SVGStringList systemLanguage;
6160
6161 bool hasExtension(String extension) native;
6162
6163 // From SVGLangSpace
6164
6165 String xmllang;
6166
6167 String xmlspace;
6168
6169 // From SVGExternalResourcesRequired
6170
6171 SVGAnimatedBoolean externalResourcesRequired;
6172
6173 // From SVGStylable
6174
6175 SVGAnimatedString className;
6176
6177 CSSStyleDeclaration style;
6178
6179 CSSValue getPresentationAttribute(String name) native;
6180
6181 // From SVGTransformable
6182
6183 SVGAnimatedTransformList transform;
6184
6185 // From SVGLocatable
6186
6187 SVGElement farthestViewportElement;
6188
6189 SVGElement nearestViewportElement;
6190
6191 SVGRect getBBox() native;
6192
6193 SVGMatrix getCTM() native;
6194
6195 SVGMatrix getScreenCTM() native;
6196
6197 SVGMatrix getTransformToElement(SVGElement element) native;
6198 }
6199
6200 class SVGException native "*SVGException" {
6201
6202 static final int SVG_INVALID_VALUE_ERR = 1;
6203
6204 static final int SVG_MATRIX_NOT_INVERTABLE = 2;
6205
6206 static final int SVG_WRONG_TYPE_ERR = 0;
6207
6208 int code;
6209
6210 String message;
6211
6212 String name;
6213
6214 String toString() native;
6215
6216 var dartObjectLocalStorage;
6217
6218 String get typeName() native;
6219 }
6220
6221 class SVGExternalResourcesRequired native "*SVGExternalResourcesRequired" {
6222
6223 SVGAnimatedBoolean externalResourcesRequired;
6224
6225 var dartObjectLocalStorage;
6226
6227 String get typeName() native;
6228 }
6229
6230 class SVGFEBlendElement extends SVGElement native "*SVGFEBlendElement" {
6231
6232 static final int SVG_FEBLEND_MODE_DARKEN = 4;
6233
6234 static final int SVG_FEBLEND_MODE_LIGHTEN = 5;
6235
6236 static final int SVG_FEBLEND_MODE_MULTIPLY = 2;
6237
6238 static final int SVG_FEBLEND_MODE_NORMAL = 1;
6239
6240 static final int SVG_FEBLEND_MODE_SCREEN = 3;
6241
6242 static final int SVG_FEBLEND_MODE_UNKNOWN = 0;
6243
6244 SVGAnimatedString in1;
6245
6246 SVGAnimatedString in2;
6247
6248 SVGAnimatedEnumeration mode;
6249
6250 // From SVGFilterPrimitiveStandardAttributes
6251
6252 SVGAnimatedLength height;
6253
6254 SVGAnimatedString result;
6255
6256 SVGAnimatedLength width;
6257
6258 SVGAnimatedLength x;
6259
6260 SVGAnimatedLength y;
6261
6262 // From SVGStylable
6263
6264 SVGAnimatedString className;
6265
6266 CSSStyleDeclaration style;
6267
6268 CSSValue getPresentationAttribute(String name) native;
6269 }
6270
6271 class SVGFEColorMatrixElement extends SVGElement native "*SVGFEColorMatrixElemen t" {
6272
6273 static final int SVG_FECOLORMATRIX_TYPE_HUEROTATE = 3;
6274
6275 static final int SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA = 4;
6276
6277 static final int SVG_FECOLORMATRIX_TYPE_MATRIX = 1;
6278
6279 static final int SVG_FECOLORMATRIX_TYPE_SATURATE = 2;
6280
6281 static final int SVG_FECOLORMATRIX_TYPE_UNKNOWN = 0;
6282
6283 SVGAnimatedString in1;
6284
6285 SVGAnimatedEnumeration type;
6286
6287 SVGAnimatedNumberList values;
6288
6289 // From SVGFilterPrimitiveStandardAttributes
6290
6291 SVGAnimatedLength height;
6292
6293 SVGAnimatedString result;
6294
6295 SVGAnimatedLength width;
6296
6297 SVGAnimatedLength x;
6298
6299 SVGAnimatedLength y;
6300
6301 // From SVGStylable
6302
6303 SVGAnimatedString className;
6304
6305 CSSStyleDeclaration style;
6306
6307 CSSValue getPresentationAttribute(String name) native;
6308 }
6309
6310 class SVGFEComponentTransferElement extends SVGElement native "*SVGFEComponentTr ansferElement" {
6311
6312 SVGAnimatedString in1;
6313
6314 // From SVGFilterPrimitiveStandardAttributes
6315
6316 SVGAnimatedLength height;
6317
6318 SVGAnimatedString result;
6319
6320 SVGAnimatedLength width;
6321
6322 SVGAnimatedLength x;
6323
6324 SVGAnimatedLength y;
6325
6326 // From SVGStylable
6327
6328 SVGAnimatedString className;
6329
6330 CSSStyleDeclaration style;
6331
6332 CSSValue getPresentationAttribute(String name) native;
6333 }
6334
6335 class SVGFECompositeElement extends SVGElement native "*SVGFECompositeElement" {
6336
6337 static final int SVG_FECOMPOSITE_OPERATOR_ARITHMETIC = 6;
6338
6339 static final int SVG_FECOMPOSITE_OPERATOR_ATOP = 4;
6340
6341 static final int SVG_FECOMPOSITE_OPERATOR_IN = 2;
6342
6343 static final int SVG_FECOMPOSITE_OPERATOR_OUT = 3;
6344
6345 static final int SVG_FECOMPOSITE_OPERATOR_OVER = 1;
6346
6347 static final int SVG_FECOMPOSITE_OPERATOR_UNKNOWN = 0;
6348
6349 static final int SVG_FECOMPOSITE_OPERATOR_XOR = 5;
6350
6351 SVGAnimatedString in1;
6352
6353 SVGAnimatedString in2;
6354
6355 SVGAnimatedNumber k1;
6356
6357 SVGAnimatedNumber k2;
6358
6359 SVGAnimatedNumber k3;
6360
6361 SVGAnimatedNumber k4;
6362
6363 SVGAnimatedEnumeration operator;
6364
6365 // From SVGFilterPrimitiveStandardAttributes
6366
6367 SVGAnimatedLength height;
6368
6369 SVGAnimatedString result;
6370
6371 SVGAnimatedLength width;
6372
6373 SVGAnimatedLength x;
6374
6375 SVGAnimatedLength y;
6376
6377 // From SVGStylable
6378
6379 SVGAnimatedString className;
6380
6381 CSSStyleDeclaration style;
6382
6383 CSSValue getPresentationAttribute(String name) native;
6384 }
6385
6386 class SVGFEConvolveMatrixElement extends SVGElement native "*SVGFEConvolveMatrix Element" {
6387
6388 static final int SVG_EDGEMODE_DUPLICATE = 1;
6389
6390 static final int SVG_EDGEMODE_NONE = 3;
6391
6392 static final int SVG_EDGEMODE_UNKNOWN = 0;
6393
6394 static final int SVG_EDGEMODE_WRAP = 2;
6395
6396 SVGAnimatedNumber bias;
6397
6398 SVGAnimatedNumber divisor;
6399
6400 SVGAnimatedEnumeration edgeMode;
6401
6402 SVGAnimatedString in1;
6403
6404 SVGAnimatedNumberList kernelMatrix;
6405
6406 SVGAnimatedNumber kernelUnitLengthX;
6407
6408 SVGAnimatedNumber kernelUnitLengthY;
6409
6410 SVGAnimatedInteger orderX;
6411
6412 SVGAnimatedInteger orderY;
6413
6414 SVGAnimatedBoolean preserveAlpha;
6415
6416 SVGAnimatedInteger targetX;
6417
6418 SVGAnimatedInteger targetY;
6419
6420 // From SVGFilterPrimitiveStandardAttributes
6421
6422 SVGAnimatedLength height;
6423
6424 SVGAnimatedString result;
6425
6426 SVGAnimatedLength width;
6427
6428 SVGAnimatedLength x;
6429
6430 SVGAnimatedLength y;
6431
6432 // From SVGStylable
6433
6434 SVGAnimatedString className;
6435
6436 CSSStyleDeclaration style;
6437
6438 CSSValue getPresentationAttribute(String name) native;
6439 }
6440
6441 class SVGFEDiffuseLightingElement extends SVGElement native "*SVGFEDiffuseLighti ngElement" {
6442
6443 SVGAnimatedNumber diffuseConstant;
6444
6445 SVGAnimatedString in1;
6446
6447 SVGAnimatedNumber kernelUnitLengthX;
6448
6449 SVGAnimatedNumber kernelUnitLengthY;
6450
6451 SVGAnimatedNumber surfaceScale;
6452
6453 // From SVGFilterPrimitiveStandardAttributes
6454
6455 SVGAnimatedLength height;
6456
6457 SVGAnimatedString result;
6458
6459 SVGAnimatedLength width;
6460
6461 SVGAnimatedLength x;
6462
6463 SVGAnimatedLength y;
6464
6465 // From SVGStylable
6466
6467 SVGAnimatedString className;
6468
6469 CSSStyleDeclaration style;
6470
6471 CSSValue getPresentationAttribute(String name) native;
6472 }
6473
6474 class SVGFEDisplacementMapElement extends SVGElement native "*SVGFEDisplacementM apElement" {
6475
6476 static final int SVG_CHANNEL_A = 4;
6477
6478 static final int SVG_CHANNEL_B = 3;
6479
6480 static final int SVG_CHANNEL_G = 2;
6481
6482 static final int SVG_CHANNEL_R = 1;
6483
6484 static final int SVG_CHANNEL_UNKNOWN = 0;
6485
6486 SVGAnimatedString in1;
6487
6488 SVGAnimatedString in2;
6489
6490 SVGAnimatedNumber scale;
6491
6492 SVGAnimatedEnumeration xChannelSelector;
6493
6494 SVGAnimatedEnumeration yChannelSelector;
6495
6496 // From SVGFilterPrimitiveStandardAttributes
6497
6498 SVGAnimatedLength height;
6499
6500 SVGAnimatedString result;
6501
6502 SVGAnimatedLength width;
6503
6504 SVGAnimatedLength x;
6505
6506 SVGAnimatedLength y;
6507
6508 // From SVGStylable
6509
6510 SVGAnimatedString className;
6511
6512 CSSStyleDeclaration style;
6513
6514 CSSValue getPresentationAttribute(String name) native;
6515 }
6516
6517 class SVGFEDistantLightElement extends SVGElement native "*SVGFEDistantLightElem ent" {
6518
6519 SVGAnimatedNumber azimuth;
6520
6521 SVGAnimatedNumber elevation;
6522 }
6523
6524 class SVGFEDropShadowElement extends SVGElement native "*SVGFEDropShadowElement" {
6525
6526 SVGAnimatedNumber dx;
6527
6528 SVGAnimatedNumber dy;
6529
6530 SVGAnimatedString in1;
6531
6532 SVGAnimatedNumber stdDeviationX;
6533
6534 SVGAnimatedNumber stdDeviationY;
6535
6536 void setStdDeviation(num stdDeviationX, num stdDeviationY) native;
6537
6538 // From SVGFilterPrimitiveStandardAttributes
6539
6540 SVGAnimatedLength height;
6541
6542 SVGAnimatedString result;
6543
6544 SVGAnimatedLength width;
6545
6546 SVGAnimatedLength x;
6547
6548 SVGAnimatedLength y;
6549
6550 // From SVGStylable
6551
6552 SVGAnimatedString className;
6553
6554 CSSStyleDeclaration style;
6555
6556 CSSValue getPresentationAttribute(String name) native;
6557 }
6558
6559 class SVGFEFloodElement extends SVGElement native "*SVGFEFloodElement" {
6560
6561 // From SVGFilterPrimitiveStandardAttributes
6562
6563 SVGAnimatedLength height;
6564
6565 SVGAnimatedString result;
6566
6567 SVGAnimatedLength width;
6568
6569 SVGAnimatedLength x;
6570
6571 SVGAnimatedLength y;
6572
6573 // From SVGStylable
6574
6575 SVGAnimatedString className;
6576
6577 CSSStyleDeclaration style;
6578
6579 CSSValue getPresentationAttribute(String name) native;
6580 }
6581
6582 class SVGFEFuncAElement extends SVGComponentTransferFunctionElement native "*SVG FEFuncAElement" {
6583 }
6584
6585 class SVGFEFuncBElement extends SVGComponentTransferFunctionElement native "*SVG FEFuncBElement" {
6586 }
6587
6588 class SVGFEFuncGElement extends SVGComponentTransferFunctionElement native "*SVG FEFuncGElement" {
6589 }
6590
6591 class SVGFEFuncRElement extends SVGComponentTransferFunctionElement native "*SVG FEFuncRElement" {
6592 }
6593
6594 class SVGFEGaussianBlurElement extends SVGElement native "*SVGFEGaussianBlurElem ent" {
6595
6596 SVGAnimatedString in1;
6597
6598 SVGAnimatedNumber stdDeviationX;
6599
6600 SVGAnimatedNumber stdDeviationY;
6601
6602 void setStdDeviation(num stdDeviationX, num stdDeviationY) native;
6603
6604 // From SVGFilterPrimitiveStandardAttributes
6605
6606 SVGAnimatedLength height;
6607
6608 SVGAnimatedString result;
6609
6610 SVGAnimatedLength width;
6611
6612 SVGAnimatedLength x;
6613
6614 SVGAnimatedLength y;
6615
6616 // From SVGStylable
6617
6618 SVGAnimatedString className;
6619
6620 CSSStyleDeclaration style;
6621
6622 CSSValue getPresentationAttribute(String name) native;
6623 }
6624
6625 class SVGFEImageElement extends SVGElement native "*SVGFEImageElement" {
6626
6627 SVGAnimatedPreserveAspectRatio preserveAspectRatio;
6628
6629 // From SVGURIReference
6630
6631 SVGAnimatedString href;
6632
6633 // From SVGLangSpace
6634
6635 String xmllang;
6636
6637 String xmlspace;
6638
6639 // From SVGExternalResourcesRequired
6640
6641 SVGAnimatedBoolean externalResourcesRequired;
6642
6643 // From SVGFilterPrimitiveStandardAttributes
6644
6645 SVGAnimatedLength height;
6646
6647 SVGAnimatedString result;
6648
6649 SVGAnimatedLength width;
6650
6651 SVGAnimatedLength x;
6652
6653 SVGAnimatedLength y;
6654
6655 // From SVGStylable
6656
6657 SVGAnimatedString className;
6658
6659 CSSStyleDeclaration style;
6660
6661 CSSValue getPresentationAttribute(String name) native;
6662 }
6663
6664 class SVGFEMergeElement extends SVGElement native "*SVGFEMergeElement" {
6665
6666 // From SVGFilterPrimitiveStandardAttributes
6667
6668 SVGAnimatedLength height;
6669
6670 SVGAnimatedString result;
6671
6672 SVGAnimatedLength width;
6673
6674 SVGAnimatedLength x;
6675
6676 SVGAnimatedLength y;
6677
6678 // From SVGStylable
6679
6680 SVGAnimatedString className;
6681
6682 CSSStyleDeclaration style;
6683
6684 CSSValue getPresentationAttribute(String name) native;
6685 }
6686
6687 class SVGFEMergeNodeElement extends SVGElement native "*SVGFEMergeNodeElement" {
6688
6689 SVGAnimatedString in1;
6690 }
6691
6692 class SVGFEMorphologyElement extends SVGElement native "*SVGFEMorphologyElement" {
6693
6694 static final int SVG_MORPHOLOGY_OPERATOR_DILATE = 2;
6695
6696 static final int SVG_MORPHOLOGY_OPERATOR_ERODE = 1;
6697
6698 static final int SVG_MORPHOLOGY_OPERATOR_UNKNOWN = 0;
6699
6700 SVGAnimatedString in1;
6701
6702 SVGAnimatedEnumeration operator;
6703
6704 SVGAnimatedNumber radiusX;
6705
6706 SVGAnimatedNumber radiusY;
6707
6708 void setRadius(num radiusX, num radiusY) native;
6709
6710 // From SVGFilterPrimitiveStandardAttributes
6711
6712 SVGAnimatedLength height;
6713
6714 SVGAnimatedString result;
6715
6716 SVGAnimatedLength width;
6717
6718 SVGAnimatedLength x;
6719
6720 SVGAnimatedLength y;
6721
6722 // From SVGStylable
6723
6724 SVGAnimatedString className;
6725
6726 CSSStyleDeclaration style;
6727
6728 CSSValue getPresentationAttribute(String name) native;
6729 }
6730
6731 class SVGFEOffsetElement extends SVGElement native "*SVGFEOffsetElement" {
6732
6733 SVGAnimatedNumber dx;
6734
6735 SVGAnimatedNumber dy;
6736
6737 SVGAnimatedString in1;
6738
6739 // From SVGFilterPrimitiveStandardAttributes
6740
6741 SVGAnimatedLength height;
6742
6743 SVGAnimatedString result;
6744
6745 SVGAnimatedLength width;
6746
6747 SVGAnimatedLength x;
6748
6749 SVGAnimatedLength y;
6750
6751 // From SVGStylable
6752
6753 SVGAnimatedString className;
6754
6755 CSSStyleDeclaration style;
6756
6757 CSSValue getPresentationAttribute(String name) native;
6758 }
6759
6760 class SVGFEPointLightElement extends SVGElement native "*SVGFEPointLightElement" {
6761
6762 SVGAnimatedNumber x;
6763
6764 SVGAnimatedNumber y;
6765
6766 SVGAnimatedNumber z;
6767 }
6768
6769 class SVGFESpecularLightingElement extends SVGElement native "*SVGFESpecularLigh tingElement" {
6770
6771 SVGAnimatedString in1;
6772
6773 SVGAnimatedNumber specularConstant;
6774
6775 SVGAnimatedNumber specularExponent;
6776
6777 SVGAnimatedNumber surfaceScale;
6778
6779 // From SVGFilterPrimitiveStandardAttributes
6780
6781 SVGAnimatedLength height;
6782
6783 SVGAnimatedString result;
6784
6785 SVGAnimatedLength width;
6786
6787 SVGAnimatedLength x;
6788
6789 SVGAnimatedLength y;
6790
6791 // From SVGStylable
6792
6793 SVGAnimatedString className;
6794
6795 CSSStyleDeclaration style;
6796
6797 CSSValue getPresentationAttribute(String name) native;
6798 }
6799
6800 class SVGFESpotLightElement extends SVGElement native "*SVGFESpotLightElement" {
6801
6802 SVGAnimatedNumber limitingConeAngle;
6803
6804 SVGAnimatedNumber pointsAtX;
6805
6806 SVGAnimatedNumber pointsAtY;
6807
6808 SVGAnimatedNumber pointsAtZ;
6809
6810 SVGAnimatedNumber specularExponent;
6811
6812 SVGAnimatedNumber x;
6813
6814 SVGAnimatedNumber y;
6815
6816 SVGAnimatedNumber z;
6817 }
6818
6819 class SVGFETileElement extends SVGElement native "*SVGFETileElement" {
6820
6821 SVGAnimatedString in1;
6822
6823 // From SVGFilterPrimitiveStandardAttributes
6824
6825 SVGAnimatedLength height;
6826
6827 SVGAnimatedString result;
6828
6829 SVGAnimatedLength width;
6830
6831 SVGAnimatedLength x;
6832
6833 SVGAnimatedLength y;
6834
6835 // From SVGStylable
6836
6837 SVGAnimatedString className;
6838
6839 CSSStyleDeclaration style;
6840
6841 CSSValue getPresentationAttribute(String name) native;
6842 }
6843
6844 class SVGFETurbulenceElement extends SVGElement native "*SVGFETurbulenceElement" {
6845
6846 static final int SVG_STITCHTYPE_NOSTITCH = 2;
6847
6848 static final int SVG_STITCHTYPE_STITCH = 1;
6849
6850 static final int SVG_STITCHTYPE_UNKNOWN = 0;
6851
6852 static final int SVG_TURBULENCE_TYPE_FRACTALNOISE = 1;
6853
6854 static final int SVG_TURBULENCE_TYPE_TURBULENCE = 2;
6855
6856 static final int SVG_TURBULENCE_TYPE_UNKNOWN = 0;
6857
6858 SVGAnimatedNumber baseFrequencyX;
6859
6860 SVGAnimatedNumber baseFrequencyY;
6861
6862 SVGAnimatedInteger numOctaves;
6863
6864 SVGAnimatedNumber seed;
6865
6866 SVGAnimatedEnumeration stitchTiles;
6867
6868 SVGAnimatedEnumeration type;
6869
6870 // From SVGFilterPrimitiveStandardAttributes
6871
6872 SVGAnimatedLength height;
6873
6874 SVGAnimatedString result;
6875
6876 SVGAnimatedLength width;
6877
6878 SVGAnimatedLength x;
6879
6880 SVGAnimatedLength y;
6881
6882 // From SVGStylable
6883
6884 SVGAnimatedString className;
6885
6886 CSSStyleDeclaration style;
6887
6888 CSSValue getPresentationAttribute(String name) native;
6889 }
6890
6891 class SVGFilterElement extends SVGElement native "*SVGFilterElement" {
6892
6893 SVGAnimatedInteger filterResX;
6894
6895 SVGAnimatedInteger filterResY;
6896
6897 SVGAnimatedEnumeration filterUnits;
6898
6899 SVGAnimatedLength height;
6900
6901 SVGAnimatedEnumeration primitiveUnits;
6902
6903 SVGAnimatedLength width;
6904
6905 SVGAnimatedLength x;
6906
6907 SVGAnimatedLength y;
6908
6909 void setFilterRes(int filterResX, int filterResY) native;
6910
6911 // From SVGURIReference
6912
6913 SVGAnimatedString href;
6914
6915 // From SVGLangSpace
6916
6917 String xmllang;
6918
6919 String xmlspace;
6920
6921 // From SVGExternalResourcesRequired
6922
6923 SVGAnimatedBoolean externalResourcesRequired;
6924
6925 // From SVGStylable
6926
6927 SVGAnimatedString className;
6928
6929 CSSStyleDeclaration style;
6930
6931 CSSValue getPresentationAttribute(String name) native;
6932 }
6933
6934 class SVGFilterPrimitiveStandardAttributes extends SVGStylable native "*SVGFilte rPrimitiveStandardAttributes" {
6935
6936 SVGAnimatedLength height;
6937
6938 SVGAnimatedString result;
6939
6940 SVGAnimatedLength width;
6941
6942 SVGAnimatedLength x;
6943
6944 SVGAnimatedLength y;
6945 }
6946
6947 class SVGFitToViewBox native "*SVGFitToViewBox" {
6948
6949 SVGAnimatedPreserveAspectRatio preserveAspectRatio;
6950
6951 SVGAnimatedRect viewBox;
6952
6953 var dartObjectLocalStorage;
6954
6955 String get typeName() native;
6956 }
6957
6958 class SVGFontElement extends SVGElement native "*SVGFontElement" {
6959 }
6960
6961 class SVGFontFaceElement extends SVGElement native "*SVGFontFaceElement" {
6962 }
6963
6964 class SVGFontFaceFormatElement extends SVGElement native "*SVGFontFaceFormatElem ent" {
6965 }
6966
6967 class SVGFontFaceNameElement extends SVGElement native "*SVGFontFaceNameElement" {
6968 }
6969
6970 class SVGFontFaceSrcElement extends SVGElement native "*SVGFontFaceSrcElement" {
6971 }
6972
6973 class SVGFontFaceUriElement extends SVGElement native "*SVGFontFaceUriElement" {
6974 }
6975
6976 class SVGForeignObjectElement extends SVGElement native "*SVGForeignObjectElemen t" {
6977
6978 SVGAnimatedLength height;
6979
6980 SVGAnimatedLength width;
6981
6982 SVGAnimatedLength x;
6983
6984 SVGAnimatedLength y;
6985
6986 // From SVGTests
6987
6988 SVGStringList requiredExtensions;
6989
6990 SVGStringList requiredFeatures;
6991
6992 SVGStringList systemLanguage;
6993
6994 bool hasExtension(String extension) native;
6995
6996 // From SVGLangSpace
6997
6998 String xmllang;
6999
7000 String xmlspace;
7001
7002 // From SVGExternalResourcesRequired
7003
7004 SVGAnimatedBoolean externalResourcesRequired;
7005
7006 // From SVGStylable
7007
7008 SVGAnimatedString className;
7009
7010 CSSStyleDeclaration style;
7011
7012 CSSValue getPresentationAttribute(String name) native;
7013
7014 // From SVGTransformable
7015
7016 SVGAnimatedTransformList transform;
7017
7018 // From SVGLocatable
7019
7020 SVGElement farthestViewportElement;
7021
7022 SVGElement nearestViewportElement;
7023
7024 SVGRect getBBox() native;
7025
7026 SVGMatrix getCTM() native;
7027
7028 SVGMatrix getScreenCTM() native;
7029
7030 SVGMatrix getTransformToElement(SVGElement element) native;
7031 }
7032
7033 class SVGGElement extends SVGElement native "*SVGGElement" {
7034
7035 // From SVGTests
7036
7037 SVGStringList requiredExtensions;
7038
7039 SVGStringList requiredFeatures;
7040
7041 SVGStringList systemLanguage;
7042
7043 bool hasExtension(String extension) native;
7044
7045 // From SVGLangSpace
7046
7047 String xmllang;
7048
7049 String xmlspace;
7050
7051 // From SVGExternalResourcesRequired
7052
7053 SVGAnimatedBoolean externalResourcesRequired;
7054
7055 // From SVGStylable
7056
7057 SVGAnimatedString className;
7058
7059 CSSStyleDeclaration style;
7060
7061 CSSValue getPresentationAttribute(String name) native;
7062
7063 // From SVGTransformable
7064
7065 SVGAnimatedTransformList transform;
7066
7067 // From SVGLocatable
7068
7069 SVGElement farthestViewportElement;
7070
7071 SVGElement nearestViewportElement;
7072
7073 SVGRect getBBox() native;
7074
7075 SVGMatrix getCTM() native;
7076
7077 SVGMatrix getScreenCTM() native;
7078
7079 SVGMatrix getTransformToElement(SVGElement element) native;
7080 }
7081
7082 class SVGGlyphElement extends SVGElement native "*SVGGlyphElement" {
7083 }
7084
7085 class SVGGlyphRefElement extends SVGElement native "*SVGGlyphRefElement" {
7086
7087 num dx;
7088
7089 num dy;
7090
7091 String format;
7092
7093 String glyphRef;
7094
7095 num x;
7096
7097 num y;
7098
7099 // From SVGURIReference
7100
7101 SVGAnimatedString href;
7102
7103 // From SVGStylable
7104
7105 SVGAnimatedString className;
7106
7107 CSSStyleDeclaration style;
7108
7109 CSSValue getPresentationAttribute(String name) native;
7110 }
7111
7112 class SVGGradientElement extends SVGElement native "SVGGradientElement" {
7113
7114 static final int SVG_SPREADMETHOD_PAD = 1;
7115
7116 static final int SVG_SPREADMETHOD_REFLECT = 2;
7117
7118 static final int SVG_SPREADMETHOD_REPEAT = 3;
7119
7120 static final int SVG_SPREADMETHOD_UNKNOWN = 0;
7121
7122 SVGAnimatedTransformList gradientTransform;
7123
7124 SVGAnimatedEnumeration gradientUnits;
7125
7126 SVGAnimatedEnumeration spreadMethod;
7127
7128 // From SVGURIReference
7129
7130 SVGAnimatedString href;
7131
7132 // From SVGExternalResourcesRequired
7133
7134 SVGAnimatedBoolean externalResourcesRequired;
7135
7136 // From SVGStylable
7137
7138 SVGAnimatedString className;
7139
7140 CSSStyleDeclaration style;
7141
7142 CSSValue getPresentationAttribute(String name) native;
7143 }
7144
7145 class SVGHKernElement extends SVGElement native "*SVGHKernElement" {
7146 }
7147
7148 class SVGImageElement extends SVGElement native "*SVGImageElement" {
7149
7150 SVGAnimatedLength height;
7151
7152 SVGAnimatedPreserveAspectRatio preserveAspectRatio;
7153
7154 SVGAnimatedLength width;
7155
7156 SVGAnimatedLength x;
7157
7158 SVGAnimatedLength y;
7159
7160 // From SVGURIReference
7161
7162 SVGAnimatedString href;
7163
7164 // From SVGTests
7165
7166 SVGStringList requiredExtensions;
7167
7168 SVGStringList requiredFeatures;
7169
7170 SVGStringList systemLanguage;
7171
7172 bool hasExtension(String extension) native;
7173
7174 // From SVGLangSpace
7175
7176 String xmllang;
7177
7178 String xmlspace;
7179
7180 // From SVGExternalResourcesRequired
7181
7182 SVGAnimatedBoolean externalResourcesRequired;
7183
7184 // From SVGStylable
7185
7186 SVGAnimatedString className;
7187
7188 CSSStyleDeclaration style;
7189
7190 CSSValue getPresentationAttribute(String name) native;
7191
7192 // From SVGTransformable
7193
7194 SVGAnimatedTransformList transform;
7195
7196 // From SVGLocatable
7197
7198 SVGElement farthestViewportElement;
7199
7200 SVGElement nearestViewportElement;
7201
7202 SVGRect getBBox() native;
7203
7204 SVGMatrix getCTM() native;
7205
7206 SVGMatrix getScreenCTM() native;
7207
7208 SVGMatrix getTransformToElement(SVGElement element) native;
7209 }
7210
7211 class SVGLangSpace native "*SVGLangSpace" {
7212
7213 String xmllang;
7214
7215 String xmlspace;
7216
7217 var dartObjectLocalStorage;
7218
7219 String get typeName() native;
7220 }
7221
7222 class SVGLength native "*SVGLength" {
7223
7224 static final int SVG_LENGTHTYPE_CM = 6;
7225
7226 static final int SVG_LENGTHTYPE_EMS = 3;
7227
7228 static final int SVG_LENGTHTYPE_EXS = 4;
7229
7230 static final int SVG_LENGTHTYPE_IN = 8;
7231
7232 static final int SVG_LENGTHTYPE_MM = 7;
7233
7234 static final int SVG_LENGTHTYPE_NUMBER = 1;
7235
7236 static final int SVG_LENGTHTYPE_PC = 10;
7237
7238 static final int SVG_LENGTHTYPE_PERCENTAGE = 2;
7239
7240 static final int SVG_LENGTHTYPE_PT = 9;
7241
7242 static final int SVG_LENGTHTYPE_PX = 5;
7243
7244 static final int SVG_LENGTHTYPE_UNKNOWN = 0;
7245
7246 int unitType;
7247
7248 num value;
7249
7250 String valueAsString;
7251
7252 num valueInSpecifiedUnits;
7253
7254 void convertToSpecifiedUnits(int unitType) native;
7255
7256 void newValueSpecifiedUnits(int unitType, num valueInSpecifiedUnits) native;
7257
7258 var dartObjectLocalStorage;
7259
7260 String get typeName() native;
7261 }
7262
7263 class SVGLengthList native "*SVGLengthList" {
7264
7265 int numberOfItems;
7266
7267 SVGLength appendItem(SVGLength item) native;
7268
7269 void clear() native;
7270
7271 SVGLength getItem(int index) native;
7272
7273 SVGLength initialize(SVGLength item) native;
7274
7275 SVGLength insertItemBefore(SVGLength item, int index) native;
7276
7277 SVGLength removeItem(int index) native;
7278
7279 SVGLength replaceItem(SVGLength item, int index) native;
7280
7281 var dartObjectLocalStorage;
7282
7283 String get typeName() native;
7284 }
7285
7286 class SVGLineElement extends SVGElement native "*SVGLineElement" {
7287
7288 SVGAnimatedLength x1;
7289
7290 SVGAnimatedLength x2;
7291
7292 SVGAnimatedLength y1;
7293
7294 SVGAnimatedLength y2;
7295
7296 // From SVGTests
7297
7298 SVGStringList requiredExtensions;
7299
7300 SVGStringList requiredFeatures;
7301
7302 SVGStringList systemLanguage;
7303
7304 bool hasExtension(String extension) native;
7305
7306 // From SVGLangSpace
7307
7308 String xmllang;
7309
7310 String xmlspace;
7311
7312 // From SVGExternalResourcesRequired
7313
7314 SVGAnimatedBoolean externalResourcesRequired;
7315
7316 // From SVGStylable
7317
7318 SVGAnimatedString className;
7319
7320 CSSStyleDeclaration style;
7321
7322 CSSValue getPresentationAttribute(String name) native;
7323
7324 // From SVGTransformable
7325
7326 SVGAnimatedTransformList transform;
7327
7328 // From SVGLocatable
7329
7330 SVGElement farthestViewportElement;
7331
7332 SVGElement nearestViewportElement;
7333
7334 SVGRect getBBox() native;
7335
7336 SVGMatrix getCTM() native;
7337
7338 SVGMatrix getScreenCTM() native;
7339
7340 SVGMatrix getTransformToElement(SVGElement element) native;
7341 }
7342
7343 class SVGLinearGradientElement extends SVGGradientElement native "*SVGLinearGrad ientElement" {
7344
7345 SVGAnimatedLength x1;
7346
7347 SVGAnimatedLength x2;
7348
7349 SVGAnimatedLength y1;
7350
7351 SVGAnimatedLength y2;
7352 }
7353
7354 class SVGLocatable native "*SVGLocatable" {
7355
7356 SVGElement farthestViewportElement;
7357
7358 SVGElement nearestViewportElement;
7359
7360 SVGRect getBBox() native;
7361
7362 SVGMatrix getCTM() native;
7363
7364 SVGMatrix getScreenCTM() native;
7365
7366 SVGMatrix getTransformToElement(SVGElement element) native;
7367
7368 var dartObjectLocalStorage;
7369
7370 String get typeName() native;
7371 }
7372
7373 class SVGMPathElement extends SVGElement native "*SVGMPathElement" {
7374
7375 // From SVGURIReference
7376
7377 SVGAnimatedString href;
7378
7379 // From SVGExternalResourcesRequired
7380
7381 SVGAnimatedBoolean externalResourcesRequired;
7382 }
7383
7384 class SVGMarkerElement extends SVGElement native "*SVGMarkerElement" {
7385
7386 static final int SVG_MARKERUNITS_STROKEWIDTH = 2;
7387
7388 static final int SVG_MARKERUNITS_UNKNOWN = 0;
7389
7390 static final int SVG_MARKERUNITS_USERSPACEONUSE = 1;
7391
7392 static final int SVG_MARKER_ORIENT_ANGLE = 2;
7393
7394 static final int SVG_MARKER_ORIENT_AUTO = 1;
7395
7396 static final int SVG_MARKER_ORIENT_UNKNOWN = 0;
7397
7398 SVGAnimatedLength markerHeight;
7399
7400 SVGAnimatedEnumeration markerUnits;
7401
7402 SVGAnimatedLength markerWidth;
7403
7404 SVGAnimatedAngle orientAngle;
7405
7406 SVGAnimatedEnumeration orientType;
7407
7408 SVGAnimatedLength refX;
7409
7410 SVGAnimatedLength refY;
7411
7412 void setOrientToAngle(SVGAngle angle) native;
7413
7414 void setOrientToAuto() native;
7415
7416 // From SVGLangSpace
7417
7418 String xmllang;
7419
7420 String xmlspace;
7421
7422 // From SVGExternalResourcesRequired
7423
7424 SVGAnimatedBoolean externalResourcesRequired;
7425
7426 // From SVGStylable
7427
7428 SVGAnimatedString className;
7429
7430 CSSStyleDeclaration style;
7431
7432 CSSValue getPresentationAttribute(String name) native;
7433
7434 // From SVGFitToViewBox
7435
7436 SVGAnimatedPreserveAspectRatio preserveAspectRatio;
7437
7438 SVGAnimatedRect viewBox;
7439 }
7440
7441 class SVGMaskElement extends SVGElement native "*SVGMaskElement" {
7442
7443 SVGAnimatedLength height;
7444
7445 SVGAnimatedEnumeration maskContentUnits;
7446
7447 SVGAnimatedEnumeration maskUnits;
7448
7449 SVGAnimatedLength width;
7450
7451 SVGAnimatedLength x;
7452
7453 SVGAnimatedLength y;
7454
7455 // From SVGTests
7456
7457 SVGStringList requiredExtensions;
7458
7459 SVGStringList requiredFeatures;
7460
7461 SVGStringList systemLanguage;
7462
7463 bool hasExtension(String extension) native;
7464
7465 // From SVGLangSpace
7466
7467 String xmllang;
7468
7469 String xmlspace;
7470
7471 // From SVGExternalResourcesRequired
7472
7473 SVGAnimatedBoolean externalResourcesRequired;
7474
7475 // From SVGStylable
7476
7477 SVGAnimatedString className;
7478
7479 CSSStyleDeclaration style;
7480
7481 CSSValue getPresentationAttribute(String name) native;
7482 }
7483
7484 class SVGMatrix native "*SVGMatrix" {
7485
7486 num a;
7487
7488 num b;
7489
7490 num c;
7491
7492 num d;
7493
7494 num e;
7495
7496 num f;
7497
7498 SVGMatrix flipX() native;
7499
7500 SVGMatrix flipY() native;
7501
7502 SVGMatrix inverse() native;
7503
7504 SVGMatrix multiply(SVGMatrix secondMatrix) native;
7505
7506 SVGMatrix rotate(num angle) native;
7507
7508 SVGMatrix rotateFromVector(num x, num y) native;
7509
7510 SVGMatrix scale(num scaleFactor) native;
7511
7512 SVGMatrix scaleNonUniform(num scaleFactorX, num scaleFactorY) native;
7513
7514 SVGMatrix skewX(num angle) native;
7515
7516 SVGMatrix skewY(num angle) native;
7517
7518 SVGMatrix translate(num x, num y) native;
7519
7520 var dartObjectLocalStorage;
7521
7522 String get typeName() native;
7523 }
7524
7525 class SVGMetadataElement extends SVGElement native "*SVGMetadataElement" {
7526 }
7527
7528 class SVGMissingGlyphElement extends SVGElement native "*SVGMissingGlyphElement" {
7529 }
7530
7531 class SVGNumber native "*SVGNumber" {
7532
7533 num value;
7534
7535 var dartObjectLocalStorage;
7536
7537 String get typeName() native;
7538 }
7539
7540 class SVGNumberList native "*SVGNumberList" {
7541
7542 int numberOfItems;
7543
7544 SVGNumber appendItem(SVGNumber item) native;
7545
7546 void clear() native;
7547
7548 SVGNumber getItem(int index) native;
7549
7550 SVGNumber initialize(SVGNumber item) native;
7551
7552 SVGNumber insertItemBefore(SVGNumber item, int index) native;
7553
7554 SVGNumber removeItem(int index) native;
7555
7556 SVGNumber replaceItem(SVGNumber item, int index) native;
7557
7558 var dartObjectLocalStorage;
7559
7560 String get typeName() native;
7561 }
7562
7563 class SVGPaint extends SVGColor native "*SVGPaint" {
7564
7565 static final int SVG_PAINTTYPE_CURRENTCOLOR = 102;
7566
7567 static final int SVG_PAINTTYPE_NONE = 101;
7568
7569 static final int SVG_PAINTTYPE_RGBCOLOR = 1;
7570
7571 static final int SVG_PAINTTYPE_RGBCOLOR_ICCCOLOR = 2;
7572
7573 static final int SVG_PAINTTYPE_UNKNOWN = 0;
7574
7575 static final int SVG_PAINTTYPE_URI = 107;
7576
7577 static final int SVG_PAINTTYPE_URI_CURRENTCOLOR = 104;
7578
7579 static final int SVG_PAINTTYPE_URI_NONE = 103;
7580
7581 static final int SVG_PAINTTYPE_URI_RGBCOLOR = 105;
7582
7583 static final int SVG_PAINTTYPE_URI_RGBCOLOR_ICCCOLOR = 106;
7584
7585 int paintType;
7586
7587 String uri;
7588
7589 void setPaint(int paintType, String uri, String rgbColor, String iccColor) nat ive;
7590
7591 void setUri(String uri) native;
7592 }
7593
7594 class SVGPathElement extends SVGElement native "*SVGPathElement" {
7595
7596 SVGPathSegList animatedNormalizedPathSegList;
7597
7598 SVGPathSegList animatedPathSegList;
7599
7600 SVGPathSegList normalizedPathSegList;
7601
7602 SVGAnimatedNumber pathLength;
7603
7604 SVGPathSegList pathSegList;
7605
7606 SVGPathSegArcAbs createSVGPathSegArcAbs(num x, num y, num r1, num r2, num angl e, bool largeArcFlag, bool sweepFlag) native;
7607
7608 SVGPathSegArcRel createSVGPathSegArcRel(num x, num y, num r1, num r2, num angl e, bool largeArcFlag, bool sweepFlag) native;
7609
7610 SVGPathSegClosePath createSVGPathSegClosePath() native;
7611
7612 SVGPathSegCurvetoCubicAbs createSVGPathSegCurvetoCubicAbs(num x, num y, num x1 , num y1, num x2, num y2) native;
7613
7614 SVGPathSegCurvetoCubicRel createSVGPathSegCurvetoCubicRel(num x, num y, num x1 , num y1, num x2, num y2) native;
7615
7616 SVGPathSegCurvetoCubicSmoothAbs createSVGPathSegCurvetoCubicSmoothAbs(num x, n um y, num x2, num y2) native;
7617
7618 SVGPathSegCurvetoCubicSmoothRel createSVGPathSegCurvetoCubicSmoothRel(num x, n um y, num x2, num y2) native;
7619
7620 SVGPathSegCurvetoQuadraticAbs createSVGPathSegCurvetoQuadraticAbs(num x, num y , num x1, num y1) native;
7621
7622 SVGPathSegCurvetoQuadraticRel createSVGPathSegCurvetoQuadraticRel(num x, num y , num x1, num y1) native;
7623
7624 SVGPathSegCurvetoQuadraticSmoothAbs createSVGPathSegCurvetoQuadraticSmoothAbs( num x, num y) native;
7625
7626 SVGPathSegCurvetoQuadraticSmoothRel createSVGPathSegCurvetoQuadraticSmoothRel( num x, num y) native;
7627
7628 SVGPathSegLinetoAbs createSVGPathSegLinetoAbs(num x, num y) native;
7629
7630 SVGPathSegLinetoHorizontalAbs createSVGPathSegLinetoHorizontalAbs(num x) nativ e;
7631
7632 SVGPathSegLinetoHorizontalRel createSVGPathSegLinetoHorizontalRel(num x) nativ e;
7633
7634 SVGPathSegLinetoRel createSVGPathSegLinetoRel(num x, num y) native;
7635
7636 SVGPathSegLinetoVerticalAbs createSVGPathSegLinetoVerticalAbs(num y) native;
7637
7638 SVGPathSegLinetoVerticalRel createSVGPathSegLinetoVerticalRel(num y) native;
7639
7640 SVGPathSegMovetoAbs createSVGPathSegMovetoAbs(num x, num y) native;
7641
7642 SVGPathSegMovetoRel createSVGPathSegMovetoRel(num x, num y) native;
7643
7644 int getPathSegAtLength(num distance) native;
7645
7646 SVGPoint getPointAtLength(num distance) native;
7647
7648 num getTotalLength() native;
7649
7650 // From SVGTests
7651
7652 SVGStringList requiredExtensions;
7653
7654 SVGStringList requiredFeatures;
7655
7656 SVGStringList systemLanguage;
7657
7658 bool hasExtension(String extension) native;
7659
7660 // From SVGLangSpace
7661
7662 String xmllang;
7663
7664 String xmlspace;
7665
7666 // From SVGExternalResourcesRequired
7667
7668 SVGAnimatedBoolean externalResourcesRequired;
7669
7670 // From SVGStylable
7671
7672 SVGAnimatedString className;
7673
7674 CSSStyleDeclaration style;
7675
7676 CSSValue getPresentationAttribute(String name) native;
7677
7678 // From SVGTransformable
7679
7680 SVGAnimatedTransformList transform;
7681
7682 // From SVGLocatable
7683
7684 SVGElement farthestViewportElement;
7685
7686 SVGElement nearestViewportElement;
7687
7688 SVGRect getBBox() native;
7689
7690 SVGMatrix getCTM() native;
7691
7692 SVGMatrix getScreenCTM() native;
7693
7694 SVGMatrix getTransformToElement(SVGElement element) native;
7695 }
7696
7697 class SVGPathSeg native "SVGPathSeg" {
7698
7699 static final int PATHSEG_ARC_ABS = 10;
7700
7701 static final int PATHSEG_ARC_REL = 11;
7702
7703 static final int PATHSEG_CLOSEPATH = 1;
7704
7705 static final int PATHSEG_CURVETO_CUBIC_ABS = 6;
7706
7707 static final int PATHSEG_CURVETO_CUBIC_REL = 7;
7708
7709 static final int PATHSEG_CURVETO_CUBIC_SMOOTH_ABS = 16;
7710
7711 static final int PATHSEG_CURVETO_CUBIC_SMOOTH_REL = 17;
7712
7713 static final int PATHSEG_CURVETO_QUADRATIC_ABS = 8;
7714
7715 static final int PATHSEG_CURVETO_QUADRATIC_REL = 9;
7716
7717 static final int PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS = 18;
7718
7719 static final int PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL = 19;
7720
7721 static final int PATHSEG_LINETO_ABS = 4;
7722
7723 static final int PATHSEG_LINETO_HORIZONTAL_ABS = 12;
7724
7725 static final int PATHSEG_LINETO_HORIZONTAL_REL = 13;
7726
7727 static final int PATHSEG_LINETO_REL = 5;
7728
7729 static final int PATHSEG_LINETO_VERTICAL_ABS = 14;
7730
7731 static final int PATHSEG_LINETO_VERTICAL_REL = 15;
7732
7733 static final int PATHSEG_MOVETO_ABS = 2;
7734
7735 static final int PATHSEG_MOVETO_REL = 3;
7736
7737 static final int PATHSEG_UNKNOWN = 0;
7738
7739 int pathSegType;
7740
7741 String pathSegTypeAsLetter;
7742
7743 var dartObjectLocalStorage;
7744
7745 String get typeName() native;
7746 }
7747
7748 class SVGPathSegArcAbs extends SVGPathSeg native "*SVGPathSegArcAbs" {
7749
7750 num angle;
7751
7752 bool largeArcFlag;
7753
7754 num r1;
7755
7756 num r2;
7757
7758 bool sweepFlag;
7759
7760 num x;
7761
7762 num y;
7763 }
7764
7765 class SVGPathSegArcRel extends SVGPathSeg native "*SVGPathSegArcRel" {
7766
7767 num angle;
7768
7769 bool largeArcFlag;
7770
7771 num r1;
7772
7773 num r2;
7774
7775 bool sweepFlag;
7776
7777 num x;
7778
7779 num y;
7780 }
7781
7782 class SVGPathSegClosePath extends SVGPathSeg native "*SVGPathSegClosePath" {
7783 }
7784
7785 class SVGPathSegCurvetoCubicAbs extends SVGPathSeg native "*SVGPathSegCurvetoCub icAbs" {
7786
7787 num x;
7788
7789 num x1;
7790
7791 num x2;
7792
7793 num y;
7794
7795 num y1;
7796
7797 num y2;
7798 }
7799
7800 class SVGPathSegCurvetoCubicRel extends SVGPathSeg native "*SVGPathSegCurvetoCub icRel" {
7801
7802 num x;
7803
7804 num x1;
7805
7806 num x2;
7807
7808 num y;
7809
7810 num y1;
7811
7812 num y2;
7813 }
7814
7815 class SVGPathSegCurvetoCubicSmoothAbs extends SVGPathSeg native "*SVGPathSegCurv etoCubicSmoothAbs" {
7816
7817 num x;
7818
7819 num x2;
7820
7821 num y;
7822
7823 num y2;
7824 }
7825
7826 class SVGPathSegCurvetoCubicSmoothRel extends SVGPathSeg native "*SVGPathSegCurv etoCubicSmoothRel" {
7827
7828 num x;
7829
7830 num x2;
7831
7832 num y;
7833
7834 num y2;
7835 }
7836
7837 class SVGPathSegCurvetoQuadraticAbs extends SVGPathSeg native "*SVGPathSegCurvet oQuadraticAbs" {
7838
7839 num x;
7840
7841 num x1;
7842
7843 num y;
7844
7845 num y1;
7846 }
7847
7848 class SVGPathSegCurvetoQuadraticRel extends SVGPathSeg native "*SVGPathSegCurvet oQuadraticRel" {
7849
7850 num x;
7851
7852 num x1;
7853
7854 num y;
7855
7856 num y1;
7857 }
7858
7859 class SVGPathSegCurvetoQuadraticSmoothAbs extends SVGPathSeg native "*SVGPathSeg CurvetoQuadraticSmoothAbs" {
7860
7861 num x;
7862
7863 num y;
7864 }
7865
7866 class SVGPathSegCurvetoQuadraticSmoothRel extends SVGPathSeg native "*SVGPathSeg CurvetoQuadraticSmoothRel" {
7867
7868 num x;
7869
7870 num y;
7871 }
7872
7873 class SVGPathSegLinetoAbs extends SVGPathSeg native "*SVGPathSegLinetoAbs" {
7874
7875 num x;
7876
7877 num y;
7878 }
7879
7880 class SVGPathSegLinetoHorizontalAbs extends SVGPathSeg native "*SVGPathSegLineto HorizontalAbs" {
7881
7882 num x;
7883 }
7884
7885 class SVGPathSegLinetoHorizontalRel extends SVGPathSeg native "*SVGPathSegLineto HorizontalRel" {
7886
7887 num x;
7888 }
7889
7890 class SVGPathSegLinetoRel extends SVGPathSeg native "*SVGPathSegLinetoRel" {
7891
7892 num x;
7893
7894 num y;
7895 }
7896
7897 class SVGPathSegLinetoVerticalAbs extends SVGPathSeg native "*SVGPathSegLinetoVe rticalAbs" {
7898
7899 num y;
7900 }
7901
7902 class SVGPathSegLinetoVerticalRel extends SVGPathSeg native "*SVGPathSegLinetoVe rticalRel" {
7903
7904 num y;
7905 }
7906
7907 class SVGPathSegList native "*SVGPathSegList" {
7908
7909 int numberOfItems;
7910
7911 SVGPathSeg appendItem(SVGPathSeg newItem) native;
7912
7913 void clear() native;
7914
7915 SVGPathSeg getItem(int index) native;
7916
7917 SVGPathSeg initialize(SVGPathSeg newItem) native;
7918
7919 SVGPathSeg insertItemBefore(SVGPathSeg newItem, int index) native;
7920
7921 SVGPathSeg removeItem(int index) native;
7922
7923 SVGPathSeg replaceItem(SVGPathSeg newItem, int index) native;
7924
7925 var dartObjectLocalStorage;
7926
7927 String get typeName() native;
7928 }
7929
7930 class SVGPathSegMovetoAbs extends SVGPathSeg native "*SVGPathSegMovetoAbs" {
7931
7932 num x;
7933
7934 num y;
7935 }
7936
7937 class SVGPathSegMovetoRel extends SVGPathSeg native "*SVGPathSegMovetoRel" {
7938
7939 num x;
7940
7941 num y;
7942 }
7943
7944 class SVGPatternElement extends SVGElement native "*SVGPatternElement" {
7945
7946 SVGAnimatedLength height;
7947
7948 SVGAnimatedEnumeration patternContentUnits;
7949
7950 SVGAnimatedTransformList patternTransform;
7951
7952 SVGAnimatedEnumeration patternUnits;
7953
7954 SVGAnimatedLength width;
7955
7956 SVGAnimatedLength x;
7957
7958 SVGAnimatedLength y;
7959
7960 // From SVGURIReference
7961
7962 SVGAnimatedString href;
7963
7964 // From SVGTests
7965
7966 SVGStringList requiredExtensions;
7967
7968 SVGStringList requiredFeatures;
7969
7970 SVGStringList systemLanguage;
7971
7972 bool hasExtension(String extension) native;
7973
7974 // From SVGLangSpace
7975
7976 String xmllang;
7977
7978 String xmlspace;
7979
7980 // From SVGExternalResourcesRequired
7981
7982 SVGAnimatedBoolean externalResourcesRequired;
7983
7984 // From SVGStylable
7985
7986 SVGAnimatedString className;
7987
7988 CSSStyleDeclaration style;
7989
7990 CSSValue getPresentationAttribute(String name) native;
7991
7992 // From SVGFitToViewBox
7993
7994 SVGAnimatedPreserveAspectRatio preserveAspectRatio;
7995
7996 SVGAnimatedRect viewBox;
7997 }
7998
7999 class SVGPoint native "*SVGPoint" {
8000
8001 num x;
8002
8003 num y;
8004
8005 SVGPoint matrixTransform(SVGMatrix matrix) native;
8006
8007 var dartObjectLocalStorage;
8008
8009 String get typeName() native;
8010 }
8011
8012 class SVGPointList native "*SVGPointList" {
8013
8014 int numberOfItems;
8015
8016 SVGPoint appendItem(SVGPoint item) native;
8017
8018 void clear() native;
8019
8020 SVGPoint getItem(int index) native;
8021
8022 SVGPoint initialize(SVGPoint item) native;
8023
8024 SVGPoint insertItemBefore(SVGPoint item, int index) native;
8025
8026 SVGPoint removeItem(int index) native;
8027
8028 SVGPoint replaceItem(SVGPoint item, int index) native;
8029
8030 var dartObjectLocalStorage;
8031
8032 String get typeName() native;
8033 }
8034
8035 class SVGPolygonElement extends SVGElement native "*SVGPolygonElement" {
8036
8037 SVGPointList animatedPoints;
8038
8039 SVGPointList points;
8040
8041 // From SVGTests
8042
8043 SVGStringList requiredExtensions;
8044
8045 SVGStringList requiredFeatures;
8046
8047 SVGStringList systemLanguage;
8048
8049 bool hasExtension(String extension) native;
8050
8051 // From SVGLangSpace
8052
8053 String xmllang;
8054
8055 String xmlspace;
8056
8057 // From SVGExternalResourcesRequired
8058
8059 SVGAnimatedBoolean externalResourcesRequired;
8060
8061 // From SVGStylable
8062
8063 SVGAnimatedString className;
8064
8065 CSSStyleDeclaration style;
8066
8067 CSSValue getPresentationAttribute(String name) native;
8068
8069 // From SVGTransformable
8070
8071 SVGAnimatedTransformList transform;
8072
8073 // From SVGLocatable
8074
8075 SVGElement farthestViewportElement;
8076
8077 SVGElement nearestViewportElement;
8078
8079 SVGRect getBBox() native;
8080
8081 SVGMatrix getCTM() native;
8082
8083 SVGMatrix getScreenCTM() native;
8084
8085 SVGMatrix getTransformToElement(SVGElement element) native;
8086 }
8087
8088 class SVGPolylineElement extends SVGElement native "*SVGPolylineElement" {
8089
8090 SVGPointList animatedPoints;
8091
8092 SVGPointList points;
8093
8094 // From SVGTests
8095
8096 SVGStringList requiredExtensions;
8097
8098 SVGStringList requiredFeatures;
8099
8100 SVGStringList systemLanguage;
8101
8102 bool hasExtension(String extension) native;
8103
8104 // From SVGLangSpace
8105
8106 String xmllang;
8107
8108 String xmlspace;
8109
8110 // From SVGExternalResourcesRequired
8111
8112 SVGAnimatedBoolean externalResourcesRequired;
8113
8114 // From SVGStylable
8115
8116 SVGAnimatedString className;
8117
8118 CSSStyleDeclaration style;
8119
8120 CSSValue getPresentationAttribute(String name) native;
8121
8122 // From SVGTransformable
8123
8124 SVGAnimatedTransformList transform;
8125
8126 // From SVGLocatable
8127
8128 SVGElement farthestViewportElement;
8129
8130 SVGElement nearestViewportElement;
8131
8132 SVGRect getBBox() native;
8133
8134 SVGMatrix getCTM() native;
8135
8136 SVGMatrix getScreenCTM() native;
8137
8138 SVGMatrix getTransformToElement(SVGElement element) native;
8139 }
8140
8141 class SVGPreserveAspectRatio native "*SVGPreserveAspectRatio" {
8142
8143 static final int SVG_MEETORSLICE_MEET = 1;
8144
8145 static final int SVG_MEETORSLICE_SLICE = 2;
8146
8147 static final int SVG_MEETORSLICE_UNKNOWN = 0;
8148
8149 static final int SVG_PRESERVEASPECTRATIO_NONE = 1;
8150
8151 static final int SVG_PRESERVEASPECTRATIO_UNKNOWN = 0;
8152
8153 static final int SVG_PRESERVEASPECTRATIO_XMAXYMAX = 10;
8154
8155 static final int SVG_PRESERVEASPECTRATIO_XMAXYMID = 7;
8156
8157 static final int SVG_PRESERVEASPECTRATIO_XMAXYMIN = 4;
8158
8159 static final int SVG_PRESERVEASPECTRATIO_XMIDYMAX = 9;
8160
8161 static final int SVG_PRESERVEASPECTRATIO_XMIDYMID = 6;
8162
8163 static final int SVG_PRESERVEASPECTRATIO_XMIDYMIN = 3;
8164
8165 static final int SVG_PRESERVEASPECTRATIO_XMINYMAX = 8;
8166
8167 static final int SVG_PRESERVEASPECTRATIO_XMINYMID = 5;
8168
8169 static final int SVG_PRESERVEASPECTRATIO_XMINYMIN = 2;
8170
8171 int align;
8172
8173 int meetOrSlice;
8174
8175 var dartObjectLocalStorage;
8176
8177 String get typeName() native;
8178 }
8179
8180 class SVGRadialGradientElement extends SVGGradientElement native "*SVGRadialGrad ientElement" {
8181
8182 SVGAnimatedLength cx;
8183
8184 SVGAnimatedLength cy;
8185
8186 SVGAnimatedLength fx;
8187
8188 SVGAnimatedLength fy;
8189
8190 SVGAnimatedLength r;
8191 }
8192
8193 class SVGRect native "*SVGRect" {
8194
8195 num height;
8196
8197 num width;
8198
8199 num x;
8200
8201 num y;
8202
8203 var dartObjectLocalStorage;
8204
8205 String get typeName() native;
8206 }
8207
8208 class SVGRectElement extends SVGElement native "*SVGRectElement" {
8209
8210 SVGAnimatedLength height;
8211
8212 SVGAnimatedLength rx;
8213
8214 SVGAnimatedLength ry;
8215
8216 SVGAnimatedLength width;
8217
8218 SVGAnimatedLength x;
8219
8220 SVGAnimatedLength y;
8221
8222 // From SVGTests
8223
8224 SVGStringList requiredExtensions;
8225
8226 SVGStringList requiredFeatures;
8227
8228 SVGStringList systemLanguage;
8229
8230 bool hasExtension(String extension) native;
8231
8232 // From SVGLangSpace
8233
8234 String xmllang;
8235
8236 String xmlspace;
8237
8238 // From SVGExternalResourcesRequired
8239
8240 SVGAnimatedBoolean externalResourcesRequired;
8241
8242 // From SVGStylable
8243
8244 SVGAnimatedString className;
8245
8246 CSSStyleDeclaration style;
8247
8248 CSSValue getPresentationAttribute(String name) native;
8249
8250 // From SVGTransformable
8251
8252 SVGAnimatedTransformList transform;
8253
8254 // From SVGLocatable
8255
8256 SVGElement farthestViewportElement;
8257
8258 SVGElement nearestViewportElement;
8259
8260 SVGRect getBBox() native;
8261
8262 SVGMatrix getCTM() native;
8263
8264 SVGMatrix getScreenCTM() native;
8265
8266 SVGMatrix getTransformToElement(SVGElement element) native;
8267 }
8268
8269 class SVGRenderingIntent native "*SVGRenderingIntent" {
8270
8271 static final int RENDERING_INTENT_ABSOLUTE_COLORIMETRIC = 5;
8272
8273 static final int RENDERING_INTENT_AUTO = 1;
8274
8275 static final int RENDERING_INTENT_PERCEPTUAL = 2;
8276
8277 static final int RENDERING_INTENT_RELATIVE_COLORIMETRIC = 3;
8278
8279 static final int RENDERING_INTENT_SATURATION = 4;
8280
8281 static final int RENDERING_INTENT_UNKNOWN = 0;
8282
8283 var dartObjectLocalStorage;
8284
8285 String get typeName() native;
8286 }
8287
8288 class SVGSVGElement extends SVGElement native "*SVGSVGElement" {
8289
8290 String contentScriptType;
8291
8292 String contentStyleType;
8293
8294 num currentScale;
8295
8296 SVGPoint currentTranslate;
8297
8298 SVGAnimatedLength height;
8299
8300 num pixelUnitToMillimeterX;
8301
8302 num pixelUnitToMillimeterY;
8303
8304 num screenPixelToMillimeterX;
8305
8306 num screenPixelToMillimeterY;
8307
8308 bool useCurrentView;
8309
8310 SVGRect viewport;
8311
8312 SVGAnimatedLength width;
8313
8314 SVGAnimatedLength x;
8315
8316 SVGAnimatedLength y;
8317
8318 bool animationsPaused() native;
8319
8320 bool checkEnclosure(SVGElement element, SVGRect rect) native;
8321
8322 bool checkIntersection(SVGElement element, SVGRect rect) native;
8323
8324 SVGAngle createSVGAngle() native;
8325
8326 SVGLength createSVGLength() native;
8327
8328 SVGMatrix createSVGMatrix() native;
8329
8330 SVGNumber createSVGNumber() native;
8331
8332 SVGPoint createSVGPoint() native;
8333
8334 SVGRect createSVGRect() native;
8335
8336 SVGTransform createSVGTransform() native;
8337
8338 SVGTransform createSVGTransformFromMatrix(SVGMatrix matrix) native;
8339
8340 void deselectAll() native;
8341
8342 void forceRedraw() native;
8343
8344 num getCurrentTime() native;
8345
8346 Element getElementById(String elementId) native;
8347
8348 NodeList getEnclosureList(SVGRect rect, SVGElement referenceElement) native;
8349
8350 NodeList getIntersectionList(SVGRect rect, SVGElement referenceElement) native ;
8351
8352 void pauseAnimations() native;
8353
8354 void setCurrentTime(num seconds) native;
8355
8356 int suspendRedraw(int maxWaitMilliseconds) native;
8357
8358 void unpauseAnimations() native;
8359
8360 void unsuspendRedraw(int suspendHandleId) native;
8361
8362 void unsuspendRedrawAll() native;
8363
8364 // From SVGTests
8365
8366 SVGStringList requiredExtensions;
8367
8368 SVGStringList requiredFeatures;
8369
8370 SVGStringList systemLanguage;
8371
8372 bool hasExtension(String extension) native;
8373
8374 // From SVGLangSpace
8375
8376 String xmllang;
8377
8378 String xmlspace;
8379
8380 // From SVGExternalResourcesRequired
8381
8382 SVGAnimatedBoolean externalResourcesRequired;
8383
8384 // From SVGStylable
8385
8386 SVGAnimatedString className;
8387
8388 CSSStyleDeclaration style;
8389
8390 CSSValue getPresentationAttribute(String name) native;
8391
8392 // From SVGLocatable
8393
8394 SVGElement farthestViewportElement;
8395
8396 SVGElement nearestViewportElement;
8397
8398 SVGRect getBBox() native;
8399
8400 SVGMatrix getCTM() native;
8401
8402 SVGMatrix getScreenCTM() native;
8403
8404 SVGMatrix getTransformToElement(SVGElement element) native;
8405
8406 // From SVGFitToViewBox
8407
8408 SVGAnimatedPreserveAspectRatio preserveAspectRatio;
8409
8410 SVGAnimatedRect viewBox;
8411
8412 // From SVGZoomAndPan
8413
8414 int zoomAndPan;
8415 }
8416
8417 class SVGScriptElement extends SVGElement native "*SVGScriptElement" {
8418
8419 String type;
8420
8421 // From SVGURIReference
8422
8423 SVGAnimatedString href;
8424
8425 // From SVGExternalResourcesRequired
8426
8427 SVGAnimatedBoolean externalResourcesRequired;
8428 }
8429
8430 class SVGSetElement extends SVGAnimationElement native "*SVGSetElement" {
8431 }
8432
8433 class SVGStopElement extends SVGElement native "*SVGStopElement" {
8434
8435 SVGAnimatedNumber offset;
8436
8437 // From SVGStylable
8438
8439 SVGAnimatedString className;
8440
8441 CSSStyleDeclaration style;
8442
8443 CSSValue getPresentationAttribute(String name) native;
8444 }
8445
8446 class SVGStringList native "*SVGStringList" {
8447
8448 int numberOfItems;
8449
8450 String appendItem(String item) native;
8451
8452 void clear() native;
8453
8454 String getItem(int index) native;
8455
8456 String initialize(String item) native;
8457
8458 String insertItemBefore(String item, int index) native;
8459
8460 String removeItem(int index) native;
8461
8462 String replaceItem(String item, int index) native;
8463
8464 var dartObjectLocalStorage;
8465
8466 String get typeName() native;
8467 }
8468
8469 class SVGStylable native "*SVGStylable" {
8470
8471 SVGAnimatedString className;
8472
8473 CSSStyleDeclaration style;
8474
8475 CSSValue getPresentationAttribute(String name) native;
8476
8477 var dartObjectLocalStorage;
8478
8479 String get typeName() native;
8480 }
8481
8482 class SVGStyleElement extends SVGElement native "*SVGStyleElement" {
8483
8484 String media;
8485
8486 String title;
8487
8488 String type;
8489
8490 // From SVGLangSpace
8491
8492 String xmllang;
8493
8494 String xmlspace;
8495 }
8496
8497 class SVGSwitchElement extends SVGElement native "*SVGSwitchElement" {
8498
8499 // From SVGTests
8500
8501 SVGStringList requiredExtensions;
8502
8503 SVGStringList requiredFeatures;
8504
8505 SVGStringList systemLanguage;
8506
8507 bool hasExtension(String extension) native;
8508
8509 // From SVGLangSpace
8510
8511 String xmllang;
8512
8513 String xmlspace;
8514
8515 // From SVGExternalResourcesRequired
8516
8517 SVGAnimatedBoolean externalResourcesRequired;
8518
8519 // From SVGStylable
8520
8521 SVGAnimatedString className;
8522
8523 CSSStyleDeclaration style;
8524
8525 CSSValue getPresentationAttribute(String name) native;
8526
8527 // From SVGTransformable
8528
8529 SVGAnimatedTransformList transform;
8530
8531 // From SVGLocatable
8532
8533 SVGElement farthestViewportElement;
8534
8535 SVGElement nearestViewportElement;
8536
8537 SVGRect getBBox() native;
8538
8539 SVGMatrix getCTM() native;
8540
8541 SVGMatrix getScreenCTM() native;
8542
8543 SVGMatrix getTransformToElement(SVGElement element) native;
8544 }
8545
8546 class SVGSymbolElement extends SVGElement native "*SVGSymbolElement" {
8547
8548 // From SVGLangSpace
8549
8550 String xmllang;
8551
8552 String xmlspace;
8553
8554 // From SVGExternalResourcesRequired
8555
8556 SVGAnimatedBoolean externalResourcesRequired;
8557
8558 // From SVGStylable
8559
8560 SVGAnimatedString className;
8561
8562 CSSStyleDeclaration style;
8563
8564 CSSValue getPresentationAttribute(String name) native;
8565
8566 // From SVGFitToViewBox
8567
8568 SVGAnimatedPreserveAspectRatio preserveAspectRatio;
8569
8570 SVGAnimatedRect viewBox;
8571 }
8572
8573 class SVGTRefElement extends SVGTextPositioningElement native "*SVGTRefElement" {
8574
8575 // From SVGURIReference
8576
8577 SVGAnimatedString href;
8578 }
8579
8580 class SVGTSpanElement extends SVGTextPositioningElement native "*SVGTSpanElement " {
8581 }
8582
8583 class SVGTests native "*SVGTests" {
8584
8585 SVGStringList requiredExtensions;
8586
8587 SVGStringList requiredFeatures;
8588
8589 SVGStringList systemLanguage;
8590
8591 bool hasExtension(String extension) native;
8592
8593 var dartObjectLocalStorage;
8594
8595 String get typeName() native;
8596 }
8597
8598 class SVGTextContentElement extends SVGElement native "SVGTextContentElement" {
8599
8600 static final int LENGTHADJUST_SPACING = 1;
8601
8602 static final int LENGTHADJUST_SPACINGANDGLYPHS = 2;
8603
8604 static final int LENGTHADJUST_UNKNOWN = 0;
8605
8606 SVGAnimatedEnumeration lengthAdjust;
8607
8608 SVGAnimatedLength textLength;
8609
8610 int getCharNumAtPosition(SVGPoint point) native;
8611
8612 num getComputedTextLength() native;
8613
8614 SVGPoint getEndPositionOfChar(int offset) native;
8615
8616 SVGRect getExtentOfChar(int offset) native;
8617
8618 int getNumberOfChars() native;
8619
8620 num getRotationOfChar(int offset) native;
8621
8622 SVGPoint getStartPositionOfChar(int offset) native;
8623
8624 num getSubStringLength(int offset, int length) native;
8625
8626 void selectSubString(int offset, int length) native;
8627
8628 // From SVGTests
8629
8630 SVGStringList requiredExtensions;
8631
8632 SVGStringList requiredFeatures;
8633
8634 SVGStringList systemLanguage;
8635
8636 bool hasExtension(String extension) native;
8637
8638 // From SVGLangSpace
8639
8640 String xmllang;
8641
8642 String xmlspace;
8643
8644 // From SVGExternalResourcesRequired
8645
8646 SVGAnimatedBoolean externalResourcesRequired;
8647
8648 // From SVGStylable
8649
8650 SVGAnimatedString className;
8651
8652 CSSStyleDeclaration style;
8653
8654 CSSValue getPresentationAttribute(String name) native;
8655 }
8656
8657 class SVGTextElement extends SVGTextPositioningElement native "*SVGTextElement" {
8658
8659 // From SVGTransformable
8660
8661 SVGAnimatedTransformList transform;
8662
8663 // From SVGLocatable
8664
8665 SVGElement farthestViewportElement;
8666
8667 SVGElement nearestViewportElement;
8668
8669 SVGRect getBBox() native;
8670
8671 SVGMatrix getCTM() native;
8672
8673 SVGMatrix getScreenCTM() native;
8674
8675 SVGMatrix getTransformToElement(SVGElement element) native;
8676 }
8677
8678 class SVGTextPathElement extends SVGTextContentElement native "*SVGTextPathEleme nt" {
8679
8680 static final int TEXTPATH_METHODTYPE_ALIGN = 1;
8681
8682 static final int TEXTPATH_METHODTYPE_STRETCH = 2;
8683
8684 static final int TEXTPATH_METHODTYPE_UNKNOWN = 0;
8685
8686 static final int TEXTPATH_SPACINGTYPE_AUTO = 1;
8687
8688 static final int TEXTPATH_SPACINGTYPE_EXACT = 2;
8689
8690 static final int TEXTPATH_SPACINGTYPE_UNKNOWN = 0;
8691
8692 SVGAnimatedEnumeration method;
8693
8694 SVGAnimatedEnumeration spacing;
8695
8696 SVGAnimatedLength startOffset;
8697
8698 // From SVGURIReference
8699
8700 SVGAnimatedString href;
8701 }
8702
8703 class SVGTextPositioningElement extends SVGTextContentElement native "SVGTextPos itioningElement" {
8704
8705 SVGAnimatedLengthList dx;
8706
8707 SVGAnimatedLengthList dy;
8708
8709 SVGAnimatedNumberList rotate;
8710
8711 SVGAnimatedLengthList x;
8712
8713 SVGAnimatedLengthList y;
8714 }
8715
8716 class SVGTitleElement extends SVGElement native "*SVGTitleElement" {
8717
8718 // From SVGLangSpace
8719
8720 String xmllang;
8721
8722 String xmlspace;
8723
8724 // From SVGStylable
8725
8726 SVGAnimatedString className;
8727
8728 CSSStyleDeclaration style;
8729
8730 CSSValue getPresentationAttribute(String name) native;
8731 }
8732
8733 class SVGTransform native "*SVGTransform" {
8734
8735 static final int SVG_TRANSFORM_MATRIX = 1;
8736
8737 static final int SVG_TRANSFORM_ROTATE = 4;
8738
8739 static final int SVG_TRANSFORM_SCALE = 3;
8740
8741 static final int SVG_TRANSFORM_SKEWX = 5;
8742
8743 static final int SVG_TRANSFORM_SKEWY = 6;
8744
8745 static final int SVG_TRANSFORM_TRANSLATE = 2;
8746
8747 static final int SVG_TRANSFORM_UNKNOWN = 0;
8748
8749 num angle;
8750
8751 SVGMatrix matrix;
8752
8753 int type;
8754
8755 void setMatrix(SVGMatrix matrix) native;
8756
8757 void setRotate(num angle, num cx, num cy) native;
8758
8759 void setScale(num sx, num sy) native;
8760
8761 void setSkewX(num angle) native;
8762
8763 void setSkewY(num angle) native;
8764
8765 void setTranslate(num tx, num ty) native;
8766
8767 var dartObjectLocalStorage;
8768
8769 String get typeName() native;
8770 }
8771
8772 class SVGTransformList native "*SVGTransformList" {
8773
8774 int numberOfItems;
8775
8776 SVGTransform appendItem(SVGTransform item) native;
8777
8778 void clear() native;
8779
8780 SVGTransform consolidate() native;
8781
8782 SVGTransform createSVGTransformFromMatrix(SVGMatrix matrix) native;
8783
8784 SVGTransform getItem(int index) native;
8785
8786 SVGTransform initialize(SVGTransform item) native;
8787
8788 SVGTransform insertItemBefore(SVGTransform item, int index) native;
8789
8790 SVGTransform removeItem(int index) native;
8791
8792 SVGTransform replaceItem(SVGTransform item, int index) native;
8793
8794 var dartObjectLocalStorage;
8795
8796 String get typeName() native;
8797 }
8798
8799 class SVGTransformable extends SVGLocatable native "*SVGTransformable" {
8800
8801 SVGAnimatedTransformList transform;
8802 }
8803
8804 class SVGURIReference native "*SVGURIReference" {
8805
8806 SVGAnimatedString href;
8807
8808 var dartObjectLocalStorage;
8809
8810 String get typeName() native;
8811 }
8812
8813 class SVGUnitTypes native "*SVGUnitTypes" {
8814
8815 static final int SVG_UNIT_TYPE_OBJECTBOUNDINGBOX = 2;
8816
8817 static final int SVG_UNIT_TYPE_UNKNOWN = 0;
8818
8819 static final int SVG_UNIT_TYPE_USERSPACEONUSE = 1;
8820
8821 var dartObjectLocalStorage;
8822
8823 String get typeName() native;
8824 }
8825
8826 class SVGUseElement extends SVGElement native "*SVGUseElement" {
8827
8828 SVGElementInstance animatedInstanceRoot;
8829
8830 SVGAnimatedLength height;
8831
8832 SVGElementInstance instanceRoot;
8833
8834 SVGAnimatedLength width;
8835
8836 SVGAnimatedLength x;
8837
8838 SVGAnimatedLength y;
8839
8840 // From SVGURIReference
8841
8842 SVGAnimatedString href;
8843
8844 // From SVGTests
8845
8846 SVGStringList requiredExtensions;
8847
8848 SVGStringList requiredFeatures;
8849
8850 SVGStringList systemLanguage;
8851
8852 bool hasExtension(String extension) native;
8853
8854 // From SVGLangSpace
8855
8856 String xmllang;
8857
8858 String xmlspace;
8859
8860 // From SVGExternalResourcesRequired
8861
8862 SVGAnimatedBoolean externalResourcesRequired;
8863
8864 // From SVGStylable
8865
8866 SVGAnimatedString className;
8867
8868 CSSStyleDeclaration style;
8869
8870 CSSValue getPresentationAttribute(String name) native;
8871
8872 // From SVGTransformable
8873
8874 SVGAnimatedTransformList transform;
8875
8876 // From SVGLocatable
8877
8878 SVGElement farthestViewportElement;
8879
8880 SVGElement nearestViewportElement;
8881
8882 SVGRect getBBox() native;
8883
8884 SVGMatrix getCTM() native;
8885
8886 SVGMatrix getScreenCTM() native;
8887
8888 SVGMatrix getTransformToElement(SVGElement element) native;
8889 }
8890
8891 class SVGVKernElement extends SVGElement native "*SVGVKernElement" {
8892 }
8893
8894 class SVGViewElement extends SVGElement native "*SVGViewElement" {
8895
8896 SVGStringList viewTarget;
8897
8898 // From SVGExternalResourcesRequired
8899
8900 SVGAnimatedBoolean externalResourcesRequired;
8901
8902 // From SVGFitToViewBox
8903
8904 SVGAnimatedPreserveAspectRatio preserveAspectRatio;
8905
8906 SVGAnimatedRect viewBox;
8907
8908 // From SVGZoomAndPan
8909
8910 int zoomAndPan;
8911 }
8912
8913 class SVGViewSpec extends SVGZoomAndPan native "*SVGViewSpec" {
8914
8915 String preserveAspectRatioString;
8916
8917 SVGTransformList transform;
8918
8919 String transformString;
8920
8921 String viewBoxString;
8922
8923 SVGElement viewTarget;
8924
8925 String viewTargetString;
8926
8927 // From SVGFitToViewBox
8928
8929 SVGAnimatedPreserveAspectRatio preserveAspectRatio;
8930
8931 SVGAnimatedRect viewBox;
8932 }
8933
8934 class SVGZoomAndPan native "*SVGZoomAndPan" {
8935
8936 static final int SVG_ZOOMANDPAN_DISABLE = 1;
8937
8938 static final int SVG_ZOOMANDPAN_MAGNIFY = 2;
8939
8940 static final int SVG_ZOOMANDPAN_UNKNOWN = 0;
8941
8942 int zoomAndPan;
8943
8944 var dartObjectLocalStorage;
8945
8946 String get typeName() native;
8947 }
8948
8949 class SVGZoomEvent extends UIEvent native "*SVGZoomEvent" {
8950
8951 num newScale;
8952
8953 SVGPoint newTranslate;
8954
8955 num previousScale;
8956
8957 SVGPoint previousTranslate;
8958
8959 SVGRect zoomRectScreen;
8960 }
8961
8962 class Screen native "*Screen" {
8963
8964 int availHeight;
8965
8966 int availLeft;
8967
8968 int availTop;
8969
8970 int availWidth;
8971
8972 int colorDepth;
8973
8974 int height;
8975
8976 int pixelDepth;
8977
8978 int width;
8979
8980 var dartObjectLocalStorage;
8981
8982 String get typeName() native;
8983 }
8984
8985 class ScriptProfile native "*ScriptProfile" {
8986
8987 ScriptProfileNode head;
8988
8989 String title;
8990
8991 int uid;
8992
8993 var dartObjectLocalStorage;
8994
8995 String get typeName() native;
8996 }
8997
8998 class ScriptProfileNode native "*ScriptProfileNode" {
8999
9000 int callUID;
9001
9002 List children;
9003
9004 String functionName;
9005
9006 int lineNumber;
9007
9008 int numberOfCalls;
9009
9010 num selfTime;
9011
9012 num totalTime;
9013
9014 String url;
9015
9016 bool visible;
9017
9018 var dartObjectLocalStorage;
9019
9020 String get typeName() native;
9021 }
9022
9023 class SharedWorker extends AbstractWorker native "*SharedWorker" {
9024
9025 MessagePort port;
9026 }
9027
9028 class SharedWorkercontext extends WorkerContext native "*SharedWorkercontext" {
9029
9030 String name;
9031
9032 EventListener onconnect;
9033 }
9034
9035 class SpeechInputEvent extends Event native "*SpeechInputEvent" {
9036
9037 SpeechInputResultList results;
9038 }
9039
9040 class SpeechInputResult native "*SpeechInputResult" {
9041
9042 num confidence;
9043
9044 String utterance;
9045
9046 var dartObjectLocalStorage;
9047
9048 String get typeName() native;
9049 }
9050
9051 class SpeechInputResultList native "*SpeechInputResultList" {
9052
9053 int length;
9054
9055 SpeechInputResult item(int index) native;
9056
9057 var dartObjectLocalStorage;
9058
9059 String get typeName() native;
9060 }
9061
9062 class Storage native "*Storage" {
9063
9064 int length;
9065
9066 void clear() native;
9067
9068 String getItem(String key) native;
9069
9070 String key(int index) native;
9071
9072 void removeItem(String key) native;
9073
9074 void setItem(String key, String data) native;
9075
9076 var dartObjectLocalStorage;
9077
9078 String get typeName() native;
9079 }
9080
9081 class StorageEvent extends Event native "*StorageEvent" {
9082
9083 String key;
9084
9085 String newValue;
9086
9087 String oldValue;
9088
9089 Storage storageArea;
9090
9091 String url;
9092
9093 void initStorageEvent(String typeArg, bool canBubbleArg, bool cancelableArg, S tring keyArg, String oldValueArg, String newValueArg, String urlArg, Storage sto rageAreaArg) native;
9094 }
9095
9096 class StorageInfo native "*StorageInfo" {
9097
9098 static final int PERSISTENT = 1;
9099
9100 static final int TEMPORARY = 0;
9101
9102 void queryUsageAndQuota(int storageType, [StorageInfoUsageCallback usageCallba ck = null, StorageInfoErrorCallback errorCallback = null]) native;
9103
9104 void requestQuota(int storageType, int newQuotaInBytes, [StorageInfoQuotaCallb ack quotaCallback = null, StorageInfoErrorCallback errorCallback = null]) native ;
9105
9106 var dartObjectLocalStorage;
9107
9108 String get typeName() native;
9109 }
9110
9111 class StyleMedia native "*StyleMedia" {
9112
9113 String type;
9114
9115 bool matchMedium(String mediaquery) native;
9116
9117 var dartObjectLocalStorage;
9118
9119 String get typeName() native;
9120 }
9121
9122 class StyleSheet native "StyleSheet" {
9123
9124 bool disabled;
9125
9126 String href;
9127
9128 MediaList media;
9129
9130 Node ownerNode;
9131
9132 StyleSheet parentStyleSheet;
9133
9134 String title;
9135
9136 String type;
9137
9138 var dartObjectLocalStorage;
9139
9140 String get typeName() native;
9141 }
9142
9143 class StyleSheetList native "*StyleSheetList" {
9144
9145 int length;
9146
9147 StyleSheet operator[](int index) native;
9148
9149 void operator[]=(int index, StyleSheet value) {
9150 throw new UnsupportedOperationException("Cannot assign element of immutable List.");
9151 }
9152
9153 StyleSheet item(int index) native;
9154
9155 var dartObjectLocalStorage;
9156
9157 String get typeName() native;
9158 }
9159
9160 class Text extends CharacterData native "Text" {
9161
9162 String wholeText;
9163
9164 Text replaceWholeText(String content) native;
9165
9166 Text splitText(int offset) native;
9167 }
9168
9169 class TextEvent extends UIEvent native "*TextEvent" {
9170
9171 String data;
9172
9173 void initTextEvent(String typeArg, bool canBubbleArg, bool cancelableArg, DOMW indow viewArg, String dataArg) native;
9174 }
9175
9176 class TextMetrics native "*TextMetrics" {
9177
9178 num width;
9179
9180 var dartObjectLocalStorage;
9181
9182 String get typeName() native;
9183 }
9184
9185 class TextTrack native "*TextTrack" {
9186
9187 static final int Disabled = 0;
9188
9189 static final int Error = 3;
9190
9191 static final int Hidden = 1;
9192
9193 static final int Loaded = 2;
9194
9195 static final int Loading = 1;
9196
9197 static final int None = 0;
9198
9199 static final int Showing = 2;
9200
9201 TextTrackCueList activeCues;
9202
9203 TextTrackCueList cues;
9204
9205 String kind;
9206
9207 String label;
9208
9209 String language;
9210
9211 int mode;
9212
9213 int readyState;
9214
9215 void addCue(TextTrackCue cue) native;
9216
9217 void removeCue(TextTrackCue cue) native;
9218
9219 var dartObjectLocalStorage;
9220
9221 String get typeName() native;
9222 }
9223
9224 class TextTrackCue native "*TextTrackCue" {
9225
9226 String alignment;
9227
9228 String direction;
9229
9230 num endTime;
9231
9232 String id;
9233
9234 int linePosition;
9235
9236 bool pauseOnExit;
9237
9238 int size;
9239
9240 bool snapToLines;
9241
9242 num startTime;
9243
9244 int textPosition;
9245
9246 TextTrack track;
9247
9248 DocumentFragment getCueAsHTML() native;
9249
9250 String getCueAsSource() native;
9251
9252 var dartObjectLocalStorage;
9253
9254 String get typeName() native;
9255 }
9256
9257 class TextTrackCueList native "*TextTrackCueList" {
9258
9259 int length;
9260
9261 TextTrackCue getCueById(String id) native;
9262
9263 TextTrackCue item(int index) native;
9264
9265 var dartObjectLocalStorage;
9266
9267 String get typeName() native;
9268 }
9269
9270 class TimeRanges native "*TimeRanges" {
9271
9272 int length;
9273
9274 num end(int index) native;
9275
9276 num start(int index) native;
9277
9278 var dartObjectLocalStorage;
9279
9280 String get typeName() native;
9281 }
9282
9283 class Touch native "*Touch" {
9284
9285 int clientX;
9286
9287 int clientY;
9288
9289 int identifier;
9290
9291 int pageX;
9292
9293 int pageY;
9294
9295 int screenX;
9296
9297 int screenY;
9298
9299 EventTarget target;
9300
9301 num webkitForce;
9302
9303 int webkitRadiusX;
9304
9305 int webkitRadiusY;
9306
9307 num webkitRotationAngle;
9308
9309 var dartObjectLocalStorage;
9310
9311 String get typeName() native;
9312 }
9313
9314 class TouchEvent extends UIEvent native "*TouchEvent" {
9315
9316 bool altKey;
9317
9318 TouchList changedTouches;
9319
9320 bool ctrlKey;
9321
9322 bool metaKey;
9323
9324 bool shiftKey;
9325
9326 TouchList targetTouches;
9327
9328 TouchList touches;
9329
9330 void initTouchEvent(TouchList touches, TouchList targetTouches, TouchList chan gedTouches, String type, DOMWindow view, int screenX, int screenY, int clientX, int clientY, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey) native;
9331 }
9332
9333 class TouchList native "*TouchList" {
9334
9335 int length;
9336
9337 Touch operator[](int index) native;
9338
9339 void operator[]=(int index, Touch value) {
9340 throw new UnsupportedOperationException("Cannot assign element of immutable List.");
9341 }
9342
9343 Touch item(int index) native;
9344
9345 var dartObjectLocalStorage;
9346
9347 String get typeName() native;
9348 }
9349
9350 class TreeWalker native "*TreeWalker" {
9351
9352 Node currentNode;
9353
9354 bool expandEntityReferences;
9355
9356 NodeFilter filter;
9357
9358 Node root;
9359
9360 int whatToShow;
9361
9362 Node firstChild() native;
9363
9364 Node lastChild() native;
9365
9366 Node nextNode() native;
9367
9368 Node nextSibling() native;
9369
9370 Node parentNode() native;
9371
9372 Node previousNode() native;
9373
9374 Node previousSibling() native;
9375
9376 var dartObjectLocalStorage;
9377
9378 String get typeName() native;
9379 }
9380
9381 class UIEvent extends Event native "UIEvent" {
9382
9383 int charCode;
9384
9385 int detail;
9386
9387 int keyCode;
9388
9389 int layerX;
9390
9391 int layerY;
9392
9393 int pageX;
9394
9395 int pageY;
9396
9397 DOMWindow view;
9398
9399 int which;
9400
9401 void initUIEvent(String type, bool canBubble, bool cancelable, DOMWindow view, int detail) native;
9402 }
9403
9404 class Uint16Array extends ArrayBufferView implements List<int> native "Uint16Arr ay" {
9405
9406 factory Uint16Array(int length) => _construct(length);
9407
9408 factory Uint16Array.fromList(List<int> list) => _construct(list);
9409
9410 factory Uint16Array.fromBuffer(ArrayBuffer buffer) => _construct(buffer);
9411
9412 static _construct(arg) native 'return new Uint16Array(arg);';
9413
9414 static final int BYTES_PER_ELEMENT = 2;
9415
9416 int length;
9417
9418 int operator[](int index) native;
9419
9420 void operator[]=(int index, int value) native;
9421
9422 Uint16Array subarray(int start, [int end = null]) native;
9423 }
9424
9425 class Uint32Array extends ArrayBufferView implements List<int> native "Uint32Arr ay" {
9426
9427 factory Uint32Array(int length) => _construct(length);
9428
9429 factory Uint32Array.fromList(List<int> list) => _construct(list);
9430
9431 factory Uint32Array.fromBuffer(ArrayBuffer buffer) => _construct(buffer);
9432
9433 static _construct(arg) native 'return new Uint32Array(arg);';
9434
9435 static final int BYTES_PER_ELEMENT = 4;
9436
9437 int length;
9438
9439 int operator[](int index) native;
9440
9441 void operator[]=(int index, int value) native;
9442
9443 Uint32Array subarray(int start, [int end = null]) native;
9444 }
9445
9446 class Uint8Array extends ArrayBufferView implements List<int> native "Uint8Array " {
9447
9448 factory Uint8Array(int length) => _construct(length);
9449
9450 factory Uint8Array.fromList(List<int> list) => _construct(list);
9451
9452 factory Uint8Array.fromBuffer(ArrayBuffer buffer) => _construct(buffer);
9453
9454 static _construct(arg) native 'return new Uint8Array(arg);';
9455
9456 static final int BYTES_PER_ELEMENT = 1;
9457
9458 int length;
9459
9460 int operator[](int index) native;
9461
9462 void operator[]=(int index, int value) native;
9463
9464 Uint8Array subarray(int start, [int end = null]) native;
9465 }
9466
9467 class ValidityState native "*ValidityState" {
9468
9469 bool customError;
9470
9471 bool patternMismatch;
9472
9473 bool rangeOverflow;
9474
9475 bool rangeUnderflow;
9476
9477 bool stepMismatch;
9478
9479 bool tooLong;
9480
9481 bool typeMismatch;
9482
9483 bool valid;
9484
9485 bool valueMissing;
9486
9487 var dartObjectLocalStorage;
9488
9489 String get typeName() native;
9490 }
9491
9492 class WaveShaperNode extends AudioNode native "*WaveShaperNode" {
9493
9494 Float32Array curve;
9495 }
9496
9497 class WebGLActiveInfo native "*WebGLActiveInfo" {
9498
9499 String name;
9500
9501 int size;
9502
9503 int type;
9504
9505 var dartObjectLocalStorage;
9506
9507 String get typeName() native;
9508 }
9509
9510 class WebGLBuffer native "*WebGLBuffer" {
9511
9512 var dartObjectLocalStorage;
9513
9514 String get typeName() native;
9515 }
9516
9517 class WebGLContextAttributes native "*WebGLContextAttributes" {
9518
9519 bool alpha;
9520
9521 bool antialias;
9522
9523 bool depth;
9524
9525 bool premultipliedAlpha;
9526
9527 bool preserveDrawingBuffer;
9528
9529 bool stencil;
9530
9531 var dartObjectLocalStorage;
9532
9533 String get typeName() native;
9534 }
9535
9536 class WebGLContextEvent extends Event native "*WebGLContextEvent" {
9537
9538 String statusMessage;
9539 }
9540
9541 class WebGLDebugRendererInfo native "*WebGLDebugRendererInfo" {
9542
9543 static final int UNMASKED_RENDERER_WEBGL = 0x9246;
9544
9545 static final int UNMASKED_VENDOR_WEBGL = 0x9245;
9546
9547 var dartObjectLocalStorage;
9548
9549 String get typeName() native;
9550 }
9551
9552 class WebGLDebugShaders native "*WebGLDebugShaders" {
9553
9554 String getTranslatedShaderSource(WebGLShader shader) native;
9555
9556 var dartObjectLocalStorage;
9557
9558 String get typeName() native;
9559 }
9560
9561 class WebGLFramebuffer native "*WebGLFramebuffer" {
9562
9563 var dartObjectLocalStorage;
9564
9565 String get typeName() native;
9566 }
9567
9568 class WebGLProgram native "*WebGLProgram" {
9569
9570 var dartObjectLocalStorage;
9571
9572 String get typeName() native;
9573 }
9574
9575 class WebGLRenderbuffer native "*WebGLRenderbuffer" {
9576
9577 var dartObjectLocalStorage;
9578
9579 String get typeName() native;
9580 }
9581
9582 class WebGLRenderingContext extends CanvasRenderingContext native "*WebGLRenderi ngContext" {
9583
9584 static final int ACTIVE_ATTRIBUTES = 0x8B89;
9585
9586 static final int ACTIVE_TEXTURE = 0x84E0;
9587
9588 static final int ACTIVE_UNIFORMS = 0x8B86;
9589
9590 static final int ALIASED_LINE_WIDTH_RANGE = 0x846E;
9591
9592 static final int ALIASED_POINT_SIZE_RANGE = 0x846D;
9593
9594 static final int ALPHA = 0x1906;
9595
9596 static final int ALPHA_BITS = 0x0D55;
9597
9598 static final int ALWAYS = 0x0207;
9599
9600 static final int ARRAY_BUFFER = 0x8892;
9601
9602 static final int ARRAY_BUFFER_BINDING = 0x8894;
9603
9604 static final int ATTACHED_SHADERS = 0x8B85;
9605
9606 static final int BACK = 0x0405;
9607
9608 static final int BLEND = 0x0BE2;
9609
9610 static final int BLEND_COLOR = 0x8005;
9611
9612 static final int BLEND_DST_ALPHA = 0x80CA;
9613
9614 static final int BLEND_DST_RGB = 0x80C8;
9615
9616 static final int BLEND_EQUATION = 0x8009;
9617
9618 static final int BLEND_EQUATION_ALPHA = 0x883D;
9619
9620 static final int BLEND_EQUATION_RGB = 0x8009;
9621
9622 static final int BLEND_SRC_ALPHA = 0x80CB;
9623
9624 static final int BLEND_SRC_RGB = 0x80C9;
9625
9626 static final int BLUE_BITS = 0x0D54;
9627
9628 static final int BOOL = 0x8B56;
9629
9630 static final int BOOL_VEC2 = 0x8B57;
9631
9632 static final int BOOL_VEC3 = 0x8B58;
9633
9634 static final int BOOL_VEC4 = 0x8B59;
9635
9636 static final int BROWSER_DEFAULT_WEBGL = 0x9244;
9637
9638 static final int BUFFER_SIZE = 0x8764;
9639
9640 static final int BUFFER_USAGE = 0x8765;
9641
9642 static final int BYTE = 0x1400;
9643
9644 static final int CCW = 0x0901;
9645
9646 static final int CLAMP_TO_EDGE = 0x812F;
9647
9648 static final int COLOR_ATTACHMENT0 = 0x8CE0;
9649
9650 static final int COLOR_BUFFER_BIT = 0x00004000;
9651
9652 static final int COLOR_CLEAR_VALUE = 0x0C22;
9653
9654 static final int COLOR_WRITEMASK = 0x0C23;
9655
9656 static final int COMPILE_STATUS = 0x8B81;
9657
9658 static final int COMPRESSED_TEXTURE_FORMATS = 0x86A3;
9659
9660 static final int CONSTANT_ALPHA = 0x8003;
9661
9662 static final int CONSTANT_COLOR = 0x8001;
9663
9664 static final int CONTEXT_LOST_WEBGL = 0x9242;
9665
9666 static final int CULL_FACE = 0x0B44;
9667
9668 static final int CULL_FACE_MODE = 0x0B45;
9669
9670 static final int CURRENT_PROGRAM = 0x8B8D;
9671
9672 static final int CURRENT_VERTEX_ATTRIB = 0x8626;
9673
9674 static final int CW = 0x0900;
9675
9676 static final int DECR = 0x1E03;
9677
9678 static final int DECR_WRAP = 0x8508;
9679
9680 static final int DELETE_STATUS = 0x8B80;
9681
9682 static final int DEPTH_ATTACHMENT = 0x8D00;
9683
9684 static final int DEPTH_BITS = 0x0D56;
9685
9686 static final int DEPTH_BUFFER_BIT = 0x00000100;
9687
9688 static final int DEPTH_CLEAR_VALUE = 0x0B73;
9689
9690 static final int DEPTH_COMPONENT = 0x1902;
9691
9692 static final int DEPTH_COMPONENT16 = 0x81A5;
9693
9694 static final int DEPTH_FUNC = 0x0B74;
9695
9696 static final int DEPTH_RANGE = 0x0B70;
9697
9698 static final int DEPTH_STENCIL = 0x84F9;
9699
9700 static final int DEPTH_STENCIL_ATTACHMENT = 0x821A;
9701
9702 static final int DEPTH_TEST = 0x0B71;
9703
9704 static final int DEPTH_WRITEMASK = 0x0B72;
9705
9706 static final int DITHER = 0x0BD0;
9707
9708 static final int DONT_CARE = 0x1100;
9709
9710 static final int DST_ALPHA = 0x0304;
9711
9712 static final int DST_COLOR = 0x0306;
9713
9714 static final int DYNAMIC_DRAW = 0x88E8;
9715
9716 static final int ELEMENT_ARRAY_BUFFER = 0x8893;
9717
9718 static final int ELEMENT_ARRAY_BUFFER_BINDING = 0x8895;
9719
9720 static final int EQUAL = 0x0202;
9721
9722 static final int FASTEST = 0x1101;
9723
9724 static final int FLOAT = 0x1406;
9725
9726 static final int FLOAT_MAT2 = 0x8B5A;
9727
9728 static final int FLOAT_MAT3 = 0x8B5B;
9729
9730 static final int FLOAT_MAT4 = 0x8B5C;
9731
9732 static final int FLOAT_VEC2 = 0x8B50;
9733
9734 static final int FLOAT_VEC3 = 0x8B51;
9735
9736 static final int FLOAT_VEC4 = 0x8B52;
9737
9738 static final int FRAGMENT_SHADER = 0x8B30;
9739
9740 static final int FRAMEBUFFER = 0x8D40;
9741
9742 static final int FRAMEBUFFER_ATTACHMENT_OBJECT_NAME = 0x8CD1;
9743
9744 static final int FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE = 0x8CD0;
9745
9746 static final int FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE = 0x8CD3;
9747
9748 static final int FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL = 0x8CD2;
9749
9750 static final int FRAMEBUFFER_BINDING = 0x8CA6;
9751
9752 static final int FRAMEBUFFER_COMPLETE = 0x8CD5;
9753
9754 static final int FRAMEBUFFER_INCOMPLETE_ATTACHMENT = 0x8CD6;
9755
9756 static final int FRAMEBUFFER_INCOMPLETE_DIMENSIONS = 0x8CD9;
9757
9758 static final int FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT = 0x8CD7;
9759
9760 static final int FRAMEBUFFER_UNSUPPORTED = 0x8CDD;
9761
9762 static final int FRONT = 0x0404;
9763
9764 static final int FRONT_AND_BACK = 0x0408;
9765
9766 static final int FRONT_FACE = 0x0B46;
9767
9768 static final int FUNC_ADD = 0x8006;
9769
9770 static final int FUNC_REVERSE_SUBTRACT = 0x800B;
9771
9772 static final int FUNC_SUBTRACT = 0x800A;
9773
9774 static final int GENERATE_MIPMAP_HINT = 0x8192;
9775
9776 static final int GEQUAL = 0x0206;
9777
9778 static final int GREATER = 0x0204;
9779
9780 static final int GREEN_BITS = 0x0D53;
9781
9782 static final int HIGH_FLOAT = 0x8DF2;
9783
9784 static final int HIGH_INT = 0x8DF5;
9785
9786 static final int INCR = 0x1E02;
9787
9788 static final int INCR_WRAP = 0x8507;
9789
9790 static final int INT = 0x1404;
9791
9792 static final int INT_VEC2 = 0x8B53;
9793
9794 static final int INT_VEC3 = 0x8B54;
9795
9796 static final int INT_VEC4 = 0x8B55;
9797
9798 static final int INVALID_ENUM = 0x0500;
9799
9800 static final int INVALID_FRAMEBUFFER_OPERATION = 0x0506;
9801
9802 static final int INVALID_OPERATION = 0x0502;
9803
9804 static final int INVALID_VALUE = 0x0501;
9805
9806 static final int INVERT = 0x150A;
9807
9808 static final int KEEP = 0x1E00;
9809
9810 static final int LEQUAL = 0x0203;
9811
9812 static final int LESS = 0x0201;
9813
9814 static final int LINEAR = 0x2601;
9815
9816 static final int LINEAR_MIPMAP_LINEAR = 0x2703;
9817
9818 static final int LINEAR_MIPMAP_NEAREST = 0x2701;
9819
9820 static final int LINES = 0x0001;
9821
9822 static final int LINE_LOOP = 0x0002;
9823
9824 static final int LINE_STRIP = 0x0003;
9825
9826 static final int LINE_WIDTH = 0x0B21;
9827
9828 static final int LINK_STATUS = 0x8B82;
9829
9830 static final int LOW_FLOAT = 0x8DF0;
9831
9832 static final int LOW_INT = 0x8DF3;
9833
9834 static final int LUMINANCE = 0x1909;
9835
9836 static final int LUMINANCE_ALPHA = 0x190A;
9837
9838 static final int MAX_COMBINED_TEXTURE_IMAGE_UNITS = 0x8B4D;
9839
9840 static final int MAX_CUBE_MAP_TEXTURE_SIZE = 0x851C;
9841
9842 static final int MAX_FRAGMENT_UNIFORM_VECTORS = 0x8DFD;
9843
9844 static final int MAX_RENDERBUFFER_SIZE = 0x84E8;
9845
9846 static final int MAX_TEXTURE_IMAGE_UNITS = 0x8872;
9847
9848 static final int MAX_TEXTURE_SIZE = 0x0D33;
9849
9850 static final int MAX_VARYING_VECTORS = 0x8DFC;
9851
9852 static final int MAX_VERTEX_ATTRIBS = 0x8869;
9853
9854 static final int MAX_VERTEX_TEXTURE_IMAGE_UNITS = 0x8B4C;
9855
9856 static final int MAX_VERTEX_UNIFORM_VECTORS = 0x8DFB;
9857
9858 static final int MAX_VIEWPORT_DIMS = 0x0D3A;
9859
9860 static final int MEDIUM_FLOAT = 0x8DF1;
9861
9862 static final int MEDIUM_INT = 0x8DF4;
9863
9864 static final int MIRRORED_REPEAT = 0x8370;
9865
9866 static final int NEAREST = 0x2600;
9867
9868 static final int NEAREST_MIPMAP_LINEAR = 0x2702;
9869
9870 static final int NEAREST_MIPMAP_NEAREST = 0x2700;
9871
9872 static final int NEVER = 0x0200;
9873
9874 static final int NICEST = 0x1102;
9875
9876 static final int NONE = 0;
9877
9878 static final int NOTEQUAL = 0x0205;
9879
9880 static final int NO_ERROR = 0;
9881
9882 static final int NUM_COMPRESSED_TEXTURE_FORMATS = 0x86A2;
9883
9884 static final int ONE = 1;
9885
9886 static final int ONE_MINUS_CONSTANT_ALPHA = 0x8004;
9887
9888 static final int ONE_MINUS_CONSTANT_COLOR = 0x8002;
9889
9890 static final int ONE_MINUS_DST_ALPHA = 0x0305;
9891
9892 static final int ONE_MINUS_DST_COLOR = 0x0307;
9893
9894 static final int ONE_MINUS_SRC_ALPHA = 0x0303;
9895
9896 static final int ONE_MINUS_SRC_COLOR = 0x0301;
9897
9898 static final int OUT_OF_MEMORY = 0x0505;
9899
9900 static final int PACK_ALIGNMENT = 0x0D05;
9901
9902 static final int POINTS = 0x0000;
9903
9904 static final int POLYGON_OFFSET_FACTOR = 0x8038;
9905
9906 static final int POLYGON_OFFSET_FILL = 0x8037;
9907
9908 static final int POLYGON_OFFSET_UNITS = 0x2A00;
9909
9910 static final int RED_BITS = 0x0D52;
9911
9912 static final int RENDERBUFFER = 0x8D41;
9913
9914 static final int RENDERBUFFER_ALPHA_SIZE = 0x8D53;
9915
9916 static final int RENDERBUFFER_BINDING = 0x8CA7;
9917
9918 static final int RENDERBUFFER_BLUE_SIZE = 0x8D52;
9919
9920 static final int RENDERBUFFER_DEPTH_SIZE = 0x8D54;
9921
9922 static final int RENDERBUFFER_GREEN_SIZE = 0x8D51;
9923
9924 static final int RENDERBUFFER_HEIGHT = 0x8D43;
9925
9926 static final int RENDERBUFFER_INTERNAL_FORMAT = 0x8D44;
9927
9928 static final int RENDERBUFFER_RED_SIZE = 0x8D50;
9929
9930 static final int RENDERBUFFER_STENCIL_SIZE = 0x8D55;
9931
9932 static final int RENDERBUFFER_WIDTH = 0x8D42;
9933
9934 static final int RENDERER = 0x1F01;
9935
9936 static final int REPEAT = 0x2901;
9937
9938 static final int REPLACE = 0x1E01;
9939
9940 static final int RGB = 0x1907;
9941
9942 static final int RGB565 = 0x8D62;
9943
9944 static final int RGB5_A1 = 0x8057;
9945
9946 static final int RGBA = 0x1908;
9947
9948 static final int RGBA4 = 0x8056;
9949
9950 static final int SAMPLER_2D = 0x8B5E;
9951
9952 static final int SAMPLER_CUBE = 0x8B60;
9953
9954 static final int SAMPLES = 0x80A9;
9955
9956 static final int SAMPLE_ALPHA_TO_COVERAGE = 0x809E;
9957
9958 static final int SAMPLE_BUFFERS = 0x80A8;
9959
9960 static final int SAMPLE_COVERAGE = 0x80A0;
9961
9962 static final int SAMPLE_COVERAGE_INVERT = 0x80AB;
9963
9964 static final int SAMPLE_COVERAGE_VALUE = 0x80AA;
9965
9966 static final int SCISSOR_BOX = 0x0C10;
9967
9968 static final int SCISSOR_TEST = 0x0C11;
9969
9970 static final int SHADER_COMPILER = 0x8DFA;
9971
9972 static final int SHADER_TYPE = 0x8B4F;
9973
9974 static final int SHADING_LANGUAGE_VERSION = 0x8B8C;
9975
9976 static final int SHORT = 0x1402;
9977
9978 static final int SRC_ALPHA = 0x0302;
9979
9980 static final int SRC_ALPHA_SATURATE = 0x0308;
9981
9982 static final int SRC_COLOR = 0x0300;
9983
9984 static final int STATIC_DRAW = 0x88E4;
9985
9986 static final int STENCIL_ATTACHMENT = 0x8D20;
9987
9988 static final int STENCIL_BACK_FAIL = 0x8801;
9989
9990 static final int STENCIL_BACK_FUNC = 0x8800;
9991
9992 static final int STENCIL_BACK_PASS_DEPTH_FAIL = 0x8802;
9993
9994 static final int STENCIL_BACK_PASS_DEPTH_PASS = 0x8803;
9995
9996 static final int STENCIL_BACK_REF = 0x8CA3;
9997
9998 static final int STENCIL_BACK_VALUE_MASK = 0x8CA4;
9999
10000 static final int STENCIL_BACK_WRITEMASK = 0x8CA5;
10001
10002 static final int STENCIL_BITS = 0x0D57;
10003
10004 static final int STENCIL_BUFFER_BIT = 0x00000400;
10005
10006 static final int STENCIL_CLEAR_VALUE = 0x0B91;
10007
10008 static final int STENCIL_FAIL = 0x0B94;
10009
10010 static final int STENCIL_FUNC = 0x0B92;
10011
10012 static final int STENCIL_INDEX = 0x1901;
10013
10014 static final int STENCIL_INDEX8 = 0x8D48;
10015
10016 static final int STENCIL_PASS_DEPTH_FAIL = 0x0B95;
10017
10018 static final int STENCIL_PASS_DEPTH_PASS = 0x0B96;
10019
10020 static final int STENCIL_REF = 0x0B97;
10021
10022 static final int STENCIL_TEST = 0x0B90;
10023
10024 static final int STENCIL_VALUE_MASK = 0x0B93;
10025
10026 static final int STENCIL_WRITEMASK = 0x0B98;
10027
10028 static final int STREAM_DRAW = 0x88E0;
10029
10030 static final int SUBPIXEL_BITS = 0x0D50;
10031
10032 static final int TEXTURE = 0x1702;
10033
10034 static final int TEXTURE0 = 0x84C0;
10035
10036 static final int TEXTURE1 = 0x84C1;
10037
10038 static final int TEXTURE10 = 0x84CA;
10039
10040 static final int TEXTURE11 = 0x84CB;
10041
10042 static final int TEXTURE12 = 0x84CC;
10043
10044 static final int TEXTURE13 = 0x84CD;
10045
10046 static final int TEXTURE14 = 0x84CE;
10047
10048 static final int TEXTURE15 = 0x84CF;
10049
10050 static final int TEXTURE16 = 0x84D0;
10051
10052 static final int TEXTURE17 = 0x84D1;
10053
10054 static final int TEXTURE18 = 0x84D2;
10055
10056 static final int TEXTURE19 = 0x84D3;
10057
10058 static final int TEXTURE2 = 0x84C2;
10059
10060 static final int TEXTURE20 = 0x84D4;
10061
10062 static final int TEXTURE21 = 0x84D5;
10063
10064 static final int TEXTURE22 = 0x84D6;
10065
10066 static final int TEXTURE23 = 0x84D7;
10067
10068 static final int TEXTURE24 = 0x84D8;
10069
10070 static final int TEXTURE25 = 0x84D9;
10071
10072 static final int TEXTURE26 = 0x84DA;
10073
10074 static final int TEXTURE27 = 0x84DB;
10075
10076 static final int TEXTURE28 = 0x84DC;
10077
10078 static final int TEXTURE29 = 0x84DD;
10079
10080 static final int TEXTURE3 = 0x84C3;
10081
10082 static final int TEXTURE30 = 0x84DE;
10083
10084 static final int TEXTURE31 = 0x84DF;
10085
10086 static final int TEXTURE4 = 0x84C4;
10087
10088 static final int TEXTURE5 = 0x84C5;
10089
10090 static final int TEXTURE6 = 0x84C6;
10091
10092 static final int TEXTURE7 = 0x84C7;
10093
10094 static final int TEXTURE8 = 0x84C8;
10095
10096 static final int TEXTURE9 = 0x84C9;
10097
10098 static final int TEXTURE_2D = 0x0DE1;
10099
10100 static final int TEXTURE_BINDING_2D = 0x8069;
10101
10102 static final int TEXTURE_BINDING_CUBE_MAP = 0x8514;
10103
10104 static final int TEXTURE_CUBE_MAP = 0x8513;
10105
10106 static final int TEXTURE_CUBE_MAP_NEGATIVE_X = 0x8516;
10107
10108 static final int TEXTURE_CUBE_MAP_NEGATIVE_Y = 0x8518;
10109
10110 static final int TEXTURE_CUBE_MAP_NEGATIVE_Z = 0x851A;
10111
10112 static final int TEXTURE_CUBE_MAP_POSITIVE_X = 0x8515;
10113
10114 static final int TEXTURE_CUBE_MAP_POSITIVE_Y = 0x8517;
10115
10116 static final int TEXTURE_CUBE_MAP_POSITIVE_Z = 0x8519;
10117
10118 static final int TEXTURE_MAG_FILTER = 0x2800;
10119
10120 static final int TEXTURE_MIN_FILTER = 0x2801;
10121
10122 static final int TEXTURE_WRAP_S = 0x2802;
10123
10124 static final int TEXTURE_WRAP_T = 0x2803;
10125
10126 static final int TRIANGLES = 0x0004;
10127
10128 static final int TRIANGLE_FAN = 0x0006;
10129
10130 static final int TRIANGLE_STRIP = 0x0005;
10131
10132 static final int UNPACK_ALIGNMENT = 0x0CF5;
10133
10134 static final int UNPACK_COLORSPACE_CONVERSION_WEBGL = 0x9243;
10135
10136 static final int UNPACK_FLIP_Y_WEBGL = 0x9240;
10137
10138 static final int UNPACK_PREMULTIPLY_ALPHA_WEBGL = 0x9241;
10139
10140 static final int UNSIGNED_BYTE = 0x1401;
10141
10142 static final int UNSIGNED_INT = 0x1405;
10143
10144 static final int UNSIGNED_SHORT = 0x1403;
10145
10146 static final int UNSIGNED_SHORT_4_4_4_4 = 0x8033;
10147
10148 static final int UNSIGNED_SHORT_5_5_5_1 = 0x8034;
10149
10150 static final int UNSIGNED_SHORT_5_6_5 = 0x8363;
10151
10152 static final int VALIDATE_STATUS = 0x8B83;
10153
10154 static final int VENDOR = 0x1F00;
10155
10156 static final int VERSION = 0x1F02;
10157
10158 static final int VERTEX_ATTRIB_ARRAY_BUFFER_BINDING = 0x889F;
10159
10160 static final int VERTEX_ATTRIB_ARRAY_ENABLED = 0x8622;
10161
10162 static final int VERTEX_ATTRIB_ARRAY_NORMALIZED = 0x886A;
10163
10164 static final int VERTEX_ATTRIB_ARRAY_POINTER = 0x8645;
10165
10166 static final int VERTEX_ATTRIB_ARRAY_SIZE = 0x8623;
10167
10168 static final int VERTEX_ATTRIB_ARRAY_STRIDE = 0x8624;
10169
10170 static final int VERTEX_ATTRIB_ARRAY_TYPE = 0x8625;
10171
10172 static final int VERTEX_SHADER = 0x8B31;
10173
10174 static final int VIEWPORT = 0x0BA2;
10175
10176 static final int ZERO = 0;
10177
10178 int drawingBufferHeight;
10179
10180 int drawingBufferWidth;
10181
10182 void activeTexture(int texture) native;
10183
10184 void attachShader(WebGLProgram program, WebGLShader shader) native;
10185
10186 void bindAttribLocation(WebGLProgram program, int index, String name) native;
10187
10188 void bindBuffer(int target, WebGLBuffer buffer) native;
10189
10190 void bindFramebuffer(int target, WebGLFramebuffer framebuffer) native;
10191
10192 void bindRenderbuffer(int target, WebGLRenderbuffer renderbuffer) native;
10193
10194 void bindTexture(int target, WebGLTexture texture) native;
10195
10196 void blendColor(num red, num green, num blue, num alpha) native;
10197
10198 void blendEquation(int mode) native;
10199
10200 void blendEquationSeparate(int modeRGB, int modeAlpha) native;
10201
10202 void blendFunc(int sfactor, int dfactor) native;
10203
10204 void blendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) nat ive;
10205
10206 void bufferData(int target, var data_OR_size, int usage) native;
10207
10208 void bufferSubData(int target, int offset, var data) native;
10209
10210 int checkFramebufferStatus(int target) native;
10211
10212 void clear(int mask) native;
10213
10214 void clearColor(num red, num green, num blue, num alpha) native;
10215
10216 void clearDepth(num depth) native;
10217
10218 void clearStencil(int s) native;
10219
10220 void colorMask(bool red, bool green, bool blue, bool alpha) native;
10221
10222 void compileShader(WebGLShader shader) native;
10223
10224 void copyTexImage2D(int target, int level, int internalformat, int x, int y, i nt width, int height, int border) native;
10225
10226 void copyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x, int y, int width, int height) native;
10227
10228 WebGLBuffer createBuffer() native;
10229
10230 WebGLFramebuffer createFramebuffer() native;
10231
10232 WebGLProgram createProgram() native;
10233
10234 WebGLRenderbuffer createRenderbuffer() native;
10235
10236 WebGLShader createShader(int type) native;
10237
10238 WebGLTexture createTexture() native;
10239
10240 void cullFace(int mode) native;
10241
10242 void deleteBuffer(WebGLBuffer buffer) native;
10243
10244 void deleteFramebuffer(WebGLFramebuffer framebuffer) native;
10245
10246 void deleteProgram(WebGLProgram program) native;
10247
10248 void deleteRenderbuffer(WebGLRenderbuffer renderbuffer) native;
10249
10250 void deleteShader(WebGLShader shader) native;
10251
10252 void deleteTexture(WebGLTexture texture) native;
10253
10254 void depthFunc(int func) native;
10255
10256 void depthMask(bool flag) native;
10257
10258 void depthRange(num zNear, num zFar) native;
10259
10260 void detachShader(WebGLProgram program, WebGLShader shader) native;
10261
10262 void disable(int cap) native;
10263
10264 void disableVertexAttribArray(int index) native;
10265
10266 void drawArrays(int mode, int first, int count) native;
10267
10268 void drawElements(int mode, int count, int type, int offset) native;
10269
10270 void enable(int cap) native;
10271
10272 void enableVertexAttribArray(int index) native;
10273
10274 void finish() native;
10275
10276 void flush() native;
10277
10278 void framebufferRenderbuffer(int target, int attachment, int renderbuffertarge t, WebGLRenderbuffer renderbuffer) native;
10279
10280 void framebufferTexture2D(int target, int attachment, int textarget, WebGLText ure texture, int level) native;
10281
10282 void frontFace(int mode) native;
10283
10284 void generateMipmap(int target) native;
10285
10286 WebGLActiveInfo getActiveAttrib(WebGLProgram program, int index) native;
10287
10288 WebGLActiveInfo getActiveUniform(WebGLProgram program, int index) native;
10289
10290 void getAttachedShaders(WebGLProgram program) native;
10291
10292 int getAttribLocation(WebGLProgram program, String name) native;
10293
10294 Object getBufferParameter(int target, int pname) native;
10295
10296 WebGLContextAttributes getContextAttributes() native;
10297
10298 int getError() native;
10299
10300 Object getExtension(String name) native;
10301
10302 Object getFramebufferAttachmentParameter(int target, int attachment, int pname ) native;
10303
10304 Object getParameter(int pname) native;
10305
10306 String getProgramInfoLog(WebGLProgram program) native;
10307
10308 Object getProgramParameter(WebGLProgram program, int pname) native;
10309
10310 Object getRenderbufferParameter(int target, int pname) native;
10311
10312 String getShaderInfoLog(WebGLShader shader) native;
10313
10314 Object getShaderParameter(WebGLShader shader, int pname) native;
10315
10316 String getShaderSource(WebGLShader shader) native;
10317
10318 Object getTexParameter(int target, int pname) native;
10319
10320 Object getUniform(WebGLProgram program, WebGLUniformLocation location) native;
10321
10322 WebGLUniformLocation getUniformLocation(WebGLProgram program, String name) nat ive;
10323
10324 Object getVertexAttrib(int index, int pname) native;
10325
10326 int getVertexAttribOffset(int index, int pname) native;
10327
10328 void hint(int target, int mode) native;
10329
10330 bool isBuffer(WebGLBuffer buffer) native;
10331
10332 bool isContextLost() native;
10333
10334 bool isEnabled(int cap) native;
10335
10336 bool isFramebuffer(WebGLFramebuffer framebuffer) native;
10337
10338 bool isProgram(WebGLProgram program) native;
10339
10340 bool isRenderbuffer(WebGLRenderbuffer renderbuffer) native;
10341
10342 bool isShader(WebGLShader shader) native;
10343
10344 bool isTexture(WebGLTexture texture) native;
10345
10346 void lineWidth(num width) native;
10347
10348 void linkProgram(WebGLProgram program) native;
10349
10350 void pixelStorei(int pname, int param) native;
10351
10352 void polygonOffset(num factor, num units) native;
10353
10354 void readPixels(int x, int y, int width, int height, int format, int type, Arr ayBufferView pixels) native;
10355
10356 void releaseShaderCompiler() native;
10357
10358 void renderbufferStorage(int target, int internalformat, int width, int height ) native;
10359
10360 void sampleCoverage(num value, bool invert) native;
10361
10362 void scissor(int x, int y, int width, int height) native;
10363
10364 void shaderSource(WebGLShader shader, String string) native;
10365
10366 void stencilFunc(int func, int ref, int mask) native;
10367
10368 void stencilFuncSeparate(int face, int func, int ref, int mask) native;
10369
10370 void stencilMask(int mask) native;
10371
10372 void stencilMaskSeparate(int face, int mask) native;
10373
10374 void stencilOp(int fail, int zfail, int zpass) native;
10375
10376 void stencilOpSeparate(int face, int fail, int zfail, int zpass) native;
10377
10378 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, ArrayBufferView pixels = null]) native;
10379
10380 void texParameterf(int target, int pname, num param) native;
10381
10382 void texParameteri(int target, int pname, int param) native;
10383
10384 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, ArrayBufferView pixels = null]) native;
10385
10386 void uniform1f(WebGLUniformLocation location, num x) native;
10387
10388 void uniform1fv(WebGLUniformLocation location, Float32Array v) native;
10389
10390 void uniform1i(WebGLUniformLocation location, int x) native;
10391
10392 void uniform1iv(WebGLUniformLocation location, Int32Array v) native;
10393
10394 void uniform2f(WebGLUniformLocation location, num x, num y) native;
10395
10396 void uniform2fv(WebGLUniformLocation location, Float32Array v) native;
10397
10398 void uniform2i(WebGLUniformLocation location, int x, int y) native;
10399
10400 void uniform2iv(WebGLUniformLocation location, Int32Array v) native;
10401
10402 void uniform3f(WebGLUniformLocation location, num x, num y, num z) native;
10403
10404 void uniform3fv(WebGLUniformLocation location, Float32Array v) native;
10405
10406 void uniform3i(WebGLUniformLocation location, int x, int y, int z) native;
10407
10408 void uniform3iv(WebGLUniformLocation location, Int32Array v) native;
10409
10410 void uniform4f(WebGLUniformLocation location, num x, num y, num z, num w) nati ve;
10411
10412 void uniform4fv(WebGLUniformLocation location, Float32Array v) native;
10413
10414 void uniform4i(WebGLUniformLocation location, int x, int y, int z, int w) nati ve;
10415
10416 void uniform4iv(WebGLUniformLocation location, Int32Array v) native;
10417
10418 void uniformMatrix2fv(WebGLUniformLocation location, bool transpose, Float32Ar ray array) native;
10419
10420 void uniformMatrix3fv(WebGLUniformLocation location, bool transpose, Float32Ar ray array) native;
10421
10422 void uniformMatrix4fv(WebGLUniformLocation location, bool transpose, Float32Ar ray array) native;
10423
10424 void useProgram(WebGLProgram program) native;
10425
10426 void validateProgram(WebGLProgram program) native;
10427
10428 void vertexAttrib1f(int indx, num x) native;
10429
10430 void vertexAttrib1fv(int indx, Float32Array values) native;
10431
10432 void vertexAttrib2f(int indx, num x, num y) native;
10433
10434 void vertexAttrib2fv(int indx, Float32Array values) native;
10435
10436 void vertexAttrib3f(int indx, num x, num y, num z) native;
10437
10438 void vertexAttrib3fv(int indx, Float32Array values) native;
10439
10440 void vertexAttrib4f(int indx, num x, num y, num z, num w) native;
10441
10442 void vertexAttrib4fv(int indx, Float32Array values) native;
10443
10444 void vertexAttribPointer(int indx, int size, int type, bool normalized, int st ride, int offset) native;
10445
10446 void viewport(int x, int y, int width, int height) native;
10447 }
10448
10449 class WebGLShader native "*WebGLShader" {
10450
10451 var dartObjectLocalStorage;
10452
10453 String get typeName() native;
10454 }
10455
10456 class WebGLTexture native "*WebGLTexture" {
10457
10458 var dartObjectLocalStorage;
10459
10460 String get typeName() native;
10461 }
10462
10463 class WebGLUniformLocation native "*WebGLUniformLocation" {
10464
10465 var dartObjectLocalStorage;
10466
10467 String get typeName() native;
10468 }
10469
10470 class WebGLVertexArrayObjectOES native "*WebGLVertexArrayObjectOES" {
10471
10472 var dartObjectLocalStorage;
10473
10474 String get typeName() native;
10475 }
10476
10477 class WebKitAnimation native "*WebKitAnimation" {
10478
10479 static final int DIRECTION_ALTERNATE = 1;
10480
10481 static final int DIRECTION_NORMAL = 0;
10482
10483 static final int FILL_BACKWARDS = 1;
10484
10485 static final int FILL_BOTH = 3;
10486
10487 static final int FILL_FORWARDS = 2;
10488
10489 static final int FILL_NONE = 0;
10490
10491 num delay;
10492
10493 int direction;
10494
10495 num duration;
10496
10497 num elapsedTime;
10498
10499 bool ended;
10500
10501 int fillMode;
10502
10503 int iterationCount;
10504
10505 String name;
10506
10507 bool paused;
10508
10509 void pause() native;
10510
10511 void play() native;
10512
10513 var dartObjectLocalStorage;
10514
10515 String get typeName() native;
10516 }
10517
10518 class WebKitAnimationEvent extends Event native "*WebKitAnimationEvent" {
10519
10520 String animationName;
10521
10522 num elapsedTime;
10523
10524 void initWebKitAnimationEvent(String typeArg, bool canBubbleArg, bool cancelab leArg, String animationNameArg, num elapsedTimeArg) native;
10525 }
10526
10527 class WebKitAnimationList native "*WebKitAnimationList" {
10528
10529 int length;
10530
10531 WebKitAnimation item(int index) native;
10532
10533 var dartObjectLocalStorage;
10534
10535 String get typeName() native;
10536 }
10537
10538 class WebKitBlobBuilder native "*WebKitBlobBuilder" {
10539
10540 void append(var arrayBuffer_OR_blob_OR_value, [String endings = null]) native;
10541
10542 Blob getBlob([String contentType = null]) native;
10543
10544 var dartObjectLocalStorage;
10545
10546 String get typeName() native;
10547 }
10548
10549 class WebKitCSSFilterValue extends CSSValueList native "*WebKitCSSFilterValue" {
10550
10551 static final int CSS_FILTER_BLUR = 9;
10552
10553 static final int CSS_FILTER_DROP_SHADOW = 11;
10554
10555 static final int CSS_FILTER_GAMMA = 8;
10556
10557 static final int CSS_FILTER_GRAYSCALE = 2;
10558
10559 static final int CSS_FILTER_HUE_ROTATE = 5;
10560
10561 static final int CSS_FILTER_INVERT = 6;
10562
10563 static final int CSS_FILTER_OPACITY = 7;
10564
10565 static final int CSS_FILTER_REFERENCE = 1;
10566
10567 static final int CSS_FILTER_SATURATE = 4;
10568
10569 static final int CSS_FILTER_SEPIA = 3;
10570
10571 static final int CSS_FILTER_SHARPEN = 10;
10572
10573 int operationType;
10574 }
10575
10576 class WebKitCSSKeyframeRule extends CSSRule native "*WebKitCSSKeyframeRule" {
10577
10578 String keyText;
10579
10580 CSSStyleDeclaration style;
10581 }
10582
10583 class WebKitCSSKeyframesRule extends CSSRule native "*WebKitCSSKeyframesRule" {
10584
10585 CSSRuleList cssRules;
10586
10587 String name;
10588
10589 void deleteRule(String key) native;
10590
10591 WebKitCSSKeyframeRule findRule(String key) native;
10592
10593 void insertRule(String rule) native;
10594 }
10595
10596 class WebKitCSSMatrix native "*WebKitCSSMatrix" {
10597 WebKitCSSMatrix([String spec]) native;
10598
10599
10600 num a;
10601
10602 num b;
10603
10604 num c;
10605
10606 num d;
10607
10608 num e;
10609
10610 num f;
10611
10612 num m11;
10613
10614 num m12;
10615
10616 num m13;
10617
10618 num m14;
10619
10620 num m21;
10621
10622 num m22;
10623
10624 num m23;
10625
10626 num m24;
10627
10628 num m31;
10629
10630 num m32;
10631
10632 num m33;
10633
10634 num m34;
10635
10636 num m41;
10637
10638 num m42;
10639
10640 num m43;
10641
10642 num m44;
10643
10644 WebKitCSSMatrix inverse() native;
10645
10646 WebKitCSSMatrix multiply(WebKitCSSMatrix secondMatrix) native;
10647
10648 WebKitCSSMatrix rotate(num rotX, num rotY, num rotZ) native;
10649
10650 WebKitCSSMatrix rotateAxisAngle(num x, num y, num z, num angle) native;
10651
10652 WebKitCSSMatrix scale(num scaleX, num scaleY, num scaleZ) native;
10653
10654 void setMatrixValue(String string) native;
10655
10656 WebKitCSSMatrix skewX(num angle) native;
10657
10658 WebKitCSSMatrix skewY(num angle) native;
10659
10660 String toString() native;
10661
10662 WebKitCSSMatrix translate(num x, num y, num z) native;
10663
10664 var dartObjectLocalStorage;
10665
10666 String get typeName() native;
10667 }
10668
10669 class WebKitCSSTransformValue extends CSSValueList native "*WebKitCSSTransformVa lue" {
10670
10671 static final int CSS_MATRIX = 11;
10672
10673 static final int CSS_MATRIX3D = 21;
10674
10675 static final int CSS_PERSPECTIVE = 20;
10676
10677 static final int CSS_ROTATE = 4;
10678
10679 static final int CSS_ROTATE3D = 17;
10680
10681 static final int CSS_ROTATEX = 14;
10682
10683 static final int CSS_ROTATEY = 15;
10684
10685 static final int CSS_ROTATEZ = 16;
10686
10687 static final int CSS_SCALE = 5;
10688
10689 static final int CSS_SCALE3D = 19;
10690
10691 static final int CSS_SCALEX = 6;
10692
10693 static final int CSS_SCALEY = 7;
10694
10695 static final int CSS_SCALEZ = 18;
10696
10697 static final int CSS_SKEW = 8;
10698
10699 static final int CSS_SKEWX = 9;
10700
10701 static final int CSS_SKEWY = 10;
10702
10703 static final int CSS_TRANSLATE = 1;
10704
10705 static final int CSS_TRANSLATE3D = 13;
10706
10707 static final int CSS_TRANSLATEX = 2;
10708
10709 static final int CSS_TRANSLATEY = 3;
10710
10711 static final int CSS_TRANSLATEZ = 12;
10712
10713 int operationType;
10714 }
10715
10716 class WebKitFlags native "*WebKitFlags" {
10717
10718 bool create;
10719
10720 bool exclusive;
10721
10722 var dartObjectLocalStorage;
10723
10724 String get typeName() native;
10725 }
10726
10727 class WebKitLoseContext native "*WebKitLoseContext" {
10728
10729 void loseContext() native;
10730
10731 void restoreContext() native;
10732
10733 var dartObjectLocalStorage;
10734
10735 String get typeName() native;
10736 }
10737
10738 class WebKitMutationObserver native "*WebKitMutationObserver" {
10739
10740 void disconnect() native;
10741
10742 var dartObjectLocalStorage;
10743
10744 String get typeName() native;
10745 }
10746
10747 class WebKitPoint native "*WebKitPoint" {
10748 WebKitPoint(num x, num y) native;
10749
10750
10751 num x;
10752
10753 num y;
10754
10755 var dartObjectLocalStorage;
10756
10757 String get typeName() native;
10758 }
10759
10760 class WebKitTransitionEvent extends Event native "*WebKitTransitionEvent" {
10761
10762 num elapsedTime;
10763
10764 String propertyName;
10765
10766 void initWebKitTransitionEvent(String typeArg, bool canBubbleArg, bool cancela bleArg, String propertyNameArg, num elapsedTimeArg) native;
10767 }
10768
10769 class WebSocket native "*WebSocket" {
10770 WebSocket(String url) native;
10771
10772
10773 static final int CLOSED = 3;
10774
10775 static final int CLOSING = 2;
10776
10777 static final int CONNECTING = 0;
10778
10779 static final int OPEN = 1;
10780
10781 String URL;
10782
10783 String binaryType;
10784
10785 int bufferedAmount;
10786
10787 String extensions;
10788
10789 String protocol;
10790
10791 int readyState;
10792
10793 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
10794
10795 void close([int code = null, String reason = null]) native;
10796
10797 bool dispatchEvent(Event evt) native;
10798
10799 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
10800
10801 bool send(String data) native;
10802
10803 var dartObjectLocalStorage;
10804
10805 String get typeName() native;
10806 }
10807
10808 class WheelEvent extends UIEvent native "*WheelEvent" {
10809
10810 bool altKey;
10811
10812 int clientX;
10813
10814 int clientY;
10815
10816 bool ctrlKey;
10817
10818 bool metaKey;
10819
10820 int offsetX;
10821
10822 int offsetY;
10823
10824 int screenX;
10825
10826 int screenY;
10827
10828 bool shiftKey;
10829
10830 bool webkitDirectionInvertedFromDevice;
10831
10832 int wheelDelta;
10833
10834 int wheelDeltaX;
10835
10836 int wheelDeltaY;
10837
10838 int x;
10839
10840 int y;
10841
10842 void initWebKitWheelEvent(int wheelDeltaX, int wheelDeltaY, DOMWindow view, in t screenX, int screenY, int clientX, int clientY, bool ctrlKey, bool altKey, boo l shiftKey, bool metaKey) native;
10843 }
10844
10845 class Worker extends AbstractWorker native "*Worker" {
10846
10847 void postMessage(String message, [List messagePorts = null]) native;
10848
10849 void terminate() native;
10850
10851 void webkitPostMessage(String message, [List messagePorts = null]) native;
10852 }
10853
10854 class WorkerContext native "*WorkerContext" {
10855
10856 static final int PERSISTENT = 1;
10857
10858 static final int TEMPORARY = 0;
10859
10860 WorkerLocation location;
10861
10862 WorkerNavigator navigator;
10863
10864 EventListener onerror;
10865
10866 WorkerContext self;
10867
10868 NotificationCenter webkitNotifications;
10869
10870 DOMURL webkitURL;
10871
10872 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
10873
10874 void clearInterval(int handle) native;
10875
10876 void clearTimeout(int handle) native;
10877
10878 void close() native;
10879
10880 bool dispatchEvent(Event evt) native;
10881
10882 void importScripts() native;
10883
10884 Database openDatabase(String name, String version, String displayName, int est imatedSize, [DatabaseCallback creationCallback = null]) native;
10885
10886 DatabaseSync openDatabaseSync(String name, String version, String displayName, int estimatedSize, [DatabaseCallback creationCallback = null]) native;
10887
10888 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
10889
10890 int setInterval(TimeoutHandler handler, int timeout) native;
10891
10892 int setTimeout(TimeoutHandler handler, int timeout) native;
10893
10894 void webkitRequestFileSystem(int type, int size, [FileSystemCallback successCa llback = null, ErrorCallback errorCallback = null]) native;
10895
10896 DOMFileSystemSync webkitRequestFileSystemSync(int type, int size) native;
10897
10898 EntrySync webkitResolveLocalFileSystemSyncURL(String url) native;
10899
10900 void webkitResolveLocalFileSystemURL(String url, [EntryCallback successCallbac k = null, ErrorCallback errorCallback = null]) native;
10901
10902 var dartObjectLocalStorage;
10903
10904 String get typeName() native;
10905 }
10906
10907 class WorkerLocation native "*WorkerLocation" {
10908
10909 String hash;
10910
10911 String host;
10912
10913 String hostname;
10914
10915 String href;
10916
10917 String pathname;
10918
10919 String port;
10920
10921 String protocol;
10922
10923 String search;
10924
10925 String toString() native;
10926
10927 var dartObjectLocalStorage;
10928
10929 String get typeName() native;
10930 }
10931
10932 class WorkerNavigator native "*WorkerNavigator" {
10933
10934 String appName;
10935
10936 String appVersion;
10937
10938 bool onLine;
10939
10940 String platform;
10941
10942 String userAgent;
10943
10944 var dartObjectLocalStorage;
10945
10946 String get typeName() native;
10947 }
10948
10949 class XMLHttpRequest native "*XMLHttpRequest" {
10950 XMLHttpRequest() native;
10951
10952
10953 static final int DONE = 4;
10954
10955 static final int HEADERS_RECEIVED = 2;
10956
10957 static final int LOADING = 3;
10958
10959 static final int OPENED = 1;
10960
10961 static final int UNSENT = 0;
10962
10963 bool asBlob;
10964
10965 int readyState;
10966
10967 Blob responseBlob;
10968
10969 String responseText;
10970
10971 String responseType;
10972
10973 Document responseXML;
10974
10975 int status;
10976
10977 String statusText;
10978
10979 XMLHttpRequestUpload upload;
10980
10981 bool withCredentials;
10982
10983 void abort() native;
10984
10985 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
10986
10987 bool dispatchEvent(Event evt) native;
10988
10989 String getAllResponseHeaders() native;
10990
10991 String getResponseHeader(String header) native;
10992
10993 void open(String method, String url, [bool async = null, String user = null, S tring password = null]) native;
10994
10995 void overrideMimeType(String override) native;
10996
10997 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
10998
10999 void send([var data = null]) native;
11000
11001 void setRequestHeader(String header, String value) native;
11002
11003 var dartObjectLocalStorage;
11004
11005 String get typeName() native;
11006 }
11007
11008 class XMLHttpRequestException native "*XMLHttpRequestException" {
11009
11010 static final int ABORT_ERR = 102;
11011
11012 static final int NETWORK_ERR = 101;
11013
11014 int code;
11015
11016 String message;
11017
11018 String name;
11019
11020 String toString() native;
11021
11022 var dartObjectLocalStorage;
11023
11024 String get typeName() native;
11025 }
11026
11027 class XMLHttpRequestProgressEvent extends ProgressEvent native "*XMLHttpRequestP rogressEvent" {
11028
11029 int position;
11030
11031 int totalSize;
11032 }
11033
11034 class XMLHttpRequestUpload native "*XMLHttpRequestUpload" {
11035
11036 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
11037
11038 bool dispatchEvent(Event evt) native;
11039
11040 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
11041
11042 var dartObjectLocalStorage;
11043
11044 String get typeName() native;
11045 }
11046
11047 class XMLSerializer native "*XMLSerializer" {
11048
11049 String serializeToString(Node node) native;
11050
11051 var dartObjectLocalStorage;
11052
11053 String get typeName() native;
11054 }
11055
11056 class XPathEvaluator native "*XPathEvaluator" {
11057
11058 XPathExpression createExpression(String expression, XPathNSResolver resolver) native;
11059
11060 XPathNSResolver createNSResolver(Node nodeResolver) native;
11061
11062 XPathResult evaluate(String expression, Node contextNode, XPathNSResolver reso lver, int type, XPathResult inResult) native;
11063
11064 var dartObjectLocalStorage;
11065
11066 String get typeName() native;
11067 }
11068
11069 class XPathException native "*XPathException" {
11070
11071 static final int INVALID_EXPRESSION_ERR = 51;
11072
11073 static final int TYPE_ERR = 52;
11074
11075 int code;
11076
11077 String message;
11078
11079 String name;
11080
11081 String toString() native;
11082
11083 var dartObjectLocalStorage;
11084
11085 String get typeName() native;
11086 }
11087
11088 class XPathExpression native "*XPathExpression" {
11089
11090 XPathResult evaluate(Node contextNode, int type, XPathResult inResult) native;
11091
11092 var dartObjectLocalStorage;
11093
11094 String get typeName() native;
11095 }
11096
11097 class XPathNSResolver native "*XPathNSResolver" {
11098
11099 String lookupNamespaceURI(String prefix) native;
11100
11101 var dartObjectLocalStorage;
11102
11103 String get typeName() native;
11104 }
11105
11106 class XPathResult native "*XPathResult" {
11107
11108 static final int ANY_TYPE = 0;
11109
11110 static final int ANY_UNORDERED_NODE_TYPE = 8;
11111
11112 static final int BOOLEAN_TYPE = 3;
11113
11114 static final int FIRST_ORDERED_NODE_TYPE = 9;
11115
11116 static final int NUMBER_TYPE = 1;
11117
11118 static final int ORDERED_NODE_ITERATOR_TYPE = 5;
11119
11120 static final int ORDERED_NODE_SNAPSHOT_TYPE = 7;
11121
11122 static final int STRING_TYPE = 2;
11123
11124 static final int UNORDERED_NODE_ITERATOR_TYPE = 4;
11125
11126 static final int UNORDERED_NODE_SNAPSHOT_TYPE = 6;
11127
11128 bool booleanValue;
11129
11130 bool invalidIteratorState;
11131
11132 num numberValue;
11133
11134 int resultType;
11135
11136 Node singleNodeValue;
11137
11138 int snapshotLength;
11139
11140 String stringValue;
11141
11142 Node iterateNext() native;
11143
11144 Node snapshotItem(int index) native;
11145
11146 var dartObjectLocalStorage;
11147
11148 String get typeName() native;
11149 }
11150
11151 class XSLTProcessor native "*XSLTProcessor" {
11152
11153 void clearParameters() native;
11154
11155 String getParameter(String namespaceURI, String localName) native;
11156
11157 void importStylesheet(Node stylesheet) native;
11158
11159 void removeParameter(String namespaceURI, String localName) native;
11160
11161 void reset() native;
11162
11163 void setParameter(String namespaceURI, String localName, String value) native;
11164
11165 Document transformToDocument(Node source) native;
11166
11167 DocumentFragment transformToFragment(Node source, Document docVal) native;
11168
11169 var dartObjectLocalStorage;
11170
11171 String get typeName() native;
11172 }
11173 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
11174 // for details. All rights reserved. Use of this source code is governed by a
11175 // BSD-style license that can be found in the LICENSE file.
11176
11177 // WARNING: Do not edit - generated code.
11178
11179 typedef bool AudioBufferCallback(AudioBuffer audioBuffer);
11180 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
11181 // for details. All rights reserved. Use of this source code is governed by a
11182 // BSD-style license that can be found in the LICENSE file.
11183
11184 // WARNING: Do not edit - generated code.
11185
11186 typedef bool DatabaseCallback(var database);
11187 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
11188 // for details. All rights reserved. Use of this source code is governed by a
11189 // BSD-style license that can be found in the LICENSE file.
11190
11191 // WARNING: Do not edit - generated code.
11192
11193 typedef bool EntriesCallback(EntryArray entries);
11194 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
11195 // for details. All rights reserved. Use of this source code is governed by a
11196 // BSD-style license that can be found in the LICENSE file.
11197
11198 // WARNING: Do not edit - generated code.
11199
11200 typedef bool EntryCallback(Entry entry);
11201 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
11202 // for details. All rights reserved. Use of this source code is governed by a
11203 // BSD-style license that can be found in the LICENSE file.
11204
11205 // WARNING: Do not edit - generated code.
11206
11207 typedef bool ErrorCallback(FileError error);
11208 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
11209 // for details. All rights reserved. Use of this source code is governed by a
11210 // BSD-style license that can be found in the LICENSE file.
11211
11212 // WARNING: Do not edit - generated code.
11213
11214 typedef bool FileCallback(File file);
11215 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
11216 // for details. All rights reserved. Use of this source code is governed by a
11217 // BSD-style license that can be found in the LICENSE file.
11218
11219 // WARNING: Do not edit - generated code.
11220
11221 typedef bool FileSystemCallback(DOMFileSystem fileSystem);
11222 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
11223 // for details. All rights reserved. Use of this source code is governed by a
11224 // BSD-style license that can be found in the LICENSE file.
11225
11226 // WARNING: Do not edit - generated code.
11227
11228 typedef bool FileWriterCallback(FileWriter fileWriter);
11229 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
11230 // for details. All rights reserved. Use of this source code is governed by a
11231 // BSD-style license that can be found in the LICENSE file.
11232
11233 // WARNING: Do not edit - generated code.
11234
11235 typedef bool MetadataCallback(Metadata metadata);
11236 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
11237 // for details. All rights reserved. Use of this source code is governed by a
11238 // BSD-style license that can be found in the LICENSE file.
11239
11240 // WARNING: Do not edit - generated code.
11241
11242 typedef bool NavigatorUserMediaErrorCallback(NavigatorUserMediaError error);
11243 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
11244 // for details. All rights reserved. Use of this source code is governed by a
11245 // BSD-style license that can be found in the LICENSE file.
11246
11247 // WARNING: Do not edit - generated code.
11248
11249 typedef bool PositionCallback(Geoposition position);
11250 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
11251 // for details. All rights reserved. Use of this source code is governed by a
11252 // BSD-style license that can be found in the LICENSE file.
11253
11254 // WARNING: Do not edit - generated code.
11255
11256 typedef bool PositionErrorCallback(PositionError error);
11257 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
11258 // for details. All rights reserved. Use of this source code is governed by a
11259 // BSD-style license that can be found in the LICENSE file.
11260
11261 // WARNING: Do not edit - generated code.
11262
11263 typedef bool SQLStatementCallback(SQLTransaction transaction, SQLResultSet resul tSet);
11264 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
11265 // for details. All rights reserved. Use of this source code is governed by a
11266 // BSD-style license that can be found in the LICENSE file.
11267
11268 // WARNING: Do not edit - generated code.
11269
11270 typedef bool SQLStatementErrorCallback(SQLTransaction transaction, SQLError erro r);
11271 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
11272 // for details. All rights reserved. Use of this source code is governed by a
11273 // BSD-style license that can be found in the LICENSE file.
11274
11275 // WARNING: Do not edit - generated code.
11276
11277 typedef bool SQLTransactionCallback(SQLTransaction transaction);
11278 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
11279 // for details. All rights reserved. Use of this source code is governed by a
11280 // BSD-style license that can be found in the LICENSE file.
11281
11282 // WARNING: Do not edit - generated code.
11283
11284 typedef bool SQLTransactionErrorCallback(SQLError error);
11285 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
11286 // for details. All rights reserved. Use of this source code is governed by a
11287 // BSD-style license that can be found in the LICENSE file.
11288
11289 // WARNING: Do not edit - generated code.
11290
11291 typedef bool SQLTransactionSyncCallback(SQLTransactionSync transaction);
11292 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
11293 // for details. All rights reserved. Use of this source code is governed by a
11294 // BSD-style license that can be found in the LICENSE file.
11295
11296 // WARNING: Do not edit - generated code.
11297
11298 typedef bool StorageInfoErrorCallback(DOMException error);
11299 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
11300 // for details. All rights reserved. Use of this source code is governed by a
11301 // BSD-style license that can be found in the LICENSE file.
11302
11303 // WARNING: Do not edit - generated code.
11304
11305 typedef bool StorageInfoQuotaCallback(int grantedQuotaInBytes);
11306 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
11307 // for details. All rights reserved. Use of this source code is governed by a
11308 // BSD-style license that can be found in the LICENSE file.
11309
11310 // WARNING: Do not edit - generated code.
11311
11312 typedef bool StorageInfoUsageCallback(int currentUsageInBytes, int currentQuotaI nBytes);
11313 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
11314 // for details. All rights reserved. Use of this source code is governed by a
11315 // BSD-style license that can be found in the LICENSE file.
11316
11317 // WARNING: Do not edit - generated code.
11318
11319 typedef bool StringCallback(String data);
11320 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
11321 // for details. All rights reserved. Use of this source code is governed by a
11322 // BSD-style license that can be found in the LICENSE file.
11323
11324 // WARNING: Do not edit - generated code.
11325
11326 typedef void VoidCallback();
11327 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
11328 // for details. All rights reserved. Use of this source code is governed by a
11329 // BSD-style license that can be found in the LICENSE file.
11330
11331 typedef void EventListener(Event event);
11332 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
11333 // for details. All rights reserved. Use of this source code is governed by a
11334 // BSD-style license that can be found in the LICENSE file.
11335
11336 /**
11337 * Defines the standard key locations returned by
11338 * KeyboardEvent.getKeyLocation.
11339 */
11340 interface KeyLocation {
11341
11342 /**
11343 * The event key is not distinguished as the left or right version
11344 * of the key, and did not originate from the numeric keypad (or did not
11345 * originate with a virtual key corresponding to the numeric keypad).
11346 */
11347 static final int STANDARD = 0;
11348
11349 /**
11350 * The event key is in the left key location.
11351 */
11352 static final int LEFT = 1;
11353
11354 /**
11355 * The event key is in the right key location.
11356 */
11357 static final int RIGHT = 2;
11358
11359 /**
11360 * The event key originated on the numeric keypad or with a virtual key
11361 * corresponding to the numeric keypad.
11362 */
11363 static final int NUMPAD = 3;
11364
11365 /**
11366 * The event key originated on a mobile device, either on a physical
11367 * keypad or a virtual keyboard.
11368 */
11369 static final int MOBILE = 4;
11370
11371 /**
11372 * The event key originated on a game controller or a joystick on a mobile
11373 * device.
11374 */
11375 static final int JOYSTICK = 5;
11376 }
11377 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
11378 // for details. All rights reserved. Use of this source code is governed by a
11379 // BSD-style license that can be found in the LICENSE file.
11380
11381 /**
11382 * Defines the standard keyboard identifier names for keys that are returned
11383 * by KeyEvent.getKeyboardIdentifier when the key does not have a direct
11384 * unicode mapping.
11385 */
11386 interface KeyName {
11387
11388 /** The Accept (Commit, OK) key */
11389 static final String ACCEPT = "Accept";
11390
11391 /** The Add key */
11392 static final String ADD = "Add";
11393
11394 /** The Again key */
11395 static final String AGAIN = "Again";
11396
11397 /** The All Candidates key */
11398 static final String ALL_CANDIDATES = "AllCandidates";
11399
11400 /** The Alphanumeric key */
11401 static final String ALPHANUMERIC = "Alphanumeric";
11402
11403 /** The Alt (Menu) key */
11404 static final String ALT = "Alt";
11405
11406 /** The Alt-Graph key */
11407 static final String ALT_GRAPH = "AltGraph";
11408
11409 /** The Application key */
11410 static final String APPS = "Apps";
11411
11412 /** The ATTN key */
11413 static final String ATTN = "Attn";
11414
11415 /** The Browser Back key */
11416 static final String BROWSER_BACK = "BrowserBack";
11417
11418 /** The Browser Favorites key */
11419 static final String BROWSER_FAVORTIES = "BrowserFavorites";
11420
11421 /** The Browser Forward key */
11422 static final String BROWSER_FORWARD = "BrowserForward";
11423
11424 /** The Browser Home key */
11425 static final String BROWSER_NAME = "BrowserHome";
11426
11427 /** The Browser Refresh key */
11428 static final String BROWSER_REFRESH = "BrowserRefresh";
11429
11430 /** The Browser Search key */
11431 static final String BROWSER_SEARCH = "BrowserSearch";
11432
11433 /** The Browser Stop key */
11434 static final String BROWSER_STOP = "BrowserStop";
11435
11436 /** The Camera key */
11437 static final String CAMERA = "Camera";
11438
11439 /** The Caps Lock (Capital) key */
11440 static final String CAPS_LOCK = "CapsLock";
11441
11442 /** The Clear key */
11443 static final String CLEAR = "Clear";
11444
11445 /** The Code Input key */
11446 static final String CODE_INPUT = "CodeInput";
11447
11448 /** The Compose key */
11449 static final String COMPOSE = "Compose";
11450
11451 /** The Control (Ctrl) key */
11452 static final String CONTROL = "Control";
11453
11454 /** The Crsel key */
11455 static final String CRSEL = "Crsel";
11456
11457 /** The Convert key */
11458 static final String CONVERT = "Convert";
11459
11460 /** The Copy key */
11461 static final String COPY = "Copy";
11462
11463 /** The Cut key */
11464 static final String CUT = "Cut";
11465
11466 /** The Decimal key */
11467 static final String DECIMAL = "Decimal";
11468
11469 /** The Divide key */
11470 static final String DIVIDE = "Divide";
11471
11472 /** The Down Arrow key */
11473 static final String DOWN = "Down";
11474
11475 /** The diagonal Down-Left Arrow key */
11476 static final String DOWN_LEFT = "DownLeft";
11477
11478 /** The diagonal Down-Right Arrow key */
11479 static final String DOWN_RIGHT = "DownRight";
11480
11481 /** The Eject key */
11482 static final String EJECT = "Eject";
11483
11484 /** The End key */
11485 static final String END = "End";
11486
11487 /**
11488 * The Enter key. Note: This key value must also be used for the Return
11489 * (Macintosh numpad) key
11490 */
11491 static final String ENTER = "Enter";
11492
11493 /** The Erase EOF key */
11494 static final String ERASE_EOF= "EraseEof";
11495
11496 /** The Execute key */
11497 static final String EXECUTE = "Execute";
11498
11499 /** The Exsel key */
11500 static final String EXSEL = "Exsel";
11501
11502 /** The Function switch key */
11503 static final String FN = "Fn";
11504
11505 /** The F1 key */
11506 static final String F1 = "F1";
11507
11508 /** The F2 key */
11509 static final String F2 = "F2";
11510
11511 /** The F3 key */
11512 static final String F3 = "F3";
11513
11514 /** The F4 key */
11515 static final String F4 = "F4";
11516
11517 /** The F5 key */
11518 static final String F5 = "F5";
11519
11520 /** The F6 key */
11521 static final String F6 = "F6";
11522
11523 /** The F7 key */
11524 static final String F7 = "F7";
11525
11526 /** The F8 key */
11527 static final String F8 = "F8";
11528
11529 /** The F9 key */
11530 static final String F9 = "F9";
11531
11532 /** The F10 key */
11533 static final String F10 = "F10";
11534
11535 /** The F11 key */
11536 static final String F11 = "F11";
11537
11538 /** The F12 key */
11539 static final String F12 = "F12";
11540
11541 /** The F13 key */
11542 static final String F13 = "F13";
11543
11544 /** The F14 key */
11545 static final String F14 = "F14";
11546
11547 /** The F15 key */
11548 static final String F15 = "F15";
11549
11550 /** The F16 key */
11551 static final String F16 = "F16";
11552
11553 /** The F17 key */
11554 static final String F17 = "F17";
11555
11556 /** The F18 key */
11557 static final String F18 = "F18";
11558
11559 /** The F19 key */
11560 static final String F19 = "F19";
11561
11562 /** The F20 key */
11563 static final String F20 = "F20";
11564
11565 /** The F21 key */
11566 static final String F21 = "F21";
11567
11568 /** The F22 key */
11569 static final String F22 = "F22";
11570
11571 /** The F23 key */
11572 static final String F23 = "F23";
11573
11574 /** The F24 key */
11575 static final String F24 = "F24";
11576
11577 /** The Final Mode (Final) key used on some asian keyboards */
11578 static final String FINAL_MODE = "FinalMode";
11579
11580 /** The Find key */
11581 static final String FIND = "Find";
11582
11583 /** The Full-Width Characters key */
11584 static final String FULL_WIDTH = "FullWidth";
11585
11586 /** The Half-Width Characters key */
11587 static final String HALF_WIDTH = "HalfWidth";
11588
11589 /** The Hangul (Korean characters) Mode key */
11590 static final String HANGUL_MODE = "HangulMode";
11591
11592 /** The Hanja (Korean characters) Mode key */
11593 static final String HANJA_MODE = "HanjaMode";
11594
11595 /** The Help key */
11596 static final String HELP = "Help";
11597
11598 /** The Hiragana (Japanese Kana characters) key */
11599 static final String HIRAGANA = "Hiragana";
11600
11601 /** The Home key */
11602 static final String HOME = "Home";
11603
11604 /** The Insert (Ins) key */
11605 static final String INSERT = "Insert";
11606
11607 /** The Japanese-Hiragana key */
11608 static final String JAPANESE_HIRAGANA = "JapaneseHiragana";
11609
11610 /** The Japanese-Katakana key */
11611 static final String JAPANESE_KATAKANA = "JapaneseKatakana";
11612
11613 /** The Japanese-Romaji key */
11614 static final String JAPANESE_ROMAJI = "JapaneseRomaji";
11615
11616 /** The Junja Mode key */
11617 static final String JUNJA_MODE = "JunjaMode";
11618
11619 /** The Kana Mode (Kana Lock) key */
11620 static final String KANA_MODE = "KanaMode";
11621
11622 /**
11623 * The Kanji (Japanese name for ideographic characters of Chinese origin)
11624 * Mode key
11625 */
11626 static final String KANJI_MODE = "KanjiMode";
11627
11628 /** The Katakana (Japanese Kana characters) key */
11629 static final String KATAKANA = "Katakana";
11630
11631 /** The Start Application One key */
11632 static final String LAUNCH_APPLICATION_1 = "LaunchApplication1";
11633
11634 /** The Start Application Two key */
11635 static final String LAUNCH_APPLICATION_2 = "LaunchApplication2";
11636
11637 /** The Start Mail key */
11638 static final String LAUNCH_MAIL = "LaunchMail";
11639
11640 /** The Left Arrow key */
11641 static final String LEFT = "Left";
11642
11643 /** The Menu key */
11644 static final String MENU = "Menu";
11645
11646 /**
11647 * The Meta key. Note: This key value shall be also used for the Apple
11648 * Command key
11649 */
11650 static final String META = "Meta";
11651
11652 /** The Media Next Track key */
11653 static final String MEDIA_NEXT_TRACK = "MediaNextTrack";
11654
11655 /** The Media Play Pause key */
11656 static final String MEDIA_PAUSE_PLAY = "MediaPlayPause";
11657
11658 /** The Media Previous Track key */
11659 static final String MEDIA_PREVIOUS_TRACK = "MediaPreviousTrack";
11660
11661 /** The Media Stop key */
11662 static final String MEDIA_STOP = "MediaStop";
11663
11664 /** The Mode Change key */
11665 static final String MODE_CHANGE = "ModeChange";
11666
11667 /** The Next Candidate function key */
11668 static final String NEXT_CANDIDATE = "NextCandidate";
11669
11670 /** The Nonconvert (Don't Convert) key */
11671 static final String NON_CONVERT = "Nonconvert";
11672
11673 /** The Number Lock key */
11674 static final String NUM_LOCK = "NumLock";
11675
11676 /** The Page Down (Next) key */
11677 static final String PAGE_DOWN = "PageDown";
11678
11679 /** The Page Up key */
11680 static final String PAGE_UP = "PageUp";
11681
11682 /** The Paste key */
11683 static final String PASTE = "Paste";
11684
11685 /** The Pause key */
11686 static final String PAUSE = "Pause";
11687
11688 /** The Play key */
11689 static final String PLAY = "Play";
11690
11691 /**
11692 * The Power key. Note: Some devices may not expose this key to the
11693 * operating environment
11694 */
11695 static final String POWER = "Power";
11696
11697 /** The Previous Candidate function key */
11698 static final String PREVIOUS_CANDIDATE = "PreviousCandidate";
11699
11700 /** The Print Screen (PrintScrn, SnapShot) key */
11701 static final String PRINT_SCREEN = "PrintScreen";
11702
11703 /** The Process key */
11704 static final String PROCESS = "Process";
11705
11706 /** The Props key */
11707 static final String PROPS = "Props";
11708
11709 /** The Right Arrow key */
11710 static final String RIGHT = "Right";
11711
11712 /** The Roman Characters function key */
11713 static final String ROMAN_CHARACTERS = "RomanCharacters";
11714
11715 /** The Scroll Lock key */
11716 static final String SCROLL = "Scroll";
11717
11718 /** The Select key */
11719 static final String SELECT = "Select";
11720
11721 /** The Select Media key */
11722 static final String SELECT_MEDIA = "SelectMedia";
11723
11724 /** The Separator key */
11725 static final String SEPARATOR = "Separator";
11726
11727 /** The Shift key */
11728 static final String SHIFT = "Shift";
11729
11730 /** The Soft1 key */
11731 static final String SOFT_1 = "Soft1";
11732
11733 /** The Soft2 key */
11734 static final String SOFT_2 = "Soft2";
11735
11736 /** The Soft3 key */
11737 static final String SOFT_3 = "Soft3";
11738
11739 /** The Soft4 key */
11740 static final String SOFT_4 = "Soft4";
11741
11742 /** The Stop key */
11743 static final String STOP = "Stop";
11744
11745 /** The Subtract key */
11746 static final String SUBTRACT = "Subtract";
11747
11748 /** The Symbol Lock key */
11749 static final String SYMBOL_LOCK = "SymbolLock";
11750
11751 /** The Up Arrow key */
11752 static final String UP = "Up";
11753
11754 /** The diagonal Up-Left Arrow key */
11755 static final String UP_LEFT = "UpLeft";
11756
11757 /** The diagonal Up-Right Arrow key */
11758 static final String UP_RIGHT = "UpRight";
11759
11760 /** The Undo key */
11761 static final String UNDO = "Undo";
11762
11763 /** The Volume Down key */
11764 static final String VOLUME_DOWN = "VolumeDown";
11765
11766 /** The Volume Mute key */
11767 static final String VOLUMN_MUTE = "VolumeMute";
11768
11769 /** The Volume Up key */
11770 static final String VOLUMN_UP = "VolumeUp";
11771
11772 /** The Windows Logo key */
11773 static final String WIN = "Win";
11774
11775 /** The Zoom key */
11776 static final String ZOOM = "Zoom";
11777
11778 /**
11779 * The Backspace (Back) key. Note: This key value shall be also used for the
11780 * key labeled 'delete' MacOS keyboards when not modified by the 'Fn' key
11781 */
11782 static final String BACKSPACE = "Backspace";
11783
11784 /** The Horizontal Tabulation (Tab) key */
11785 static final String TAB = "Tab";
11786
11787 /** The Cancel key */
11788 static final String CANCEL = "Cancel";
11789
11790 /** The Escape (Esc) key */
11791 static final String ESC = "Esc";
11792
11793 /** The Space (Spacebar) key: */
11794 static final String SPACEBAR = "Spacebar";
11795
11796 /**
11797 * The Delete (Del) Key. Note: This key value shall be also used for the key
11798 * labeled 'delete' MacOS keyboards when modified by the 'Fn' key
11799 */
11800 static final String DEL = "Del";
11801
11802 /** The Combining Grave Accent (Greek Varia, Dead Grave) key */
11803 static final String DEAD_GRAVE = "DeadGrave";
11804
11805 /**
11806 * The Combining Acute Accent (Stress Mark, Greek Oxia, Tonos, Dead Eacute)
11807 * key
11808 */
11809 static final String DEAD_EACUTE = "DeadEacute";
11810
11811 /** The Combining Circumflex Accent (Hat, Dead Circumflex) key */
11812 static final String DEAD_CIRCUMFLEX = "DeadCircumflex";
11813
11814 /** The Combining Tilde (Dead Tilde) key */
11815 static final String DEAD_TILDE = "DeadTilde";
11816
11817 /** The Combining Macron (Long, Dead Macron) key */
11818 static final String DEAD_MACRON = "DeadMacron";
11819
11820 /** The Combining Breve (Short, Dead Breve) key */
11821 static final String DEAD_BREVE = "DeadBreve";
11822
11823 /** The Combining Dot Above (Derivative, Dead Above Dot) key */
11824 static final String DEAD_ABOVE_DOT = "DeadAboveDot";
11825
11826 /**
11827 * The Combining Diaeresis (Double Dot Abode, Umlaut, Greek Dialytika,
11828 * Double Derivative, Dead Diaeresis) key
11829 */
11830 static final String DEAD_UMLAUT = "DeadUmlaut";
11831
11832 /** The Combining Ring Above (Dead Above Ring) key */
11833 static final String DEAD_ABOVE_RING = "DeadAboveRing";
11834
11835 /** The Combining Double Acute Accent (Dead Doubleacute) key */
11836 static final String DEAD_DOUBLEACUTE = "DeadDoubleacute";
11837
11838 /** The Combining Caron (Hacek, V Above, Dead Caron) key */
11839 static final String DEAD_CARON = "DeadCaron";
11840
11841 /** The Combining Cedilla (Dead Cedilla) key */
11842 static final String DEAD_CEDILLA = "DeadCedilla";
11843
11844 /** The Combining Ogonek (Nasal Hook, Dead Ogonek) key */
11845 static final String DEAD_OGONEK = "DeadOgonek";
11846
11847 /**
11848 * The Combining Greek Ypogegrammeni (Greek Non-Spacing Iota Below, Iota
11849 * Subscript, Dead Iota) key
11850 */
11851 static final String DEAD_IOTA = "DeadIota";
11852
11853 /**
11854 * The Combining Katakana-Hiragana Voiced Sound Mark (Dead Voiced Sound) key
11855 */
11856 static final String DEAD_VOICED_SOUND = "DeadVoicedSound";
11857
11858 /**
11859 * The Combining Katakana-Hiragana Semi-Voiced Sound Mark (Dead Semivoiced
11860 * Sound) key
11861 */
11862 static final String DEC_SEMIVOICED_SOUND= "DeadSemivoicedSound";
11863
11864 /**
11865 * Key value used when an implementation is unable to identify another key
11866 * value, due to either hardware, platform, or software constraints
11867 */
11868 static final String UNIDENTIFIED = "Unidentified";
11869 }
11870 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
11871 // for details. All rights reserved. Use of this source code is governed by a
11872 // BSD-style license that can be found in the LICENSE file.
11873
11874 typedef bool RequestAnimationFrameCallback(int time);
11875 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
11876 // for details. All rights reserved. Use of this source code is governed by a
11877 // BSD-style license that can be found in the LICENSE file.
11878
11879 typedef void TimeoutHandler();
11880 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
11881 // for details. All rights reserved. Use of this source code is governed by a
11882 // BSD-style license that can be found in the LICENSE file.
11883
11884 /**
11885 * The [Collections] class implements static methods useful when
11886 * writing a class that implements [Collection] and the [iterator]
11887 * method.
11888 */
11889 class _Collections {
11890 static void forEach(Iterable<Object> iterable, void f(Object o)) {
11891 for (final e in iterable) {
11892 f(e);
11893 }
11894 }
11895
11896 static bool some(Iterable<Object> iterable, bool f(Object o)) {
11897 for (final e in iterable) {
11898 if (f(e)) return true;
11899 }
11900 return false;
11901 }
11902
11903 static bool every(Iterable<Object> iterable, bool f(Object o)) {
11904 for (final e in iterable) {
11905 if (!f(e)) return false;
11906 }
11907 return true;
11908 }
11909
11910 static List filter(Iterable<Object> source,
11911 List<Object> destination,
11912 bool f(o)) {
11913 for (final e in source) {
11914 if (f(e)) destination.add(e);
11915 }
11916 return destination;
11917 }
11918
11919 static bool isEmpty(Iterable<Object> iterable) {
11920 return !iterable.iterator().hasNext();
11921 }
11922 }
11923 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
11924 // for details. All rights reserved. Use of this source code is governed by a
11925 // BSD-style license that can be found in the LICENSE file.
11926
11927 // Iterator for arrays with fixed size.
11928 class _FixedSizeListIterator<T> extends _VariableSizeListIterator<T> {
11929 _FixedSizeListIterator(List<T> array)
11930 : super(array),
11931 _length = array.length;
11932
11933 bool hasNext() => _length > _pos;
11934
11935 final int _length; // Cache array length for faster access.
11936 }
11937
11938 // Iterator for arrays with variable size.
11939 class _VariableSizeListIterator<T> implements Iterator<T> {
11940 _VariableSizeListIterator(List<T> array)
11941 : _array = array,
11942 _pos = 0;
11943
11944 bool hasNext() => _array.length > _pos;
11945
11946 T next() {
11947 if (!hasNext()) {
11948 throw const NoMoreElementsException();
11949 }
11950 return _array[_pos++];
11951 }
11952
11953 final List<T> _array;
11954 int _pos;
11955 }
11956 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
11957 // for details. All rights reserved. Use of this source code is governed by a
11958 // BSD-style license that can be found in the LICENSE file.
11959
11960 class _Lists {
11961
11962 /**
11963 * Returns the index in the array [a] of the given [element], starting
11964 * the search at index [startIndex] to [endIndex] (exclusive).
11965 * Returns -1 if [element] is not found.
11966 */
11967 static int indexOf(List a,
11968 Object element,
11969 int startIndex,
11970 int endIndex) {
11971 if (startIndex >= a.length) {
11972 return -1;
11973 }
11974 if (startIndex < 0) {
11975 startIndex = 0;
11976 }
11977 for (int i = startIndex; i < endIndex; i++) {
11978 if (a[i] == element) {
11979 return i;
11980 }
11981 }
11982 return -1;
11983 }
11984
11985 /**
11986 * Returns the last index in the array [a] of the given [element], starting
11987 * the search at index [startIndex] to 0.
11988 * Returns -1 if [element] is not found.
11989 */
11990 static int lastIndexOf(List a, Object element, int startIndex) {
11991 if (startIndex < 0) {
11992 return -1;
11993 }
11994 if (startIndex >= a.length) {
11995 startIndex = a.length - 1;
11996 }
11997 for (int i = startIndex; i >= 0; i--) {
11998 if (a[i] == element) {
11999 return i;
12000 }
12001 }
12002 return -1;
12003 }
12004 }
OLDNEW
« no previous file with comments | « client/dom/frog/dom_frog.js ('k') | client/dom/frog/frog_dom.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698