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

Side by Side Diff: lib/dom/dom.dart

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

Powered by Google App Engine
This is Rietveld 408576698