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

Side by Side Diff: client/html/release/html.dart

Issue 8835006: New version of dart:html (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix typos Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « client/html/htmlimpl.dart ('k') | client/html/src/Document.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #library('html'); 1 #library('html');
2 2
3 #import('dart:dom', prefix:'dom'); 3 #import('dart:dom', prefix:'dom');
4 #import('dart:htmlimpl'); 4 #import('dart:htmlimpl');
5 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 5 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
6 // for details. All rights reserved. Use of this source code is governed by a 6 // for details. All rights reserved. Use of this source code is governed by a
7 // BSD-style license that can be found in the LICENSE file. 7 // BSD-style license that can be found in the LICENSE file.
8 8
9 // DO NOT EDIT 9 // DO NOT EDIT
10 // Auto-generated Dart HTML library. 10 // Auto-generated Dart HTML library.
11 11
12 12
13 13
14 14
15
15 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 16 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
16 // for details. All rights reserved. Use of this source code is governed by a 17 // for details. All rights reserved. Use of this source code is governed by a
17 // BSD-style license that can be found in the LICENSE file. 18 // BSD-style license that can be found in the LICENSE file.
18 19
19 // WARNING: Do not edit - generated code. 20 // WARNING: Do not edit - generated code.
20 21
21 interface AnchorElement extends Element { 22 interface AnchorElement extends Element {
22 23
23 String get accessKey(); 24 String get accessKey();
24 25
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 99
99 void set target(String value); 100 void set target(String value);
100 101
101 String get text(); 102 String get text();
102 103
103 String get type(); 104 String get type();
104 105
105 void set type(String value); 106 void set type(String value);
106 107
107 String getParameter(String name); 108 String getParameter(String name);
109
110 String toString();
108 } 111 }
109 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 112 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
110 // for details. All rights reserved. Use of this source code is governed by a 113 // for details. All rights reserved. Use of this source code is governed by a
111 // BSD-style license that can be found in the LICENSE file. 114 // BSD-style license that can be found in the LICENSE file.
112 115
113 // WARNING: Do not edit - generated code. 116 // WARNING: Do not edit - generated code.
114 117
115 interface Animation { 118 interface Animation {
116 119
117 static final int DIRECTION_ALTERNATE = 1;
118
119 static final int DIRECTION_NORMAL = 0;
120
121 static final int FILL_BACKWARDS = 1;
122
123 static final int FILL_BOTH = 3;
124
125 static final int FILL_FORWARDS = 2;
126
127 static final int FILL_NONE = 0;
128
129 num get delay(); 120 num get delay();
130 121
131 int get direction(); 122 int get direction();
132 123
133 num get duration(); 124 num get duration();
134 125
135 num get elapsedTime(); 126 num get elapsedTime();
136 127
137 void set elapsedTime(num value); 128 void set elapsedTime(num value);
138 129
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 } 209 }
219 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 210 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
220 // for details. All rights reserved. Use of this source code is governed by a 211 // for details. All rights reserved. Use of this source code is governed by a
221 // BSD-style license that can be found in the LICENSE file. 212 // BSD-style license that can be found in the LICENSE file.
222 213
223 // WARNING: Do not edit - generated code. 214 // WARNING: Do not edit - generated code.
224 215
225 interface ArrayBuffer { 216 interface ArrayBuffer {
226 217
227 int get byteLength(); 218 int get byteLength();
219
220 ArrayBuffer slice(int begin, [int end]);
228 } 221 }
229 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 222 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
230 // for details. All rights reserved. Use of this source code is governed by a 223 // 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. 224 // BSD-style license that can be found in the LICENSE file.
232 225
233 // WARNING: Do not edit - generated code. 226 // WARNING: Do not edit - generated code.
234 227
235 interface ArrayBufferView { 228 interface ArrayBufferView {
236 229
237 ArrayBuffer get buffer(); 230 ArrayBuffer get buffer();
238 231
239 int get byteLength(); 232 int get byteLength();
240 233
241 int get byteOffset(); 234 int get byteOffset();
242 } 235 }
243 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 236 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
244 // for details. All rights reserved. Use of this source code is governed by a 237 // 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. 238 // BSD-style license that can be found in the LICENSE file.
246 239
247 // WARNING: Do not edit - generated code. 240 // WARNING: Do not edit - generated code.
248 241
242 interface AudioBuffer {
243
244 num get duration();
245
246 num get gain();
247
248 void set gain(num value);
249
250 int get length();
251
252 int get numberOfChannels();
253
254 num get sampleRate();
255
256 Float32Array getChannelData(int channelIndex);
257 }
258 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
259 // for details. All rights reserved. Use of this source code is governed by a
260 // BSD-style license that can be found in the LICENSE file.
261
262 // WARNING: Do not edit - generated code.
263
264 typedef bool AudioBufferCallback(AudioBuffer audioBuffer);
265 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
266 // for details. All rights reserved. Use of this source code is governed by a
267 // BSD-style license that can be found in the LICENSE file.
268
269 // WARNING: Do not edit - generated code.
270
271 interface AudioBufferSourceNode extends AudioSourceNode {
272
273 AudioBuffer get buffer();
274
275 void set buffer(AudioBuffer value);
276
277 AudioGain get gain();
278
279 bool get loop();
280
281 void set loop(bool value);
282
283 bool get looping();
284
285 void set looping(bool value);
286
287 AudioParam get playbackRate();
288
289 void noteGrainOn(num when, num grainOffset, num grainDuration);
290
291 void noteOff(num when);
292
293 void noteOn(num when);
294 }
295 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
296 // for details. All rights reserved. Use of this source code is governed by a
297 // BSD-style license that can be found in the LICENSE file.
298
299 // WARNING: Do not edit - generated code.
300
301 interface AudioChannelMerger extends AudioNode {
302 }
303 // Copyright (c) 2011, 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 AudioChannelSplitter extends AudioNode {
310 }
311 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
312 // for details. All rights reserved. Use of this source code is governed by a
313 // BSD-style license that can be found in the LICENSE file.
314
315 // WARNING: Do not edit - generated code.
316
317 interface AudioContext {
318
319 num get currentTime();
320
321 AudioDestinationNode get destination();
322
323 AudioListener get listener();
324
325 num get sampleRate();
326
327 RealtimeAnalyserNode createAnalyser();
328
329 BiquadFilterNode createBiquadFilter();
330
331 AudioBuffer createBuffer();
332
333 AudioBufferSourceNode createBufferSource();
334
335 AudioChannelMerger createChannelMerger();
336
337 AudioChannelSplitter createChannelSplitter();
338
339 ConvolverNode createConvolver();
340
341 DelayNode createDelayNode();
342
343 DynamicsCompressorNode createDynamicsCompressor();
344
345 AudioGainNode createGainNode();
346
347 HighPass2FilterNode createHighPass2Filter();
348
349 JavaScriptAudioNode createJavaScriptNode(int bufferSize);
350
351 LowPass2FilterNode createLowPass2Filter();
352
353 AudioPannerNode createPanner();
354
355 WaveShaperNode createWaveShaper();
356
357 void decodeAudioData(ArrayBuffer audioData, AudioBufferCallback successCallbac k, [AudioBufferCallback errorCallback]);
358
359 void startRendering();
360 }
361 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
362 // for details. All rights reserved. Use of this source code is governed by a
363 // BSD-style license that can be found in the LICENSE file.
364
365 // WARNING: Do not edit - generated code.
366
367 interface AudioDestinationNode extends AudioNode {
368
369 int get numberOfChannels();
370 }
371 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
372 // for details. All rights reserved. Use of this source code is governed by a
373 // BSD-style license that can be found in the LICENSE file.
374
375 // WARNING: Do not edit - generated code.
376
249 interface AudioElement extends MediaElement { 377 interface AudioElement extends MediaElement {
250 } 378 }
251 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 379 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
252 // for details. All rights reserved. Use of this source code is governed by a 380 // for details. All rights reserved. Use of this source code is governed by a
253 // BSD-style license that can be found in the LICENSE file. 381 // BSD-style license that can be found in the LICENSE file.
254 382
255 // WARNING: Do not edit - generated code. 383 // WARNING: Do not edit - generated code.
256 384
385 interface AudioGain extends AudioParam {
386 }
387 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
388 // for details. All rights reserved. Use of this source code is governed by a
389 // BSD-style license that can be found in the LICENSE file.
390
391 // WARNING: Do not edit - generated code.
392
393 interface AudioGainNode extends AudioNode {
394
395 AudioGain get gain();
396 }
397 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
398 // for details. All rights reserved. Use of this source code is governed by a
399 // BSD-style license that can be found in the LICENSE file.
400
401 // WARNING: Do not edit - generated code.
402
403 interface AudioListener {
404
405 num get dopplerFactor();
406
407 void set dopplerFactor(num value);
408
409 num get speedOfSound();
410
411 void set speedOfSound(num value);
412
413 void setOrientation(num x, num y, num z, num xUp, num yUp, num zUp);
414
415 void setPosition(num x, num y, num z);
416
417 void setVelocity(num x, num y, num z);
418 }
419 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
420 // for details. All rights reserved. Use of this source code is governed by a
421 // BSD-style license that can be found in the LICENSE file.
422
423 // WARNING: Do not edit - generated code.
424
425 interface AudioNode {
426
427 AudioContext get context();
428
429 int get numberOfInputs();
430
431 int get numberOfOutputs();
432
433 void connect(AudioNode destination, [int output, int input]);
434
435 void disconnect([int output]);
436 }
437 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
438 // for details. All rights reserved. Use of this source code is governed by a
439 // BSD-style license that can be found in the LICENSE file.
440
441 // WARNING: Do not edit - generated code.
442
443 interface AudioPannerNode extends AudioNode {
444
445 static final int EQUALPOWER = 0;
446
447 static final int HRTF = 1;
448
449 static final int SOUNDFIELD = 2;
450
451 AudioGain get coneGain();
452
453 num get coneInnerAngle();
454
455 void set coneInnerAngle(num value);
456
457 num get coneOuterAngle();
458
459 void set coneOuterAngle(num value);
460
461 num get coneOuterGain();
462
463 void set coneOuterGain(num value);
464
465 AudioGain get distanceGain();
466
467 int get distanceModel();
468
469 void set distanceModel(int value);
470
471 num get maxDistance();
472
473 void set maxDistance(num value);
474
475 int get panningModel();
476
477 void set panningModel(int value);
478
479 num get refDistance();
480
481 void set refDistance(num value);
482
483 num get rolloffFactor();
484
485 void set rolloffFactor(num value);
486
487 void setOrientation(num x, num y, num z);
488
489 void setPosition(num x, num y, num z);
490
491 void setVelocity(num x, num y, num z);
492 }
493 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
494 // for details. All rights reserved. Use of this source code is governed by a
495 // BSD-style license that can be found in the LICENSE file.
496
497 // WARNING: Do not edit - generated code.
498
499 interface AudioParam {
500
501 num get defaultValue();
502
503 num get maxValue();
504
505 num get minValue();
506
507 String get name();
508
509 int get units();
510
511 num get value();
512
513 void set value(num value);
514
515 void cancelScheduledValues(num startTime);
516
517 void exponentialRampToValueAtTime(num value, num time);
518
519 void linearRampToValueAtTime(num value, num time);
520
521 void setTargetValueAtTime(num targetValue, num time, num timeConstant);
522
523 void setValueAtTime(num value, num time);
524
525 void setValueCurveAtTime(Float32Array values, num time, num duration);
526 }
527 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
528 // for details. All rights reserved. Use of this source code is governed by a
529 // BSD-style license that can be found in the LICENSE file.
530
531 // WARNING: Do not edit - generated code.
532
533 interface AudioProcessingEvent extends Event {
534
535 AudioBuffer get inputBuffer();
536
537 AudioBuffer get outputBuffer();
538 }
539 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
540 // for details. All rights reserved. Use of this source code is governed by a
541 // BSD-style license that can be found in the LICENSE file.
542
543 // WARNING: Do not edit - generated code.
544
545 interface AudioSourceNode extends AudioNode {
546 }
547 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
548 // for details. All rights reserved. Use of this source code is governed by a
549 // BSD-style license that can be found in the LICENSE file.
550
551 // WARNING: Do not edit - generated code.
552
257 interface BRElement extends Element { 553 interface BRElement extends Element {
258 554
259 String get clear(); 555 String get clear();
260 556
261 void set clear(String value); 557 void set clear(String value);
262 } 558 }
263 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 559 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
264 // for details. All rights reserved. Use of this source code is governed by a 560 // for details. All rights reserved. Use of this source code is governed by a
265 // BSD-style license that can be found in the LICENSE file. 561 // BSD-style license that can be found in the LICENSE file.
266 562
(...skipping 18 matching lines...) Expand all
285 String get target(); 581 String get target();
286 582
287 void set target(String value); 583 void set target(String value);
288 } 584 }
289 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 585 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
290 // for details. All rights reserved. Use of this source code is governed by a 586 // for details. All rights reserved. Use of this source code is governed by a
291 // BSD-style license that can be found in the LICENSE file. 587 // BSD-style license that can be found in the LICENSE file.
292 588
293 // WARNING: Do not edit - generated code. 589 // WARNING: Do not edit - generated code.
294 590
591 interface BiquadFilterNode extends AudioNode {
592
593 static final int ALLPASS = 7;
594
595 static final int BANDPASS = 2;
596
597 static final int HIGHPASS = 1;
598
599 static final int HIGHSHELF = 4;
600
601 static final int LOWPASS = 0;
602
603 static final int LOWSHELF = 3;
604
605 static final int NOTCH = 6;
606
607 static final int PEAKING = 5;
608
609 AudioParam get Q();
610
611 AudioParam get frequency();
612
613 AudioParam get gain();
614
615 int get type();
616
617 void set type(int value);
618 }
619 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
620 // for details. All rights reserved. Use of this source code is governed by a
621 // BSD-style license that can be found in the LICENSE file.
622
623 // WARNING: Do not edit - generated code.
624
295 interface Blob { 625 interface Blob {
296 626
297 int get size(); 627 int get size();
298 628
299 String get type(); 629 String get type();
300 } 630 }
301 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 631 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
302 // for details. All rights reserved. Use of this source code is governed by a 632 // for details. All rights reserved. Use of this source code is governed by a
303 // BSD-style license that can be found in the LICENSE file. 633 // BSD-style license that can be found in the LICENSE file.
304 634
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
453 CSSKeyframeRule findRule(String key); 783 CSSKeyframeRule findRule(String key);
454 784
455 void insertRule(String rule); 785 void insertRule(String rule);
456 } 786 }
457 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 787 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
458 // for details. All rights reserved. Use of this source code is governed by a 788 // for details. All rights reserved. Use of this source code is governed by a
459 // BSD-style license that can be found in the LICENSE file. 789 // BSD-style license that can be found in the LICENSE file.
460 790
461 // WARNING: Do not edit - generated code. 791 // WARNING: Do not edit - generated code.
462 792
463 interface CSSMatrix factory CSSMatrixFactoryProvider { 793 interface CSSMatrix factory _CSSMatrixFactoryProvider {
464 794
465 CSSMatrix([String spec]); 795 CSSMatrix([String spec]);
466 796
467 num get a(); 797 num get a();
468 798
469 void set a(num value); 799 void set a(num value);
470 800
471 num get b(); 801 num get b();
472 802
473 void set b(num value); 803 void set b(num value);
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
697 static final int PAGE_RULE = 6; 1027 static final int PAGE_RULE = 6;
698 1028
699 static final int STYLE_RULE = 1; 1029 static final int STYLE_RULE = 1;
700 1030
701 static final int UNKNOWN_RULE = 0; 1031 static final int UNKNOWN_RULE = 0;
702 1032
703 static final int WEBKIT_KEYFRAMES_RULE = 8; 1033 static final int WEBKIT_KEYFRAMES_RULE = 8;
704 1034
705 static final int WEBKIT_KEYFRAME_RULE = 9; 1035 static final int WEBKIT_KEYFRAME_RULE = 9;
706 1036
1037 static final int WEBKIT_REGION_STYLE_RULE = 10;
1038
707 String get cssText(); 1039 String get cssText();
708 1040
709 void set cssText(String value); 1041 void set cssText(String value);
710 1042
711 CSSRule get parentRule(); 1043 CSSRule get parentRule();
712 1044
713 CSSStyleSheet get parentStyleSheet(); 1045 CSSStyleSheet get parentStyleSheet();
714 1046
715 int get type(); 1047 int get type();
716 } 1048 }
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
763 void removeRule(int index); 1095 void removeRule(int index);
764 } 1096 }
765 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1097 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
766 // for details. All rights reserved. Use of this source code is governed by a 1098 // for details. All rights reserved. Use of this source code is governed by a
767 // BSD-style license that can be found in the LICENSE file. 1099 // BSD-style license that can be found in the LICENSE file.
768 1100
769 // WARNING: Do not edit - generated code. 1101 // WARNING: Do not edit - generated code.
770 1102
771 interface CSSTransformValue extends CSSValueList { 1103 interface CSSTransformValue extends CSSValueList {
772 1104
773 static final int CSS_MATRIX = 11;
774
775 static final int CSS_MATRIX3D = 21;
776
777 static final int CSS_PERSPECTIVE = 20;
778
779 static final int CSS_ROTATE = 4;
780
781 static final int CSS_ROTATE3D = 17;
782
783 static final int CSS_ROTATEX = 14;
784
785 static final int CSS_ROTATEY = 15;
786
787 static final int CSS_ROTATEZ = 16;
788
789 static final int CSS_SCALE = 5;
790
791 static final int CSS_SCALE3D = 19;
792
793 static final int CSS_SCALEX = 6;
794
795 static final int CSS_SCALEY = 7;
796
797 static final int CSS_SCALEZ = 18;
798
799 static final int CSS_SKEW = 8;
800
801 static final int CSS_SKEWX = 9;
802
803 static final int CSS_SKEWY = 10;
804
805 static final int CSS_TRANSLATE = 1;
806
807 static final int CSS_TRANSLATE3D = 13;
808
809 static final int CSS_TRANSLATEX = 2;
810
811 static final int CSS_TRANSLATEY = 3;
812
813 static final int CSS_TRANSLATEZ = 12;
814
815 int get operationType(); 1105 int get operationType();
816 } 1106 }
817 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1107 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
818 // for details. All rights reserved. Use of this source code is governed by a 1108 // for details. All rights reserved. Use of this source code is governed by a
819 // BSD-style license that can be found in the LICENSE file. 1109 // BSD-style license that can be found in the LICENSE file.
820 1110
821 // WARNING: Do not edit - generated code. 1111 // WARNING: Do not edit - generated code.
822 1112
823 interface CSSUnknownRule extends CSSRule { 1113 interface CSSUnknownRule extends CSSRule {
824 } 1114 }
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
896 } 1186 }
897 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1187 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
898 // for details. All rights reserved. Use of this source code is governed by a 1188 // for details. All rights reserved. Use of this source code is governed by a
899 // BSD-style license that can be found in the LICENSE file. 1189 // BSD-style license that can be found in the LICENSE file.
900 1190
901 // WARNING: Do not edit - generated code. 1191 // WARNING: Do not edit - generated code.
902 1192
903 interface CanvasPixelArray extends List<int> { 1193 interface CanvasPixelArray extends List<int> {
904 1194
905 int get length(); 1195 int get length();
906
907 int item(int index);
908 } 1196 }
909 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1197 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
910 // for details. All rights reserved. Use of this source code is governed by a 1198 // for details. All rights reserved. Use of this source code is governed by a
911 // BSD-style license that can be found in the LICENSE file. 1199 // BSD-style license that can be found in the LICENSE file.
912 1200
913 // WARNING: Do not edit - generated code. 1201 // WARNING: Do not edit - generated code.
914 1202
915 interface CanvasRenderingContext { 1203 interface CanvasRenderingContext {
916 1204
917 CanvasElement get canvas(); 1205 CanvasElement get canvas();
918 } 1206 }
919 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1207 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
920 // for details. All rights reserved. Use of this source code is governed by a 1208 // for details. All rights reserved. Use of this source code is governed by a
921 // BSD-style license that can be found in the LICENSE file. 1209 // BSD-style license that can be found in the LICENSE file.
922 1210
923 // WARNING: Do not edit - generated code. 1211 // WARNING: Do not edit - generated code.
924 1212
925 interface CanvasRenderingContext2D extends CanvasRenderingContext { 1213 interface CanvasRenderingContext2D extends CanvasRenderingContext {
926 1214
1215 Object get fillStyle();
1216
1217 void set fillStyle(Object value);
1218
927 String get font(); 1219 String get font();
928 1220
929 void set font(String value); 1221 void set font(String value);
930 1222
931 num get globalAlpha(); 1223 num get globalAlpha();
932 1224
933 void set globalAlpha(num value); 1225 void set globalAlpha(num value);
934 1226
935 String get globalCompositeOperation(); 1227 String get globalCompositeOperation();
936 1228
(...skipping 24 matching lines...) Expand all
961 void set shadowColor(String value); 1253 void set shadowColor(String value);
962 1254
963 num get shadowOffsetX(); 1255 num get shadowOffsetX();
964 1256
965 void set shadowOffsetX(num value); 1257 void set shadowOffsetX(num value);
966 1258
967 num get shadowOffsetY(); 1259 num get shadowOffsetY();
968 1260
969 void set shadowOffsetY(num value); 1261 void set shadowOffsetY(num value);
970 1262
1263 Object get strokeStyle();
1264
1265 void set strokeStyle(Object value);
1266
971 String get textAlign(); 1267 String get textAlign();
972 1268
973 void set textAlign(String value); 1269 void set textAlign(String value);
974 1270
975 String get textBaseline(); 1271 String get textBaseline();
976 1272
977 void set textBaseline(String value); 1273 void set textBaseline(String value);
978 1274
1275 List get webkitLineDash();
1276
1277 void set webkitLineDash(List value);
1278
1279 num get webkitLineDashOffset();
1280
1281 void set webkitLineDashOffset(num value);
1282
979 void arc(num x, num y, num radius, num startAngle, num endAngle, bool anticloc kwise); 1283 void arc(num x, num y, num radius, num startAngle, num endAngle, bool anticloc kwise);
980 1284
981 void arcTo(num x1, num y1, num x2, num y2, num radius); 1285 void arcTo(num x1, num y1, num x2, num y2, num radius);
982 1286
983 void beginPath(); 1287 void beginPath();
984 1288
985 void bezierCurveTo(num cp1x, num cp1y, num cp2x, num cp2y, num x, num y); 1289 void bezierCurveTo(num cp1x, num cp1y, num cp2x, num cp2y, num x, num y);
986 1290
987 void clearRect(num x, num y, num width, num height); 1291 void clearRect(num x, num y, num width, num height);
988 1292
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
1033 void save(); 1337 void save();
1034 1338
1035 void scale(num sx, num sy); 1339 void scale(num sx, num sy);
1036 1340
1037 void setAlpha(num alpha); 1341 void setAlpha(num alpha);
1038 1342
1039 void setCompositeOperation(String compositeOperation); 1343 void setCompositeOperation(String compositeOperation);
1040 1344
1041 void setFillColor(var c_OR_color_OR_grayLevel_OR_r, [num alpha_OR_g_OR_m, num b_OR_y, num a_OR_k, num a]); 1345 void setFillColor(var c_OR_color_OR_grayLevel_OR_r, [num alpha_OR_g_OR_m, num b_OR_y, num a_OR_k, num a]);
1042 1346
1043 void setFillStyle(var color_OR_gradient_OR_pattern);
1044
1045 void setLineCap(String cap); 1347 void setLineCap(String cap);
1046 1348
1047 void setLineJoin(String join); 1349 void setLineJoin(String join);
1048 1350
1049 void setLineWidth(num width); 1351 void setLineWidth(num width);
1050 1352
1051 void setMiterLimit(num limit); 1353 void setMiterLimit(num limit);
1052 1354
1053 void setShadow(num width, num height, num blur, [var c_OR_color_OR_grayLevel_O R_r, num alpha_OR_g_OR_m, num b_OR_y, num a_OR_k, num a]); 1355 void setShadow(num width, num height, num blur, [var c_OR_color_OR_grayLevel_O R_r, num alpha_OR_g_OR_m, num b_OR_y, num a_OR_k, num a]);
1054 1356
1055 void setStrokeColor(var c_OR_color_OR_grayLevel_OR_r, [num alpha_OR_g_OR_m, nu m b_OR_y, num a_OR_k, num a]); 1357 void setStrokeColor(var c_OR_color_OR_grayLevel_OR_r, [num alpha_OR_g_OR_m, nu m b_OR_y, num a_OR_k, num a]);
1056 1358
1057 void setStrokeStyle(var color_OR_gradient_OR_pattern);
1058
1059 void setTransform(num m11, num m12, num m21, num m22, num dx, num dy); 1359 void setTransform(num m11, num m12, num m21, num m22, num dx, num dy);
1060 1360
1061 void stroke(); 1361 void stroke();
1062 1362
1063 void strokeRect(num x, num y, num width, num height, [num lineWidth]); 1363 void strokeRect(num x, num y, num width, num height, [num lineWidth]);
1064 1364
1065 void strokeText(String text, num x, num y, [num maxWidth]); 1365 void strokeText(String text, num x, num y, [num maxWidth]);
1066 1366
1067 void transform(num m11, num m12, num m21, num m22, num dx, num dy); 1367 void transform(num m11, num m12, num m21, num m22, num dx, num dy);
1068 1368
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
1111 num get top(); 1411 num get top();
1112 1412
1113 num get width(); 1413 num get width();
1114 } 1414 }
1115 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1415 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
1116 // for details. All rights reserved. Use of this source code is governed by a 1416 // for details. All rights reserved. Use of this source code is governed by a
1117 // BSD-style license that can be found in the LICENSE file. 1417 // BSD-style license that can be found in the LICENSE file.
1118 1418
1119 // WARNING: Do not edit - generated code. 1419 // WARNING: Do not edit - generated code.
1120 1420
1421 interface ClientRectList {
1422
1423 int get length();
1424
1425 ClientRect item(int index);
1426 }
1427 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
1428 // for details. All rights reserved. Use of this source code is governed by a
1429 // BSD-style license that can be found in the LICENSE file.
1430
1431 // WARNING: Do not edit - generated code.
1432
1121 interface Clipboard { 1433 interface Clipboard {
1122 1434
1123 String get dropEffect(); 1435 String get dropEffect();
1124 1436
1125 void set dropEffect(String value); 1437 void set dropEffect(String value);
1126 1438
1127 String get effectAllowed(); 1439 String get effectAllowed();
1128 1440
1129 void set effectAllowed(String value); 1441 void set effectAllowed(String value);
1130 1442
1131 FileList get files(); 1443 FileList get files();
1132 1444
1133 DataTransferItems get items(); 1445 DataTransferItemList get items();
1446
1447 List get types();
1134 1448
1135 void clearData([String type]); 1449 void clearData([String type]);
1136 1450
1137 void getData(String type); 1451 void getData(String type);
1138 1452
1139 bool setData(String type, String data); 1453 bool setData(String type, String data);
1140 1454
1141 void setDragImage(ImageElement image, int x, int y); 1455 void setDragImage(ImageElement image, int x, int y);
1142 } 1456 }
1143 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1457 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
1187 void trace(Object arg); 1501 void trace(Object arg);
1188 1502
1189 void warn(Object arg); 1503 void warn(Object arg);
1190 } 1504 }
1191 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1505 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
1192 // for details. All rights reserved. Use of this source code is governed by a 1506 // for details. All rights reserved. Use of this source code is governed by a
1193 // BSD-style license that can be found in the LICENSE file. 1507 // BSD-style license that can be found in the LICENSE file.
1194 1508
1195 // WARNING: Do not edit - generated code. 1509 // WARNING: Do not edit - generated code.
1196 1510
1511 interface ConvolverNode extends AudioNode {
1512
1513 AudioBuffer get buffer();
1514
1515 void set buffer(AudioBuffer value);
1516 }
1517 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
1518 // for details. All rights reserved. Use of this source code is governed by a
1519 // BSD-style license that can be found in the LICENSE file.
1520
1521 // WARNING: Do not edit - generated code.
1522
1197 interface Coordinates { 1523 interface Coordinates {
1198 1524
1199 num get accuracy(); 1525 num get accuracy();
1200 1526
1201 num get altitude(); 1527 num get altitude();
1202 1528
1203 num get altitudeAccuracy(); 1529 num get altitudeAccuracy();
1204 1530
1205 num get heading(); 1531 num get heading();
1206 1532
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
1302 1628
1303 static final int VALIDATION_ERR = 16; 1629 static final int VALIDATION_ERR = 16;
1304 1630
1305 static final int WRONG_DOCUMENT_ERR = 4; 1631 static final int WRONG_DOCUMENT_ERR = 4;
1306 1632
1307 int get code(); 1633 int get code();
1308 1634
1309 String get message(); 1635 String get message();
1310 1636
1311 String get name(); 1637 String get name();
1638
1639 String toString();
1312 } 1640 }
1313 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1641 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
1314 // for details. All rights reserved. Use of this source code is governed by a 1642 // for details. All rights reserved. Use of this source code is governed by a
1315 // BSD-style license that can be found in the LICENSE file. 1643 // BSD-style license that can be found in the LICENSE file.
1316 1644
1317 // WARNING: Do not edit - generated code. 1645 // WARNING: Do not edit - generated code.
1318 1646
1319 interface DOMFileSystem { 1647 interface DOMFileSystem {
1320 1648
1321 String get name(); 1649 String get name();
(...skipping 13 matching lines...) Expand all
1335 DirectoryEntrySync get root(); 1663 DirectoryEntrySync get root();
1336 } 1664 }
1337 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1665 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
1338 // for details. All rights reserved. Use of this source code is governed by a 1666 // for details. All rights reserved. Use of this source code is governed by a
1339 // BSD-style license that can be found in the LICENSE file. 1667 // BSD-style license that can be found in the LICENSE file.
1340 1668
1341 // WARNING: Do not edit - generated code. 1669 // WARNING: Do not edit - generated code.
1342 1670
1343 interface DOMFormData { 1671 interface DOMFormData {
1344 1672
1345 void append(String name, String value); 1673 void append(String name, String value, String filename);
1346 } 1674 }
1347 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1675 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
1348 // for details. All rights reserved. Use of this source code is governed by a 1676 // for details. All rights reserved. Use of this source code is governed by a
1349 // BSD-style license that can be found in the LICENSE file. 1677 // BSD-style license that can be found in the LICENSE file.
1350 1678
1351 // WARNING: Do not edit - generated code. 1679 // WARNING: Do not edit - generated code.
1352 1680
1353 interface DOMMimeType { 1681 interface DOMMimeType {
1354 1682
1355 String get description(); 1683 String get description();
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
1470 1798
1471 void modify(String alter, String direction, String granularity); 1799 void modify(String alter, String direction, String granularity);
1472 1800
1473 void removeAllRanges(); 1801 void removeAllRanges();
1474 1802
1475 void selectAllChildren(Node node); 1803 void selectAllChildren(Node node);
1476 1804
1477 void setBaseAndExtent(Node baseNode, int baseOffset, Node extentNode, int exte ntOffset); 1805 void setBaseAndExtent(Node baseNode, int baseOffset, Node extentNode, int exte ntOffset);
1478 1806
1479 void setPosition(Node node, int offset); 1807 void setPosition(Node node, int offset);
1808
1809 String toString();
1480 } 1810 }
1481 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1811 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
1482 // for details. All rights reserved. Use of this source code is governed by a 1812 // for details. All rights reserved. Use of this source code is governed by a
1483 // BSD-style license that can be found in the LICENSE file. 1813 // BSD-style license that can be found in the LICENSE file.
1484 1814
1485 // WARNING: Do not edit - generated code. 1815 // WARNING: Do not edit - generated code.
1486 1816
1487 interface DOMSettableTokenList extends DOMTokenList { 1817 interface DOMSettableTokenList extends DOMTokenList {
1488 1818
1489 String get value(); 1819 String get value();
(...skipping 11 matching lines...) Expand all
1501 int get length(); 1831 int get length();
1502 1832
1503 void add(String token); 1833 void add(String token);
1504 1834
1505 bool contains(String token); 1835 bool contains(String token);
1506 1836
1507 String item(int index); 1837 String item(int index);
1508 1838
1509 void remove(String token); 1839 void remove(String token);
1510 1840
1841 String toString();
1842
1511 bool toggle(String token); 1843 bool toggle(String token);
1512 } 1844 }
1513 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1845 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
1514 // for details. All rights reserved. Use of this source code is governed by a 1846 // for details. All rights reserved. Use of this source code is governed by a
1515 // BSD-style license that can be found in the LICENSE file. 1847 // BSD-style license that can be found in the LICENSE file.
1516 1848
1517 // WARNING: Do not edit - generated code. 1849 // WARNING: Do not edit - generated code.
1518 1850
1519 interface DOMURL { 1851 interface DOMURL {
1520 1852
(...skipping 26 matching lines...) Expand all
1547 Blob getAsFile(); 1879 Blob getAsFile();
1548 1880
1549 void getAsString(StringCallback callback); 1881 void getAsString(StringCallback callback);
1550 } 1882 }
1551 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1883 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
1552 // for details. All rights reserved. Use of this source code is governed by a 1884 // 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. 1885 // BSD-style license that can be found in the LICENSE file.
1554 1886
1555 // WARNING: Do not edit - generated code. 1887 // WARNING: Do not edit - generated code.
1556 1888
1557 interface DataTransferItems { 1889 interface DataTransferItemList {
1558 1890
1559 int get length(); 1891 int get length();
1560 1892
1561 void add(String data, String type); 1893 void add(String data, String type);
1562 1894
1563 void clear(); 1895 void clear();
1564 1896
1565 DataTransferItem item(int index); 1897 DataTransferItem item(int index);
1566 } 1898 }
1567 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1899 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
1603 void setUint32(int byteOffset, int value, [bool littleEndian]); 1935 void setUint32(int byteOffset, int value, [bool littleEndian]);
1604 1936
1605 void setUint8(); 1937 void setUint8();
1606 } 1938 }
1607 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1939 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
1608 // for details. All rights reserved. Use of this source code is governed by a 1940 // for details. All rights reserved. Use of this source code is governed by a
1609 // BSD-style license that can be found in the LICENSE file. 1941 // BSD-style license that can be found in the LICENSE file.
1610 1942
1611 // WARNING: Do not edit - generated code. 1943 // WARNING: Do not edit - generated code.
1612 1944
1945 interface DelayNode extends AudioNode {
1946
1947 AudioParam get delayTime();
1948 }
1949 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
1950 // for details. All rights reserved. Use of this source code is governed by a
1951 // BSD-style license that can be found in the LICENSE file.
1952
1953 // WARNING: Do not edit - generated code.
1954
1613 interface DetailsElement extends Element { 1955 interface DetailsElement extends Element {
1614 1956
1615 bool get open(); 1957 bool get open();
1616 1958
1617 void set open(bool value); 1959 void set open(bool value);
1618 } 1960 }
1619 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1961 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
1620 // for details. All rights reserved. Use of this source code is governed by a 1962 // for details. All rights reserved. Use of this source code is governed by a
1621 // BSD-style license that can be found in the LICENSE file. 1963 // BSD-style license that can be found in the LICENSE file.
1622 1964
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
1679 String get align(); 2021 String get align();
1680 2022
1681 void set align(String value); 2023 void set align(String value);
1682 } 2024 }
1683 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 2025 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
1684 // for details. All rights reserved. Use of this source code is governed by a 2026 // for details. All rights reserved. Use of this source code is governed by a
1685 // BSD-style license that can be found in the LICENSE file. 2027 // BSD-style license that can be found in the LICENSE file.
1686 2028
1687 // WARNING: Do not edit - generated code. 2029 // WARNING: Do not edit - generated code.
1688 2030
2031 interface DynamicsCompressorNode extends AudioNode {
2032 }
2033 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2034 // for details. All rights reserved. Use of this source code is governed by a
2035 // BSD-style license that can be found in the LICENSE file.
2036
2037 // WARNING: Do not edit - generated code.
2038
2039 interface ElementTimeControl {
2040
2041 void beginElement();
2042
2043 void beginElementAt(num offset);
2044
2045 void endElement();
2046
2047 void endElementAt(num offset);
2048 }
2049 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2050 // for details. All rights reserved. Use of this source code is governed by a
2051 // BSD-style license that can be found in the LICENSE file.
2052
2053 // WARNING: Do not edit - generated code.
2054
1689 interface EmbedElement extends Element { 2055 interface EmbedElement extends Element {
1690 2056
1691 String get align(); 2057 String get align();
1692 2058
1693 void set align(String value); 2059 void set align(String value);
1694 2060
1695 int get height(); 2061 String get height();
1696 2062
1697 void set height(int value); 2063 void set height(String value);
1698 2064
1699 String get name(); 2065 String get name();
1700 2066
1701 void set name(String value); 2067 void set name(String value);
1702 2068
1703 String get src(); 2069 String get src();
1704 2070
1705 void set src(String value); 2071 void set src(String value);
1706 2072
1707 String get type(); 2073 String get type();
1708 2074
1709 void set type(String value); 2075 void set type(String value);
1710 2076
1711 int get width(); 2077 String get width();
1712 2078
1713 void set width(int value); 2079 void set width(String value);
1714 } 2080 }
1715 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 2081 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
1716 // for details. All rights reserved. Use of this source code is governed by a 2082 // for details. All rights reserved. Use of this source code is governed by a
1717 // BSD-style license that can be found in the LICENSE file. 2083 // BSD-style license that can be found in the LICENSE file.
1718 2084
1719 // WARNING: Do not edit - generated code. 2085 // WARNING: Do not edit - generated code.
1720 2086
1721 interface Entity extends Node { 2087 interface Entity extends Node {
1722 2088
1723 String get notationName(); 2089 String get notationName();
1724 2090
1725 String get publicId(); 2091 String get publicId();
1726 2092
1727 String get systemId(); 2093 String get systemId();
1728 } 2094 }
1729 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 2095 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
1730 // for details. All rights reserved. Use of this source code is governed by a 2096 // for details. All rights reserved. Use of this source code is governed by a
1731 // BSD-style license that can be found in the LICENSE file. 2097 // BSD-style license that can be found in the LICENSE file.
1732 2098
1733 // WARNING: Do not edit - generated code. 2099 // WARNING: Do not edit - generated code.
1734 2100
1735 interface EntityReference extends Node { 2101 interface EntityReference extends Node {
1736 } 2102 }
1737 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 2103 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
1738 // for details. All rights reserved. Use of this source code is governed by a 2104 // for details. All rights reserved. Use of this source code is governed by a
1739 // BSD-style license that can be found in the LICENSE file. 2105 // BSD-style license that can be found in the LICENSE file.
1740 2106
1741 // WARNING: Do not edit - generated code. 2107 // WARNING: Do not edit - generated code.
1742 2108
1743 interface EntriesCallback { 2109 typedef bool EntriesCallback(EntryArray entries);
1744
1745 bool handleEvent(EntryArray entries);
1746 }
1747 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 2110 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
1748 // for details. All rights reserved. Use of this source code is governed by a 2111 // for details. All rights reserved. Use of this source code is governed by a
1749 // BSD-style license that can be found in the LICENSE file. 2112 // BSD-style license that can be found in the LICENSE file.
1750 2113
1751 // WARNING: Do not edit - generated code. 2114 // WARNING: Do not edit - generated code.
1752 2115
1753 interface Entry { 2116 interface Entry {
1754 2117
1755 DOMFileSystem get filesystem(); 2118 DOMFileSystem get filesystem();
1756 2119
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
1797 int get length(); 2160 int get length();
1798 2161
1799 EntrySync item(int index); 2162 EntrySync item(int index);
1800 } 2163 }
1801 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 2164 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
1802 // for details. All rights reserved. Use of this source code is governed by a 2165 // for details. All rights reserved. Use of this source code is governed by a
1803 // BSD-style license that can be found in the LICENSE file. 2166 // BSD-style license that can be found in the LICENSE file.
1804 2167
1805 // WARNING: Do not edit - generated code. 2168 // WARNING: Do not edit - generated code.
1806 2169
1807 interface EntryCallback { 2170 typedef bool EntryCallback(Entry entry);
1808
1809 bool handleEvent(Entry entry);
1810 }
1811 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 2171 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
1812 // for details. All rights reserved. Use of this source code is governed by a 2172 // for details. All rights reserved. Use of this source code is governed by a
1813 // BSD-style license that can be found in the LICENSE file. 2173 // BSD-style license that can be found in the LICENSE file.
1814 2174
1815 // WARNING: Do not edit - generated code. 2175 // WARNING: Do not edit - generated code.
1816 2176
1817 interface EntrySync { 2177 interface EntrySync {
1818 2178
1819 DOMFileSystemSync get filesystem(); 2179 DOMFileSystemSync get filesystem();
1820 2180
(...skipping 16 matching lines...) Expand all
1837 void remove(); 2197 void remove();
1838 2198
1839 String toURL(); 2199 String toURL();
1840 } 2200 }
1841 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 2201 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
1842 // for details. All rights reserved. Use of this source code is governed by a 2202 // for details. All rights reserved. Use of this source code is governed by a
1843 // BSD-style license that can be found in the LICENSE file. 2203 // BSD-style license that can be found in the LICENSE file.
1844 2204
1845 // WARNING: Do not edit - generated code. 2205 // WARNING: Do not edit - generated code.
1846 2206
1847 interface ErrorCallback { 2207 typedef bool ErrorCallback(FileError error);
1848
1849 bool handleEvent(FileError error);
1850 }
1851 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 2208 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
1852 // for details. All rights reserved. Use of this source code is governed by a 2209 // for details. All rights reserved. Use of this source code is governed by a
1853 // BSD-style license that can be found in the LICENSE file. 2210 // BSD-style license that can be found in the LICENSE file.
1854 2211
1855 // WARNING: Do not edit - generated code. 2212 // WARNING: Do not edit - generated code.
1856 2213
1857 interface EventException { 2214 interface EventException {
1858 2215
1859 static final int DISPATCH_REQUEST_ERR = 1; 2216 static final int DISPATCH_REQUEST_ERR = 1;
1860 2217
1861 static final int UNSPECIFIED_EVENT_TYPE_ERR = 0; 2218 static final int UNSPECIFIED_EVENT_TYPE_ERR = 0;
1862 2219
1863 int get code(); 2220 int get code();
1864 2221
1865 String get message(); 2222 String get message();
1866 2223
1867 String get name(); 2224 String get name();
2225
2226 String toString();
1868 } 2227 }
1869 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 2228 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
1870 // for details. All rights reserved. Use of this source code is governed by a 2229 // for details. All rights reserved. Use of this source code is governed by a
1871 // BSD-style license that can be found in the LICENSE file. 2230 // BSD-style license that can be found in the LICENSE file.
1872 2231
1873 // WARNING: Do not edit - generated code. 2232 // WARNING: Do not edit - generated code.
1874 2233
1875 interface FieldSetElement extends Element { 2234 interface FieldSetElement extends Element {
1876 2235
1877 FormElement get form(); 2236 FormElement get form();
(...skipping 23 matching lines...) Expand all
1901 Date get lastModifiedDate(); 2260 Date get lastModifiedDate();
1902 2261
1903 String get name(); 2262 String get name();
1904 } 2263 }
1905 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 2264 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
1906 // for details. All rights reserved. Use of this source code is governed by a 2265 // for details. All rights reserved. Use of this source code is governed by a
1907 // BSD-style license that can be found in the LICENSE file. 2266 // BSD-style license that can be found in the LICENSE file.
1908 2267
1909 // WARNING: Do not edit - generated code. 2268 // WARNING: Do not edit - generated code.
1910 2269
1911 interface FileCallback { 2270 typedef bool FileCallback(File file);
1912
1913 bool handleEvent(File file);
1914 }
1915 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 2271 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
1916 // for details. All rights reserved. Use of this source code is governed by a 2272 // for details. All rights reserved. Use of this source code is governed by a
1917 // BSD-style license that can be found in the LICENSE file. 2273 // BSD-style license that can be found in the LICENSE file.
1918 2274
1919 // WARNING: Do not edit - generated code. 2275 // WARNING: Do not edit - generated code.
1920 2276
1921 interface FileEntry extends Entry { 2277 interface FileEntry extends Entry {
1922 2278
1923 void createWriter(FileWriterCallback successCallback, [ErrorCallback errorCall back]); 2279 void createWriter(FileWriterCallback successCallback, [ErrorCallback errorCall back]);
1924 2280
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
2000 2356
2001 static final int SYNTAX_ERR = 8; 2357 static final int SYNTAX_ERR = 8;
2002 2358
2003 static final int TYPE_MISMATCH_ERR = 11; 2359 static final int TYPE_MISMATCH_ERR = 11;
2004 2360
2005 int get code(); 2361 int get code();
2006 2362
2007 String get message(); 2363 String get message();
2008 2364
2009 String get name(); 2365 String get name();
2366
2367 String toString();
2010 } 2368 }
2011 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 2369 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2012 // for details. All rights reserved. Use of this source code is governed by a 2370 // 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. 2371 // BSD-style license that can be found in the LICENSE file.
2014 2372
2015 // WARNING: Do not edit - generated code. 2373 // WARNING: Do not edit - generated code.
2016 2374
2017 interface FileList { 2375 interface FileList {
2018 2376
2019 int get length(); 2377 int get length();
2020 2378
2021 File item(int index); 2379 File item(int index);
2022 } 2380 }
2023 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 2381 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2024 // for details. All rights reserved. Use of this source code is governed by a 2382 // for details. All rights reserved. Use of this source code is governed by a
2025 // BSD-style license that can be found in the LICENSE file. 2383 // BSD-style license that can be found in the LICENSE file.
2026 2384
2027 // WARNING: Do not edit - generated code. 2385 // WARNING: Do not edit - generated code.
2028 2386
2029 interface FileReader factory FileReaderFactoryProvider { 2387 interface FileReader factory _FileReaderFactoryProvider {
2030 2388
2031 FileReader(); 2389 FileReader();
2032 2390
2033 static final int DONE = 2; 2391 static final int DONE = 2;
2034 2392
2035 static final int EMPTY = 0; 2393 static final int EMPTY = 0;
2036 2394
2037 static final int LOADING = 1; 2395 static final int LOADING = 1;
2038 2396
2039 FileError get error(); 2397 FileError get error();
2040 2398
2041 EventListener get onabort();
2042
2043 void set onabort(EventListener value);
2044
2045 EventListener get onerror();
2046
2047 void set onerror(EventListener value);
2048
2049 EventListener get onload();
2050
2051 void set onload(EventListener value);
2052
2053 EventListener get onloadend();
2054
2055 void set onloadend(EventListener value);
2056
2057 EventListener get onloadstart();
2058
2059 void set onloadstart(EventListener value);
2060
2061 EventListener get onprogress();
2062
2063 void set onprogress(EventListener value);
2064
2065 int get readyState(); 2399 int get readyState();
2066 2400
2067 String get result(); 2401 String get result();
2068 2402
2069 void abort(); 2403 void abort();
2070 2404
2071 void readAsArrayBuffer(Blob blob); 2405 void readAsArrayBuffer(Blob blob);
2072 2406
2073 void readAsBinaryString(Blob blob); 2407 void readAsBinaryString(Blob blob);
2074 2408
(...skipping 16 matching lines...) Expand all
2091 String readAsDataURL(Blob blob); 2425 String readAsDataURL(Blob blob);
2092 2426
2093 String readAsText(Blob blob, [String encoding]); 2427 String readAsText(Blob blob, [String encoding]);
2094 } 2428 }
2095 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 2429 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2096 // for details. All rights reserved. Use of this source code is governed by a 2430 // for details. All rights reserved. Use of this source code is governed by a
2097 // BSD-style license that can be found in the LICENSE file. 2431 // BSD-style license that can be found in the LICENSE file.
2098 2432
2099 // WARNING: Do not edit - generated code. 2433 // WARNING: Do not edit - generated code.
2100 2434
2101 interface FileSystemCallback { 2435 typedef bool FileSystemCallback(DOMFileSystem fileSystem);
2102
2103 bool handleEvent(DOMFileSystem fileSystem);
2104 }
2105 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 2436 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2106 // for details. All rights reserved. Use of this source code is governed by a 2437 // for details. All rights reserved. Use of this source code is governed by a
2107 // BSD-style license that can be found in the LICENSE file. 2438 // BSD-style license that can be found in the LICENSE file.
2108 2439
2109 // WARNING: Do not edit - generated code. 2440 // WARNING: Do not edit - generated code.
2110 2441
2111 interface FileWriter { 2442 interface FileWriter {
2112 2443
2113 static final int DONE = 2; 2444 static final int DONE = 2;
2114 2445
2115 static final int INIT = 0; 2446 static final int INIT = 0;
2116 2447
2117 static final int WRITING = 1; 2448 static final int WRITING = 1;
2118 2449
2119 FileError get error(); 2450 FileError get error();
2120 2451
2121 int get length(); 2452 int get length();
2122 2453
2123 EventListener get onabort();
2124
2125 void set onabort(EventListener value);
2126
2127 EventListener get onerror();
2128
2129 void set onerror(EventListener value);
2130
2131 EventListener get onprogress();
2132
2133 void set onprogress(EventListener value);
2134
2135 EventListener get onwrite();
2136
2137 void set onwrite(EventListener value);
2138
2139 EventListener get onwriteend();
2140
2141 void set onwriteend(EventListener value);
2142
2143 EventListener get onwritestart();
2144
2145 void set onwritestart(EventListener value);
2146
2147 int get position(); 2454 int get position();
2148 2455
2149 int get readyState(); 2456 int get readyState();
2150 2457
2151 void abort(); 2458 void abort();
2152 2459
2153 void seek(int position); 2460 void seek(int position);
2154 2461
2155 void truncate(int size); 2462 void truncate(int size);
2156 2463
2157 void write(Blob data); 2464 void write(Blob data);
2158 } 2465 }
2159 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 2466 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2160 // for details. All rights reserved. Use of this source code is governed by a 2467 // for details. All rights reserved. Use of this source code is governed by a
2161 // BSD-style license that can be found in the LICENSE file. 2468 // BSD-style license that can be found in the LICENSE file.
2162 2469
2163 // WARNING: Do not edit - generated code. 2470 // WARNING: Do not edit - generated code.
2164 2471
2165 interface FileWriterCallback { 2472 typedef bool FileWriterCallback(FileWriter fileWriter);
2166
2167 bool handleEvent(FileWriter fileWriter);
2168 }
2169 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 2473 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2170 // for details. All rights reserved. Use of this source code is governed by a 2474 // for details. All rights reserved. Use of this source code is governed by a
2171 // BSD-style license that can be found in the LICENSE file. 2475 // BSD-style license that can be found in the LICENSE file.
2172 2476
2173 // WARNING: Do not edit - generated code. 2477 // WARNING: Do not edit - generated code.
2174 2478
2175 interface FileWriterSync { 2479 interface FileWriterSync {
2176 2480
2177 int get length(); 2481 int get length();
2178 2482
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
2389 String get align(); 2693 String get align();
2390 2694
2391 void set align(String value); 2695 void set align(String value);
2392 } 2696 }
2393 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 2697 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2394 // for details. All rights reserved. Use of this source code is governed by a 2698 // for details. All rights reserved. Use of this source code is governed by a
2395 // BSD-style license that can be found in the LICENSE file. 2699 // BSD-style license that can be found in the LICENSE file.
2396 2700
2397 // WARNING: Do not edit - generated code. 2701 // WARNING: Do not edit - generated code.
2398 2702
2399 interface History { 2703 interface HighPass2FilterNode extends AudioNode {
2400 2704
2401 int get length(); 2705 AudioParam get cutoff();
2402 2706
2403 void back(); 2707 AudioParam get resonance();
2404
2405 void forward();
2406
2407 void go(int distance);
2408
2409 void pushState(Object data, String title, [String url]);
2410
2411 void replaceState(Object data, String title, [String url]);
2412 } 2708 }
2413 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 2709 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2414 // for details. All rights reserved. Use of this source code is governed by a 2710 // for details. All rights reserved. Use of this source code is governed by a
2415 // BSD-style license that can be found in the LICENSE file. 2711 // BSD-style license that can be found in the LICENSE file.
2416 2712
2417 // WARNING: Do not edit - generated code. 2713 // WARNING: Do not edit - generated code.
2418 2714
2419 interface HtmlElement extends Element { 2715 interface History {
2420 2716
2421 String get manifest(); 2717 int get length();
2422 2718
2423 void set manifest(String value); 2719 void back();
2424 2720
2425 String get version(); 2721 void forward();
2426 2722
2427 void set version(String value); 2723 void go(int distance);
2724
2725 void pushState(Object data, String title, [String url]);
2726
2727 void replaceState(Object data, String title, [String url]);
2428 } 2728 }
2429 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 2729 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2430 // for details. All rights reserved. Use of this source code is governed by a 2730 // for details. All rights reserved. Use of this source code is governed by a
2431 // BSD-style license that can be found in the LICENSE file. 2731 // BSD-style license that can be found in the LICENSE file.
2432 2732
2433 // WARNING: Do not edit - generated code. 2733 // WARNING: Do not edit - generated code.
2434 2734
2435 interface IDBAny { 2735 interface IDBAny {
2436 } 2736 }
2437 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 2737 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
(...skipping 27 matching lines...) Expand all
2465 IDBRequest update(String value); 2765 IDBRequest update(String value);
2466 } 2766 }
2467 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 2767 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2468 // for details. All rights reserved. Use of this source code is governed by a 2768 // for details. All rights reserved. Use of this source code is governed by a
2469 // BSD-style license that can be found in the LICENSE file. 2769 // BSD-style license that can be found in the LICENSE file.
2470 2770
2471 // WARNING: Do not edit - generated code. 2771 // WARNING: Do not edit - generated code.
2472 2772
2473 interface IDBCursorWithValue extends IDBCursor { 2773 interface IDBCursorWithValue extends IDBCursor {
2474 2774
2475 String get value(); 2775 IDBAny get value();
2476 } 2776 }
2477 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 2777 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2478 // for details. All rights reserved. Use of this source code is governed by a 2778 // for details. All rights reserved. Use of this source code is governed by a
2479 // BSD-style license that can be found in the LICENSE file. 2779 // BSD-style license that can be found in the LICENSE file.
2480 2780
2481 // WARNING: Do not edit - generated code. 2781 // WARNING: Do not edit - generated code.
2482 2782
2483 interface IDBDatabase { 2783 interface IDBDatabase {
2484 2784
2485 String get name(); 2785 String get name();
2486 2786
2487 EventListener get onabort();
2488
2489 void set onabort(EventListener value);
2490
2491 EventListener get onerror();
2492
2493 void set onerror(EventListener value);
2494
2495 EventListener get onversionchange();
2496
2497 void set onversionchange(EventListener value);
2498
2499 String get version(); 2787 String get version();
2500 2788
2501 void addEventListener(String type, EventListener listener, [bool useCapture]); 2789 void addEventListener(String type, EventListener listener, [bool useCapture]);
2502 2790
2503 void close(); 2791 void close();
2504 2792
2505 IDBObjectStore createObjectStore(String name); 2793 IDBObjectStore createObjectStore(String name);
2506 2794
2507 void deleteObjectStore(String name); 2795 void deleteObjectStore(String name);
2508 2796
2509 bool dispatchEvent(Event evt); 2797 bool dispatchEvent(Event evt);
2510 2798
2511 void removeEventListener(String type, EventListener listener, [bool useCapture ]); 2799 void removeEventListener(String type, EventListener listener, [bool useCapture ]);
2512 2800
2513 IDBVersionChangeRequest setVersion(String version); 2801 IDBVersionChangeRequest setVersion(String version);
2802
2803 IDBTransaction transaction(String storeName, int mode);
2514 } 2804 }
2515 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 2805 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2516 // for details. All rights reserved. Use of this source code is governed by a 2806 // for details. All rights reserved. Use of this source code is governed by a
2517 // BSD-style license that can be found in the LICENSE file. 2807 // BSD-style license that can be found in the LICENSE file.
2518 2808
2519 // WARNING: Do not edit - generated code. 2809 // WARNING: Do not edit - generated code.
2520 2810
2521 interface IDBDatabaseError { 2811 interface IDBDatabaseError {
2522 2812
2523 int get code(); 2813 int get code();
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
2562 2852
2563 static final int TRANSIENT_ERR = 9; 2853 static final int TRANSIENT_ERR = 9;
2564 2854
2565 static final int UNKNOWN_ERR = 1; 2855 static final int UNKNOWN_ERR = 1;
2566 2856
2567 int get code(); 2857 int get code();
2568 2858
2569 String get message(); 2859 String get message();
2570 2860
2571 String get name(); 2861 String get name();
2862
2863 String toString();
2572 } 2864 }
2573 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 2865 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2574 // for details. All rights reserved. Use of this source code is governed by a 2866 // for details. All rights reserved. Use of this source code is governed by a
2575 // BSD-style license that can be found in the LICENSE file. 2867 // BSD-style license that can be found in the LICENSE file.
2576 2868
2577 // WARNING: Do not edit - generated code. 2869 // WARNING: Do not edit - generated code.
2578 2870
2579 interface IDBFactory { 2871 interface IDBFactory {
2580 2872
2873 int cmp(IDBKey first, IDBKey second);
2874
2875 IDBVersionChangeRequest deleteDatabase(String name);
2876
2581 IDBRequest getDatabaseNames(); 2877 IDBRequest getDatabaseNames();
2582 2878
2583 IDBRequest open(String name); 2879 IDBRequest open(String name);
2584 } 2880 }
2585 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 2881 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2586 // for details. All rights reserved. Use of this source code is governed by a 2882 // 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. 2883 // BSD-style license that can be found in the LICENSE file.
2588 2884
2589 // WARNING: Do not edit - generated code. 2885 // WARNING: Do not edit - generated code.
2590 2886
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
2643 // BSD-style license that can be found in the LICENSE file. 2939 // BSD-style license that can be found in the LICENSE file.
2644 2940
2645 // WARNING: Do not edit - generated code. 2941 // WARNING: Do not edit - generated code.
2646 2942
2647 interface IDBObjectStore { 2943 interface IDBObjectStore {
2648 2944
2649 String get keyPath(); 2945 String get keyPath();
2650 2946
2651 String get name(); 2947 String get name();
2652 2948
2949 IDBTransaction get transaction();
2950
2653 IDBRequest add(String value, [IDBKey key]); 2951 IDBRequest add(String value, [IDBKey key]);
2654 2952
2655 IDBRequest clear(); 2953 IDBRequest clear();
2656 2954
2657 IDBIndex createIndex(String name, String keyPath); 2955 IDBIndex createIndex(String name, String keyPath);
2658 2956
2659 IDBRequest delete(IDBKey key); 2957 IDBRequest delete(IDBKey key);
2660 2958
2661 void deleteIndex(String name); 2959 void deleteIndex(String name);
2662 2960
(...skipping 12 matching lines...) Expand all
2675 // WARNING: Do not edit - generated code. 2973 // WARNING: Do not edit - generated code.
2676 2974
2677 interface IDBRequest { 2975 interface IDBRequest {
2678 2976
2679 static final int DONE = 2; 2977 static final int DONE = 2;
2680 2978
2681 static final int LOADING = 1; 2979 static final int LOADING = 1;
2682 2980
2683 int get errorCode(); 2981 int get errorCode();
2684 2982
2685 EventListener get onerror();
2686
2687 void set onerror(EventListener value);
2688
2689 EventListener get onsuccess();
2690
2691 void set onsuccess(EventListener value);
2692
2693 int get readyState(); 2983 int get readyState();
2694 2984
2695 IDBAny get result(); 2985 IDBAny get result();
2696 2986
2697 IDBAny get source(); 2987 IDBAny get source();
2698 2988
2699 IDBTransaction get transaction(); 2989 IDBTransaction get transaction();
2700 2990
2701 String get webkitErrorMessage(); 2991 String get webkitErrorMessage();
2702 2992
(...skipping 14 matching lines...) Expand all
2717 static final int READ_ONLY = 0; 3007 static final int READ_ONLY = 0;
2718 3008
2719 static final int READ_WRITE = 1; 3009 static final int READ_WRITE = 1;
2720 3010
2721 static final int VERSION_CHANGE = 2; 3011 static final int VERSION_CHANGE = 2;
2722 3012
2723 IDBDatabase get db(); 3013 IDBDatabase get db();
2724 3014
2725 int get mode(); 3015 int get mode();
2726 3016
2727 EventListener get onabort();
2728
2729 void set onabort(EventListener value);
2730
2731 EventListener get oncomplete();
2732
2733 void set oncomplete(EventListener value);
2734
2735 EventListener get onerror();
2736
2737 void set onerror(EventListener value);
2738
2739 void abort(); 3017 void abort();
2740 3018
2741 void addEventListener(String type, EventListener listener, [bool useCapture]); 3019 void addEventListener(String type, EventListener listener, [bool useCapture]);
2742 3020
2743 bool dispatchEvent(Event evt); 3021 bool dispatchEvent(Event evt);
2744 3022
2745 IDBObjectStore objectStore(String name); 3023 IDBObjectStore objectStore(String name);
2746 3024
2747 void removeEventListener(String type, EventListener listener, [bool useCapture ]); 3025 void removeEventListener(String type, EventListener listener, [bool useCapture ]);
2748 } 3026 }
2749 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 3027 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2750 // for details. All rights reserved. Use of this source code is governed by a 3028 // for details. All rights reserved. Use of this source code is governed by a
2751 // BSD-style license that can be found in the LICENSE file. 3029 // BSD-style license that can be found in the LICENSE file.
2752 3030
2753 // WARNING: Do not edit - generated code. 3031 // WARNING: Do not edit - generated code.
2754 3032
2755 interface IDBVersionChangeEvent extends Event { 3033 interface IDBVersionChangeEvent extends Event {
2756 3034
2757 String get version(); 3035 String get version();
2758 } 3036 }
2759 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 3037 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2760 // for details. All rights reserved. Use of this source code is governed by a 3038 // for details. All rights reserved. Use of this source code is governed by a
2761 // BSD-style license that can be found in the LICENSE file. 3039 // BSD-style license that can be found in the LICENSE file.
2762 3040
2763 // WARNING: Do not edit - generated code. 3041 // WARNING: Do not edit - generated code.
2764 3042
2765 interface IDBVersionChangeRequest extends IDBRequest { 3043 interface IDBVersionChangeRequest extends IDBRequest {
2766
2767 EventListener get onblocked();
2768
2769 void set onblocked(EventListener value);
2770 } 3044 }
2771 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 3045 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2772 // for details. All rights reserved. Use of this source code is governed by a 3046 // for details. All rights reserved. Use of this source code is governed by a
2773 // BSD-style license that can be found in the LICENSE file. 3047 // BSD-style license that can be found in the LICENSE file.
2774 3048
2775 // WARNING: Do not edit - generated code. 3049 // WARNING: Do not edit - generated code.
2776 3050
2777 interface IFrameElement extends Element { 3051 interface IFrameElement extends Element {
2778 3052
2779 String get align(); 3053 String get align();
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
3009 void set min(String value); 3283 void set min(String value);
3010 3284
3011 bool get multiple(); 3285 bool get multiple();
3012 3286
3013 void set multiple(bool value); 3287 void set multiple(bool value);
3014 3288
3015 String get name(); 3289 String get name();
3016 3290
3017 void set name(String value); 3291 void set name(String value);
3018 3292
3019 EventListener get onwebkitspeechchange();
3020
3021 void set onwebkitspeechchange(EventListener value);
3022
3023 String get pattern(); 3293 String get pattern();
3024 3294
3025 void set pattern(String value); 3295 void set pattern(String value);
3026 3296
3027 String get placeholder(); 3297 String get placeholder();
3028 3298
3029 void set placeholder(String value); 3299 void set placeholder(String value);
3030 3300
3031 bool get readOnly(); 3301 bool get readOnly();
3032 3302
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
3103 bool checkValidity(); 3373 bool checkValidity();
3104 3374
3105 void click(); 3375 void click();
3106 3376
3107 void select(); 3377 void select();
3108 3378
3109 void setCustomValidity(String error); 3379 void setCustomValidity(String error);
3110 3380
3111 void setSelectionRange(int start, int end, [String direction]); 3381 void setSelectionRange(int start, int end, [String direction]);
3112 3382
3113 void setValueForUser(String value);
3114
3115 void stepDown([int n]); 3383 void stepDown([int n]);
3116 3384
3117 void stepUp([int n]); 3385 void stepUp([int n]);
3118 } 3386 }
3119 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 3387 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
3120 // for details. All rights reserved. Use of this source code is governed by a 3388 // for details. All rights reserved. Use of this source code is governed by a
3121 // BSD-style license that can be found in the LICENSE file. 3389 // BSD-style license that can be found in the LICENSE file.
3122 3390
3123 // WARNING: Do not edit - generated code. 3391 // WARNING: Do not edit - generated code.
3124 3392
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
3157 int get length(); 3425 int get length();
3158 3426
3159 Int8Array subarray(int start, [int end]); 3427 Int8Array subarray(int start, [int end]);
3160 } 3428 }
3161 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 3429 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
3162 // for details. All rights reserved. Use of this source code is governed by a 3430 // for details. All rights reserved. Use of this source code is governed by a
3163 // BSD-style license that can be found in the LICENSE file. 3431 // BSD-style license that can be found in the LICENSE file.
3164 3432
3165 // WARNING: Do not edit - generated code. 3433 // WARNING: Do not edit - generated code.
3166 3434
3435 interface JavaScriptAudioNode extends AudioNode {
3436
3437 int get bufferSize();
3438 }
3439 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
3440 // for details. All rights reserved. Use of this source code is governed by a
3441 // BSD-style license that can be found in the LICENSE file.
3442
3443 // WARNING: Do not edit - generated code.
3444
3167 interface KeygenElement extends Element { 3445 interface KeygenElement extends Element {
3168 3446
3169 bool get autofocus(); 3447 bool get autofocus();
3170 3448
3171 void set autofocus(bool value); 3449 void set autofocus(bool value);
3172 3450
3173 String get challenge(); 3451 String get challenge();
3174 3452
3175 void set challenge(String value); 3453 void set challenge(String value);
3176 3454
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
3287 String get rel(); 3565 String get rel();
3288 3566
3289 void set rel(String value); 3567 void set rel(String value);
3290 3568
3291 String get rev(); 3569 String get rev();
3292 3570
3293 void set rev(String value); 3571 void set rev(String value);
3294 3572
3295 StyleSheet get sheet(); 3573 StyleSheet get sheet();
3296 3574
3575 DOMSettableTokenList get sizes();
3576
3577 void set sizes(DOMSettableTokenList value);
3578
3297 String get target(); 3579 String get target();
3298 3580
3299 void set target(String value); 3581 void set target(String value);
3300 3582
3301 String get type(); 3583 String get type();
3302 3584
3303 void set type(String value); 3585 void set type(String value);
3304 } 3586 }
3305 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 3587 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
3306 // for details. All rights reserved. Use of this source code is governed by a 3588 // for details. All rights reserved. Use of this source code is governed by a
3307 // BSD-style license that can be found in the LICENSE file. 3589 // BSD-style license that can be found in the LICENSE file.
3308 3590
3309 // WARNING: Do not edit - generated code. 3591 // WARNING: Do not edit - generated code.
3310 3592
3311 interface LocalMediaStream extends MediaStream {
3312
3313 void stop();
3314 }
3315 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
3316 // for details. All rights reserved. Use of this source code is governed by a
3317 // BSD-style license that can be found in the LICENSE file.
3318
3319 // WARNING: Do not edit - generated code.
3320
3321 interface Location { 3593 interface Location {
3322 3594
3323 String get hash(); 3595 String get hash();
3324 3596
3325 void set hash(String value); 3597 void set hash(String value);
3326 3598
3327 String get host(); 3599 String get host();
3328 3600
3329 void set host(String value); 3601 void set host(String value);
3330 3602
(...skipping 23 matching lines...) Expand all
3354 3626
3355 void set search(String value); 3627 void set search(String value);
3356 3628
3357 void assign(String url); 3629 void assign(String url);
3358 3630
3359 String getParameter(String name); 3631 String getParameter(String name);
3360 3632
3361 void reload(); 3633 void reload();
3362 3634
3363 void replace(String url); 3635 void replace(String url);
3636
3637 String toString();
3364 } 3638 }
3365 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 3639 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
3366 // for details. All rights reserved. Use of this source code is governed by a 3640 // for details. All rights reserved. Use of this source code is governed by a
3367 // BSD-style license that can be found in the LICENSE file. 3641 // BSD-style license that can be found in the LICENSE file.
3368 3642
3369 // WARNING: Do not edit - generated code. 3643 // WARNING: Do not edit - generated code.
3370 3644
3371 interface LoseContext { 3645 interface LoseContext {
3372 3646
3373 void loseContext(); 3647 void loseContext();
3374 3648
3375 void restoreContext(); 3649 void restoreContext();
3376 } 3650 }
3377 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 3651 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
3378 // for details. All rights reserved. Use of this source code is governed by a 3652 // for details. All rights reserved. Use of this source code is governed by a
3379 // BSD-style license that can be found in the LICENSE file. 3653 // BSD-style license that can be found in the LICENSE file.
3380 3654
3381 // WARNING: Do not edit - generated code. 3655 // WARNING: Do not edit - generated code.
3382 3656
3657 interface LowPass2FilterNode extends AudioNode {
3658
3659 AudioParam get cutoff();
3660
3661 AudioParam get resonance();
3662 }
3663 // Copyright (c) 2011, 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
3383 interface MapElement extends Element { 3669 interface MapElement extends Element {
3384 3670
3385 ElementList get areas(); 3671 ElementList get areas();
3386 3672
3387 String get name(); 3673 String get name();
3388 3674
3389 void set name(String value); 3675 void set name(String value);
3390 } 3676 }
3391 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 3677 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
3392 // for details. All rights reserved. Use of this source code is governed by a 3678 // for details. All rights reserved. Use of this source code is governed by a
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
3445 void stop(); 3731 void stop();
3446 } 3732 }
3447 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 3733 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
3448 // for details. All rights reserved. Use of this source code is governed by a 3734 // for details. All rights reserved. Use of this source code is governed by a
3449 // BSD-style license that can be found in the LICENSE file. 3735 // BSD-style license that can be found in the LICENSE file.
3450 3736
3451 // WARNING: Do not edit - generated code. 3737 // WARNING: Do not edit - generated code.
3452 3738
3453 interface MediaElement extends Element { 3739 interface MediaElement extends Element {
3454 3740
3455 static final int HAVE_CURRENT_DATA = 2;
3456
3457 static final int HAVE_ENOUGH_DATA = 4;
3458
3459 static final int HAVE_FUTURE_DATA = 3;
3460
3461 static final int HAVE_METADATA = 1;
3462
3463 static final int HAVE_NOTHING = 0;
3464
3465 static final int NETWORK_EMPTY = 0;
3466
3467 static final int NETWORK_IDLE = 1;
3468
3469 static final int NETWORK_LOADING = 2;
3470
3471 static final int NETWORK_NO_SOURCE = 3;
3472
3473 bool get autoplay(); 3741 bool get autoplay();
3474 3742
3475 void set autoplay(bool value); 3743 void set autoplay(bool value);
3476 3744
3477 TimeRanges get buffered(); 3745 TimeRanges get buffered();
3478 3746
3479 bool get controls(); 3747 bool get controls();
3480 3748
3481 void set controls(bool value); 3749 void set controls(bool value);
3482 3750
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
3561 void pause(); 3829 void pause();
3562 3830
3563 void play(); 3831 void play();
3564 } 3832 }
3565 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 3833 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
3566 // for details. All rights reserved. Use of this source code is governed by a 3834 // for details. All rights reserved. Use of this source code is governed by a
3567 // BSD-style license that can be found in the LICENSE file. 3835 // BSD-style license that can be found in the LICENSE file.
3568 3836
3569 // WARNING: Do not edit - generated code. 3837 // WARNING: Do not edit - generated code.
3570 3838
3839 interface MediaElementAudioSourceNode extends AudioSourceNode {
3840
3841 MediaElement get mediaElement();
3842 }
3843 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
3844 // for details. All rights reserved. Use of this source code is governed by a
3845 // BSD-style license that can be found in the LICENSE file.
3846
3847 // WARNING: Do not edit - generated code.
3848
3571 interface MediaError { 3849 interface MediaError {
3572 3850
3573 static final int MEDIA_ERR_ABORTED = 1; 3851 static final int MEDIA_ERR_ABORTED = 1;
3574 3852
3575 static final int MEDIA_ERR_DECODE = 3; 3853 static final int MEDIA_ERR_DECODE = 3;
3576 3854
3577 static final int MEDIA_ERR_NETWORK = 2; 3855 static final int MEDIA_ERR_NETWORK = 2;
3578 3856
3579 static final int MEDIA_ERR_SRC_NOT_SUPPORTED = 4; 3857 static final int MEDIA_ERR_SRC_NOT_SUPPORTED = 4;
3580 3858
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
3625 interface MediaQueryListListener { 3903 interface MediaQueryListListener {
3626 3904
3627 void queryChanged(MediaQueryList list); 3905 void queryChanged(MediaQueryList list);
3628 } 3906 }
3629 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 3907 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
3630 // for details. All rights reserved. Use of this source code is governed by a 3908 // for details. All rights reserved. Use of this source code is governed by a
3631 // BSD-style license that can be found in the LICENSE file. 3909 // BSD-style license that can be found in the LICENSE file.
3632 3910
3633 // WARNING: Do not edit - generated code. 3911 // WARNING: Do not edit - generated code.
3634 3912
3635 interface MediaStream {
3636
3637 static final int ENDED = 2;
3638
3639 static final int LIVE = 1;
3640
3641 String get label();
3642
3643 EventListener get onended();
3644
3645 void set onended(EventListener value);
3646
3647 int get readyState();
3648
3649 MediaStreamTrackList get tracks();
3650
3651 void addEventListener(String type, EventListener listener, [bool useCapture]);
3652
3653 bool dispatchEvent(Event event);
3654
3655 void removeEventListener(String type, EventListener listener, [bool useCapture ]);
3656 }
3657 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
3658 // for details. All rights reserved. Use of this source code is governed by a
3659 // BSD-style license that can be found in the LICENSE file.
3660
3661 // WARNING: Do not edit - generated code.
3662
3663 interface MediaStreamList {
3664
3665 int get length();
3666
3667 MediaStream item(int index);
3668 }
3669 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
3670 // for details. All rights reserved. Use of this source code is governed by a
3671 // BSD-style license that can be found in the LICENSE file.
3672
3673 // WARNING: Do not edit - generated code.
3674
3675 interface MediaStreamTrack {
3676
3677 bool get enabled();
3678
3679 void set enabled(bool value);
3680
3681 String get kind();
3682
3683 String get label();
3684 }
3685 // Copyright (c) 2011, 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 MediaStreamTrackList {
3692
3693 int get length();
3694
3695 MediaStreamTrack item(int index);
3696 }
3697 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
3698 // for details. All rights reserved. Use of this source code is governed by a
3699 // BSD-style license that can be found in the LICENSE file.
3700
3701 // WARNING: Do not edit - generated code.
3702
3703 interface MenuElement extends Element { 3913 interface MenuElement extends Element {
3704 3914
3705 bool get compact(); 3915 bool get compact();
3706 3916
3707 void set compact(bool value); 3917 void set compact(bool value);
3708 } 3918 }
3709 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 3919 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
3710 // for details. All rights reserved. Use of this source code is governed by a 3920 // for details. All rights reserved. Use of this source code is governed by a
3711 // BSD-style license that can be found in the LICENSE file. 3921 // BSD-style license that can be found in the LICENSE file.
3712 3922
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
3751 interface Metadata { 3961 interface Metadata {
3752 3962
3753 Date get modificationTime(); 3963 Date get modificationTime();
3754 } 3964 }
3755 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 3965 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
3756 // for details. All rights reserved. Use of this source code is governed by a 3966 // for details. All rights reserved. Use of this source code is governed by a
3757 // BSD-style license that can be found in the LICENSE file. 3967 // BSD-style license that can be found in the LICENSE file.
3758 3968
3759 // WARNING: Do not edit - generated code. 3969 // WARNING: Do not edit - generated code.
3760 3970
3761 interface MetadataCallback { 3971 typedef bool MetadataCallback(Metadata metadata);
3762
3763 bool handleEvent(Metadata metadata);
3764 }
3765 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 3972 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
3766 // for details. All rights reserved. Use of this source code is governed by a 3973 // for details. All rights reserved. Use of this source code is governed by a
3767 // BSD-style license that can be found in the LICENSE file. 3974 // BSD-style license that can be found in the LICENSE file.
3768 3975
3769 // WARNING: Do not edit - generated code. 3976 // WARNING: Do not edit - generated code.
3770 3977
3771 interface MeterElement extends Element { 3978 interface MeterElement extends Element {
3772 3979
3773 FormElement get form(); 3980 FormElement get form();
3774 3981
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
3813 String get dateTime(); 4020 String get dateTime();
3814 4021
3815 void set dateTime(String value); 4022 void set dateTime(String value);
3816 } 4023 }
3817 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 4024 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
3818 // for details. All rights reserved. Use of this source code is governed by a 4025 // for details. All rights reserved. Use of this source code is governed by a
3819 // BSD-style license that can be found in the LICENSE file. 4026 // BSD-style license that can be found in the LICENSE file.
3820 4027
3821 // WARNING: Do not edit - generated code. 4028 // WARNING: Do not edit - generated code.
3822 4029
4030 interface MutationCallback {
4031 }
4032 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
4033 // for details. All rights reserved. Use of this source code is governed by a
4034 // BSD-style license that can be found in the LICENSE file.
4035
4036 // WARNING: Do not edit - generated code.
4037
3823 interface MutationRecord { 4038 interface MutationRecord {
3824 4039
3825 ElementList get addedNodes(); 4040 ElementList get addedNodes();
3826 4041
3827 String get attributeName(); 4042 String get attributeName();
3828 4043
3829 String get attributeNamespace(); 4044 String get attributeNamespace();
3830 4045
3831 Node get nextSibling(); 4046 Node get nextSibling();
3832 4047
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
3891 static final int PERMISSION_DENIED = 1; 4106 static final int PERMISSION_DENIED = 1;
3892 4107
3893 int get code(); 4108 int get code();
3894 } 4109 }
3895 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 4110 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
3896 // for details. All rights reserved. Use of this source code is governed by a 4111 // for details. All rights reserved. Use of this source code is governed by a
3897 // BSD-style license that can be found in the LICENSE file. 4112 // BSD-style license that can be found in the LICENSE file.
3898 4113
3899 // WARNING: Do not edit - generated code. 4114 // WARNING: Do not edit - generated code.
3900 4115
3901 interface NavigatorUserMediaErrorCallback { 4116 typedef bool NavigatorUserMediaErrorCallback(NavigatorUserMediaError error);
3902
3903 bool handleEvent(NavigatorUserMediaError error);
3904 }
3905 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 4117 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
3906 // for details. All rights reserved. Use of this source code is governed by a 4118 // for details. All rights reserved. Use of this source code is governed by a
3907 // BSD-style license that can be found in the LICENSE file. 4119 // BSD-style license that can be found in the LICENSE file.
3908 4120
3909 // WARNING: Do not edit - generated code. 4121 // WARNING: Do not edit - generated code.
3910 4122
3911 interface NavigatorUserMediaSuccessCallback { 4123 interface NavigatorUserMediaSuccessCallback {
3912
3913 bool handleEvent(LocalMediaStream stream);
3914 } 4124 }
3915 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 4125 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
3916 // for details. All rights reserved. Use of this source code is governed by a 4126 // for details. All rights reserved. Use of this source code is governed by a
3917 // BSD-style license that can be found in the LICENSE file. 4127 // BSD-style license that can be found in the LICENSE file.
3918 4128
3919 // WARNING: Do not edit - generated code. 4129 // WARNING: Do not edit - generated code.
3920 4130
3921 interface Notation extends Node { 4131 interface Notation extends Node {
3922 4132
3923 String get publicId(); 4133 String get publicId();
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
4081 bool checkValidity(); 4291 bool checkValidity();
4082 4292
4083 void setCustomValidity(String error); 4293 void setCustomValidity(String error);
4084 } 4294 }
4085 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 4295 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
4086 // for details. All rights reserved. Use of this source code is governed by a 4296 // for details. All rights reserved. Use of this source code is governed by a
4087 // BSD-style license that can be found in the LICENSE file. 4297 // BSD-style license that can be found in the LICENSE file.
4088 4298
4089 // WARNING: Do not edit - generated code. 4299 // WARNING: Do not edit - generated code.
4090 4300
4301 interface OfflineAudioCompletionEvent extends Event {
4302
4303 AudioBuffer get renderedBuffer();
4304 }
4305 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
4306 // for details. All rights reserved. Use of this source code is governed by a
4307 // BSD-style license that can be found in the LICENSE file.
4308
4309 // WARNING: Do not edit - generated code.
4310
4091 interface OperationNotAllowedException { 4311 interface OperationNotAllowedException {
4092 4312
4093 static final int NOT_ALLOWED_ERR = 1; 4313 static final int NOT_ALLOWED_ERR = 1;
4094 4314
4095 int get code(); 4315 int get code();
4096 4316
4097 String get message(); 4317 String get message();
4098 4318
4099 String get name(); 4319 String get name();
4320
4321 String toString();
4100 } 4322 }
4101 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 4323 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
4102 // for details. All rights reserved. Use of this source code is governed by a 4324 // for details. All rights reserved. Use of this source code is governed by a
4103 // BSD-style license that can be found in the LICENSE file. 4325 // BSD-style license that can be found in the LICENSE file.
4104 4326
4105 // WARNING: Do not edit - generated code. 4327 // WARNING: Do not edit - generated code.
4106 4328
4107 interface OptGroupElement extends Element { 4329 interface OptGroupElement extends Element {
4108 4330
4109 bool get disabled(); 4331 bool get disabled();
(...skipping 27 matching lines...) Expand all
4137 String get label(); 4359 String get label();
4138 4360
4139 void set label(String value); 4361 void set label(String value);
4140 4362
4141 bool get selected(); 4363 bool get selected();
4142 4364
4143 void set selected(bool value); 4365 void set selected(bool value);
4144 4366
4145 String get text(); 4367 String get text();
4146 4368
4369 void set text(String value);
4370
4147 String get value(); 4371 String get value();
4148 4372
4149 void set value(String value); 4373 void set value(String value);
4150 } 4374 }
4151 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 4375 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
4152 // for details. All rights reserved. Use of this source code is governed by a 4376 // for details. All rights reserved. Use of this source code is governed by a
4153 // BSD-style license that can be found in the LICENSE file. 4377 // BSD-style license that can be found in the LICENSE file.
4154 4378
4155 // WARNING: Do not edit - generated code. 4379 // WARNING: Do not edit - generated code.
4156 4380
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
4223 String get valueType(); 4447 String get valueType();
4224 4448
4225 void set valueType(String value); 4449 void set valueType(String value);
4226 } 4450 }
4227 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 4451 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
4228 // for details. All rights reserved. Use of this source code is governed by a 4452 // for details. All rights reserved. Use of this source code is governed by a
4229 // BSD-style license that can be found in the LICENSE file. 4453 // BSD-style license that can be found in the LICENSE file.
4230 4454
4231 // WARNING: Do not edit - generated code. 4455 // WARNING: Do not edit - generated code.
4232 4456
4233 interface Point factory PointFactoryProvider { 4457 interface Point factory _PointFactoryProvider {
4234 4458
4235 Point(num x, num y); 4459 Point(num x, num y);
4236 4460
4237 num get x(); 4461 num get x();
4238 4462
4239 void set x(num value); 4463 void set x(num value);
4240 4464
4241 num get y(); 4465 num get y();
4242 4466
4243 void set y(num value); 4467 void set y(num value);
4244 } 4468 }
4245 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 4469 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
4246 // for details. All rights reserved. Use of this source code is governed by a 4470 // for details. All rights reserved. Use of this source code is governed by a
4247 // BSD-style license that can be found in the LICENSE file. 4471 // BSD-style license that can be found in the LICENSE file.
4248 4472
4249 // WARNING: Do not edit - generated code. 4473 // WARNING: Do not edit - generated code.
4250 4474
4251 interface PositionCallback { 4475 typedef bool PositionCallback(Geoposition position);
4252
4253 bool handleEvent(Geoposition position);
4254 }
4255 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 4476 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
4256 // for details. All rights reserved. Use of this source code is governed by a 4477 // for details. All rights reserved. Use of this source code is governed by a
4257 // BSD-style license that can be found in the LICENSE file. 4478 // BSD-style license that can be found in the LICENSE file.
4258 4479
4259 // WARNING: Do not edit - generated code. 4480 // WARNING: Do not edit - generated code.
4260 4481
4261 interface PositionError { 4482 interface PositionError {
4262 4483
4263 static final int PERMISSION_DENIED = 1; 4484 static final int PERMISSION_DENIED = 1;
4264 4485
4265 static final int POSITION_UNAVAILABLE = 2; 4486 static final int POSITION_UNAVAILABLE = 2;
4266 4487
4267 static final int TIMEOUT = 3; 4488 static final int TIMEOUT = 3;
4268 4489
4269 int get code(); 4490 int get code();
4270 4491
4271 String get message(); 4492 String get message();
4272 } 4493 }
4273 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 4494 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
4274 // for details. All rights reserved. Use of this source code is governed by a 4495 // for details. All rights reserved. Use of this source code is governed by a
4275 // BSD-style license that can be found in the LICENSE file. 4496 // BSD-style license that can be found in the LICENSE file.
4276 4497
4277 // WARNING: Do not edit - generated code. 4498 // WARNING: Do not edit - generated code.
4278 4499
4279 interface PositionErrorCallback { 4500 typedef bool PositionErrorCallback(PositionError error);
4280
4281 bool handleEvent(PositionError error);
4282 }
4283 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 4501 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
4284 // for details. All rights reserved. Use of this source code is governed by a 4502 // for details. All rights reserved. Use of this source code is governed by a
4285 // BSD-style license that can be found in the LICENSE file. 4503 // BSD-style license that can be found in the LICENSE file.
4286 4504
4287 // WARNING: Do not edit - generated code. 4505 // WARNING: Do not edit - generated code.
4288 4506
4289 interface PreElement extends Element { 4507 interface PreElement extends Element {
4290 4508
4291 int get width(); 4509 int get width();
4292 4510
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
4341 // WARNING: Do not edit - generated code. 4559 // WARNING: Do not edit - generated code.
4342 4560
4343 interface QuoteElement extends Element { 4561 interface QuoteElement extends Element {
4344 4562
4345 String get cite(); 4563 String get cite();
4346 4564
4347 void set cite(String value); 4565 void set cite(String value);
4348 } 4566 }
4349 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 4567 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
4350 // for details. All rights reserved. Use of this source code is governed by a 4568 // for details. All rights reserved. Use of this source code is governed by a
4569 // BSD-style license that can be found in the LICENSE file.
4570
4571 // WARNING: Do not edit - generated code.
4572
4573 interface RGBColor {
4574
4575 CSSPrimitiveValue get blue();
4576
4577 CSSPrimitiveValue get green();
4578
4579 CSSPrimitiveValue get red();
4580 }
4581 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
4582 // for details. All rights reserved. Use of this source code is governed by a
4583 // BSD-style license that can be found in the LICENSE file.
4584
4585 // WARNING: Do not edit - generated code.
4586
4587 interface Range {
4588
4589 static final int END_TO_END = 2;
4590
4591 static final int END_TO_START = 3;
4592
4593 static final int NODE_AFTER = 1;
4594
4595 static final int NODE_BEFORE = 0;
4596
4597 static final int NODE_BEFORE_AND_AFTER = 2;
4598
4599 static final int NODE_INSIDE = 3;
4600
4601 static final int START_TO_END = 1;
4602
4603 static final int START_TO_START = 0;
4604
4605 bool get collapsed();
4606
4607 Node get commonAncestorContainer();
4608
4609 Node get endContainer();
4610
4611 int get endOffset();
4612
4613 Node get startContainer();
4614
4615 int get startOffset();
4616
4617 DocumentFragment cloneContents();
4618
4619 Range cloneRange();
4620
4621 void collapse(bool toStart);
4622
4623 int compareNode(Node refNode);
4624
4625 int comparePoint(Node refNode, int offset);
4626
4627 DocumentFragment createContextualFragment(String html);
4628
4629 void deleteContents();
4630
4631 void detach();
4632
4633 void expand(String unit);
4634
4635 DocumentFragment extractContents();
4636
4637 ClientRect getBoundingClientRect();
4638
4639 ClientRectList getClientRects();
4640
4641 void insertNode(Node newNode);
4642
4643 bool intersectsNode(Node refNode);
4644
4645 bool isPointInRange(Node refNode, int offset);
4646
4647 void selectNode(Node refNode);
4648
4649 void selectNodeContents(Node refNode);
4650
4651 void setEnd(Node refNode, int offset);
4652
4653 void setEndAfter(Node refNode);
4654
4655 void setEndBefore(Node refNode);
4656
4657 void setStart(Node refNode, int offset);
4658
4659 void setStartAfter(Node refNode);
4660
4661 void setStartBefore(Node refNode);
4662
4663 void surroundContents(Node newParent);
4664
4665 String toString();
4666 }
4667 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
4668 // for details. All rights reserved. Use of this source code is governed by a
4669 // BSD-style license that can be found in the LICENSE file.
4670
4671 // WARNING: Do not edit - generated code.
4672
4673 interface RangeException {
4674
4675 static final int BAD_BOUNDARYPOINTS_ERR = 1;
4676
4677 static final int INVALID_NODE_TYPE_ERR = 2;
4678
4679 int get code();
4680
4681 String get message();
4682
4683 String get name();
4684
4685 String toString();
4686 }
4687 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
4688 // for details. All rights reserved. Use of this source code is governed by a
4689 // BSD-style license that can be found in the LICENSE file.
4690
4691 // WARNING: Do not edit - generated code.
4692
4693 interface RealtimeAnalyserNode extends AudioNode {
4694
4695 int get fftSize();
4696
4697 void set fftSize(int value);
4698
4699 int get frequencyBinCount();
4700
4701 num get maxDecibels();
4702
4703 void set maxDecibels(num value);
4704
4705 num get minDecibels();
4706
4707 void set minDecibels(num value);
4708
4709 num get smoothingTimeConstant();
4710
4711 void set smoothingTimeConstant(num value);
4712
4713 void getByteFrequencyData(Uint8Array array);
4714
4715 void getByteTimeDomainData(Uint8Array array);
4716
4717 void getFloatFrequencyData(Float32Array array);
4718 }
4719 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
4720 // for details. All rights reserved. Use of this source code is governed by a
4721 // BSD-style license that can be found in the LICENSE file.
4722
4723 // WARNING: Do not edit - generated code.
4724
4725 interface Rect {
4726
4727 CSSPrimitiveValue get bottom();
4728
4729 CSSPrimitiveValue get left();
4730
4731 CSSPrimitiveValue get right();
4732
4733 CSSPrimitiveValue get top();
4734 }
4735 // Copyright (c) 2011, 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 SVGAElement extends SVGElement, SVGURIReference, SVGTests, SVGLangSpac e, SVGExternalResourcesRequired, SVGStylable, SVGTransformable {
4742
4743 SVGAnimatedString get target();
4744 }
4745 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
4746 // for details. All rights reserved. Use of this source code is governed by a
4747 // BSD-style license that can be found in the LICENSE file.
4748
4749 // WARNING: Do not edit - generated code.
4750
4751 interface SVGAltGlyphDefElement extends SVGElement {
4752 }
4753 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
4754 // for details. All rights reserved. Use of this source code is governed by a
4755 // BSD-style license that can be found in the LICENSE file.
4756
4757 // WARNING: Do not edit - generated code.
4758
4759 interface SVGAltGlyphElement extends SVGTextPositioningElement, SVGURIReference {
4760
4761 String get format();
4762
4763 void set format(String value);
4764
4765 String get glyphRef();
4766
4767 void set glyphRef(String value);
4768 }
4769 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
4770 // for details. All rights reserved. Use of this source code is governed by a
4771 // BSD-style license that can be found in the LICENSE file.
4772
4773 // WARNING: Do not edit - generated code.
4774
4775 interface SVGAltGlyphItemElement extends SVGElement {
4776 }
4777 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
4778 // for details. All rights reserved. Use of this source code is governed by a
4779 // BSD-style license that can be found in the LICENSE file.
4780
4781 // WARNING: Do not edit - generated code.
4782
4783 interface SVGAngle {
4784
4785 static final int SVG_ANGLETYPE_DEG = 2;
4786
4787 static final int SVG_ANGLETYPE_GRAD = 4;
4788
4789 static final int SVG_ANGLETYPE_RAD = 3;
4790
4791 static final int SVG_ANGLETYPE_UNKNOWN = 0;
4792
4793 static final int SVG_ANGLETYPE_UNSPECIFIED = 1;
4794
4795 int get unitType();
4796
4797 num get value();
4798
4799 void set value(num value);
4800
4801 String get valueAsString();
4802
4803 void set valueAsString(String value);
4804
4805 num get valueInSpecifiedUnits();
4806
4807 void set valueInSpecifiedUnits(num value);
4808
4809 void convertToSpecifiedUnits(int unitType);
4810
4811 void newValueSpecifiedUnits(int unitType, num valueInSpecifiedUnits);
4812 }
4813 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
4814 // for details. All rights reserved. Use of this source code is governed by a
4815 // BSD-style license that can be found in the LICENSE file.
4816
4817 // WARNING: Do not edit - generated code.
4818
4819 interface SVGAnimateColorElement extends SVGAnimationElement {
4820 }
4821 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
4822 // for details. All rights reserved. Use of this source code is governed by a
4823 // BSD-style license that can be found in the LICENSE file.
4824
4825 // WARNING: Do not edit - generated code.
4826
4827 interface SVGAnimateElement extends SVGAnimationElement {
4828 }
4829 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
4830 // for details. All rights reserved. Use of this source code is governed by a
4831 // BSD-style license that can be found in the LICENSE file.
4832
4833 // WARNING: Do not edit - generated code.
4834
4835 interface SVGAnimateMotionElement extends SVGAnimationElement {
4836 }
4837 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
4838 // for details. All rights reserved. Use of this source code is governed by a
4839 // BSD-style license that can be found in the LICENSE file.
4840
4841 // WARNING: Do not edit - generated code.
4842
4843 interface SVGAnimateTransformElement extends SVGAnimationElement {
4844 }
4845 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
4846 // for details. All rights reserved. Use of this source code is governed by a
4847 // BSD-style license that can be found in the LICENSE file.
4848
4849 // WARNING: Do not edit - generated code.
4850
4851 interface SVGAnimatedAngle {
4852
4853 SVGAngle get animVal();
4854
4855 SVGAngle get baseVal();
4856 }
4857 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
4858 // for details. All rights reserved. Use of this source code is governed by a
4859 // BSD-style license that can be found in the LICENSE file.
4860
4861 // WARNING: Do not edit - generated code.
4862
4863 interface SVGAnimatedBoolean {
4864
4865 bool get animVal();
4866
4867 bool get baseVal();
4868
4869 void set baseVal(bool value);
4870 }
4871 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
4872 // for details. All rights reserved. Use of this source code is governed by a
4873 // BSD-style license that can be found in the LICENSE file.
4874
4875 // WARNING: Do not edit - generated code.
4876
4877 interface SVGAnimatedEnumeration {
4878
4879 int get animVal();
4880
4881 int get baseVal();
4882
4883 void set baseVal(int value);
4884 }
4885 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
4886 // for details. All rights reserved. Use of this source code is governed by a
4887 // BSD-style license that can be found in the LICENSE file.
4888
4889 // WARNING: Do not edit - generated code.
4890
4891 interface SVGAnimatedInteger {
4892
4893 int get animVal();
4894
4895 int get baseVal();
4896
4897 void set baseVal(int value);
4898 }
4899 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
4900 // for details. All rights reserved. Use of this source code is governed by a
4901 // BSD-style license that can be found in the LICENSE file.
4902
4903 // WARNING: Do not edit - generated code.
4904
4905 interface SVGAnimatedLength {
4906
4907 SVGLength get animVal();
4908
4909 SVGLength get baseVal();
4910 }
4911 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
4912 // for details. All rights reserved. Use of this source code is governed by a
4913 // BSD-style license that can be found in the LICENSE file.
4914
4915 // WARNING: Do not edit - generated code.
4916
4917 interface SVGAnimatedLengthList {
4918
4919 SVGLengthList get animVal();
4920
4921 SVGLengthList get baseVal();
4922 }
4923 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
4924 // for details. All rights reserved. Use of this source code is governed by a
4925 // BSD-style license that can be found in the LICENSE file.
4926
4927 // WARNING: Do not edit - generated code.
4928
4929 interface SVGAnimatedNumber {
4930
4931 num get animVal();
4932
4933 num get baseVal();
4934
4935 void set baseVal(num value);
4936 }
4937 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
4938 // for details. All rights reserved. Use of this source code is governed by a
4939 // BSD-style license that can be found in the LICENSE file.
4940
4941 // WARNING: Do not edit - generated code.
4942
4943 interface SVGAnimatedNumberList {
4944
4945 SVGNumberList get animVal();
4946
4947 SVGNumberList get baseVal();
4948 }
4949 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
4950 // for details. All rights reserved. Use of this source code is governed by a
4951 // BSD-style license that can be found in the LICENSE file.
4952
4953 // WARNING: Do not edit - generated code.
4954
4955 interface SVGAnimatedPreserveAspectRatio {
4956
4957 SVGPreserveAspectRatio get animVal();
4958
4959 SVGPreserveAspectRatio get baseVal();
4960 }
4961 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
4962 // for details. All rights reserved. Use of this source code is governed by a
4963 // BSD-style license that can be found in the LICENSE file.
4964
4965 // WARNING: Do not edit - generated code.
4966
4967 interface SVGAnimatedRect {
4968
4969 SVGRect get animVal();
4970
4971 SVGRect get baseVal();
4972 }
4973 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
4974 // for details. All rights reserved. Use of this source code is governed by a
4975 // BSD-style license that can be found in the LICENSE file.
4976
4977 // WARNING: Do not edit - generated code.
4978
4979 interface SVGAnimatedString {
4980
4981 String get animVal();
4982
4983 String get baseVal();
4984
4985 void set baseVal(String value);
4986 }
4987 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
4988 // for details. All rights reserved. Use of this source code is governed by a
4989 // BSD-style license that can be found in the LICENSE file.
4990
4991 // WARNING: Do not edit - generated code.
4992
4993 interface SVGAnimatedTransformList {
4994
4995 SVGTransformList get animVal();
4996
4997 SVGTransformList get baseVal();
4998 }
4999 // Copyright (c) 2011, 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 SVGAnimationElement extends SVGElement, SVGTests, SVGExternalResources Required, ElementTimeControl {
5006
5007 SVGElement get targetElement();
5008
5009 num getCurrentTime();
5010
5011 num getSimpleDuration();
5012
5013 num getStartTime();
5014 }
5015 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
5016 // for details. All rights reserved. Use of this source code is governed by a
5017 // BSD-style license that can be found in the LICENSE file.
5018
5019 // WARNING: Do not edit - generated code.
5020
5021 interface SVGCircleElement extends SVGElement, SVGTests, SVGLangSpace, SVGExtern alResourcesRequired, SVGStylable, SVGTransformable {
5022
5023 SVGAnimatedLength get cx();
5024
5025 SVGAnimatedLength get cy();
5026
5027 SVGAnimatedLength get r();
5028 }
5029 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
5030 // for details. All rights reserved. Use of this source code is governed by a
5031 // BSD-style license that can be found in the LICENSE file.
5032
5033 // WARNING: Do not edit - generated code.
5034
5035 interface SVGClipPathElement extends SVGElement, SVGTests, SVGLangSpace, SVGExte rnalResourcesRequired, SVGStylable, SVGTransformable {
5036
5037 SVGAnimatedEnumeration get clipPathUnits();
5038 }
5039 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
5040 // for details. All rights reserved. Use of this source code is governed by a
5041 // BSD-style license that can be found in the LICENSE file.
5042
5043 // WARNING: Do not edit - generated code.
5044
5045 interface SVGColor extends CSSValue {
5046
5047 static final int SVG_COLORTYPE_CURRENTCOLOR = 3;
5048
5049 static final int SVG_COLORTYPE_RGBCOLOR = 1;
5050
5051 static final int SVG_COLORTYPE_RGBCOLOR_ICCCOLOR = 2;
5052
5053 static final int SVG_COLORTYPE_UNKNOWN = 0;
5054
5055 int get colorType();
5056
5057 RGBColor get rgbColor();
5058
5059 void setColor(int colorType, String rgbColor, String iccColor);
5060
5061 void setRGBColor(String rgbColor);
5062
5063 void setRGBColorICCColor(String rgbColor, String iccColor);
5064 }
5065 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
5066 // for details. All rights reserved. Use of this source code is governed by a
5067 // BSD-style license that can be found in the LICENSE file.
5068
5069 // WARNING: Do not edit - generated code.
5070
5071 interface SVGComponentTransferFunctionElement extends SVGElement {
5072
5073 static final int SVG_FECOMPONENTTRANSFER_TYPE_DISCRETE = 3;
5074
5075 static final int SVG_FECOMPONENTTRANSFER_TYPE_GAMMA = 5;
5076
5077 static final int SVG_FECOMPONENTTRANSFER_TYPE_IDENTITY = 1;
5078
5079 static final int SVG_FECOMPONENTTRANSFER_TYPE_LINEAR = 4;
5080
5081 static final int SVG_FECOMPONENTTRANSFER_TYPE_TABLE = 2;
5082
5083 static final int SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN = 0;
5084
5085 SVGAnimatedNumber get amplitude();
5086
5087 SVGAnimatedNumber get exponent();
5088
5089 SVGAnimatedNumber get intercept();
5090
5091 SVGAnimatedNumber get offset();
5092
5093 SVGAnimatedNumber get slope();
5094
5095 SVGAnimatedNumberList get tableValues();
5096
5097 SVGAnimatedEnumeration get type();
5098 }
5099 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
5100 // for details. All rights reserved. Use of this source code is governed by a
5101 // BSD-style license that can be found in the LICENSE file.
5102
5103 // WARNING: Do not edit - generated code.
5104
5105 interface SVGCursorElement extends SVGElement, SVGURIReference, SVGTests, SVGExt ernalResourcesRequired {
5106
5107 SVGAnimatedLength get x();
5108
5109 SVGAnimatedLength get y();
5110 }
5111 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
5112 // for details. All rights reserved. Use of this source code is governed by a
5113 // BSD-style license that can be found in the LICENSE file.
5114
5115 // WARNING: Do not edit - generated code.
5116
5117 interface SVGDefsElement extends SVGElement, SVGTests, SVGLangSpace, SVGExternal ResourcesRequired, SVGStylable, SVGTransformable {
5118 }
5119 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
5120 // for details. All rights reserved. Use of this source code is governed by a
5121 // BSD-style license that can be found in the LICENSE file.
5122
5123 // WARNING: Do not edit - generated code.
5124
5125 interface SVGDescElement extends SVGElement, SVGLangSpace, SVGStylable {
5126 }
5127 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
5128 // for details. All rights reserved. Use of this source code is governed by a
5129 // BSD-style license that can be found in the LICENSE file.
5130
5131 // WARNING: Do not edit - generated code.
5132
5133 interface SVGElement extends Element {
5134
5135 String get id();
5136
5137 void set id(String value);
5138
5139 SVGSVGElement get ownerSVGElement();
5140
5141 SVGElement get viewportElement();
5142
5143 String get xmlbase();
5144
5145 void set xmlbase(String value);
5146 }
5147 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
5148 // for details. All rights reserved. Use of this source code is governed by a
5149 // BSD-style license that can be found in the LICENSE file.
5150
5151 // WARNING: Do not edit - generated code.
5152
5153 interface SVGElementInstanceList {
5154
5155 int get length();
5156
5157 SVGElementInstance item(int index);
5158 }
5159 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
5160 // for details. All rights reserved. Use of this source code is governed by a
5161 // BSD-style license that can be found in the LICENSE file.
5162
5163 // WARNING: Do not edit - generated code.
5164
5165 interface SVGEllipseElement extends SVGElement, SVGTests, SVGLangSpace, SVGExter nalResourcesRequired, SVGStylable, SVGTransformable {
5166
5167 SVGAnimatedLength get cx();
5168
5169 SVGAnimatedLength get cy();
5170
5171 SVGAnimatedLength get rx();
5172
5173 SVGAnimatedLength get ry();
5174 }
5175 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
5176 // for details. All rights reserved. Use of this source code is governed by a
5177 // BSD-style license that can be found in the LICENSE file.
5178
5179 // WARNING: Do not edit - generated code.
5180
5181 interface SVGException {
5182
5183 static final int SVG_INVALID_VALUE_ERR = 1;
5184
5185 static final int SVG_MATRIX_NOT_INVERTABLE = 2;
5186
5187 static final int SVG_WRONG_TYPE_ERR = 0;
5188
5189 int get code();
5190
5191 String get message();
5192
5193 String get name();
5194
5195 String toString();
5196 }
5197 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
5198 // for details. All rights reserved. Use of this source code is governed by a
5199 // BSD-style license that can be found in the LICENSE file.
5200
5201 // WARNING: Do not edit - generated code.
5202
5203 interface SVGExternalResourcesRequired {
5204
5205 SVGAnimatedBoolean get externalResourcesRequired();
5206 }
5207 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
5208 // for details. All rights reserved. Use of this source code is governed by a
5209 // BSD-style license that can be found in the LICENSE file.
5210
5211 // WARNING: Do not edit - generated code.
5212
5213 interface SVGFEBlendElement extends SVGElement, SVGFilterPrimitiveStandardAttrib utes {
5214
5215 static final int SVG_FEBLEND_MODE_DARKEN = 4;
5216
5217 static final int SVG_FEBLEND_MODE_LIGHTEN = 5;
5218
5219 static final int SVG_FEBLEND_MODE_MULTIPLY = 2;
5220
5221 static final int SVG_FEBLEND_MODE_NORMAL = 1;
5222
5223 static final int SVG_FEBLEND_MODE_SCREEN = 3;
5224
5225 static final int SVG_FEBLEND_MODE_UNKNOWN = 0;
5226
5227 SVGAnimatedString get in1();
5228
5229 SVGAnimatedString get in2();
5230
5231 SVGAnimatedEnumeration get mode();
5232 }
5233 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
5234 // for details. All rights reserved. Use of this source code is governed by a
5235 // BSD-style license that can be found in the LICENSE file.
5236
5237 // WARNING: Do not edit - generated code.
5238
5239 interface SVGFEColorMatrixElement extends SVGElement, SVGFilterPrimitiveStandard Attributes {
5240
5241 static final int SVG_FECOLORMATRIX_TYPE_HUEROTATE = 3;
5242
5243 static final int SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA = 4;
5244
5245 static final int SVG_FECOLORMATRIX_TYPE_MATRIX = 1;
5246
5247 static final int SVG_FECOLORMATRIX_TYPE_SATURATE = 2;
5248
5249 static final int SVG_FECOLORMATRIX_TYPE_UNKNOWN = 0;
5250
5251 SVGAnimatedString get in1();
5252
5253 SVGAnimatedEnumeration get type();
5254
5255 SVGAnimatedNumberList get values();
5256 }
5257 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
5258 // for details. All rights reserved. Use of this source code is governed by a
5259 // BSD-style license that can be found in the LICENSE file.
5260
5261 // WARNING: Do not edit - generated code.
5262
5263 interface SVGFEComponentTransferElement extends SVGElement, SVGFilterPrimitiveSt andardAttributes {
5264
5265 SVGAnimatedString get in1();
5266 }
5267 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
5268 // for details. All rights reserved. Use of this source code is governed by a
5269 // BSD-style license that can be found in the LICENSE file.
5270
5271 // WARNING: Do not edit - generated code.
5272
5273 interface SVGFEConvolveMatrixElement extends SVGElement, SVGFilterPrimitiveStand ardAttributes {
5274
5275 static final int SVG_EDGEMODE_DUPLICATE = 1;
5276
5277 static final int SVG_EDGEMODE_NONE = 3;
5278
5279 static final int SVG_EDGEMODE_UNKNOWN = 0;
5280
5281 static final int SVG_EDGEMODE_WRAP = 2;
5282
5283 SVGAnimatedNumber get bias();
5284
5285 SVGAnimatedNumber get divisor();
5286
5287 SVGAnimatedEnumeration get edgeMode();
5288
5289 SVGAnimatedString get in1();
5290
5291 SVGAnimatedNumberList get kernelMatrix();
5292
5293 SVGAnimatedNumber get kernelUnitLengthX();
5294
5295 SVGAnimatedNumber get kernelUnitLengthY();
5296
5297 SVGAnimatedInteger get orderX();
5298
5299 SVGAnimatedInteger get orderY();
5300
5301 SVGAnimatedBoolean get preserveAlpha();
5302
5303 SVGAnimatedInteger get targetX();
5304
5305 SVGAnimatedInteger get targetY();
5306 }
5307 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
5308 // for details. All rights reserved. Use of this source code is governed by a
5309 // BSD-style license that can be found in the LICENSE file.
5310
5311 // WARNING: Do not edit - generated code.
5312
5313 interface SVGFEDiffuseLightingElement extends SVGElement, SVGFilterPrimitiveStan dardAttributes {
5314
5315 SVGAnimatedNumber get diffuseConstant();
5316
5317 SVGAnimatedString get in1();
5318
5319 SVGAnimatedNumber get kernelUnitLengthX();
5320
5321 SVGAnimatedNumber get kernelUnitLengthY();
5322
5323 SVGAnimatedNumber get surfaceScale();
5324 }
5325 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
5326 // for details. All rights reserved. Use of this source code is governed by a
5327 // BSD-style license that can be found in the LICENSE file.
5328
5329 // WARNING: Do not edit - generated code.
5330
5331 interface SVGFEDisplacementMapElement extends SVGElement, SVGFilterPrimitiveStan dardAttributes {
5332
5333 static final int SVG_CHANNEL_A = 4;
5334
5335 static final int SVG_CHANNEL_B = 3;
5336
5337 static final int SVG_CHANNEL_G = 2;
5338
5339 static final int SVG_CHANNEL_R = 1;
5340
5341 static final int SVG_CHANNEL_UNKNOWN = 0;
5342
5343 SVGAnimatedString get in1();
5344
5345 SVGAnimatedString get in2();
5346
5347 SVGAnimatedNumber get scale();
5348
5349 SVGAnimatedEnumeration get xChannelSelector();
5350
5351 SVGAnimatedEnumeration get yChannelSelector();
5352 }
5353 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
5354 // for details. All rights reserved. Use of this source code is governed by a
5355 // BSD-style license that can be found in the LICENSE file.
5356
5357 // WARNING: Do not edit - generated code.
5358
5359 interface SVGFEDistantLightElement extends SVGElement {
5360
5361 SVGAnimatedNumber get azimuth();
5362
5363 SVGAnimatedNumber get elevation();
5364 }
5365 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
5366 // for details. All rights reserved. Use of this source code is governed by a
5367 // BSD-style license that can be found in the LICENSE file.
5368
5369 // WARNING: Do not edit - generated code.
5370
5371 interface SVGFEDropShadowElement extends SVGElement, SVGFilterPrimitiveStandardA ttributes {
5372
5373 SVGAnimatedNumber get dx();
5374
5375 SVGAnimatedNumber get dy();
5376
5377 SVGAnimatedString get in1();
5378
5379 SVGAnimatedNumber get stdDeviationX();
5380
5381 SVGAnimatedNumber get stdDeviationY();
5382
5383 void setStdDeviation(num stdDeviationX, num stdDeviationY);
5384 }
5385 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
5386 // for details. All rights reserved. Use of this source code is governed by a
5387 // BSD-style license that can be found in the LICENSE file.
5388
5389 // WARNING: Do not edit - generated code.
5390
5391 interface SVGFEFloodElement extends SVGElement, SVGFilterPrimitiveStandardAttrib utes {
5392 }
5393 // Copyright (c) 2011, 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 SVGFEFuncAElement extends SVGComponentTransferFunctionElement {
5400 }
5401 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
5402 // for details. All rights reserved. Use of this source code is governed by a
5403 // BSD-style license that can be found in the LICENSE file.
5404
5405 // WARNING: Do not edit - generated code.
5406
5407 interface SVGFEFuncBElement extends SVGComponentTransferFunctionElement {
5408 }
5409 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
5410 // for details. All rights reserved. Use of this source code is governed by a
5411 // BSD-style license that can be found in the LICENSE file.
5412
5413 // WARNING: Do not edit - generated code.
5414
5415 interface SVGFEFuncGElement extends SVGComponentTransferFunctionElement {
5416 }
5417 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
5418 // for details. All rights reserved. Use of this source code is governed by a
5419 // BSD-style license that can be found in the LICENSE file.
5420
5421 // WARNING: Do not edit - generated code.
5422
5423 interface SVGFEFuncRElement extends SVGComponentTransferFunctionElement {
5424 }
5425 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
5426 // for details. All rights reserved. Use of this source code is governed by a
5427 // BSD-style license that can be found in the LICENSE file.
5428
5429 // WARNING: Do not edit - generated code.
5430
5431 interface SVGFEGaussianBlurElement extends SVGElement, SVGFilterPrimitiveStandar dAttributes {
5432
5433 SVGAnimatedString get in1();
5434
5435 SVGAnimatedNumber get stdDeviationX();
5436
5437 SVGAnimatedNumber get stdDeviationY();
5438
5439 void setStdDeviation(num stdDeviationX, num stdDeviationY);
5440 }
5441 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
5442 // for details. All rights reserved. Use of this source code is governed by a
5443 // BSD-style license that can be found in the LICENSE file.
5444
5445 // WARNING: Do not edit - generated code.
5446
5447 interface SVGFEImageElement extends SVGElement, SVGURIReference, SVGLangSpace, S VGExternalResourcesRequired, SVGFilterPrimitiveStandardAttributes {
5448
5449 SVGAnimatedPreserveAspectRatio get preserveAspectRatio();
5450 }
5451 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
5452 // for details. All rights reserved. Use of this source code is governed by a
5453 // BSD-style license that can be found in the LICENSE file.
5454
5455 // WARNING: Do not edit - generated code.
5456
5457 interface SVGFEMergeElement extends SVGElement, SVGFilterPrimitiveStandardAttrib utes {
5458 }
5459 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
5460 // for details. All rights reserved. Use of this source code is governed by a
5461 // BSD-style license that can be found in the LICENSE file.
5462
5463 // WARNING: Do not edit - generated code.
5464
5465 interface SVGFEMergeNodeElement extends SVGElement {
5466
5467 SVGAnimatedString get in1();
5468 }
5469 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
5470 // for details. All rights reserved. Use of this source code is governed by a
5471 // BSD-style license that can be found in the LICENSE file.
5472
5473 // WARNING: Do not edit - generated code.
5474
5475 interface SVGFEOffsetElement extends SVGElement, SVGFilterPrimitiveStandardAttri butes {
5476
5477 SVGAnimatedNumber get dx();
5478
5479 SVGAnimatedNumber get dy();
5480
5481 SVGAnimatedString get in1();
5482 }
5483 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
5484 // for details. All rights reserved. Use of this source code is governed by a
5485 // BSD-style license that can be found in the LICENSE file.
5486
5487 // WARNING: Do not edit - generated code.
5488
5489 interface SVGFEPointLightElement extends SVGElement {
5490
5491 SVGAnimatedNumber get x();
5492
5493 SVGAnimatedNumber get y();
5494
5495 SVGAnimatedNumber get z();
5496 }
5497 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
5498 // for details. All rights reserved. Use of this source code is governed by a
5499 // BSD-style license that can be found in the LICENSE file.
5500
5501 // WARNING: Do not edit - generated code.
5502
5503 interface SVGFESpecularLightingElement extends SVGElement, SVGFilterPrimitiveSta ndardAttributes {
5504
5505 SVGAnimatedString get in1();
5506
5507 SVGAnimatedNumber get specularConstant();
5508
5509 SVGAnimatedNumber get specularExponent();
5510
5511 SVGAnimatedNumber get surfaceScale();
5512 }
5513 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
5514 // for details. All rights reserved. Use of this source code is governed by a
5515 // BSD-style license that can be found in the LICENSE file.
5516
5517 // WARNING: Do not edit - generated code.
5518
5519 interface SVGFESpotLightElement extends SVGElement {
5520
5521 SVGAnimatedNumber get limitingConeAngle();
5522
5523 SVGAnimatedNumber get pointsAtX();
5524
5525 SVGAnimatedNumber get pointsAtY();
5526
5527 SVGAnimatedNumber get pointsAtZ();
5528
5529 SVGAnimatedNumber get specularExponent();
5530
5531 SVGAnimatedNumber get x();
5532
5533 SVGAnimatedNumber get y();
5534
5535 SVGAnimatedNumber get z();
5536 }
5537 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
5538 // for details. All rights reserved. Use of this source code is governed by a
5539 // BSD-style license that can be found in the LICENSE file.
5540
5541 // WARNING: Do not edit - generated code.
5542
5543 interface SVGFETileElement extends SVGElement, SVGFilterPrimitiveStandardAttribu tes {
5544
5545 SVGAnimatedString get in1();
5546 }
5547 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
5548 // for details. All rights reserved. Use of this source code is governed by a
5549 // BSD-style license that can be found in the LICENSE file.
5550
5551 // WARNING: Do not edit - generated code.
5552
5553 interface SVGFETurbulenceElement extends SVGElement, SVGFilterPrimitiveStandardA ttributes {
5554
5555 static final int SVG_STITCHTYPE_NOSTITCH = 2;
5556
5557 static final int SVG_STITCHTYPE_STITCH = 1;
5558
5559 static final int SVG_STITCHTYPE_UNKNOWN = 0;
5560
5561 static final int SVG_TURBULENCE_TYPE_FRACTALNOISE = 1;
5562
5563 static final int SVG_TURBULENCE_TYPE_TURBULENCE = 2;
5564
5565 static final int SVG_TURBULENCE_TYPE_UNKNOWN = 0;
5566
5567 SVGAnimatedNumber get baseFrequencyX();
5568
5569 SVGAnimatedNumber get baseFrequencyY();
5570
5571 SVGAnimatedInteger get numOctaves();
5572
5573 SVGAnimatedNumber get seed();
5574
5575 SVGAnimatedEnumeration get stitchTiles();
5576
5577 SVGAnimatedEnumeration get type();
5578 }
5579 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
5580 // for details. All rights reserved. Use of this source code is governed by a
5581 // BSD-style license that can be found in the LICENSE file.
5582
5583 // WARNING: Do not edit - generated code.
5584
5585 interface SVGFilterElement extends SVGElement, SVGURIReference, SVGLangSpace, SV GExternalResourcesRequired, SVGStylable {
5586
5587 SVGAnimatedInteger get filterResX();
5588
5589 SVGAnimatedInteger get filterResY();
5590
5591 SVGAnimatedEnumeration get filterUnits();
5592
5593 SVGAnimatedLength get height();
5594
5595 SVGAnimatedEnumeration get primitiveUnits();
5596
5597 SVGAnimatedLength get width();
5598
5599 SVGAnimatedLength get x();
5600
5601 SVGAnimatedLength get y();
5602
5603 void setFilterRes(int filterResX, int filterResY);
5604 }
5605 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
5606 // for details. All rights reserved. Use of this source code is governed by a
5607 // BSD-style license that can be found in the LICENSE file.
5608
5609 // WARNING: Do not edit - generated code.
5610
5611 interface SVGFilterPrimitiveStandardAttributes extends SVGStylable {
5612
5613 SVGAnimatedLength get height();
5614
5615 SVGAnimatedString get result();
5616
5617 SVGAnimatedLength get width();
5618
5619 SVGAnimatedLength get x();
5620
5621 SVGAnimatedLength get y();
5622 }
5623 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
5624 // for details. All rights reserved. Use of this source code is governed by a
5625 // BSD-style license that can be found in the LICENSE file.
5626
5627 // WARNING: Do not edit - generated code.
5628
5629 interface SVGFitToViewBox {
5630
5631 SVGAnimatedPreserveAspectRatio get preserveAspectRatio();
5632
5633 SVGAnimatedRect get viewBox();
5634 }
5635 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
5636 // for details. All rights reserved. Use of this source code is governed by a
5637 // BSD-style license that can be found in the LICENSE file.
5638
5639 // WARNING: Do not edit - generated code.
5640
5641 interface SVGFontElement extends SVGElement {
5642 }
5643 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
5644 // for details. All rights reserved. Use of this source code is governed by a
5645 // BSD-style license that can be found in the LICENSE file.
5646
5647 // WARNING: Do not edit - generated code.
5648
5649 interface SVGFontFaceElement extends SVGElement {
5650 }
5651 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
5652 // for details. All rights reserved. Use of this source code is governed by a
5653 // BSD-style license that can be found in the LICENSE file.
5654
5655 // WARNING: Do not edit - generated code.
5656
5657 interface SVGFontFaceFormatElement extends SVGElement {
5658 }
5659 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
5660 // for details. All rights reserved. Use of this source code is governed by a
5661 // BSD-style license that can be found in the LICENSE file.
5662
5663 // WARNING: Do not edit - generated code.
5664
5665 interface SVGFontFaceNameElement extends SVGElement {
5666 }
5667 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
5668 // for details. All rights reserved. Use of this source code is governed by a
5669 // BSD-style license that can be found in the LICENSE file.
5670
5671 // WARNING: Do not edit - generated code.
5672
5673 interface SVGFontFaceSrcElement extends SVGElement {
5674 }
5675 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
5676 // for details. All rights reserved. Use of this source code is governed by a
5677 // BSD-style license that can be found in the LICENSE file.
5678
5679 // WARNING: Do not edit - generated code.
5680
5681 interface SVGFontFaceUriElement extends SVGElement {
5682 }
5683 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
5684 // for details. All rights reserved. Use of this source code is governed by a
5685 // BSD-style license that can be found in the LICENSE file.
5686
5687 // WARNING: Do not edit - generated code.
5688
5689 interface SVGForeignObjectElement extends SVGElement, SVGTests, SVGLangSpace, SV GExternalResourcesRequired, SVGStylable, SVGTransformable {
5690
5691 SVGAnimatedLength get height();
5692
5693 SVGAnimatedLength get width();
5694
5695 SVGAnimatedLength get x();
5696
5697 SVGAnimatedLength get y();
5698 }
5699 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
5700 // for details. All rights reserved. Use of this source code is governed by a
5701 // BSD-style license that can be found in the LICENSE file.
5702
5703 // WARNING: Do not edit - generated code.
5704
5705 interface SVGGElement extends SVGElement, SVGTests, SVGLangSpace, SVGExternalRes ourcesRequired, SVGStylable, SVGTransformable {
5706 }
5707 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
5708 // for details. All rights reserved. Use of this source code is governed by a
5709 // BSD-style license that can be found in the LICENSE file.
5710
5711 // WARNING: Do not edit - generated code.
5712
5713 interface SVGGlyphElement extends SVGElement {
5714 }
5715 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
5716 // for details. All rights reserved. Use of this source code is governed by a
5717 // BSD-style license that can be found in the LICENSE file.
5718
5719 // WARNING: Do not edit - generated code.
5720
5721 interface SVGGlyphRefElement extends SVGElement, SVGURIReference, SVGStylable {
5722
5723 num get dx();
5724
5725 void set dx(num value);
5726
5727 num get dy();
5728
5729 void set dy(num value);
5730
5731 String get format();
5732
5733 void set format(String value);
5734
5735 String get glyphRef();
5736
5737 void set glyphRef(String value);
5738
5739 num get x();
5740
5741 void set x(num value);
5742
5743 num get y();
5744
5745 void set y(num value);
5746 }
5747 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
5748 // for details. All rights reserved. Use of this source code is governed by a
5749 // BSD-style license that can be found in the LICENSE file.
5750
5751 // WARNING: Do not edit - generated code.
5752
5753 interface SVGGradientElement extends SVGElement, SVGURIReference, SVGExternalRes ourcesRequired, SVGStylable {
5754
5755 static final int SVG_SPREADMETHOD_PAD = 1;
5756
5757 static final int SVG_SPREADMETHOD_REFLECT = 2;
5758
5759 static final int SVG_SPREADMETHOD_REPEAT = 3;
5760
5761 static final int SVG_SPREADMETHOD_UNKNOWN = 0;
5762
5763 SVGAnimatedTransformList get gradientTransform();
5764
5765 SVGAnimatedEnumeration get gradientUnits();
5766
5767 SVGAnimatedEnumeration get spreadMethod();
5768 }
5769 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
5770 // for details. All rights reserved. Use of this source code is governed by a
5771 // BSD-style license that can be found in the LICENSE file.
5772
5773 // WARNING: Do not edit - generated code.
5774
5775 interface SVGHKernElement extends SVGElement {
5776 }
5777 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
5778 // for details. All rights reserved. Use of this source code is governed by a
5779 // BSD-style license that can be found in the LICENSE file.
5780
5781 // WARNING: Do not edit - generated code.
5782
5783 interface SVGImageElement extends SVGElement, SVGURIReference, SVGTests, SVGLang Space, SVGExternalResourcesRequired, SVGStylable, SVGTransformable {
5784
5785 SVGAnimatedLength get height();
5786
5787 SVGAnimatedPreserveAspectRatio get preserveAspectRatio();
5788
5789 SVGAnimatedLength get width();
5790
5791 SVGAnimatedLength get x();
5792
5793 SVGAnimatedLength get y();
5794 }
5795 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
5796 // for details. All rights reserved. Use of this source code is governed by a
5797 // BSD-style license that can be found in the LICENSE file.
5798
5799 // WARNING: Do not edit - generated code.
5800
5801 interface SVGLangSpace {
5802
5803 String get xmllang();
5804
5805 void set xmllang(String value);
5806
5807 String get xmlspace();
5808
5809 void set xmlspace(String value);
5810 }
5811 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
5812 // for details. All rights reserved. Use of this source code is governed by a
5813 // BSD-style license that can be found in the LICENSE file.
5814
5815 // WARNING: Do not edit - generated code.
5816
5817 interface SVGLength {
5818
5819 static final int SVG_LENGTHTYPE_CM = 6;
5820
5821 static final int SVG_LENGTHTYPE_EMS = 3;
5822
5823 static final int SVG_LENGTHTYPE_EXS = 4;
5824
5825 static final int SVG_LENGTHTYPE_IN = 8;
5826
5827 static final int SVG_LENGTHTYPE_MM = 7;
5828
5829 static final int SVG_LENGTHTYPE_NUMBER = 1;
5830
5831 static final int SVG_LENGTHTYPE_PC = 10;
5832
5833 static final int SVG_LENGTHTYPE_PERCENTAGE = 2;
5834
5835 static final int SVG_LENGTHTYPE_PT = 9;
5836
5837 static final int SVG_LENGTHTYPE_PX = 5;
5838
5839 static final int SVG_LENGTHTYPE_UNKNOWN = 0;
5840
5841 int get unitType();
5842
5843 num get value();
5844
5845 void set value(num value);
5846
5847 String get valueAsString();
5848
5849 void set valueAsString(String value);
5850
5851 num get valueInSpecifiedUnits();
5852
5853 void set valueInSpecifiedUnits(num value);
5854
5855 void convertToSpecifiedUnits(int unitType);
5856
5857 void newValueSpecifiedUnits(int unitType, num valueInSpecifiedUnits);
5858 }
5859 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
5860 // for details. All rights reserved. Use of this source code is governed by a
5861 // BSD-style license that can be found in the LICENSE file.
5862
5863 // WARNING: Do not edit - generated code.
5864
5865 interface SVGLengthList {
5866
5867 int get numberOfItems();
5868
5869 SVGLength appendItem(SVGLength item);
5870
5871 void clear();
5872
5873 SVGLength getItem(int index);
5874
5875 SVGLength initialize(SVGLength item);
5876
5877 SVGLength insertItemBefore(SVGLength item, int index);
5878
5879 SVGLength removeItem(int index);
5880
5881 SVGLength replaceItem(SVGLength item, int index);
5882 }
5883 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
5884 // for details. All rights reserved. Use of this source code is governed by a
5885 // BSD-style license that can be found in the LICENSE file.
5886
5887 // WARNING: Do not edit - generated code.
5888
5889 interface SVGLineElement extends SVGElement, SVGTests, SVGLangSpace, SVGExternal ResourcesRequired, SVGStylable, SVGTransformable {
5890
5891 SVGAnimatedLength get x1();
5892
5893 SVGAnimatedLength get x2();
5894
5895 SVGAnimatedLength get y1();
5896
5897 SVGAnimatedLength get y2();
5898 }
5899 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
5900 // for details. All rights reserved. Use of this source code is governed by a
5901 // BSD-style license that can be found in the LICENSE file.
5902
5903 // WARNING: Do not edit - generated code.
5904
5905 interface SVGLinearGradientElement extends SVGGradientElement {
5906
5907 SVGAnimatedLength get x1();
5908
5909 SVGAnimatedLength get x2();
5910
5911 SVGAnimatedLength get y1();
5912
5913 SVGAnimatedLength get y2();
5914 }
5915 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
5916 // for details. All rights reserved. Use of this source code is governed by a
5917 // BSD-style license that can be found in the LICENSE file.
5918
5919 // WARNING: Do not edit - generated code.
5920
5921 interface SVGLocatable {
5922
5923 SVGElement get farthestViewportElement();
5924
5925 SVGElement get nearestViewportElement();
5926
5927 SVGRect getBBox();
5928
5929 SVGMatrix getCTM();
5930
5931 SVGMatrix getScreenCTM();
5932
5933 SVGMatrix getTransformToElement(SVGElement element);
5934 }
5935 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
5936 // for details. All rights reserved. Use of this source code is governed by a
5937 // BSD-style license that can be found in the LICENSE file.
5938
5939 // WARNING: Do not edit - generated code.
5940
5941 interface SVGMPathElement extends SVGElement, SVGURIReference, SVGExternalResour cesRequired {
5942 }
5943 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
5944 // for details. All rights reserved. Use of this source code is governed by a
5945 // BSD-style license that can be found in the LICENSE file.
5946
5947 // WARNING: Do not edit - generated code.
5948
5949 interface SVGMarkerElement extends SVGElement, SVGLangSpace, SVGExternalResource sRequired, SVGStylable, SVGFitToViewBox {
5950
5951 static final int SVG_MARKERUNITS_STROKEWIDTH = 2;
5952
5953 static final int SVG_MARKERUNITS_UNKNOWN = 0;
5954
5955 static final int SVG_MARKERUNITS_USERSPACEONUSE = 1;
5956
5957 static final int SVG_MARKER_ORIENT_ANGLE = 2;
5958
5959 static final int SVG_MARKER_ORIENT_AUTO = 1;
5960
5961 static final int SVG_MARKER_ORIENT_UNKNOWN = 0;
5962
5963 SVGAnimatedLength get markerHeight();
5964
5965 SVGAnimatedEnumeration get markerUnits();
5966
5967 SVGAnimatedLength get markerWidth();
5968
5969 SVGAnimatedAngle get orientAngle();
5970
5971 SVGAnimatedEnumeration get orientType();
5972
5973 SVGAnimatedLength get refX();
5974
5975 SVGAnimatedLength get refY();
5976
5977 void setOrientToAngle(SVGAngle angle);
5978
5979 void setOrientToAuto();
5980 }
5981 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
5982 // for details. All rights reserved. Use of this source code is governed by a
5983 // BSD-style license that can be found in the LICENSE file.
5984
5985 // WARNING: Do not edit - generated code.
5986
5987 interface SVGMaskElement extends SVGElement, SVGTests, SVGLangSpace, SVGExternal ResourcesRequired, SVGStylable {
5988
5989 SVGAnimatedLength get height();
5990
5991 SVGAnimatedEnumeration get maskContentUnits();
5992
5993 SVGAnimatedEnumeration get maskUnits();
5994
5995 SVGAnimatedLength get width();
5996
5997 SVGAnimatedLength get x();
5998
5999 SVGAnimatedLength get y();
6000 }
6001 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
6002 // for details. All rights reserved. Use of this source code is governed by a
6003 // BSD-style license that can be found in the LICENSE file.
6004
6005 // WARNING: Do not edit - generated code.
6006
6007 interface SVGMatrix {
6008
6009 num get a();
6010
6011 void set a(num value);
6012
6013 num get b();
6014
6015 void set b(num value);
6016
6017 num get c();
6018
6019 void set c(num value);
6020
6021 num get d();
6022
6023 void set d(num value);
6024
6025 num get e();
6026
6027 void set e(num value);
6028
6029 num get f();
6030
6031 void set f(num value);
6032
6033 SVGMatrix flipX();
6034
6035 SVGMatrix flipY();
6036
6037 SVGMatrix inverse();
6038
6039 SVGMatrix multiply(SVGMatrix secondMatrix);
6040
6041 SVGMatrix rotate(num angle);
6042
6043 SVGMatrix rotateFromVector(num x, num y);
6044
6045 SVGMatrix scale(num scaleFactor);
6046
6047 SVGMatrix scaleNonUniform(num scaleFactorX, num scaleFactorY);
6048
6049 SVGMatrix skewX(num angle);
6050
6051 SVGMatrix skewY(num angle);
6052
6053 SVGMatrix translate(num x, num y);
6054 }
6055 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
6056 // for details. All rights reserved. Use of this source code is governed by a
6057 // BSD-style license that can be found in the LICENSE file.
6058
6059 // WARNING: Do not edit - generated code.
6060
6061 interface SVGMetadataElement extends SVGElement {
6062 }
6063 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
6064 // for details. All rights reserved. Use of this source code is governed by a
6065 // BSD-style license that can be found in the LICENSE file.
6066
6067 // WARNING: Do not edit - generated code.
6068
6069 interface SVGMissingGlyphElement extends SVGElement {
6070 }
6071 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
6072 // for details. All rights reserved. Use of this source code is governed by a
6073 // BSD-style license that can be found in the LICENSE file.
6074
6075 // WARNING: Do not edit - generated code.
6076
6077 interface SVGNumber {
6078
6079 num get value();
6080
6081 void set value(num value);
6082 }
6083 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
6084 // for details. All rights reserved. Use of this source code is governed by a
6085 // BSD-style license that can be found in the LICENSE file.
6086
6087 // WARNING: Do not edit - generated code.
6088
6089 interface SVGNumberList {
6090
6091 int get numberOfItems();
6092
6093 SVGNumber appendItem(SVGNumber item);
6094
6095 void clear();
6096
6097 SVGNumber getItem(int index);
6098
6099 SVGNumber initialize(SVGNumber item);
6100
6101 SVGNumber insertItemBefore(SVGNumber item, int index);
6102
6103 SVGNumber removeItem(int index);
6104
6105 SVGNumber replaceItem(SVGNumber item, int index);
6106 }
6107 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
6108 // for details. All rights reserved. Use of this source code is governed by a
6109 // BSD-style license that can be found in the LICENSE file.
6110
6111 // WARNING: Do not edit - generated code.
6112
6113 interface SVGPaint extends SVGColor {
6114
6115 static final int SVG_PAINTTYPE_CURRENTCOLOR = 102;
6116
6117 static final int SVG_PAINTTYPE_NONE = 101;
6118
6119 static final int SVG_PAINTTYPE_RGBCOLOR = 1;
6120
6121 static final int SVG_PAINTTYPE_RGBCOLOR_ICCCOLOR = 2;
6122
6123 static final int SVG_PAINTTYPE_UNKNOWN = 0;
6124
6125 static final int SVG_PAINTTYPE_URI = 107;
6126
6127 static final int SVG_PAINTTYPE_URI_CURRENTCOLOR = 104;
6128
6129 static final int SVG_PAINTTYPE_URI_NONE = 103;
6130
6131 static final int SVG_PAINTTYPE_URI_RGBCOLOR = 105;
6132
6133 static final int SVG_PAINTTYPE_URI_RGBCOLOR_ICCCOLOR = 106;
6134
6135 int get paintType();
6136
6137 String get uri();
6138
6139 void setPaint(int paintType, String uri, String rgbColor, String iccColor);
6140
6141 void setUri(String uri);
6142 }
6143 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
6144 // for details. All rights reserved. Use of this source code is governed by a
6145 // BSD-style license that can be found in the LICENSE file.
6146
6147 // WARNING: Do not edit - generated code.
6148
6149 interface SVGPathElement extends SVGElement, SVGTests, SVGLangSpace, SVGExternal ResourcesRequired, SVGStylable, SVGTransformable {
6150
6151 SVGPathSegList get animatedNormalizedPathSegList();
6152
6153 SVGPathSegList get animatedPathSegList();
6154
6155 SVGPathSegList get normalizedPathSegList();
6156
6157 SVGAnimatedNumber get pathLength();
6158
6159 SVGPathSegList get pathSegList();
6160
6161 SVGPathSegArcAbs createSVGPathSegArcAbs(num x, num y, num r1, num r2, num angl e, bool largeArcFlag, bool sweepFlag);
6162
6163 SVGPathSegArcRel createSVGPathSegArcRel(num x, num y, num r1, num r2, num angl e, bool largeArcFlag, bool sweepFlag);
6164
6165 SVGPathSegClosePath createSVGPathSegClosePath();
6166
6167 SVGPathSegCurvetoCubicAbs createSVGPathSegCurvetoCubicAbs(num x, num y, num x1 , num y1, num x2, num y2);
6168
6169 SVGPathSegCurvetoCubicRel createSVGPathSegCurvetoCubicRel(num x, num y, num x1 , num y1, num x2, num y2);
6170
6171 SVGPathSegCurvetoCubicSmoothAbs createSVGPathSegCurvetoCubicSmoothAbs(num x, n um y, num x2, num y2);
6172
6173 SVGPathSegCurvetoCubicSmoothRel createSVGPathSegCurvetoCubicSmoothRel(num x, n um y, num x2, num y2);
6174
6175 SVGPathSegCurvetoQuadraticAbs createSVGPathSegCurvetoQuadraticAbs(num x, num y , num x1, num y1);
6176
6177 SVGPathSegCurvetoQuadraticRel createSVGPathSegCurvetoQuadraticRel(num x, num y , num x1, num y1);
6178
6179 SVGPathSegCurvetoQuadraticSmoothAbs createSVGPathSegCurvetoQuadraticSmoothAbs( num x, num y);
6180
6181 SVGPathSegCurvetoQuadraticSmoothRel createSVGPathSegCurvetoQuadraticSmoothRel( num x, num y);
6182
6183 SVGPathSegLinetoAbs createSVGPathSegLinetoAbs(num x, num y);
6184
6185 SVGPathSegLinetoHorizontalAbs createSVGPathSegLinetoHorizontalAbs(num x);
6186
6187 SVGPathSegLinetoHorizontalRel createSVGPathSegLinetoHorizontalRel(num x);
6188
6189 SVGPathSegLinetoRel createSVGPathSegLinetoRel(num x, num y);
6190
6191 SVGPathSegLinetoVerticalAbs createSVGPathSegLinetoVerticalAbs(num y);
6192
6193 SVGPathSegLinetoVerticalRel createSVGPathSegLinetoVerticalRel(num y);
6194
6195 SVGPathSegMovetoAbs createSVGPathSegMovetoAbs(num x, num y);
6196
6197 SVGPathSegMovetoRel createSVGPathSegMovetoRel(num x, num y);
6198
6199 int getPathSegAtLength(num distance);
6200
6201 SVGPoint getPointAtLength(num distance);
6202
6203 num getTotalLength();
6204 }
6205 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
6206 // for details. All rights reserved. Use of this source code is governed by a
6207 // BSD-style license that can be found in the LICENSE file.
6208
6209 // WARNING: Do not edit - generated code.
6210
6211 interface SVGPathSeg {
6212
6213 static final int PATHSEG_ARC_ABS = 10;
6214
6215 static final int PATHSEG_ARC_REL = 11;
6216
6217 static final int PATHSEG_CLOSEPATH = 1;
6218
6219 static final int PATHSEG_CURVETO_CUBIC_ABS = 6;
6220
6221 static final int PATHSEG_CURVETO_CUBIC_REL = 7;
6222
6223 static final int PATHSEG_CURVETO_CUBIC_SMOOTH_ABS = 16;
6224
6225 static final int PATHSEG_CURVETO_CUBIC_SMOOTH_REL = 17;
6226
6227 static final int PATHSEG_CURVETO_QUADRATIC_ABS = 8;
6228
6229 static final int PATHSEG_CURVETO_QUADRATIC_REL = 9;
6230
6231 static final int PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS = 18;
6232
6233 static final int PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL = 19;
6234
6235 static final int PATHSEG_LINETO_ABS = 4;
6236
6237 static final int PATHSEG_LINETO_HORIZONTAL_ABS = 12;
6238
6239 static final int PATHSEG_LINETO_HORIZONTAL_REL = 13;
6240
6241 static final int PATHSEG_LINETO_REL = 5;
6242
6243 static final int PATHSEG_LINETO_VERTICAL_ABS = 14;
6244
6245 static final int PATHSEG_LINETO_VERTICAL_REL = 15;
6246
6247 static final int PATHSEG_MOVETO_ABS = 2;
6248
6249 static final int PATHSEG_MOVETO_REL = 3;
6250
6251 static final int PATHSEG_UNKNOWN = 0;
6252
6253 int get pathSegType();
6254
6255 String get pathSegTypeAsLetter();
6256 }
6257 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
6258 // for details. All rights reserved. Use of this source code is governed by a
6259 // BSD-style license that can be found in the LICENSE file.
6260
6261 // WARNING: Do not edit - generated code.
6262
6263 interface SVGPathSegArcAbs extends SVGPathSeg {
6264
6265 num get angle();
6266
6267 void set angle(num value);
6268
6269 bool get largeArcFlag();
6270
6271 void set largeArcFlag(bool value);
6272
6273 num get r1();
6274
6275 void set r1(num value);
6276
6277 num get r2();
6278
6279 void set r2(num value);
6280
6281 bool get sweepFlag();
6282
6283 void set sweepFlag(bool value);
6284
6285 num get x();
6286
6287 void set x(num value);
6288
6289 num get y();
6290
6291 void set y(num value);
6292 }
6293 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
6294 // for details. All rights reserved. Use of this source code is governed by a
6295 // BSD-style license that can be found in the LICENSE file.
6296
6297 // WARNING: Do not edit - generated code.
6298
6299 interface SVGPathSegArcRel extends SVGPathSeg {
6300
6301 num get angle();
6302
6303 void set angle(num value);
6304
6305 bool get largeArcFlag();
6306
6307 void set largeArcFlag(bool value);
6308
6309 num get r1();
6310
6311 void set r1(num value);
6312
6313 num get r2();
6314
6315 void set r2(num value);
6316
6317 bool get sweepFlag();
6318
6319 void set sweepFlag(bool value);
6320
6321 num get x();
6322
6323 void set x(num value);
6324
6325 num get y();
6326
6327 void set y(num value);
6328 }
6329 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
6330 // for details. All rights reserved. Use of this source code is governed by a
6331 // BSD-style license that can be found in the LICENSE file.
6332
6333 // WARNING: Do not edit - generated code.
6334
6335 interface SVGPathSegClosePath extends SVGPathSeg {
6336 }
6337 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
6338 // for details. All rights reserved. Use of this source code is governed by a
6339 // BSD-style license that can be found in the LICENSE file.
6340
6341 // WARNING: Do not edit - generated code.
6342
6343 interface SVGPathSegCurvetoCubicAbs extends SVGPathSeg {
6344
6345 num get x();
6346
6347 void set x(num value);
6348
6349 num get x1();
6350
6351 void set x1(num value);
6352
6353 num get x2();
6354
6355 void set x2(num value);
6356
6357 num get y();
6358
6359 void set y(num value);
6360
6361 num get y1();
6362
6363 void set y1(num value);
6364
6365 num get y2();
6366
6367 void set y2(num value);
6368 }
6369 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
6370 // for details. All rights reserved. Use of this source code is governed by a
6371 // BSD-style license that can be found in the LICENSE file.
6372
6373 // WARNING: Do not edit - generated code.
6374
6375 interface SVGPathSegCurvetoCubicRel extends SVGPathSeg {
6376
6377 num get x();
6378
6379 void set x(num value);
6380
6381 num get x1();
6382
6383 void set x1(num value);
6384
6385 num get x2();
6386
6387 void set x2(num value);
6388
6389 num get y();
6390
6391 void set y(num value);
6392
6393 num get y1();
6394
6395 void set y1(num value);
6396
6397 num get y2();
6398
6399 void set y2(num value);
6400 }
6401 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
6402 // for details. All rights reserved. Use of this source code is governed by a
6403 // BSD-style license that can be found in the LICENSE file.
6404
6405 // WARNING: Do not edit - generated code.
6406
6407 interface SVGPathSegCurvetoCubicSmoothAbs extends SVGPathSeg {
6408
6409 num get x();
6410
6411 void set x(num value);
6412
6413 num get x2();
6414
6415 void set x2(num value);
6416
6417 num get y();
6418
6419 void set y(num value);
6420
6421 num get y2();
6422
6423 void set y2(num value);
6424 }
6425 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
6426 // for details. All rights reserved. Use of this source code is governed by a
6427 // BSD-style license that can be found in the LICENSE file.
6428
6429 // WARNING: Do not edit - generated code.
6430
6431 interface SVGPathSegCurvetoCubicSmoothRel extends SVGPathSeg {
6432
6433 num get x();
6434
6435 void set x(num value);
6436
6437 num get x2();
6438
6439 void set x2(num value);
6440
6441 num get y();
6442
6443 void set y(num value);
6444
6445 num get y2();
6446
6447 void set y2(num value);
6448 }
6449 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
6450 // for details. All rights reserved. Use of this source code is governed by a
6451 // BSD-style license that can be found in the LICENSE file.
6452
6453 // WARNING: Do not edit - generated code.
6454
6455 interface SVGPathSegCurvetoQuadraticAbs extends SVGPathSeg {
6456
6457 num get x();
6458
6459 void set x(num value);
6460
6461 num get x1();
6462
6463 void set x1(num value);
6464
6465 num get y();
6466
6467 void set y(num value);
6468
6469 num get y1();
6470
6471 void set y1(num value);
6472 }
6473 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
6474 // for details. All rights reserved. Use of this source code is governed by a
6475 // BSD-style license that can be found in the LICENSE file.
6476
6477 // WARNING: Do not edit - generated code.
6478
6479 interface SVGPathSegCurvetoQuadraticRel extends SVGPathSeg {
6480
6481 num get x();
6482
6483 void set x(num value);
6484
6485 num get x1();
6486
6487 void set x1(num value);
6488
6489 num get y();
6490
6491 void set y(num value);
6492
6493 num get y1();
6494
6495 void set y1(num value);
6496 }
6497 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
6498 // for details. All rights reserved. Use of this source code is governed by a
6499 // BSD-style license that can be found in the LICENSE file.
6500
6501 // WARNING: Do not edit - generated code.
6502
6503 interface SVGPathSegCurvetoQuadraticSmoothAbs extends SVGPathSeg {
6504
6505 num get x();
6506
6507 void set x(num value);
6508
6509 num get y();
6510
6511 void set y(num value);
6512 }
6513 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
6514 // for details. All rights reserved. Use of this source code is governed by a
6515 // BSD-style license that can be found in the LICENSE file.
6516
6517 // WARNING: Do not edit - generated code.
6518
6519 interface SVGPathSegCurvetoQuadraticSmoothRel extends SVGPathSeg {
6520
6521 num get x();
6522
6523 void set x(num value);
6524
6525 num get y();
6526
6527 void set y(num value);
6528 }
6529 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
6530 // for details. All rights reserved. Use of this source code is governed by a
6531 // BSD-style license that can be found in the LICENSE file.
6532
6533 // WARNING: Do not edit - generated code.
6534
6535 interface SVGPathSegLinetoAbs extends SVGPathSeg {
6536
6537 num get x();
6538
6539 void set x(num value);
6540
6541 num get y();
6542
6543 void set y(num value);
6544 }
6545 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
6546 // for details. All rights reserved. Use of this source code is governed by a
6547 // BSD-style license that can be found in the LICENSE file.
6548
6549 // WARNING: Do not edit - generated code.
6550
6551 interface SVGPathSegLinetoHorizontalAbs extends SVGPathSeg {
6552
6553 num get x();
6554
6555 void set x(num value);
6556 }
6557 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
6558 // for details. All rights reserved. Use of this source code is governed by a
6559 // BSD-style license that can be found in the LICENSE file.
6560
6561 // WARNING: Do not edit - generated code.
6562
6563 interface SVGPathSegLinetoHorizontalRel extends SVGPathSeg {
6564
6565 num get x();
6566
6567 void set x(num value);
6568 }
6569 // Copyright (c) 2011, 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 SVGPathSegLinetoRel extends SVGPathSeg {
6576
6577 num get x();
6578
6579 void set x(num value);
6580
6581 num get y();
6582
6583 void set y(num value);
6584 }
6585 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
6586 // for details. All rights reserved. Use of this source code is governed by a
6587 // BSD-style license that can be found in the LICENSE file.
6588
6589 // WARNING: Do not edit - generated code.
6590
6591 interface SVGPathSegLinetoVerticalAbs extends SVGPathSeg {
6592
6593 num get y();
6594
6595 void set y(num value);
6596 }
6597 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
6598 // for details. All rights reserved. Use of this source code is governed by a
6599 // BSD-style license that can be found in the LICENSE file.
6600
6601 // WARNING: Do not edit - generated code.
6602
6603 interface SVGPathSegLinetoVerticalRel extends SVGPathSeg {
6604
6605 num get y();
6606
6607 void set y(num value);
6608 }
6609 // Copyright (c) 2011, 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 SVGPathSegList {
6616
6617 int get numberOfItems();
6618
6619 SVGPathSeg appendItem(SVGPathSeg newItem);
6620
6621 void clear();
6622
6623 SVGPathSeg getItem(int index);
6624
6625 SVGPathSeg initialize(SVGPathSeg newItem);
6626
6627 SVGPathSeg insertItemBefore(SVGPathSeg newItem, int index);
6628
6629 SVGPathSeg removeItem(int index);
6630
6631 SVGPathSeg replaceItem(SVGPathSeg newItem, int index);
6632 }
6633 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
6634 // for details. All rights reserved. Use of this source code is governed by a
6635 // BSD-style license that can be found in the LICENSE file.
6636
6637 // WARNING: Do not edit - generated code.
6638
6639 interface SVGPathSegMovetoAbs extends SVGPathSeg {
6640
6641 num get x();
6642
6643 void set x(num value);
6644
6645 num get y();
6646
6647 void set y(num value);
6648 }
6649 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
6650 // for details. All rights reserved. Use of this source code is governed by a
6651 // BSD-style license that can be found in the LICENSE file.
6652
6653 // WARNING: Do not edit - generated code.
6654
6655 interface SVGPathSegMovetoRel extends SVGPathSeg {
6656
6657 num get x();
6658
6659 void set x(num value);
6660
6661 num get y();
6662
6663 void set y(num value);
6664 }
6665 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
6666 // for details. All rights reserved. Use of this source code is governed by a
6667 // BSD-style license that can be found in the LICENSE file.
6668
6669 // WARNING: Do not edit - generated code.
6670
6671 interface SVGPatternElement extends SVGElement, SVGURIReference, SVGTests, SVGLa ngSpace, SVGExternalResourcesRequired, SVGStylable, SVGFitToViewBox {
6672
6673 SVGAnimatedLength get height();
6674
6675 SVGAnimatedEnumeration get patternContentUnits();
6676
6677 SVGAnimatedTransformList get patternTransform();
6678
6679 SVGAnimatedEnumeration get patternUnits();
6680
6681 SVGAnimatedLength get width();
6682
6683 SVGAnimatedLength get x();
6684
6685 SVGAnimatedLength get y();
6686 }
6687 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
6688 // for details. All rights reserved. Use of this source code is governed by a
6689 // BSD-style license that can be found in the LICENSE file.
6690
6691 // WARNING: Do not edit - generated code.
6692
6693 interface SVGPoint {
6694
6695 num get x();
6696
6697 void set x(num value);
6698
6699 num get y();
6700
6701 void set y(num value);
6702
6703 SVGPoint matrixTransform(SVGMatrix matrix);
6704 }
6705 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
6706 // for details. All rights reserved. Use of this source code is governed by a
6707 // BSD-style license that can be found in the LICENSE file.
6708
6709 // WARNING: Do not edit - generated code.
6710
6711 interface SVGPointList {
6712
6713 int get numberOfItems();
6714
6715 SVGPoint appendItem(SVGPoint item);
6716
6717 void clear();
6718
6719 SVGPoint getItem(int index);
6720
6721 SVGPoint initialize(SVGPoint item);
6722
6723 SVGPoint insertItemBefore(SVGPoint item, int index);
6724
6725 SVGPoint removeItem(int index);
6726
6727 SVGPoint replaceItem(SVGPoint item, int index);
6728 }
6729 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
6730 // for details. All rights reserved. Use of this source code is governed by a
6731 // BSD-style license that can be found in the LICENSE file.
6732
6733 // WARNING: Do not edit - generated code.
6734
6735 interface SVGPolygonElement extends SVGElement, SVGTests, SVGLangSpace, SVGExter nalResourcesRequired, SVGStylable, SVGTransformable {
6736
6737 SVGPointList get animatedPoints();
6738
6739 SVGPointList get points();
6740 }
6741 // Copyright (c) 2011, 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 SVGPolylineElement extends SVGElement, SVGTests, SVGLangSpace, SVGExte rnalResourcesRequired, SVGStylable, SVGTransformable {
6748
6749 SVGPointList get animatedPoints();
6750
6751 SVGPointList get points();
6752 }
6753 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
6754 // for details. All rights reserved. Use of this source code is governed by a
6755 // BSD-style license that can be found in the LICENSE file.
6756
6757 // WARNING: Do not edit - generated code.
6758
6759 interface SVGPreserveAspectRatio {
6760
6761 static final int SVG_MEETORSLICE_MEET = 1;
6762
6763 static final int SVG_MEETORSLICE_SLICE = 2;
6764
6765 static final int SVG_MEETORSLICE_UNKNOWN = 0;
6766
6767 static final int SVG_PRESERVEASPECTRATIO_NONE = 1;
6768
6769 static final int SVG_PRESERVEASPECTRATIO_UNKNOWN = 0;
6770
6771 static final int SVG_PRESERVEASPECTRATIO_XMAXYMAX = 10;
6772
6773 static final int SVG_PRESERVEASPECTRATIO_XMAXYMID = 7;
6774
6775 static final int SVG_PRESERVEASPECTRATIO_XMAXYMIN = 4;
6776
6777 static final int SVG_PRESERVEASPECTRATIO_XMIDYMAX = 9;
6778
6779 static final int SVG_PRESERVEASPECTRATIO_XMIDYMID = 6;
6780
6781 static final int SVG_PRESERVEASPECTRATIO_XMIDYMIN = 3;
6782
6783 static final int SVG_PRESERVEASPECTRATIO_XMINYMAX = 8;
6784
6785 static final int SVG_PRESERVEASPECTRATIO_XMINYMID = 5;
6786
6787 static final int SVG_PRESERVEASPECTRATIO_XMINYMIN = 2;
6788
6789 int get align();
6790
6791 void set align(int value);
6792
6793 int get meetOrSlice();
6794
6795 void set meetOrSlice(int value);
6796 }
6797 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
6798 // for details. All rights reserved. Use of this source code is governed by a
6799 // BSD-style license that can be found in the LICENSE file.
6800
6801 // WARNING: Do not edit - generated code.
6802
6803 interface SVGRadialGradientElement extends SVGGradientElement {
6804
6805 SVGAnimatedLength get cx();
6806
6807 SVGAnimatedLength get cy();
6808
6809 SVGAnimatedLength get fx();
6810
6811 SVGAnimatedLength get fy();
6812
6813 SVGAnimatedLength get r();
6814 }
6815 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
6816 // for details. All rights reserved. Use of this source code is governed by a
6817 // BSD-style license that can be found in the LICENSE file.
6818
6819 // WARNING: Do not edit - generated code.
6820
6821 interface SVGRect {
6822
6823 num get height();
6824
6825 void set height(num value);
6826
6827 num get width();
6828
6829 void set width(num value);
6830
6831 num get x();
6832
6833 void set x(num value);
6834
6835 num get y();
6836
6837 void set y(num value);
6838 }
6839 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
6840 // for details. All rights reserved. Use of this source code is governed by a
6841 // BSD-style license that can be found in the LICENSE file.
6842
6843 // WARNING: Do not edit - generated code.
6844
6845 interface SVGRectElement extends SVGElement, SVGTests, SVGLangSpace, SVGExternal ResourcesRequired, SVGStylable, SVGTransformable {
6846
6847 SVGAnimatedLength get height();
6848
6849 SVGAnimatedLength get rx();
6850
6851 SVGAnimatedLength get ry();
6852
6853 SVGAnimatedLength get width();
6854
6855 SVGAnimatedLength get x();
6856
6857 SVGAnimatedLength get y();
6858 }
6859 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
6860 // for details. All rights reserved. Use of this source code is governed by a
6861 // BSD-style license that can be found in the LICENSE file.
6862
6863 // WARNING: Do not edit - generated code.
6864
6865 interface SVGRenderingIntent {
6866
6867 static final int RENDERING_INTENT_ABSOLUTE_COLORIMETRIC = 5;
6868
6869 static final int RENDERING_INTENT_AUTO = 1;
6870
6871 static final int RENDERING_INTENT_PERCEPTUAL = 2;
6872
6873 static final int RENDERING_INTENT_RELATIVE_COLORIMETRIC = 3;
6874
6875 static final int RENDERING_INTENT_SATURATION = 4;
6876
6877 static final int RENDERING_INTENT_UNKNOWN = 0;
6878 }
6879 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
6880 // for details. All rights reserved. Use of this source code is governed by a
6881 // BSD-style license that can be found in the LICENSE file.
6882
6883 // WARNING: Do not edit - generated code.
6884
6885 interface SVGSVGElement extends SVGElement, SVGTests, SVGLangSpace, SVGExternalR esourcesRequired, SVGStylable, SVGLocatable, SVGFitToViewBox, SVGZoomAndPan {
6886
6887 String get contentScriptType();
6888
6889 void set contentScriptType(String value);
6890
6891 String get contentStyleType();
6892
6893 void set contentStyleType(String value);
6894
6895 num get currentScale();
6896
6897 void set currentScale(num value);
6898
6899 SVGPoint get currentTranslate();
6900
6901 SVGAnimatedLength get height();
6902
6903 num get pixelUnitToMillimeterX();
6904
6905 num get pixelUnitToMillimeterY();
6906
6907 num get screenPixelToMillimeterX();
6908
6909 num get screenPixelToMillimeterY();
6910
6911 bool get useCurrentView();
6912
6913 void set useCurrentView(bool value);
6914
6915 SVGRect get viewport();
6916
6917 SVGAnimatedLength get width();
6918
6919 SVGAnimatedLength get x();
6920
6921 SVGAnimatedLength get y();
6922
6923 bool animationsPaused();
6924
6925 bool checkEnclosure(SVGElement element, SVGRect rect);
6926
6927 bool checkIntersection(SVGElement element, SVGRect rect);
6928
6929 SVGAngle createSVGAngle();
6930
6931 SVGLength createSVGLength();
6932
6933 SVGMatrix createSVGMatrix();
6934
6935 SVGNumber createSVGNumber();
6936
6937 SVGPoint createSVGPoint();
6938
6939 SVGRect createSVGRect();
6940
6941 SVGTransform createSVGTransform();
6942
6943 SVGTransform createSVGTransformFromMatrix(SVGMatrix matrix);
6944
6945 void deselectAll();
6946
6947 void forceRedraw();
6948
6949 num getCurrentTime();
6950
6951 Element getElementById(String elementId);
6952
6953 ElementList getEnclosureList(SVGRect rect, SVGElement referenceElement);
6954
6955 ElementList getIntersectionList(SVGRect rect, SVGElement referenceElement);
6956
6957 void pauseAnimations();
6958
6959 void setCurrentTime(num seconds);
6960
6961 int suspendRedraw(int maxWaitMilliseconds);
6962
6963 void unpauseAnimations();
6964
6965 void unsuspendRedraw(int suspendHandleId);
6966
6967 void unsuspendRedrawAll();
6968 }
6969 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
6970 // for details. All rights reserved. Use of this source code is governed by a
6971 // BSD-style license that can be found in the LICENSE file.
6972
6973 // WARNING: Do not edit - generated code.
6974
6975 interface SVGScriptElement extends SVGElement, SVGURIReference, SVGExternalResou rcesRequired {
6976
6977 String get type();
6978
6979 void set type(String value);
6980 }
6981 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
6982 // for details. All rights reserved. Use of this source code is governed by a
6983 // BSD-style license that can be found in the LICENSE file.
6984
6985 // WARNING: Do not edit - generated code.
6986
6987 interface SVGSetElement extends SVGAnimationElement {
6988 }
6989 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
6990 // for details. All rights reserved. Use of this source code is governed by a
6991 // BSD-style license that can be found in the LICENSE file.
6992
6993 // WARNING: Do not edit - generated code.
6994
6995 interface SVGStopElement extends SVGElement, SVGStylable {
6996
6997 SVGAnimatedNumber get offset();
6998 }
6999 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
7000 // for details. All rights reserved. Use of this source code is governed by a
7001 // BSD-style license that can be found in the LICENSE file.
7002
7003 // WARNING: Do not edit - generated code.
7004
7005 interface SVGStringList {
7006
7007 int get numberOfItems();
7008
7009 String appendItem(String item);
7010
7011 void clear();
7012
7013 String getItem(int index);
7014
7015 String initialize(String item);
7016
7017 String insertItemBefore(String item, int index);
7018
7019 String removeItem(int index);
7020
7021 String replaceItem(String item, int index);
7022 }
7023 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
7024 // for details. All rights reserved. Use of this source code is governed by a
7025 // BSD-style license that can be found in the LICENSE file.
7026
7027 // WARNING: Do not edit - generated code.
7028
7029 interface SVGStylable {
7030
7031 SVGAnimatedString get className();
7032
7033 CSSStyleDeclaration get style();
7034
7035 CSSValue getPresentationAttribute(String name);
7036 }
7037 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
7038 // for details. All rights reserved. Use of this source code is governed by a
7039 // BSD-style license that can be found in the LICENSE file.
7040
7041 // WARNING: Do not edit - generated code.
7042
7043 interface SVGStyleElement extends SVGElement, SVGLangSpace {
7044
7045 String get media();
7046
7047 void set media(String value);
7048
7049 String get title();
7050
7051 void set title(String value);
7052
7053 String get type();
7054
7055 void set type(String value);
7056 }
7057 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
7058 // for details. All rights reserved. Use of this source code is governed by a
7059 // BSD-style license that can be found in the LICENSE file.
7060
7061 // WARNING: Do not edit - generated code.
7062
7063 interface SVGSwitchElement extends SVGElement, SVGTests, SVGLangSpace, SVGExtern alResourcesRequired, SVGStylable, SVGTransformable {
7064 }
7065 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
7066 // for details. All rights reserved. Use of this source code is governed by a
7067 // BSD-style license that can be found in the LICENSE file.
7068
7069 // WARNING: Do not edit - generated code.
7070
7071 interface SVGSymbolElement extends SVGElement, SVGLangSpace, SVGExternalResource sRequired, SVGStylable, SVGFitToViewBox {
7072 }
7073 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
7074 // for details. All rights reserved. Use of this source code is governed by a
7075 // BSD-style license that can be found in the LICENSE file.
7076
7077 // WARNING: Do not edit - generated code.
7078
7079 interface SVGTRefElement extends SVGTextPositioningElement, SVGURIReference {
7080 }
7081 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
7082 // for details. All rights reserved. Use of this source code is governed by a
7083 // BSD-style license that can be found in the LICENSE file.
7084
7085 // WARNING: Do not edit - generated code.
7086
7087 interface SVGTSpanElement extends SVGTextPositioningElement {
7088 }
7089 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
7090 // for details. All rights reserved. Use of this source code is governed by a
7091 // BSD-style license that can be found in the LICENSE file.
7092
7093 // WARNING: Do not edit - generated code.
7094
7095 interface SVGTests {
7096
7097 SVGStringList get requiredExtensions();
7098
7099 SVGStringList get requiredFeatures();
7100
7101 SVGStringList get systemLanguage();
7102
7103 bool hasExtension(String extension);
7104 }
7105 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
7106 // for details. All rights reserved. Use of this source code is governed by a
7107 // BSD-style license that can be found in the LICENSE file.
7108
7109 // WARNING: Do not edit - generated code.
7110
7111 interface SVGTextContentElement extends SVGElement, SVGTests, SVGLangSpace, SVGE xternalResourcesRequired, SVGStylable {
7112
7113 static final int LENGTHADJUST_SPACING = 1;
7114
7115 static final int LENGTHADJUST_SPACINGANDGLYPHS = 2;
7116
7117 static final int LENGTHADJUST_UNKNOWN = 0;
7118
7119 SVGAnimatedEnumeration get lengthAdjust();
7120
7121 SVGAnimatedLength get textLength();
7122
7123 int getCharNumAtPosition(SVGPoint point);
7124
7125 num getComputedTextLength();
7126
7127 SVGPoint getEndPositionOfChar(int offset);
7128
7129 SVGRect getExtentOfChar(int offset);
7130
7131 int getNumberOfChars();
7132
7133 num getRotationOfChar(int offset);
7134
7135 SVGPoint getStartPositionOfChar(int offset);
7136
7137 num getSubStringLength(int offset, int length);
7138
7139 void selectSubString(int offset, int length);
7140 }
7141 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
7142 // for details. All rights reserved. Use of this source code is governed by a
7143 // BSD-style license that can be found in the LICENSE file.
7144
7145 // WARNING: Do not edit - generated code.
7146
7147 interface SVGTextElement extends SVGTextPositioningElement, SVGTransformable {
7148 }
7149 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
7150 // for details. All rights reserved. Use of this source code is governed by a
7151 // BSD-style license that can be found in the LICENSE file.
7152
7153 // WARNING: Do not edit - generated code.
7154
7155 interface SVGTextPathElement extends SVGTextContentElement, SVGURIReference {
7156
7157 static final int TEXTPATH_METHODTYPE_ALIGN = 1;
7158
7159 static final int TEXTPATH_METHODTYPE_STRETCH = 2;
7160
7161 static final int TEXTPATH_METHODTYPE_UNKNOWN = 0;
7162
7163 static final int TEXTPATH_SPACINGTYPE_AUTO = 1;
7164
7165 static final int TEXTPATH_SPACINGTYPE_EXACT = 2;
7166
7167 static final int TEXTPATH_SPACINGTYPE_UNKNOWN = 0;
7168
7169 SVGAnimatedEnumeration get method();
7170
7171 SVGAnimatedEnumeration get spacing();
7172
7173 SVGAnimatedLength get startOffset();
7174 }
7175 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
7176 // for details. All rights reserved. Use of this source code is governed by a
7177 // BSD-style license that can be found in the LICENSE file.
7178
7179 // WARNING: Do not edit - generated code.
7180
7181 interface SVGTextPositioningElement extends SVGTextContentElement {
7182
7183 SVGAnimatedLengthList get dx();
7184
7185 SVGAnimatedLengthList get dy();
7186
7187 SVGAnimatedNumberList get rotate();
7188
7189 SVGAnimatedLengthList get x();
7190
7191 SVGAnimatedLengthList get y();
7192 }
7193 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
7194 // for details. All rights reserved. Use of this source code is governed by a
7195 // BSD-style license that can be found in the LICENSE file.
7196
7197 // WARNING: Do not edit - generated code.
7198
7199 interface SVGTitleElement extends SVGElement, SVGLangSpace, SVGStylable {
7200 }
7201 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
7202 // for details. All rights reserved. Use of this source code is governed by a
7203 // BSD-style license that can be found in the LICENSE file.
7204
7205 // WARNING: Do not edit - generated code.
7206
7207 interface SVGTransform {
7208
7209 static final int SVG_TRANSFORM_MATRIX = 1;
7210
7211 static final int SVG_TRANSFORM_ROTATE = 4;
7212
7213 static final int SVG_TRANSFORM_SCALE = 3;
7214
7215 static final int SVG_TRANSFORM_SKEWX = 5;
7216
7217 static final int SVG_TRANSFORM_SKEWY = 6;
7218
7219 static final int SVG_TRANSFORM_TRANSLATE = 2;
7220
7221 static final int SVG_TRANSFORM_UNKNOWN = 0;
7222
7223 num get angle();
7224
7225 SVGMatrix get matrix();
7226
7227 int get type();
7228
7229 void setMatrix(SVGMatrix matrix);
7230
7231 void setRotate(num angle, num cx, num cy);
7232
7233 void setScale(num sx, num sy);
7234
7235 void setSkewX(num angle);
7236
7237 void setSkewY(num angle);
7238
7239 void setTranslate(num tx, num ty);
7240 }
7241 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
7242 // for details. All rights reserved. Use of this source code is governed by a
4351 // BSD-style license that can be found in the LICENSE file. 7243 // BSD-style license that can be found in the LICENSE file.
4352 7244
4353 // WARNING: Do not edit - generated code. 7245 // WARNING: Do not edit - generated code.
4354 7246
4355 interface RGBColor { 7247 interface SVGTransformList {
4356 7248
4357 CSSPrimitiveValue get alpha(); 7249 int get numberOfItems();
4358 7250
4359 CSSPrimitiveValue get blue(); 7251 SVGTransform appendItem(SVGTransform item);
4360 7252
4361 CSSPrimitiveValue get green(); 7253 void clear();
4362 7254
4363 CSSPrimitiveValue get red(); 7255 SVGTransform consolidate();
7256
7257 SVGTransform createSVGTransformFromMatrix(SVGMatrix matrix);
7258
7259 SVGTransform getItem(int index);
7260
7261 SVGTransform initialize(SVGTransform item);
7262
7263 SVGTransform insertItemBefore(SVGTransform item, int index);
7264
7265 SVGTransform removeItem(int index);
7266
7267 SVGTransform replaceItem(SVGTransform item, int index);
4364 } 7268 }
4365 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 7269 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
4366 // for details. All rights reserved. Use of this source code is governed by a 7270 // 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. 7271 // BSD-style license that can be found in the LICENSE file.
4368 7272
4369 // WARNING: Do not edit - generated code. 7273 // WARNING: Do not edit - generated code.
4370 7274
4371 interface Range { 7275 interface SVGTransformable extends SVGLocatable {
4372 7276
4373 static final int END_TO_END = 2; 7277 SVGAnimatedTransformList get transform();
4374
4375 static final int END_TO_START = 3;
4376
4377 static final int NODE_AFTER = 1;
4378
4379 static final int NODE_BEFORE = 0;
4380
4381 static final int NODE_BEFORE_AND_AFTER = 2;
4382
4383 static final int NODE_INSIDE = 3;
4384
4385 static final int START_TO_END = 1;
4386
4387 static final int START_TO_START = 0;
4388
4389 bool get collapsed();
4390
4391 Node get commonAncestorContainer();
4392
4393 Node get endContainer();
4394
4395 int get endOffset();
4396
4397 Node get startContainer();
4398
4399 int get startOffset();
4400
4401 String get text();
4402
4403 DocumentFragment cloneContents();
4404
4405 Range cloneRange();
4406
4407 void collapse(bool toStart);
4408
4409 int compareNode(Node refNode);
4410
4411 int comparePoint(Node refNode, int offset);
4412
4413 DocumentFragment createContextualFragment(String html);
4414
4415 void deleteContents();
4416
4417 void detach();
4418
4419 void expand(String unit);
4420
4421 DocumentFragment extractContents();
4422
4423 void insertNode(Node newNode);
4424
4425 bool intersectsNode(Node refNode);
4426
4427 bool isPointInRange(Node refNode, int offset);
4428
4429 void selectNode(Node refNode);
4430
4431 void selectNodeContents(Node refNode);
4432
4433 void setEnd(Node refNode, int offset);
4434
4435 void setEndAfter(Node refNode);
4436
4437 void setEndBefore(Node refNode);
4438
4439 void setStart(Node refNode, int offset);
4440
4441 void setStartAfter(Node refNode);
4442
4443 void setStartBefore(Node refNode);
4444
4445 void surroundContents(Node newParent);
4446
4447 String toString();
4448 } 7278 }
4449 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 7279 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
4450 // for details. All rights reserved. Use of this source code is governed by a 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 SVGURIReference {
7286
7287 SVGAnimatedString get href();
7288 }
7289 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
7290 // for details. All rights reserved. Use of this source code is governed by a
7291 // BSD-style license that can be found in the LICENSE file.
7292
7293 // WARNING: Do not edit - generated code.
7294
7295 interface SVGUnitTypes {
7296
7297 static final int SVG_UNIT_TYPE_OBJECTBOUNDINGBOX = 2;
7298
7299 static final int SVG_UNIT_TYPE_UNKNOWN = 0;
7300
7301 static final int SVG_UNIT_TYPE_USERSPACEONUSE = 1;
7302 }
7303 // Copyright (c) 2011, 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 SVGUseElement extends SVGElement, SVGURIReference, SVGTests, SVGLangSp ace, SVGExternalResourcesRequired, SVGStylable, SVGTransformable {
7310
7311 SVGElementInstance get animatedInstanceRoot();
7312
7313 SVGAnimatedLength get height();
7314
7315 SVGElementInstance get instanceRoot();
7316
7317 SVGAnimatedLength get width();
7318
7319 SVGAnimatedLength get x();
7320
7321 SVGAnimatedLength get y();
7322 }
7323 // Copyright (c) 2011, 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 SVGVKernElement extends SVGElement {
7330 }
7331 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
7332 // for details. All rights reserved. Use of this source code is governed by a
7333 // BSD-style license that can be found in the LICENSE file.
7334
7335 // WARNING: Do not edit - generated code.
7336
7337 interface SVGViewElement extends SVGElement, SVGExternalResourcesRequired, SVGFi tToViewBox, SVGZoomAndPan {
7338
7339 SVGStringList get viewTarget();
7340 }
7341 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
7342 // for details. All rights reserved. Use of this source code is governed by a
7343 // BSD-style license that can be found in the LICENSE file.
7344
7345 // WARNING: Do not edit - generated code.
7346
7347 interface SVGViewSpec extends SVGZoomAndPan, SVGFitToViewBox {
7348
7349 String get preserveAspectRatioString();
7350
7351 SVGTransformList get transform();
7352
7353 String get transformString();
7354
7355 String get viewBoxString();
7356
7357 SVGElement get viewTarget();
7358
7359 String get viewTargetString();
7360 }
7361 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
7362 // 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. 7363 // BSD-style license that can be found in the LICENSE file.
4452 7364
4453 // WARNING: Do not edit - generated code. 7365 // WARNING: Do not edit - generated code.
4454 7366
4455 interface RangeException { 7367 interface SVGZoomAndPan {
4456 7368
4457 static final int BAD_BOUNDARYPOINTS_ERR = 1; 7369 static final int SVG_ZOOMANDPAN_DISABLE = 1;
4458 7370
4459 static final int INVALID_NODE_TYPE_ERR = 2; 7371 static final int SVG_ZOOMANDPAN_MAGNIFY = 2;
4460 7372
4461 int get code(); 7373 static final int SVG_ZOOMANDPAN_UNKNOWN = 0;
4462 7374
4463 String get message(); 7375 int get zoomAndPan();
4464 7376
4465 String get name(); 7377 void set zoomAndPan(int value);
4466 } 7378 }
4467 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 7379 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
4468 // for details. All rights reserved. Use of this source code is governed by a 7380 // for details. All rights reserved. Use of this source code is governed by a
4469 // BSD-style license that can be found in the LICENSE file. 7381 // BSD-style license that can be found in the LICENSE file.
4470 7382
4471 // WARNING: Do not edit - generated code. 7383 // WARNING: Do not edit - generated code.
4472 7384
4473 interface Rect { 7385 interface SVGZoomEvent extends UIEvent {
4474 7386
4475 CSSPrimitiveValue get bottom(); 7387 num get newScale();
4476 7388
4477 CSSPrimitiveValue get left(); 7389 SVGPoint get newTranslate();
4478 7390
4479 CSSPrimitiveValue get right(); 7391 num get previousScale();
4480 7392
4481 CSSPrimitiveValue get top(); 7393 SVGPoint get previousTranslate();
7394
7395 SVGRect get zoomRectScreen();
4482 } 7396 }
4483 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 7397 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
4484 // for details. All rights reserved. Use of this source code is governed by a 7398 // for details. All rights reserved. Use of this source code is governed by a
4485 // BSD-style license that can be found in the LICENSE file. 7399 // BSD-style license that can be found in the LICENSE file.
4486 7400
4487 // WARNING: Do not edit - generated code. 7401 // WARNING: Do not edit - generated code.
4488 7402
4489 interface Screen { 7403 interface Screen {
4490 7404
4491 int get availHeight(); 7405 int get availHeight();
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
4709 void queryUsageAndQuota(int storageType, [StorageInfoUsageCallback usageCallba ck, StorageInfoErrorCallback errorCallback]); 7623 void queryUsageAndQuota(int storageType, [StorageInfoUsageCallback usageCallba ck, StorageInfoErrorCallback errorCallback]);
4710 7624
4711 void requestQuota(int storageType, int newQuotaInBytes, [StorageInfoQuotaCallb ack quotaCallback, StorageInfoErrorCallback errorCallback]); 7625 void requestQuota(int storageType, int newQuotaInBytes, [StorageInfoQuotaCallb ack quotaCallback, StorageInfoErrorCallback errorCallback]);
4712 } 7626 }
4713 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 7627 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
4714 // for details. All rights reserved. Use of this source code is governed by a 7628 // for details. All rights reserved. Use of this source code is governed by a
4715 // BSD-style license that can be found in the LICENSE file. 7629 // BSD-style license that can be found in the LICENSE file.
4716 7630
4717 // WARNING: Do not edit - generated code. 7631 // WARNING: Do not edit - generated code.
4718 7632
4719 interface StorageInfoErrorCallback { 7633 typedef bool StorageInfoErrorCallback(DOMException error);
4720
4721 bool handleEvent(DOMException error);
4722 }
4723 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 7634 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
4724 // for details. All rights reserved. Use of this source code is governed by a 7635 // for details. All rights reserved. Use of this source code is governed by a
4725 // BSD-style license that can be found in the LICENSE file. 7636 // BSD-style license that can be found in the LICENSE file.
4726 7637
4727 // WARNING: Do not edit - generated code. 7638 // WARNING: Do not edit - generated code.
4728 7639
4729 interface StorageInfoQuotaCallback { 7640 typedef bool StorageInfoQuotaCallback(int grantedQuotaInBytes);
4730
4731 bool handleEvent(int grantedQuotaInBytes);
4732 }
4733 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 7641 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
4734 // for details. All rights reserved. Use of this source code is governed by a 7642 // for details. All rights reserved. Use of this source code is governed by a
4735 // BSD-style license that can be found in the LICENSE file. 7643 // BSD-style license that can be found in the LICENSE file.
4736 7644
4737 // WARNING: Do not edit - generated code. 7645 // WARNING: Do not edit - generated code.
4738 7646
4739 interface StorageInfoUsageCallback { 7647 typedef bool StorageInfoUsageCallback(int currentUsageInBytes, int currentQuotaI nBytes);
4740
4741 bool handleEvent(int currentUsageInBytes, int currentQuotaInBytes);
4742 }
4743 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 7648 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
4744 // for details. All rights reserved. Use of this source code is governed by a 7649 // for details. All rights reserved. Use of this source code is governed by a
4745 // BSD-style license that can be found in the LICENSE file. 7650 // BSD-style license that can be found in the LICENSE file.
4746 7651
4747 // WARNING: Do not edit - generated code. 7652 // WARNING: Do not edit - generated code.
4748 7653
4749 interface StringCallback { 7654 typedef bool StringCallback(String data);
4750
4751 bool handleEvent(String data);
4752 }
4753 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 7655 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
4754 // for details. All rights reserved. Use of this source code is governed by a 7656 // for details. All rights reserved. Use of this source code is governed by a
4755 // BSD-style license that can be found in the LICENSE file. 7657 // BSD-style license that can be found in the LICENSE file.
4756 7658
4757 // WARNING: Do not edit - generated code. 7659 // WARNING: Do not edit - generated code.
4758 7660
4759 interface StyleElement extends Element { 7661 interface StyleElement extends Element {
4760 7662
4761 bool get disabled(); 7663 bool get disabled();
4762 7664
(...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after
5177 interface TextMetrics { 8079 interface TextMetrics {
5178 8080
5179 num get width(); 8081 num get width();
5180 } 8082 }
5181 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 8083 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
5182 // for details. All rights reserved. Use of this source code is governed by a 8084 // for details. All rights reserved. Use of this source code is governed by a
5183 // BSD-style license that can be found in the LICENSE file. 8085 // BSD-style license that can be found in the LICENSE file.
5184 8086
5185 // WARNING: Do not edit - generated code. 8087 // WARNING: Do not edit - generated code.
5186 8088
8089 interface TextTrack {
8090
8091 static final int Disabled = 0;
8092
8093 static final int Error = 3;
8094
8095 static final int Hidden = 1;
8096
8097 static final int Loaded = 2;
8098
8099 static final int Loading = 1;
8100
8101 static final int None = 0;
8102
8103 static final int Showing = 2;
8104
8105 TextTrackCueList get activeCues();
8106
8107 TextTrackCueList get cues();
8108
8109 String get kind();
8110
8111 String get label();
8112
8113 String get language();
8114
8115 int get mode();
8116
8117 void set mode(int value);
8118
8119 int get readyState();
8120
8121 void addCue(TextTrackCue cue);
8122
8123 void removeCue(TextTrackCue cue);
8124 }
8125 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
8126 // for details. All rights reserved. Use of this source code is governed by a
8127 // BSD-style license that can be found in the LICENSE file.
8128
8129 // WARNING: Do not edit - generated code.
8130
8131 interface TextTrackCue {
8132
8133 String get alignment();
8134
8135 String get direction();
8136
8137 num get endTime();
8138
8139 String get id();
8140
8141 int get linePosition();
8142
8143 bool get pauseOnExit();
8144
8145 int get size();
8146
8147 bool get snapToLines();
8148
8149 num get startTime();
8150
8151 int get textPosition();
8152
8153 TextTrack get track();
8154
8155 DocumentFragment getCueAsHTML();
8156
8157 String getCueAsSource();
8158 }
8159 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
8160 // for details. All rights reserved. Use of this source code is governed by a
8161 // BSD-style license that can be found in the LICENSE file.
8162
8163 // WARNING: Do not edit - generated code.
8164
8165 interface TextTrackCueList {
8166
8167 int get length();
8168
8169 TextTrackCue getCueById(String id);
8170
8171 TextTrackCue item(int index);
8172 }
8173 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
8174 // for details. All rights reserved. Use of this source code is governed by a
8175 // BSD-style license that can be found in the LICENSE file.
8176
8177 // WARNING: Do not edit - generated code.
8178
5187 interface TimeRanges { 8179 interface TimeRanges {
5188 8180
5189 int get length(); 8181 int get length();
5190 8182
5191 num end(int index); 8183 num end(int index);
5192 8184
5193 num start(int index); 8185 num start(int index);
5194 } 8186 }
5195 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 8187 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
5196 // for details. All rights reserved. Use of this source code is governed by a 8188 // for details. All rights reserved. Use of this source code is governed by a
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
5268 8260
5269 void set label(String value); 8261 void set label(String value);
5270 8262
5271 String get src(); 8263 String get src();
5272 8264
5273 void set src(String value); 8265 void set src(String value);
5274 8266
5275 String get srclang(); 8267 String get srclang();
5276 8268
5277 void set srclang(String value); 8269 void set srclang(String value);
8270
8271 TextTrack get track();
5278 } 8272 }
5279 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 8273 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
5280 // for details. All rights reserved. Use of this source code is governed by a 8274 // for details. All rights reserved. Use of this source code is governed by a
5281 // BSD-style license that can be found in the LICENSE file. 8275 // BSD-style license that can be found in the LICENSE file.
5282 8276
5283 // WARNING: Do not edit - generated code. 8277 // WARNING: Do not edit - generated code.
5284 8278
5285 interface UListElement extends Element { 8279 interface UListElement extends Element {
5286 8280
5287 bool get compact(); 8281 bool get compact();
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
5417 interface VoidCallback { 8411 interface VoidCallback {
5418 8412
5419 void handleEvent(); 8413 void handleEvent();
5420 } 8414 }
5421 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 8415 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
5422 // for details. All rights reserved. Use of this source code is governed by a 8416 // for details. All rights reserved. Use of this source code is governed by a
5423 // BSD-style license that can be found in the LICENSE file. 8417 // BSD-style license that can be found in the LICENSE file.
5424 8418
5425 // WARNING: Do not edit - generated code. 8419 // WARNING: Do not edit - generated code.
5426 8420
8421 interface WaveShaperNode extends AudioNode {
8422
8423 Float32Array get curve();
8424
8425 void set curve(Float32Array value);
8426 }
8427 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
8428 // for details. All rights reserved. Use of this source code is governed by a
8429 // BSD-style license that can be found in the LICENSE file.
8430
8431 // WARNING: Do not edit - generated code.
8432
5427 interface WebGLActiveInfo { 8433 interface WebGLActiveInfo {
5428 8434
5429 String get name(); 8435 String get name();
5430 8436
5431 int get size(); 8437 int get size();
5432 8438
5433 int get type(); 8439 int get type();
5434 } 8440 }
5435 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 8441 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
5436 // for details. All rights reserved. Use of this source code is governed by a 8442 // for details. All rights reserved. Use of this source code is governed by a
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
5481 interface WebGLContextEvent extends Event { 8487 interface WebGLContextEvent extends Event {
5482 8488
5483 String get statusMessage(); 8489 String get statusMessage();
5484 } 8490 }
5485 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 8491 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
5486 // for details. All rights reserved. Use of this source code is governed by a 8492 // for details. All rights reserved. Use of this source code is governed by a
5487 // BSD-style license that can be found in the LICENSE file. 8493 // BSD-style license that can be found in the LICENSE file.
5488 8494
5489 // WARNING: Do not edit - generated code. 8495 // WARNING: Do not edit - generated code.
5490 8496
8497 interface WebGLDebugRendererInfo {
8498
8499 static final int UNMASKED_RENDERER_WEBGL = 0x9246;
8500
8501 static final int UNMASKED_VENDOR_WEBGL = 0x9245;
8502 }
8503 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
8504 // for details. All rights reserved. Use of this source code is governed by a
8505 // BSD-style license that can be found in the LICENSE file.
8506
8507 // WARNING: Do not edit - generated code.
8508
8509 interface WebGLDebugShaders {
8510
8511 String getTranslatedShaderSource(WebGLShader shader);
8512 }
8513 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
8514 // for details. All rights reserved. Use of this source code is governed by a
8515 // BSD-style license that can be found in the LICENSE file.
8516
8517 // WARNING: Do not edit - generated code.
8518
5491 interface WebGLFramebuffer { 8519 interface WebGLFramebuffer {
5492 } 8520 }
5493 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 8521 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
5494 // for details. All rights reserved. Use of this source code is governed by a 8522 // for details. All rights reserved. Use of this source code is governed by a
5495 // BSD-style license that can be found in the LICENSE file. 8523 // BSD-style license that can be found in the LICENSE file.
5496 8524
5497 // WARNING: Do not edit - generated code. 8525 // WARNING: Do not edit - generated code.
5498 8526
5499 interface WebGLProgram { 8527 interface WebGLProgram {
5500 } 8528 }
(...skipping 716 matching lines...) Expand 10 before | Expand all | Expand 10 after
6217 void generateMipmap(int target); 9245 void generateMipmap(int target);
6218 9246
6219 WebGLActiveInfo getActiveAttrib(WebGLProgram program, int index); 9247 WebGLActiveInfo getActiveAttrib(WebGLProgram program, int index);
6220 9248
6221 WebGLActiveInfo getActiveUniform(WebGLProgram program, int index); 9249 WebGLActiveInfo getActiveUniform(WebGLProgram program, int index);
6222 9250
6223 void getAttachedShaders(WebGLProgram program); 9251 void getAttachedShaders(WebGLProgram program);
6224 9252
6225 int getAttribLocation(WebGLProgram program, String name); 9253 int getAttribLocation(WebGLProgram program, String name);
6226 9254
6227 void getBufferParameter(); 9255 Object getBufferParameter(int target, int pname);
6228 9256
6229 WebGLContextAttributes getContextAttributes(); 9257 WebGLContextAttributes getContextAttributes();
6230 9258
6231 int getError(); 9259 int getError();
6232 9260
6233 void getExtension(String name); 9261 Object getExtension(String name);
6234 9262
6235 void getFramebufferAttachmentParameter(); 9263 Object getFramebufferAttachmentParameter(int target, int attachment, int pname );
6236 9264
6237 void getParameter(); 9265 Object getParameter(int pname);
6238 9266
6239 String getProgramInfoLog(WebGLProgram program); 9267 String getProgramInfoLog(WebGLProgram program);
6240 9268
6241 void getProgramParameter(); 9269 Object getProgramParameter(WebGLProgram program, int pname);
6242 9270
6243 void getRenderbufferParameter(); 9271 Object getRenderbufferParameter(int target, int pname);
6244 9272
6245 String getShaderInfoLog(WebGLShader shader); 9273 String getShaderInfoLog(WebGLShader shader);
6246 9274
6247 void getShaderParameter(); 9275 Object getShaderParameter(WebGLShader shader, int pname);
6248 9276
6249 String getShaderSource(WebGLShader shader); 9277 String getShaderSource(WebGLShader shader);
6250 9278
6251 void getSupportedExtensions(); 9279 Object getTexParameter(int target, int pname);
6252 9280
6253 void getTexParameter(); 9281 Object getUniform(WebGLProgram program, WebGLUniformLocation location);
6254
6255 void getUniform();
6256 9282
6257 WebGLUniformLocation getUniformLocation(WebGLProgram program, String name); 9283 WebGLUniformLocation getUniformLocation(WebGLProgram program, String name);
6258 9284
6259 void getVertexAttrib(); 9285 Object getVertexAttrib(int index, int pname);
6260 9286
6261 int getVertexAttribOffset(int index, int pname); 9287 int getVertexAttribOffset(int index, int pname);
6262 9288
6263 void hint(int target, int mode); 9289 void hint(int target, int mode);
6264 9290
6265 bool isBuffer(WebGLBuffer buffer); 9291 bool isBuffer(WebGLBuffer buffer);
6266 9292
6267 bool isContextLost(); 9293 bool isContextLost();
6268 9294
6269 bool isEnabled(int cap); 9295 bool isEnabled(int cap);
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
6411 // WARNING: Do not edit - generated code. 9437 // WARNING: Do not edit - generated code.
6412 9438
6413 interface WebGLVertexArrayObjectOES { 9439 interface WebGLVertexArrayObjectOES {
6414 } 9440 }
6415 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 9441 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
6416 // for details. All rights reserved. Use of this source code is governed by a 9442 // for details. All rights reserved. Use of this source code is governed by a
6417 // BSD-style license that can be found in the LICENSE file. 9443 // BSD-style license that can be found in the LICENSE file.
6418 9444
6419 // WARNING: Do not edit - generated code. 9445 // WARNING: Do not edit - generated code.
6420 9446
9447 interface WebKitCSSFilterValue extends CSSValueList {
9448
9449 static final int CSS_FILTER_BLUR = 9;
9450
9451 static final int CSS_FILTER_DROP_SHADOW = 11;
9452
9453 static final int CSS_FILTER_GAMMA = 8;
9454
9455 static final int CSS_FILTER_GRAYSCALE = 2;
9456
9457 static final int CSS_FILTER_HUE_ROTATE = 5;
9458
9459 static final int CSS_FILTER_INVERT = 6;
9460
9461 static final int CSS_FILTER_OPACITY = 7;
9462
9463 static final int CSS_FILTER_REFERENCE = 1;
9464
9465 static final int CSS_FILTER_SATURATE = 4;
9466
9467 static final int CSS_FILTER_SEPIA = 3;
9468
9469 static final int CSS_FILTER_SHARPEN = 10;
9470
9471 int get operationType();
9472 }
9473 // Copyright (c) 2011, 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 WebKitMutationObserver {
9480
9481 void disconnect();
9482 }
9483 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
9484 // for details. All rights reserved. Use of this source code is governed by a
9485 // BSD-style license that can be found in the LICENSE file.
9486
9487 // WARNING: Do not edit - generated code.
9488
6421 interface XMLHttpRequestException { 9489 interface XMLHttpRequestException {
6422 9490
6423 static final int ABORT_ERR = 102; 9491 static final int ABORT_ERR = 102;
6424 9492
6425 static final int NETWORK_ERR = 101; 9493 static final int NETWORK_ERR = 101;
6426 9494
6427 int get code(); 9495 int get code();
6428 9496
6429 String get message(); 9497 String get message();
6430 9498
6431 String get name(); 9499 String get name();
9500
9501 String toString();
6432 } 9502 }
6433 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 9503 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
6434 // for details. All rights reserved. Use of this source code is governed by a 9504 // for details. All rights reserved. Use of this source code is governed by a
6435 // BSD-style license that can be found in the LICENSE file. 9505 // BSD-style license that can be found in the LICENSE file.
6436 9506
6437 interface AbstractWorkerEvents extends Events { 9507 interface AbstractWorkerEvents extends Events {
6438 EventListenerList get error(); 9508 EventListenerList get error();
6439 } 9509 }
6440 9510
6441 interface AbstractWorker extends EventTarget { 9511 interface AbstractWorker extends EventTarget {
(...skipping 1998 matching lines...) Expand 10 before | Expand all | Expand 10 after
8440 EventListenerList get readyStateChange(); 11510 EventListenerList get readyStateChange();
8441 EventListenerList get selectionChange(); 11511 EventListenerList get selectionChange();
8442 EventListenerList get contentLoaded(); 11512 EventListenerList get contentLoaded();
8443 } 11513 }
8444 11514
8445 // TODO(jacobr): add DocumentFragment ctor 11515 // TODO(jacobr): add DocumentFragment ctor
8446 // add something smarted for document.domain 11516 // add something smarted for document.domain
8447 interface Document extends Element /*, common.NodeSelector */ { 11517 interface Document extends Element /*, common.NodeSelector */ {
8448 11518
8449 // TODO(jacobr): remove. 11519 // TODO(jacobr): remove.
8450 Event createEvent([String eventType]); 11520 Event createEvent(String eventType);
8451 11521
8452 Element get activeElement(); 11522 Element get activeElement();
8453 11523
8454 // TODO(jacobr): add 11524 // TODO(jacobr): add
8455 // Map<String, Class> tags; 11525 // Map<String, Class> tags;
8456 11526
8457 Element get body(); 11527 Element get body();
8458 11528
8459 void set body(Element value); 11529 void set body(Element value);
8460 11530
(...skipping 27 matching lines...) Expand all
8488 String get title(); 11558 String get title();
8489 11559
8490 void set title(String value); 11560 void set title(String value);
8491 11561
8492 bool get webkitHidden(); 11562 bool get webkitHidden();
8493 11563
8494 String get webkitVisibilityState(); 11564 String get webkitVisibilityState();
8495 11565
8496 Future<Range> caretRangeFromPoint([int x, int y]); 11566 Future<Range> caretRangeFromPoint([int x, int y]);
8497 11567
8498 // TODO(jacobr): remove.
8499 Element createElement([String tagName]);
8500
8501 Future<Element> elementFromPoint([int x, int y]); 11568 Future<Element> elementFromPoint([int x, int y]);
8502 11569
8503 bool execCommand([String command, bool userInterface, String value]); 11570 bool execCommand([String command, bool userInterface, String value]);
8504 11571
8505 // TODO(jacobr): remove once a new API is specified 11572 // TODO(jacobr): remove once a new API is specified
8506 CanvasRenderingContext getCSSCanvasContext(String contextId, String name, 11573 CanvasRenderingContext getCSSCanvasContext(String contextId, String name,
8507 int width, int height); 11574 int width, int height);
8508 11575
8509 bool queryCommandEnabled([String command]); 11576 bool queryCommandEnabled([String command]);
8510 11577
(...skipping 402 matching lines...) Expand 10 before | Expand all | Expand 10 after
8913 } 11980 }
8914 11981
8915 interface EventTarget { 11982 interface EventTarget {
8916 Events get on(); 11983 Events get on();
8917 } 11984 }
8918 11985
8919 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 11986 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
8920 // for details. All rights reserved. Use of this source code is governed by a 11987 // for details. All rights reserved. Use of this source code is governed by a
8921 // BSD-style license that can be found in the LICENSE file. 11988 // BSD-style license that can be found in the LICENSE file.
8922 11989
8923 var secretWindow; 11990 Window secretWindow;
8924 var secretDocument; 11991 Document secretDocument;
8925 11992
8926 Window get window() { 11993 Window get window() {
8927 if (secretWindow === null) { 11994 if (secretWindow === null) {
8928 LevelDom.initialize(dom.window); 11995 LevelDom.initialize();
8929 } 11996 }
8930 return secretWindow; 11997 return secretWindow;
8931 } 11998 }
8932 11999
8933 Document get document() { 12000 Document get document() {
8934 if (secretWindow === null) { 12001 if (secretWindow === null) {
8935 LevelDom.initialize(dom.window); 12002 LevelDom.initialize();
8936 } 12003 }
8937 return secretDocument; 12004 return secretDocument;
8938 } 12005 }
8939 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 12006 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
8940 // for details. All rights reserved. Use of this source code is governed by a 12007 // for details. All rights reserved. Use of this source code is governed by a
8941 // BSD-style license that can be found in the LICENSE file. 12008 // BSD-style license that can be found in the LICENSE file.
8942 12009
8943 interface HashChangeEvent extends Event factory HashChangeEventWrappingImplement ation { 12010 interface HashChangeEvent extends Event factory HashChangeEventWrappingImplement ation {
8944 12011
8945 HashChangeEvent(String type, String oldURL, String newURL, [bool canBubble, 12012 HashChangeEvent(String type, String oldURL, String newURL, [bool canBubble,
(...skipping 573 matching lines...) Expand 10 before | Expand all | Expand 10 after
9519 */ 12586 */
9520 static final String UNIDENTIFIED = "Unidentified"; 12587 static final String UNIDENTIFIED = "Unidentified";
9521 } 12588 }
9522 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 12589 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
9523 // for details. All rights reserved. Use of this source code is governed by a 12590 // for details. All rights reserved. Use of this source code is governed by a
9524 // BSD-style license that can be found in the LICENSE file. 12591 // BSD-style license that can be found in the LICENSE file.
9525 12592
9526 interface MessageEvent extends Event factory MessageEventWrappingImplementation { 12593 interface MessageEvent extends Event factory MessageEventWrappingImplementation {
9527 12594
9528 MessageEvent(String type, String data, String origin, String lastEventId, 12595 MessageEvent(String type, String data, String origin, String lastEventId,
9529 Window source, [bool canBubble, bool cancelable, MessagePort port]); 12596 Window source, MessagePort port, [bool canBubble, bool cancelable]);
9530 12597
9531 String get data(); 12598 String get data();
9532 12599
9533 String get lastEventId(); 12600 String get lastEventId();
9534 12601
9535 MessagePort get messagePort(); 12602 MessagePort get messagePort();
9536 12603
9537 String get origin(); 12604 String get origin();
9538 12605
9539 Window get source(); 12606 Window get source();
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
9776 String get oldValue(); 12843 String get oldValue();
9777 12844
9778 Storage get storageArea(); 12845 Storage get storageArea();
9779 12846
9780 String get url(); 12847 String get url();
9781 } 12848 }
9782 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 12849 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
9783 // for details. All rights reserved. Use of this source code is governed by a 12850 // for details. All rights reserved. Use of this source code is governed by a
9784 // BSD-style license that can be found in the LICENSE file. 12851 // BSD-style license that can be found in the LICENSE file.
9785 12852
12853 // WARNING: Do not edit - generated code.
12854
12855 interface SVGDocument extends Document {
12856 }
12857 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
12858 // for details. All rights reserved. Use of this source code is governed by a
12859 // BSD-style license that can be found in the LICENSE file.
12860
12861 // WARNING: Do not edit - generated code.
12862
12863 interface SVGElementInstance extends EventTarget {
12864
12865 SVGElementInstanceList get childNodes();
12866
12867 SVGElement get correspondingElement();
12868
12869 SVGUseElement get correspondingUseElement();
12870
12871 SVGElementInstance get firstChild();
12872
12873 SVGElementInstance get lastChild();
12874
12875 SVGElementInstance get nextSibling();
12876
12877 SVGElementInstance get parentNode();
12878
12879 SVGElementInstance get previousSibling();
12880 }
12881 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
12882 // for details. All rights reserved. Use of this source code is governed by a
12883 // BSD-style license that can be found in the LICENSE file.
12884
9786 interface Text extends CharacterData factory TextWrappingImplementation { 12885 interface Text extends CharacterData factory TextWrappingImplementation {
9787 12886
9788 Text(String content); 12887 Text(String content);
9789 12888
9790 String get wholeText(); 12889 String get wholeText();
9791 12890
9792 Text replaceWholeText([String content]); 12891 Text replaceWholeText([String content]);
9793 12892
9794 Text splitText([int offset]); 12893 Text splitText([int offset]);
9795 } 12894 }
(...skipping 588 matching lines...) Expand 10 before | Expand all | Expand 10 after
10384 EventListenerList get abort(); 13483 EventListenerList get abort();
10385 EventListenerList get error(); 13484 EventListenerList get error();
10386 EventListenerList get load(); 13485 EventListenerList get load();
10387 EventListenerList get loadStart(); 13486 EventListenerList get loadStart();
10388 EventListenerList get progress(); 13487 EventListenerList get progress();
10389 } 13488 }
10390 13489
10391 interface XMLHttpRequestUpload extends EventTarget { 13490 interface XMLHttpRequestUpload extends EventTarget {
10392 XMLHttpRequestUploadEvents get on(); 13491 XMLHttpRequestUploadEvents get on();
10393 } 13492 }
OLDNEW
« no previous file with comments | « client/html/htmlimpl.dart ('k') | client/html/src/Document.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698