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

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

Issue 9221006: Move frog dart:dom from fields to getters/setters. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: comment Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | client/dom/generated/src/frog/ArrayBuffer.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('dom'); 1 #library('dom');
2 2
3 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 3 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
4 // for details. All rights reserved. Use of this source code is governed by a 4 // for details. All rights reserved. Use of this source code is governed by a
5 // BSD-style license that can be found in the LICENSE file. 5 // BSD-style license that can be found in the LICENSE file.
6 6
7 // DO NOT EDIT 7 // DO NOT EDIT
8 // Auto-generated Dart DOM library. 8 // Auto-generated Dart DOM library.
9 9
10 10
(...skipping 16 matching lines...) Expand all
27 27
28 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native; 28 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
29 29
30 var dartObjectLocalStorage; 30 var dartObjectLocalStorage;
31 31
32 String get typeName() native; 32 String get typeName() native;
33 } 33 }
34 34
35 class ArrayBuffer native "*ArrayBuffer" { 35 class ArrayBuffer native "*ArrayBuffer" {
36 36
37 int byteLength; 37 int get byteLength() native "return this.byteLength;";
38 38
39 ArrayBuffer slice(int begin, [int end = null]) native; 39 ArrayBuffer slice(int begin, [int end = null]) native;
40 40
41 var dartObjectLocalStorage; 41 var dartObjectLocalStorage;
42 42
43 String get typeName() native; 43 String get typeName() native;
44 } 44 }
45 45
46 class ArrayBufferView native "*ArrayBufferView" { 46 class ArrayBufferView native "*ArrayBufferView" {
47 47
48 ArrayBuffer buffer; 48 ArrayBuffer get buffer() native "return this.buffer;";
49 49
50 int byteLength; 50 int get byteLength() native "return this.byteLength;";
51 51
52 int byteOffset; 52 int get byteOffset() native "return this.byteOffset;";
53 53
54 var dartObjectLocalStorage; 54 var dartObjectLocalStorage;
55 55
56 String get typeName() native; 56 String get typeName() native;
57 } 57 }
58 58
59 class Attr extends Node native "*Attr" { 59 class Attr extends Node native "*Attr" {
60 60
61 bool isId; 61 bool get isId() native "return this.isId;";
62 62
63 String name; 63 String get name() native "return this.name;";
64 64
65 Element ownerElement; 65 Element get ownerElement() native "return this.ownerElement;";
66 66
67 bool specified; 67 bool get specified() native "return this.specified;";
68 68
69 String value; 69 String get value() native "return this.value;";
70
71 void set value(String value) native "this.value = value;";
70 } 72 }
71 73
72 class AudioBuffer native "*AudioBuffer" { 74 class AudioBuffer native "*AudioBuffer" {
73 75
74 num duration; 76 num get duration() native "return this.duration;";
75 77
76 num gain; 78 num get gain() native "return this.gain;";
77 79
78 int length; 80 void set gain(num value) native "this.gain = value;";
79 81
80 int numberOfChannels; 82 int get length() native "return this.length;";
81 83
82 num sampleRate; 84 int get numberOfChannels() native "return this.numberOfChannels;";
85
86 num get sampleRate() native "return this.sampleRate;";
83 87
84 Float32Array getChannelData(int channelIndex) native; 88 Float32Array getChannelData(int channelIndex) native;
85 89
86 var dartObjectLocalStorage; 90 var dartObjectLocalStorage;
87 91
88 String get typeName() native; 92 String get typeName() native;
89 } 93 }
90 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 94 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
91 // for details. All rights reserved. Use of this source code is governed by a 95 // for details. All rights reserved. Use of this source code is governed by a
92 // BSD-style license that can be found in the LICENSE file. 96 // BSD-style license that can be found in the LICENSE file.
93 97
94 // WARNING: Do not edit - generated code. 98 // WARNING: Do not edit - generated code.
95 99
96 typedef bool AudioBufferCallback(AudioBuffer audioBuffer); 100 typedef bool AudioBufferCallback(AudioBuffer audioBuffer);
97 101
98 class AudioBufferSourceNode extends AudioSourceNode native "*AudioBufferSourceNo de" { 102 class AudioBufferSourceNode extends AudioSourceNode native "*AudioBufferSourceNo de" {
99 103
100 AudioBuffer buffer; 104 AudioBuffer get buffer() native "return this.buffer;";
101 105
102 AudioGain gain; 106 void set buffer(AudioBuffer value) native "this.buffer = value;";
103 107
104 bool loop; 108 AudioGain get gain() native "return this.gain;";
105 109
106 bool looping; 110 bool get loop() native "return this.loop;";
107 111
108 AudioParam playbackRate; 112 void set loop(bool value) native "this.loop = value;";
113
114 bool get looping() native "return this.looping;";
115
116 void set looping(bool value) native "this.looping = value;";
117
118 AudioParam get playbackRate() native "return this.playbackRate;";
109 119
110 void noteGrainOn(num when, num grainOffset, num grainDuration) native; 120 void noteGrainOn(num when, num grainOffset, num grainDuration) native;
111 121
112 void noteOff(num when) native; 122 void noteOff(num when) native;
113 123
114 void noteOn(num when) native; 124 void noteOn(num when) native;
115 } 125 }
116 126
117 class AudioChannelMerger extends AudioNode native "*AudioChannelMerger" { 127 class AudioChannelMerger extends AudioNode native "*AudioChannelMerger" {
118 } 128 }
119 129
120 class AudioChannelSplitter extends AudioNode native "*AudioChannelSplitter" { 130 class AudioChannelSplitter extends AudioNode native "*AudioChannelSplitter" {
121 } 131 }
122 132
123 class AudioContext native "*AudioContext" { 133 class AudioContext native "*AudioContext" {
124 AudioContext() native; 134 AudioContext() native;
125 135
126 136
127 num currentTime; 137 num get currentTime() native "return this.currentTime;";
128 138
129 AudioDestinationNode destination; 139 AudioDestinationNode get destination() native "return this.destination;";
130 140
131 AudioListener listener; 141 AudioListener get listener() native "return this.listener;";
132 142
133 EventListener oncomplete; 143 EventListener get oncomplete() native "return this.oncomplete;";
134 144
135 num sampleRate; 145 void set oncomplete(EventListener value) native "this.oncomplete = value;";
146
147 num get sampleRate() native "return this.sampleRate;";
136 148
137 RealtimeAnalyserNode createAnalyser() native; 149 RealtimeAnalyserNode createAnalyser() native;
138 150
139 BiquadFilterNode createBiquadFilter() native; 151 BiquadFilterNode createBiquadFilter() native;
140 152
141 AudioBuffer createBuffer(var buffer_OR_numberOfChannels, var mixToMono_OR_numb erOfFrames, [num sampleRate = null]) native; 153 AudioBuffer createBuffer(var buffer_OR_numberOfChannels, var mixToMono_OR_numb erOfFrames, [num sampleRate = null]) native;
142 154
143 AudioBufferSourceNode createBufferSource() native; 155 AudioBufferSourceNode createBufferSource() native;
144 156
145 AudioChannelMerger createChannelMerger() native; 157 AudioChannelMerger createChannelMerger() native;
(...skipping 24 matching lines...) Expand all
170 182
171 void startRendering() native; 183 void startRendering() native;
172 184
173 var dartObjectLocalStorage; 185 var dartObjectLocalStorage;
174 186
175 String get typeName() native; 187 String get typeName() native;
176 } 188 }
177 189
178 class AudioDestinationNode extends AudioNode native "*AudioDestinationNode" { 190 class AudioDestinationNode extends AudioNode native "*AudioDestinationNode" {
179 191
180 int numberOfChannels; 192 int get numberOfChannels() native "return this.numberOfChannels;";
181 } 193 }
182 194
183 class AudioGain extends AudioParam native "*AudioGain" { 195 class AudioGain extends AudioParam native "*AudioGain" {
184 } 196 }
185 197
186 class AudioGainNode extends AudioNode native "*AudioGainNode" { 198 class AudioGainNode extends AudioNode native "*AudioGainNode" {
187 199
188 AudioGain gain; 200 AudioGain get gain() native "return this.gain;";
189 } 201 }
190 202
191 class AudioListener native "*AudioListener" { 203 class AudioListener native "*AudioListener" {
192 204
193 num dopplerFactor; 205 num get dopplerFactor() native "return this.dopplerFactor;";
194 206
195 num speedOfSound; 207 void set dopplerFactor(num value) native "this.dopplerFactor = value;";
208
209 num get speedOfSound() native "return this.speedOfSound;";
210
211 void set speedOfSound(num value) native "this.speedOfSound = value;";
196 212
197 void setOrientation(num x, num y, num z, num xUp, num yUp, num zUp) native; 213 void setOrientation(num x, num y, num z, num xUp, num yUp, num zUp) native;
198 214
199 void setPosition(num x, num y, num z) native; 215 void setPosition(num x, num y, num z) native;
200 216
201 void setVelocity(num x, num y, num z) native; 217 void setVelocity(num x, num y, num z) native;
202 218
203 var dartObjectLocalStorage; 219 var dartObjectLocalStorage;
204 220
205 String get typeName() native; 221 String get typeName() native;
206 } 222 }
207 223
208 class AudioNode native "*AudioNode" { 224 class AudioNode native "*AudioNode" {
209 225
210 AudioContext context; 226 AudioContext get context() native "return this.context;";
211 227
212 int numberOfInputs; 228 int get numberOfInputs() native "return this.numberOfInputs;";
213 229
214 int numberOfOutputs; 230 int get numberOfOutputs() native "return this.numberOfOutputs;";
215 231
216 void connect(AudioNode destination, int output, int input) native; 232 void connect(AudioNode destination, int output, int input) native;
217 233
218 void disconnect(int output) native; 234 void disconnect(int output) native;
219 235
220 var dartObjectLocalStorage; 236 var dartObjectLocalStorage;
221 237
222 String get typeName() native; 238 String get typeName() native;
223 } 239 }
224 240
225 class AudioPannerNode extends AudioNode native "*AudioPannerNode" { 241 class AudioPannerNode extends AudioNode native "*AudioPannerNode" {
226 242
227 static final int EQUALPOWER = 0; 243 static final int EQUALPOWER = 0;
228 244
229 static final int HRTF = 1; 245 static final int HRTF = 1;
230 246
231 static final int SOUNDFIELD = 2; 247 static final int SOUNDFIELD = 2;
232 248
233 AudioGain coneGain; 249 AudioGain get coneGain() native "return this.coneGain;";
234 250
235 num coneInnerAngle; 251 num get coneInnerAngle() native "return this.coneInnerAngle;";
236 252
237 num coneOuterAngle; 253 void set coneInnerAngle(num value) native "this.coneInnerAngle = value;";
238 254
239 num coneOuterGain; 255 num get coneOuterAngle() native "return this.coneOuterAngle;";
240 256
241 AudioGain distanceGain; 257 void set coneOuterAngle(num value) native "this.coneOuterAngle = value;";
242 258
243 int distanceModel; 259 num get coneOuterGain() native "return this.coneOuterGain;";
244 260
245 num maxDistance; 261 void set coneOuterGain(num value) native "this.coneOuterGain = value;";
246 262
247 int panningModel; 263 AudioGain get distanceGain() native "return this.distanceGain;";
248 264
249 num refDistance; 265 int get distanceModel() native "return this.distanceModel;";
250 266
251 num rolloffFactor; 267 void set distanceModel(int value) native "this.distanceModel = value;";
268
269 num get maxDistance() native "return this.maxDistance;";
270
271 void set maxDistance(num value) native "this.maxDistance = value;";
272
273 int get panningModel() native "return this.panningModel;";
274
275 void set panningModel(int value) native "this.panningModel = value;";
276
277 num get refDistance() native "return this.refDistance;";
278
279 void set refDistance(num value) native "this.refDistance = value;";
280
281 num get rolloffFactor() native "return this.rolloffFactor;";
282
283 void set rolloffFactor(num value) native "this.rolloffFactor = value;";
252 284
253 void setOrientation(num x, num y, num z) native; 285 void setOrientation(num x, num y, num z) native;
254 286
255 void setPosition(num x, num y, num z) native; 287 void setPosition(num x, num y, num z) native;
256 288
257 void setVelocity(num x, num y, num z) native; 289 void setVelocity(num x, num y, num z) native;
258 } 290 }
259 291
260 class AudioParam native "*AudioParam" { 292 class AudioParam native "*AudioParam" {
261 293
262 num defaultValue; 294 num get defaultValue() native "return this.defaultValue;";
263 295
264 num maxValue; 296 num get maxValue() native "return this.maxValue;";
265 297
266 num minValue; 298 num get minValue() native "return this.minValue;";
267 299
268 String name; 300 String get name() native "return this.name;";
269 301
270 int units; 302 int get units() native "return this.units;";
271 303
272 num value; 304 num get value() native "return this.value;";
305
306 void set value(num value) native "this.value = value;";
273 307
274 void cancelScheduledValues(num startTime) native; 308 void cancelScheduledValues(num startTime) native;
275 309
276 void exponentialRampToValueAtTime(num value, num time) native; 310 void exponentialRampToValueAtTime(num value, num time) native;
277 311
278 void linearRampToValueAtTime(num value, num time) native; 312 void linearRampToValueAtTime(num value, num time) native;
279 313
280 void setTargetValueAtTime(num targetValue, num time, num timeConstant) native; 314 void setTargetValueAtTime(num targetValue, num time, num timeConstant) native;
281 315
282 void setValueAtTime(num value, num time) native; 316 void setValueAtTime(num value, num time) native;
283 317
284 void setValueCurveAtTime(Float32Array values, num time, num duration) native; 318 void setValueCurveAtTime(Float32Array values, num time, num duration) native;
285 319
286 var dartObjectLocalStorage; 320 var dartObjectLocalStorage;
287 321
288 String get typeName() native; 322 String get typeName() native;
289 } 323 }
290 324
291 class AudioProcessingEvent extends Event native "*AudioProcessingEvent" { 325 class AudioProcessingEvent extends Event native "*AudioProcessingEvent" {
292 326
293 AudioBuffer inputBuffer; 327 AudioBuffer get inputBuffer() native "return this.inputBuffer;";
294 328
295 AudioBuffer outputBuffer; 329 AudioBuffer get outputBuffer() native "return this.outputBuffer;";
296 } 330 }
297 331
298 class AudioSourceNode extends AudioNode native "*AudioSourceNode" { 332 class AudioSourceNode extends AudioNode native "*AudioSourceNode" {
299 } 333 }
300 334
301 class BarInfo native "*BarInfo" { 335 class BarInfo native "*BarInfo" {
302 336
303 bool visible; 337 bool get visible() native "return this.visible;";
304 338
305 var dartObjectLocalStorage; 339 var dartObjectLocalStorage;
306 340
307 String get typeName() native; 341 String get typeName() native;
308 } 342 }
309 343
310 class BeforeLoadEvent extends Event native "*BeforeLoadEvent" { 344 class BeforeLoadEvent extends Event native "*BeforeLoadEvent" {
311 345
312 String url; 346 String get url() native "return this.url;";
313 } 347 }
314 348
315 class BiquadFilterNode extends AudioNode native "*BiquadFilterNode" { 349 class BiquadFilterNode extends AudioNode native "*BiquadFilterNode" {
316 350
317 static final int ALLPASS = 7; 351 static final int ALLPASS = 7;
318 352
319 static final int BANDPASS = 2; 353 static final int BANDPASS = 2;
320 354
321 static final int HIGHPASS = 1; 355 static final int HIGHPASS = 1;
322 356
323 static final int HIGHSHELF = 4; 357 static final int HIGHSHELF = 4;
324 358
325 static final int LOWPASS = 0; 359 static final int LOWPASS = 0;
326 360
327 static final int LOWSHELF = 3; 361 static final int LOWSHELF = 3;
328 362
329 static final int NOTCH = 6; 363 static final int NOTCH = 6;
330 364
331 static final int PEAKING = 5; 365 static final int PEAKING = 5;
332 366
333 AudioParam Q; 367 AudioParam get Q() native "return this.Q;";
334 368
335 AudioParam frequency; 369 AudioParam get frequency() native "return this.frequency;";
336 370
337 AudioParam gain; 371 AudioParam get gain() native "return this.gain;";
338 372
339 int type; 373 int get type() native "return this.type;";
374
375 void set type(int value) native "this.type = value;";
340 376
341 void getFrequencyResponse(Float32Array frequencyHz, Float32Array magResponse, Float32Array phaseResponse) native; 377 void getFrequencyResponse(Float32Array frequencyHz, Float32Array magResponse, Float32Array phaseResponse) native;
342 } 378 }
343 379
344 class Blob native "*Blob" { 380 class Blob native "*Blob" {
345 381
346 int size; 382 int get size() native "return this.size;";
347 383
348 String type; 384 String get type() native "return this.type;";
349 385
350 Blob webkitSlice([int start = null, int end = null, String contentType = null] ) native; 386 Blob webkitSlice([int start = null, int end = null, String contentType = null] ) native;
351 387
352 var dartObjectLocalStorage; 388 var dartObjectLocalStorage;
353 389
354 String get typeName() native; 390 String get typeName() native;
355 } 391 }
356 392
357 class CDATASection extends Text native "*CDATASection" { 393 class CDATASection extends Text native "*CDATASection" {
358 } 394 }
359 395
360 class CSSCharsetRule extends CSSRule native "*CSSCharsetRule" { 396 class CSSCharsetRule extends CSSRule native "*CSSCharsetRule" {
361 397
362 String encoding; 398 String get encoding() native "return this.encoding;";
399
400 void set encoding(String value) native "this.encoding = value;";
363 } 401 }
364 402
365 class CSSFontFaceRule extends CSSRule native "*CSSFontFaceRule" { 403 class CSSFontFaceRule extends CSSRule native "*CSSFontFaceRule" {
366 404
367 CSSStyleDeclaration style; 405 CSSStyleDeclaration get style() native "return this.style;";
368 } 406 }
369 407
370 class CSSImportRule extends CSSRule native "*CSSImportRule" { 408 class CSSImportRule extends CSSRule native "*CSSImportRule" {
371 409
372 String href; 410 String get href() native "return this.href;";
373 411
374 MediaList media; 412 MediaList get media() native "return this.media;";
375 413
376 CSSStyleSheet styleSheet; 414 CSSStyleSheet get styleSheet() native "return this.styleSheet;";
377 } 415 }
378 416
379 class CSSMediaRule extends CSSRule native "*CSSMediaRule" { 417 class CSSMediaRule extends CSSRule native "*CSSMediaRule" {
380 418
381 CSSRuleList cssRules; 419 CSSRuleList get cssRules() native "return this.cssRules;";
382 420
383 MediaList media; 421 MediaList get media() native "return this.media;";
384 422
385 void deleteRule(int index) native; 423 void deleteRule(int index) native;
386 424
387 int insertRule(String rule, int index) native; 425 int insertRule(String rule, int index) native;
388 } 426 }
389 427
390 class CSSPageRule extends CSSRule native "*CSSPageRule" { 428 class CSSPageRule extends CSSRule native "*CSSPageRule" {
391 429
392 String selectorText; 430 String get selectorText() native "return this.selectorText;";
393 431
394 CSSStyleDeclaration style; 432 void set selectorText(String value) native "this.selectorText = value;";
433
434 CSSStyleDeclaration get style() native "return this.style;";
395 } 435 }
396 436
397 class CSSPrimitiveValue extends CSSValue native "*CSSPrimitiveValue" { 437 class CSSPrimitiveValue extends CSSValue native "*CSSPrimitiveValue" {
398 438
399 static final int CSS_ATTR = 22; 439 static final int CSS_ATTR = 22;
400 440
401 static final int CSS_CM = 6; 441 static final int CSS_CM = 6;
402 442
403 static final int CSS_COUNTER = 23; 443 static final int CSS_COUNTER = 23;
404 444
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
441 static final int CSS_RGBCOLOR = 25; 481 static final int CSS_RGBCOLOR = 25;
442 482
443 static final int CSS_S = 15; 483 static final int CSS_S = 15;
444 484
445 static final int CSS_STRING = 19; 485 static final int CSS_STRING = 19;
446 486
447 static final int CSS_UNKNOWN = 0; 487 static final int CSS_UNKNOWN = 0;
448 488
449 static final int CSS_URI = 20; 489 static final int CSS_URI = 20;
450 490
451 int primitiveType; 491 int get primitiveType() native "return this.primitiveType;";
452 492
453 Counter getCounterValue() native; 493 Counter getCounterValue() native;
454 494
455 num getFloatValue(int unitType) native; 495 num getFloatValue(int unitType) native;
456 496
457 RGBColor getRGBColorValue() native; 497 RGBColor getRGBColorValue() native;
458 498
459 Rect getRectValue() native; 499 Rect getRectValue() native;
460 500
461 String getStringValue() native; 501 String getStringValue() native;
(...skipping 18 matching lines...) Expand all
480 static final int STYLE_RULE = 1; 520 static final int STYLE_RULE = 1;
481 521
482 static final int UNKNOWN_RULE = 0; 522 static final int UNKNOWN_RULE = 0;
483 523
484 static final int WEBKIT_KEYFRAMES_RULE = 8; 524 static final int WEBKIT_KEYFRAMES_RULE = 8;
485 525
486 static final int WEBKIT_KEYFRAME_RULE = 9; 526 static final int WEBKIT_KEYFRAME_RULE = 9;
487 527
488 static final int WEBKIT_REGION_RULE = 10; 528 static final int WEBKIT_REGION_RULE = 10;
489 529
490 String cssText; 530 String get cssText() native "return this.cssText;";
491 531
492 CSSRule parentRule; 532 void set cssText(String value) native "this.cssText = value;";
493 533
494 CSSStyleSheet parentStyleSheet; 534 CSSRule get parentRule() native "return this.parentRule;";
495 535
496 int type; 536 CSSStyleSheet get parentStyleSheet() native "return this.parentStyleSheet;";
537
538 int get type() native "return this.type;";
497 539
498 var dartObjectLocalStorage; 540 var dartObjectLocalStorage;
499 541
500 String get typeName() native; 542 String get typeName() native;
501 } 543 }
502 544
503 class CSSRuleList native "*CSSRuleList" { 545 class CSSRuleList native "*CSSRuleList" {
504 546
505 int length; 547 int get length() native "return this.length;";
506 548
507 CSSRule item(int index) native; 549 CSSRule item(int index) native;
508 550
509 var dartObjectLocalStorage; 551 var dartObjectLocalStorage;
510 552
511 String get typeName() native; 553 String get typeName() native;
512 } 554 }
513 555
514 class CSSStyleDeclaration native "*CSSStyleDeclaration" { 556 class CSSStyleDeclaration native "*CSSStyleDeclaration" {
515 557
516 String cssText; 558 String get cssText() native "return this.cssText;";
517 559
518 int length; 560 void set cssText(String value) native "this.cssText = value;";
519 561
520 CSSRule parentRule; 562 int get length() native "return this.length;";
563
564 CSSRule get parentRule() native "return this.parentRule;";
521 565
522 CSSValue getPropertyCSSValue(String propertyName) native; 566 CSSValue getPropertyCSSValue(String propertyName) native;
523 567
524 String getPropertyPriority(String propertyName) native; 568 String getPropertyPriority(String propertyName) native;
525 569
526 String getPropertyShorthand(String propertyName) native; 570 String getPropertyShorthand(String propertyName) native;
527 571
528 String getPropertyValue(String propertyName) native; 572 String getPropertyValue(String propertyName) native;
529 573
530 bool isPropertyImplicit(String propertyName) native; 574 bool isPropertyImplicit(String propertyName) native;
531 575
532 String item(int index) native; 576 String item(int index) native;
533 577
534 String removeProperty(String propertyName) native; 578 String removeProperty(String propertyName) native;
535 579
536 void setProperty(String propertyName, String value, [String priority = null]) native; 580 void setProperty(String propertyName, String value, [String priority = null]) native;
537 581
538 var dartObjectLocalStorage; 582 var dartObjectLocalStorage;
539 583
540 String get typeName() native; 584 String get typeName() native;
541 } 585 }
542 586
543 class CSSStyleRule extends CSSRule native "*CSSStyleRule" { 587 class CSSStyleRule extends CSSRule native "*CSSStyleRule" {
544 588
545 String selectorText; 589 String get selectorText() native "return this.selectorText;";
546 590
547 CSSStyleDeclaration style; 591 void set selectorText(String value) native "this.selectorText = value;";
592
593 CSSStyleDeclaration get style() native "return this.style;";
548 } 594 }
549 595
550 class CSSStyleSheet extends StyleSheet native "*CSSStyleSheet" { 596 class CSSStyleSheet extends StyleSheet native "*CSSStyleSheet" {
551 597
552 CSSRuleList cssRules; 598 CSSRuleList get cssRules() native "return this.cssRules;";
553 599
554 CSSRule ownerRule; 600 CSSRule get ownerRule() native "return this.ownerRule;";
555 601
556 CSSRuleList rules; 602 CSSRuleList get rules() native "return this.rules;";
557 603
558 int addRule(String selector, String style, [int index = null]) native; 604 int addRule(String selector, String style, [int index = null]) native;
559 605
560 void deleteRule(int index) native; 606 void deleteRule(int index) native;
561 607
562 int insertRule(String rule, int index) native; 608 int insertRule(String rule, int index) native;
563 609
564 void removeRule(int index) native; 610 void removeRule(int index) native;
565 } 611 }
566 612
567 class CSSUnknownRule extends CSSRule native "*CSSUnknownRule" { 613 class CSSUnknownRule extends CSSRule native "*CSSUnknownRule" {
568 } 614 }
569 615
570 class CSSValue native "*CSSValue" { 616 class CSSValue native "*CSSValue" {
571 617
572 static final int CSS_CUSTOM = 3; 618 static final int CSS_CUSTOM = 3;
573 619
574 static final int CSS_INHERIT = 0; 620 static final int CSS_INHERIT = 0;
575 621
576 static final int CSS_PRIMITIVE_VALUE = 1; 622 static final int CSS_PRIMITIVE_VALUE = 1;
577 623
578 static final int CSS_VALUE_LIST = 2; 624 static final int CSS_VALUE_LIST = 2;
579 625
580 String cssText; 626 String get cssText() native "return this.cssText;";
581 627
582 int cssValueType; 628 void set cssText(String value) native "this.cssText = value;";
629
630 int get cssValueType() native "return this.cssValueType;";
583 631
584 var dartObjectLocalStorage; 632 var dartObjectLocalStorage;
585 633
586 String get typeName() native; 634 String get typeName() native;
587 } 635 }
588 636
589 class CSSValueList extends CSSValue native "*CSSValueList" { 637 class CSSValueList extends CSSValue native "*CSSValueList" {
590 638
591 int length; 639 int get length() native "return this.length;";
592 640
593 CSSValue item(int index) native; 641 CSSValue item(int index) native;
594 } 642 }
595 643
596 class CanvasGradient native "*CanvasGradient" { 644 class CanvasGradient native "*CanvasGradient" {
597 645
598 void addColorStop(num offset, String color) native; 646 void addColorStop(num offset, String color) native;
599 647
600 var dartObjectLocalStorage; 648 var dartObjectLocalStorage;
601 649
602 String get typeName() native; 650 String get typeName() native;
603 } 651 }
604 652
605 class CanvasPattern native "*CanvasPattern" { 653 class CanvasPattern native "*CanvasPattern" {
606 654
607 var dartObjectLocalStorage; 655 var dartObjectLocalStorage;
608 656
609 String get typeName() native; 657 String get typeName() native;
610 } 658 }
611 659
612 class CanvasPixelArray native "*CanvasPixelArray" { 660 class CanvasPixelArray native "*CanvasPixelArray" {
613 661
614 int length; 662 int get length() native "return this.length;";
615 663
616 int operator[](int index) native; 664 int operator[](int index) native;
617 665
618 void operator[]=(int index, int value) native; 666 void operator[]=(int index, int value) native;
619 667
620 var dartObjectLocalStorage; 668 var dartObjectLocalStorage;
621 669
622 String get typeName() native; 670 String get typeName() native;
623 } 671 }
624 672
625 class CanvasRenderingContext native "*CanvasRenderingContext" { 673 class CanvasRenderingContext native "*CanvasRenderingContext" {
626 674
627 HTMLCanvasElement canvas; 675 HTMLCanvasElement get canvas() native "return this.canvas;";
628 676
629 var dartObjectLocalStorage; 677 var dartObjectLocalStorage;
630 678
631 String get typeName() native; 679 String get typeName() native;
632 } 680 }
633 681
634 class CanvasRenderingContext2D extends CanvasRenderingContext native "*CanvasRen deringContext2D" { 682 class CanvasRenderingContext2D extends CanvasRenderingContext native "*CanvasRen deringContext2D" {
635 683
636 Dynamic fillStyle; 684 Dynamic get fillStyle() native "return this.fillStyle;";
637 685
638 String font; 686 void set fillStyle(Dynamic value) native "this.fillStyle = value;";
639 687
640 num globalAlpha; 688 String get font() native "return this.font;";
641 689
642 String globalCompositeOperation; 690 void set font(String value) native "this.font = value;";
643 691
644 String lineCap; 692 num get globalAlpha() native "return this.globalAlpha;";
645 693
646 String lineJoin; 694 void set globalAlpha(num value) native "this.globalAlpha = value;";
647 695
648 num lineWidth; 696 String get globalCompositeOperation() native "return this.globalCompositeOpera tion;";
649 697
650 num miterLimit; 698 void set globalCompositeOperation(String value) native "this.globalCompositeOp eration = value;";
651 699
652 num shadowBlur; 700 String get lineCap() native "return this.lineCap;";
653 701
654 String shadowColor; 702 void set lineCap(String value) native "this.lineCap = value;";
655 703
656 num shadowOffsetX; 704 String get lineJoin() native "return this.lineJoin;";
657 705
658 num shadowOffsetY; 706 void set lineJoin(String value) native "this.lineJoin = value;";
659 707
660 Dynamic strokeStyle; 708 num get lineWidth() native "return this.lineWidth;";
661 709
662 String textAlign; 710 void set lineWidth(num value) native "this.lineWidth = value;";
663 711
664 String textBaseline; 712 num get miterLimit() native "return this.miterLimit;";
665 713
666 List webkitLineDash; 714 void set miterLimit(num value) native "this.miterLimit = value;";
667 715
668 num webkitLineDashOffset; 716 num get shadowBlur() native "return this.shadowBlur;";
717
718 void set shadowBlur(num value) native "this.shadowBlur = value;";
719
720 String get shadowColor() native "return this.shadowColor;";
721
722 void set shadowColor(String value) native "this.shadowColor = value;";
723
724 num get shadowOffsetX() native "return this.shadowOffsetX;";
725
726 void set shadowOffsetX(num value) native "this.shadowOffsetX = value;";
727
728 num get shadowOffsetY() native "return this.shadowOffsetY;";
729
730 void set shadowOffsetY(num value) native "this.shadowOffsetY = value;";
731
732 Dynamic get strokeStyle() native "return this.strokeStyle;";
733
734 void set strokeStyle(Dynamic value) native "this.strokeStyle = value;";
735
736 String get textAlign() native "return this.textAlign;";
737
738 void set textAlign(String value) native "this.textAlign = value;";
739
740 String get textBaseline() native "return this.textBaseline;";
741
742 void set textBaseline(String value) native "this.textBaseline = value;";
743
744 List get webkitLineDash() native "return this.webkitLineDash;";
745
746 void set webkitLineDash(List value) native "this.webkitLineDash = value;";
747
748 num get webkitLineDashOffset() native "return this.webkitLineDashOffset;";
749
750 void set webkitLineDashOffset(num value) native "this.webkitLineDashOffset = v alue;";
669 751
670 void arc(num x, num y, num radius, num startAngle, num endAngle, bool anticloc kwise) native; 752 void arc(num x, num y, num radius, num startAngle, num endAngle, bool anticloc kwise) native;
671 753
672 void arcTo(num x1, num y1, num x2, num y2, num radius) native; 754 void arcTo(num x1, num y1, num x2, num y2, num radius) native;
673 755
674 void beginPath() native; 756 void beginPath() native;
675 757
676 void bezierCurveTo(num cp1x, num cp1y, num cp2x, num cp2y, num x, num y) nativ e; 758 void bezierCurveTo(num cp1x, num cp1y, num cp2x, num cp2y, num x, num y) nativ e;
677 759
678 void clearRect(num x, num y, num width, num height) native; 760 void clearRect(num x, num y, num width, num height) native;
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
751 833
752 void strokeText(String text, num x, num y, [num maxWidth = null]) native; 834 void strokeText(String text, num x, num y, [num maxWidth = null]) native;
753 835
754 void transform(num m11, num m12, num m21, num m22, num dx, num dy) native; 836 void transform(num m11, num m12, num m21, num m22, num dx, num dy) native;
755 837
756 void translate(num tx, num ty) native; 838 void translate(num tx, num ty) native;
757 } 839 }
758 840
759 class CharacterData extends Node native "*CharacterData" { 841 class CharacterData extends Node native "*CharacterData" {
760 842
761 String data; 843 String get data() native "return this.data;";
762 844
763 int length; 845 void set data(String value) native "this.data = value;";
846
847 int get length() native "return this.length;";
764 848
765 void appendData(String data) native; 849 void appendData(String data) native;
766 850
767 void deleteData(int offset, int length) native; 851 void deleteData(int offset, int length) native;
768 852
769 void insertData(int offset, String data) native; 853 void insertData(int offset, String data) native;
770 854
771 void replaceData(int offset, int length, String data) native; 855 void replaceData(int offset, int length, String data) native;
772 856
773 String substringData(int offset, int length) native; 857 String substringData(int offset, int length) native;
774 } 858 }
775 859
776 class ClientRect native "*ClientRect" { 860 class ClientRect native "*ClientRect" {
777 861
778 num bottom; 862 num get bottom() native "return this.bottom;";
779 863
780 num height; 864 num get height() native "return this.height;";
781 865
782 num left; 866 num get left() native "return this.left;";
783 867
784 num right; 868 num get right() native "return this.right;";
785 869
786 num top; 870 num get top() native "return this.top;";
787 871
788 num width; 872 num get width() native "return this.width;";
789 873
790 var dartObjectLocalStorage; 874 var dartObjectLocalStorage;
791 875
792 String get typeName() native; 876 String get typeName() native;
793 } 877 }
794 878
795 class ClientRectList native "*ClientRectList" { 879 class ClientRectList native "*ClientRectList" {
796 880
797 int length; 881 int get length() native "return this.length;";
798 882
799 ClientRect item(int index) native; 883 ClientRect item(int index) native;
800 884
801 var dartObjectLocalStorage; 885 var dartObjectLocalStorage;
802 886
803 String get typeName() native; 887 String get typeName() native;
804 } 888 }
805 889
806 class Clipboard native "*Clipboard" { 890 class Clipboard native "*Clipboard" {
807 891
808 String dropEffect; 892 String get dropEffect() native "return this.dropEffect;";
809 893
810 String effectAllowed; 894 void set dropEffect(String value) native "this.dropEffect = value;";
811 895
812 FileList files; 896 String get effectAllowed() native "return this.effectAllowed;";
813 897
814 DataTransferItemList items; 898 void set effectAllowed(String value) native "this.effectAllowed = value;";
815 899
816 List types; 900 FileList get files() native "return this.files;";
901
902 DataTransferItemList get items() native "return this.items;";
903
904 List get types() native "return this.types;";
817 905
818 void clearData([String type = null]) native; 906 void clearData([String type = null]) native;
819 907
820 void getData(String type) native; 908 void getData(String type) native;
821 909
822 bool setData(String type, String data) native; 910 bool setData(String type, String data) native;
823 911
824 void setDragImage(HTMLImageElement image, int x, int y) native; 912 void setDragImage(HTMLImageElement image, int x, int y) native;
825 913
826 var dartObjectLocalStorage; 914 var dartObjectLocalStorage;
827 915
828 String get typeName() native; 916 String get typeName() native;
829 } 917 }
830 918
831 class CloseEvent extends Event native "*CloseEvent" { 919 class CloseEvent extends Event native "*CloseEvent" {
832 920
833 int code; 921 int get code() native "return this.code;";
834 922
835 String reason; 923 String get reason() native "return this.reason;";
836 924
837 bool wasClean; 925 bool get wasClean() native "return this.wasClean;";
838 } 926 }
839 927
840 class Comment extends CharacterData native "*Comment" { 928 class Comment extends CharacterData native "*Comment" {
841 } 929 }
842 930
843 class CompositionEvent extends UIEvent native "*CompositionEvent" { 931 class CompositionEvent extends UIEvent native "*CompositionEvent" {
844 932
845 String data; 933 String get data() native "return this.data;";
846 934
847 void initCompositionEvent(String typeArg, bool canBubbleArg, bool cancelableAr g, DOMWindow viewArg, String dataArg) native; 935 void initCompositionEvent(String typeArg, bool canBubbleArg, bool cancelableAr g, DOMWindow viewArg, String dataArg) native;
848 } 936 }
849 937
850 class Console native "=(typeof console == 'undefined' ? {} : console)" { 938 class Console native "=(typeof console == 'undefined' ? {} : console)" {
851 939
852 MemoryInfo memory; 940 MemoryInfo get memory() native "return this.memory;";
853 941
854 List profiles; 942 List get profiles() native "return this.profiles;";
855 943
856 void assert_(bool condition) native; 944 void assertCondition(bool condition) native;
857 945
858 void count() native; 946 void count() native;
859 947
860 void debug(Object arg) native; 948 void debug(Object arg) native;
861 949
862 void dir() native; 950 void dir() native;
863 951
864 void dirxml() native; 952 void dirxml() native;
865 953
866 void error(Object arg) native; 954 void error(Object arg) native;
(...skipping 24 matching lines...) Expand all
891 979
892 void warn(Object arg) native; 980 void warn(Object arg) native;
893 981
894 var dartObjectLocalStorage; 982 var dartObjectLocalStorage;
895 983
896 String get typeName() native; 984 String get typeName() native;
897 } 985 }
898 986
899 class ConvolverNode extends AudioNode native "*ConvolverNode" { 987 class ConvolverNode extends AudioNode native "*ConvolverNode" {
900 988
901 AudioBuffer buffer; 989 AudioBuffer get buffer() native "return this.buffer;";
902 990
903 bool normalize; 991 void set buffer(AudioBuffer value) native "this.buffer = value;";
992
993 bool get normalize() native "return this.normalize;";
994
995 void set normalize(bool value) native "this.normalize = value;";
904 } 996 }
905 997
906 class Coordinates native "*Coordinates" { 998 class Coordinates native "*Coordinates" {
907 999
908 num accuracy; 1000 num get accuracy() native "return this.accuracy;";
909 1001
910 num altitude; 1002 num get altitude() native "return this.altitude;";
911 1003
912 num altitudeAccuracy; 1004 num get altitudeAccuracy() native "return this.altitudeAccuracy;";
913 1005
914 num heading; 1006 num get heading() native "return this.heading;";
915 1007
916 num latitude; 1008 num get latitude() native "return this.latitude;";
917 1009
918 num longitude; 1010 num get longitude() native "return this.longitude;";
919 1011
920 num speed; 1012 num get speed() native "return this.speed;";
921 1013
922 var dartObjectLocalStorage; 1014 var dartObjectLocalStorage;
923 1015
924 String get typeName() native; 1016 String get typeName() native;
925 } 1017 }
926 1018
927 class Counter native "*Counter" { 1019 class Counter native "*Counter" {
928 1020
929 String identifier; 1021 String get identifier() native "return this.identifier;";
930 1022
931 String listStyle; 1023 String get listStyle() native "return this.listStyle;";
932 1024
933 String separator; 1025 String get separator() native "return this.separator;";
934 1026
935 var dartObjectLocalStorage; 1027 var dartObjectLocalStorage;
936 1028
937 String get typeName() native; 1029 String get typeName() native;
938 } 1030 }
939 1031
940 class Crypto native "*Crypto" { 1032 class Crypto native "*Crypto" {
941 1033
942 void getRandomValues(ArrayBufferView array) native; 1034 void getRandomValues(ArrayBufferView array) native;
943 1035
944 var dartObjectLocalStorage; 1036 var dartObjectLocalStorage;
945 1037
946 String get typeName() native; 1038 String get typeName() native;
947 } 1039 }
948 1040
949 class CustomEvent extends Event native "*CustomEvent" { 1041 class CustomEvent extends Event native "*CustomEvent" {
950 1042
951 Object detail; 1043 Object get detail() native "return this.detail;";
952 1044
953 void initCustomEvent(String typeArg, bool canBubbleArg, bool cancelableArg, Ob ject detailArg) native; 1045 void initCustomEvent(String typeArg, bool canBubbleArg, bool cancelableArg, Ob ject detailArg) native;
954 } 1046 }
955 1047
956 class DOMApplicationCache native "*DOMApplicationCache" { 1048 class DOMApplicationCache native "*DOMApplicationCache" {
957 1049
958 static final int CHECKING = 2; 1050 static final int CHECKING = 2;
959 1051
960 static final int DOWNLOADING = 3; 1052 static final int DOWNLOADING = 3;
961 1053
962 static final int IDLE = 1; 1054 static final int IDLE = 1;
963 1055
964 static final int OBSOLETE = 5; 1056 static final int OBSOLETE = 5;
965 1057
966 static final int UNCACHED = 0; 1058 static final int UNCACHED = 0;
967 1059
968 static final int UPDATEREADY = 4; 1060 static final int UPDATEREADY = 4;
969 1061
970 int status; 1062 int get status() native "return this.status;";
971 1063
972 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native; 1064 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
973 1065
974 bool dispatchEvent(Event evt) native; 1066 bool dispatchEvent(Event evt) native;
975 1067
976 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native; 1068 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
977 1069
978 void swapCache() native; 1070 void swapCache() native;
979 1071
980 void update() native; 1072 void update() native;
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
1029 static final int TIMEOUT_ERR = 23; 1121 static final int TIMEOUT_ERR = 23;
1030 1122
1031 static final int TYPE_MISMATCH_ERR = 17; 1123 static final int TYPE_MISMATCH_ERR = 17;
1032 1124
1033 static final int URL_MISMATCH_ERR = 21; 1125 static final int URL_MISMATCH_ERR = 21;
1034 1126
1035 static final int VALIDATION_ERR = 16; 1127 static final int VALIDATION_ERR = 16;
1036 1128
1037 static final int WRONG_DOCUMENT_ERR = 4; 1129 static final int WRONG_DOCUMENT_ERR = 4;
1038 1130
1039 int code; 1131 int get code() native "return this.code;";
1040 1132
1041 String message; 1133 String get message() native "return this.message;";
1042 1134
1043 String name; 1135 String get name() native "return this.name;";
1044 1136
1045 String toString() native; 1137 String toString() native;
1046 1138
1047 var dartObjectLocalStorage; 1139 var dartObjectLocalStorage;
1048 1140
1049 String get typeName() native; 1141 String get typeName() native;
1050 } 1142 }
1051 1143
1052 class DOMFileSystem native "*DOMFileSystem" { 1144 class DOMFileSystem native "*DOMFileSystem" {
1053 1145
1054 String name; 1146 String get name() native "return this.name;";
1055 1147
1056 DirectoryEntry root; 1148 DirectoryEntry get root() native "return this.root;";
1057 1149
1058 var dartObjectLocalStorage; 1150 var dartObjectLocalStorage;
1059 1151
1060 String get typeName() native; 1152 String get typeName() native;
1061 } 1153 }
1062 1154
1063 class DOMFileSystemSync native "*DOMFileSystemSync" { 1155 class DOMFileSystemSync native "*DOMFileSystemSync" {
1064 1156
1065 String name; 1157 String get name() native "return this.name;";
1066 1158
1067 DirectoryEntrySync root; 1159 DirectoryEntrySync get root() native "return this.root;";
1068 1160
1069 var dartObjectLocalStorage; 1161 var dartObjectLocalStorage;
1070 1162
1071 String get typeName() native; 1163 String get typeName() native;
1072 } 1164 }
1073 1165
1074 class DOMFormData native "*DOMFormData" { 1166 class DOMFormData native "*DOMFormData" {
1075 1167
1076 void append(String name, String value, String filename) native; 1168 void append(String name, String value, String filename) native;
1077 1169
(...skipping 14 matching lines...) Expand all
1092 1184
1093 bool hasFeature(String feature, String version) native; 1185 bool hasFeature(String feature, String version) native;
1094 1186
1095 var dartObjectLocalStorage; 1187 var dartObjectLocalStorage;
1096 1188
1097 String get typeName() native; 1189 String get typeName() native;
1098 } 1190 }
1099 1191
1100 class DOMMimeType native "*DOMMimeType" { 1192 class DOMMimeType native "*DOMMimeType" {
1101 1193
1102 String description; 1194 String get description() native "return this.description;";
1103 1195
1104 DOMPlugin enabledPlugin; 1196 DOMPlugin get enabledPlugin() native "return this.enabledPlugin;";
1105 1197
1106 String suffixes; 1198 String get suffixes() native "return this.suffixes;";
1107 1199
1108 String type; 1200 String get type() native "return this.type;";
1109 1201
1110 var dartObjectLocalStorage; 1202 var dartObjectLocalStorage;
1111 1203
1112 String get typeName() native; 1204 String get typeName() native;
1113 } 1205 }
1114 1206
1115 class DOMMimeTypeArray native "*DOMMimeTypeArray" { 1207 class DOMMimeTypeArray native "*DOMMimeTypeArray" {
1116 1208
1117 int length; 1209 int get length() native "return this.length;";
1118 1210
1119 DOMMimeType item(int index) native; 1211 DOMMimeType item(int index) native;
1120 1212
1121 DOMMimeType namedItem(String name) native; 1213 DOMMimeType namedItem(String name) native;
1122 1214
1123 var dartObjectLocalStorage; 1215 var dartObjectLocalStorage;
1124 1216
1125 String get typeName() native; 1217 String get typeName() native;
1126 } 1218 }
1127 1219
1128 class DOMParser native "*DOMParser" { 1220 class DOMParser native "*DOMParser" {
1129 1221
1130 Document parseFromString(String str, String contentType) native; 1222 Document parseFromString(String str, String contentType) native;
1131 1223
1132 var dartObjectLocalStorage; 1224 var dartObjectLocalStorage;
1133 1225
1134 String get typeName() native; 1226 String get typeName() native;
1135 } 1227 }
1136 1228
1137 class DOMPlugin native "*DOMPlugin" { 1229 class DOMPlugin native "*DOMPlugin" {
1138 1230
1139 String description; 1231 String get description() native "return this.description;";
1140 1232
1141 String filename; 1233 String get filename() native "return this.filename;";
1142 1234
1143 int length; 1235 int get length() native "return this.length;";
1144 1236
1145 String name; 1237 String get name() native "return this.name;";
1146 1238
1147 DOMMimeType item(int index) native; 1239 DOMMimeType item(int index) native;
1148 1240
1149 DOMMimeType namedItem(String name) native; 1241 DOMMimeType namedItem(String name) native;
1150 1242
1151 var dartObjectLocalStorage; 1243 var dartObjectLocalStorage;
1152 1244
1153 String get typeName() native; 1245 String get typeName() native;
1154 } 1246 }
1155 1247
1156 class DOMPluginArray native "*DOMPluginArray" { 1248 class DOMPluginArray native "*DOMPluginArray" {
1157 1249
1158 int length; 1250 int get length() native "return this.length;";
1159 1251
1160 DOMPlugin item(int index) native; 1252 DOMPlugin item(int index) native;
1161 1253
1162 DOMPlugin namedItem(String name) native; 1254 DOMPlugin namedItem(String name) native;
1163 1255
1164 void refresh(bool reload) native; 1256 void refresh(bool reload) native;
1165 1257
1166 var dartObjectLocalStorage; 1258 var dartObjectLocalStorage;
1167 1259
1168 String get typeName() native; 1260 String get typeName() native;
1169 } 1261 }
1170 1262
1171 class DOMSelection native "*DOMSelection" { 1263 class DOMSelection native "*DOMSelection" {
1172 1264
1173 Node anchorNode; 1265 Node get anchorNode() native "return this.anchorNode;";
1174 1266
1175 int anchorOffset; 1267 int get anchorOffset() native "return this.anchorOffset;";
1176 1268
1177 Node baseNode; 1269 Node get baseNode() native "return this.baseNode;";
1178 1270
1179 int baseOffset; 1271 int get baseOffset() native "return this.baseOffset;";
1180 1272
1181 Node extentNode; 1273 Node get extentNode() native "return this.extentNode;";
1182 1274
1183 int extentOffset; 1275 int get extentOffset() native "return this.extentOffset;";
1184 1276
1185 Node focusNode; 1277 Node get focusNode() native "return this.focusNode;";
1186 1278
1187 int focusOffset; 1279 int get focusOffset() native "return this.focusOffset;";
1188 1280
1189 bool isCollapsed; 1281 bool get isCollapsed() native "return this.isCollapsed;";
1190 1282
1191 int rangeCount; 1283 int get rangeCount() native "return this.rangeCount;";
1192 1284
1193 String type; 1285 String get type() native "return this.type;";
1194 1286
1195 void addRange(Range range) native; 1287 void addRange(Range range) native;
1196 1288
1197 void collapse(Node node, int index) native; 1289 void collapse(Node node, int index) native;
1198 1290
1199 void collapseToEnd() native; 1291 void collapseToEnd() native;
1200 1292
1201 void collapseToStart() native; 1293 void collapseToStart() native;
1202 1294
1203 bool containsNode(Node node, bool allowPartial) native; 1295 bool containsNode(Node node, bool allowPartial) native;
(...skipping 18 matching lines...) Expand all
1222 1314
1223 String toString() native; 1315 String toString() native;
1224 1316
1225 var dartObjectLocalStorage; 1317 var dartObjectLocalStorage;
1226 1318
1227 String get typeName() native; 1319 String get typeName() native;
1228 } 1320 }
1229 1321
1230 class DOMSettableTokenList extends DOMTokenList native "*DOMSettableTokenList" { 1322 class DOMSettableTokenList extends DOMTokenList native "*DOMSettableTokenList" {
1231 1323
1232 String value; 1324 String get value() native "return this.value;";
1325
1326 void set value(String value) native "this.value = value;";
1233 } 1327 }
1234 1328
1235 class DOMTokenList native "*DOMTokenList" { 1329 class DOMTokenList native "*DOMTokenList" {
1236 1330
1237 int length; 1331 int get length() native "return this.length;";
1238 1332
1239 void add(String token) native; 1333 void add(String token) native;
1240 1334
1241 bool contains(String token) native; 1335 bool contains(String token) native;
1242 1336
1243 String item(int index) native; 1337 String item(int index) native;
1244 1338
1245 void remove(String token) native; 1339 void remove(String token) native;
1246 1340
1247 String toString() native; 1341 String toString() native;
(...skipping 15 matching lines...) Expand all
1263 1357
1264 String get typeName() native; 1358 String get typeName() native;
1265 } 1359 }
1266 1360
1267 class DOMWindow native "@*DOMWindow" { 1361 class DOMWindow native "@*DOMWindow" {
1268 1362
1269 static final int PERSISTENT = 1; 1363 static final int PERSISTENT = 1;
1270 1364
1271 static final int TEMPORARY = 0; 1365 static final int TEMPORARY = 0;
1272 1366
1273 DOMApplicationCache applicationCache; 1367 DOMApplicationCache get applicationCache() native "return this.applicationCach e;";
1274 1368
1275 Navigator clientInformation; 1369 Navigator get clientInformation() native "return this.clientInformation;";
1276 1370
1277 bool closed; 1371 void set clientInformation(Navigator value) native "this.clientInformation = v alue;";
1278 1372
1279 Console console; 1373 bool get closed() native "return this.closed;";
1280 1374
1281 Crypto crypto; 1375 Console get console() native "return this.console;";
1282 1376
1283 String defaultStatus; 1377 void set console(Console value) native "this.console = value;";
1284 1378
1285 String defaultstatus; 1379 Crypto get crypto() native "return this.crypto;";
1286 1380
1287 num devicePixelRatio; 1381 String get defaultStatus() native "return this.defaultStatus;";
1288 1382
1289 Document document; 1383 void set defaultStatus(String value) native "this.defaultStatus = value;";
1290 1384
1291 Event event; 1385 String get defaultstatus() native "return this.defaultstatus;";
1292 1386
1293 Element frameElement; 1387 void set defaultstatus(String value) native "this.defaultstatus = value;";
1294 1388
1295 DOMWindow frames; 1389 num get devicePixelRatio() native "return this.devicePixelRatio;";
1296 1390
1297 History history; 1391 void set devicePixelRatio(num value) native "this.devicePixelRatio = value;";
1298 1392
1299 int innerHeight; 1393 Document get document() native "return this.document;";
1300 1394
1301 int innerWidth; 1395 Event get event() native "return this.event;";
1302 1396
1303 int length; 1397 void set event(Event value) native "this.event = value;";
1304 1398
1305 Storage localStorage; 1399 Element get frameElement() native "return this.frameElement;";
1306 1400
1307 Location location; 1401 DOMWindow get frames() native "return this.frames;";
1308 1402
1309 BarInfo locationbar; 1403 void set frames(DOMWindow value) native "this.frames = value;";
1310 1404
1311 BarInfo menubar; 1405 History get history() native "return this.history;";
1312 1406
1313 String name; 1407 void set history(History value) native "this.history = value;";
1314 1408
1315 Navigator navigator; 1409 int get innerHeight() native "return this.innerHeight;";
1316 1410
1317 bool offscreenBuffering; 1411 void set innerHeight(int value) native "this.innerHeight = value;";
1318 1412
1319 DOMWindow opener; 1413 int get innerWidth() native "return this.innerWidth;";
1320 1414
1321 int outerHeight; 1415 void set innerWidth(int value) native "this.innerWidth = value;";
1322 1416
1323 int outerWidth; 1417 int get length() native "return this.length;";
1324 1418
1325 int pageXOffset; 1419 void set length(int value) native "this.length = value;";
1326 1420
1327 int pageYOffset; 1421 Storage get localStorage() native "return this.localStorage;";
1328 1422
1329 DOMWindow parent; 1423 Location get location() native "return this.location;";
1330 1424
1331 Performance performance; 1425 void set location(Location value) native "this.location = value;";
1332 1426
1333 BarInfo personalbar; 1427 BarInfo get locationbar() native "return this.locationbar;";
1334 1428
1335 Screen screen; 1429 void set locationbar(BarInfo value) native "this.locationbar = value;";
1336 1430
1337 int screenLeft; 1431 BarInfo get menubar() native "return this.menubar;";
1338 1432
1339 int screenTop; 1433 void set menubar(BarInfo value) native "this.menubar = value;";
1340 1434
1341 int screenX; 1435 String get name() native "return this.name;";
1342 1436
1343 int screenY; 1437 void set name(String value) native "this.name = value;";
1344 1438
1345 int scrollX; 1439 Navigator get navigator() native "return this.navigator;";
1346 1440
1347 int scrollY; 1441 void set navigator(Navigator value) native "this.navigator = value;";
1348 1442
1349 BarInfo scrollbars; 1443 bool get offscreenBuffering() native "return this.offscreenBuffering;";
1350 1444
1351 DOMWindow self; 1445 void set offscreenBuffering(bool value) native "this.offscreenBuffering = valu e;";
1352 1446
1353 Storage sessionStorage; 1447 DOMWindow get opener() native "return this.opener;";
1354 1448
1355 String status; 1449 void set opener(DOMWindow value) native "this.opener = value;";
1356 1450
1357 BarInfo statusbar; 1451 int get outerHeight() native "return this.outerHeight;";
1358 1452
1359 StyleMedia styleMedia; 1453 void set outerHeight(int value) native "this.outerHeight = value;";
1360 1454
1361 BarInfo toolbar; 1455 int get outerWidth() native "return this.outerWidth;";
1362 1456
1363 DOMWindow top; 1457 void set outerWidth(int value) native "this.outerWidth = value;";
1364 1458
1365 IDBFactory webkitIndexedDB; 1459 int get pageXOffset() native "return this.pageXOffset;";
1366 1460
1367 NotificationCenter webkitNotifications; 1461 int get pageYOffset() native "return this.pageYOffset;";
1368 1462
1369 StorageInfo webkitStorageInfo; 1463 DOMWindow get parent() native "return this.parent;";
1370 1464
1371 DOMURL webkitURL; 1465 void set parent(DOMWindow value) native "this.parent = value;";
1372 1466
1373 DOMWindow window; 1467 Performance get performance() native "return this.performance;";
1468
1469 void set performance(Performance value) native "this.performance = value;";
1470
1471 BarInfo get personalbar() native "return this.personalbar;";
1472
1473 void set personalbar(BarInfo value) native "this.personalbar = value;";
1474
1475 Screen get screen() native "return this.screen;";
1476
1477 void set screen(Screen value) native "this.screen = value;";
1478
1479 int get screenLeft() native "return this.screenLeft;";
1480
1481 void set screenLeft(int value) native "this.screenLeft = value;";
1482
1483 int get screenTop() native "return this.screenTop;";
1484
1485 void set screenTop(int value) native "this.screenTop = value;";
1486
1487 int get screenX() native "return this.screenX;";
1488
1489 void set screenX(int value) native "this.screenX = value;";
1490
1491 int get screenY() native "return this.screenY;";
1492
1493 void set screenY(int value) native "this.screenY = value;";
1494
1495 int get scrollX() native "return this.scrollX;";
1496
1497 void set scrollX(int value) native "this.scrollX = value;";
1498
1499 int get scrollY() native "return this.scrollY;";
1500
1501 void set scrollY(int value) native "this.scrollY = value;";
1502
1503 BarInfo get scrollbars() native "return this.scrollbars;";
1504
1505 void set scrollbars(BarInfo value) native "this.scrollbars = value;";
1506
1507 DOMWindow get self() native "return this.self;";
1508
1509 void set self(DOMWindow value) native "this.self = value;";
1510
1511 Storage get sessionStorage() native "return this.sessionStorage;";
1512
1513 String get status() native "return this.status;";
1514
1515 void set status(String value) native "this.status = value;";
1516
1517 BarInfo get statusbar() native "return this.statusbar;";
1518
1519 void set statusbar(BarInfo value) native "this.statusbar = value;";
1520
1521 StyleMedia get styleMedia() native "return this.styleMedia;";
1522
1523 BarInfo get toolbar() native "return this.toolbar;";
1524
1525 void set toolbar(BarInfo value) native "this.toolbar = value;";
1526
1527 DOMWindow get top() native "return this.top;";
1528
1529 void set top(DOMWindow value) native "this.top = value;";
1530
1531 IDBFactory get webkitIndexedDB() native "return this.webkitIndexedDB;";
1532
1533 NotificationCenter get webkitNotifications() native "return this.webkitNotific ations;";
1534
1535 StorageInfo get webkitStorageInfo() native "return this.webkitStorageInfo;";
1536
1537 DOMURL get webkitURL() native "return this.webkitURL;";
1538
1539 DOMWindow get window() native "return this.window;";
1374 1540
1375 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native; 1541 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
1376 1542
1377 void alert(String message) native; 1543 void alert(String message) native;
1378 1544
1379 String atob(String string) native; 1545 String atob(String string) native;
1380 1546
1381 void blur() native; 1547 void blur() native;
1382 1548
1383 String btoa(String string) native; 1549 String btoa(String string) native;
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
1456 1622
1457 void webkitResolveLocalFileSystemURL(String url, [EntryCallback successCallbac k = null, ErrorCallback errorCallback = null]) native; 1623 void webkitResolveLocalFileSystemURL(String url, [EntryCallback successCallbac k = null, ErrorCallback errorCallback = null]) native;
1458 1624
1459 var dartObjectLocalStorage; 1625 var dartObjectLocalStorage;
1460 1626
1461 String get typeName() native; 1627 String get typeName() native;
1462 } 1628 }
1463 1629
1464 class DataTransferItem native "*DataTransferItem" { 1630 class DataTransferItem native "*DataTransferItem" {
1465 1631
1466 String kind; 1632 String get kind() native "return this.kind;";
1467 1633
1468 String type; 1634 String get type() native "return this.type;";
1469 1635
1470 Blob getAsFile() native; 1636 Blob getAsFile() native;
1471 1637
1472 void getAsString(StringCallback callback) native; 1638 void getAsString(StringCallback callback) native;
1473 1639
1474 var dartObjectLocalStorage; 1640 var dartObjectLocalStorage;
1475 1641
1476 String get typeName() native; 1642 String get typeName() native;
1477 } 1643 }
1478 1644
1479 class DataTransferItemList native "*DataTransferItemList" { 1645 class DataTransferItemList native "*DataTransferItemList" {
1480 1646
1481 int length; 1647 int get length() native "return this.length;";
1482 1648
1483 void add(String data, String type) native; 1649 void add(String data, String type) native;
1484 1650
1485 void clear() native; 1651 void clear() native;
1486 1652
1487 DataTransferItem item(int index) native; 1653 DataTransferItem item(int index) native;
1488 1654
1489 var dartObjectLocalStorage; 1655 var dartObjectLocalStorage;
1490 1656
1491 String get typeName() native; 1657 String get typeName() native;
(...skipping 29 matching lines...) Expand all
1521 1687
1522 void setUint16(int byteOffset, int value, [bool littleEndian = null]) native; 1688 void setUint16(int byteOffset, int value, [bool littleEndian = null]) native;
1523 1689
1524 void setUint32(int byteOffset, int value, [bool littleEndian = null]) native; 1690 void setUint32(int byteOffset, int value, [bool littleEndian = null]) native;
1525 1691
1526 void setUint8() native; 1692 void setUint8() native;
1527 } 1693 }
1528 1694
1529 class Database native "*Database" { 1695 class Database native "*Database" {
1530 1696
1531 String version; 1697 String get version() native "return this.version;";
1532 1698
1533 void changeVersion(String oldVersion, String newVersion, [SQLTransactionCallba ck callback = null, SQLTransactionErrorCallback errorCallback = null, VoidCallba ck successCallback = null]) native; 1699 void changeVersion(String oldVersion, String newVersion, [SQLTransactionCallba ck callback = null, SQLTransactionErrorCallback errorCallback = null, VoidCallba ck successCallback = null]) native;
1534 1700
1535 void readTransaction(SQLTransactionCallback callback, [SQLTransactionErrorCall back errorCallback = null, VoidCallback successCallback = null]) native; 1701 void readTransaction(SQLTransactionCallback callback, [SQLTransactionErrorCall back errorCallback = null, VoidCallback successCallback = null]) native;
1536 1702
1537 void transaction(SQLTransactionCallback callback, [SQLTransactionErrorCallback errorCallback = null, VoidCallback successCallback = null]) native; 1703 void transaction(SQLTransactionCallback callback, [SQLTransactionErrorCallback errorCallback = null, VoidCallback successCallback = null]) native;
1538 1704
1539 var dartObjectLocalStorage; 1705 var dartObjectLocalStorage;
1540 1706
1541 String get typeName() native; 1707 String get typeName() native;
1542 } 1708 }
1543 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1709 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
1544 // for details. All rights reserved. Use of this source code is governed by a 1710 // for details. All rights reserved. Use of this source code is governed by a
1545 // BSD-style license that can be found in the LICENSE file. 1711 // BSD-style license that can be found in the LICENSE file.
1546 1712
1547 // WARNING: Do not edit - generated code. 1713 // WARNING: Do not edit - generated code.
1548 1714
1549 typedef bool DatabaseCallback(var database); 1715 typedef bool DatabaseCallback(var database);
1550 1716
1551 class DatabaseSync native "*DatabaseSync" { 1717 class DatabaseSync native "*DatabaseSync" {
1552 1718
1553 String lastErrorMessage; 1719 String get lastErrorMessage() native "return this.lastErrorMessage;";
1554 1720
1555 String version; 1721 String get version() native "return this.version;";
1556 1722
1557 void changeVersion(String oldVersion, String newVersion, [SQLTransactionSyncCa llback callback = null]) native; 1723 void changeVersion(String oldVersion, String newVersion, [SQLTransactionSyncCa llback callback = null]) native;
1558 1724
1559 void readTransaction(SQLTransactionSyncCallback callback) native; 1725 void readTransaction(SQLTransactionSyncCallback callback) native;
1560 1726
1561 void transaction(SQLTransactionSyncCallback callback) native; 1727 void transaction(SQLTransactionSyncCallback callback) native;
1562 1728
1563 var dartObjectLocalStorage; 1729 var dartObjectLocalStorage;
1564 1730
1565 String get typeName() native; 1731 String get typeName() native;
1566 } 1732 }
1567 1733
1568 class DedicatedWorkerContext extends WorkerContext native "*DedicatedWorkerConte xt" { 1734 class DedicatedWorkerContext extends WorkerContext native "*DedicatedWorkerConte xt" {
1569 1735
1570 EventListener onmessage; 1736 EventListener get onmessage() native "return this.onmessage;";
1737
1738 void set onmessage(EventListener value) native "this.onmessage = value;";
1571 1739
1572 void postMessage(Object message, [List messagePorts = null]) native; 1740 void postMessage(Object message, [List messagePorts = null]) native;
1573 1741
1574 void webkitPostMessage(Object message, [List transferList = null]) native; 1742 void webkitPostMessage(Object message, [List transferList = null]) native;
1575 } 1743 }
1576 1744
1577 class DelayNode extends AudioNode native "*DelayNode" { 1745 class DelayNode extends AudioNode native "*DelayNode" {
1578 1746
1579 AudioParam delayTime; 1747 AudioParam get delayTime() native "return this.delayTime;";
1580 } 1748 }
1581 1749
1582 class DeviceMotionEvent extends Event native "*DeviceMotionEvent" { 1750 class DeviceMotionEvent extends Event native "*DeviceMotionEvent" {
1583 1751
1584 num interval; 1752 num get interval() native "return this.interval;";
1585 } 1753 }
1586 1754
1587 class DeviceOrientationEvent extends Event native "*DeviceOrientationEvent" { 1755 class DeviceOrientationEvent extends Event native "*DeviceOrientationEvent" {
1588 1756
1589 num alpha; 1757 num get alpha() native "return this.alpha;";
1590 1758
1591 num beta; 1759 num get beta() native "return this.beta;";
1592 1760
1593 num gamma; 1761 num get gamma() native "return this.gamma;";
1594 1762
1595 void initDeviceOrientationEvent(String type, bool bubbles, bool cancelable, nu m alpha, num beta, num gamma) native; 1763 void initDeviceOrientationEvent(String type, bool bubbles, bool cancelable, nu m alpha, num beta, num gamma) native;
1596 } 1764 }
1597 1765
1598 class DirectoryEntry extends Entry native "*DirectoryEntry" { 1766 class DirectoryEntry extends Entry native "*DirectoryEntry" {
1599 1767
1600 DirectoryReader createReader() native; 1768 DirectoryReader createReader() native;
1601 1769
1602 void getDirectory(String path, [Object flags = null, EntryCallback successCall back = null, ErrorCallback errorCallback = null]) native; 1770 void getDirectory(String path, [Object flags = null, EntryCallback successCall back = null, ErrorCallback errorCallback = null]) native;
1603 1771
(...skipping 26 matching lines...) Expand all
1630 1798
1631 EntryArraySync readEntries() native; 1799 EntryArraySync readEntries() native;
1632 1800
1633 var dartObjectLocalStorage; 1801 var dartObjectLocalStorage;
1634 1802
1635 String get typeName() native; 1803 String get typeName() native;
1636 } 1804 }
1637 1805
1638 class Document extends Node native "*Document" { 1806 class Document extends Node native "*Document" {
1639 1807
1640 String URL; 1808 String get URL() native "return this.URL;";
1641 1809
1642 HTMLCollection anchors; 1810 HTMLCollection get anchors() native "return this.anchors;";
1643 1811
1644 HTMLCollection applets; 1812 HTMLCollection get applets() native "return this.applets;";
1645 1813
1646 HTMLElement body; 1814 HTMLElement get body() native "return this.body;";
1647 1815
1648 String characterSet; 1816 void set body(HTMLElement value) native "this.body = value;";
1649 1817
1650 String charset; 1818 String get characterSet() native "return this.characterSet;";
1651 1819
1652 String compatMode; 1820 String get charset() native "return this.charset;";
1653 1821
1654 String cookie; 1822 void set charset(String value) native "this.charset = value;";
1655 1823
1656 String defaultCharset; 1824 String get compatMode() native "return this.compatMode;";
1657 1825
1658 DOMWindow defaultView; 1826 String get cookie() native "return this.cookie;";
1659 1827
1660 DocumentType doctype; 1828 void set cookie(String value) native "this.cookie = value;";
1661 1829
1662 Element documentElement; 1830 String get defaultCharset() native "return this.defaultCharset;";
1663 1831
1664 String documentURI; 1832 DOMWindow get defaultView() native "return this.defaultView;";
1665 1833
1666 String domain; 1834 DocumentType get doctype() native "return this.doctype;";
1667 1835
1668 HTMLCollection forms; 1836 Element get documentElement() native "return this.documentElement;";
1669 1837
1670 HTMLHeadElement head; 1838 String get documentURI() native "return this.documentURI;";
1671 1839
1672 HTMLCollection images; 1840 void set documentURI(String value) native "this.documentURI = value;";
1673 1841
1674 DOMImplementation implementation; 1842 String get domain() native "return this.domain;";
1675 1843
1676 String inputEncoding; 1844 void set domain(String value) native "this.domain = value;";
1677 1845
1678 String lastModified; 1846 HTMLCollection get forms() native "return this.forms;";
1679 1847
1680 HTMLCollection links; 1848 HTMLHeadElement get head() native "return this.head;";
1681 1849
1682 Location location; 1850 HTMLCollection get images() native "return this.images;";
1683 1851
1684 String preferredStylesheetSet; 1852 DOMImplementation get implementation() native "return this.implementation;";
1685 1853
1686 String readyState; 1854 String get inputEncoding() native "return this.inputEncoding;";
1687 1855
1688 String referrer; 1856 String get lastModified() native "return this.lastModified;";
1689 1857
1690 String selectedStylesheetSet; 1858 HTMLCollection get links() native "return this.links;";
1691 1859
1692 StyleSheetList styleSheets; 1860 Location get location() native "return this.location;";
1693 1861
1694 String title; 1862 void set location(Location value) native "this.location = value;";
1695 1863
1696 Element webkitCurrentFullScreenElement; 1864 String get preferredStylesheetSet() native "return this.preferredStylesheetSet ;";
1697 1865
1698 bool webkitFullScreenKeyboardInputAllowed; 1866 String get readyState() native "return this.readyState;";
1699 1867
1700 bool webkitHidden; 1868 String get referrer() native "return this.referrer;";
1701 1869
1702 bool webkitIsFullScreen; 1870 String get selectedStylesheetSet() native "return this.selectedStylesheetSet;" ;
1703 1871
1704 String webkitVisibilityState; 1872 void set selectedStylesheetSet(String value) native "this.selectedStylesheetSe t = value;";
1705 1873
1706 String xmlEncoding; 1874 StyleSheetList get styleSheets() native "return this.styleSheets;";
1707 1875
1708 bool xmlStandalone; 1876 String get title() native "return this.title;";
1709 1877
1710 String xmlVersion; 1878 void set title(String value) native "this.title = value;";
1879
1880 Element get webkitCurrentFullScreenElement() native "return this.webkitCurrent FullScreenElement;";
1881
1882 bool get webkitFullScreenKeyboardInputAllowed() native "return this.webkitFull ScreenKeyboardInputAllowed;";
1883
1884 bool get webkitHidden() native "return this.webkitHidden;";
1885
1886 bool get webkitIsFullScreen() native "return this.webkitIsFullScreen;";
1887
1888 String get webkitVisibilityState() native "return this.webkitVisibilityState;" ;
1889
1890 String get xmlEncoding() native "return this.xmlEncoding;";
1891
1892 bool get xmlStandalone() native "return this.xmlStandalone;";
1893
1894 void set xmlStandalone(bool value) native "this.xmlStandalone = value;";
1895
1896 String get xmlVersion() native "return this.xmlVersion;";
1897
1898 void set xmlVersion(String value) native "this.xmlVersion = value;";
1711 1899
1712 Node adoptNode(Node source) native; 1900 Node adoptNode(Node source) native;
1713 1901
1714 Range caretRangeFromPoint(int x, int y) native; 1902 Range caretRangeFromPoint(int x, int y) native;
1715 1903
1716 Attr createAttribute(String name) native; 1904 Attr createAttribute(String name) native;
1717 1905
1718 Attr createAttributeNS(String namespaceURI, String qualifiedName) native; 1906 Attr createAttributeNS(String namespaceURI, String qualifiedName) native;
1719 1907
1720 CDATASection createCDATASection(String data) native; 1908 CDATASection createCDATASection(String data) native;
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
1794 1982
1795 class DocumentFragment extends Node native "*DocumentFragment" { 1983 class DocumentFragment extends Node native "*DocumentFragment" {
1796 1984
1797 Element querySelector(String selectors) native; 1985 Element querySelector(String selectors) native;
1798 1986
1799 NodeList querySelectorAll(String selectors) native; 1987 NodeList querySelectorAll(String selectors) native;
1800 } 1988 }
1801 1989
1802 class DocumentType extends Node native "*DocumentType" { 1990 class DocumentType extends Node native "*DocumentType" {
1803 1991
1804 NamedNodeMap entities; 1992 NamedNodeMap get entities() native "return this.entities;";
1805 1993
1806 String internalSubset; 1994 String get internalSubset() native "return this.internalSubset;";
1807 1995
1808 String name; 1996 String get name() native "return this.name;";
1809 1997
1810 NamedNodeMap notations; 1998 NamedNodeMap get notations() native "return this.notations;";
1811 1999
1812 String publicId; 2000 String get publicId() native "return this.publicId;";
1813 2001
1814 String systemId; 2002 String get systemId() native "return this.systemId;";
1815 } 2003 }
1816 2004
1817 class DynamicsCompressorNode extends AudioNode native "*DynamicsCompressorNode" { 2005 class DynamicsCompressorNode extends AudioNode native "*DynamicsCompressorNode" {
1818 } 2006 }
1819 2007
1820 class Element extends Node native "*Element" { 2008 class Element extends Node native "*Element" {
1821 2009
1822 static final int ALLOW_KEYBOARD_INPUT = 1; 2010 static final int ALLOW_KEYBOARD_INPUT = 1;
1823 2011
1824 int childElementCount; 2012 int get childElementCount() native "return this.childElementCount;";
1825 2013
1826 int clientHeight; 2014 int get clientHeight() native "return this.clientHeight;";
1827 2015
1828 int clientLeft; 2016 int get clientLeft() native "return this.clientLeft;";
1829 2017
1830 int clientTop; 2018 int get clientTop() native "return this.clientTop;";
1831 2019
1832 int clientWidth; 2020 int get clientWidth() native "return this.clientWidth;";
1833 2021
1834 Element firstElementChild; 2022 Element get firstElementChild() native "return this.firstElementChild;";
1835 2023
1836 Element lastElementChild; 2024 Element get lastElementChild() native "return this.lastElementChild;";
1837 2025
1838 Element nextElementSibling; 2026 Element get nextElementSibling() native "return this.nextElementSibling;";
1839 2027
1840 int offsetHeight; 2028 int get offsetHeight() native "return this.offsetHeight;";
1841 2029
1842 int offsetLeft; 2030 int get offsetLeft() native "return this.offsetLeft;";
1843 2031
1844 Element offsetParent; 2032 Element get offsetParent() native "return this.offsetParent;";
1845 2033
1846 int offsetTop; 2034 int get offsetTop() native "return this.offsetTop;";
1847 2035
1848 int offsetWidth; 2036 int get offsetWidth() native "return this.offsetWidth;";
1849 2037
1850 Element previousElementSibling; 2038 Element get previousElementSibling() native "return this.previousElementSiblin g;";
1851 2039
1852 int scrollHeight; 2040 int get scrollHeight() native "return this.scrollHeight;";
1853 2041
1854 int scrollLeft; 2042 int get scrollLeft() native "return this.scrollLeft;";
1855 2043
1856 int scrollTop; 2044 void set scrollLeft(int value) native "this.scrollLeft = value;";
1857 2045
1858 int scrollWidth; 2046 int get scrollTop() native "return this.scrollTop;";
1859 2047
1860 CSSStyleDeclaration style; 2048 void set scrollTop(int value) native "this.scrollTop = value;";
1861 2049
1862 String tagName; 2050 int get scrollWidth() native "return this.scrollWidth;";
2051
2052 CSSStyleDeclaration get style() native "return this.style;";
2053
2054 String get tagName() native "return this.tagName;";
1863 2055
1864 void blur() native; 2056 void blur() native;
1865 2057
1866 void focus() native; 2058 void focus() native;
1867 2059
1868 String getAttribute(String name) native; 2060 String getAttribute(String name) native;
1869 2061
1870 String getAttributeNS(String namespaceURI, String localName) native; 2062 String getAttributeNS(String namespaceURI, String localName) native;
1871 2063
1872 Attr getAttributeNode(String name) native; 2064 Attr getAttributeNode(String name) native;
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
1928 2120
1929 void endElementAt(num offset) native; 2121 void endElementAt(num offset) native;
1930 2122
1931 var dartObjectLocalStorage; 2123 var dartObjectLocalStorage;
1932 2124
1933 String get typeName() native; 2125 String get typeName() native;
1934 } 2126 }
1935 2127
1936 class ElementTraversal native "*ElementTraversal" { 2128 class ElementTraversal native "*ElementTraversal" {
1937 2129
1938 int childElementCount; 2130 int get childElementCount() native "return this.childElementCount;";
1939 2131
1940 Element firstElementChild; 2132 Element get firstElementChild() native "return this.firstElementChild;";
1941 2133
1942 Element lastElementChild; 2134 Element get lastElementChild() native "return this.lastElementChild;";
1943 2135
1944 Element nextElementSibling; 2136 Element get nextElementSibling() native "return this.nextElementSibling;";
1945 2137
1946 Element previousElementSibling; 2138 Element get previousElementSibling() native "return this.previousElementSiblin g;";
1947 2139
1948 var dartObjectLocalStorage; 2140 var dartObjectLocalStorage;
1949 2141
1950 String get typeName() native; 2142 String get typeName() native;
1951 } 2143 }
1952 2144
1953 class Entity extends Node native "*Entity" { 2145 class Entity extends Node native "*Entity" {
1954 2146
1955 String notationName; 2147 String get notationName() native "return this.notationName;";
1956 2148
1957 String publicId; 2149 String get publicId() native "return this.publicId;";
1958 2150
1959 String systemId; 2151 String get systemId() native "return this.systemId;";
1960 } 2152 }
1961 2153
1962 class EntityReference extends Node native "*EntityReference" { 2154 class EntityReference extends Node native "*EntityReference" {
1963 } 2155 }
1964 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 2156 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
1965 // for details. All rights reserved. Use of this source code is governed by a 2157 // for details. All rights reserved. Use of this source code is governed by a
1966 // BSD-style license that can be found in the LICENSE file. 2158 // BSD-style license that can be found in the LICENSE file.
1967 2159
1968 // WARNING: Do not edit - generated code. 2160 // WARNING: Do not edit - generated code.
1969 2161
1970 typedef bool EntriesCallback(EntryArray entries); 2162 typedef bool EntriesCallback(EntryArray entries);
1971 2163
1972 class Entry native "*Entry" { 2164 class Entry native "*Entry" {
1973 2165
1974 DOMFileSystem filesystem; 2166 DOMFileSystem get filesystem() native "return this.filesystem;";
1975 2167
1976 String fullPath; 2168 String get fullPath() native "return this.fullPath;";
1977 2169
1978 bool isDirectory; 2170 bool get isDirectory() native "return this.isDirectory;";
1979 2171
1980 bool isFile; 2172 bool get isFile() native "return this.isFile;";
1981 2173
1982 String name; 2174 String get name() native "return this.name;";
1983 2175
1984 void copyTo(DirectoryEntry parent, [String name = null, EntryCallback successC allback = null, ErrorCallback errorCallback = null]) native; 2176 void copyTo(DirectoryEntry parent, [String name = null, EntryCallback successC allback = null, ErrorCallback errorCallback = null]) native;
1985 2177
1986 void getMetadata(MetadataCallback successCallback, [ErrorCallback errorCallbac k = null]) native; 2178 void getMetadata(MetadataCallback successCallback, [ErrorCallback errorCallbac k = null]) native;
1987 2179
1988 void getParent([EntryCallback successCallback = null, ErrorCallback errorCallb ack = null]) native; 2180 void getParent([EntryCallback successCallback = null, ErrorCallback errorCallb ack = null]) native;
1989 2181
1990 void moveTo(DirectoryEntry parent, [String name = null, EntryCallback successC allback = null, ErrorCallback errorCallback = null]) native; 2182 void moveTo(DirectoryEntry parent, [String name = null, EntryCallback successC allback = null, ErrorCallback errorCallback = null]) native;
1991 2183
1992 void remove(VoidCallback successCallback, [ErrorCallback errorCallback = null] ) native; 2184 void remove(VoidCallback successCallback, [ErrorCallback errorCallback = null] ) native;
1993 2185
1994 String toURL() native; 2186 String toURL() native;
1995 2187
1996 var dartObjectLocalStorage; 2188 var dartObjectLocalStorage;
1997 2189
1998 String get typeName() native; 2190 String get typeName() native;
1999 } 2191 }
2000 2192
2001 class EntryArray native "*EntryArray" { 2193 class EntryArray native "*EntryArray" {
2002 2194
2003 int length; 2195 int get length() native "return this.length;";
2004 2196
2005 Entry item(int index) native; 2197 Entry item(int index) native;
2006 2198
2007 var dartObjectLocalStorage; 2199 var dartObjectLocalStorage;
2008 2200
2009 String get typeName() native; 2201 String get typeName() native;
2010 } 2202 }
2011 2203
2012 class EntryArraySync native "*EntryArraySync" { 2204 class EntryArraySync native "*EntryArraySync" {
2013 2205
2014 int length; 2206 int get length() native "return this.length;";
2015 2207
2016 EntrySync item(int index) native; 2208 EntrySync item(int index) native;
2017 2209
2018 var dartObjectLocalStorage; 2210 var dartObjectLocalStorage;
2019 2211
2020 String get typeName() native; 2212 String get typeName() native;
2021 } 2213 }
2022 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 2214 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2023 // for details. All rights reserved. Use of this source code is governed by a 2215 // for details. All rights reserved. Use of this source code is governed by a
2024 // BSD-style license that can be found in the LICENSE file. 2216 // BSD-style license that can be found in the LICENSE file.
2025 2217
2026 // WARNING: Do not edit - generated code. 2218 // WARNING: Do not edit - generated code.
2027 2219
2028 typedef bool EntryCallback(Entry entry); 2220 typedef bool EntryCallback(Entry entry);
2029 2221
2030 class EntrySync native "*EntrySync" { 2222 class EntrySync native "*EntrySync" {
2031 2223
2032 DOMFileSystemSync filesystem; 2224 DOMFileSystemSync get filesystem() native "return this.filesystem;";
2033 2225
2034 String fullPath; 2226 String get fullPath() native "return this.fullPath;";
2035 2227
2036 bool isDirectory; 2228 bool get isDirectory() native "return this.isDirectory;";
2037 2229
2038 bool isFile; 2230 bool get isFile() native "return this.isFile;";
2039 2231
2040 String name; 2232 String get name() native "return this.name;";
2041 2233
2042 EntrySync copyTo(DirectoryEntrySync parent, String name) native; 2234 EntrySync copyTo(DirectoryEntrySync parent, String name) native;
2043 2235
2044 Metadata getMetadata() native; 2236 Metadata getMetadata() native;
2045 2237
2046 DirectoryEntrySync getParent() native; 2238 DirectoryEntrySync getParent() native;
2047 2239
2048 EntrySync moveTo(DirectoryEntrySync parent, String name) native; 2240 EntrySync moveTo(DirectoryEntrySync parent, String name) native;
2049 2241
2050 void remove() native; 2242 void remove() native;
2051 2243
2052 String toURL() native; 2244 String toURL() native;
2053 2245
2054 var dartObjectLocalStorage; 2246 var dartObjectLocalStorage;
2055 2247
2056 String get typeName() native; 2248 String get typeName() native;
2057 } 2249 }
2058 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 2250 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2059 // for details. All rights reserved. Use of this source code is governed by a 2251 // for details. All rights reserved. Use of this source code is governed by a
2060 // BSD-style license that can be found in the LICENSE file. 2252 // BSD-style license that can be found in the LICENSE file.
2061 2253
2062 // WARNING: Do not edit - generated code. 2254 // WARNING: Do not edit - generated code.
2063 2255
2064 typedef bool ErrorCallback(FileError error); 2256 typedef bool ErrorCallback(FileError error);
2065 2257
2066 class ErrorEvent extends Event native "*ErrorEvent" { 2258 class ErrorEvent extends Event native "*ErrorEvent" {
2067 2259
2068 String filename; 2260 String get filename() native "return this.filename;";
2069 2261
2070 int lineno; 2262 int get lineno() native "return this.lineno;";
2071 2263
2072 String message; 2264 String get message() native "return this.message;";
2073 } 2265 }
2074 2266
2075 class Event native "*Event" { 2267 class Event native "*Event" {
2076 2268
2077 static final int AT_TARGET = 2; 2269 static final int AT_TARGET = 2;
2078 2270
2079 static final int BLUR = 8192; 2271 static final int BLUR = 8192;
2080 2272
2081 static final int BUBBLING_PHASE = 3; 2273 static final int BUBBLING_PHASE = 3;
2082 2274
(...skipping 22 matching lines...) Expand all
2105 static final int MOUSEMOVE = 16; 2297 static final int MOUSEMOVE = 16;
2106 2298
2107 static final int MOUSEOUT = 8; 2299 static final int MOUSEOUT = 8;
2108 2300
2109 static final int MOUSEOVER = 4; 2301 static final int MOUSEOVER = 4;
2110 2302
2111 static final int MOUSEUP = 2; 2303 static final int MOUSEUP = 2;
2112 2304
2113 static final int SELECT = 16384; 2305 static final int SELECT = 16384;
2114 2306
2115 bool bubbles; 2307 bool get bubbles() native "return this.bubbles;";
2116 2308
2117 bool cancelBubble; 2309 bool get cancelBubble() native "return this.cancelBubble;";
2118 2310
2119 bool cancelable; 2311 void set cancelBubble(bool value) native "this.cancelBubble = value;";
2120 2312
2121 Clipboard clipboardData; 2313 bool get cancelable() native "return this.cancelable;";
2122 2314
2123 EventTarget currentTarget; 2315 Clipboard get clipboardData() native "return this.clipboardData;";
2124 2316
2125 bool defaultPrevented; 2317 EventTarget get currentTarget() native "return this.currentTarget;";
2126 2318
2127 int eventPhase; 2319 bool get defaultPrevented() native "return this.defaultPrevented;";
2128 2320
2129 bool returnValue; 2321 int get eventPhase() native "return this.eventPhase;";
2130 2322
2131 EventTarget srcElement; 2323 bool get returnValue() native "return this.returnValue;";
2132 2324
2133 EventTarget target; 2325 void set returnValue(bool value) native "this.returnValue = value;";
2134 2326
2135 int timeStamp; 2327 EventTarget get srcElement() native "return this.srcElement;";
2136 2328
2137 String type; 2329 EventTarget get target() native "return this.target;";
2330
2331 int get timeStamp() native "return this.timeStamp;";
2332
2333 String get type() native "return this.type;";
2138 2334
2139 void initEvent(String eventTypeArg, bool canBubbleArg, bool cancelableArg) nat ive; 2335 void initEvent(String eventTypeArg, bool canBubbleArg, bool cancelableArg) nat ive;
2140 2336
2141 void preventDefault() native; 2337 void preventDefault() native;
2142 2338
2143 void stopImmediatePropagation() native; 2339 void stopImmediatePropagation() native;
2144 2340
2145 void stopPropagation() native; 2341 void stopPropagation() native;
2146 2342
2147 var dartObjectLocalStorage; 2343 var dartObjectLocalStorage;
2148 2344
2149 String get typeName() native; 2345 String get typeName() native;
2150 } 2346 }
2151 2347
2152 class EventException native "*EventException" { 2348 class EventException native "*EventException" {
2153 2349
2154 static final int DISPATCH_REQUEST_ERR = 1; 2350 static final int DISPATCH_REQUEST_ERR = 1;
2155 2351
2156 static final int UNSPECIFIED_EVENT_TYPE_ERR = 0; 2352 static final int UNSPECIFIED_EVENT_TYPE_ERR = 0;
2157 2353
2158 int code; 2354 int get code() native "return this.code;";
2159 2355
2160 String message; 2356 String get message() native "return this.message;";
2161 2357
2162 String name; 2358 String get name() native "return this.name;";
2163 2359
2164 String toString() native; 2360 String toString() native;
2165 2361
2166 var dartObjectLocalStorage; 2362 var dartObjectLocalStorage;
2167 2363
2168 String get typeName() native; 2364 String get typeName() native;
2169 } 2365 }
2170 2366
2171 class EventSource native "*EventSource" { 2367 class EventSource native "*EventSource" {
2172 2368
2173 static final int CLOSED = 2; 2369 static final int CLOSED = 2;
2174 2370
2175 static final int CONNECTING = 0; 2371 static final int CONNECTING = 0;
2176 2372
2177 static final int OPEN = 1; 2373 static final int OPEN = 1;
2178 2374
2179 String URL; 2375 String get URL() native "return this.URL;";
2180 2376
2181 int readyState; 2377 int get readyState() native "return this.readyState;";
2182 2378
2183 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native; 2379 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
2184 2380
2185 void close() native; 2381 void close() native;
2186 2382
2187 bool dispatchEvent(Event evt) native; 2383 bool dispatchEvent(Event evt) native;
2188 2384
2189 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native; 2385 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
2190 2386
2191 var dartObjectLocalStorage; 2387 var dartObjectLocalStorage;
2192 2388
2193 String get typeName() native; 2389 String get typeName() native;
2194 } 2390 }
2195 2391
2196 class EventTarget native "*EventTarget" { 2392 class EventTarget native "*EventTarget" {
2197 2393
2198 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native; 2394 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
2199 2395
2200 bool dispatchEvent(Event event) native; 2396 bool dispatchEvent(Event event) native;
2201 2397
2202 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native; 2398 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
2203 2399
2204 var dartObjectLocalStorage; 2400 var dartObjectLocalStorage;
2205 2401
2206 String get typeName() native; 2402 String get typeName() native;
2207 } 2403 }
2208 2404
2209 class File extends Blob native "*File" { 2405 class File extends Blob native "*File" {
2210 2406
2211 String fileName; 2407 String get fileName() native "return this.fileName;";
2212 2408
2213 int fileSize; 2409 int get fileSize() native "return this.fileSize;";
2214 2410
2215 Date lastModifiedDate; 2411 Date get lastModifiedDate() native "return this.lastModifiedDate;";
2216 2412
2217 String name; 2413 String get name() native "return this.name;";
2218 2414
2219 String webkitRelativePath; 2415 String get webkitRelativePath() native "return this.webkitRelativePath;";
2220 } 2416 }
2221 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 2417 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2222 // for details. All rights reserved. Use of this source code is governed by a 2418 // for details. All rights reserved. Use of this source code is governed by a
2223 // BSD-style license that can be found in the LICENSE file. 2419 // BSD-style license that can be found in the LICENSE file.
2224 2420
2225 // WARNING: Do not edit - generated code. 2421 // WARNING: Do not edit - generated code.
2226 2422
2227 typedef bool FileCallback(File file); 2423 typedef bool FileCallback(File file);
2228 2424
2229 class FileEntry extends Entry native "*FileEntry" { 2425 class FileEntry extends Entry native "*FileEntry" {
(...skipping 29 matching lines...) Expand all
2259 static final int PATH_EXISTS_ERR = 12; 2455 static final int PATH_EXISTS_ERR = 12;
2260 2456
2261 static final int QUOTA_EXCEEDED_ERR = 10; 2457 static final int QUOTA_EXCEEDED_ERR = 10;
2262 2458
2263 static final int SECURITY_ERR = 2; 2459 static final int SECURITY_ERR = 2;
2264 2460
2265 static final int SYNTAX_ERR = 8; 2461 static final int SYNTAX_ERR = 8;
2266 2462
2267 static final int TYPE_MISMATCH_ERR = 11; 2463 static final int TYPE_MISMATCH_ERR = 11;
2268 2464
2269 int code; 2465 int get code() native "return this.code;";
2270 2466
2271 var dartObjectLocalStorage; 2467 var dartObjectLocalStorage;
2272 2468
2273 String get typeName() native; 2469 String get typeName() native;
2274 } 2470 }
2275 2471
2276 class FileException native "*FileException" { 2472 class FileException native "*FileException" {
2277 2473
2278 static final int ABORT_ERR = 3; 2474 static final int ABORT_ERR = 3;
2279 2475
(...skipping 12 matching lines...) Expand all
2292 static final int PATH_EXISTS_ERR = 12; 2488 static final int PATH_EXISTS_ERR = 12;
2293 2489
2294 static final int QUOTA_EXCEEDED_ERR = 10; 2490 static final int QUOTA_EXCEEDED_ERR = 10;
2295 2491
2296 static final int SECURITY_ERR = 2; 2492 static final int SECURITY_ERR = 2;
2297 2493
2298 static final int SYNTAX_ERR = 8; 2494 static final int SYNTAX_ERR = 8;
2299 2495
2300 static final int TYPE_MISMATCH_ERR = 11; 2496 static final int TYPE_MISMATCH_ERR = 11;
2301 2497
2302 int code; 2498 int get code() native "return this.code;";
2303 2499
2304 String message; 2500 String get message() native "return this.message;";
2305 2501
2306 String name; 2502 String get name() native "return this.name;";
2307 2503
2308 String toString() native; 2504 String toString() native;
2309 2505
2310 var dartObjectLocalStorage; 2506 var dartObjectLocalStorage;
2311 2507
2312 String get typeName() native; 2508 String get typeName() native;
2313 } 2509 }
2314 2510
2315 class FileList native "*FileList" { 2511 class FileList native "*FileList" {
2316 2512
2317 int length; 2513 int get length() native "return this.length;";
2318 2514
2319 File item(int index) native; 2515 File item(int index) native;
2320 2516
2321 var dartObjectLocalStorage; 2517 var dartObjectLocalStorage;
2322 2518
2323 String get typeName() native; 2519 String get typeName() native;
2324 } 2520 }
2325 2521
2326 class FileReader native "*FileReader" { 2522 class FileReader native "*FileReader" {
2327 FileReader() native; 2523 FileReader() native;
2328 2524
2329 2525
2330 static final int DONE = 2; 2526 static final int DONE = 2;
2331 2527
2332 static final int EMPTY = 0; 2528 static final int EMPTY = 0;
2333 2529
2334 static final int LOADING = 1; 2530 static final int LOADING = 1;
2335 2531
2336 FileError error; 2532 FileError get error() native "return this.error;";
2337 2533
2338 EventListener onabort; 2534 EventListener get onabort() native "return this.onabort;";
2339 2535
2340 EventListener onerror; 2536 void set onabort(EventListener value) native "this.onabort = value;";
2341 2537
2342 EventListener onload; 2538 EventListener get onerror() native "return this.onerror;";
2343 2539
2344 EventListener onloadend; 2540 void set onerror(EventListener value) native "this.onerror = value;";
2345 2541
2346 EventListener onloadstart; 2542 EventListener get onload() native "return this.onload;";
2347 2543
2348 EventListener onprogress; 2544 void set onload(EventListener value) native "this.onload = value;";
2349 2545
2350 int readyState; 2546 EventListener get onloadend() native "return this.onloadend;";
2351 2547
2352 Object result; 2548 void set onloadend(EventListener value) native "this.onloadend = value;";
2549
2550 EventListener get onloadstart() native "return this.onloadstart;";
2551
2552 void set onloadstart(EventListener value) native "this.onloadstart = value;";
2553
2554 EventListener get onprogress() native "return this.onprogress;";
2555
2556 void set onprogress(EventListener value) native "this.onprogress = value;";
2557
2558 int get readyState() native "return this.readyState;";
2559
2560 Object get result() native "return this.result;";
2353 2561
2354 void abort() native; 2562 void abort() native;
2355 2563
2356 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native; 2564 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
2357 2565
2358 bool dispatchEvent(Event evt) native; 2566 bool dispatchEvent(Event evt) native;
2359 2567
2360 void readAsArrayBuffer(Blob blob) native; 2568 void readAsArrayBuffer(Blob blob) native;
2361 2569
2362 void readAsBinaryString(Blob blob) native; 2570 void readAsBinaryString(Blob blob) native;
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
2395 typedef bool FileSystemCallback(DOMFileSystem fileSystem); 2603 typedef bool FileSystemCallback(DOMFileSystem fileSystem);
2396 2604
2397 class FileWriter native "*FileWriter" { 2605 class FileWriter native "*FileWriter" {
2398 2606
2399 static final int DONE = 2; 2607 static final int DONE = 2;
2400 2608
2401 static final int INIT = 0; 2609 static final int INIT = 0;
2402 2610
2403 static final int WRITING = 1; 2611 static final int WRITING = 1;
2404 2612
2405 FileError error; 2613 FileError get error() native "return this.error;";
2406 2614
2407 int length; 2615 int get length() native "return this.length;";
2408 2616
2409 EventListener onabort; 2617 EventListener get onabort() native "return this.onabort;";
2410 2618
2411 EventListener onerror; 2619 void set onabort(EventListener value) native "this.onabort = value;";
2412 2620
2413 EventListener onprogress; 2621 EventListener get onerror() native "return this.onerror;";
2414 2622
2415 EventListener onwrite; 2623 void set onerror(EventListener value) native "this.onerror = value;";
2416 2624
2417 EventListener onwriteend; 2625 EventListener get onprogress() native "return this.onprogress;";
2418 2626
2419 EventListener onwritestart; 2627 void set onprogress(EventListener value) native "this.onprogress = value;";
2420 2628
2421 int position; 2629 EventListener get onwrite() native "return this.onwrite;";
2422 2630
2423 int readyState; 2631 void set onwrite(EventListener value) native "this.onwrite = value;";
2632
2633 EventListener get onwriteend() native "return this.onwriteend;";
2634
2635 void set onwriteend(EventListener value) native "this.onwriteend = value;";
2636
2637 EventListener get onwritestart() native "return this.onwritestart;";
2638
2639 void set onwritestart(EventListener value) native "this.onwritestart = value;" ;
2640
2641 int get position() native "return this.position;";
2642
2643 int get readyState() native "return this.readyState;";
2424 2644
2425 void abort() native; 2645 void abort() native;
2426 2646
2427 void seek(int position) native; 2647 void seek(int position) native;
2428 2648
2429 void truncate(int size) native; 2649 void truncate(int size) native;
2430 2650
2431 void write(Blob data) native; 2651 void write(Blob data) native;
2432 2652
2433 var dartObjectLocalStorage; 2653 var dartObjectLocalStorage;
2434 2654
2435 String get typeName() native; 2655 String get typeName() native;
2436 } 2656 }
2437 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 2657 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2438 // for details. All rights reserved. Use of this source code is governed by a 2658 // for details. All rights reserved. Use of this source code is governed by a
2439 // BSD-style license that can be found in the LICENSE file. 2659 // BSD-style license that can be found in the LICENSE file.
2440 2660
2441 // WARNING: Do not edit - generated code. 2661 // WARNING: Do not edit - generated code.
2442 2662
2443 typedef bool FileWriterCallback(FileWriter fileWriter); 2663 typedef bool FileWriterCallback(FileWriter fileWriter);
2444 2664
2445 class FileWriterSync native "*FileWriterSync" { 2665 class FileWriterSync native "*FileWriterSync" {
2446 2666
2447 int length; 2667 int get length() native "return this.length;";
2448 2668
2449 int position; 2669 int get position() native "return this.position;";
2450 2670
2451 void seek(int position) native; 2671 void seek(int position) native;
2452 2672
2453 void truncate(int size) native; 2673 void truncate(int size) native;
2454 2674
2455 void write(Blob data) native; 2675 void write(Blob data) native;
2456 2676
2457 var dartObjectLocalStorage; 2677 var dartObjectLocalStorage;
2458 2678
2459 String get typeName() native; 2679 String get typeName() native;
2460 } 2680 }
2461 2681
2462 class Float32Array extends ArrayBufferView implements List<num> native "*Float32 Array" { 2682 class Float32Array extends ArrayBufferView implements List<num> native "*Float32 Array" {
2463 2683
2464 factory Float32Array(int length) => _construct(length); 2684 factory Float32Array(int length) => _construct(length);
2465 2685
2466 factory Float32Array.fromList(List<num> list) => _construct(list); 2686 factory Float32Array.fromList(List<num> list) => _construct(list);
2467 2687
2468 factory Float32Array.fromBuffer(ArrayBuffer buffer) => _construct(buffer); 2688 factory Float32Array.fromBuffer(ArrayBuffer buffer) => _construct(buffer);
2469 2689
2470 static _construct(arg) native 'return new Float32Array(arg);'; 2690 static _construct(arg) native 'return new Float32Array(arg);';
2471 2691
2472 static final int BYTES_PER_ELEMENT = 4; 2692 static final int BYTES_PER_ELEMENT = 4;
2473 2693
2474 int length; 2694 int get length() native "return this.length;";
2475 2695
2476 num operator[](int index) native; 2696 num operator[](int index) native;
2477 2697
2478 void operator[]=(int index, num value) native; 2698 void operator[]=(int index, num value) native;
2479 2699
2480 Float32Array subarray(int start, [int end = null]) native; 2700 Float32Array subarray(int start, [int end = null]) native;
2481 } 2701 }
2482 2702
2483 class Float64Array extends ArrayBufferView implements List<num> native "*Float64 Array" { 2703 class Float64Array extends ArrayBufferView implements List<num> native "*Float64 Array" {
2484 2704
2485 factory Float64Array(int length) => _construct(length); 2705 factory Float64Array(int length) => _construct(length);
2486 2706
2487 factory Float64Array.fromList(List<num> list) => _construct(list); 2707 factory Float64Array.fromList(List<num> list) => _construct(list);
2488 2708
2489 factory Float64Array.fromBuffer(ArrayBuffer buffer) => _construct(buffer); 2709 factory Float64Array.fromBuffer(ArrayBuffer buffer) => _construct(buffer);
2490 2710
2491 static _construct(arg) native 'return new Float64Array(arg);'; 2711 static _construct(arg) native 'return new Float64Array(arg);';
2492 2712
2493 static final int BYTES_PER_ELEMENT = 8; 2713 static final int BYTES_PER_ELEMENT = 8;
2494 2714
2495 int length; 2715 int get length() native "return this.length;";
2496 2716
2497 num operator[](int index) native; 2717 num operator[](int index) native;
2498 2718
2499 void operator[]=(int index, num value) native; 2719 void operator[]=(int index, num value) native;
2500 2720
2501 Float64Array subarray(int start, [int end = null]) native; 2721 Float64Array subarray(int start, [int end = null]) native;
2502 } 2722 }
2503 2723
2504 class Geolocation native "*Geolocation" { 2724 class Geolocation native "*Geolocation" {
2505 2725
2506 void clearWatch(int watchId) native; 2726 void clearWatch(int watchId) native;
2507 2727
2508 void getCurrentPosition(PositionCallback successCallback, [PositionErrorCallba ck errorCallback = null]) native; 2728 void getCurrentPosition(PositionCallback successCallback, [PositionErrorCallba ck errorCallback = null]) native;
2509 2729
2510 int watchPosition(PositionCallback successCallback, [PositionErrorCallback err orCallback = null]) native; 2730 int watchPosition(PositionCallback successCallback, [PositionErrorCallback err orCallback = null]) native;
2511 2731
2512 var dartObjectLocalStorage; 2732 var dartObjectLocalStorage;
2513 2733
2514 String get typeName() native; 2734 String get typeName() native;
2515 } 2735 }
2516 2736
2517 class Geoposition native "*Geoposition" { 2737 class Geoposition native "*Geoposition" {
2518 2738
2519 Coordinates coords; 2739 Coordinates get coords() native "return this.coords;";
2520 2740
2521 int timestamp; 2741 int get timestamp() native "return this.timestamp;";
2522 2742
2523 var dartObjectLocalStorage; 2743 var dartObjectLocalStorage;
2524 2744
2525 String get typeName() native; 2745 String get typeName() native;
2526 } 2746 }
2527 2747
2528 class HTMLAllCollection native "*HTMLAllCollection" { 2748 class HTMLAllCollection native "*HTMLAllCollection" {
2529 2749
2530 int length; 2750 int get length() native "return this.length;";
2531 2751
2532 Node item(int index) native; 2752 Node item(int index) native;
2533 2753
2534 Node namedItem(String name) native; 2754 Node namedItem(String name) native;
2535 2755
2536 NodeList tags(String name) native; 2756 NodeList tags(String name) native;
2537 2757
2538 var dartObjectLocalStorage; 2758 var dartObjectLocalStorage;
2539 2759
2540 String get typeName() native; 2760 String get typeName() native;
2541 } 2761 }
2542 2762
2543 class HTMLAnchorElement extends HTMLElement native "*HTMLAnchorElement" { 2763 class HTMLAnchorElement extends HTMLElement native "*HTMLAnchorElement" {
2544 2764
2545 String charset; 2765 String get charset() native "return this.charset;";
2546 2766
2547 String coords; 2767 void set charset(String value) native "this.charset = value;";
2548 2768
2549 String download; 2769 String get coords() native "return this.coords;";
2550 2770
2551 String hash; 2771 void set coords(String value) native "this.coords = value;";
2552 2772
2553 String host; 2773 String get download() native "return this.download;";
2554 2774
2555 String hostname; 2775 void set download(String value) native "this.download = value;";
2556 2776
2557 String href; 2777 String get hash() native "return this.hash;";
2558 2778
2559 String hreflang; 2779 void set hash(String value) native "this.hash = value;";
2560 2780
2561 String name; 2781 String get host() native "return this.host;";
2562 2782
2563 String origin; 2783 void set host(String value) native "this.host = value;";
2564 2784
2565 String pathname; 2785 String get hostname() native "return this.hostname;";
2566 2786
2567 String ping; 2787 void set hostname(String value) native "this.hostname = value;";
2568 2788
2569 String port; 2789 String get href() native "return this.href;";
2570 2790
2571 String protocol; 2791 void set href(String value) native "this.href = value;";
2572 2792
2573 String rel; 2793 String get hreflang() native "return this.hreflang;";
2574 2794
2575 String rev; 2795 void set hreflang(String value) native "this.hreflang = value;";
2576 2796
2577 String search; 2797 String get name() native "return this.name;";
2578 2798
2579 String shape; 2799 void set name(String value) native "this.name = value;";
2580 2800
2581 String target; 2801 String get origin() native "return this.origin;";
2582 2802
2583 String text; 2803 String get pathname() native "return this.pathname;";
2584 2804
2585 String type; 2805 void set pathname(String value) native "this.pathname = value;";
2806
2807 String get ping() native "return this.ping;";
2808
2809 void set ping(String value) native "this.ping = value;";
2810
2811 String get port() native "return this.port;";
2812
2813 void set port(String value) native "this.port = value;";
2814
2815 String get protocol() native "return this.protocol;";
2816
2817 void set protocol(String value) native "this.protocol = value;";
2818
2819 String get rel() native "return this.rel;";
2820
2821 void set rel(String value) native "this.rel = value;";
2822
2823 String get rev() native "return this.rev;";
2824
2825 void set rev(String value) native "this.rev = value;";
2826
2827 String get search() native "return this.search;";
2828
2829 void set search(String value) native "this.search = value;";
2830
2831 String get shape() native "return this.shape;";
2832
2833 void set shape(String value) native "this.shape = value;";
2834
2835 String get target() native "return this.target;";
2836
2837 void set target(String value) native "this.target = value;";
2838
2839 String get text() native "return this.text;";
2840
2841 String get type() native "return this.type;";
2842
2843 void set type(String value) native "this.type = value;";
2586 2844
2587 String toString() native; 2845 String toString() native;
2588 } 2846 }
2589 2847
2590 class HTMLAppletElement extends HTMLElement native "*HTMLAppletElement" { 2848 class HTMLAppletElement extends HTMLElement native "*HTMLAppletElement" {
2591 2849
2592 String align; 2850 String get align() native "return this.align;";
2593 2851
2594 String alt; 2852 void set align(String value) native "this.align = value;";
2595 2853
2596 String archive; 2854 String get alt() native "return this.alt;";
2597 2855
2598 String code; 2856 void set alt(String value) native "this.alt = value;";
2599 2857
2600 String codeBase; 2858 String get archive() native "return this.archive;";
2601 2859
2602 String height; 2860 void set archive(String value) native "this.archive = value;";
2603 2861
2604 String hspace; 2862 String get code() native "return this.code;";
2605 2863
2606 String name; 2864 void set code(String value) native "this.code = value;";
2607 2865
2608 String object; 2866 String get codeBase() native "return this.codeBase;";
2609 2867
2610 String vspace; 2868 void set codeBase(String value) native "this.codeBase = value;";
2611 2869
2612 String width; 2870 String get height() native "return this.height;";
2871
2872 void set height(String value) native "this.height = value;";
2873
2874 String get hspace() native "return this.hspace;";
2875
2876 void set hspace(String value) native "this.hspace = value;";
2877
2878 String get name() native "return this.name;";
2879
2880 void set name(String value) native "this.name = value;";
2881
2882 String get object() native "return this.object;";
2883
2884 void set object(String value) native "this.object = value;";
2885
2886 String get vspace() native "return this.vspace;";
2887
2888 void set vspace(String value) native "this.vspace = value;";
2889
2890 String get width() native "return this.width;";
2891
2892 void set width(String value) native "this.width = value;";
2613 } 2893 }
2614 2894
2615 class HTMLAreaElement extends HTMLElement native "*HTMLAreaElement" { 2895 class HTMLAreaElement extends HTMLElement native "*HTMLAreaElement" {
2616 2896
2617 String alt; 2897 String get alt() native "return this.alt;";
2618 2898
2619 String coords; 2899 void set alt(String value) native "this.alt = value;";
2620 2900
2621 String hash; 2901 String get coords() native "return this.coords;";
2622 2902
2623 String host; 2903 void set coords(String value) native "this.coords = value;";
2624 2904
2625 String hostname; 2905 String get hash() native "return this.hash;";
2626 2906
2627 String href; 2907 String get host() native "return this.host;";
2628 2908
2629 bool noHref; 2909 String get hostname() native "return this.hostname;";
2630 2910
2631 String pathname; 2911 String get href() native "return this.href;";
2632 2912
2633 String ping; 2913 void set href(String value) native "this.href = value;";
2634 2914
2635 String port; 2915 bool get noHref() native "return this.noHref;";
2636 2916
2637 String protocol; 2917 void set noHref(bool value) native "this.noHref = value;";
2638 2918
2639 String search; 2919 String get pathname() native "return this.pathname;";
2640 2920
2641 String shape; 2921 String get ping() native "return this.ping;";
2642 2922
2643 String target; 2923 void set ping(String value) native "this.ping = value;";
2924
2925 String get port() native "return this.port;";
2926
2927 String get protocol() native "return this.protocol;";
2928
2929 String get search() native "return this.search;";
2930
2931 String get shape() native "return this.shape;";
2932
2933 void set shape(String value) native "this.shape = value;";
2934
2935 String get target() native "return this.target;";
2936
2937 void set target(String value) native "this.target = value;";
2644 } 2938 }
2645 2939
2646 class HTMLAudioElement extends HTMLMediaElement native "*HTMLAudioElement" { 2940 class HTMLAudioElement extends HTMLMediaElement native "*HTMLAudioElement" {
2647 } 2941 }
2648 2942
2649 class HTMLBRElement extends HTMLElement native "*HTMLBRElement" { 2943 class HTMLBRElement extends HTMLElement native "*HTMLBRElement" {
2650 2944
2651 String clear; 2945 String get clear() native "return this.clear;";
2946
2947 void set clear(String value) native "this.clear = value;";
2652 } 2948 }
2653 2949
2654 class HTMLBaseElement extends HTMLElement native "*HTMLBaseElement" { 2950 class HTMLBaseElement extends HTMLElement native "*HTMLBaseElement" {
2655 2951
2656 String href; 2952 String get href() native "return this.href;";
2657 2953
2658 String target; 2954 void set href(String value) native "this.href = value;";
2955
2956 String get target() native "return this.target;";
2957
2958 void set target(String value) native "this.target = value;";
2659 } 2959 }
2660 2960
2661 class HTMLBaseFontElement extends HTMLElement native "*HTMLBaseFontElement" { 2961 class HTMLBaseFontElement extends HTMLElement native "*HTMLBaseFontElement" {
2662 2962
2663 String color; 2963 String get color() native "return this.color;";
2664 2964
2665 String face; 2965 void set color(String value) native "this.color = value;";
2666 2966
2667 int size; 2967 String get face() native "return this.face;";
2968
2969 void set face(String value) native "this.face = value;";
2970
2971 int get size() native "return this.size;";
2972
2973 void set size(int value) native "this.size = value;";
2668 } 2974 }
2669 2975
2670 class HTMLBodyElement extends HTMLElement native "*HTMLBodyElement" { 2976 class HTMLBodyElement extends HTMLElement native "*HTMLBodyElement" {
2671 2977
2672 String aLink; 2978 String get aLink() native "return this.aLink;";
2673 2979
2674 String background; 2980 void set aLink(String value) native "this.aLink = value;";
2675 2981
2676 String bgColor; 2982 String get background() native "return this.background;";
2677 2983
2678 String link; 2984 void set background(String value) native "this.background = value;";
2679 2985
2680 String text; 2986 String get bgColor() native "return this.bgColor;";
2681 2987
2682 String vLink; 2988 void set bgColor(String value) native "this.bgColor = value;";
2989
2990 String get link() native "return this.link;";
2991
2992 void set link(String value) native "this.link = value;";
2993
2994 String get text() native "return this.text;";
2995
2996 void set text(String value) native "this.text = value;";
2997
2998 String get vLink() native "return this.vLink;";
2999
3000 void set vLink(String value) native "this.vLink = value;";
2683 } 3001 }
2684 3002
2685 class HTMLButtonElement extends HTMLElement native "*HTMLButtonElement" { 3003 class HTMLButtonElement extends HTMLElement native "*HTMLButtonElement" {
2686 3004
2687 bool autofocus; 3005 bool get autofocus() native "return this.autofocus;";
2688 3006
2689 bool disabled; 3007 void set autofocus(bool value) native "this.autofocus = value;";
2690 3008
2691 HTMLFormElement form; 3009 bool get disabled() native "return this.disabled;";
2692 3010
2693 String formAction; 3011 void set disabled(bool value) native "this.disabled = value;";
2694 3012
2695 String formEnctype; 3013 HTMLFormElement get form() native "return this.form;";
2696 3014
2697 String formMethod; 3015 String get formAction() native "return this.formAction;";
2698 3016
2699 bool formNoValidate; 3017 void set formAction(String value) native "this.formAction = value;";
2700 3018
2701 String formTarget; 3019 String get formEnctype() native "return this.formEnctype;";
2702 3020
2703 NodeList labels; 3021 void set formEnctype(String value) native "this.formEnctype = value;";
2704 3022
2705 String name; 3023 String get formMethod() native "return this.formMethod;";
2706 3024
2707 String type; 3025 void set formMethod(String value) native "this.formMethod = value;";
2708 3026
2709 String validationMessage; 3027 bool get formNoValidate() native "return this.formNoValidate;";
2710 3028
2711 ValidityState validity; 3029 void set formNoValidate(bool value) native "this.formNoValidate = value;";
2712 3030
2713 String value; 3031 String get formTarget() native "return this.formTarget;";
2714 3032
2715 bool willValidate; 3033 void set formTarget(String value) native "this.formTarget = value;";
3034
3035 NodeList get labels() native "return this.labels;";
3036
3037 String get name() native "return this.name;";
3038
3039 void set name(String value) native "this.name = value;";
3040
3041 String get type() native "return this.type;";
3042
3043 String get validationMessage() native "return this.validationMessage;";
3044
3045 ValidityState get validity() native "return this.validity;";
3046
3047 String get value() native "return this.value;";
3048
3049 void set value(String value) native "this.value = value;";
3050
3051 bool get willValidate() native "return this.willValidate;";
2716 3052
2717 bool checkValidity() native; 3053 bool checkValidity() native;
2718 3054
2719 void click() native; 3055 void click() native;
2720 3056
2721 void setCustomValidity(String error) native; 3057 void setCustomValidity(String error) native;
2722 } 3058 }
2723 3059
2724 class HTMLCanvasElement extends HTMLElement native "*HTMLCanvasElement" { 3060 class HTMLCanvasElement extends HTMLElement native "*HTMLCanvasElement" {
2725 3061
2726 int height; 3062 int get height() native "return this.height;";
2727 3063
2728 int width; 3064 void set height(int value) native "this.height = value;";
3065
3066 int get width() native "return this.width;";
3067
3068 void set width(int value) native "this.width = value;";
2729 3069
2730 Object getContext(String contextId) native; 3070 Object getContext(String contextId) native;
2731 3071
2732 String toDataURL(String type) native; 3072 String toDataURL(String type) native;
2733 } 3073 }
2734 3074
2735 class HTMLCollection native "*HTMLCollection" { 3075 class HTMLCollection native "*HTMLCollection" {
2736 3076
2737 int length; 3077 int get length() native "return this.length;";
2738 3078
2739 Node operator[](int index) native; 3079 Node operator[](int index) native;
2740 3080
2741 void operator[]=(int index, Node value) { 3081 void operator[]=(int index, Node value) {
2742 throw new UnsupportedOperationException("Cannot assign element of immutable List."); 3082 throw new UnsupportedOperationException("Cannot assign element of immutable List.");
2743 } 3083 }
2744 3084
2745 Node item(int index) native; 3085 Node item(int index) native;
2746 3086
2747 Node namedItem(String name) native; 3087 Node namedItem(String name) native;
2748 3088
2749 var dartObjectLocalStorage; 3089 var dartObjectLocalStorage;
2750 3090
2751 String get typeName() native; 3091 String get typeName() native;
2752 } 3092 }
2753 3093
2754 class HTMLDListElement extends HTMLElement native "*HTMLDListElement" { 3094 class HTMLDListElement extends HTMLElement native "*HTMLDListElement" {
2755 3095
2756 bool compact; 3096 bool get compact() native "return this.compact;";
3097
3098 void set compact(bool value) native "this.compact = value;";
2757 } 3099 }
2758 3100
2759 class HTMLDataListElement extends HTMLElement native "*HTMLDataListElement" { 3101 class HTMLDataListElement extends HTMLElement native "*HTMLDataListElement" {
2760 3102
2761 HTMLCollection options; 3103 HTMLCollection get options() native "return this.options;";
2762 } 3104 }
2763 3105
2764 class HTMLDetailsElement extends HTMLElement native "*HTMLDetailsElement" { 3106 class HTMLDetailsElement extends HTMLElement native "*HTMLDetailsElement" {
2765 3107
2766 bool open; 3108 bool get open() native "return this.open;";
3109
3110 void set open(bool value) native "this.open = value;";
2767 } 3111 }
2768 3112
2769 class HTMLDirectoryElement extends HTMLElement native "*HTMLDirectoryElement" { 3113 class HTMLDirectoryElement extends HTMLElement native "*HTMLDirectoryElement" {
2770 3114
2771 bool compact; 3115 bool get compact() native "return this.compact;";
3116
3117 void set compact(bool value) native "this.compact = value;";
2772 } 3118 }
2773 3119
2774 class HTMLDivElement extends HTMLElement native "*HTMLDivElement" { 3120 class HTMLDivElement extends HTMLElement native "*HTMLDivElement" {
2775 3121
2776 String align; 3122 String get align() native "return this.align;";
3123
3124 void set align(String value) native "this.align = value;";
2777 } 3125 }
2778 3126
2779 class HTMLDocument extends Document native "*HTMLDocument" { 3127 class HTMLDocument extends Document native "*HTMLDocument" {
2780 3128
2781 Element activeElement; 3129 Element get activeElement() native "return this.activeElement;";
2782 3130
2783 String alinkColor; 3131 String get alinkColor() native "return this.alinkColor;";
2784 3132
2785 HTMLAllCollection all; 3133 void set alinkColor(String value) native "this.alinkColor = value;";
2786 3134
2787 String bgColor; 3135 HTMLAllCollection get all() native "return this.all;";
2788 3136
2789 String compatMode; 3137 void set all(HTMLAllCollection value) native "this.all = value;";
2790 3138
2791 String designMode; 3139 String get bgColor() native "return this.bgColor;";
2792 3140
2793 String dir; 3141 void set bgColor(String value) native "this.bgColor = value;";
2794 3142
2795 HTMLCollection embeds; 3143 String get compatMode() native "return this.compatMode;";
2796 3144
2797 String fgColor; 3145 String get designMode() native "return this.designMode;";
2798 3146
2799 String linkColor; 3147 void set designMode(String value) native "this.designMode = value;";
2800 3148
2801 HTMLCollection plugins; 3149 String get dir() native "return this.dir;";
2802 3150
2803 HTMLCollection scripts; 3151 void set dir(String value) native "this.dir = value;";
2804 3152
2805 String vlinkColor; 3153 HTMLCollection get embeds() native "return this.embeds;";
3154
3155 String get fgColor() native "return this.fgColor;";
3156
3157 void set fgColor(String value) native "this.fgColor = value;";
3158
3159 String get linkColor() native "return this.linkColor;";
3160
3161 void set linkColor(String value) native "this.linkColor = value;";
3162
3163 HTMLCollection get plugins() native "return this.plugins;";
3164
3165 HTMLCollection get scripts() native "return this.scripts;";
3166
3167 String get vlinkColor() native "return this.vlinkColor;";
3168
3169 void set vlinkColor(String value) native "this.vlinkColor = value;";
2806 3170
2807 void captureEvents() native; 3171 void captureEvents() native;
2808 3172
2809 void clear() native; 3173 void clear() native;
2810 3174
2811 void close() native; 3175 void close() native;
2812 3176
2813 bool hasFocus() native; 3177 bool hasFocus() native;
2814 3178
2815 void open() native; 3179 void open() native;
2816 3180
2817 void releaseEvents() native; 3181 void releaseEvents() native;
2818 3182
2819 void write(String text) native; 3183 void write(String text) native;
2820 3184
2821 void writeln(String text) native; 3185 void writeln(String text) native;
2822 } 3186 }
2823 3187
2824 class HTMLElement extends Element native "*HTMLElement" { 3188 class HTMLElement extends Element native "*HTMLElement" {
2825 3189
2826 String accessKey; 3190 String get accessKey() native "return this.accessKey;";
2827 3191
2828 HTMLCollection children; 3192 void set accessKey(String value) native "this.accessKey = value;";
2829 3193
2830 DOMTokenList classList; 3194 HTMLCollection get children() native "return this.children;";
2831 3195
2832 String className; 3196 DOMTokenList get classList() native "return this.classList;";
2833 3197
2834 String contentEditable; 3198 String get className() native "return this.className;";
2835 3199
2836 String dir; 3200 void set className(String value) native "this.className = value;";
2837 3201
2838 bool draggable; 3202 String get contentEditable() native "return this.contentEditable;";
2839 3203
2840 bool hidden; 3204 void set contentEditable(String value) native "this.contentEditable = value;";
2841 3205
2842 String id; 3206 String get dir() native "return this.dir;";
2843 3207
2844 String innerHTML; 3208 void set dir(String value) native "this.dir = value;";
2845 3209
2846 String innerText; 3210 bool get draggable() native "return this.draggable;";
2847 3211
2848 bool isContentEditable; 3212 void set draggable(bool value) native "this.draggable = value;";
2849 3213
2850 String itemId; 3214 bool get hidden() native "return this.hidden;";
2851 3215
2852 DOMSettableTokenList itemProp; 3216 void set hidden(bool value) native "this.hidden = value;";
2853 3217
2854 DOMSettableTokenList itemRef; 3218 String get id() native "return this.id;";
2855 3219
2856 bool itemScope; 3220 void set id(String value) native "this.id = value;";
2857 3221
2858 DOMSettableTokenList itemType; 3222 String get innerHTML() native "return this.innerHTML;";
2859 3223
2860 Object itemValue; 3224 void set innerHTML(String value) native "this.innerHTML = value;";
2861 3225
2862 String lang; 3226 String get innerText() native "return this.innerText;";
2863 3227
2864 String outerHTML; 3228 void set innerText(String value) native "this.innerText = value;";
2865 3229
2866 String outerText; 3230 bool get isContentEditable() native "return this.isContentEditable;";
2867 3231
2868 bool spellcheck; 3232 String get itemId() native "return this.itemId;";
2869 3233
2870 int tabIndex; 3234 void set itemId(String value) native "this.itemId = value;";
2871 3235
2872 String title; 3236 DOMSettableTokenList get itemProp() native "return this.itemProp;";
2873 3237
2874 String webkitdropzone; 3238 DOMSettableTokenList get itemRef() native "return this.itemRef;";
3239
3240 bool get itemScope() native "return this.itemScope;";
3241
3242 void set itemScope(bool value) native "this.itemScope = value;";
3243
3244 DOMSettableTokenList get itemType() native "return this.itemType;";
3245
3246 Object get itemValue() native "return this.itemValue;";
3247
3248 void set itemValue(Object value) native "this.itemValue = value;";
3249
3250 String get lang() native "return this.lang;";
3251
3252 void set lang(String value) native "this.lang = value;";
3253
3254 String get outerHTML() native "return this.outerHTML;";
3255
3256 void set outerHTML(String value) native "this.outerHTML = value;";
3257
3258 String get outerText() native "return this.outerText;";
3259
3260 void set outerText(String value) native "this.outerText = value;";
3261
3262 bool get spellcheck() native "return this.spellcheck;";
3263
3264 void set spellcheck(bool value) native "this.spellcheck = value;";
3265
3266 int get tabIndex() native "return this.tabIndex;";
3267
3268 void set tabIndex(int value) native "this.tabIndex = value;";
3269
3270 String get title() native "return this.title;";
3271
3272 void set title(String value) native "this.title = value;";
3273
3274 String get webkitdropzone() native "return this.webkitdropzone;";
3275
3276 void set webkitdropzone(String value) native "this.webkitdropzone = value;";
2875 3277
2876 Element insertAdjacentElement(String where, Element element) native; 3278 Element insertAdjacentElement(String where, Element element) native;
2877 3279
2878 void insertAdjacentHTML(String where, String html) native; 3280 void insertAdjacentHTML(String where, String html) native;
2879 3281
2880 void insertAdjacentText(String where, String text) native; 3282 void insertAdjacentText(String where, String text) native;
2881 } 3283 }
2882 3284
2883 class HTMLEmbedElement extends HTMLElement native "*HTMLEmbedElement" { 3285 class HTMLEmbedElement extends HTMLElement native "*HTMLEmbedElement" {
2884 3286
2885 String align; 3287 String get align() native "return this.align;";
2886 3288
2887 String height; 3289 void set align(String value) native "this.align = value;";
2888 3290
2889 String name; 3291 String get height() native "return this.height;";
2890 3292
2891 String src; 3293 void set height(String value) native "this.height = value;";
2892 3294
2893 String type; 3295 String get name() native "return this.name;";
2894 3296
2895 String width; 3297 void set name(String value) native "this.name = value;";
3298
3299 String get src() native "return this.src;";
3300
3301 void set src(String value) native "this.src = value;";
3302
3303 String get type() native "return this.type;";
3304
3305 void set type(String value) native "this.type = value;";
3306
3307 String get width() native "return this.width;";
3308
3309 void set width(String value) native "this.width = value;";
2896 3310
2897 SVGDocument getSVGDocument() native; 3311 SVGDocument getSVGDocument() native;
2898 } 3312 }
2899 3313
2900 class HTMLFieldSetElement extends HTMLElement native "*HTMLFieldSetElement" { 3314 class HTMLFieldSetElement extends HTMLElement native "*HTMLFieldSetElement" {
2901 3315
2902 HTMLFormElement form; 3316 HTMLFormElement get form() native "return this.form;";
2903 3317
2904 String validationMessage; 3318 String get validationMessage() native "return this.validationMessage;";
2905 3319
2906 ValidityState validity; 3320 ValidityState get validity() native "return this.validity;";
2907 3321
2908 bool willValidate; 3322 bool get willValidate() native "return this.willValidate;";
2909 3323
2910 bool checkValidity() native; 3324 bool checkValidity() native;
2911 3325
2912 void setCustomValidity(String error) native; 3326 void setCustomValidity(String error) native;
2913 } 3327 }
2914 3328
2915 class HTMLFontElement extends HTMLElement native "*HTMLFontElement" { 3329 class HTMLFontElement extends HTMLElement native "*HTMLFontElement" {
2916 3330
2917 String color; 3331 String get color() native "return this.color;";
2918 3332
2919 String face; 3333 void set color(String value) native "this.color = value;";
2920 3334
2921 String size; 3335 String get face() native "return this.face;";
3336
3337 void set face(String value) native "this.face = value;";
3338
3339 String get size() native "return this.size;";
3340
3341 void set size(String value) native "this.size = value;";
2922 } 3342 }
2923 3343
2924 class HTMLFormElement extends HTMLElement native "*HTMLFormElement" { 3344 class HTMLFormElement extends HTMLElement native "*HTMLFormElement" {
2925 3345
2926 String acceptCharset; 3346 String get acceptCharset() native "return this.acceptCharset;";
2927 3347
2928 String action; 3348 void set acceptCharset(String value) native "this.acceptCharset = value;";
2929 3349
2930 String autocomplete; 3350 String get action() native "return this.action;";
2931 3351
2932 HTMLCollection elements; 3352 void set action(String value) native "this.action = value;";
2933 3353
2934 String encoding; 3354 String get autocomplete() native "return this.autocomplete;";
2935 3355
2936 String enctype; 3356 void set autocomplete(String value) native "this.autocomplete = value;";
2937 3357
2938 int length; 3358 HTMLCollection get elements() native "return this.elements;";
2939 3359
2940 String method; 3360 String get encoding() native "return this.encoding;";
2941 3361
2942 String name; 3362 void set encoding(String value) native "this.encoding = value;";
2943 3363
2944 bool noValidate; 3364 String get enctype() native "return this.enctype;";
2945 3365
2946 String target; 3366 void set enctype(String value) native "this.enctype = value;";
3367
3368 int get length() native "return this.length;";
3369
3370 String get method() native "return this.method;";
3371
3372 void set method(String value) native "this.method = value;";
3373
3374 String get name() native "return this.name;";
3375
3376 void set name(String value) native "this.name = value;";
3377
3378 bool get noValidate() native "return this.noValidate;";
3379
3380 void set noValidate(bool value) native "this.noValidate = value;";
3381
3382 String get target() native "return this.target;";
3383
3384 void set target(String value) native "this.target = value;";
2947 3385
2948 bool checkValidity() native; 3386 bool checkValidity() native;
2949 3387
2950 void reset() native; 3388 void reset() native;
2951 3389
2952 void submit() native; 3390 void submit() native;
2953 } 3391 }
2954 3392
2955 class HTMLFrameElement extends HTMLElement native "*HTMLFrameElement" { 3393 class HTMLFrameElement extends HTMLElement native "*HTMLFrameElement" {
2956 3394
2957 Document contentDocument; 3395 Document get contentDocument() native "return this.contentDocument;";
2958 3396
2959 DOMWindow contentWindow; 3397 DOMWindow get contentWindow() native "return this.contentWindow;";
2960 3398
2961 String frameBorder; 3399 String get frameBorder() native "return this.frameBorder;";
2962 3400
2963 int height; 3401 void set frameBorder(String value) native "this.frameBorder = value;";
2964 3402
2965 String location; 3403 int get height() native "return this.height;";
2966 3404
2967 String longDesc; 3405 String get location() native "return this.location;";
2968 3406
2969 String marginHeight; 3407 void set location(String value) native "this.location = value;";
2970 3408
2971 String marginWidth; 3409 String get longDesc() native "return this.longDesc;";
2972 3410
2973 String name; 3411 void set longDesc(String value) native "this.longDesc = value;";
2974 3412
2975 bool noResize; 3413 String get marginHeight() native "return this.marginHeight;";
2976 3414
2977 String scrolling; 3415 void set marginHeight(String value) native "this.marginHeight = value;";
2978 3416
2979 String src; 3417 String get marginWidth() native "return this.marginWidth;";
2980 3418
2981 int width; 3419 void set marginWidth(String value) native "this.marginWidth = value;";
3420
3421 String get name() native "return this.name;";
3422
3423 void set name(String value) native "this.name = value;";
3424
3425 bool get noResize() native "return this.noResize;";
3426
3427 void set noResize(bool value) native "this.noResize = value;";
3428
3429 String get scrolling() native "return this.scrolling;";
3430
3431 void set scrolling(String value) native "this.scrolling = value;";
3432
3433 String get src() native "return this.src;";
3434
3435 void set src(String value) native "this.src = value;";
3436
3437 int get width() native "return this.width;";
2982 3438
2983 SVGDocument getSVGDocument() native; 3439 SVGDocument getSVGDocument() native;
2984 } 3440 }
2985 3441
2986 class HTMLFrameSetElement extends HTMLElement native "*HTMLFrameSetElement" { 3442 class HTMLFrameSetElement extends HTMLElement native "*HTMLFrameSetElement" {
2987 3443
2988 String cols; 3444 String get cols() native "return this.cols;";
2989 3445
2990 String rows; 3446 void set cols(String value) native "this.cols = value;";
3447
3448 String get rows() native "return this.rows;";
3449
3450 void set rows(String value) native "this.rows = value;";
2991 } 3451 }
2992 3452
2993 class HTMLHRElement extends HTMLElement native "*HTMLHRElement" { 3453 class HTMLHRElement extends HTMLElement native "*HTMLHRElement" {
2994 3454
2995 String align; 3455 String get align() native "return this.align;";
2996 3456
2997 bool noShade; 3457 void set align(String value) native "this.align = value;";
2998 3458
2999 String size; 3459 bool get noShade() native "return this.noShade;";
3000 3460
3001 String width; 3461 void set noShade(bool value) native "this.noShade = value;";
3462
3463 String get size() native "return this.size;";
3464
3465 void set size(String value) native "this.size = value;";
3466
3467 String get width() native "return this.width;";
3468
3469 void set width(String value) native "this.width = value;";
3002 } 3470 }
3003 3471
3004 class HTMLHeadElement extends HTMLElement native "*HTMLHeadElement" { 3472 class HTMLHeadElement extends HTMLElement native "*HTMLHeadElement" {
3005 3473
3006 String profile; 3474 String get profile() native "return this.profile;";
3475
3476 void set profile(String value) native "this.profile = value;";
3007 } 3477 }
3008 3478
3009 class HTMLHeadingElement extends HTMLElement native "*HTMLHeadingElement" { 3479 class HTMLHeadingElement extends HTMLElement native "*HTMLHeadingElement" {
3010 3480
3011 String align; 3481 String get align() native "return this.align;";
3482
3483 void set align(String value) native "this.align = value;";
3012 } 3484 }
3013 3485
3014 class HTMLHtmlElement extends HTMLElement native "*HTMLHtmlElement" { 3486 class HTMLHtmlElement extends HTMLElement native "*HTMLHtmlElement" {
3015 3487
3016 String manifest; 3488 String get manifest() native "return this.manifest;";
3017 3489
3018 String version; 3490 void set manifest(String value) native "this.manifest = value;";
3491
3492 String get version() native "return this.version;";
3493
3494 void set version(String value) native "this.version = value;";
3019 } 3495 }
3020 3496
3021 class HTMLIFrameElement extends HTMLElement native "*HTMLIFrameElement" { 3497 class HTMLIFrameElement extends HTMLElement native "*HTMLIFrameElement" {
3022 3498
3023 String align; 3499 String get align() native "return this.align;";
3024 3500
3025 Document contentDocument; 3501 void set align(String value) native "this.align = value;";
3026 3502
3027 DOMWindow contentWindow; 3503 Document get contentDocument() native "return this.contentDocument;";
3028 3504
3029 String frameBorder; 3505 DOMWindow get contentWindow() native "return this.contentWindow;";
3030 3506
3031 String height; 3507 String get frameBorder() native "return this.frameBorder;";
3032 3508
3033 String longDesc; 3509 void set frameBorder(String value) native "this.frameBorder = value;";
3034 3510
3035 String marginHeight; 3511 String get height() native "return this.height;";
3036 3512
3037 String marginWidth; 3513 void set height(String value) native "this.height = value;";
3038 3514
3039 String name; 3515 String get longDesc() native "return this.longDesc;";
3040 3516
3041 String sandbox; 3517 void set longDesc(String value) native "this.longDesc = value;";
3042 3518
3043 String scrolling; 3519 String get marginHeight() native "return this.marginHeight;";
3044 3520
3045 String src; 3521 void set marginHeight(String value) native "this.marginHeight = value;";
3046 3522
3047 String width; 3523 String get marginWidth() native "return this.marginWidth;";
3524
3525 void set marginWidth(String value) native "this.marginWidth = value;";
3526
3527 String get name() native "return this.name;";
3528
3529 void set name(String value) native "this.name = value;";
3530
3531 String get sandbox() native "return this.sandbox;";
3532
3533 void set sandbox(String value) native "this.sandbox = value;";
3534
3535 String get scrolling() native "return this.scrolling;";
3536
3537 void set scrolling(String value) native "this.scrolling = value;";
3538
3539 String get src() native "return this.src;";
3540
3541 void set src(String value) native "this.src = value;";
3542
3543 String get width() native "return this.width;";
3544
3545 void set width(String value) native "this.width = value;";
3048 3546
3049 SVGDocument getSVGDocument() native; 3547 SVGDocument getSVGDocument() native;
3050 } 3548 }
3051 3549
3052 class HTMLImageElement extends HTMLElement native "*HTMLImageElement" { 3550 class HTMLImageElement extends HTMLElement native "*HTMLImageElement" {
3053 3551
3054 String align; 3552 String get align() native "return this.align;";
3055 3553
3056 String alt; 3554 void set align(String value) native "this.align = value;";
3057 3555
3058 String border; 3556 String get alt() native "return this.alt;";
3059 3557
3060 bool complete; 3558 void set alt(String value) native "this.alt = value;";
3061 3559
3062 String crossOrigin; 3560 String get border() native "return this.border;";
3063 3561
3064 int height; 3562 void set border(String value) native "this.border = value;";
3065 3563
3066 int hspace; 3564 bool get complete() native "return this.complete;";
3067 3565
3068 bool isMap; 3566 String get crossOrigin() native "return this.crossOrigin;";
3069 3567
3070 String longDesc; 3568 void set crossOrigin(String value) native "this.crossOrigin = value;";
3071 3569
3072 String lowsrc; 3570 int get height() native "return this.height;";
3073 3571
3074 String name; 3572 void set height(int value) native "this.height = value;";
3075 3573
3076 int naturalHeight; 3574 int get hspace() native "return this.hspace;";
3077 3575
3078 int naturalWidth; 3576 void set hspace(int value) native "this.hspace = value;";
3079 3577
3080 String src; 3578 bool get isMap() native "return this.isMap;";
3081 3579
3082 String useMap; 3580 void set isMap(bool value) native "this.isMap = value;";
3083 3581
3084 int vspace; 3582 String get longDesc() native "return this.longDesc;";
3085 3583
3086 int width; 3584 void set longDesc(String value) native "this.longDesc = value;";
3087 3585
3088 int x; 3586 String get lowsrc() native "return this.lowsrc;";
3089 3587
3090 int y; 3588 void set lowsrc(String value) native "this.lowsrc = value;";
3589
3590 String get name() native "return this.name;";
3591
3592 void set name(String value) native "this.name = value;";
3593
3594 int get naturalHeight() native "return this.naturalHeight;";
3595
3596 int get naturalWidth() native "return this.naturalWidth;";
3597
3598 String get src() native "return this.src;";
3599
3600 void set src(String value) native "this.src = value;";
3601
3602 String get useMap() native "return this.useMap;";
3603
3604 void set useMap(String value) native "this.useMap = value;";
3605
3606 int get vspace() native "return this.vspace;";
3607
3608 void set vspace(int value) native "this.vspace = value;";
3609
3610 int get width() native "return this.width;";
3611
3612 void set width(int value) native "this.width = value;";
3613
3614 int get x() native "return this.x;";
3615
3616 int get y() native "return this.y;";
3091 } 3617 }
3092 3618
3093 class HTMLInputElement extends HTMLElement native "*HTMLInputElement" { 3619 class HTMLInputElement extends HTMLElement native "*HTMLInputElement" {
3094 3620
3095 String accept; 3621 String get accept() native "return this.accept;";
3096 3622
3097 String align; 3623 void set accept(String value) native "this.accept = value;";
3098 3624
3099 String alt; 3625 String get align() native "return this.align;";
3100 3626
3101 String autocomplete; 3627 void set align(String value) native "this.align = value;";
3102 3628
3103 bool autofocus; 3629 String get alt() native "return this.alt;";
3104 3630
3105 bool checked; 3631 void set alt(String value) native "this.alt = value;";
3106 3632
3107 bool defaultChecked; 3633 String get autocomplete() native "return this.autocomplete;";
3108 3634
3109 String defaultValue; 3635 void set autocomplete(String value) native "this.autocomplete = value;";
3110 3636
3111 String dirName; 3637 bool get autofocus() native "return this.autofocus;";
3112 3638
3113 bool disabled; 3639 void set autofocus(bool value) native "this.autofocus = value;";
3114 3640
3115 FileList files; 3641 bool get checked() native "return this.checked;";
3116 3642
3117 HTMLFormElement form; 3643 void set checked(bool value) native "this.checked = value;";
3118 3644
3119 String formAction; 3645 bool get defaultChecked() native "return this.defaultChecked;";
3120 3646
3121 String formEnctype; 3647 void set defaultChecked(bool value) native "this.defaultChecked = value;";
3122 3648
3123 String formMethod; 3649 String get defaultValue() native "return this.defaultValue;";
3124 3650
3125 bool formNoValidate; 3651 void set defaultValue(String value) native "this.defaultValue = value;";
3126 3652
3127 String formTarget; 3653 String get dirName() native "return this.dirName;";
3128 3654
3129 bool incremental; 3655 void set dirName(String value) native "this.dirName = value;";
3130 3656
3131 bool indeterminate; 3657 bool get disabled() native "return this.disabled;";
3132 3658
3133 NodeList labels; 3659 void set disabled(bool value) native "this.disabled = value;";
3134 3660
3135 HTMLElement list; 3661 FileList get files() native "return this.files;";
3136 3662
3137 String max; 3663 HTMLFormElement get form() native "return this.form;";
3138 3664
3139 int maxLength; 3665 String get formAction() native "return this.formAction;";
3140 3666
3141 String min; 3667 void set formAction(String value) native "this.formAction = value;";
3142 3668
3143 bool multiple; 3669 String get formEnctype() native "return this.formEnctype;";
3144 3670
3145 String name; 3671 void set formEnctype(String value) native "this.formEnctype = value;";
3146 3672
3147 String pattern; 3673 String get formMethod() native "return this.formMethod;";
3148 3674
3149 String placeholder; 3675 void set formMethod(String value) native "this.formMethod = value;";
3150 3676
3151 bool readOnly; 3677 bool get formNoValidate() native "return this.formNoValidate;";
3152 3678
3153 bool required; 3679 void set formNoValidate(bool value) native "this.formNoValidate = value;";
3154 3680
3155 HTMLOptionElement selectedOption; 3681 String get formTarget() native "return this.formTarget;";
3156 3682
3157 String selectionDirection; 3683 void set formTarget(String value) native "this.formTarget = value;";
3158 3684
3159 int selectionEnd; 3685 bool get incremental() native "return this.incremental;";
3160 3686
3161 int selectionStart; 3687 void set incremental(bool value) native "this.incremental = value;";
3162 3688
3163 int size; 3689 bool get indeterminate() native "return this.indeterminate;";
3164 3690
3165 String src; 3691 void set indeterminate(bool value) native "this.indeterminate = value;";
3166 3692
3167 String step; 3693 NodeList get labels() native "return this.labels;";
3168 3694
3169 String type; 3695 HTMLElement get list() native "return this.list;";
3170 3696
3171 String useMap; 3697 String get max() native "return this.max;";
3172 3698
3173 String validationMessage; 3699 void set max(String value) native "this.max = value;";
3174 3700
3175 ValidityState validity; 3701 int get maxLength() native "return this.maxLength;";
3176 3702
3177 String value; 3703 void set maxLength(int value) native "this.maxLength = value;";
3178 3704
3179 Date valueAsDate; 3705 String get min() native "return this.min;";
3180 3706
3181 num valueAsNumber; 3707 void set min(String value) native "this.min = value;";
3182 3708
3183 bool webkitGrammar; 3709 bool get multiple() native "return this.multiple;";
3184 3710
3185 bool webkitSpeech; 3711 void set multiple(bool value) native "this.multiple = value;";
3186 3712
3187 bool webkitdirectory; 3713 String get name() native "return this.name;";
3188 3714
3189 bool willValidate; 3715 void set name(String value) native "this.name = value;";
3716
3717 String get pattern() native "return this.pattern;";
3718
3719 void set pattern(String value) native "this.pattern = value;";
3720
3721 String get placeholder() native "return this.placeholder;";
3722
3723 void set placeholder(String value) native "this.placeholder = value;";
3724
3725 bool get readOnly() native "return this.readOnly;";
3726
3727 void set readOnly(bool value) native "this.readOnly = value;";
3728
3729 bool get required() native "return this.required;";
3730
3731 void set required(bool value) native "this.required = value;";
3732
3733 HTMLOptionElement get selectedOption() native "return this.selectedOption;";
3734
3735 String get selectionDirection() native "return this.selectionDirection;";
3736
3737 void set selectionDirection(String value) native "this.selectionDirection = va lue;";
3738
3739 int get selectionEnd() native "return this.selectionEnd;";
3740
3741 void set selectionEnd(int value) native "this.selectionEnd = value;";
3742
3743 int get selectionStart() native "return this.selectionStart;";
3744
3745 void set selectionStart(int value) native "this.selectionStart = value;";
3746
3747 int get size() native "return this.size;";
3748
3749 void set size(int value) native "this.size = value;";
3750
3751 String get src() native "return this.src;";
3752
3753 void set src(String value) native "this.src = value;";
3754
3755 String get step() native "return this.step;";
3756
3757 void set step(String value) native "this.step = value;";
3758
3759 String get type() native "return this.type;";
3760
3761 void set type(String value) native "this.type = value;";
3762
3763 String get useMap() native "return this.useMap;";
3764
3765 void set useMap(String value) native "this.useMap = value;";
3766
3767 String get validationMessage() native "return this.validationMessage;";
3768
3769 ValidityState get validity() native "return this.validity;";
3770
3771 String get value() native "return this.value;";
3772
3773 void set value(String value) native "this.value = value;";
3774
3775 Date get valueAsDate() native "return this.valueAsDate;";
3776
3777 void set valueAsDate(Date value) native "this.valueAsDate = value;";
3778
3779 num get valueAsNumber() native "return this.valueAsNumber;";
3780
3781 void set valueAsNumber(num value) native "this.valueAsNumber = value;";
3782
3783 bool get webkitGrammar() native "return this.webkitGrammar;";
3784
3785 void set webkitGrammar(bool value) native "this.webkitGrammar = value;";
3786
3787 bool get webkitSpeech() native "return this.webkitSpeech;";
3788
3789 void set webkitSpeech(bool value) native "this.webkitSpeech = value;";
3790
3791 bool get webkitdirectory() native "return this.webkitdirectory;";
3792
3793 void set webkitdirectory(bool value) native "this.webkitdirectory = value;";
3794
3795 bool get willValidate() native "return this.willValidate;";
3190 3796
3191 bool checkValidity() native; 3797 bool checkValidity() native;
3192 3798
3193 void click() native; 3799 void click() native;
3194 3800
3195 void select() native; 3801 void select() native;
3196 3802
3197 void setCustomValidity(String error) native; 3803 void setCustomValidity(String error) native;
3198 3804
3199 void setSelectionRange(int start, int end, [String direction = null]) native; 3805 void setSelectionRange(int start, int end, [String direction = null]) native;
3200 3806
3201 void stepDown([int n = null]) native; 3807 void stepDown([int n = null]) native;
3202 3808
3203 void stepUp([int n = null]) native; 3809 void stepUp([int n = null]) native;
3204 } 3810 }
3205 3811
3206 class HTMLIsIndexElement extends HTMLInputElement native "*HTMLIsIndexElement" { 3812 class HTMLIsIndexElement extends HTMLInputElement native "*HTMLIsIndexElement" {
3207 3813
3208 HTMLFormElement form; 3814 HTMLFormElement get form() native "return this.form;";
3209 3815
3210 String prompt; 3816 String get prompt() native "return this.prompt;";
3817
3818 void set prompt(String value) native "this.prompt = value;";
3211 } 3819 }
3212 3820
3213 class HTMLKeygenElement extends HTMLElement native "*HTMLKeygenElement" { 3821 class HTMLKeygenElement extends HTMLElement native "*HTMLKeygenElement" {
3214 3822
3215 bool autofocus; 3823 bool get autofocus() native "return this.autofocus;";
3216 3824
3217 String challenge; 3825 void set autofocus(bool value) native "this.autofocus = value;";
3218 3826
3219 bool disabled; 3827 String get challenge() native "return this.challenge;";
3220 3828
3221 HTMLFormElement form; 3829 void set challenge(String value) native "this.challenge = value;";
3222 3830
3223 String keytype; 3831 bool get disabled() native "return this.disabled;";
3224 3832
3225 NodeList labels; 3833 void set disabled(bool value) native "this.disabled = value;";
3226 3834
3227 String name; 3835 HTMLFormElement get form() native "return this.form;";
3228 3836
3229 String type; 3837 String get keytype() native "return this.keytype;";
3230 3838
3231 String validationMessage; 3839 void set keytype(String value) native "this.keytype = value;";
3232 3840
3233 ValidityState validity; 3841 NodeList get labels() native "return this.labels;";
3234 3842
3235 bool willValidate; 3843 String get name() native "return this.name;";
3844
3845 void set name(String value) native "this.name = value;";
3846
3847 String get type() native "return this.type;";
3848
3849 String get validationMessage() native "return this.validationMessage;";
3850
3851 ValidityState get validity() native "return this.validity;";
3852
3853 bool get willValidate() native "return this.willValidate;";
3236 3854
3237 bool checkValidity() native; 3855 bool checkValidity() native;
3238 3856
3239 void setCustomValidity(String error) native; 3857 void setCustomValidity(String error) native;
3240 } 3858 }
3241 3859
3242 class HTMLLIElement extends HTMLElement native "*HTMLLIElement" { 3860 class HTMLLIElement extends HTMLElement native "*HTMLLIElement" {
3243 3861
3244 String type; 3862 String get type() native "return this.type;";
3245 3863
3246 int value; 3864 void set type(String value) native "this.type = value;";
3865
3866 int get value() native "return this.value;";
3867
3868 void set value(int value) native "this.value = value;";
3247 } 3869 }
3248 3870
3249 class HTMLLabelElement extends HTMLElement native "*HTMLLabelElement" { 3871 class HTMLLabelElement extends HTMLElement native "*HTMLLabelElement" {
3250 3872
3251 HTMLElement control; 3873 HTMLElement get control() native "return this.control;";
3252 3874
3253 HTMLFormElement form; 3875 HTMLFormElement get form() native "return this.form;";
3254 3876
3255 String htmlFor; 3877 String get htmlFor() native "return this.htmlFor;";
3878
3879 void set htmlFor(String value) native "this.htmlFor = value;";
3256 } 3880 }
3257 3881
3258 class HTMLLegendElement extends HTMLElement native "*HTMLLegendElement" { 3882 class HTMLLegendElement extends HTMLElement native "*HTMLLegendElement" {
3259 3883
3260 String align; 3884 String get align() native "return this.align;";
3261 3885
3262 HTMLFormElement form; 3886 void set align(String value) native "this.align = value;";
3887
3888 HTMLFormElement get form() native "return this.form;";
3263 } 3889 }
3264 3890
3265 class HTMLLinkElement extends HTMLElement native "*HTMLLinkElement" { 3891 class HTMLLinkElement extends HTMLElement native "*HTMLLinkElement" {
3266 3892
3267 String charset; 3893 String get charset() native "return this.charset;";
3268 3894
3269 bool disabled; 3895 void set charset(String value) native "this.charset = value;";
3270 3896
3271 String href; 3897 bool get disabled() native "return this.disabled;";
3272 3898
3273 String hreflang; 3899 void set disabled(bool value) native "this.disabled = value;";
3274 3900
3275 String media; 3901 String get href() native "return this.href;";
3276 3902
3277 String rel; 3903 void set href(String value) native "this.href = value;";
3278 3904
3279 String rev; 3905 String get hreflang() native "return this.hreflang;";
3280 3906
3281 StyleSheet sheet; 3907 void set hreflang(String value) native "this.hreflang = value;";
3282 3908
3283 DOMSettableTokenList sizes; 3909 String get media() native "return this.media;";
3284 3910
3285 String target; 3911 void set media(String value) native "this.media = value;";
3286 3912
3287 String type; 3913 String get rel() native "return this.rel;";
3914
3915 void set rel(String value) native "this.rel = value;";
3916
3917 String get rev() native "return this.rev;";
3918
3919 void set rev(String value) native "this.rev = value;";
3920
3921 StyleSheet get sheet() native "return this.sheet;";
3922
3923 DOMSettableTokenList get sizes() native "return this.sizes;";
3924
3925 void set sizes(DOMSettableTokenList value) native "this.sizes = value;";
3926
3927 String get target() native "return this.target;";
3928
3929 void set target(String value) native "this.target = value;";
3930
3931 String get type() native "return this.type;";
3932
3933 void set type(String value) native "this.type = value;";
3288 } 3934 }
3289 3935
3290 class HTMLMapElement extends HTMLElement native "*HTMLMapElement" { 3936 class HTMLMapElement extends HTMLElement native "*HTMLMapElement" {
3291 3937
3292 HTMLCollection areas; 3938 HTMLCollection get areas() native "return this.areas;";
3293 3939
3294 String name; 3940 String get name() native "return this.name;";
3941
3942 void set name(String value) native "this.name = value;";
3295 } 3943 }
3296 3944
3297 class HTMLMarqueeElement extends HTMLElement native "*HTMLMarqueeElement" { 3945 class HTMLMarqueeElement extends HTMLElement native "*HTMLMarqueeElement" {
3298 3946
3299 String behavior; 3947 String get behavior() native "return this.behavior;";
3300 3948
3301 String bgColor; 3949 void set behavior(String value) native "this.behavior = value;";
3302 3950
3303 String direction; 3951 String get bgColor() native "return this.bgColor;";
3304 3952
3305 String height; 3953 void set bgColor(String value) native "this.bgColor = value;";
3306 3954
3307 int hspace; 3955 String get direction() native "return this.direction;";
3308 3956
3309 int loop; 3957 void set direction(String value) native "this.direction = value;";
3310 3958
3311 int scrollAmount; 3959 String get height() native "return this.height;";
3312 3960
3313 int scrollDelay; 3961 void set height(String value) native "this.height = value;";
3314 3962
3315 bool trueSpeed; 3963 int get hspace() native "return this.hspace;";
3316 3964
3317 int vspace; 3965 void set hspace(int value) native "this.hspace = value;";
3318 3966
3319 String width; 3967 int get loop() native "return this.loop;";
3968
3969 void set loop(int value) native "this.loop = value;";
3970
3971 int get scrollAmount() native "return this.scrollAmount;";
3972
3973 void set scrollAmount(int value) native "this.scrollAmount = value;";
3974
3975 int get scrollDelay() native "return this.scrollDelay;";
3976
3977 void set scrollDelay(int value) native "this.scrollDelay = value;";
3978
3979 bool get trueSpeed() native "return this.trueSpeed;";
3980
3981 void set trueSpeed(bool value) native "this.trueSpeed = value;";
3982
3983 int get vspace() native "return this.vspace;";
3984
3985 void set vspace(int value) native "this.vspace = value;";
3986
3987 String get width() native "return this.width;";
3988
3989 void set width(String value) native "this.width = value;";
3320 3990
3321 void start() native; 3991 void start() native;
3322 3992
3323 void stop() native; 3993 void stop() native;
3324 } 3994 }
3325 3995
3326 class HTMLMediaElement extends HTMLElement native "*HTMLMediaElement" { 3996 class HTMLMediaElement extends HTMLElement native "*HTMLMediaElement" {
3327 3997
3328 static final int EOS_DECODE_ERR = 2; 3998 static final int EOS_DECODE_ERR = 2;
3329 3999
(...skipping 18 matching lines...) Expand all
3348 static final int NETWORK_LOADING = 2; 4018 static final int NETWORK_LOADING = 2;
3349 4019
3350 static final int NETWORK_NO_SOURCE = 3; 4020 static final int NETWORK_NO_SOURCE = 3;
3351 4021
3352 static final int SOURCE_CLOSED = 0; 4022 static final int SOURCE_CLOSED = 0;
3353 4023
3354 static final int SOURCE_ENDED = 2; 4024 static final int SOURCE_ENDED = 2;
3355 4025
3356 static final int SOURCE_OPEN = 1; 4026 static final int SOURCE_OPEN = 1;
3357 4027
3358 bool autoplay; 4028 bool get autoplay() native "return this.autoplay;";
3359 4029
3360 TimeRanges buffered; 4030 void set autoplay(bool value) native "this.autoplay = value;";
3361 4031
3362 MediaController controller; 4032 TimeRanges get buffered() native "return this.buffered;";
3363 4033
3364 bool controls; 4034 MediaController get controller() native "return this.controller;";
3365 4035
3366 String currentSrc; 4036 void set controller(MediaController value) native "this.controller = value;";
3367 4037
3368 num currentTime; 4038 bool get controls() native "return this.controls;";
3369 4039
3370 bool defaultMuted; 4040 void set controls(bool value) native "this.controls = value;";
3371 4041
3372 num defaultPlaybackRate; 4042 String get currentSrc() native "return this.currentSrc;";
3373 4043
3374 num duration; 4044 num get currentTime() native "return this.currentTime;";
3375 4045
3376 bool ended; 4046 void set currentTime(num value) native "this.currentTime = value;";
3377 4047
3378 MediaError error; 4048 bool get defaultMuted() native "return this.defaultMuted;";
3379 4049
3380 num initialTime; 4050 void set defaultMuted(bool value) native "this.defaultMuted = value;";
3381 4051
3382 bool loop; 4052 num get defaultPlaybackRate() native "return this.defaultPlaybackRate;";
3383 4053
3384 String mediaGroup; 4054 void set defaultPlaybackRate(num value) native "this.defaultPlaybackRate = val ue;";
3385 4055
3386 bool muted; 4056 num get duration() native "return this.duration;";
3387 4057
3388 int networkState; 4058 bool get ended() native "return this.ended;";
3389 4059
3390 bool paused; 4060 MediaError get error() native "return this.error;";
3391 4061
3392 num playbackRate; 4062 num get initialTime() native "return this.initialTime;";
3393 4063
3394 TimeRanges played; 4064 bool get loop() native "return this.loop;";
3395 4065
3396 String preload; 4066 void set loop(bool value) native "this.loop = value;";
3397 4067
3398 int readyState; 4068 String get mediaGroup() native "return this.mediaGroup;";
3399 4069
3400 TimeRanges seekable; 4070 void set mediaGroup(String value) native "this.mediaGroup = value;";
3401 4071
3402 bool seeking; 4072 bool get muted() native "return this.muted;";
3403 4073
3404 String src; 4074 void set muted(bool value) native "this.muted = value;";
3405 4075
3406 num startTime; 4076 int get networkState() native "return this.networkState;";
3407 4077
3408 TextTrackList textTracks; 4078 bool get paused() native "return this.paused;";
3409 4079
3410 num volume; 4080 num get playbackRate() native "return this.playbackRate;";
3411 4081
3412 int webkitAudioDecodedByteCount; 4082 void set playbackRate(num value) native "this.playbackRate = value;";
3413 4083
3414 bool webkitClosedCaptionsVisible; 4084 TimeRanges get played() native "return this.played;";
3415 4085
3416 bool webkitHasClosedCaptions; 4086 String get preload() native "return this.preload;";
3417 4087
3418 String webkitMediaSourceURL; 4088 void set preload(String value) native "this.preload = value;";
3419 4089
3420 bool webkitPreservesPitch; 4090 int get readyState() native "return this.readyState;";
3421 4091
3422 int webkitSourceState; 4092 TimeRanges get seekable() native "return this.seekable;";
3423 4093
3424 int webkitVideoDecodedByteCount; 4094 bool get seeking() native "return this.seeking;";
4095
4096 String get src() native "return this.src;";
4097
4098 void set src(String value) native "this.src = value;";
4099
4100 num get startTime() native "return this.startTime;";
4101
4102 TextTrackList get textTracks() native "return this.textTracks;";
4103
4104 num get volume() native "return this.volume;";
4105
4106 void set volume(num value) native "this.volume = value;";
4107
4108 int get webkitAudioDecodedByteCount() native "return this.webkitAudioDecodedBy teCount;";
4109
4110 bool get webkitClosedCaptionsVisible() native "return this.webkitClosedCaption sVisible;";
4111
4112 void set webkitClosedCaptionsVisible(bool value) native "this.webkitClosedCapt ionsVisible = value;";
4113
4114 bool get webkitHasClosedCaptions() native "return this.webkitHasClosedCaptions ;";
4115
4116 String get webkitMediaSourceURL() native "return this.webkitMediaSourceURL;";
4117
4118 bool get webkitPreservesPitch() native "return this.webkitPreservesPitch;";
4119
4120 void set webkitPreservesPitch(bool value) native "this.webkitPreservesPitch = value;";
4121
4122 int get webkitSourceState() native "return this.webkitSourceState;";
4123
4124 int get webkitVideoDecodedByteCount() native "return this.webkitVideoDecodedBy teCount;";
3425 4125
3426 TextTrack addTrack(String kind, [String label = null, String language = null]) native; 4126 TextTrack addTrack(String kind, [String label = null, String language = null]) native;
3427 4127
3428 String canPlayType(String type) native; 4128 String canPlayType(String type) native;
3429 4129
3430 void load() native; 4130 void load() native;
3431 4131
3432 void pause() native; 4132 void pause() native;
3433 4133
3434 void play() native; 4134 void play() native;
3435 4135
3436 void webkitSourceAppend(Uint8Array data) native; 4136 void webkitSourceAppend(Uint8Array data) native;
3437 4137
3438 void webkitSourceEndOfStream(int status) native; 4138 void webkitSourceEndOfStream(int status) native;
3439 } 4139 }
3440 4140
3441 class HTMLMenuElement extends HTMLElement native "*HTMLMenuElement" { 4141 class HTMLMenuElement extends HTMLElement native "*HTMLMenuElement" {
3442 4142
3443 bool compact; 4143 bool get compact() native "return this.compact;";
4144
4145 void set compact(bool value) native "this.compact = value;";
3444 } 4146 }
3445 4147
3446 class HTMLMetaElement extends HTMLElement native "*HTMLMetaElement" { 4148 class HTMLMetaElement extends HTMLElement native "*HTMLMetaElement" {
3447 4149
3448 String content; 4150 String get content() native "return this.content;";
3449 4151
3450 String httpEquiv; 4152 void set content(String value) native "this.content = value;";
3451 4153
3452 String name; 4154 String get httpEquiv() native "return this.httpEquiv;";
3453 4155
3454 String scheme; 4156 void set httpEquiv(String value) native "this.httpEquiv = value;";
4157
4158 String get name() native "return this.name;";
4159
4160 void set name(String value) native "this.name = value;";
4161
4162 String get scheme() native "return this.scheme;";
4163
4164 void set scheme(String value) native "this.scheme = value;";
3455 } 4165 }
3456 4166
3457 class HTMLMeterElement extends HTMLElement native "*HTMLMeterElement" { 4167 class HTMLMeterElement extends HTMLElement native "*HTMLMeterElement" {
3458 4168
3459 HTMLFormElement form; 4169 HTMLFormElement get form() native "return this.form;";
3460 4170
3461 num high; 4171 num get high() native "return this.high;";
3462 4172
3463 NodeList labels; 4173 void set high(num value) native "this.high = value;";
3464 4174
3465 num low; 4175 NodeList get labels() native "return this.labels;";
3466 4176
3467 num max; 4177 num get low() native "return this.low;";
3468 4178
3469 num min; 4179 void set low(num value) native "this.low = value;";
3470 4180
3471 num optimum; 4181 num get max() native "return this.max;";
3472 4182
3473 num value; 4183 void set max(num value) native "this.max = value;";
4184
4185 num get min() native "return this.min;";
4186
4187 void set min(num value) native "this.min = value;";
4188
4189 num get optimum() native "return this.optimum;";
4190
4191 void set optimum(num value) native "this.optimum = value;";
4192
4193 num get value() native "return this.value;";
4194
4195 void set value(num value) native "this.value = value;";
3474 } 4196 }
3475 4197
3476 class HTMLModElement extends HTMLElement native "*HTMLModElement" { 4198 class HTMLModElement extends HTMLElement native "*HTMLModElement" {
3477 4199
3478 String cite; 4200 String get cite() native "return this.cite;";
3479 4201
3480 String dateTime; 4202 void set cite(String value) native "this.cite = value;";
4203
4204 String get dateTime() native "return this.dateTime;";
4205
4206 void set dateTime(String value) native "this.dateTime = value;";
3481 } 4207 }
3482 4208
3483 class HTMLOListElement extends HTMLElement native "*HTMLOListElement" { 4209 class HTMLOListElement extends HTMLElement native "*HTMLOListElement" {
3484 4210
3485 bool compact; 4211 bool get compact() native "return this.compact;";
3486 4212
3487 bool reversed; 4213 void set compact(bool value) native "this.compact = value;";
3488 4214
3489 int start; 4215 bool get reversed() native "return this.reversed;";
3490 4216
3491 String type; 4217 void set reversed(bool value) native "this.reversed = value;";
4218
4219 int get start() native "return this.start;";
4220
4221 void set start(int value) native "this.start = value;";
4222
4223 String get type() native "return this.type;";
4224
4225 void set type(String value) native "this.type = value;";
3492 } 4226 }
3493 4227
3494 class HTMLObjectElement extends HTMLElement native "*HTMLObjectElement" { 4228 class HTMLObjectElement extends HTMLElement native "*HTMLObjectElement" {
3495 4229
3496 String align; 4230 String get align() native "return this.align;";
3497 4231
3498 String archive; 4232 void set align(String value) native "this.align = value;";
3499 4233
3500 String border; 4234 String get archive() native "return this.archive;";
3501 4235
3502 String code; 4236 void set archive(String value) native "this.archive = value;";
3503 4237
3504 String codeBase; 4238 String get border() native "return this.border;";
3505 4239
3506 String codeType; 4240 void set border(String value) native "this.border = value;";
3507 4241
3508 Document contentDocument; 4242 String get code() native "return this.code;";
3509 4243
3510 String data; 4244 void set code(String value) native "this.code = value;";
3511 4245
3512 bool declare; 4246 String get codeBase() native "return this.codeBase;";
3513 4247
3514 HTMLFormElement form; 4248 void set codeBase(String value) native "this.codeBase = value;";
3515 4249
3516 String height; 4250 String get codeType() native "return this.codeType;";
3517 4251
3518 int hspace; 4252 void set codeType(String value) native "this.codeType = value;";
3519 4253
3520 String name; 4254 Document get contentDocument() native "return this.contentDocument;";
3521 4255
3522 String standby; 4256 String get data() native "return this.data;";
3523 4257
3524 String type; 4258 void set data(String value) native "this.data = value;";
3525 4259
3526 String useMap; 4260 bool get declare() native "return this.declare;";
3527 4261
3528 String validationMessage; 4262 void set declare(bool value) native "this.declare = value;";
3529 4263
3530 ValidityState validity; 4264 HTMLFormElement get form() native "return this.form;";
3531 4265
3532 int vspace; 4266 String get height() native "return this.height;";
3533 4267
3534 String width; 4268 void set height(String value) native "this.height = value;";
3535 4269
3536 bool willValidate; 4270 int get hspace() native "return this.hspace;";
4271
4272 void set hspace(int value) native "this.hspace = value;";
4273
4274 String get name() native "return this.name;";
4275
4276 void set name(String value) native "this.name = value;";
4277
4278 String get standby() native "return this.standby;";
4279
4280 void set standby(String value) native "this.standby = value;";
4281
4282 String get type() native "return this.type;";
4283
4284 void set type(String value) native "this.type = value;";
4285
4286 String get useMap() native "return this.useMap;";
4287
4288 void set useMap(String value) native "this.useMap = value;";
4289
4290 String get validationMessage() native "return this.validationMessage;";
4291
4292 ValidityState get validity() native "return this.validity;";
4293
4294 int get vspace() native "return this.vspace;";
4295
4296 void set vspace(int value) native "this.vspace = value;";
4297
4298 String get width() native "return this.width;";
4299
4300 void set width(String value) native "this.width = value;";
4301
4302 bool get willValidate() native "return this.willValidate;";
3537 4303
3538 bool checkValidity() native; 4304 bool checkValidity() native;
3539 4305
3540 SVGDocument getSVGDocument() native; 4306 SVGDocument getSVGDocument() native;
3541 4307
3542 void setCustomValidity(String error) native; 4308 void setCustomValidity(String error) native;
3543 } 4309 }
3544 4310
3545 class HTMLOptGroupElement extends HTMLElement native "*HTMLOptGroupElement" { 4311 class HTMLOptGroupElement extends HTMLElement native "*HTMLOptGroupElement" {
3546 4312
3547 bool disabled; 4313 bool get disabled() native "return this.disabled;";
3548 4314
3549 String label; 4315 void set disabled(bool value) native "this.disabled = value;";
4316
4317 String get label() native "return this.label;";
4318
4319 void set label(String value) native "this.label = value;";
3550 } 4320 }
3551 4321
3552 class HTMLOptionElement extends HTMLElement native "*HTMLOptionElement" { 4322 class HTMLOptionElement extends HTMLElement native "*HTMLOptionElement" {
3553 4323
3554 bool defaultSelected; 4324 bool get defaultSelected() native "return this.defaultSelected;";
3555 4325
3556 bool disabled; 4326 void set defaultSelected(bool value) native "this.defaultSelected = value;";
3557 4327
3558 HTMLFormElement form; 4328 bool get disabled() native "return this.disabled;";
3559 4329
3560 int index; 4330 void set disabled(bool value) native "this.disabled = value;";
3561 4331
3562 String label; 4332 HTMLFormElement get form() native "return this.form;";
3563 4333
3564 bool selected; 4334 int get index() native "return this.index;";
3565 4335
3566 String text; 4336 String get label() native "return this.label;";
3567 4337
3568 String value; 4338 void set label(String value) native "this.label = value;";
4339
4340 bool get selected() native "return this.selected;";
4341
4342 void set selected(bool value) native "this.selected = value;";
4343
4344 String get text() native "return this.text;";
4345
4346 void set text(String value) native "this.text = value;";
4347
4348 String get value() native "return this.value;";
4349
4350 void set value(String value) native "this.value = value;";
3569 } 4351 }
3570 4352
3571 class HTMLOptionsCollection extends HTMLCollection native "*HTMLOptionsCollectio n" { 4353 class HTMLOptionsCollection extends HTMLCollection native "*HTMLOptionsCollectio n" {
3572 4354
3573 int length; 4355 int get length() native "return this.length;";
3574 4356
3575 int selectedIndex; 4357 void set length(int value) native "this.length = value;";
4358
4359 int get selectedIndex() native "return this.selectedIndex;";
4360
4361 void set selectedIndex(int value) native "this.selectedIndex = value;";
3576 4362
3577 void remove(int index) native; 4363 void remove(int index) native;
3578 } 4364 }
3579 4365
3580 class HTMLOutputElement extends HTMLElement native "*HTMLOutputElement" { 4366 class HTMLOutputElement extends HTMLElement native "*HTMLOutputElement" {
3581 4367
3582 String defaultValue; 4368 String get defaultValue() native "return this.defaultValue;";
3583 4369
3584 HTMLFormElement form; 4370 void set defaultValue(String value) native "this.defaultValue = value;";
3585 4371
3586 DOMSettableTokenList htmlFor; 4372 HTMLFormElement get form() native "return this.form;";
3587 4373
3588 NodeList labels; 4374 DOMSettableTokenList get htmlFor() native "return this.htmlFor;";
3589 4375
3590 String name; 4376 void set htmlFor(DOMSettableTokenList value) native "this.htmlFor = value;";
3591 4377
3592 String type; 4378 NodeList get labels() native "return this.labels;";
3593 4379
3594 String validationMessage; 4380 String get name() native "return this.name;";
3595 4381
3596 ValidityState validity; 4382 void set name(String value) native "this.name = value;";
3597 4383
3598 String value; 4384 String get type() native "return this.type;";
3599 4385
3600 bool willValidate; 4386 String get validationMessage() native "return this.validationMessage;";
4387
4388 ValidityState get validity() native "return this.validity;";
4389
4390 String get value() native "return this.value;";
4391
4392 void set value(String value) native "this.value = value;";
4393
4394 bool get willValidate() native "return this.willValidate;";
3601 4395
3602 bool checkValidity() native; 4396 bool checkValidity() native;
3603 4397
3604 void setCustomValidity(String error) native; 4398 void setCustomValidity(String error) native;
3605 } 4399 }
3606 4400
3607 class HTMLParagraphElement extends HTMLElement native "*HTMLParagraphElement" { 4401 class HTMLParagraphElement extends HTMLElement native "*HTMLParagraphElement" {
3608 4402
3609 String align; 4403 String get align() native "return this.align;";
4404
4405 void set align(String value) native "this.align = value;";
3610 } 4406 }
3611 4407
3612 class HTMLParamElement extends HTMLElement native "*HTMLParamElement" { 4408 class HTMLParamElement extends HTMLElement native "*HTMLParamElement" {
3613 4409
3614 String name; 4410 String get name() native "return this.name;";
3615 4411
3616 String type; 4412 void set name(String value) native "this.name = value;";
3617 4413
3618 String value; 4414 String get type() native "return this.type;";
3619 4415
3620 String valueType; 4416 void set type(String value) native "this.type = value;";
4417
4418 String get value() native "return this.value;";
4419
4420 void set value(String value) native "this.value = value;";
4421
4422 String get valueType() native "return this.valueType;";
4423
4424 void set valueType(String value) native "this.valueType = value;";
3621 } 4425 }
3622 4426
3623 class HTMLPreElement extends HTMLElement native "*HTMLPreElement" { 4427 class HTMLPreElement extends HTMLElement native "*HTMLPreElement" {
3624 4428
3625 int width; 4429 int get width() native "return this.width;";
3626 4430
3627 bool wrap; 4431 void set width(int value) native "this.width = value;";
4432
4433 bool get wrap() native "return this.wrap;";
4434
4435 void set wrap(bool value) native "this.wrap = value;";
3628 } 4436 }
3629 4437
3630 class HTMLProgressElement extends HTMLElement native "*HTMLProgressElement" { 4438 class HTMLProgressElement extends HTMLElement native "*HTMLProgressElement" {
3631 4439
3632 HTMLFormElement form; 4440 HTMLFormElement get form() native "return this.form;";
3633 4441
3634 NodeList labels; 4442 NodeList get labels() native "return this.labels;";
3635 4443
3636 num max; 4444 num get max() native "return this.max;";
3637 4445
3638 num position; 4446 void set max(num value) native "this.max = value;";
3639 4447
3640 num value; 4448 num get position() native "return this.position;";
4449
4450 num get value() native "return this.value;";
4451
4452 void set value(num value) native "this.value = value;";
3641 } 4453 }
3642 4454
3643 class HTMLPropertiesCollection extends HTMLCollection native "*HTMLPropertiesCol lection" { 4455 class HTMLPropertiesCollection extends HTMLCollection native "*HTMLPropertiesCol lection" {
3644 4456
3645 int length; 4457 int get length() native "return this.length;";
3646 4458
3647 Node item(int index) native; 4459 Node item(int index) native;
3648 } 4460 }
3649 4461
3650 class HTMLQuoteElement extends HTMLElement native "*HTMLQuoteElement" { 4462 class HTMLQuoteElement extends HTMLElement native "*HTMLQuoteElement" {
3651 4463
3652 String cite; 4464 String get cite() native "return this.cite;";
4465
4466 void set cite(String value) native "this.cite = value;";
3653 } 4467 }
3654 4468
3655 class HTMLScriptElement extends HTMLElement native "*HTMLScriptElement" { 4469 class HTMLScriptElement extends HTMLElement native "*HTMLScriptElement" {
3656 4470
3657 bool async; 4471 bool get async() native "return this.async;";
3658 4472
3659 String charset; 4473 void set async(bool value) native "this.async = value;";
3660 4474
3661 bool defer; 4475 String get charset() native "return this.charset;";
3662 4476
3663 String event; 4477 void set charset(String value) native "this.charset = value;";
3664 4478
3665 String htmlFor; 4479 bool get defer() native "return this.defer;";
3666 4480
3667 String src; 4481 void set defer(bool value) native "this.defer = value;";
3668 4482
3669 String text; 4483 String get event() native "return this.event;";
3670 4484
3671 String type; 4485 void set event(String value) native "this.event = value;";
4486
4487 String get htmlFor() native "return this.htmlFor;";
4488
4489 void set htmlFor(String value) native "this.htmlFor = value;";
4490
4491 String get src() native "return this.src;";
4492
4493 void set src(String value) native "this.src = value;";
4494
4495 String get text() native "return this.text;";
4496
4497 void set text(String value) native "this.text = value;";
4498
4499 String get type() native "return this.type;";
4500
4501 void set type(String value) native "this.type = value;";
3672 } 4502 }
3673 4503
3674 class HTMLSelectElement extends HTMLElement native "*HTMLSelectElement" { 4504 class HTMLSelectElement extends HTMLElement native "*HTMLSelectElement" {
3675 4505
3676 bool autofocus; 4506 bool get autofocus() native "return this.autofocus;";
3677 4507
3678 bool disabled; 4508 void set autofocus(bool value) native "this.autofocus = value;";
3679 4509
3680 HTMLFormElement form; 4510 bool get disabled() native "return this.disabled;";
3681 4511
3682 NodeList labels; 4512 void set disabled(bool value) native "this.disabled = value;";
3683 4513
3684 int length; 4514 HTMLFormElement get form() native "return this.form;";
3685 4515
3686 bool multiple; 4516 NodeList get labels() native "return this.labels;";
3687 4517
3688 String name; 4518 int get length() native "return this.length;";
3689 4519
3690 HTMLOptionsCollection options; 4520 void set length(int value) native "this.length = value;";
3691 4521
3692 bool required; 4522 bool get multiple() native "return this.multiple;";
3693 4523
3694 int selectedIndex; 4524 void set multiple(bool value) native "this.multiple = value;";
3695 4525
3696 int size; 4526 String get name() native "return this.name;";
3697 4527
3698 String type; 4528 void set name(String value) native "this.name = value;";
3699 4529
3700 String validationMessage; 4530 HTMLOptionsCollection get options() native "return this.options;";
3701 4531
3702 ValidityState validity; 4532 bool get required() native "return this.required;";
3703 4533
3704 String value; 4534 void set required(bool value) native "this.required = value;";
3705 4535
3706 bool willValidate; 4536 int get selectedIndex() native "return this.selectedIndex;";
4537
4538 void set selectedIndex(int value) native "this.selectedIndex = value;";
4539
4540 int get size() native "return this.size;";
4541
4542 void set size(int value) native "this.size = value;";
4543
4544 String get type() native "return this.type;";
4545
4546 String get validationMessage() native "return this.validationMessage;";
4547
4548 ValidityState get validity() native "return this.validity;";
4549
4550 String get value() native "return this.value;";
4551
4552 void set value(String value) native "this.value = value;";
4553
4554 bool get willValidate() native "return this.willValidate;";
3707 4555
3708 void add(HTMLElement element, HTMLElement before) native; 4556 void add(HTMLElement element, HTMLElement before) native;
3709 4557
3710 bool checkValidity() native; 4558 bool checkValidity() native;
3711 4559
3712 Node item(int index) native; 4560 Node item(int index) native;
3713 4561
3714 Node namedItem(String name) native; 4562 Node namedItem(String name) native;
3715 4563
3716 void remove(var index_OR_option) native; 4564 void remove(var index_OR_option) native;
3717 4565
3718 void setCustomValidity(String error) native; 4566 void setCustomValidity(String error) native;
3719 } 4567 }
3720 4568
3721 class HTMLSourceElement extends HTMLElement native "*HTMLSourceElement" { 4569 class HTMLSourceElement extends HTMLElement native "*HTMLSourceElement" {
3722 4570
3723 String media; 4571 String get media() native "return this.media;";
3724 4572
3725 String src; 4573 void set media(String value) native "this.media = value;";
3726 4574
3727 String type; 4575 String get src() native "return this.src;";
4576
4577 void set src(String value) native "this.src = value;";
4578
4579 String get type() native "return this.type;";
4580
4581 void set type(String value) native "this.type = value;";
3728 } 4582 }
3729 4583
3730 class HTMLSpanElement extends HTMLElement native "*HTMLSpanElement" { 4584 class HTMLSpanElement extends HTMLElement native "*HTMLSpanElement" {
3731 } 4585 }
3732 4586
3733 class HTMLStyleElement extends HTMLElement native "*HTMLStyleElement" { 4587 class HTMLStyleElement extends HTMLElement native "*HTMLStyleElement" {
3734 4588
3735 bool disabled; 4589 bool get disabled() native "return this.disabled;";
3736 4590
3737 String media; 4591 void set disabled(bool value) native "this.disabled = value;";
3738 4592
3739 bool scoped; 4593 String get media() native "return this.media;";
3740 4594
3741 StyleSheet sheet; 4595 void set media(String value) native "this.media = value;";
3742 4596
3743 String type; 4597 bool get scoped() native "return this.scoped;";
4598
4599 void set scoped(bool value) native "this.scoped = value;";
4600
4601 StyleSheet get sheet() native "return this.sheet;";
4602
4603 String get type() native "return this.type;";
4604
4605 void set type(String value) native "this.type = value;";
3744 } 4606 }
3745 4607
3746 class HTMLTableCaptionElement extends HTMLElement native "*HTMLTableCaptionEleme nt" { 4608 class HTMLTableCaptionElement extends HTMLElement native "*HTMLTableCaptionEleme nt" {
3747 4609
3748 String align; 4610 String get align() native "return this.align;";
4611
4612 void set align(String value) native "this.align = value;";
3749 } 4613 }
3750 4614
3751 class HTMLTableCellElement extends HTMLElement native "*HTMLTableCellElement" { 4615 class HTMLTableCellElement extends HTMLElement native "*HTMLTableCellElement" {
3752 4616
3753 String abbr; 4617 String get abbr() native "return this.abbr;";
3754 4618
3755 String align; 4619 void set abbr(String value) native "this.abbr = value;";
3756 4620
3757 String axis; 4621 String get align() native "return this.align;";
3758 4622
3759 String bgColor; 4623 void set align(String value) native "this.align = value;";
3760 4624
3761 int cellIndex; 4625 String get axis() native "return this.axis;";
3762 4626
3763 String ch; 4627 void set axis(String value) native "this.axis = value;";
3764 4628
3765 String chOff; 4629 String get bgColor() native "return this.bgColor;";
3766 4630
3767 int colSpan; 4631 void set bgColor(String value) native "this.bgColor = value;";
3768 4632
3769 String headers; 4633 int get cellIndex() native "return this.cellIndex;";
3770 4634
3771 String height; 4635 String get ch() native "return this.ch;";
3772 4636
3773 bool noWrap; 4637 void set ch(String value) native "this.ch = value;";
3774 4638
3775 int rowSpan; 4639 String get chOff() native "return this.chOff;";
3776 4640
3777 String scope; 4641 void set chOff(String value) native "this.chOff = value;";
3778 4642
3779 String vAlign; 4643 int get colSpan() native "return this.colSpan;";
3780 4644
3781 String width; 4645 void set colSpan(int value) native "this.colSpan = value;";
4646
4647 String get headers() native "return this.headers;";
4648
4649 void set headers(String value) native "this.headers = value;";
4650
4651 String get height() native "return this.height;";
4652
4653 void set height(String value) native "this.height = value;";
4654
4655 bool get noWrap() native "return this.noWrap;";
4656
4657 void set noWrap(bool value) native "this.noWrap = value;";
4658
4659 int get rowSpan() native "return this.rowSpan;";
4660
4661 void set rowSpan(int value) native "this.rowSpan = value;";
4662
4663 String get scope() native "return this.scope;";
4664
4665 void set scope(String value) native "this.scope = value;";
4666
4667 String get vAlign() native "return this.vAlign;";
4668
4669 void set vAlign(String value) native "this.vAlign = value;";
4670
4671 String get width() native "return this.width;";
4672
4673 void set width(String value) native "this.width = value;";
3782 } 4674 }
3783 4675
3784 class HTMLTableColElement extends HTMLElement native "*HTMLTableColElement" { 4676 class HTMLTableColElement extends HTMLElement native "*HTMLTableColElement" {
3785 4677
3786 String align; 4678 String get align() native "return this.align;";
3787 4679
3788 String ch; 4680 void set align(String value) native "this.align = value;";
3789 4681
3790 String chOff; 4682 String get ch() native "return this.ch;";
3791 4683
3792 int span; 4684 void set ch(String value) native "this.ch = value;";
3793 4685
3794 String vAlign; 4686 String get chOff() native "return this.chOff;";
3795 4687
3796 String width; 4688 void set chOff(String value) native "this.chOff = value;";
4689
4690 int get span() native "return this.span;";
4691
4692 void set span(int value) native "this.span = value;";
4693
4694 String get vAlign() native "return this.vAlign;";
4695
4696 void set vAlign(String value) native "this.vAlign = value;";
4697
4698 String get width() native "return this.width;";
4699
4700 void set width(String value) native "this.width = value;";
3797 } 4701 }
3798 4702
3799 class HTMLTableElement extends HTMLElement native "*HTMLTableElement" { 4703 class HTMLTableElement extends HTMLElement native "*HTMLTableElement" {
3800 4704
3801 String align; 4705 String get align() native "return this.align;";
3802 4706
3803 String bgColor; 4707 void set align(String value) native "this.align = value;";
3804 4708
3805 String border; 4709 String get bgColor() native "return this.bgColor;";
3806 4710
3807 HTMLTableCaptionElement caption; 4711 void set bgColor(String value) native "this.bgColor = value;";
3808 4712
3809 String cellPadding; 4713 String get border() native "return this.border;";
3810 4714
3811 String cellSpacing; 4715 void set border(String value) native "this.border = value;";
3812 4716
3813 String frame; 4717 HTMLTableCaptionElement get caption() native "return this.caption;";
3814 4718
3815 HTMLCollection rows; 4719 void set caption(HTMLTableCaptionElement value) native "this.caption = value;" ;
3816 4720
3817 String rules; 4721 String get cellPadding() native "return this.cellPadding;";
3818 4722
3819 String summary; 4723 void set cellPadding(String value) native "this.cellPadding = value;";
3820 4724
3821 HTMLCollection tBodies; 4725 String get cellSpacing() native "return this.cellSpacing;";
3822 4726
3823 HTMLTableSectionElement tFoot; 4727 void set cellSpacing(String value) native "this.cellSpacing = value;";
3824 4728
3825 HTMLTableSectionElement tHead; 4729 String get frame() native "return this.frame;";
3826 4730
3827 String width; 4731 void set frame(String value) native "this.frame = value;";
4732
4733 HTMLCollection get rows() native "return this.rows;";
4734
4735 String get rules() native "return this.rules;";
4736
4737 void set rules(String value) native "this.rules = value;";
4738
4739 String get summary() native "return this.summary;";
4740
4741 void set summary(String value) native "this.summary = value;";
4742
4743 HTMLCollection get tBodies() native "return this.tBodies;";
4744
4745 HTMLTableSectionElement get tFoot() native "return this.tFoot;";
4746
4747 void set tFoot(HTMLTableSectionElement value) native "this.tFoot = value;";
4748
4749 HTMLTableSectionElement get tHead() native "return this.tHead;";
4750
4751 void set tHead(HTMLTableSectionElement value) native "this.tHead = value;";
4752
4753 String get width() native "return this.width;";
4754
4755 void set width(String value) native "this.width = value;";
3828 4756
3829 HTMLElement createCaption() native; 4757 HTMLElement createCaption() native;
3830 4758
3831 HTMLElement createTFoot() native; 4759 HTMLElement createTFoot() native;
3832 4760
3833 HTMLElement createTHead() native; 4761 HTMLElement createTHead() native;
3834 4762
3835 void deleteCaption() native; 4763 void deleteCaption() native;
3836 4764
3837 void deleteRow(int index) native; 4765 void deleteRow(int index) native;
3838 4766
3839 void deleteTFoot() native; 4767 void deleteTFoot() native;
3840 4768
3841 void deleteTHead() native; 4769 void deleteTHead() native;
3842 4770
3843 HTMLElement insertRow(int index) native; 4771 HTMLElement insertRow(int index) native;
3844 } 4772 }
3845 4773
3846 class HTMLTableRowElement extends HTMLElement native "*HTMLTableRowElement" { 4774 class HTMLTableRowElement extends HTMLElement native "*HTMLTableRowElement" {
3847 4775
3848 String align; 4776 String get align() native "return this.align;";
3849 4777
3850 String bgColor; 4778 void set align(String value) native "this.align = value;";
3851 4779
3852 HTMLCollection cells; 4780 String get bgColor() native "return this.bgColor;";
3853 4781
3854 String ch; 4782 void set bgColor(String value) native "this.bgColor = value;";
3855 4783
3856 String chOff; 4784 HTMLCollection get cells() native "return this.cells;";
3857 4785
3858 int rowIndex; 4786 String get ch() native "return this.ch;";
3859 4787
3860 int sectionRowIndex; 4788 void set ch(String value) native "this.ch = value;";
3861 4789
3862 String vAlign; 4790 String get chOff() native "return this.chOff;";
4791
4792 void set chOff(String value) native "this.chOff = value;";
4793
4794 int get rowIndex() native "return this.rowIndex;";
4795
4796 int get sectionRowIndex() native "return this.sectionRowIndex;";
4797
4798 String get vAlign() native "return this.vAlign;";
4799
4800 void set vAlign(String value) native "this.vAlign = value;";
3863 4801
3864 void deleteCell(int index) native; 4802 void deleteCell(int index) native;
3865 4803
3866 HTMLElement insertCell(int index) native; 4804 HTMLElement insertCell(int index) native;
3867 } 4805 }
3868 4806
3869 class HTMLTableSectionElement extends HTMLElement native "*HTMLTableSectionEleme nt" { 4807 class HTMLTableSectionElement extends HTMLElement native "*HTMLTableSectionEleme nt" {
3870 4808
3871 String align; 4809 String get align() native "return this.align;";
3872 4810
3873 String ch; 4811 void set align(String value) native "this.align = value;";
3874 4812
3875 String chOff; 4813 String get ch() native "return this.ch;";
3876 4814
3877 HTMLCollection rows; 4815 void set ch(String value) native "this.ch = value;";
3878 4816
3879 String vAlign; 4817 String get chOff() native "return this.chOff;";
4818
4819 void set chOff(String value) native "this.chOff = value;";
4820
4821 HTMLCollection get rows() native "return this.rows;";
4822
4823 String get vAlign() native "return this.vAlign;";
4824
4825 void set vAlign(String value) native "this.vAlign = value;";
3880 4826
3881 void deleteRow(int index) native; 4827 void deleteRow(int index) native;
3882 4828
3883 HTMLElement insertRow(int index) native; 4829 HTMLElement insertRow(int index) native;
3884 } 4830 }
3885 4831
3886 class HTMLTextAreaElement extends HTMLElement native "*HTMLTextAreaElement" { 4832 class HTMLTextAreaElement extends HTMLElement native "*HTMLTextAreaElement" {
3887 4833
3888 bool autofocus; 4834 bool get autofocus() native "return this.autofocus;";
3889 4835
3890 int cols; 4836 void set autofocus(bool value) native "this.autofocus = value;";
3891 4837
3892 String defaultValue; 4838 int get cols() native "return this.cols;";
3893 4839
3894 String dirName; 4840 void set cols(int value) native "this.cols = value;";
3895 4841
3896 bool disabled; 4842 String get defaultValue() native "return this.defaultValue;";
3897 4843
3898 HTMLFormElement form; 4844 void set defaultValue(String value) native "this.defaultValue = value;";
3899 4845
3900 NodeList labels; 4846 String get dirName() native "return this.dirName;";
3901 4847
3902 int maxLength; 4848 void set dirName(String value) native "this.dirName = value;";
3903 4849
3904 String name; 4850 bool get disabled() native "return this.disabled;";
3905 4851
3906 String placeholder; 4852 void set disabled(bool value) native "this.disabled = value;";
3907 4853
3908 bool readOnly; 4854 HTMLFormElement get form() native "return this.form;";
3909 4855
3910 bool required; 4856 NodeList get labels() native "return this.labels;";
3911 4857
3912 int rows; 4858 int get maxLength() native "return this.maxLength;";
3913 4859
3914 String selectionDirection; 4860 void set maxLength(int value) native "this.maxLength = value;";
3915 4861
3916 int selectionEnd; 4862 String get name() native "return this.name;";
3917 4863
3918 int selectionStart; 4864 void set name(String value) native "this.name = value;";
3919 4865
3920 int textLength; 4866 String get placeholder() native "return this.placeholder;";
3921 4867
3922 String type; 4868 void set placeholder(String value) native "this.placeholder = value;";
3923 4869
3924 String validationMessage; 4870 bool get readOnly() native "return this.readOnly;";
3925 4871
3926 ValidityState validity; 4872 void set readOnly(bool value) native "this.readOnly = value;";
3927 4873
3928 String value; 4874 bool get required() native "return this.required;";
3929 4875
3930 bool willValidate; 4876 void set required(bool value) native "this.required = value;";
3931 4877
3932 String wrap; 4878 int get rows() native "return this.rows;";
4879
4880 void set rows(int value) native "this.rows = value;";
4881
4882 String get selectionDirection() native "return this.selectionDirection;";
4883
4884 void set selectionDirection(String value) native "this.selectionDirection = va lue;";
4885
4886 int get selectionEnd() native "return this.selectionEnd;";
4887
4888 void set selectionEnd(int value) native "this.selectionEnd = value;";
4889
4890 int get selectionStart() native "return this.selectionStart;";
4891
4892 void set selectionStart(int value) native "this.selectionStart = value;";
4893
4894 int get textLength() native "return this.textLength;";
4895
4896 String get type() native "return this.type;";
4897
4898 String get validationMessage() native "return this.validationMessage;";
4899
4900 ValidityState get validity() native "return this.validity;";
4901
4902 String get value() native "return this.value;";
4903
4904 void set value(String value) native "this.value = value;";
4905
4906 bool get willValidate() native "return this.willValidate;";
4907
4908 String get wrap() native "return this.wrap;";
4909
4910 void set wrap(String value) native "this.wrap = value;";
3933 4911
3934 bool checkValidity() native; 4912 bool checkValidity() native;
3935 4913
3936 void select() native; 4914 void select() native;
3937 4915
3938 void setCustomValidity(String error) native; 4916 void setCustomValidity(String error) native;
3939 4917
3940 void setSelectionRange(int start, int end, [String direction = null]) native; 4918 void setSelectionRange(int start, int end, [String direction = null]) native;
3941 } 4919 }
3942 4920
3943 class HTMLTitleElement extends HTMLElement native "*HTMLTitleElement" { 4921 class HTMLTitleElement extends HTMLElement native "*HTMLTitleElement" {
3944 4922
3945 String text; 4923 String get text() native "return this.text;";
4924
4925 void set text(String value) native "this.text = value;";
3946 } 4926 }
3947 4927
3948 class HTMLTrackElement extends HTMLElement native "*HTMLTrackElement" { 4928 class HTMLTrackElement extends HTMLElement native "*HTMLTrackElement" {
3949 4929
3950 static final int ERROR = 3; 4930 static final int ERROR = 3;
3951 4931
3952 static final int LOADED = 2; 4932 static final int LOADED = 2;
3953 4933
3954 static final int LOADING = 1; 4934 static final int LOADING = 1;
3955 4935
3956 static final int NONE = 0; 4936 static final int NONE = 0;
3957 4937
3958 bool isDefault; 4938 bool get isDefault() native "return this.isDefault;";
3959 4939
3960 String kind; 4940 void set isDefault(bool value) native "this.isDefault = value;";
3961 4941
3962 String label; 4942 String get kind() native "return this.kind;";
3963 4943
3964 int readyState; 4944 void set kind(String value) native "this.kind = value;";
3965 4945
3966 String src; 4946 String get label() native "return this.label;";
3967 4947
3968 String srclang; 4948 void set label(String value) native "this.label = value;";
3969 4949
3970 TextTrack track; 4950 int get readyState() native "return this.readyState;";
4951
4952 String get src() native "return this.src;";
4953
4954 void set src(String value) native "this.src = value;";
4955
4956 String get srclang() native "return this.srclang;";
4957
4958 void set srclang(String value) native "this.srclang = value;";
4959
4960 TextTrack get track() native "return this.track;";
3971 } 4961 }
3972 4962
3973 class HTMLUListElement extends HTMLElement native "*HTMLUListElement" { 4963 class HTMLUListElement extends HTMLElement native "*HTMLUListElement" {
3974 4964
3975 bool compact; 4965 bool get compact() native "return this.compact;";
3976 4966
3977 String type; 4967 void set compact(bool value) native "this.compact = value;";
4968
4969 String get type() native "return this.type;";
4970
4971 void set type(String value) native "this.type = value;";
3978 } 4972 }
3979 4973
3980 class HTMLUnknownElement extends HTMLElement native "*HTMLUnknownElement" { 4974 class HTMLUnknownElement extends HTMLElement native "*HTMLUnknownElement" {
3981 } 4975 }
3982 4976
3983 class HTMLVideoElement extends HTMLMediaElement native "*HTMLVideoElement" { 4977 class HTMLVideoElement extends HTMLMediaElement native "*HTMLVideoElement" {
3984 4978
3985 int height; 4979 int get height() native "return this.height;";
3986 4980
3987 String poster; 4981 void set height(int value) native "this.height = value;";
3988 4982
3989 int videoHeight; 4983 String get poster() native "return this.poster;";
3990 4984
3991 int videoWidth; 4985 void set poster(String value) native "this.poster = value;";
3992 4986
3993 int webkitDecodedFrameCount; 4987 int get videoHeight() native "return this.videoHeight;";
3994 4988
3995 bool webkitDisplayingFullscreen; 4989 int get videoWidth() native "return this.videoWidth;";
3996 4990
3997 int webkitDroppedFrameCount; 4991 int get webkitDecodedFrameCount() native "return this.webkitDecodedFrameCount; ";
3998 4992
3999 bool webkitSupportsFullscreen; 4993 bool get webkitDisplayingFullscreen() native "return this.webkitDisplayingFull screen;";
4000 4994
4001 int width; 4995 int get webkitDroppedFrameCount() native "return this.webkitDroppedFrameCount; ";
4996
4997 bool get webkitSupportsFullscreen() native "return this.webkitSupportsFullscre en;";
4998
4999 int get width() native "return this.width;";
5000
5001 void set width(int value) native "this.width = value;";
4002 5002
4003 void webkitEnterFullScreen() native; 5003 void webkitEnterFullScreen() native;
4004 5004
4005 void webkitEnterFullscreen() native; 5005 void webkitEnterFullscreen() native;
4006 5006
4007 void webkitExitFullScreen() native; 5007 void webkitExitFullScreen() native;
4008 5008
4009 void webkitExitFullscreen() native; 5009 void webkitExitFullscreen() native;
4010 } 5010 }
4011 5011
4012 class HashChangeEvent extends Event native "*HashChangeEvent" { 5012 class HashChangeEvent extends Event native "*HashChangeEvent" {
4013 5013
4014 String newURL; 5014 String get newURL() native "return this.newURL;";
4015 5015
4016 String oldURL; 5016 String get oldURL() native "return this.oldURL;";
4017 5017
4018 void initHashChangeEvent(String type, bool canBubble, bool cancelable, String oldURL, String newURL) native; 5018 void initHashChangeEvent(String type, bool canBubble, bool cancelable, String oldURL, String newURL) native;
4019 } 5019 }
4020 5020
4021 class HighPass2FilterNode extends AudioNode native "*HighPass2FilterNode" { 5021 class HighPass2FilterNode extends AudioNode native "*HighPass2FilterNode" {
4022 5022
4023 AudioParam cutoff; 5023 AudioParam get cutoff() native "return this.cutoff;";
4024 5024
4025 AudioParam resonance; 5025 AudioParam get resonance() native "return this.resonance;";
4026 } 5026 }
4027 5027
4028 class History native "*History" { 5028 class History native "*History" {
4029 5029
4030 int length; 5030 int get length() native "return this.length;";
4031 5031
4032 void back() native; 5032 void back() native;
4033 5033
4034 void forward() native; 5034 void forward() native;
4035 5035
4036 void go(int distance) native; 5036 void go(int distance) native;
4037 5037
4038 void pushState(Object data, String title, [String url = null]) native; 5038 void pushState(Object data, String title, [String url = null]) native;
4039 5039
4040 void replaceState(Object data, String title, [String url = null]) native; 5040 void replaceState(Object data, String title, [String url = null]) native;
(...skipping 13 matching lines...) Expand all
4054 class IDBCursor native "*IDBCursor" { 5054 class IDBCursor native "*IDBCursor" {
4055 5055
4056 static final int NEXT = 0; 5056 static final int NEXT = 0;
4057 5057
4058 static final int NEXT_NO_DUPLICATE = 1; 5058 static final int NEXT_NO_DUPLICATE = 1;
4059 5059
4060 static final int PREV = 2; 5060 static final int PREV = 2;
4061 5061
4062 static final int PREV_NO_DUPLICATE = 3; 5062 static final int PREV_NO_DUPLICATE = 3;
4063 5063
4064 int direction; 5064 int get direction() native "return this.direction;";
4065 5065
4066 IDBKey key; 5066 IDBKey get key() native "return this.key;";
4067 5067
4068 IDBKey primaryKey; 5068 IDBKey get primaryKey() native "return this.primaryKey;";
4069 5069
4070 IDBAny source; 5070 IDBAny get source() native "return this.source;";
4071 5071
4072 void continueFunction([IDBKey key = null]) native; 5072 void continueFunction([IDBKey key = null]) native;
4073 5073
4074 IDBRequest delete() native; 5074 IDBRequest delete() native;
4075 5075
4076 IDBRequest update(String value) native; 5076 IDBRequest update(String value) native;
4077 5077
4078 var dartObjectLocalStorage; 5078 var dartObjectLocalStorage;
4079 5079
4080 String get typeName() native; 5080 String get typeName() native;
4081 } 5081 }
4082 5082
4083 class IDBCursorWithValue extends IDBCursor native "*IDBCursorWithValue" { 5083 class IDBCursorWithValue extends IDBCursor native "*IDBCursorWithValue" {
4084 5084
4085 IDBAny value; 5085 IDBAny get value() native "return this.value;";
4086 } 5086 }
4087 5087
4088 class IDBDatabase native "*IDBDatabase" { 5088 class IDBDatabase native "*IDBDatabase" {
4089 5089
4090 String name; 5090 String get name() native "return this.name;";
4091 5091
4092 EventListener onabort; 5092 EventListener get onabort() native "return this.onabort;";
4093 5093
4094 EventListener onerror; 5094 void set onabort(EventListener value) native "this.onabort = value;";
4095 5095
4096 EventListener onversionchange; 5096 EventListener get onerror() native "return this.onerror;";
4097 5097
4098 String version; 5098 void set onerror(EventListener value) native "this.onerror = value;";
5099
5100 EventListener get onversionchange() native "return this.onversionchange;";
5101
5102 void set onversionchange(EventListener value) native "this.onversionchange = v alue;";
5103
5104 String get version() native "return this.version;";
4099 5105
4100 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native; 5106 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
4101 5107
4102 void close() native; 5108 void close() native;
4103 5109
4104 IDBObjectStore createObjectStore(String name) native; 5110 IDBObjectStore createObjectStore(String name) native;
4105 5111
4106 void deleteObjectStore(String name) native; 5112 void deleteObjectStore(String name) native;
4107 5113
4108 bool dispatchEvent(Event evt) native; 5114 bool dispatchEvent(Event evt) native;
4109 5115
4110 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native; 5116 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
4111 5117
4112 IDBVersionChangeRequest setVersion(String version) native; 5118 IDBVersionChangeRequest setVersion(String version) native;
4113 5119
4114 IDBTransaction transaction(String storeName, int mode) native; 5120 IDBTransaction transaction(String storeName, int mode) native;
4115 5121
4116 var dartObjectLocalStorage; 5122 var dartObjectLocalStorage;
4117 5123
4118 String get typeName() native; 5124 String get typeName() native;
4119 } 5125 }
4120 5126
4121 class IDBDatabaseError native "*IDBDatabaseError" { 5127 class IDBDatabaseError native "*IDBDatabaseError" {
4122 5128
4123 int code; 5129 int get code() native "return this.code;";
4124 5130
4125 String message; 5131 void set code(int value) native "this.code = value;";
5132
5133 String get message() native "return this.message;";
5134
5135 void set message(String value) native "this.message = value;";
4126 5136
4127 var dartObjectLocalStorage; 5137 var dartObjectLocalStorage;
4128 5138
4129 String get typeName() native; 5139 String get typeName() native;
4130 } 5140 }
4131 5141
4132 class IDBDatabaseException native "*IDBDatabaseException" { 5142 class IDBDatabaseException native "*IDBDatabaseException" {
4133 5143
4134 static final int ABORT_ERR = 8; 5144 static final int ABORT_ERR = 8;
4135 5145
(...skipping 14 matching lines...) Expand all
4150 static final int READ_ONLY_ERR = 9; 5160 static final int READ_ONLY_ERR = 9;
4151 5161
4152 static final int TIMEOUT_ERR = 10; 5162 static final int TIMEOUT_ERR = 10;
4153 5163
4154 static final int TRANSACTION_INACTIVE_ERR = 7; 5164 static final int TRANSACTION_INACTIVE_ERR = 7;
4155 5165
4156 static final int UNKNOWN_ERR = 1; 5166 static final int UNKNOWN_ERR = 1;
4157 5167
4158 static final int VER_ERR = 12; 5168 static final int VER_ERR = 12;
4159 5169
4160 int code; 5170 int get code() native "return this.code;";
4161 5171
4162 String message; 5172 String get message() native "return this.message;";
4163 5173
4164 String name; 5174 String get name() native "return this.name;";
4165 5175
4166 String toString() native; 5176 String toString() native;
4167 5177
4168 var dartObjectLocalStorage; 5178 var dartObjectLocalStorage;
4169 5179
4170 String get typeName() native; 5180 String get typeName() native;
4171 } 5181 }
4172 5182
4173 class IDBFactory native "*IDBFactory" { 5183 class IDBFactory native "*IDBFactory" {
4174 5184
4175 int cmp(IDBKey first, IDBKey second) native; 5185 int cmp(IDBKey first, IDBKey second) native;
4176 5186
4177 IDBVersionChangeRequest deleteDatabase(String name) native; 5187 IDBVersionChangeRequest deleteDatabase(String name) native;
4178 5188
4179 IDBRequest getDatabaseNames() native; 5189 IDBRequest getDatabaseNames() native;
4180 5190
4181 IDBRequest open(String name) native; 5191 IDBRequest open(String name) native;
4182 5192
4183 var dartObjectLocalStorage; 5193 var dartObjectLocalStorage;
4184 5194
4185 String get typeName() native; 5195 String get typeName() native;
4186 } 5196 }
4187 5197
4188 class IDBIndex native "*IDBIndex" { 5198 class IDBIndex native "*IDBIndex" {
4189 5199
4190 String keyPath; 5200 String get keyPath() native "return this.keyPath;";
4191 5201
4192 bool multiEntry; 5202 bool get multiEntry() native "return this.multiEntry;";
4193 5203
4194 String name; 5204 String get name() native "return this.name;";
4195 5205
4196 IDBObjectStore objectStore; 5206 IDBObjectStore get objectStore() native "return this.objectStore;";
4197 5207
4198 bool unique; 5208 bool get unique() native "return this.unique;";
4199 5209
4200 IDBRequest count([IDBKeyRange range = null]) native; 5210 IDBRequest count([IDBKeyRange range = null]) native;
4201 5211
4202 IDBRequest getObject(IDBKey key) native; 5212 IDBRequest getObject(IDBKey key) native;
4203 5213
4204 IDBRequest getKey(IDBKey key) native; 5214 IDBRequest getKey(IDBKey key) native;
4205 5215
4206 IDBRequest openCursor([IDBKeyRange range = null, int direction = null]) native ; 5216 IDBRequest openCursor([IDBKeyRange range = null, int direction = null]) native ;
4207 5217
4208 IDBRequest openKeyCursor([IDBKeyRange range = null, int direction = null]) nat ive; 5218 IDBRequest openKeyCursor([IDBKeyRange range = null, int direction = null]) nat ive;
4209 5219
4210 var dartObjectLocalStorage; 5220 var dartObjectLocalStorage;
4211 5221
4212 String get typeName() native; 5222 String get typeName() native;
4213 } 5223 }
4214 5224
4215 class IDBKey native "*IDBKey" { 5225 class IDBKey native "*IDBKey" {
4216 5226
4217 var dartObjectLocalStorage; 5227 var dartObjectLocalStorage;
4218 5228
4219 String get typeName() native; 5229 String get typeName() native;
4220 } 5230 }
4221 5231
4222 class IDBKeyRange native "*IDBKeyRange" { 5232 class IDBKeyRange native "*IDBKeyRange" {
4223 5233
4224 IDBKey lower; 5234 IDBKey get lower() native "return this.lower;";
4225 5235
4226 bool lowerOpen; 5236 bool get lowerOpen() native "return this.lowerOpen;";
4227 5237
4228 IDBKey upper; 5238 IDBKey get upper() native "return this.upper;";
4229 5239
4230 bool upperOpen; 5240 bool get upperOpen() native "return this.upperOpen;";
4231 5241
4232 IDBKeyRange bound(IDBKey lower, IDBKey upper, [bool lowerOpen = null, bool upp erOpen = null]) native; 5242 IDBKeyRange bound(IDBKey lower, IDBKey upper, [bool lowerOpen = null, bool upp erOpen = null]) native;
4233 5243
4234 IDBKeyRange lowerBound(IDBKey bound, [bool open = null]) native; 5244 IDBKeyRange lowerBound(IDBKey bound, [bool open = null]) native;
4235 5245
4236 IDBKeyRange only(IDBKey value) native; 5246 IDBKeyRange only(IDBKey value) native;
4237 5247
4238 IDBKeyRange upperBound(IDBKey bound, [bool open = null]) native; 5248 IDBKeyRange upperBound(IDBKey bound, [bool open = null]) native;
4239 5249
4240 var dartObjectLocalStorage; 5250 var dartObjectLocalStorage;
4241 5251
4242 String get typeName() native; 5252 String get typeName() native;
4243 } 5253 }
4244 5254
4245 class IDBObjectStore native "*IDBObjectStore" { 5255 class IDBObjectStore native "*IDBObjectStore" {
4246 5256
4247 String keyPath; 5257 String get keyPath() native "return this.keyPath;";
4248 5258
4249 String name; 5259 String get name() native "return this.name;";
4250 5260
4251 IDBTransaction transaction; 5261 IDBTransaction get transaction() native "return this.transaction;";
4252 5262
4253 IDBRequest add(String value, [IDBKey key = null]) native; 5263 IDBRequest add(String value, [IDBKey key = null]) native;
4254 5264
4255 IDBRequest clear() native; 5265 IDBRequest clear() native;
4256 5266
4257 IDBRequest count([IDBKeyRange range = null]) native; 5267 IDBRequest count([IDBKeyRange range = null]) native;
4258 5268
4259 IDBIndex createIndex(String name, String keyPath) native; 5269 IDBIndex createIndex(String name, String keyPath) native;
4260 5270
4261 IDBRequest delete(IDBKey key) native; 5271 IDBRequest delete(IDBKey key) native;
(...skipping 12 matching lines...) Expand all
4274 5284
4275 String get typeName() native; 5285 String get typeName() native;
4276 } 5286 }
4277 5287
4278 class IDBRequest native "*IDBRequest" { 5288 class IDBRequest native "*IDBRequest" {
4279 5289
4280 static final int DONE = 2; 5290 static final int DONE = 2;
4281 5291
4282 static final int LOADING = 1; 5292 static final int LOADING = 1;
4283 5293
4284 int errorCode; 5294 int get errorCode() native "return this.errorCode;";
4285 5295
4286 EventListener onerror; 5296 EventListener get onerror() native "return this.onerror;";
4287 5297
4288 EventListener onsuccess; 5298 void set onerror(EventListener value) native "this.onerror = value;";
4289 5299
4290 int readyState; 5300 EventListener get onsuccess() native "return this.onsuccess;";
4291 5301
4292 IDBAny result; 5302 void set onsuccess(EventListener value) native "this.onsuccess = value;";
4293 5303
4294 IDBAny source; 5304 int get readyState() native "return this.readyState;";
4295 5305
4296 IDBTransaction transaction; 5306 IDBAny get result() native "return this.result;";
4297 5307
4298 String webkitErrorMessage; 5308 IDBAny get source() native "return this.source;";
5309
5310 IDBTransaction get transaction() native "return this.transaction;";
5311
5312 String get webkitErrorMessage() native "return this.webkitErrorMessage;";
4299 5313
4300 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native; 5314 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
4301 5315
4302 bool dispatchEvent(Event evt) native; 5316 bool dispatchEvent(Event evt) native;
4303 5317
4304 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native; 5318 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
4305 5319
4306 var dartObjectLocalStorage; 5320 var dartObjectLocalStorage;
4307 5321
4308 String get typeName() native; 5322 String get typeName() native;
4309 } 5323 }
4310 5324
4311 class IDBTransaction native "*IDBTransaction" { 5325 class IDBTransaction native "*IDBTransaction" {
4312 5326
4313 static final int READ_ONLY = 0; 5327 static final int READ_ONLY = 0;
4314 5328
4315 static final int READ_WRITE = 1; 5329 static final int READ_WRITE = 1;
4316 5330
4317 static final int VERSION_CHANGE = 2; 5331 static final int VERSION_CHANGE = 2;
4318 5332
4319 IDBDatabase db; 5333 IDBDatabase get db() native "return this.db;";
4320 5334
4321 int mode; 5335 int get mode() native "return this.mode;";
4322 5336
4323 EventListener onabort; 5337 EventListener get onabort() native "return this.onabort;";
4324 5338
4325 EventListener oncomplete; 5339 void set onabort(EventListener value) native "this.onabort = value;";
4326 5340
4327 EventListener onerror; 5341 EventListener get oncomplete() native "return this.oncomplete;";
5342
5343 void set oncomplete(EventListener value) native "this.oncomplete = value;";
5344
5345 EventListener get onerror() native "return this.onerror;";
5346
5347 void set onerror(EventListener value) native "this.onerror = value;";
4328 5348
4329 void abort() native; 5349 void abort() native;
4330 5350
4331 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native; 5351 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
4332 5352
4333 bool dispatchEvent(Event evt) native; 5353 bool dispatchEvent(Event evt) native;
4334 5354
4335 IDBObjectStore objectStore(String name) native; 5355 IDBObjectStore objectStore(String name) native;
4336 5356
4337 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native; 5357 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
4338 5358
4339 var dartObjectLocalStorage; 5359 var dartObjectLocalStorage;
4340 5360
4341 String get typeName() native; 5361 String get typeName() native;
4342 } 5362 }
4343 5363
4344 class IDBVersionChangeEvent extends Event native "*IDBVersionChangeEvent" { 5364 class IDBVersionChangeEvent extends Event native "*IDBVersionChangeEvent" {
4345 5365
4346 String version; 5366 String get version() native "return this.version;";
4347 } 5367 }
4348 5368
4349 class IDBVersionChangeRequest extends IDBRequest native "*IDBVersionChangeReques t" { 5369 class IDBVersionChangeRequest extends IDBRequest native "*IDBVersionChangeReques t" {
4350 5370
4351 EventListener onblocked; 5371 EventListener get onblocked() native "return this.onblocked;";
5372
5373 void set onblocked(EventListener value) native "this.onblocked = value;";
4352 } 5374 }
4353 5375
4354 class ImageData native "*ImageData" { 5376 class ImageData native "*ImageData" {
4355 5377
4356 CanvasPixelArray data; 5378 CanvasPixelArray get data() native "return this.data;";
4357 5379
4358 int height; 5380 int get height() native "return this.height;";
4359 5381
4360 int width; 5382 int get width() native "return this.width;";
4361 5383
4362 var dartObjectLocalStorage; 5384 var dartObjectLocalStorage;
4363 5385
4364 String get typeName() native; 5386 String get typeName() native;
4365 } 5387 }
4366 5388
4367 class InjectedScriptHost native "*InjectedScriptHost" { 5389 class InjectedScriptHost native "*InjectedScriptHost" {
4368 5390
4369 void clearConsoleMessages() native; 5391 void clearConsoleMessages() native;
4370 5392
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
4457 factory Int16Array(int length) => _construct(length); 5479 factory Int16Array(int length) => _construct(length);
4458 5480
4459 factory Int16Array.fromList(List<int> list) => _construct(list); 5481 factory Int16Array.fromList(List<int> list) => _construct(list);
4460 5482
4461 factory Int16Array.fromBuffer(ArrayBuffer buffer) => _construct(buffer); 5483 factory Int16Array.fromBuffer(ArrayBuffer buffer) => _construct(buffer);
4462 5484
4463 static _construct(arg) native 'return new Int16Array(arg);'; 5485 static _construct(arg) native 'return new Int16Array(arg);';
4464 5486
4465 static final int BYTES_PER_ELEMENT = 2; 5487 static final int BYTES_PER_ELEMENT = 2;
4466 5488
4467 int length; 5489 int get length() native "return this.length;";
4468 5490
4469 int operator[](int index) native; 5491 int operator[](int index) native;
4470 5492
4471 void operator[]=(int index, int value) native; 5493 void operator[]=(int index, int value) native;
4472 5494
4473 Int16Array subarray(int start, [int end = null]) native; 5495 Int16Array subarray(int start, [int end = null]) native;
4474 } 5496 }
4475 5497
4476 class Int32Array extends ArrayBufferView implements List<int> native "*Int32Arra y" { 5498 class Int32Array extends ArrayBufferView implements List<int> native "*Int32Arra y" {
4477 5499
4478 factory Int32Array(int length) => _construct(length); 5500 factory Int32Array(int length) => _construct(length);
4479 5501
4480 factory Int32Array.fromList(List<int> list) => _construct(list); 5502 factory Int32Array.fromList(List<int> list) => _construct(list);
4481 5503
4482 factory Int32Array.fromBuffer(ArrayBuffer buffer) => _construct(buffer); 5504 factory Int32Array.fromBuffer(ArrayBuffer buffer) => _construct(buffer);
4483 5505
4484 static _construct(arg) native 'return new Int32Array(arg);'; 5506 static _construct(arg) native 'return new Int32Array(arg);';
4485 5507
4486 static final int BYTES_PER_ELEMENT = 4; 5508 static final int BYTES_PER_ELEMENT = 4;
4487 5509
4488 int length; 5510 int get length() native "return this.length;";
4489 5511
4490 int operator[](int index) native; 5512 int operator[](int index) native;
4491 5513
4492 void operator[]=(int index, int value) native; 5514 void operator[]=(int index, int value) native;
4493 5515
4494 Int32Array subarray(int start, [int end = null]) native; 5516 Int32Array subarray(int start, [int end = null]) native;
4495 } 5517 }
4496 5518
4497 class Int8Array extends ArrayBufferView implements List<int> native "*Int8Array" { 5519 class Int8Array extends ArrayBufferView implements List<int> native "*Int8Array" {
4498 5520
4499 factory Int8Array(int length) => _construct(length); 5521 factory Int8Array(int length) => _construct(length);
4500 5522
4501 factory Int8Array.fromList(List<int> list) => _construct(list); 5523 factory Int8Array.fromList(List<int> list) => _construct(list);
4502 5524
4503 factory Int8Array.fromBuffer(ArrayBuffer buffer) => _construct(buffer); 5525 factory Int8Array.fromBuffer(ArrayBuffer buffer) => _construct(buffer);
4504 5526
4505 static _construct(arg) native 'return new Int8Array(arg);'; 5527 static _construct(arg) native 'return new Int8Array(arg);';
4506 5528
4507 static final int BYTES_PER_ELEMENT = 1; 5529 static final int BYTES_PER_ELEMENT = 1;
4508 5530
4509 int length; 5531 int get length() native "return this.length;";
4510 5532
4511 int operator[](int index) native; 5533 int operator[](int index) native;
4512 5534
4513 void operator[]=(int index, int value) native; 5535 void operator[]=(int index, int value) native;
4514 5536
4515 Int8Array subarray(int start, [int end = null]) native; 5537 Int8Array subarray(int start, [int end = null]) native;
4516 } 5538 }
4517 5539
4518 class JavaScriptAudioNode extends AudioNode native "*JavaScriptAudioNode" { 5540 class JavaScriptAudioNode extends AudioNode native "*JavaScriptAudioNode" {
4519 5541
4520 int bufferSize; 5542 int get bufferSize() native "return this.bufferSize;";
4521 5543
4522 EventListener onaudioprocess; 5544 EventListener get onaudioprocess() native "return this.onaudioprocess;";
5545
5546 void set onaudioprocess(EventListener value) native "this.onaudioprocess = val ue;";
4523 } 5547 }
4524 5548
4525 class JavaScriptCallFrame native "*JavaScriptCallFrame" { 5549 class JavaScriptCallFrame native "*JavaScriptCallFrame" {
4526 5550
4527 static final int CATCH_SCOPE = 4; 5551 static final int CATCH_SCOPE = 4;
4528 5552
4529 static final int CLOSURE_SCOPE = 3; 5553 static final int CLOSURE_SCOPE = 3;
4530 5554
4531 static final int GLOBAL_SCOPE = 0; 5555 static final int GLOBAL_SCOPE = 0;
4532 5556
4533 static final int LOCAL_SCOPE = 1; 5557 static final int LOCAL_SCOPE = 1;
4534 5558
4535 static final int WITH_SCOPE = 2; 5559 static final int WITH_SCOPE = 2;
4536 5560
4537 JavaScriptCallFrame caller; 5561 JavaScriptCallFrame get caller() native "return this.caller;";
4538 5562
4539 int column; 5563 int get column() native "return this.column;";
4540 5564
4541 String functionName; 5565 String get functionName() native "return this.functionName;";
4542 5566
4543 int line; 5567 int get line() native "return this.line;";
4544 5568
4545 List scopeChain; 5569 List get scopeChain() native "return this.scopeChain;";
4546 5570
4547 int sourceID; 5571 int get sourceID() native "return this.sourceID;";
4548 5572
4549 String type; 5573 String get type() native "return this.type;";
4550 5574
4551 void evaluate(String script) native; 5575 void evaluate(String script) native;
4552 5576
4553 int scopeType(int scopeIndex) native; 5577 int scopeType(int scopeIndex) native;
4554 5578
4555 var dartObjectLocalStorage; 5579 var dartObjectLocalStorage;
4556 5580
4557 String get typeName() native; 5581 String get typeName() native;
4558 } 5582 }
4559 5583
4560 class KeyboardEvent extends UIEvent native "*KeyboardEvent" { 5584 class KeyboardEvent extends UIEvent native "*KeyboardEvent" {
4561 5585
4562 bool altGraphKey; 5586 bool get altGraphKey() native "return this.altGraphKey;";
4563 5587
4564 bool altKey; 5588 bool get altKey() native "return this.altKey;";
4565 5589
4566 bool ctrlKey; 5590 bool get ctrlKey() native "return this.ctrlKey;";
4567 5591
4568 String keyIdentifier; 5592 String get keyIdentifier() native "return this.keyIdentifier;";
4569 5593
4570 int keyLocation; 5594 int get keyLocation() native "return this.keyLocation;";
4571 5595
4572 bool metaKey; 5596 bool get metaKey() native "return this.metaKey;";
4573 5597
4574 bool shiftKey; 5598 bool get shiftKey() native "return this.shiftKey;";
4575 5599
4576 void initKeyboardEvent(String type, bool canBubble, bool cancelable, DOMWindow view, String keyIdentifier, int keyLocation, bool ctrlKey, bool altKey, bool sh iftKey, bool metaKey, bool altGraphKey) native; 5600 void initKeyboardEvent(String type, bool canBubble, bool cancelable, DOMWindow view, String keyIdentifier, int keyLocation, bool ctrlKey, bool altKey, bool sh iftKey, bool metaKey, bool altGraphKey) native;
4577 } 5601 }
4578 5602
4579 class Location native "*Location" { 5603 class Location native "*Location" {
4580 5604
4581 String hash; 5605 String get hash() native "return this.hash;";
4582 5606
4583 String host; 5607 void set hash(String value) native "this.hash = value;";
4584 5608
4585 String hostname; 5609 String get host() native "return this.host;";
4586 5610
4587 String href; 5611 void set host(String value) native "this.host = value;";
4588 5612
4589 String origin; 5613 String get hostname() native "return this.hostname;";
4590 5614
4591 String pathname; 5615 void set hostname(String value) native "this.hostname = value;";
4592 5616
4593 String port; 5617 String get href() native "return this.href;";
4594 5618
4595 String protocol; 5619 void set href(String value) native "this.href = value;";
4596 5620
4597 String search; 5621 String get origin() native "return this.origin;";
5622
5623 String get pathname() native "return this.pathname;";
5624
5625 void set pathname(String value) native "this.pathname = value;";
5626
5627 String get port() native "return this.port;";
5628
5629 void set port(String value) native "this.port = value;";
5630
5631 String get protocol() native "return this.protocol;";
5632
5633 void set protocol(String value) native "this.protocol = value;";
5634
5635 String get search() native "return this.search;";
5636
5637 void set search(String value) native "this.search = value;";
4598 5638
4599 void assign(String url) native; 5639 void assign(String url) native;
4600 5640
4601 void reload() native; 5641 void reload() native;
4602 5642
4603 void replace(String url) native; 5643 void replace(String url) native;
4604 5644
4605 String toString() native; 5645 String toString() native;
4606 5646
4607 var dartObjectLocalStorage; 5647 var dartObjectLocalStorage;
4608 5648
4609 String get typeName() native; 5649 String get typeName() native;
4610 } 5650 }
4611 5651
4612 class LowPass2FilterNode extends AudioNode native "*LowPass2FilterNode" { 5652 class LowPass2FilterNode extends AudioNode native "*LowPass2FilterNode" {
4613 5653
4614 AudioParam cutoff; 5654 AudioParam get cutoff() native "return this.cutoff;";
4615 5655
4616 AudioParam resonance; 5656 AudioParam get resonance() native "return this.resonance;";
4617 } 5657 }
4618 5658
4619 class MediaController native "*MediaController" { 5659 class MediaController native "*MediaController" {
4620 5660
4621 TimeRanges buffered; 5661 TimeRanges get buffered() native "return this.buffered;";
4622 5662
4623 num currentTime; 5663 num get currentTime() native "return this.currentTime;";
4624 5664
4625 num defaultPlaybackRate; 5665 void set currentTime(num value) native "this.currentTime = value;";
4626 5666
4627 num duration; 5667 num get defaultPlaybackRate() native "return this.defaultPlaybackRate;";
4628 5668
4629 bool muted; 5669 void set defaultPlaybackRate(num value) native "this.defaultPlaybackRate = val ue;";
4630 5670
4631 bool paused; 5671 num get duration() native "return this.duration;";
4632 5672
4633 num playbackRate; 5673 bool get muted() native "return this.muted;";
4634 5674
4635 TimeRanges played; 5675 void set muted(bool value) native "this.muted = value;";
4636 5676
4637 TimeRanges seekable; 5677 bool get paused() native "return this.paused;";
4638 5678
4639 num volume; 5679 num get playbackRate() native "return this.playbackRate;";
5680
5681 void set playbackRate(num value) native "this.playbackRate = value;";
5682
5683 TimeRanges get played() native "return this.played;";
5684
5685 TimeRanges get seekable() native "return this.seekable;";
5686
5687 num get volume() native "return this.volume;";
5688
5689 void set volume(num value) native "this.volume = value;";
4640 5690
4641 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native; 5691 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
4642 5692
4643 bool dispatchEvent(Event evt) native; 5693 bool dispatchEvent(Event evt) native;
4644 5694
4645 void pause() native; 5695 void pause() native;
4646 5696
4647 void play() native; 5697 void play() native;
4648 5698
4649 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native; 5699 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
4650 5700
4651 var dartObjectLocalStorage; 5701 var dartObjectLocalStorage;
4652 5702
4653 String get typeName() native; 5703 String get typeName() native;
4654 } 5704 }
4655 5705
4656 class MediaElementAudioSourceNode extends AudioSourceNode native "*MediaElementA udioSourceNode" { 5706 class MediaElementAudioSourceNode extends AudioSourceNode native "*MediaElementA udioSourceNode" {
4657 5707
4658 HTMLMediaElement mediaElement; 5708 HTMLMediaElement get mediaElement() native "return this.mediaElement;";
4659 } 5709 }
4660 5710
4661 class MediaError native "*MediaError" { 5711 class MediaError native "*MediaError" {
4662 5712
4663 static final int MEDIA_ERR_ABORTED = 1; 5713 static final int MEDIA_ERR_ABORTED = 1;
4664 5714
4665 static final int MEDIA_ERR_DECODE = 3; 5715 static final int MEDIA_ERR_DECODE = 3;
4666 5716
4667 static final int MEDIA_ERR_NETWORK = 2; 5717 static final int MEDIA_ERR_NETWORK = 2;
4668 5718
4669 static final int MEDIA_ERR_SRC_NOT_SUPPORTED = 4; 5719 static final int MEDIA_ERR_SRC_NOT_SUPPORTED = 4;
4670 5720
4671 int code; 5721 int get code() native "return this.code;";
4672 5722
4673 var dartObjectLocalStorage; 5723 var dartObjectLocalStorage;
4674 5724
4675 String get typeName() native; 5725 String get typeName() native;
4676 } 5726 }
4677 5727
4678 class MediaList native "*MediaList" { 5728 class MediaList native "*MediaList" {
4679 5729
4680 int length; 5730 int get length() native "return this.length;";
4681 5731
4682 String mediaText; 5732 String get mediaText() native "return this.mediaText;";
5733
5734 void set mediaText(String value) native "this.mediaText = value;";
4683 5735
4684 String operator[](int index) native; 5736 String operator[](int index) native;
4685 5737
4686 void operator[]=(int index, String value) { 5738 void operator[]=(int index, String value) {
4687 throw new UnsupportedOperationException("Cannot assign element of immutable List."); 5739 throw new UnsupportedOperationException("Cannot assign element of immutable List.");
4688 } 5740 }
4689 5741
4690 void appendMedium(String newMedium) native; 5742 void appendMedium(String newMedium) native;
4691 5743
4692 void deleteMedium(String oldMedium) native; 5744 void deleteMedium(String oldMedium) native;
4693 5745
4694 String item(int index) native; 5746 String item(int index) native;
4695 5747
4696 var dartObjectLocalStorage; 5748 var dartObjectLocalStorage;
4697 5749
4698 String get typeName() native; 5750 String get typeName() native;
4699 } 5751 }
4700 5752
4701 class MediaQueryList native "*MediaQueryList" { 5753 class MediaQueryList native "*MediaQueryList" {
4702 5754
4703 bool matches; 5755 bool get matches() native "return this.matches;";
4704 5756
4705 String media; 5757 String get media() native "return this.media;";
4706 5758
4707 void addListener(MediaQueryListListener listener) native; 5759 void addListener(MediaQueryListListener listener) native;
4708 5760
4709 void removeListener(MediaQueryListListener listener) native; 5761 void removeListener(MediaQueryListListener listener) native;
4710 5762
4711 var dartObjectLocalStorage; 5763 var dartObjectLocalStorage;
4712 5764
4713 String get typeName() native; 5765 String get typeName() native;
4714 } 5766 }
4715 5767
4716 class MediaQueryListListener native "*MediaQueryListListener" { 5768 class MediaQueryListListener native "*MediaQueryListListener" {
4717 5769
4718 void queryChanged(MediaQueryList list) native; 5770 void queryChanged(MediaQueryList list) native;
4719 5771
4720 var dartObjectLocalStorage; 5772 var dartObjectLocalStorage;
4721 5773
4722 String get typeName() native; 5774 String get typeName() native;
4723 } 5775 }
4724 5776
4725 class MemoryInfo native "*MemoryInfo" { 5777 class MemoryInfo native "*MemoryInfo" {
4726 5778
4727 int jsHeapSizeLimit; 5779 int get jsHeapSizeLimit() native "return this.jsHeapSizeLimit;";
4728 5780
4729 int totalJSHeapSize; 5781 int get totalJSHeapSize() native "return this.totalJSHeapSize;";
4730 5782
4731 int usedJSHeapSize; 5783 int get usedJSHeapSize() native "return this.usedJSHeapSize;";
4732 5784
4733 var dartObjectLocalStorage; 5785 var dartObjectLocalStorage;
4734 5786
4735 String get typeName() native; 5787 String get typeName() native;
4736 } 5788 }
4737 5789
4738 class MessageChannel native "*MessageChannel" { 5790 class MessageChannel native "*MessageChannel" {
4739 5791
4740 MessagePort port1; 5792 MessagePort get port1() native "return this.port1;";
4741 5793
4742 MessagePort port2; 5794 MessagePort get port2() native "return this.port2;";
4743 5795
4744 var dartObjectLocalStorage; 5796 var dartObjectLocalStorage;
4745 5797
4746 String get typeName() native; 5798 String get typeName() native;
4747 } 5799 }
4748 5800
4749 class MessageEvent extends Event native "*MessageEvent" { 5801 class MessageEvent extends Event native "*MessageEvent" {
4750 5802
4751 Object data; 5803 Object get data() native "return this.data;";
4752 5804
4753 String lastEventId; 5805 String get lastEventId() native "return this.lastEventId;";
4754 5806
4755 String origin; 5807 String get origin() native "return this.origin;";
4756 5808
4757 List ports; 5809 List get ports() native "return this.ports;";
4758 5810
4759 DOMWindow source; 5811 DOMWindow get source() native "return this.source;";
4760 5812
4761 void initMessageEvent(String typeArg, bool canBubbleArg, bool cancelableArg, O bject dataArg, String originArg, String lastEventIdArg, DOMWindow sourceArg, Lis t messagePorts) native; 5813 void initMessageEvent(String typeArg, bool canBubbleArg, bool cancelableArg, O bject dataArg, String originArg, String lastEventIdArg, DOMWindow sourceArg, Lis t messagePorts) native;
4762 5814
4763 void webkitInitMessageEvent(String typeArg, bool canBubbleArg, bool cancelable Arg, Object dataArg, String originArg, String lastEventIdArg, DOMWindow sourceAr g, List transferables) native; 5815 void webkitInitMessageEvent(String typeArg, bool canBubbleArg, bool cancelable Arg, Object dataArg, String originArg, String lastEventIdArg, DOMWindow sourceAr g, List transferables) native;
4764 } 5816 }
4765 5817
4766 class MessagePort native "*MessagePort" { 5818 class MessagePort native "*MessagePort" {
4767 5819
4768 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native; 5820 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
4769 5821
4770 void close() native; 5822 void close() native;
4771 5823
4772 bool dispatchEvent(Event evt) native; 5824 bool dispatchEvent(Event evt) native;
4773 5825
4774 void postMessage(String message, [List messagePorts = null]) native; 5826 void postMessage(String message, [List messagePorts = null]) native;
4775 5827
4776 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native; 5828 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
4777 5829
4778 void start() native; 5830 void start() native;
4779 5831
4780 void webkitPostMessage(String message, [List transfer = null]) native; 5832 void webkitPostMessage(String message, [List transfer = null]) native;
4781 5833
4782 var dartObjectLocalStorage; 5834 var dartObjectLocalStorage;
4783 5835
4784 String get typeName() native; 5836 String get typeName() native;
4785 } 5837 }
4786 5838
4787 class Metadata native "*Metadata" { 5839 class Metadata native "*Metadata" {
4788 5840
4789 Date modificationTime; 5841 Date get modificationTime() native "return this.modificationTime;";
4790 5842
4791 var dartObjectLocalStorage; 5843 var dartObjectLocalStorage;
4792 5844
4793 String get typeName() native; 5845 String get typeName() native;
4794 } 5846 }
4795 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 5847 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
4796 // for details. All rights reserved. Use of this source code is governed by a 5848 // for details. All rights reserved. Use of this source code is governed by a
4797 // BSD-style license that can be found in the LICENSE file. 5849 // BSD-style license that can be found in the LICENSE file.
4798 5850
4799 // WARNING: Do not edit - generated code. 5851 // WARNING: Do not edit - generated code.
4800 5852
4801 typedef bool MetadataCallback(Metadata metadata); 5853 typedef bool MetadataCallback(Metadata metadata);
4802 5854
4803 class MouseEvent extends UIEvent native "*MouseEvent" { 5855 class MouseEvent extends UIEvent native "*MouseEvent" {
4804 5856
4805 bool altKey; 5857 bool get altKey() native "return this.altKey;";
4806 5858
4807 int button; 5859 int get button() native "return this.button;";
4808 5860
4809 int clientX; 5861 int get clientX() native "return this.clientX;";
4810 5862
4811 int clientY; 5863 int get clientY() native "return this.clientY;";
4812 5864
4813 bool ctrlKey; 5865 bool get ctrlKey() native "return this.ctrlKey;";
4814 5866
4815 Clipboard dataTransfer; 5867 Clipboard get dataTransfer() native "return this.dataTransfer;";
4816 5868
4817 Node fromElement; 5869 Node get fromElement() native "return this.fromElement;";
4818 5870
4819 bool metaKey; 5871 bool get metaKey() native "return this.metaKey;";
4820 5872
4821 int offsetX; 5873 int get offsetX() native "return this.offsetX;";
4822 5874
4823 int offsetY; 5875 int get offsetY() native "return this.offsetY;";
4824 5876
4825 EventTarget relatedTarget; 5877 EventTarget get relatedTarget() native "return this.relatedTarget;";
4826 5878
4827 int screenX; 5879 int get screenX() native "return this.screenX;";
4828 5880
4829 int screenY; 5881 int get screenY() native "return this.screenY;";
4830 5882
4831 bool shiftKey; 5883 bool get shiftKey() native "return this.shiftKey;";
4832 5884
4833 Node toElement; 5885 Node get toElement() native "return this.toElement;";
4834 5886
4835 int webkitMovementX; 5887 int get webkitMovementX() native "return this.webkitMovementX;";
4836 5888
4837 int webkitMovementY; 5889 int get webkitMovementY() native "return this.webkitMovementY;";
4838 5890
4839 int x; 5891 int get x() native "return this.x;";
4840 5892
4841 int y; 5893 int get y() native "return this.y;";
4842 5894
4843 void initMouseEvent(String type, bool canBubble, bool cancelable, DOMWindow vi ew, int detail, int screenX, int screenY, int clientX, int clientY, bool ctrlKey , bool altKey, bool shiftKey, bool metaKey, int button, EventTarget relatedTarge t) native; 5895 void initMouseEvent(String type, bool canBubble, bool cancelable, DOMWindow vi ew, int detail, int screenX, int screenY, int clientX, int clientY, bool ctrlKey , bool altKey, bool shiftKey, bool metaKey, int button, EventTarget relatedTarge t) native;
4844 } 5896 }
4845 5897
4846 class MutationCallback native "*MutationCallback" { 5898 class MutationCallback native "*MutationCallback" {
4847 5899
4848 var dartObjectLocalStorage; 5900 var dartObjectLocalStorage;
4849 5901
4850 String get typeName() native; 5902 String get typeName() native;
4851 } 5903 }
4852 5904
4853 class MutationEvent extends Event native "*MutationEvent" { 5905 class MutationEvent extends Event native "*MutationEvent" {
4854 5906
4855 static final int ADDITION = 2; 5907 static final int ADDITION = 2;
4856 5908
4857 static final int MODIFICATION = 1; 5909 static final int MODIFICATION = 1;
4858 5910
4859 static final int REMOVAL = 3; 5911 static final int REMOVAL = 3;
4860 5912
4861 int attrChange; 5913 int get attrChange() native "return this.attrChange;";
4862 5914
4863 String attrName; 5915 String get attrName() native "return this.attrName;";
4864 5916
4865 String newValue; 5917 String get newValue() native "return this.newValue;";
4866 5918
4867 String prevValue; 5919 String get prevValue() native "return this.prevValue;";
4868 5920
4869 Node relatedNode; 5921 Node get relatedNode() native "return this.relatedNode;";
4870 5922
4871 void initMutationEvent(String type, bool canBubble, bool cancelable, Node rela tedNode, String prevValue, String newValue, String attrName, int attrChange) nat ive; 5923 void initMutationEvent(String type, bool canBubble, bool cancelable, Node rela tedNode, String prevValue, String newValue, String attrName, int attrChange) nat ive;
4872 } 5924 }
4873 5925
4874 class MutationRecord native "*MutationRecord" { 5926 class MutationRecord native "*MutationRecord" {
4875 5927
4876 NodeList addedNodes; 5928 NodeList get addedNodes() native "return this.addedNodes;";
4877 5929
4878 String attributeName; 5930 String get attributeName() native "return this.attributeName;";
4879 5931
4880 String attributeNamespace; 5932 String get attributeNamespace() native "return this.attributeNamespace;";
4881 5933
4882 Node nextSibling; 5934 Node get nextSibling() native "return this.nextSibling;";
4883 5935
4884 String oldValue; 5936 String get oldValue() native "return this.oldValue;";
4885 5937
4886 Node previousSibling; 5938 Node get previousSibling() native "return this.previousSibling;";
4887 5939
4888 NodeList removedNodes; 5940 NodeList get removedNodes() native "return this.removedNodes;";
4889 5941
4890 Node target; 5942 Node get target() native "return this.target;";
4891 5943
4892 String type; 5944 String get type() native "return this.type;";
4893 5945
4894 var dartObjectLocalStorage; 5946 var dartObjectLocalStorage;
4895 5947
4896 String get typeName() native; 5948 String get typeName() native;
4897 } 5949 }
4898 5950
4899 class NamedNodeMap native "*NamedNodeMap" { 5951 class NamedNodeMap native "*NamedNodeMap" {
4900 5952
4901 int length; 5953 int get length() native "return this.length;";
4902 5954
4903 Node operator[](int index) native; 5955 Node operator[](int index) native;
4904 5956
4905 void operator[]=(int index, Node value) { 5957 void operator[]=(int index, Node value) {
4906 throw new UnsupportedOperationException("Cannot assign element of immutable List."); 5958 throw new UnsupportedOperationException("Cannot assign element of immutable List.");
4907 } 5959 }
4908 5960
4909 Node getNamedItem(String name) native; 5961 Node getNamedItem(String name) native;
4910 5962
4911 Node getNamedItemNS(String namespaceURI, String localName) native; 5963 Node getNamedItemNS(String namespaceURI, String localName) native;
4912 5964
4913 Node item(int index) native; 5965 Node item(int index) native;
4914 5966
4915 Node removeNamedItem(String name) native; 5967 Node removeNamedItem(String name) native;
4916 5968
4917 Node removeNamedItemNS(String namespaceURI, String localName) native; 5969 Node removeNamedItemNS(String namespaceURI, String localName) native;
4918 5970
4919 Node setNamedItem(Node node) native; 5971 Node setNamedItem(Node node) native;
4920 5972
4921 Node setNamedItemNS(Node node) native; 5973 Node setNamedItemNS(Node node) native;
4922 5974
4923 var dartObjectLocalStorage; 5975 var dartObjectLocalStorage;
4924 5976
4925 String get typeName() native; 5977 String get typeName() native;
4926 } 5978 }
4927 5979
4928 class Navigator native "*Navigator" { 5980 class Navigator native "*Navigator" {
4929 5981
4930 String appCodeName; 5982 String get appCodeName() native "return this.appCodeName;";
4931 5983
4932 String appName; 5984 String get appName() native "return this.appName;";
4933 5985
4934 String appVersion; 5986 String get appVersion() native "return this.appVersion;";
4935 5987
4936 bool cookieEnabled; 5988 bool get cookieEnabled() native "return this.cookieEnabled;";
4937 5989
4938 Geolocation geolocation; 5990 Geolocation get geolocation() native "return this.geolocation;";
4939 5991
4940 String language; 5992 String get language() native "return this.language;";
4941 5993
4942 DOMMimeTypeArray mimeTypes; 5994 DOMMimeTypeArray get mimeTypes() native "return this.mimeTypes;";
4943 5995
4944 bool onLine; 5996 bool get onLine() native "return this.onLine;";
4945 5997
4946 String platform; 5998 String get platform() native "return this.platform;";
4947 5999
4948 DOMPluginArray plugins; 6000 DOMPluginArray get plugins() native "return this.plugins;";
4949 6001
4950 String product; 6002 String get product() native "return this.product;";
4951 6003
4952 String productSub; 6004 String get productSub() native "return this.productSub;";
4953 6005
4954 String userAgent; 6006 String get userAgent() native "return this.userAgent;";
4955 6007
4956 String vendor; 6008 String get vendor() native "return this.vendor;";
4957 6009
4958 String vendorSub; 6010 String get vendorSub() native "return this.vendorSub;";
4959 6011
4960 void getStorageUpdates() native; 6012 void getStorageUpdates() native;
4961 6013
4962 bool javaEnabled() native; 6014 bool javaEnabled() native;
4963 6015
4964 void registerProtocolHandler(String scheme, String url, String title) native; 6016 void registerProtocolHandler(String scheme, String url, String title) native;
4965 6017
4966 var dartObjectLocalStorage; 6018 var dartObjectLocalStorage;
4967 6019
4968 String get typeName() native; 6020 String get typeName() native;
(...skipping 30 matching lines...) Expand all
4999 static final int ENTITY_NODE = 6; 6051 static final int ENTITY_NODE = 6;
5000 6052
5001 static final int ENTITY_REFERENCE_NODE = 5; 6053 static final int ENTITY_REFERENCE_NODE = 5;
5002 6054
5003 static final int NOTATION_NODE = 12; 6055 static final int NOTATION_NODE = 12;
5004 6056
5005 static final int PROCESSING_INSTRUCTION_NODE = 7; 6057 static final int PROCESSING_INSTRUCTION_NODE = 7;
5006 6058
5007 static final int TEXT_NODE = 3; 6059 static final int TEXT_NODE = 3;
5008 6060
5009 NamedNodeMap attributes; 6061 NamedNodeMap get attributes() native "return this.attributes;";
5010 6062
5011 String baseURI; 6063 String get baseURI() native "return this.baseURI;";
5012 6064
5013 NodeList childNodes; 6065 NodeList get childNodes() native "return this.childNodes;";
5014 6066
5015 Node firstChild; 6067 Node get firstChild() native "return this.firstChild;";
5016 6068
5017 Node lastChild; 6069 Node get lastChild() native "return this.lastChild;";
5018 6070
5019 String localName; 6071 String get localName() native "return this.localName;";
5020 6072
5021 String namespaceURI; 6073 String get namespaceURI() native "return this.namespaceURI;";
5022 6074
5023 Node nextSibling; 6075 Node get nextSibling() native "return this.nextSibling;";
5024 6076
5025 String nodeName; 6077 String get nodeName() native "return this.nodeName;";
5026 6078
5027 int nodeType; 6079 int get nodeType() native "return this.nodeType;";
5028 6080
5029 String nodeValue; 6081 String get nodeValue() native "return this.nodeValue;";
5030 6082
5031 Document ownerDocument; 6083 void set nodeValue(String value) native "this.nodeValue = value;";
5032 6084
5033 Element parentElement; 6085 Document get ownerDocument() native "return this.ownerDocument;";
5034 6086
5035 Node parentNode; 6087 Element get parentElement() native "return this.parentElement;";
5036 6088
5037 String prefix; 6089 Node get parentNode() native "return this.parentNode;";
5038 6090
5039 Node previousSibling; 6091 String get prefix() native "return this.prefix;";
5040 6092
5041 String textContent; 6093 void set prefix(String value) native "this.prefix = value;";
6094
6095 Node get previousSibling() native "return this.previousSibling;";
6096
6097 String get textContent() native "return this.textContent;";
6098
6099 void set textContent(String value) native "this.textContent = value;";
5042 6100
5043 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native; 6101 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
5044 6102
5045 Node appendChild(Node newChild) native; 6103 Node appendChild(Node newChild) native;
5046 6104
5047 Node cloneNode(bool deep) native; 6105 Node cloneNode(bool deep) native;
5048 6106
5049 int compareDocumentPosition(Node other) native; 6107 int compareDocumentPosition(Node other) native;
5050 6108
5051 bool contains(Node other) native; 6109 bool contains(Node other) native;
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
5119 6177
5120 int acceptNode(Node n) native; 6178 int acceptNode(Node n) native;
5121 6179
5122 var dartObjectLocalStorage; 6180 var dartObjectLocalStorage;
5123 6181
5124 String get typeName() native; 6182 String get typeName() native;
5125 } 6183 }
5126 6184
5127 class NodeIterator native "*NodeIterator" { 6185 class NodeIterator native "*NodeIterator" {
5128 6186
5129 bool expandEntityReferences; 6187 bool get expandEntityReferences() native "return this.expandEntityReferences;" ;
5130 6188
5131 NodeFilter filter; 6189 NodeFilter get filter() native "return this.filter;";
5132 6190
5133 bool pointerBeforeReferenceNode; 6191 bool get pointerBeforeReferenceNode() native "return this.pointerBeforeReferen ceNode;";
5134 6192
5135 Node referenceNode; 6193 Node get referenceNode() native "return this.referenceNode;";
5136 6194
5137 Node root; 6195 Node get root() native "return this.root;";
5138 6196
5139 int whatToShow; 6197 int get whatToShow() native "return this.whatToShow;";
5140 6198
5141 void detach() native; 6199 void detach() native;
5142 6200
5143 Node nextNode() native; 6201 Node nextNode() native;
5144 6202
5145 Node previousNode() native; 6203 Node previousNode() native;
5146 6204
5147 var dartObjectLocalStorage; 6205 var dartObjectLocalStorage;
5148 6206
5149 String get typeName() native; 6207 String get typeName() native;
5150 } 6208 }
5151 6209
5152 class NodeList native "*NodeList" { 6210 class NodeList native "*NodeList" {
5153 6211
5154 int length; 6212 int get length() native "return this.length;";
5155 6213
5156 Node operator[](int index) native; 6214 Node operator[](int index) native;
5157 6215
5158 void operator[]=(int index, Node value) { 6216 void operator[]=(int index, Node value) {
5159 throw new UnsupportedOperationException("Cannot assign element of immutable List."); 6217 throw new UnsupportedOperationException("Cannot assign element of immutable List.");
5160 } 6218 }
5161 6219
5162 Node item(int index) native; 6220 Node item(int index) native;
5163 6221
5164 var dartObjectLocalStorage; 6222 var dartObjectLocalStorage;
5165 6223
5166 String get typeName() native; 6224 String get typeName() native;
5167 } 6225 }
5168 6226
5169 class NodeSelector native "*NodeSelector" { 6227 class NodeSelector native "*NodeSelector" {
5170 6228
5171 Element querySelector(String selectors) native; 6229 Element querySelector(String selectors) native;
5172 6230
5173 NodeList querySelectorAll(String selectors) native; 6231 NodeList querySelectorAll(String selectors) native;
5174 6232
5175 var dartObjectLocalStorage; 6233 var dartObjectLocalStorage;
5176 6234
5177 String get typeName() native; 6235 String get typeName() native;
5178 } 6236 }
5179 6237
5180 class Notation extends Node native "*Notation" { 6238 class Notation extends Node native "*Notation" {
5181 6239
5182 String publicId; 6240 String get publicId() native "return this.publicId;";
5183 6241
5184 String systemId; 6242 String get systemId() native "return this.systemId;";
5185 } 6243 }
5186 6244
5187 class Notification native "*Notification" { 6245 class Notification native "*Notification" {
5188 6246
5189 String dir; 6247 String get dir() native "return this.dir;";
5190 6248
5191 String replaceId; 6249 void set dir(String value) native "this.dir = value;";
6250
6251 String get replaceId() native "return this.replaceId;";
6252
6253 void set replaceId(String value) native "this.replaceId = value;";
5192 6254
5193 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native; 6255 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
5194 6256
5195 void cancel() native; 6257 void cancel() native;
5196 6258
5197 bool dispatchEvent(Event evt) native; 6259 bool dispatchEvent(Event evt) native;
5198 6260
5199 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native; 6261 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
5200 6262
5201 void show() native; 6263 void show() native;
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
5248 6310
5249 bool isVertexArrayOES(WebGLVertexArrayObjectOES arrayObject) native; 6311 bool isVertexArrayOES(WebGLVertexArrayObjectOES arrayObject) native;
5250 6312
5251 var dartObjectLocalStorage; 6313 var dartObjectLocalStorage;
5252 6314
5253 String get typeName() native; 6315 String get typeName() native;
5254 } 6316 }
5255 6317
5256 class OfflineAudioCompletionEvent extends Event native "*OfflineAudioCompletionE vent" { 6318 class OfflineAudioCompletionEvent extends Event native "*OfflineAudioCompletionE vent" {
5257 6319
5258 AudioBuffer renderedBuffer; 6320 AudioBuffer get renderedBuffer() native "return this.renderedBuffer;";
5259 } 6321 }
5260 6322
5261 class OperationNotAllowedException native "*OperationNotAllowedException" { 6323 class OperationNotAllowedException native "*OperationNotAllowedException" {
5262 6324
5263 static final int NOT_ALLOWED_ERR = 1; 6325 static final int NOT_ALLOWED_ERR = 1;
5264 6326
5265 int code; 6327 int get code() native "return this.code;";
5266 6328
5267 String message; 6329 String get message() native "return this.message;";
5268 6330
5269 String name; 6331 String get name() native "return this.name;";
5270 6332
5271 String toString() native; 6333 String toString() native;
5272 6334
5273 var dartObjectLocalStorage; 6335 var dartObjectLocalStorage;
5274 6336
5275 String get typeName() native; 6337 String get typeName() native;
5276 } 6338 }
5277 6339
5278 class OverflowEvent extends Event native "*OverflowEvent" { 6340 class OverflowEvent extends Event native "*OverflowEvent" {
5279 6341
5280 static final int BOTH = 2; 6342 static final int BOTH = 2;
5281 6343
5282 static final int HORIZONTAL = 0; 6344 static final int HORIZONTAL = 0;
5283 6345
5284 static final int VERTICAL = 1; 6346 static final int VERTICAL = 1;
5285 6347
5286 bool horizontalOverflow; 6348 bool get horizontalOverflow() native "return this.horizontalOverflow;";
5287 6349
5288 int orient; 6350 int get orient() native "return this.orient;";
5289 6351
5290 bool verticalOverflow; 6352 bool get verticalOverflow() native "return this.verticalOverflow;";
5291 } 6353 }
5292 6354
5293 class PageTransitionEvent extends Event native "*PageTransitionEvent" { 6355 class PageTransitionEvent extends Event native "*PageTransitionEvent" {
5294 6356
5295 bool persisted; 6357 bool get persisted() native "return this.persisted;";
5296 } 6358 }
5297 6359
5298 class Performance native "*Performance" { 6360 class Performance native "*Performance" {
5299 6361
5300 MemoryInfo memory; 6362 MemoryInfo get memory() native "return this.memory;";
5301 6363
5302 PerformanceNavigation navigation; 6364 PerformanceNavigation get navigation() native "return this.navigation;";
5303 6365
5304 PerformanceTiming timing; 6366 PerformanceTiming get timing() native "return this.timing;";
5305 6367
5306 var dartObjectLocalStorage; 6368 var dartObjectLocalStorage;
5307 6369
5308 String get typeName() native; 6370 String get typeName() native;
5309 } 6371 }
5310 6372
5311 class PerformanceNavigation native "*PerformanceNavigation" { 6373 class PerformanceNavigation native "*PerformanceNavigation" {
5312 6374
5313 static final int TYPE_BACK_FORWARD = 2; 6375 static final int TYPE_BACK_FORWARD = 2;
5314 6376
5315 static final int TYPE_NAVIGATE = 0; 6377 static final int TYPE_NAVIGATE = 0;
5316 6378
5317 static final int TYPE_RELOAD = 1; 6379 static final int TYPE_RELOAD = 1;
5318 6380
5319 static final int TYPE_RESERVED = 255; 6381 static final int TYPE_RESERVED = 255;
5320 6382
5321 int redirectCount; 6383 int get redirectCount() native "return this.redirectCount;";
5322 6384
5323 int type; 6385 int get type() native "return this.type;";
5324 6386
5325 var dartObjectLocalStorage; 6387 var dartObjectLocalStorage;
5326 6388
5327 String get typeName() native; 6389 String get typeName() native;
5328 } 6390 }
5329 6391
5330 class PerformanceTiming native "*PerformanceTiming" { 6392 class PerformanceTiming native "*PerformanceTiming" {
5331 6393
5332 int connectEnd; 6394 int get connectEnd() native "return this.connectEnd;";
5333 6395
5334 int connectStart; 6396 int get connectStart() native "return this.connectStart;";
5335 6397
5336 int domComplete; 6398 int get domComplete() native "return this.domComplete;";
5337 6399
5338 int domContentLoadedEventEnd; 6400 int get domContentLoadedEventEnd() native "return this.domContentLoadedEventEn d;";
5339 6401
5340 int domContentLoadedEventStart; 6402 int get domContentLoadedEventStart() native "return this.domContentLoadedEvent Start;";
5341 6403
5342 int domInteractive; 6404 int get domInteractive() native "return this.domInteractive;";
5343 6405
5344 int domLoading; 6406 int get domLoading() native "return this.domLoading;";
5345 6407
5346 int domainLookupEnd; 6408 int get domainLookupEnd() native "return this.domainLookupEnd;";
5347 6409
5348 int domainLookupStart; 6410 int get domainLookupStart() native "return this.domainLookupStart;";
5349 6411
5350 int fetchStart; 6412 int get fetchStart() native "return this.fetchStart;";
5351 6413
5352 int loadEventEnd; 6414 int get loadEventEnd() native "return this.loadEventEnd;";
5353 6415
5354 int loadEventStart; 6416 int get loadEventStart() native "return this.loadEventStart;";
5355 6417
5356 int navigationStart; 6418 int get navigationStart() native "return this.navigationStart;";
5357 6419
5358 int redirectEnd; 6420 int get redirectEnd() native "return this.redirectEnd;";
5359 6421
5360 int redirectStart; 6422 int get redirectStart() native "return this.redirectStart;";
5361 6423
5362 int requestStart; 6424 int get requestStart() native "return this.requestStart;";
5363 6425
5364 int responseEnd; 6426 int get responseEnd() native "return this.responseEnd;";
5365 6427
5366 int responseStart; 6428 int get responseStart() native "return this.responseStart;";
5367 6429
5368 int secureConnectionStart; 6430 int get secureConnectionStart() native "return this.secureConnectionStart;";
5369 6431
5370 int unloadEventEnd; 6432 int get unloadEventEnd() native "return this.unloadEventEnd;";
5371 6433
5372 int unloadEventStart; 6434 int get unloadEventStart() native "return this.unloadEventStart;";
5373 6435
5374 var dartObjectLocalStorage; 6436 var dartObjectLocalStorage;
5375 6437
5376 String get typeName() native; 6438 String get typeName() native;
5377 } 6439 }
5378 6440
5379 class PointerLock native "*PointerLock" { 6441 class PointerLock native "*PointerLock" {
5380 6442
5381 bool isLocked; 6443 bool get isLocked() native "return this.isLocked;";
5382 6444
5383 void lock(Element target, [VoidCallback successCallback = null, VoidCallback f ailureCallback = null]) native; 6445 void lock(Element target, [VoidCallback successCallback = null, VoidCallback f ailureCallback = null]) native;
5384 6446
5385 void unlock() native; 6447 void unlock() native;
5386 6448
5387 var dartObjectLocalStorage; 6449 var dartObjectLocalStorage;
5388 6450
5389 String get typeName() native; 6451 String get typeName() native;
5390 } 6452 }
5391 6453
5392 class PopStateEvent extends Event native "*PopStateEvent" { 6454 class PopStateEvent extends Event native "*PopStateEvent" {
5393 6455
5394 Object state; 6456 Object get state() native "return this.state;";
5395 } 6457 }
5396 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 6458 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
5397 // for details. All rights reserved. Use of this source code is governed by a 6459 // for details. All rights reserved. Use of this source code is governed by a
5398 // BSD-style license that can be found in the LICENSE file. 6460 // BSD-style license that can be found in the LICENSE file.
5399 6461
5400 // WARNING: Do not edit - generated code. 6462 // WARNING: Do not edit - generated code.
5401 6463
5402 typedef bool PositionCallback(Geoposition position); 6464 typedef bool PositionCallback(Geoposition position);
5403 6465
5404 class PositionError native "*PositionError" { 6466 class PositionError native "*PositionError" {
5405 6467
5406 static final int PERMISSION_DENIED = 1; 6468 static final int PERMISSION_DENIED = 1;
5407 6469
5408 static final int POSITION_UNAVAILABLE = 2; 6470 static final int POSITION_UNAVAILABLE = 2;
5409 6471
5410 static final int TIMEOUT = 3; 6472 static final int TIMEOUT = 3;
5411 6473
5412 int code; 6474 int get code() native "return this.code;";
5413 6475
5414 String message; 6476 String get message() native "return this.message;";
5415 6477
5416 var dartObjectLocalStorage; 6478 var dartObjectLocalStorage;
5417 6479
5418 String get typeName() native; 6480 String get typeName() native;
5419 } 6481 }
5420 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 6482 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
5421 // for details. All rights reserved. Use of this source code is governed by a 6483 // for details. All rights reserved. Use of this source code is governed by a
5422 // BSD-style license that can be found in the LICENSE file. 6484 // BSD-style license that can be found in the LICENSE file.
5423 6485
5424 // WARNING: Do not edit - generated code. 6486 // WARNING: Do not edit - generated code.
5425 6487
5426 typedef bool PositionErrorCallback(PositionError error); 6488 typedef bool PositionErrorCallback(PositionError error);
5427 6489
5428 class ProcessingInstruction extends Node native "*ProcessingInstruction" { 6490 class ProcessingInstruction extends Node native "*ProcessingInstruction" {
5429 6491
5430 String data; 6492 String get data() native "return this.data;";
5431 6493
5432 StyleSheet sheet; 6494 void set data(String value) native "this.data = value;";
5433 6495
5434 String target; 6496 StyleSheet get sheet() native "return this.sheet;";
6497
6498 String get target() native "return this.target;";
5435 } 6499 }
5436 6500
5437 class ProgressEvent extends Event native "*ProgressEvent" { 6501 class ProgressEvent extends Event native "*ProgressEvent" {
5438 6502
5439 bool lengthComputable; 6503 bool get lengthComputable() native "return this.lengthComputable;";
5440 6504
5441 int loaded; 6505 int get loaded() native "return this.loaded;";
5442 6506
5443 int total; 6507 int get total() native "return this.total;";
5444 } 6508 }
5445 6509
5446 class RGBColor native "*RGBColor" { 6510 class RGBColor native "*RGBColor" {
5447 6511
5448 CSSPrimitiveValue blue; 6512 CSSPrimitiveValue get blue() native "return this.blue;";
5449 6513
5450 CSSPrimitiveValue green; 6514 CSSPrimitiveValue get green() native "return this.green;";
5451 6515
5452 CSSPrimitiveValue red; 6516 CSSPrimitiveValue get red() native "return this.red;";
5453 6517
5454 var dartObjectLocalStorage; 6518 var dartObjectLocalStorage;
5455 6519
5456 String get typeName() native; 6520 String get typeName() native;
5457 } 6521 }
5458 6522
5459 class Range native "*Range" { 6523 class Range native "*Range" {
5460 6524
5461 static final int END_TO_END = 2; 6525 static final int END_TO_END = 2;
5462 6526
5463 static final int END_TO_START = 3; 6527 static final int END_TO_START = 3;
5464 6528
5465 static final int NODE_AFTER = 1; 6529 static final int NODE_AFTER = 1;
5466 6530
5467 static final int NODE_BEFORE = 0; 6531 static final int NODE_BEFORE = 0;
5468 6532
5469 static final int NODE_BEFORE_AND_AFTER = 2; 6533 static final int NODE_BEFORE_AND_AFTER = 2;
5470 6534
5471 static final int NODE_INSIDE = 3; 6535 static final int NODE_INSIDE = 3;
5472 6536
5473 static final int START_TO_END = 1; 6537 static final int START_TO_END = 1;
5474 6538
5475 static final int START_TO_START = 0; 6539 static final int START_TO_START = 0;
5476 6540
5477 bool collapsed; 6541 bool get collapsed() native "return this.collapsed;";
5478 6542
5479 Node commonAncestorContainer; 6543 Node get commonAncestorContainer() native "return this.commonAncestorContainer ;";
5480 6544
5481 Node endContainer; 6545 Node get endContainer() native "return this.endContainer;";
5482 6546
5483 int endOffset; 6547 int get endOffset() native "return this.endOffset;";
5484 6548
5485 Node startContainer; 6549 Node get startContainer() native "return this.startContainer;";
5486 6550
5487 int startOffset; 6551 int get startOffset() native "return this.startOffset;";
5488 6552
5489 DocumentFragment cloneContents() native; 6553 DocumentFragment cloneContents() native;
5490 6554
5491 Range cloneRange() native; 6555 Range cloneRange() native;
5492 6556
5493 void collapse(bool toStart) native; 6557 void collapse(bool toStart) native;
5494 6558
5495 int compareNode(Node refNode) native; 6559 int compareNode(Node refNode) native;
5496 6560
5497 int comparePoint(Node refNode, int offset) native; 6561 int comparePoint(Node refNode, int offset) native;
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
5540 6604
5541 String get typeName() native; 6605 String get typeName() native;
5542 } 6606 }
5543 6607
5544 class RangeException native "*RangeException" { 6608 class RangeException native "*RangeException" {
5545 6609
5546 static final int BAD_BOUNDARYPOINTS_ERR = 1; 6610 static final int BAD_BOUNDARYPOINTS_ERR = 1;
5547 6611
5548 static final int INVALID_NODE_TYPE_ERR = 2; 6612 static final int INVALID_NODE_TYPE_ERR = 2;
5549 6613
5550 int code; 6614 int get code() native "return this.code;";
5551 6615
5552 String message; 6616 String get message() native "return this.message;";
5553 6617
5554 String name; 6618 String get name() native "return this.name;";
5555 6619
5556 String toString() native; 6620 String toString() native;
5557 6621
5558 var dartObjectLocalStorage; 6622 var dartObjectLocalStorage;
5559 6623
5560 String get typeName() native; 6624 String get typeName() native;
5561 } 6625 }
5562 6626
5563 class RealtimeAnalyserNode extends AudioNode native "*RealtimeAnalyserNode" { 6627 class RealtimeAnalyserNode extends AudioNode native "*RealtimeAnalyserNode" {
5564 6628
5565 int fftSize; 6629 int get fftSize() native "return this.fftSize;";
5566 6630
5567 int frequencyBinCount; 6631 void set fftSize(int value) native "this.fftSize = value;";
5568 6632
5569 num maxDecibels; 6633 int get frequencyBinCount() native "return this.frequencyBinCount;";
5570 6634
5571 num minDecibels; 6635 num get maxDecibels() native "return this.maxDecibels;";
5572 6636
5573 num smoothingTimeConstant; 6637 void set maxDecibels(num value) native "this.maxDecibels = value;";
6638
6639 num get minDecibels() native "return this.minDecibels;";
6640
6641 void set minDecibels(num value) native "this.minDecibels = value;";
6642
6643 num get smoothingTimeConstant() native "return this.smoothingTimeConstant;";
6644
6645 void set smoothingTimeConstant(num value) native "this.smoothingTimeConstant = value;";
5574 6646
5575 void getByteFrequencyData(Uint8Array array) native; 6647 void getByteFrequencyData(Uint8Array array) native;
5576 6648
5577 void getByteTimeDomainData(Uint8Array array) native; 6649 void getByteTimeDomainData(Uint8Array array) native;
5578 6650
5579 void getFloatFrequencyData(Float32Array array) native; 6651 void getFloatFrequencyData(Float32Array array) native;
5580 } 6652 }
5581 6653
5582 class Rect native "*Rect" { 6654 class Rect native "*Rect" {
5583 6655
5584 CSSPrimitiveValue bottom; 6656 CSSPrimitiveValue get bottom() native "return this.bottom;";
5585 6657
5586 CSSPrimitiveValue left; 6658 CSSPrimitiveValue get left() native "return this.left;";
5587 6659
5588 CSSPrimitiveValue right; 6660 CSSPrimitiveValue get right() native "return this.right;";
5589 6661
5590 CSSPrimitiveValue top; 6662 CSSPrimitiveValue get top() native "return this.top;";
5591 6663
5592 var dartObjectLocalStorage; 6664 var dartObjectLocalStorage;
5593 6665
5594 String get typeName() native; 6666 String get typeName() native;
5595 } 6667 }
5596 6668
5597 class SQLError native "*SQLError" { 6669 class SQLError native "*SQLError" {
5598 6670
5599 static final int CONSTRAINT_ERR = 6; 6671 static final int CONSTRAINT_ERR = 6;
5600 6672
5601 static final int DATABASE_ERR = 1; 6673 static final int DATABASE_ERR = 1;
5602 6674
5603 static final int QUOTA_ERR = 4; 6675 static final int QUOTA_ERR = 4;
5604 6676
5605 static final int SYNTAX_ERR = 5; 6677 static final int SYNTAX_ERR = 5;
5606 6678
5607 static final int TIMEOUT_ERR = 7; 6679 static final int TIMEOUT_ERR = 7;
5608 6680
5609 static final int TOO_LARGE_ERR = 3; 6681 static final int TOO_LARGE_ERR = 3;
5610 6682
5611 static final int UNKNOWN_ERR = 0; 6683 static final int UNKNOWN_ERR = 0;
5612 6684
5613 static final int VERSION_ERR = 2; 6685 static final int VERSION_ERR = 2;
5614 6686
5615 int code; 6687 int get code() native "return this.code;";
5616 6688
5617 String message; 6689 String get message() native "return this.message;";
5618 6690
5619 var dartObjectLocalStorage; 6691 var dartObjectLocalStorage;
5620 6692
5621 String get typeName() native; 6693 String get typeName() native;
5622 } 6694 }
5623 6695
5624 class SQLException native "*SQLException" { 6696 class SQLException native "*SQLException" {
5625 6697
5626 static final int CONSTRAINT_ERR = 6; 6698 static final int CONSTRAINT_ERR = 6;
5627 6699
5628 static final int DATABASE_ERR = 1; 6700 static final int DATABASE_ERR = 1;
5629 6701
5630 static final int QUOTA_ERR = 4; 6702 static final int QUOTA_ERR = 4;
5631 6703
5632 static final int SYNTAX_ERR = 5; 6704 static final int SYNTAX_ERR = 5;
5633 6705
5634 static final int TIMEOUT_ERR = 7; 6706 static final int TIMEOUT_ERR = 7;
5635 6707
5636 static final int TOO_LARGE_ERR = 3; 6708 static final int TOO_LARGE_ERR = 3;
5637 6709
5638 static final int UNKNOWN_ERR = 0; 6710 static final int UNKNOWN_ERR = 0;
5639 6711
5640 static final int VERSION_ERR = 2; 6712 static final int VERSION_ERR = 2;
5641 6713
5642 int code; 6714 int get code() native "return this.code;";
5643 6715
5644 String message; 6716 String get message() native "return this.message;";
5645 6717
5646 var dartObjectLocalStorage; 6718 var dartObjectLocalStorage;
5647 6719
5648 String get typeName() native; 6720 String get typeName() native;
5649 } 6721 }
5650 6722
5651 class SQLResultSet native "*SQLResultSet" { 6723 class SQLResultSet native "*SQLResultSet" {
5652 6724
5653 int insertId; 6725 int get insertId() native "return this.insertId;";
5654 6726
5655 SQLResultSetRowList rows; 6727 SQLResultSetRowList get rows() native "return this.rows;";
5656 6728
5657 int rowsAffected; 6729 int get rowsAffected() native "return this.rowsAffected;";
5658 6730
5659 var dartObjectLocalStorage; 6731 var dartObjectLocalStorage;
5660 6732
5661 String get typeName() native; 6733 String get typeName() native;
5662 } 6734 }
5663 6735
5664 class SQLResultSetRowList native "*SQLResultSetRowList" { 6736 class SQLResultSetRowList native "*SQLResultSetRowList" {
5665 6737
5666 int length; 6738 int get length() native "return this.length;";
5667 6739
5668 Object item(int index) native; 6740 Object item(int index) native;
5669 6741
5670 var dartObjectLocalStorage; 6742 var dartObjectLocalStorage;
5671 6743
5672 String get typeName() native; 6744 String get typeName() native;
5673 } 6745 }
5674 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 6746 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
5675 // for details. All rights reserved. Use of this source code is governed by a 6747 // for details. All rights reserved. Use of this source code is governed by a
5676 // BSD-style license that can be found in the LICENSE file. 6748 // BSD-style license that can be found in the LICENSE file.
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
5716 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 6788 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
5717 // for details. All rights reserved. Use of this source code is governed by a 6789 // for details. All rights reserved. Use of this source code is governed by a
5718 // BSD-style license that can be found in the LICENSE file. 6790 // BSD-style license that can be found in the LICENSE file.
5719 6791
5720 // WARNING: Do not edit - generated code. 6792 // WARNING: Do not edit - generated code.
5721 6793
5722 typedef bool SQLTransactionSyncCallback(SQLTransactionSync transaction); 6794 typedef bool SQLTransactionSyncCallback(SQLTransactionSync transaction);
5723 6795
5724 class SVGAElement extends SVGElement native "*SVGAElement" { 6796 class SVGAElement extends SVGElement native "*SVGAElement" {
5725 6797
5726 SVGAnimatedString target; 6798 SVGAnimatedString get target() native "return this.target;";
5727 6799
5728 // From SVGURIReference 6800 // From SVGURIReference
5729 6801
5730 SVGAnimatedString href; 6802 SVGAnimatedString get href() native "return this.href;";
5731 6803
5732 // From SVGTests 6804 // From SVGTests
5733 6805
5734 SVGStringList requiredExtensions; 6806 SVGStringList get requiredExtensions() native "return this.requiredExtensions; ";
5735 6807
5736 SVGStringList requiredFeatures; 6808 SVGStringList get requiredFeatures() native "return this.requiredFeatures;";
5737 6809
5738 SVGStringList systemLanguage; 6810 SVGStringList get systemLanguage() native "return this.systemLanguage;";
5739 6811
5740 bool hasExtension(String extension) native; 6812 bool hasExtension(String extension) native;
5741 6813
5742 // From SVGLangSpace 6814 // From SVGLangSpace
5743 6815
5744 String xmllang; 6816 String get xmllang() native "return this.xmllang;";
5745 6817
5746 String xmlspace; 6818 void set xmllang(String value) native "this.xmllang = value;";
6819
6820 String get xmlspace() native "return this.xmlspace;";
6821
6822 void set xmlspace(String value) native "this.xmlspace = value;";
5747 6823
5748 // From SVGExternalResourcesRequired 6824 // From SVGExternalResourcesRequired
5749 6825
5750 SVGAnimatedBoolean externalResourcesRequired; 6826 SVGAnimatedBoolean get externalResourcesRequired() native "return this.externa lResourcesRequired;";
5751 6827
5752 // From SVGStylable 6828 // From SVGStylable
5753 6829
5754 SVGAnimatedString className; 6830 SVGAnimatedString get className() native "return this.className;";
5755 6831
5756 CSSStyleDeclaration style; 6832 CSSStyleDeclaration get style() native "return this.style;";
5757 6833
5758 CSSValue getPresentationAttribute(String name) native; 6834 CSSValue getPresentationAttribute(String name) native;
5759 6835
5760 // From SVGTransformable 6836 // From SVGTransformable
5761 6837
5762 SVGAnimatedTransformList transform; 6838 SVGAnimatedTransformList get transform() native "return this.transform;";
5763 6839
5764 // From SVGLocatable 6840 // From SVGLocatable
5765 6841
5766 SVGElement farthestViewportElement; 6842 SVGElement get farthestViewportElement() native "return this.farthestViewportE lement;";
5767 6843
5768 SVGElement nearestViewportElement; 6844 SVGElement get nearestViewportElement() native "return this.nearestViewportEle ment;";
5769 6845
5770 SVGRect getBBox() native; 6846 SVGRect getBBox() native;
5771 6847
5772 SVGMatrix getCTM() native; 6848 SVGMatrix getCTM() native;
5773 6849
5774 SVGMatrix getScreenCTM() native; 6850 SVGMatrix getScreenCTM() native;
5775 6851
5776 SVGMatrix getTransformToElement(SVGElement element) native; 6852 SVGMatrix getTransformToElement(SVGElement element) native;
5777 } 6853 }
5778 6854
5779 class SVGAltGlyphDefElement extends SVGElement native "*SVGAltGlyphDefElement" { 6855 class SVGAltGlyphDefElement extends SVGElement native "*SVGAltGlyphDefElement" {
5780 } 6856 }
5781 6857
5782 class SVGAltGlyphElement extends SVGTextPositioningElement native "*SVGAltGlyphE lement" { 6858 class SVGAltGlyphElement extends SVGTextPositioningElement native "*SVGAltGlyphE lement" {
5783 6859
5784 String format; 6860 String get format() native "return this.format;";
5785 6861
5786 String glyphRef; 6862 void set format(String value) native "this.format = value;";
6863
6864 String get glyphRef() native "return this.glyphRef;";
6865
6866 void set glyphRef(String value) native "this.glyphRef = value;";
5787 6867
5788 // From SVGURIReference 6868 // From SVGURIReference
5789 6869
5790 SVGAnimatedString href; 6870 SVGAnimatedString get href() native "return this.href;";
5791 } 6871 }
5792 6872
5793 class SVGAltGlyphItemElement extends SVGElement native "*SVGAltGlyphItemElement" { 6873 class SVGAltGlyphItemElement extends SVGElement native "*SVGAltGlyphItemElement" {
5794 } 6874 }
5795 6875
5796 class SVGAngle native "*SVGAngle" { 6876 class SVGAngle native "*SVGAngle" {
5797 6877
5798 static final int SVG_ANGLETYPE_DEG = 2; 6878 static final int SVG_ANGLETYPE_DEG = 2;
5799 6879
5800 static final int SVG_ANGLETYPE_GRAD = 4; 6880 static final int SVG_ANGLETYPE_GRAD = 4;
5801 6881
5802 static final int SVG_ANGLETYPE_RAD = 3; 6882 static final int SVG_ANGLETYPE_RAD = 3;
5803 6883
5804 static final int SVG_ANGLETYPE_UNKNOWN = 0; 6884 static final int SVG_ANGLETYPE_UNKNOWN = 0;
5805 6885
5806 static final int SVG_ANGLETYPE_UNSPECIFIED = 1; 6886 static final int SVG_ANGLETYPE_UNSPECIFIED = 1;
5807 6887
5808 int unitType; 6888 int get unitType() native "return this.unitType;";
5809 6889
5810 num value; 6890 num get value() native "return this.value;";
5811 6891
5812 String valueAsString; 6892 void set value(num value) native "this.value = value;";
5813 6893
5814 num valueInSpecifiedUnits; 6894 String get valueAsString() native "return this.valueAsString;";
6895
6896 void set valueAsString(String value) native "this.valueAsString = value;";
6897
6898 num get valueInSpecifiedUnits() native "return this.valueInSpecifiedUnits;";
6899
6900 void set valueInSpecifiedUnits(num value) native "this.valueInSpecifiedUnits = value;";
5815 6901
5816 void convertToSpecifiedUnits(int unitType) native; 6902 void convertToSpecifiedUnits(int unitType) native;
5817 6903
5818 void newValueSpecifiedUnits(int unitType, num valueInSpecifiedUnits) native; 6904 void newValueSpecifiedUnits(int unitType, num valueInSpecifiedUnits) native;
5819 6905
5820 var dartObjectLocalStorage; 6906 var dartObjectLocalStorage;
5821 6907
5822 String get typeName() native; 6908 String get typeName() native;
5823 } 6909 }
5824 6910
5825 class SVGAnimateColorElement extends SVGAnimationElement native "*SVGAnimateColo rElement" { 6911 class SVGAnimateColorElement extends SVGAnimationElement native "*SVGAnimateColo rElement" {
5826 } 6912 }
5827 6913
5828 class SVGAnimateElement extends SVGAnimationElement native "*SVGAnimateElement" { 6914 class SVGAnimateElement extends SVGAnimationElement native "*SVGAnimateElement" {
5829 } 6915 }
5830 6916
5831 class SVGAnimateMotionElement extends SVGAnimationElement native "*SVGAnimateMot ionElement" { 6917 class SVGAnimateMotionElement extends SVGAnimationElement native "*SVGAnimateMot ionElement" {
5832 } 6918 }
5833 6919
5834 class SVGAnimateTransformElement extends SVGAnimationElement native "*SVGAnimate TransformElement" { 6920 class SVGAnimateTransformElement extends SVGAnimationElement native "*SVGAnimate TransformElement" {
5835 } 6921 }
5836 6922
5837 class SVGAnimatedAngle native "*SVGAnimatedAngle" { 6923 class SVGAnimatedAngle native "*SVGAnimatedAngle" {
5838 6924
5839 SVGAngle animVal; 6925 SVGAngle get animVal() native "return this.animVal;";
5840 6926
5841 SVGAngle baseVal; 6927 SVGAngle get baseVal() native "return this.baseVal;";
5842 6928
5843 var dartObjectLocalStorage; 6929 var dartObjectLocalStorage;
5844 6930
5845 String get typeName() native; 6931 String get typeName() native;
5846 } 6932 }
5847 6933
5848 class SVGAnimatedBoolean native "*SVGAnimatedBoolean" { 6934 class SVGAnimatedBoolean native "*SVGAnimatedBoolean" {
5849 6935
5850 bool animVal; 6936 bool get animVal() native "return this.animVal;";
5851 6937
5852 bool baseVal; 6938 bool get baseVal() native "return this.baseVal;";
6939
6940 void set baseVal(bool value) native "this.baseVal = value;";
5853 6941
5854 var dartObjectLocalStorage; 6942 var dartObjectLocalStorage;
5855 6943
5856 String get typeName() native; 6944 String get typeName() native;
5857 } 6945 }
5858 6946
5859 class SVGAnimatedEnumeration native "*SVGAnimatedEnumeration" { 6947 class SVGAnimatedEnumeration native "*SVGAnimatedEnumeration" {
5860 6948
5861 int animVal; 6949 int get animVal() native "return this.animVal;";
5862 6950
5863 int baseVal; 6951 int get baseVal() native "return this.baseVal;";
6952
6953 void set baseVal(int value) native "this.baseVal = value;";
5864 6954
5865 var dartObjectLocalStorage; 6955 var dartObjectLocalStorage;
5866 6956
5867 String get typeName() native; 6957 String get typeName() native;
5868 } 6958 }
5869 6959
5870 class SVGAnimatedInteger native "*SVGAnimatedInteger" { 6960 class SVGAnimatedInteger native "*SVGAnimatedInteger" {
5871 6961
5872 int animVal; 6962 int get animVal() native "return this.animVal;";
5873 6963
5874 int baseVal; 6964 int get baseVal() native "return this.baseVal;";
6965
6966 void set baseVal(int value) native "this.baseVal = value;";
5875 6967
5876 var dartObjectLocalStorage; 6968 var dartObjectLocalStorage;
5877 6969
5878 String get typeName() native; 6970 String get typeName() native;
5879 } 6971 }
5880 6972
5881 class SVGAnimatedLength native "*SVGAnimatedLength" { 6973 class SVGAnimatedLength native "*SVGAnimatedLength" {
5882 6974
5883 SVGLength animVal; 6975 SVGLength get animVal() native "return this.animVal;";
5884 6976
5885 SVGLength baseVal; 6977 SVGLength get baseVal() native "return this.baseVal;";
5886 6978
5887 var dartObjectLocalStorage; 6979 var dartObjectLocalStorage;
5888 6980
5889 String get typeName() native; 6981 String get typeName() native;
5890 } 6982 }
5891 6983
5892 class SVGAnimatedLengthList native "*SVGAnimatedLengthList" { 6984 class SVGAnimatedLengthList native "*SVGAnimatedLengthList" {
5893 6985
5894 SVGLengthList animVal; 6986 SVGLengthList get animVal() native "return this.animVal;";
5895 6987
5896 SVGLengthList baseVal; 6988 SVGLengthList get baseVal() native "return this.baseVal;";
5897 6989
5898 var dartObjectLocalStorage; 6990 var dartObjectLocalStorage;
5899 6991
5900 String get typeName() native; 6992 String get typeName() native;
5901 } 6993 }
5902 6994
5903 class SVGAnimatedNumber native "*SVGAnimatedNumber" { 6995 class SVGAnimatedNumber native "*SVGAnimatedNumber" {
5904 6996
5905 num animVal; 6997 num get animVal() native "return this.animVal;";
5906 6998
5907 num baseVal; 6999 num get baseVal() native "return this.baseVal;";
7000
7001 void set baseVal(num value) native "this.baseVal = value;";
5908 7002
5909 var dartObjectLocalStorage; 7003 var dartObjectLocalStorage;
5910 7004
5911 String get typeName() native; 7005 String get typeName() native;
5912 } 7006 }
5913 7007
5914 class SVGAnimatedNumberList native "*SVGAnimatedNumberList" { 7008 class SVGAnimatedNumberList native "*SVGAnimatedNumberList" {
5915 7009
5916 SVGNumberList animVal; 7010 SVGNumberList get animVal() native "return this.animVal;";
5917 7011
5918 SVGNumberList baseVal; 7012 SVGNumberList get baseVal() native "return this.baseVal;";
5919 7013
5920 var dartObjectLocalStorage; 7014 var dartObjectLocalStorage;
5921 7015
5922 String get typeName() native; 7016 String get typeName() native;
5923 } 7017 }
5924 7018
5925 class SVGAnimatedPreserveAspectRatio native "*SVGAnimatedPreserveAspectRatio" { 7019 class SVGAnimatedPreserveAspectRatio native "*SVGAnimatedPreserveAspectRatio" {
5926 7020
5927 SVGPreserveAspectRatio animVal; 7021 SVGPreserveAspectRatio get animVal() native "return this.animVal;";
5928 7022
5929 SVGPreserveAspectRatio baseVal; 7023 SVGPreserveAspectRatio get baseVal() native "return this.baseVal;";
5930 7024
5931 var dartObjectLocalStorage; 7025 var dartObjectLocalStorage;
5932 7026
5933 String get typeName() native; 7027 String get typeName() native;
5934 } 7028 }
5935 7029
5936 class SVGAnimatedRect native "*SVGAnimatedRect" { 7030 class SVGAnimatedRect native "*SVGAnimatedRect" {
5937 7031
5938 SVGRect animVal; 7032 SVGRect get animVal() native "return this.animVal;";
5939 7033
5940 SVGRect baseVal; 7034 SVGRect get baseVal() native "return this.baseVal;";
5941 7035
5942 var dartObjectLocalStorage; 7036 var dartObjectLocalStorage;
5943 7037
5944 String get typeName() native; 7038 String get typeName() native;
5945 } 7039 }
5946 7040
5947 class SVGAnimatedString native "*SVGAnimatedString" { 7041 class SVGAnimatedString native "*SVGAnimatedString" {
5948 7042
5949 String animVal; 7043 String get animVal() native "return this.animVal;";
5950 7044
5951 String baseVal; 7045 String get baseVal() native "return this.baseVal;";
7046
7047 void set baseVal(String value) native "this.baseVal = value;";
5952 7048
5953 var dartObjectLocalStorage; 7049 var dartObjectLocalStorage;
5954 7050
5955 String get typeName() native; 7051 String get typeName() native;
5956 } 7052 }
5957 7053
5958 class SVGAnimatedTransformList native "*SVGAnimatedTransformList" { 7054 class SVGAnimatedTransformList native "*SVGAnimatedTransformList" {
5959 7055
5960 SVGTransformList animVal; 7056 SVGTransformList get animVal() native "return this.animVal;";
5961 7057
5962 SVGTransformList baseVal; 7058 SVGTransformList get baseVal() native "return this.baseVal;";
5963 7059
5964 var dartObjectLocalStorage; 7060 var dartObjectLocalStorage;
5965 7061
5966 String get typeName() native; 7062 String get typeName() native;
5967 } 7063 }
5968 7064
5969 class SVGAnimationElement extends SVGElement native "*SVGAnimationElement" { 7065 class SVGAnimationElement extends SVGElement native "*SVGAnimationElement" {
5970 7066
5971 SVGElement targetElement; 7067 SVGElement get targetElement() native "return this.targetElement;";
5972 7068
5973 num getCurrentTime() native; 7069 num getCurrentTime() native;
5974 7070
5975 num getSimpleDuration() native; 7071 num getSimpleDuration() native;
5976 7072
5977 num getStartTime() native; 7073 num getStartTime() native;
5978 7074
5979 // From SVGTests 7075 // From SVGTests
5980 7076
5981 SVGStringList requiredExtensions; 7077 SVGStringList get requiredExtensions() native "return this.requiredExtensions; ";
5982 7078
5983 SVGStringList requiredFeatures; 7079 SVGStringList get requiredFeatures() native "return this.requiredFeatures;";
5984 7080
5985 SVGStringList systemLanguage; 7081 SVGStringList get systemLanguage() native "return this.systemLanguage;";
5986 7082
5987 bool hasExtension(String extension) native; 7083 bool hasExtension(String extension) native;
5988 7084
5989 // From SVGExternalResourcesRequired 7085 // From SVGExternalResourcesRequired
5990 7086
5991 SVGAnimatedBoolean externalResourcesRequired; 7087 SVGAnimatedBoolean get externalResourcesRequired() native "return this.externa lResourcesRequired;";
5992 7088
5993 // From ElementTimeControl 7089 // From ElementTimeControl
5994 7090
5995 void beginElement() native; 7091 void beginElement() native;
5996 7092
5997 void beginElementAt(num offset) native; 7093 void beginElementAt(num offset) native;
5998 7094
5999 void endElement() native; 7095 void endElement() native;
6000 7096
6001 void endElementAt(num offset) native; 7097 void endElementAt(num offset) native;
6002 } 7098 }
6003 7099
6004 class SVGCircleElement extends SVGElement native "*SVGCircleElement" { 7100 class SVGCircleElement extends SVGElement native "*SVGCircleElement" {
6005 7101
6006 SVGAnimatedLength cx; 7102 SVGAnimatedLength get cx() native "return this.cx;";
6007 7103
6008 SVGAnimatedLength cy; 7104 SVGAnimatedLength get cy() native "return this.cy;";
6009 7105
6010 SVGAnimatedLength r; 7106 SVGAnimatedLength get r() native "return this.r;";
6011 7107
6012 // From SVGTests 7108 // From SVGTests
6013 7109
6014 SVGStringList requiredExtensions; 7110 SVGStringList get requiredExtensions() native "return this.requiredExtensions; ";
6015 7111
6016 SVGStringList requiredFeatures; 7112 SVGStringList get requiredFeatures() native "return this.requiredFeatures;";
6017 7113
6018 SVGStringList systemLanguage; 7114 SVGStringList get systemLanguage() native "return this.systemLanguage;";
6019 7115
6020 bool hasExtension(String extension) native; 7116 bool hasExtension(String extension) native;
6021 7117
6022 // From SVGLangSpace 7118 // From SVGLangSpace
6023 7119
6024 String xmllang; 7120 String get xmllang() native "return this.xmllang;";
6025 7121
6026 String xmlspace; 7122 void set xmllang(String value) native "this.xmllang = value;";
7123
7124 String get xmlspace() native "return this.xmlspace;";
7125
7126 void set xmlspace(String value) native "this.xmlspace = value;";
6027 7127
6028 // From SVGExternalResourcesRequired 7128 // From SVGExternalResourcesRequired
6029 7129
6030 SVGAnimatedBoolean externalResourcesRequired; 7130 SVGAnimatedBoolean get externalResourcesRequired() native "return this.externa lResourcesRequired;";
6031 7131
6032 // From SVGStylable 7132 // From SVGStylable
6033 7133
6034 SVGAnimatedString className; 7134 SVGAnimatedString get className() native "return this.className;";
6035 7135
6036 CSSStyleDeclaration style; 7136 CSSStyleDeclaration get style() native "return this.style;";
6037 7137
6038 CSSValue getPresentationAttribute(String name) native; 7138 CSSValue getPresentationAttribute(String name) native;
6039 7139
6040 // From SVGTransformable 7140 // From SVGTransformable
6041 7141
6042 SVGAnimatedTransformList transform; 7142 SVGAnimatedTransformList get transform() native "return this.transform;";
6043 7143
6044 // From SVGLocatable 7144 // From SVGLocatable
6045 7145
6046 SVGElement farthestViewportElement; 7146 SVGElement get farthestViewportElement() native "return this.farthestViewportE lement;";
6047 7147
6048 SVGElement nearestViewportElement; 7148 SVGElement get nearestViewportElement() native "return this.nearestViewportEle ment;";
6049 7149
6050 SVGRect getBBox() native; 7150 SVGRect getBBox() native;
6051 7151
6052 SVGMatrix getCTM() native; 7152 SVGMatrix getCTM() native;
6053 7153
6054 SVGMatrix getScreenCTM() native; 7154 SVGMatrix getScreenCTM() native;
6055 7155
6056 SVGMatrix getTransformToElement(SVGElement element) native; 7156 SVGMatrix getTransformToElement(SVGElement element) native;
6057 } 7157 }
6058 7158
6059 class SVGClipPathElement extends SVGElement native "*SVGClipPathElement" { 7159 class SVGClipPathElement extends SVGElement native "*SVGClipPathElement" {
6060 7160
6061 SVGAnimatedEnumeration clipPathUnits; 7161 SVGAnimatedEnumeration get clipPathUnits() native "return this.clipPathUnits;" ;
6062 7162
6063 // From SVGTests 7163 // From SVGTests
6064 7164
6065 SVGStringList requiredExtensions; 7165 SVGStringList get requiredExtensions() native "return this.requiredExtensions; ";
6066 7166
6067 SVGStringList requiredFeatures; 7167 SVGStringList get requiredFeatures() native "return this.requiredFeatures;";
6068 7168
6069 SVGStringList systemLanguage; 7169 SVGStringList get systemLanguage() native "return this.systemLanguage;";
6070 7170
6071 bool hasExtension(String extension) native; 7171 bool hasExtension(String extension) native;
6072 7172
6073 // From SVGLangSpace 7173 // From SVGLangSpace
6074 7174
6075 String xmllang; 7175 String get xmllang() native "return this.xmllang;";
6076 7176
6077 String xmlspace; 7177 void set xmllang(String value) native "this.xmllang = value;";
7178
7179 String get xmlspace() native "return this.xmlspace;";
7180
7181 void set xmlspace(String value) native "this.xmlspace = value;";
6078 7182
6079 // From SVGExternalResourcesRequired 7183 // From SVGExternalResourcesRequired
6080 7184
6081 SVGAnimatedBoolean externalResourcesRequired; 7185 SVGAnimatedBoolean get externalResourcesRequired() native "return this.externa lResourcesRequired;";
6082 7186
6083 // From SVGStylable 7187 // From SVGStylable
6084 7188
6085 SVGAnimatedString className; 7189 SVGAnimatedString get className() native "return this.className;";
6086 7190
6087 CSSStyleDeclaration style; 7191 CSSStyleDeclaration get style() native "return this.style;";
6088 7192
6089 CSSValue getPresentationAttribute(String name) native; 7193 CSSValue getPresentationAttribute(String name) native;
6090 7194
6091 // From SVGTransformable 7195 // From SVGTransformable
6092 7196
6093 SVGAnimatedTransformList transform; 7197 SVGAnimatedTransformList get transform() native "return this.transform;";
6094 7198
6095 // From SVGLocatable 7199 // From SVGLocatable
6096 7200
6097 SVGElement farthestViewportElement; 7201 SVGElement get farthestViewportElement() native "return this.farthestViewportE lement;";
6098 7202
6099 SVGElement nearestViewportElement; 7203 SVGElement get nearestViewportElement() native "return this.nearestViewportEle ment;";
6100 7204
6101 SVGRect getBBox() native; 7205 SVGRect getBBox() native;
6102 7206
6103 SVGMatrix getCTM() native; 7207 SVGMatrix getCTM() native;
6104 7208
6105 SVGMatrix getScreenCTM() native; 7209 SVGMatrix getScreenCTM() native;
6106 7210
6107 SVGMatrix getTransformToElement(SVGElement element) native; 7211 SVGMatrix getTransformToElement(SVGElement element) native;
6108 } 7212 }
6109 7213
6110 class SVGColor extends CSSValue native "*SVGColor" { 7214 class SVGColor extends CSSValue native "*SVGColor" {
6111 7215
6112 static final int SVG_COLORTYPE_CURRENTCOLOR = 3; 7216 static final int SVG_COLORTYPE_CURRENTCOLOR = 3;
6113 7217
6114 static final int SVG_COLORTYPE_RGBCOLOR = 1; 7218 static final int SVG_COLORTYPE_RGBCOLOR = 1;
6115 7219
6116 static final int SVG_COLORTYPE_RGBCOLOR_ICCCOLOR = 2; 7220 static final int SVG_COLORTYPE_RGBCOLOR_ICCCOLOR = 2;
6117 7221
6118 static final int SVG_COLORTYPE_UNKNOWN = 0; 7222 static final int SVG_COLORTYPE_UNKNOWN = 0;
6119 7223
6120 int colorType; 7224 int get colorType() native "return this.colorType;";
6121 7225
6122 RGBColor rgbColor; 7226 RGBColor get rgbColor() native "return this.rgbColor;";
6123 7227
6124 void setColor(int colorType, String rgbColor, String iccColor) native; 7228 void setColor(int colorType, String rgbColor, String iccColor) native;
6125 7229
6126 void setRGBColor(String rgbColor) native; 7230 void setRGBColor(String rgbColor) native;
6127 7231
6128 void setRGBColorICCColor(String rgbColor, String iccColor) native; 7232 void setRGBColorICCColor(String rgbColor, String iccColor) native;
6129 } 7233 }
6130 7234
6131 class SVGComponentTransferFunctionElement extends SVGElement native "*SVGCompone ntTransferFunctionElement" { 7235 class SVGComponentTransferFunctionElement extends SVGElement native "*SVGCompone ntTransferFunctionElement" {
6132 7236
6133 static final int SVG_FECOMPONENTTRANSFER_TYPE_DISCRETE = 3; 7237 static final int SVG_FECOMPONENTTRANSFER_TYPE_DISCRETE = 3;
6134 7238
6135 static final int SVG_FECOMPONENTTRANSFER_TYPE_GAMMA = 5; 7239 static final int SVG_FECOMPONENTTRANSFER_TYPE_GAMMA = 5;
6136 7240
6137 static final int SVG_FECOMPONENTTRANSFER_TYPE_IDENTITY = 1; 7241 static final int SVG_FECOMPONENTTRANSFER_TYPE_IDENTITY = 1;
6138 7242
6139 static final int SVG_FECOMPONENTTRANSFER_TYPE_LINEAR = 4; 7243 static final int SVG_FECOMPONENTTRANSFER_TYPE_LINEAR = 4;
6140 7244
6141 static final int SVG_FECOMPONENTTRANSFER_TYPE_TABLE = 2; 7245 static final int SVG_FECOMPONENTTRANSFER_TYPE_TABLE = 2;
6142 7246
6143 static final int SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN = 0; 7247 static final int SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN = 0;
6144 7248
6145 SVGAnimatedNumber amplitude; 7249 SVGAnimatedNumber get amplitude() native "return this.amplitude;";
6146 7250
6147 SVGAnimatedNumber exponent; 7251 SVGAnimatedNumber get exponent() native "return this.exponent;";
6148 7252
6149 SVGAnimatedNumber intercept; 7253 SVGAnimatedNumber get intercept() native "return this.intercept;";
6150 7254
6151 SVGAnimatedNumber offset; 7255 SVGAnimatedNumber get offset() native "return this.offset;";
6152 7256
6153 SVGAnimatedNumber slope; 7257 SVGAnimatedNumber get slope() native "return this.slope;";
6154 7258
6155 SVGAnimatedNumberList tableValues; 7259 SVGAnimatedNumberList get tableValues() native "return this.tableValues;";
6156 7260
6157 SVGAnimatedEnumeration type; 7261 SVGAnimatedEnumeration get type() native "return this.type;";
6158 } 7262 }
6159 7263
6160 class SVGCursorElement extends SVGElement native "*SVGCursorElement" { 7264 class SVGCursorElement extends SVGElement native "*SVGCursorElement" {
6161 7265
6162 SVGAnimatedLength x; 7266 SVGAnimatedLength get x() native "return this.x;";
6163 7267
6164 SVGAnimatedLength y; 7268 SVGAnimatedLength get y() native "return this.y;";
6165 7269
6166 // From SVGURIReference 7270 // From SVGURIReference
6167 7271
6168 SVGAnimatedString href; 7272 SVGAnimatedString get href() native "return this.href;";
6169 7273
6170 // From SVGTests 7274 // From SVGTests
6171 7275
6172 SVGStringList requiredExtensions; 7276 SVGStringList get requiredExtensions() native "return this.requiredExtensions; ";
6173 7277
6174 SVGStringList requiredFeatures; 7278 SVGStringList get requiredFeatures() native "return this.requiredFeatures;";
6175 7279
6176 SVGStringList systemLanguage; 7280 SVGStringList get systemLanguage() native "return this.systemLanguage;";
6177 7281
6178 bool hasExtension(String extension) native; 7282 bool hasExtension(String extension) native;
6179 7283
6180 // From SVGExternalResourcesRequired 7284 // From SVGExternalResourcesRequired
6181 7285
6182 SVGAnimatedBoolean externalResourcesRequired; 7286 SVGAnimatedBoolean get externalResourcesRequired() native "return this.externa lResourcesRequired;";
6183 } 7287 }
6184 7288
6185 class SVGDefsElement extends SVGElement native "*SVGDefsElement" { 7289 class SVGDefsElement extends SVGElement native "*SVGDefsElement" {
6186 7290
6187 // From SVGTests 7291 // From SVGTests
6188 7292
6189 SVGStringList requiredExtensions; 7293 SVGStringList get requiredExtensions() native "return this.requiredExtensions; ";
6190 7294
6191 SVGStringList requiredFeatures; 7295 SVGStringList get requiredFeatures() native "return this.requiredFeatures;";
6192 7296
6193 SVGStringList systemLanguage; 7297 SVGStringList get systemLanguage() native "return this.systemLanguage;";
6194 7298
6195 bool hasExtension(String extension) native; 7299 bool hasExtension(String extension) native;
6196 7300
6197 // From SVGLangSpace 7301 // From SVGLangSpace
6198 7302
6199 String xmllang; 7303 String get xmllang() native "return this.xmllang;";
6200 7304
6201 String xmlspace; 7305 void set xmllang(String value) native "this.xmllang = value;";
7306
7307 String get xmlspace() native "return this.xmlspace;";
7308
7309 void set xmlspace(String value) native "this.xmlspace = value;";
6202 7310
6203 // From SVGExternalResourcesRequired 7311 // From SVGExternalResourcesRequired
6204 7312
6205 SVGAnimatedBoolean externalResourcesRequired; 7313 SVGAnimatedBoolean get externalResourcesRequired() native "return this.externa lResourcesRequired;";
6206 7314
6207 // From SVGStylable 7315 // From SVGStylable
6208 7316
6209 SVGAnimatedString className; 7317 SVGAnimatedString get className() native "return this.className;";
6210 7318
6211 CSSStyleDeclaration style; 7319 CSSStyleDeclaration get style() native "return this.style;";
6212 7320
6213 CSSValue getPresentationAttribute(String name) native; 7321 CSSValue getPresentationAttribute(String name) native;
6214 7322
6215 // From SVGTransformable 7323 // From SVGTransformable
6216 7324
6217 SVGAnimatedTransformList transform; 7325 SVGAnimatedTransformList get transform() native "return this.transform;";
6218 7326
6219 // From SVGLocatable 7327 // From SVGLocatable
6220 7328
6221 SVGElement farthestViewportElement; 7329 SVGElement get farthestViewportElement() native "return this.farthestViewportE lement;";
6222 7330
6223 SVGElement nearestViewportElement; 7331 SVGElement get nearestViewportElement() native "return this.nearestViewportEle ment;";
6224 7332
6225 SVGRect getBBox() native; 7333 SVGRect getBBox() native;
6226 7334
6227 SVGMatrix getCTM() native; 7335 SVGMatrix getCTM() native;
6228 7336
6229 SVGMatrix getScreenCTM() native; 7337 SVGMatrix getScreenCTM() native;
6230 7338
6231 SVGMatrix getTransformToElement(SVGElement element) native; 7339 SVGMatrix getTransformToElement(SVGElement element) native;
6232 } 7340 }
6233 7341
6234 class SVGDescElement extends SVGElement native "*SVGDescElement" { 7342 class SVGDescElement extends SVGElement native "*SVGDescElement" {
6235 7343
6236 // From SVGLangSpace 7344 // From SVGLangSpace
6237 7345
6238 String xmllang; 7346 String get xmllang() native "return this.xmllang;";
6239 7347
6240 String xmlspace; 7348 void set xmllang(String value) native "this.xmllang = value;";
7349
7350 String get xmlspace() native "return this.xmlspace;";
7351
7352 void set xmlspace(String value) native "this.xmlspace = value;";
6241 7353
6242 // From SVGStylable 7354 // From SVGStylable
6243 7355
6244 SVGAnimatedString className; 7356 SVGAnimatedString get className() native "return this.className;";
6245 7357
6246 CSSStyleDeclaration style; 7358 CSSStyleDeclaration get style() native "return this.style;";
6247 7359
6248 CSSValue getPresentationAttribute(String name) native; 7360 CSSValue getPresentationAttribute(String name) native;
6249 } 7361 }
6250 7362
6251 class SVGDocument extends Document native "*SVGDocument" { 7363 class SVGDocument extends Document native "*SVGDocument" {
6252 7364
6253 SVGSVGElement rootElement; 7365 SVGSVGElement get rootElement() native "return this.rootElement;";
6254 7366
6255 Event createEvent(String eventType) native; 7367 Event createEvent(String eventType) native;
6256 } 7368 }
6257 7369
6258 class SVGElement extends Element native "*SVGElement" { 7370 class SVGElement extends Element native "*SVGElement" {
6259 7371
6260 String id; 7372 String get id() native "return this.id;";
6261 7373
6262 SVGSVGElement ownerSVGElement; 7374 void set id(String value) native "this.id = value;";
6263 7375
6264 SVGElement viewportElement; 7376 SVGSVGElement get ownerSVGElement() native "return this.ownerSVGElement;";
6265 7377
6266 String xmlbase; 7378 SVGElement get viewportElement() native "return this.viewportElement;";
7379
7380 String get xmlbase() native "return this.xmlbase;";
7381
7382 void set xmlbase(String value) native "this.xmlbase = value;";
6267 } 7383 }
6268 7384
6269 class SVGElementInstance native "*SVGElementInstance" { 7385 class SVGElementInstance native "*SVGElementInstance" {
6270 7386
6271 SVGElementInstanceList childNodes; 7387 SVGElementInstanceList get childNodes() native "return this.childNodes;";
6272 7388
6273 SVGElement correspondingElement; 7389 SVGElement get correspondingElement() native "return this.correspondingElement ;";
6274 7390
6275 SVGUseElement correspondingUseElement; 7391 SVGUseElement get correspondingUseElement() native "return this.correspondingU seElement;";
6276 7392
6277 SVGElementInstance firstChild; 7393 SVGElementInstance get firstChild() native "return this.firstChild;";
6278 7394
6279 SVGElementInstance lastChild; 7395 SVGElementInstance get lastChild() native "return this.lastChild;";
6280 7396
6281 SVGElementInstance nextSibling; 7397 SVGElementInstance get nextSibling() native "return this.nextSibling;";
6282 7398
6283 SVGElementInstance parentNode; 7399 SVGElementInstance get parentNode() native "return this.parentNode;";
6284 7400
6285 SVGElementInstance previousSibling; 7401 SVGElementInstance get previousSibling() native "return this.previousSibling;" ;
6286 7402
6287 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native; 7403 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
6288 7404
6289 bool dispatchEvent(Event event) native; 7405 bool dispatchEvent(Event event) native;
6290 7406
6291 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native; 7407 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
6292 7408
6293 var dartObjectLocalStorage; 7409 var dartObjectLocalStorage;
6294 7410
6295 String get typeName() native; 7411 String get typeName() native;
6296 } 7412 }
6297 7413
6298 class SVGElementInstanceList native "*SVGElementInstanceList" { 7414 class SVGElementInstanceList native "*SVGElementInstanceList" {
6299 7415
6300 int length; 7416 int get length() native "return this.length;";
6301 7417
6302 SVGElementInstance item(int index) native; 7418 SVGElementInstance item(int index) native;
6303 7419
6304 var dartObjectLocalStorage; 7420 var dartObjectLocalStorage;
6305 7421
6306 String get typeName() native; 7422 String get typeName() native;
6307 } 7423 }
6308 7424
6309 class SVGEllipseElement extends SVGElement native "*SVGEllipseElement" { 7425 class SVGEllipseElement extends SVGElement native "*SVGEllipseElement" {
6310 7426
6311 SVGAnimatedLength cx; 7427 SVGAnimatedLength get cx() native "return this.cx;";
6312 7428
6313 SVGAnimatedLength cy; 7429 SVGAnimatedLength get cy() native "return this.cy;";
6314 7430
6315 SVGAnimatedLength rx; 7431 SVGAnimatedLength get rx() native "return this.rx;";
6316 7432
6317 SVGAnimatedLength ry; 7433 SVGAnimatedLength get ry() native "return this.ry;";
6318 7434
6319 // From SVGTests 7435 // From SVGTests
6320 7436
6321 SVGStringList requiredExtensions; 7437 SVGStringList get requiredExtensions() native "return this.requiredExtensions; ";
6322 7438
6323 SVGStringList requiredFeatures; 7439 SVGStringList get requiredFeatures() native "return this.requiredFeatures;";
6324 7440
6325 SVGStringList systemLanguage; 7441 SVGStringList get systemLanguage() native "return this.systemLanguage;";
6326 7442
6327 bool hasExtension(String extension) native; 7443 bool hasExtension(String extension) native;
6328 7444
6329 // From SVGLangSpace 7445 // From SVGLangSpace
6330 7446
6331 String xmllang; 7447 String get xmllang() native "return this.xmllang;";
6332 7448
6333 String xmlspace; 7449 void set xmllang(String value) native "this.xmllang = value;";
7450
7451 String get xmlspace() native "return this.xmlspace;";
7452
7453 void set xmlspace(String value) native "this.xmlspace = value;";
6334 7454
6335 // From SVGExternalResourcesRequired 7455 // From SVGExternalResourcesRequired
6336 7456
6337 SVGAnimatedBoolean externalResourcesRequired; 7457 SVGAnimatedBoolean get externalResourcesRequired() native "return this.externa lResourcesRequired;";
6338 7458
6339 // From SVGStylable 7459 // From SVGStylable
6340 7460
6341 SVGAnimatedString className; 7461 SVGAnimatedString get className() native "return this.className;";
6342 7462
6343 CSSStyleDeclaration style; 7463 CSSStyleDeclaration get style() native "return this.style;";
6344 7464
6345 CSSValue getPresentationAttribute(String name) native; 7465 CSSValue getPresentationAttribute(String name) native;
6346 7466
6347 // From SVGTransformable 7467 // From SVGTransformable
6348 7468
6349 SVGAnimatedTransformList transform; 7469 SVGAnimatedTransformList get transform() native "return this.transform;";
6350 7470
6351 // From SVGLocatable 7471 // From SVGLocatable
6352 7472
6353 SVGElement farthestViewportElement; 7473 SVGElement get farthestViewportElement() native "return this.farthestViewportE lement;";
6354 7474
6355 SVGElement nearestViewportElement; 7475 SVGElement get nearestViewportElement() native "return this.nearestViewportEle ment;";
6356 7476
6357 SVGRect getBBox() native; 7477 SVGRect getBBox() native;
6358 7478
6359 SVGMatrix getCTM() native; 7479 SVGMatrix getCTM() native;
6360 7480
6361 SVGMatrix getScreenCTM() native; 7481 SVGMatrix getScreenCTM() native;
6362 7482
6363 SVGMatrix getTransformToElement(SVGElement element) native; 7483 SVGMatrix getTransformToElement(SVGElement element) native;
6364 } 7484 }
6365 7485
6366 class SVGException native "*SVGException" { 7486 class SVGException native "*SVGException" {
6367 7487
6368 static final int SVG_INVALID_VALUE_ERR = 1; 7488 static final int SVG_INVALID_VALUE_ERR = 1;
6369 7489
6370 static final int SVG_MATRIX_NOT_INVERTABLE = 2; 7490 static final int SVG_MATRIX_NOT_INVERTABLE = 2;
6371 7491
6372 static final int SVG_WRONG_TYPE_ERR = 0; 7492 static final int SVG_WRONG_TYPE_ERR = 0;
6373 7493
6374 int code; 7494 int get code() native "return this.code;";
6375 7495
6376 String message; 7496 String get message() native "return this.message;";
6377 7497
6378 String name; 7498 String get name() native "return this.name;";
6379 7499
6380 String toString() native; 7500 String toString() native;
6381 7501
6382 var dartObjectLocalStorage; 7502 var dartObjectLocalStorage;
6383 7503
6384 String get typeName() native; 7504 String get typeName() native;
6385 } 7505 }
6386 7506
6387 class SVGExternalResourcesRequired native "*SVGExternalResourcesRequired" { 7507 class SVGExternalResourcesRequired native "*SVGExternalResourcesRequired" {
6388 7508
6389 SVGAnimatedBoolean externalResourcesRequired; 7509 SVGAnimatedBoolean get externalResourcesRequired() native "return this.externa lResourcesRequired;";
6390 7510
6391 var dartObjectLocalStorage; 7511 var dartObjectLocalStorage;
6392 7512
6393 String get typeName() native; 7513 String get typeName() native;
6394 } 7514 }
6395 7515
6396 class SVGFEBlendElement extends SVGElement native "*SVGFEBlendElement" { 7516 class SVGFEBlendElement extends SVGElement native "*SVGFEBlendElement" {
6397 7517
6398 static final int SVG_FEBLEND_MODE_DARKEN = 4; 7518 static final int SVG_FEBLEND_MODE_DARKEN = 4;
6399 7519
6400 static final int SVG_FEBLEND_MODE_LIGHTEN = 5; 7520 static final int SVG_FEBLEND_MODE_LIGHTEN = 5;
6401 7521
6402 static final int SVG_FEBLEND_MODE_MULTIPLY = 2; 7522 static final int SVG_FEBLEND_MODE_MULTIPLY = 2;
6403 7523
6404 static final int SVG_FEBLEND_MODE_NORMAL = 1; 7524 static final int SVG_FEBLEND_MODE_NORMAL = 1;
6405 7525
6406 static final int SVG_FEBLEND_MODE_SCREEN = 3; 7526 static final int SVG_FEBLEND_MODE_SCREEN = 3;
6407 7527
6408 static final int SVG_FEBLEND_MODE_UNKNOWN = 0; 7528 static final int SVG_FEBLEND_MODE_UNKNOWN = 0;
6409 7529
6410 SVGAnimatedString in1; 7530 SVGAnimatedString get in1() native "return this.in1;";
6411 7531
6412 SVGAnimatedString in2; 7532 SVGAnimatedString get in2() native "return this.in2;";
6413 7533
6414 SVGAnimatedEnumeration mode; 7534 SVGAnimatedEnumeration get mode() native "return this.mode;";
6415 7535
6416 // From SVGFilterPrimitiveStandardAttributes 7536 // From SVGFilterPrimitiveStandardAttributes
6417 7537
6418 SVGAnimatedLength height; 7538 SVGAnimatedLength get height() native "return this.height;";
6419 7539
6420 SVGAnimatedString result; 7540 SVGAnimatedString get result() native "return this.result;";
6421 7541
6422 SVGAnimatedLength width; 7542 SVGAnimatedLength get width() native "return this.width;";
6423 7543
6424 SVGAnimatedLength x; 7544 SVGAnimatedLength get x() native "return this.x;";
6425 7545
6426 SVGAnimatedLength y; 7546 SVGAnimatedLength get y() native "return this.y;";
6427 7547
6428 // From SVGStylable 7548 // From SVGStylable
6429 7549
6430 SVGAnimatedString className; 7550 SVGAnimatedString get className() native "return this.className;";
6431 7551
6432 CSSStyleDeclaration style; 7552 CSSStyleDeclaration get style() native "return this.style;";
6433 7553
6434 CSSValue getPresentationAttribute(String name) native; 7554 CSSValue getPresentationAttribute(String name) native;
6435 } 7555 }
6436 7556
6437 class SVGFEColorMatrixElement extends SVGElement native "*SVGFEColorMatrixElemen t" { 7557 class SVGFEColorMatrixElement extends SVGElement native "*SVGFEColorMatrixElemen t" {
6438 7558
6439 static final int SVG_FECOLORMATRIX_TYPE_HUEROTATE = 3; 7559 static final int SVG_FECOLORMATRIX_TYPE_HUEROTATE = 3;
6440 7560
6441 static final int SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA = 4; 7561 static final int SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA = 4;
6442 7562
6443 static final int SVG_FECOLORMATRIX_TYPE_MATRIX = 1; 7563 static final int SVG_FECOLORMATRIX_TYPE_MATRIX = 1;
6444 7564
6445 static final int SVG_FECOLORMATRIX_TYPE_SATURATE = 2; 7565 static final int SVG_FECOLORMATRIX_TYPE_SATURATE = 2;
6446 7566
6447 static final int SVG_FECOLORMATRIX_TYPE_UNKNOWN = 0; 7567 static final int SVG_FECOLORMATRIX_TYPE_UNKNOWN = 0;
6448 7568
6449 SVGAnimatedString in1; 7569 SVGAnimatedString get in1() native "return this.in1;";
6450 7570
6451 SVGAnimatedEnumeration type; 7571 SVGAnimatedEnumeration get type() native "return this.type;";
6452 7572
6453 SVGAnimatedNumberList values; 7573 SVGAnimatedNumberList get values() native "return this.values;";
6454 7574
6455 // From SVGFilterPrimitiveStandardAttributes 7575 // From SVGFilterPrimitiveStandardAttributes
6456 7576
6457 SVGAnimatedLength height; 7577 SVGAnimatedLength get height() native "return this.height;";
6458 7578
6459 SVGAnimatedString result; 7579 SVGAnimatedString get result() native "return this.result;";
6460 7580
6461 SVGAnimatedLength width; 7581 SVGAnimatedLength get width() native "return this.width;";
6462 7582
6463 SVGAnimatedLength x; 7583 SVGAnimatedLength get x() native "return this.x;";
6464 7584
6465 SVGAnimatedLength y; 7585 SVGAnimatedLength get y() native "return this.y;";
6466 7586
6467 // From SVGStylable 7587 // From SVGStylable
6468 7588
6469 SVGAnimatedString className; 7589 SVGAnimatedString get className() native "return this.className;";
6470 7590
6471 CSSStyleDeclaration style; 7591 CSSStyleDeclaration get style() native "return this.style;";
6472 7592
6473 CSSValue getPresentationAttribute(String name) native; 7593 CSSValue getPresentationAttribute(String name) native;
6474 } 7594 }
6475 7595
6476 class SVGFEComponentTransferElement extends SVGElement native "*SVGFEComponentTr ansferElement" { 7596 class SVGFEComponentTransferElement extends SVGElement native "*SVGFEComponentTr ansferElement" {
6477 7597
6478 SVGAnimatedString in1; 7598 SVGAnimatedString get in1() native "return this.in1;";
6479 7599
6480 // From SVGFilterPrimitiveStandardAttributes 7600 // From SVGFilterPrimitiveStandardAttributes
6481 7601
6482 SVGAnimatedLength height; 7602 SVGAnimatedLength get height() native "return this.height;";
6483 7603
6484 SVGAnimatedString result; 7604 SVGAnimatedString get result() native "return this.result;";
6485 7605
6486 SVGAnimatedLength width; 7606 SVGAnimatedLength get width() native "return this.width;";
6487 7607
6488 SVGAnimatedLength x; 7608 SVGAnimatedLength get x() native "return this.x;";
6489 7609
6490 SVGAnimatedLength y; 7610 SVGAnimatedLength get y() native "return this.y;";
6491 7611
6492 // From SVGStylable 7612 // From SVGStylable
6493 7613
6494 SVGAnimatedString className; 7614 SVGAnimatedString get className() native "return this.className;";
6495 7615
6496 CSSStyleDeclaration style; 7616 CSSStyleDeclaration get style() native "return this.style;";
6497 7617
6498 CSSValue getPresentationAttribute(String name) native; 7618 CSSValue getPresentationAttribute(String name) native;
6499 } 7619 }
6500 7620
6501 class SVGFECompositeElement extends SVGElement native "*SVGFECompositeElement" { 7621 class SVGFECompositeElement extends SVGElement native "*SVGFECompositeElement" {
6502 7622
6503 static final int SVG_FECOMPOSITE_OPERATOR_ARITHMETIC = 6; 7623 static final int SVG_FECOMPOSITE_OPERATOR_ARITHMETIC = 6;
6504 7624
6505 static final int SVG_FECOMPOSITE_OPERATOR_ATOP = 4; 7625 static final int SVG_FECOMPOSITE_OPERATOR_ATOP = 4;
6506 7626
6507 static final int SVG_FECOMPOSITE_OPERATOR_IN = 2; 7627 static final int SVG_FECOMPOSITE_OPERATOR_IN = 2;
6508 7628
6509 static final int SVG_FECOMPOSITE_OPERATOR_OUT = 3; 7629 static final int SVG_FECOMPOSITE_OPERATOR_OUT = 3;
6510 7630
6511 static final int SVG_FECOMPOSITE_OPERATOR_OVER = 1; 7631 static final int SVG_FECOMPOSITE_OPERATOR_OVER = 1;
6512 7632
6513 static final int SVG_FECOMPOSITE_OPERATOR_UNKNOWN = 0; 7633 static final int SVG_FECOMPOSITE_OPERATOR_UNKNOWN = 0;
6514 7634
6515 static final int SVG_FECOMPOSITE_OPERATOR_XOR = 5; 7635 static final int SVG_FECOMPOSITE_OPERATOR_XOR = 5;
6516 7636
6517 SVGAnimatedString in1; 7637 SVGAnimatedString get in1() native "return this.in1;";
6518 7638
6519 SVGAnimatedString in2; 7639 SVGAnimatedString get in2() native "return this.in2;";
6520 7640
6521 SVGAnimatedNumber k1; 7641 SVGAnimatedNumber get k1() native "return this.k1;";
6522 7642
6523 SVGAnimatedNumber k2; 7643 SVGAnimatedNumber get k2() native "return this.k2;";
6524 7644
6525 SVGAnimatedNumber k3; 7645 SVGAnimatedNumber get k3() native "return this.k3;";
6526 7646
6527 SVGAnimatedNumber k4; 7647 SVGAnimatedNumber get k4() native "return this.k4;";
6528 7648
6529 SVGAnimatedEnumeration operator; 7649 SVGAnimatedEnumeration get operator() native "return this.operator;";
6530 7650
6531 // From SVGFilterPrimitiveStandardAttributes 7651 // From SVGFilterPrimitiveStandardAttributes
6532 7652
6533 SVGAnimatedLength height; 7653 SVGAnimatedLength get height() native "return this.height;";
6534 7654
6535 SVGAnimatedString result; 7655 SVGAnimatedString get result() native "return this.result;";
6536 7656
6537 SVGAnimatedLength width; 7657 SVGAnimatedLength get width() native "return this.width;";
6538 7658
6539 SVGAnimatedLength x; 7659 SVGAnimatedLength get x() native "return this.x;";
6540 7660
6541 SVGAnimatedLength y; 7661 SVGAnimatedLength get y() native "return this.y;";
6542 7662
6543 // From SVGStylable 7663 // From SVGStylable
6544 7664
6545 SVGAnimatedString className; 7665 SVGAnimatedString get className() native "return this.className;";
6546 7666
6547 CSSStyleDeclaration style; 7667 CSSStyleDeclaration get style() native "return this.style;";
6548 7668
6549 CSSValue getPresentationAttribute(String name) native; 7669 CSSValue getPresentationAttribute(String name) native;
6550 } 7670 }
6551 7671
6552 class SVGFEConvolveMatrixElement extends SVGElement native "*SVGFEConvolveMatrix Element" { 7672 class SVGFEConvolveMatrixElement extends SVGElement native "*SVGFEConvolveMatrix Element" {
6553 7673
6554 static final int SVG_EDGEMODE_DUPLICATE = 1; 7674 static final int SVG_EDGEMODE_DUPLICATE = 1;
6555 7675
6556 static final int SVG_EDGEMODE_NONE = 3; 7676 static final int SVG_EDGEMODE_NONE = 3;
6557 7677
6558 static final int SVG_EDGEMODE_UNKNOWN = 0; 7678 static final int SVG_EDGEMODE_UNKNOWN = 0;
6559 7679
6560 static final int SVG_EDGEMODE_WRAP = 2; 7680 static final int SVG_EDGEMODE_WRAP = 2;
6561 7681
6562 SVGAnimatedNumber bias; 7682 SVGAnimatedNumber get bias() native "return this.bias;";
6563 7683
6564 SVGAnimatedNumber divisor; 7684 SVGAnimatedNumber get divisor() native "return this.divisor;";
6565 7685
6566 SVGAnimatedEnumeration edgeMode; 7686 SVGAnimatedEnumeration get edgeMode() native "return this.edgeMode;";
6567 7687
6568 SVGAnimatedString in1; 7688 SVGAnimatedString get in1() native "return this.in1;";
6569 7689
6570 SVGAnimatedNumberList kernelMatrix; 7690 SVGAnimatedNumberList get kernelMatrix() native "return this.kernelMatrix;";
6571 7691
6572 SVGAnimatedNumber kernelUnitLengthX; 7692 SVGAnimatedNumber get kernelUnitLengthX() native "return this.kernelUnitLength X;";
6573 7693
6574 SVGAnimatedNumber kernelUnitLengthY; 7694 SVGAnimatedNumber get kernelUnitLengthY() native "return this.kernelUnitLength Y;";
6575 7695
6576 SVGAnimatedInteger orderX; 7696 SVGAnimatedInteger get orderX() native "return this.orderX;";
6577 7697
6578 SVGAnimatedInteger orderY; 7698 SVGAnimatedInteger get orderY() native "return this.orderY;";
6579 7699
6580 SVGAnimatedBoolean preserveAlpha; 7700 SVGAnimatedBoolean get preserveAlpha() native "return this.preserveAlpha;";
6581 7701
6582 SVGAnimatedInteger targetX; 7702 SVGAnimatedInteger get targetX() native "return this.targetX;";
6583 7703
6584 SVGAnimatedInteger targetY; 7704 SVGAnimatedInteger get targetY() native "return this.targetY;";
6585 7705
6586 // From SVGFilterPrimitiveStandardAttributes 7706 // From SVGFilterPrimitiveStandardAttributes
6587 7707
6588 SVGAnimatedLength height; 7708 SVGAnimatedLength get height() native "return this.height;";
6589 7709
6590 SVGAnimatedString result; 7710 SVGAnimatedString get result() native "return this.result;";
6591 7711
6592 SVGAnimatedLength width; 7712 SVGAnimatedLength get width() native "return this.width;";
6593 7713
6594 SVGAnimatedLength x; 7714 SVGAnimatedLength get x() native "return this.x;";
6595 7715
6596 SVGAnimatedLength y; 7716 SVGAnimatedLength get y() native "return this.y;";
6597 7717
6598 // From SVGStylable 7718 // From SVGStylable
6599 7719
6600 SVGAnimatedString className; 7720 SVGAnimatedString get className() native "return this.className;";
6601 7721
6602 CSSStyleDeclaration style; 7722 CSSStyleDeclaration get style() native "return this.style;";
6603 7723
6604 CSSValue getPresentationAttribute(String name) native; 7724 CSSValue getPresentationAttribute(String name) native;
6605 } 7725 }
6606 7726
6607 class SVGFEDiffuseLightingElement extends SVGElement native "*SVGFEDiffuseLighti ngElement" { 7727 class SVGFEDiffuseLightingElement extends SVGElement native "*SVGFEDiffuseLighti ngElement" {
6608 7728
6609 SVGAnimatedNumber diffuseConstant; 7729 SVGAnimatedNumber get diffuseConstant() native "return this.diffuseConstant;";
6610 7730
6611 SVGAnimatedString in1; 7731 SVGAnimatedString get in1() native "return this.in1;";
6612 7732
6613 SVGAnimatedNumber kernelUnitLengthX; 7733 SVGAnimatedNumber get kernelUnitLengthX() native "return this.kernelUnitLength X;";
6614 7734
6615 SVGAnimatedNumber kernelUnitLengthY; 7735 SVGAnimatedNumber get kernelUnitLengthY() native "return this.kernelUnitLength Y;";
6616 7736
6617 SVGAnimatedNumber surfaceScale; 7737 SVGAnimatedNumber get surfaceScale() native "return this.surfaceScale;";
6618 7738
6619 // From SVGFilterPrimitiveStandardAttributes 7739 // From SVGFilterPrimitiveStandardAttributes
6620 7740
6621 SVGAnimatedLength height; 7741 SVGAnimatedLength get height() native "return this.height;";
6622 7742
6623 SVGAnimatedString result; 7743 SVGAnimatedString get result() native "return this.result;";
6624 7744
6625 SVGAnimatedLength width; 7745 SVGAnimatedLength get width() native "return this.width;";
6626 7746
6627 SVGAnimatedLength x; 7747 SVGAnimatedLength get x() native "return this.x;";
6628 7748
6629 SVGAnimatedLength y; 7749 SVGAnimatedLength get y() native "return this.y;";
6630 7750
6631 // From SVGStylable 7751 // From SVGStylable
6632 7752
6633 SVGAnimatedString className; 7753 SVGAnimatedString get className() native "return this.className;";
6634 7754
6635 CSSStyleDeclaration style; 7755 CSSStyleDeclaration get style() native "return this.style;";
6636 7756
6637 CSSValue getPresentationAttribute(String name) native; 7757 CSSValue getPresentationAttribute(String name) native;
6638 } 7758 }
6639 7759
6640 class SVGFEDisplacementMapElement extends SVGElement native "*SVGFEDisplacementM apElement" { 7760 class SVGFEDisplacementMapElement extends SVGElement native "*SVGFEDisplacementM apElement" {
6641 7761
6642 static final int SVG_CHANNEL_A = 4; 7762 static final int SVG_CHANNEL_A = 4;
6643 7763
6644 static final int SVG_CHANNEL_B = 3; 7764 static final int SVG_CHANNEL_B = 3;
6645 7765
6646 static final int SVG_CHANNEL_G = 2; 7766 static final int SVG_CHANNEL_G = 2;
6647 7767
6648 static final int SVG_CHANNEL_R = 1; 7768 static final int SVG_CHANNEL_R = 1;
6649 7769
6650 static final int SVG_CHANNEL_UNKNOWN = 0; 7770 static final int SVG_CHANNEL_UNKNOWN = 0;
6651 7771
6652 SVGAnimatedString in1; 7772 SVGAnimatedString get in1() native "return this.in1;";
6653 7773
6654 SVGAnimatedString in2; 7774 SVGAnimatedString get in2() native "return this.in2;";
6655 7775
6656 SVGAnimatedNumber scale; 7776 SVGAnimatedNumber get scale() native "return this.scale;";
6657 7777
6658 SVGAnimatedEnumeration xChannelSelector; 7778 SVGAnimatedEnumeration get xChannelSelector() native "return this.xChannelSele ctor;";
6659 7779
6660 SVGAnimatedEnumeration yChannelSelector; 7780 SVGAnimatedEnumeration get yChannelSelector() native "return this.yChannelSele ctor;";
6661 7781
6662 // From SVGFilterPrimitiveStandardAttributes 7782 // From SVGFilterPrimitiveStandardAttributes
6663 7783
6664 SVGAnimatedLength height; 7784 SVGAnimatedLength get height() native "return this.height;";
6665 7785
6666 SVGAnimatedString result; 7786 SVGAnimatedString get result() native "return this.result;";
6667 7787
6668 SVGAnimatedLength width; 7788 SVGAnimatedLength get width() native "return this.width;";
6669 7789
6670 SVGAnimatedLength x; 7790 SVGAnimatedLength get x() native "return this.x;";
6671 7791
6672 SVGAnimatedLength y; 7792 SVGAnimatedLength get y() native "return this.y;";
6673 7793
6674 // From SVGStylable 7794 // From SVGStylable
6675 7795
6676 SVGAnimatedString className; 7796 SVGAnimatedString get className() native "return this.className;";
6677 7797
6678 CSSStyleDeclaration style; 7798 CSSStyleDeclaration get style() native "return this.style;";
6679 7799
6680 CSSValue getPresentationAttribute(String name) native; 7800 CSSValue getPresentationAttribute(String name) native;
6681 } 7801 }
6682 7802
6683 class SVGFEDistantLightElement extends SVGElement native "*SVGFEDistantLightElem ent" { 7803 class SVGFEDistantLightElement extends SVGElement native "*SVGFEDistantLightElem ent" {
6684 7804
6685 SVGAnimatedNumber azimuth; 7805 SVGAnimatedNumber get azimuth() native "return this.azimuth;";
6686 7806
6687 SVGAnimatedNumber elevation; 7807 SVGAnimatedNumber get elevation() native "return this.elevation;";
6688 } 7808 }
6689 7809
6690 class SVGFEDropShadowElement extends SVGElement native "*SVGFEDropShadowElement" { 7810 class SVGFEDropShadowElement extends SVGElement native "*SVGFEDropShadowElement" {
6691 7811
6692 SVGAnimatedNumber dx; 7812 SVGAnimatedNumber get dx() native "return this.dx;";
6693 7813
6694 SVGAnimatedNumber dy; 7814 SVGAnimatedNumber get dy() native "return this.dy;";
6695 7815
6696 SVGAnimatedString in1; 7816 SVGAnimatedString get in1() native "return this.in1;";
6697 7817
6698 SVGAnimatedNumber stdDeviationX; 7818 SVGAnimatedNumber get stdDeviationX() native "return this.stdDeviationX;";
6699 7819
6700 SVGAnimatedNumber stdDeviationY; 7820 SVGAnimatedNumber get stdDeviationY() native "return this.stdDeviationY;";
6701 7821
6702 void setStdDeviation(num stdDeviationX, num stdDeviationY) native; 7822 void setStdDeviation(num stdDeviationX, num stdDeviationY) native;
6703 7823
6704 // From SVGFilterPrimitiveStandardAttributes 7824 // From SVGFilterPrimitiveStandardAttributes
6705 7825
6706 SVGAnimatedLength height; 7826 SVGAnimatedLength get height() native "return this.height;";
6707 7827
6708 SVGAnimatedString result; 7828 SVGAnimatedString get result() native "return this.result;";
6709 7829
6710 SVGAnimatedLength width; 7830 SVGAnimatedLength get width() native "return this.width;";
6711 7831
6712 SVGAnimatedLength x; 7832 SVGAnimatedLength get x() native "return this.x;";
6713 7833
6714 SVGAnimatedLength y; 7834 SVGAnimatedLength get y() native "return this.y;";
6715 7835
6716 // From SVGStylable 7836 // From SVGStylable
6717 7837
6718 SVGAnimatedString className; 7838 SVGAnimatedString get className() native "return this.className;";
6719 7839
6720 CSSStyleDeclaration style; 7840 CSSStyleDeclaration get style() native "return this.style;";
6721 7841
6722 CSSValue getPresentationAttribute(String name) native; 7842 CSSValue getPresentationAttribute(String name) native;
6723 } 7843 }
6724 7844
6725 class SVGFEFloodElement extends SVGElement native "*SVGFEFloodElement" { 7845 class SVGFEFloodElement extends SVGElement native "*SVGFEFloodElement" {
6726 7846
6727 // From SVGFilterPrimitiveStandardAttributes 7847 // From SVGFilterPrimitiveStandardAttributes
6728 7848
6729 SVGAnimatedLength height; 7849 SVGAnimatedLength get height() native "return this.height;";
6730 7850
6731 SVGAnimatedString result; 7851 SVGAnimatedString get result() native "return this.result;";
6732 7852
6733 SVGAnimatedLength width; 7853 SVGAnimatedLength get width() native "return this.width;";
6734 7854
6735 SVGAnimatedLength x; 7855 SVGAnimatedLength get x() native "return this.x;";
6736 7856
6737 SVGAnimatedLength y; 7857 SVGAnimatedLength get y() native "return this.y;";
6738 7858
6739 // From SVGStylable 7859 // From SVGStylable
6740 7860
6741 SVGAnimatedString className; 7861 SVGAnimatedString get className() native "return this.className;";
6742 7862
6743 CSSStyleDeclaration style; 7863 CSSStyleDeclaration get style() native "return this.style;";
6744 7864
6745 CSSValue getPresentationAttribute(String name) native; 7865 CSSValue getPresentationAttribute(String name) native;
6746 } 7866 }
6747 7867
6748 class SVGFEFuncAElement extends SVGComponentTransferFunctionElement native "*SVG FEFuncAElement" { 7868 class SVGFEFuncAElement extends SVGComponentTransferFunctionElement native "*SVG FEFuncAElement" {
6749 } 7869 }
6750 7870
6751 class SVGFEFuncBElement extends SVGComponentTransferFunctionElement native "*SVG FEFuncBElement" { 7871 class SVGFEFuncBElement extends SVGComponentTransferFunctionElement native "*SVG FEFuncBElement" {
6752 } 7872 }
6753 7873
6754 class SVGFEFuncGElement extends SVGComponentTransferFunctionElement native "*SVG FEFuncGElement" { 7874 class SVGFEFuncGElement extends SVGComponentTransferFunctionElement native "*SVG FEFuncGElement" {
6755 } 7875 }
6756 7876
6757 class SVGFEFuncRElement extends SVGComponentTransferFunctionElement native "*SVG FEFuncRElement" { 7877 class SVGFEFuncRElement extends SVGComponentTransferFunctionElement native "*SVG FEFuncRElement" {
6758 } 7878 }
6759 7879
6760 class SVGFEGaussianBlurElement extends SVGElement native "*SVGFEGaussianBlurElem ent" { 7880 class SVGFEGaussianBlurElement extends SVGElement native "*SVGFEGaussianBlurElem ent" {
6761 7881
6762 SVGAnimatedString in1; 7882 SVGAnimatedString get in1() native "return this.in1;";
6763 7883
6764 SVGAnimatedNumber stdDeviationX; 7884 SVGAnimatedNumber get stdDeviationX() native "return this.stdDeviationX;";
6765 7885
6766 SVGAnimatedNumber stdDeviationY; 7886 SVGAnimatedNumber get stdDeviationY() native "return this.stdDeviationY;";
6767 7887
6768 void setStdDeviation(num stdDeviationX, num stdDeviationY) native; 7888 void setStdDeviation(num stdDeviationX, num stdDeviationY) native;
6769 7889
6770 // From SVGFilterPrimitiveStandardAttributes 7890 // From SVGFilterPrimitiveStandardAttributes
6771 7891
6772 SVGAnimatedLength height; 7892 SVGAnimatedLength get height() native "return this.height;";
6773 7893
6774 SVGAnimatedString result; 7894 SVGAnimatedString get result() native "return this.result;";
6775 7895
6776 SVGAnimatedLength width; 7896 SVGAnimatedLength get width() native "return this.width;";
6777 7897
6778 SVGAnimatedLength x; 7898 SVGAnimatedLength get x() native "return this.x;";
6779 7899
6780 SVGAnimatedLength y; 7900 SVGAnimatedLength get y() native "return this.y;";
6781 7901
6782 // From SVGStylable 7902 // From SVGStylable
6783 7903
6784 SVGAnimatedString className; 7904 SVGAnimatedString get className() native "return this.className;";
6785 7905
6786 CSSStyleDeclaration style; 7906 CSSStyleDeclaration get style() native "return this.style;";
6787 7907
6788 CSSValue getPresentationAttribute(String name) native; 7908 CSSValue getPresentationAttribute(String name) native;
6789 } 7909 }
6790 7910
6791 class SVGFEImageElement extends SVGElement native "*SVGFEImageElement" { 7911 class SVGFEImageElement extends SVGElement native "*SVGFEImageElement" {
6792 7912
6793 SVGAnimatedPreserveAspectRatio preserveAspectRatio; 7913 SVGAnimatedPreserveAspectRatio get preserveAspectRatio() native "return this.p reserveAspectRatio;";
6794 7914
6795 // From SVGURIReference 7915 // From SVGURIReference
6796 7916
6797 SVGAnimatedString href; 7917 SVGAnimatedString get href() native "return this.href;";
6798 7918
6799 // From SVGLangSpace 7919 // From SVGLangSpace
6800 7920
6801 String xmllang; 7921 String get xmllang() native "return this.xmllang;";
6802 7922
6803 String xmlspace; 7923 void set xmllang(String value) native "this.xmllang = value;";
7924
7925 String get xmlspace() native "return this.xmlspace;";
7926
7927 void set xmlspace(String value) native "this.xmlspace = value;";
6804 7928
6805 // From SVGExternalResourcesRequired 7929 // From SVGExternalResourcesRequired
6806 7930
6807 SVGAnimatedBoolean externalResourcesRequired; 7931 SVGAnimatedBoolean get externalResourcesRequired() native "return this.externa lResourcesRequired;";
6808 7932
6809 // From SVGFilterPrimitiveStandardAttributes 7933 // From SVGFilterPrimitiveStandardAttributes
6810 7934
6811 SVGAnimatedLength height; 7935 SVGAnimatedLength get height() native "return this.height;";
6812 7936
6813 SVGAnimatedString result; 7937 SVGAnimatedString get result() native "return this.result;";
6814 7938
6815 SVGAnimatedLength width; 7939 SVGAnimatedLength get width() native "return this.width;";
6816 7940
6817 SVGAnimatedLength x; 7941 SVGAnimatedLength get x() native "return this.x;";
6818 7942
6819 SVGAnimatedLength y; 7943 SVGAnimatedLength get y() native "return this.y;";
6820 7944
6821 // From SVGStylable 7945 // From SVGStylable
6822 7946
6823 SVGAnimatedString className; 7947 SVGAnimatedString get className() native "return this.className;";
6824 7948
6825 CSSStyleDeclaration style; 7949 CSSStyleDeclaration get style() native "return this.style;";
6826 7950
6827 CSSValue getPresentationAttribute(String name) native; 7951 CSSValue getPresentationAttribute(String name) native;
6828 } 7952 }
6829 7953
6830 class SVGFEMergeElement extends SVGElement native "*SVGFEMergeElement" { 7954 class SVGFEMergeElement extends SVGElement native "*SVGFEMergeElement" {
6831 7955
6832 // From SVGFilterPrimitiveStandardAttributes 7956 // From SVGFilterPrimitiveStandardAttributes
6833 7957
6834 SVGAnimatedLength height; 7958 SVGAnimatedLength get height() native "return this.height;";
6835 7959
6836 SVGAnimatedString result; 7960 SVGAnimatedString get result() native "return this.result;";
6837 7961
6838 SVGAnimatedLength width; 7962 SVGAnimatedLength get width() native "return this.width;";
6839 7963
6840 SVGAnimatedLength x; 7964 SVGAnimatedLength get x() native "return this.x;";
6841 7965
6842 SVGAnimatedLength y; 7966 SVGAnimatedLength get y() native "return this.y;";
6843 7967
6844 // From SVGStylable 7968 // From SVGStylable
6845 7969
6846 SVGAnimatedString className; 7970 SVGAnimatedString get className() native "return this.className;";
6847 7971
6848 CSSStyleDeclaration style; 7972 CSSStyleDeclaration get style() native "return this.style;";
6849 7973
6850 CSSValue getPresentationAttribute(String name) native; 7974 CSSValue getPresentationAttribute(String name) native;
6851 } 7975 }
6852 7976
6853 class SVGFEMergeNodeElement extends SVGElement native "*SVGFEMergeNodeElement" { 7977 class SVGFEMergeNodeElement extends SVGElement native "*SVGFEMergeNodeElement" {
6854 7978
6855 SVGAnimatedString in1; 7979 SVGAnimatedString get in1() native "return this.in1;";
6856 } 7980 }
6857 7981
6858 class SVGFEMorphologyElement extends SVGElement native "*SVGFEMorphologyElement" { 7982 class SVGFEMorphologyElement extends SVGElement native "*SVGFEMorphologyElement" {
6859 7983
6860 static final int SVG_MORPHOLOGY_OPERATOR_DILATE = 2; 7984 static final int SVG_MORPHOLOGY_OPERATOR_DILATE = 2;
6861 7985
6862 static final int SVG_MORPHOLOGY_OPERATOR_ERODE = 1; 7986 static final int SVG_MORPHOLOGY_OPERATOR_ERODE = 1;
6863 7987
6864 static final int SVG_MORPHOLOGY_OPERATOR_UNKNOWN = 0; 7988 static final int SVG_MORPHOLOGY_OPERATOR_UNKNOWN = 0;
6865 7989
6866 SVGAnimatedString in1; 7990 SVGAnimatedString get in1() native "return this.in1;";
6867 7991
6868 SVGAnimatedEnumeration operator; 7992 SVGAnimatedEnumeration get operator() native "return this.operator;";
6869 7993
6870 SVGAnimatedNumber radiusX; 7994 SVGAnimatedNumber get radiusX() native "return this.radiusX;";
6871 7995
6872 SVGAnimatedNumber radiusY; 7996 SVGAnimatedNumber get radiusY() native "return this.radiusY;";
6873 7997
6874 void setRadius(num radiusX, num radiusY) native; 7998 void setRadius(num radiusX, num radiusY) native;
6875 7999
6876 // From SVGFilterPrimitiveStandardAttributes 8000 // From SVGFilterPrimitiveStandardAttributes
6877 8001
6878 SVGAnimatedLength height; 8002 SVGAnimatedLength get height() native "return this.height;";
6879 8003
6880 SVGAnimatedString result; 8004 SVGAnimatedString get result() native "return this.result;";
6881 8005
6882 SVGAnimatedLength width; 8006 SVGAnimatedLength get width() native "return this.width;";
6883 8007
6884 SVGAnimatedLength x; 8008 SVGAnimatedLength get x() native "return this.x;";
6885 8009
6886 SVGAnimatedLength y; 8010 SVGAnimatedLength get y() native "return this.y;";
6887 8011
6888 // From SVGStylable 8012 // From SVGStylable
6889 8013
6890 SVGAnimatedString className; 8014 SVGAnimatedString get className() native "return this.className;";
6891 8015
6892 CSSStyleDeclaration style; 8016 CSSStyleDeclaration get style() native "return this.style;";
6893 8017
6894 CSSValue getPresentationAttribute(String name) native; 8018 CSSValue getPresentationAttribute(String name) native;
6895 } 8019 }
6896 8020
6897 class SVGFEOffsetElement extends SVGElement native "*SVGFEOffsetElement" { 8021 class SVGFEOffsetElement extends SVGElement native "*SVGFEOffsetElement" {
6898 8022
6899 SVGAnimatedNumber dx; 8023 SVGAnimatedNumber get dx() native "return this.dx;";
6900 8024
6901 SVGAnimatedNumber dy; 8025 SVGAnimatedNumber get dy() native "return this.dy;";
6902 8026
6903 SVGAnimatedString in1; 8027 SVGAnimatedString get in1() native "return this.in1;";
6904 8028
6905 // From SVGFilterPrimitiveStandardAttributes 8029 // From SVGFilterPrimitiveStandardAttributes
6906 8030
6907 SVGAnimatedLength height; 8031 SVGAnimatedLength get height() native "return this.height;";
6908 8032
6909 SVGAnimatedString result; 8033 SVGAnimatedString get result() native "return this.result;";
6910 8034
6911 SVGAnimatedLength width; 8035 SVGAnimatedLength get width() native "return this.width;";
6912 8036
6913 SVGAnimatedLength x; 8037 SVGAnimatedLength get x() native "return this.x;";
6914 8038
6915 SVGAnimatedLength y; 8039 SVGAnimatedLength get y() native "return this.y;";
6916 8040
6917 // From SVGStylable 8041 // From SVGStylable
6918 8042
6919 SVGAnimatedString className; 8043 SVGAnimatedString get className() native "return this.className;";
6920 8044
6921 CSSStyleDeclaration style; 8045 CSSStyleDeclaration get style() native "return this.style;";
6922 8046
6923 CSSValue getPresentationAttribute(String name) native; 8047 CSSValue getPresentationAttribute(String name) native;
6924 } 8048 }
6925 8049
6926 class SVGFEPointLightElement extends SVGElement native "*SVGFEPointLightElement" { 8050 class SVGFEPointLightElement extends SVGElement native "*SVGFEPointLightElement" {
6927 8051
6928 SVGAnimatedNumber x; 8052 SVGAnimatedNumber get x() native "return this.x;";
6929 8053
6930 SVGAnimatedNumber y; 8054 SVGAnimatedNumber get y() native "return this.y;";
6931 8055
6932 SVGAnimatedNumber z; 8056 SVGAnimatedNumber get z() native "return this.z;";
6933 } 8057 }
6934 8058
6935 class SVGFESpecularLightingElement extends SVGElement native "*SVGFESpecularLigh tingElement" { 8059 class SVGFESpecularLightingElement extends SVGElement native "*SVGFESpecularLigh tingElement" {
6936 8060
6937 SVGAnimatedString in1; 8061 SVGAnimatedString get in1() native "return this.in1;";
6938 8062
6939 SVGAnimatedNumber specularConstant; 8063 SVGAnimatedNumber get specularConstant() native "return this.specularConstant; ";
6940 8064
6941 SVGAnimatedNumber specularExponent; 8065 SVGAnimatedNumber get specularExponent() native "return this.specularExponent; ";
6942 8066
6943 SVGAnimatedNumber surfaceScale; 8067 SVGAnimatedNumber get surfaceScale() native "return this.surfaceScale;";
6944 8068
6945 // From SVGFilterPrimitiveStandardAttributes 8069 // From SVGFilterPrimitiveStandardAttributes
6946 8070
6947 SVGAnimatedLength height; 8071 SVGAnimatedLength get height() native "return this.height;";
6948 8072
6949 SVGAnimatedString result; 8073 SVGAnimatedString get result() native "return this.result;";
6950 8074
6951 SVGAnimatedLength width; 8075 SVGAnimatedLength get width() native "return this.width;";
6952 8076
6953 SVGAnimatedLength x; 8077 SVGAnimatedLength get x() native "return this.x;";
6954 8078
6955 SVGAnimatedLength y; 8079 SVGAnimatedLength get y() native "return this.y;";
6956 8080
6957 // From SVGStylable 8081 // From SVGStylable
6958 8082
6959 SVGAnimatedString className; 8083 SVGAnimatedString get className() native "return this.className;";
6960 8084
6961 CSSStyleDeclaration style; 8085 CSSStyleDeclaration get style() native "return this.style;";
6962 8086
6963 CSSValue getPresentationAttribute(String name) native; 8087 CSSValue getPresentationAttribute(String name) native;
6964 } 8088 }
6965 8089
6966 class SVGFESpotLightElement extends SVGElement native "*SVGFESpotLightElement" { 8090 class SVGFESpotLightElement extends SVGElement native "*SVGFESpotLightElement" {
6967 8091
6968 SVGAnimatedNumber limitingConeAngle; 8092 SVGAnimatedNumber get limitingConeAngle() native "return this.limitingConeAngl e;";
6969 8093
6970 SVGAnimatedNumber pointsAtX; 8094 SVGAnimatedNumber get pointsAtX() native "return this.pointsAtX;";
6971 8095
6972 SVGAnimatedNumber pointsAtY; 8096 SVGAnimatedNumber get pointsAtY() native "return this.pointsAtY;";
6973 8097
6974 SVGAnimatedNumber pointsAtZ; 8098 SVGAnimatedNumber get pointsAtZ() native "return this.pointsAtZ;";
6975 8099
6976 SVGAnimatedNumber specularExponent; 8100 SVGAnimatedNumber get specularExponent() native "return this.specularExponent; ";
6977 8101
6978 SVGAnimatedNumber x; 8102 SVGAnimatedNumber get x() native "return this.x;";
6979 8103
6980 SVGAnimatedNumber y; 8104 SVGAnimatedNumber get y() native "return this.y;";
6981 8105
6982 SVGAnimatedNumber z; 8106 SVGAnimatedNumber get z() native "return this.z;";
6983 } 8107 }
6984 8108
6985 class SVGFETileElement extends SVGElement native "*SVGFETileElement" { 8109 class SVGFETileElement extends SVGElement native "*SVGFETileElement" {
6986 8110
6987 SVGAnimatedString in1; 8111 SVGAnimatedString get in1() native "return this.in1;";
6988 8112
6989 // From SVGFilterPrimitiveStandardAttributes 8113 // From SVGFilterPrimitiveStandardAttributes
6990 8114
6991 SVGAnimatedLength height; 8115 SVGAnimatedLength get height() native "return this.height;";
6992 8116
6993 SVGAnimatedString result; 8117 SVGAnimatedString get result() native "return this.result;";
6994 8118
6995 SVGAnimatedLength width; 8119 SVGAnimatedLength get width() native "return this.width;";
6996 8120
6997 SVGAnimatedLength x; 8121 SVGAnimatedLength get x() native "return this.x;";
6998 8122
6999 SVGAnimatedLength y; 8123 SVGAnimatedLength get y() native "return this.y;";
7000 8124
7001 // From SVGStylable 8125 // From SVGStylable
7002 8126
7003 SVGAnimatedString className; 8127 SVGAnimatedString get className() native "return this.className;";
7004 8128
7005 CSSStyleDeclaration style; 8129 CSSStyleDeclaration get style() native "return this.style;";
7006 8130
7007 CSSValue getPresentationAttribute(String name) native; 8131 CSSValue getPresentationAttribute(String name) native;
7008 } 8132 }
7009 8133
7010 class SVGFETurbulenceElement extends SVGElement native "*SVGFETurbulenceElement" { 8134 class SVGFETurbulenceElement extends SVGElement native "*SVGFETurbulenceElement" {
7011 8135
7012 static final int SVG_STITCHTYPE_NOSTITCH = 2; 8136 static final int SVG_STITCHTYPE_NOSTITCH = 2;
7013 8137
7014 static final int SVG_STITCHTYPE_STITCH = 1; 8138 static final int SVG_STITCHTYPE_STITCH = 1;
7015 8139
7016 static final int SVG_STITCHTYPE_UNKNOWN = 0; 8140 static final int SVG_STITCHTYPE_UNKNOWN = 0;
7017 8141
7018 static final int SVG_TURBULENCE_TYPE_FRACTALNOISE = 1; 8142 static final int SVG_TURBULENCE_TYPE_FRACTALNOISE = 1;
7019 8143
7020 static final int SVG_TURBULENCE_TYPE_TURBULENCE = 2; 8144 static final int SVG_TURBULENCE_TYPE_TURBULENCE = 2;
7021 8145
7022 static final int SVG_TURBULENCE_TYPE_UNKNOWN = 0; 8146 static final int SVG_TURBULENCE_TYPE_UNKNOWN = 0;
7023 8147
7024 SVGAnimatedNumber baseFrequencyX; 8148 SVGAnimatedNumber get baseFrequencyX() native "return this.baseFrequencyX;";
7025 8149
7026 SVGAnimatedNumber baseFrequencyY; 8150 SVGAnimatedNumber get baseFrequencyY() native "return this.baseFrequencyY;";
7027 8151
7028 SVGAnimatedInteger numOctaves; 8152 SVGAnimatedInteger get numOctaves() native "return this.numOctaves;";
7029 8153
7030 SVGAnimatedNumber seed; 8154 SVGAnimatedNumber get seed() native "return this.seed;";
7031 8155
7032 SVGAnimatedEnumeration stitchTiles; 8156 SVGAnimatedEnumeration get stitchTiles() native "return this.stitchTiles;";
7033 8157
7034 SVGAnimatedEnumeration type; 8158 SVGAnimatedEnumeration get type() native "return this.type;";
7035 8159
7036 // From SVGFilterPrimitiveStandardAttributes 8160 // From SVGFilterPrimitiveStandardAttributes
7037 8161
7038 SVGAnimatedLength height; 8162 SVGAnimatedLength get height() native "return this.height;";
7039 8163
7040 SVGAnimatedString result; 8164 SVGAnimatedString get result() native "return this.result;";
7041 8165
7042 SVGAnimatedLength width; 8166 SVGAnimatedLength get width() native "return this.width;";
7043 8167
7044 SVGAnimatedLength x; 8168 SVGAnimatedLength get x() native "return this.x;";
7045 8169
7046 SVGAnimatedLength y; 8170 SVGAnimatedLength get y() native "return this.y;";
7047 8171
7048 // From SVGStylable 8172 // From SVGStylable
7049 8173
7050 SVGAnimatedString className; 8174 SVGAnimatedString get className() native "return this.className;";
7051 8175
7052 CSSStyleDeclaration style; 8176 CSSStyleDeclaration get style() native "return this.style;";
7053 8177
7054 CSSValue getPresentationAttribute(String name) native; 8178 CSSValue getPresentationAttribute(String name) native;
7055 } 8179 }
7056 8180
7057 class SVGFilterElement extends SVGElement native "*SVGFilterElement" { 8181 class SVGFilterElement extends SVGElement native "*SVGFilterElement" {
7058 8182
7059 SVGAnimatedInteger filterResX; 8183 SVGAnimatedInteger get filterResX() native "return this.filterResX;";
7060 8184
7061 SVGAnimatedInteger filterResY; 8185 SVGAnimatedInteger get filterResY() native "return this.filterResY;";
7062 8186
7063 SVGAnimatedEnumeration filterUnits; 8187 SVGAnimatedEnumeration get filterUnits() native "return this.filterUnits;";
7064 8188
7065 SVGAnimatedLength height; 8189 SVGAnimatedLength get height() native "return this.height;";
7066 8190
7067 SVGAnimatedEnumeration primitiveUnits; 8191 SVGAnimatedEnumeration get primitiveUnits() native "return this.primitiveUnits ;";
7068 8192
7069 SVGAnimatedLength width; 8193 SVGAnimatedLength get width() native "return this.width;";
7070 8194
7071 SVGAnimatedLength x; 8195 SVGAnimatedLength get x() native "return this.x;";
7072 8196
7073 SVGAnimatedLength y; 8197 SVGAnimatedLength get y() native "return this.y;";
7074 8198
7075 void setFilterRes(int filterResX, int filterResY) native; 8199 void setFilterRes(int filterResX, int filterResY) native;
7076 8200
7077 // From SVGURIReference 8201 // From SVGURIReference
7078 8202
7079 SVGAnimatedString href; 8203 SVGAnimatedString get href() native "return this.href;";
7080 8204
7081 // From SVGLangSpace 8205 // From SVGLangSpace
7082 8206
7083 String xmllang; 8207 String get xmllang() native "return this.xmllang;";
7084 8208
7085 String xmlspace; 8209 void set xmllang(String value) native "this.xmllang = value;";
8210
8211 String get xmlspace() native "return this.xmlspace;";
8212
8213 void set xmlspace(String value) native "this.xmlspace = value;";
7086 8214
7087 // From SVGExternalResourcesRequired 8215 // From SVGExternalResourcesRequired
7088 8216
7089 SVGAnimatedBoolean externalResourcesRequired; 8217 SVGAnimatedBoolean get externalResourcesRequired() native "return this.externa lResourcesRequired;";
7090 8218
7091 // From SVGStylable 8219 // From SVGStylable
7092 8220
7093 SVGAnimatedString className; 8221 SVGAnimatedString get className() native "return this.className;";
7094 8222
7095 CSSStyleDeclaration style; 8223 CSSStyleDeclaration get style() native "return this.style;";
7096 8224
7097 CSSValue getPresentationAttribute(String name) native; 8225 CSSValue getPresentationAttribute(String name) native;
7098 } 8226 }
7099 8227
7100 class SVGFilterPrimitiveStandardAttributes extends SVGStylable native "*SVGFilte rPrimitiveStandardAttributes" { 8228 class SVGFilterPrimitiveStandardAttributes extends SVGStylable native "*SVGFilte rPrimitiveStandardAttributes" {
7101 8229
7102 SVGAnimatedLength height; 8230 SVGAnimatedLength get height() native "return this.height;";
7103 8231
7104 SVGAnimatedString result; 8232 SVGAnimatedString get result() native "return this.result;";
7105 8233
7106 SVGAnimatedLength width; 8234 SVGAnimatedLength get width() native "return this.width;";
7107 8235
7108 SVGAnimatedLength x; 8236 SVGAnimatedLength get x() native "return this.x;";
7109 8237
7110 SVGAnimatedLength y; 8238 SVGAnimatedLength get y() native "return this.y;";
7111 } 8239 }
7112 8240
7113 class SVGFitToViewBox native "*SVGFitToViewBox" { 8241 class SVGFitToViewBox native "*SVGFitToViewBox" {
7114 8242
7115 SVGAnimatedPreserveAspectRatio preserveAspectRatio; 8243 SVGAnimatedPreserveAspectRatio get preserveAspectRatio() native "return this.p reserveAspectRatio;";
7116 8244
7117 SVGAnimatedRect viewBox; 8245 SVGAnimatedRect get viewBox() native "return this.viewBox;";
7118 8246
7119 var dartObjectLocalStorage; 8247 var dartObjectLocalStorage;
7120 8248
7121 String get typeName() native; 8249 String get typeName() native;
7122 } 8250 }
7123 8251
7124 class SVGFontElement extends SVGElement native "*SVGFontElement" { 8252 class SVGFontElement extends SVGElement native "*SVGFontElement" {
7125 } 8253 }
7126 8254
7127 class SVGFontFaceElement extends SVGElement native "*SVGFontFaceElement" { 8255 class SVGFontFaceElement extends SVGElement native "*SVGFontFaceElement" {
7128 } 8256 }
7129 8257
7130 class SVGFontFaceFormatElement extends SVGElement native "*SVGFontFaceFormatElem ent" { 8258 class SVGFontFaceFormatElement extends SVGElement native "*SVGFontFaceFormatElem ent" {
7131 } 8259 }
7132 8260
7133 class SVGFontFaceNameElement extends SVGElement native "*SVGFontFaceNameElement" { 8261 class SVGFontFaceNameElement extends SVGElement native "*SVGFontFaceNameElement" {
7134 } 8262 }
7135 8263
7136 class SVGFontFaceSrcElement extends SVGElement native "*SVGFontFaceSrcElement" { 8264 class SVGFontFaceSrcElement extends SVGElement native "*SVGFontFaceSrcElement" {
7137 } 8265 }
7138 8266
7139 class SVGFontFaceUriElement extends SVGElement native "*SVGFontFaceUriElement" { 8267 class SVGFontFaceUriElement extends SVGElement native "*SVGFontFaceUriElement" {
7140 } 8268 }
7141 8269
7142 class SVGForeignObjectElement extends SVGElement native "*SVGForeignObjectElemen t" { 8270 class SVGForeignObjectElement extends SVGElement native "*SVGForeignObjectElemen t" {
7143 8271
7144 SVGAnimatedLength height; 8272 SVGAnimatedLength get height() native "return this.height;";
7145 8273
7146 SVGAnimatedLength width; 8274 SVGAnimatedLength get width() native "return this.width;";
7147 8275
7148 SVGAnimatedLength x; 8276 SVGAnimatedLength get x() native "return this.x;";
7149 8277
7150 SVGAnimatedLength y; 8278 SVGAnimatedLength get y() native "return this.y;";
7151 8279
7152 // From SVGTests 8280 // From SVGTests
7153 8281
7154 SVGStringList requiredExtensions; 8282 SVGStringList get requiredExtensions() native "return this.requiredExtensions; ";
7155 8283
7156 SVGStringList requiredFeatures; 8284 SVGStringList get requiredFeatures() native "return this.requiredFeatures;";
7157 8285
7158 SVGStringList systemLanguage; 8286 SVGStringList get systemLanguage() native "return this.systemLanguage;";
7159 8287
7160 bool hasExtension(String extension) native; 8288 bool hasExtension(String extension) native;
7161 8289
7162 // From SVGLangSpace 8290 // From SVGLangSpace
7163 8291
7164 String xmllang; 8292 String get xmllang() native "return this.xmllang;";
7165 8293
7166 String xmlspace; 8294 void set xmllang(String value) native "this.xmllang = value;";
8295
8296 String get xmlspace() native "return this.xmlspace;";
8297
8298 void set xmlspace(String value) native "this.xmlspace = value;";
7167 8299
7168 // From SVGExternalResourcesRequired 8300 // From SVGExternalResourcesRequired
7169 8301
7170 SVGAnimatedBoolean externalResourcesRequired; 8302 SVGAnimatedBoolean get externalResourcesRequired() native "return this.externa lResourcesRequired;";
7171 8303
7172 // From SVGStylable 8304 // From SVGStylable
7173 8305
7174 SVGAnimatedString className; 8306 SVGAnimatedString get className() native "return this.className;";
7175 8307
7176 CSSStyleDeclaration style; 8308 CSSStyleDeclaration get style() native "return this.style;";
7177 8309
7178 CSSValue getPresentationAttribute(String name) native; 8310 CSSValue getPresentationAttribute(String name) native;
7179 8311
7180 // From SVGTransformable 8312 // From SVGTransformable
7181 8313
7182 SVGAnimatedTransformList transform; 8314 SVGAnimatedTransformList get transform() native "return this.transform;";
7183 8315
7184 // From SVGLocatable 8316 // From SVGLocatable
7185 8317
7186 SVGElement farthestViewportElement; 8318 SVGElement get farthestViewportElement() native "return this.farthestViewportE lement;";
7187 8319
7188 SVGElement nearestViewportElement; 8320 SVGElement get nearestViewportElement() native "return this.nearestViewportEle ment;";
7189 8321
7190 SVGRect getBBox() native; 8322 SVGRect getBBox() native;
7191 8323
7192 SVGMatrix getCTM() native; 8324 SVGMatrix getCTM() native;
7193 8325
7194 SVGMatrix getScreenCTM() native; 8326 SVGMatrix getScreenCTM() native;
7195 8327
7196 SVGMatrix getTransformToElement(SVGElement element) native; 8328 SVGMatrix getTransformToElement(SVGElement element) native;
7197 } 8329 }
7198 8330
7199 class SVGGElement extends SVGElement native "*SVGGElement" { 8331 class SVGGElement extends SVGElement native "*SVGGElement" {
7200 8332
7201 // From SVGTests 8333 // From SVGTests
7202 8334
7203 SVGStringList requiredExtensions; 8335 SVGStringList get requiredExtensions() native "return this.requiredExtensions; ";
7204 8336
7205 SVGStringList requiredFeatures; 8337 SVGStringList get requiredFeatures() native "return this.requiredFeatures;";
7206 8338
7207 SVGStringList systemLanguage; 8339 SVGStringList get systemLanguage() native "return this.systemLanguage;";
7208 8340
7209 bool hasExtension(String extension) native; 8341 bool hasExtension(String extension) native;
7210 8342
7211 // From SVGLangSpace 8343 // From SVGLangSpace
7212 8344
7213 String xmllang; 8345 String get xmllang() native "return this.xmllang;";
7214 8346
7215 String xmlspace; 8347 void set xmllang(String value) native "this.xmllang = value;";
8348
8349 String get xmlspace() native "return this.xmlspace;";
8350
8351 void set xmlspace(String value) native "this.xmlspace = value;";
7216 8352
7217 // From SVGExternalResourcesRequired 8353 // From SVGExternalResourcesRequired
7218 8354
7219 SVGAnimatedBoolean externalResourcesRequired; 8355 SVGAnimatedBoolean get externalResourcesRequired() native "return this.externa lResourcesRequired;";
7220 8356
7221 // From SVGStylable 8357 // From SVGStylable
7222 8358
7223 SVGAnimatedString className; 8359 SVGAnimatedString get className() native "return this.className;";
7224 8360
7225 CSSStyleDeclaration style; 8361 CSSStyleDeclaration get style() native "return this.style;";
7226 8362
7227 CSSValue getPresentationAttribute(String name) native; 8363 CSSValue getPresentationAttribute(String name) native;
7228 8364
7229 // From SVGTransformable 8365 // From SVGTransformable
7230 8366
7231 SVGAnimatedTransformList transform; 8367 SVGAnimatedTransformList get transform() native "return this.transform;";
7232 8368
7233 // From SVGLocatable 8369 // From SVGLocatable
7234 8370
7235 SVGElement farthestViewportElement; 8371 SVGElement get farthestViewportElement() native "return this.farthestViewportE lement;";
7236 8372
7237 SVGElement nearestViewportElement; 8373 SVGElement get nearestViewportElement() native "return this.nearestViewportEle ment;";
7238 8374
7239 SVGRect getBBox() native; 8375 SVGRect getBBox() native;
7240 8376
7241 SVGMatrix getCTM() native; 8377 SVGMatrix getCTM() native;
7242 8378
7243 SVGMatrix getScreenCTM() native; 8379 SVGMatrix getScreenCTM() native;
7244 8380
7245 SVGMatrix getTransformToElement(SVGElement element) native; 8381 SVGMatrix getTransformToElement(SVGElement element) native;
7246 } 8382 }
7247 8383
7248 class SVGGlyphElement extends SVGElement native "*SVGGlyphElement" { 8384 class SVGGlyphElement extends SVGElement native "*SVGGlyphElement" {
7249 } 8385 }
7250 8386
7251 class SVGGlyphRefElement extends SVGElement native "*SVGGlyphRefElement" { 8387 class SVGGlyphRefElement extends SVGElement native "*SVGGlyphRefElement" {
7252 8388
7253 num dx; 8389 num get dx() native "return this.dx;";
7254 8390
7255 num dy; 8391 void set dx(num value) native "this.dx = value;";
7256 8392
7257 String format; 8393 num get dy() native "return this.dy;";
7258 8394
7259 String glyphRef; 8395 void set dy(num value) native "this.dy = value;";
7260 8396
7261 num x; 8397 String get format() native "return this.format;";
7262 8398
7263 num y; 8399 void set format(String value) native "this.format = value;";
8400
8401 String get glyphRef() native "return this.glyphRef;";
8402
8403 void set glyphRef(String value) native "this.glyphRef = value;";
8404
8405 num get x() native "return this.x;";
8406
8407 void set x(num value) native "this.x = value;";
8408
8409 num get y() native "return this.y;";
8410
8411 void set y(num value) native "this.y = value;";
7264 8412
7265 // From SVGURIReference 8413 // From SVGURIReference
7266 8414
7267 SVGAnimatedString href; 8415 SVGAnimatedString get href() native "return this.href;";
7268 8416
7269 // From SVGStylable 8417 // From SVGStylable
7270 8418
7271 SVGAnimatedString className; 8419 SVGAnimatedString get className() native "return this.className;";
7272 8420
7273 CSSStyleDeclaration style; 8421 CSSStyleDeclaration get style() native "return this.style;";
7274 8422
7275 CSSValue getPresentationAttribute(String name) native; 8423 CSSValue getPresentationAttribute(String name) native;
7276 } 8424 }
7277 8425
7278 class SVGGradientElement extends SVGElement native "*SVGGradientElement" { 8426 class SVGGradientElement extends SVGElement native "*SVGGradientElement" {
7279 8427
7280 static final int SVG_SPREADMETHOD_PAD = 1; 8428 static final int SVG_SPREADMETHOD_PAD = 1;
7281 8429
7282 static final int SVG_SPREADMETHOD_REFLECT = 2; 8430 static final int SVG_SPREADMETHOD_REFLECT = 2;
7283 8431
7284 static final int SVG_SPREADMETHOD_REPEAT = 3; 8432 static final int SVG_SPREADMETHOD_REPEAT = 3;
7285 8433
7286 static final int SVG_SPREADMETHOD_UNKNOWN = 0; 8434 static final int SVG_SPREADMETHOD_UNKNOWN = 0;
7287 8435
7288 SVGAnimatedTransformList gradientTransform; 8436 SVGAnimatedTransformList get gradientTransform() native "return this.gradientT ransform;";
7289 8437
7290 SVGAnimatedEnumeration gradientUnits; 8438 SVGAnimatedEnumeration get gradientUnits() native "return this.gradientUnits;" ;
7291 8439
7292 SVGAnimatedEnumeration spreadMethod; 8440 SVGAnimatedEnumeration get spreadMethod() native "return this.spreadMethod;";
7293 8441
7294 // From SVGURIReference 8442 // From SVGURIReference
7295 8443
7296 SVGAnimatedString href; 8444 SVGAnimatedString get href() native "return this.href;";
7297 8445
7298 // From SVGExternalResourcesRequired 8446 // From SVGExternalResourcesRequired
7299 8447
7300 SVGAnimatedBoolean externalResourcesRequired; 8448 SVGAnimatedBoolean get externalResourcesRequired() native "return this.externa lResourcesRequired;";
7301 8449
7302 // From SVGStylable 8450 // From SVGStylable
7303 8451
7304 SVGAnimatedString className; 8452 SVGAnimatedString get className() native "return this.className;";
7305 8453
7306 CSSStyleDeclaration style; 8454 CSSStyleDeclaration get style() native "return this.style;";
7307 8455
7308 CSSValue getPresentationAttribute(String name) native; 8456 CSSValue getPresentationAttribute(String name) native;
7309 } 8457 }
7310 8458
7311 class SVGHKernElement extends SVGElement native "*SVGHKernElement" { 8459 class SVGHKernElement extends SVGElement native "*SVGHKernElement" {
7312 } 8460 }
7313 8461
7314 class SVGImageElement extends SVGElement native "*SVGImageElement" { 8462 class SVGImageElement extends SVGElement native "*SVGImageElement" {
7315 8463
7316 SVGAnimatedLength height; 8464 SVGAnimatedLength get height() native "return this.height;";
7317 8465
7318 SVGAnimatedPreserveAspectRatio preserveAspectRatio; 8466 SVGAnimatedPreserveAspectRatio get preserveAspectRatio() native "return this.p reserveAspectRatio;";
7319 8467
7320 SVGAnimatedLength width; 8468 SVGAnimatedLength get width() native "return this.width;";
7321 8469
7322 SVGAnimatedLength x; 8470 SVGAnimatedLength get x() native "return this.x;";
7323 8471
7324 SVGAnimatedLength y; 8472 SVGAnimatedLength get y() native "return this.y;";
7325 8473
7326 // From SVGURIReference 8474 // From SVGURIReference
7327 8475
7328 SVGAnimatedString href; 8476 SVGAnimatedString get href() native "return this.href;";
7329 8477
7330 // From SVGTests 8478 // From SVGTests
7331 8479
7332 SVGStringList requiredExtensions; 8480 SVGStringList get requiredExtensions() native "return this.requiredExtensions; ";
7333 8481
7334 SVGStringList requiredFeatures; 8482 SVGStringList get requiredFeatures() native "return this.requiredFeatures;";
7335 8483
7336 SVGStringList systemLanguage; 8484 SVGStringList get systemLanguage() native "return this.systemLanguage;";
7337 8485
7338 bool hasExtension(String extension) native; 8486 bool hasExtension(String extension) native;
7339 8487
7340 // From SVGLangSpace 8488 // From SVGLangSpace
7341 8489
7342 String xmllang; 8490 String get xmllang() native "return this.xmllang;";
7343 8491
7344 String xmlspace; 8492 void set xmllang(String value) native "this.xmllang = value;";
8493
8494 String get xmlspace() native "return this.xmlspace;";
8495
8496 void set xmlspace(String value) native "this.xmlspace = value;";
7345 8497
7346 // From SVGExternalResourcesRequired 8498 // From SVGExternalResourcesRequired
7347 8499
7348 SVGAnimatedBoolean externalResourcesRequired; 8500 SVGAnimatedBoolean get externalResourcesRequired() native "return this.externa lResourcesRequired;";
7349 8501
7350 // From SVGStylable 8502 // From SVGStylable
7351 8503
7352 SVGAnimatedString className; 8504 SVGAnimatedString get className() native "return this.className;";
7353 8505
7354 CSSStyleDeclaration style; 8506 CSSStyleDeclaration get style() native "return this.style;";
7355 8507
7356 CSSValue getPresentationAttribute(String name) native; 8508 CSSValue getPresentationAttribute(String name) native;
7357 8509
7358 // From SVGTransformable 8510 // From SVGTransformable
7359 8511
7360 SVGAnimatedTransformList transform; 8512 SVGAnimatedTransformList get transform() native "return this.transform;";
7361 8513
7362 // From SVGLocatable 8514 // From SVGLocatable
7363 8515
7364 SVGElement farthestViewportElement; 8516 SVGElement get farthestViewportElement() native "return this.farthestViewportE lement;";
7365 8517
7366 SVGElement nearestViewportElement; 8518 SVGElement get nearestViewportElement() native "return this.nearestViewportEle ment;";
7367 8519
7368 SVGRect getBBox() native; 8520 SVGRect getBBox() native;
7369 8521
7370 SVGMatrix getCTM() native; 8522 SVGMatrix getCTM() native;
7371 8523
7372 SVGMatrix getScreenCTM() native; 8524 SVGMatrix getScreenCTM() native;
7373 8525
7374 SVGMatrix getTransformToElement(SVGElement element) native; 8526 SVGMatrix getTransformToElement(SVGElement element) native;
7375 } 8527 }
7376 8528
7377 class SVGLangSpace native "*SVGLangSpace" { 8529 class SVGLangSpace native "*SVGLangSpace" {
7378 8530
7379 String xmllang; 8531 String get xmllang() native "return this.xmllang;";
7380 8532
7381 String xmlspace; 8533 void set xmllang(String value) native "this.xmllang = value;";
8534
8535 String get xmlspace() native "return this.xmlspace;";
8536
8537 void set xmlspace(String value) native "this.xmlspace = value;";
7382 8538
7383 var dartObjectLocalStorage; 8539 var dartObjectLocalStorage;
7384 8540
7385 String get typeName() native; 8541 String get typeName() native;
7386 } 8542 }
7387 8543
7388 class SVGLength native "*SVGLength" { 8544 class SVGLength native "*SVGLength" {
7389 8545
7390 static final int SVG_LENGTHTYPE_CM = 6; 8546 static final int SVG_LENGTHTYPE_CM = 6;
7391 8547
(...skipping 10 matching lines...) Expand all
7402 static final int SVG_LENGTHTYPE_PC = 10; 8558 static final int SVG_LENGTHTYPE_PC = 10;
7403 8559
7404 static final int SVG_LENGTHTYPE_PERCENTAGE = 2; 8560 static final int SVG_LENGTHTYPE_PERCENTAGE = 2;
7405 8561
7406 static final int SVG_LENGTHTYPE_PT = 9; 8562 static final int SVG_LENGTHTYPE_PT = 9;
7407 8563
7408 static final int SVG_LENGTHTYPE_PX = 5; 8564 static final int SVG_LENGTHTYPE_PX = 5;
7409 8565
7410 static final int SVG_LENGTHTYPE_UNKNOWN = 0; 8566 static final int SVG_LENGTHTYPE_UNKNOWN = 0;
7411 8567
7412 int unitType; 8568 int get unitType() native "return this.unitType;";
7413 8569
7414 num value; 8570 num get value() native "return this.value;";
7415 8571
7416 String valueAsString; 8572 void set value(num value) native "this.value = value;";
7417 8573
7418 num valueInSpecifiedUnits; 8574 String get valueAsString() native "return this.valueAsString;";
8575
8576 void set valueAsString(String value) native "this.valueAsString = value;";
8577
8578 num get valueInSpecifiedUnits() native "return this.valueInSpecifiedUnits;";
8579
8580 void set valueInSpecifiedUnits(num value) native "this.valueInSpecifiedUnits = value;";
7419 8581
7420 void convertToSpecifiedUnits(int unitType) native; 8582 void convertToSpecifiedUnits(int unitType) native;
7421 8583
7422 void newValueSpecifiedUnits(int unitType, num valueInSpecifiedUnits) native; 8584 void newValueSpecifiedUnits(int unitType, num valueInSpecifiedUnits) native;
7423 8585
7424 var dartObjectLocalStorage; 8586 var dartObjectLocalStorage;
7425 8587
7426 String get typeName() native; 8588 String get typeName() native;
7427 } 8589 }
7428 8590
7429 class SVGLengthList native "*SVGLengthList" { 8591 class SVGLengthList native "*SVGLengthList" {
7430 8592
7431 int numberOfItems; 8593 int get numberOfItems() native "return this.numberOfItems;";
7432 8594
7433 SVGLength appendItem(SVGLength item) native; 8595 SVGLength appendItem(SVGLength item) native;
7434 8596
7435 void clear() native; 8597 void clear() native;
7436 8598
7437 SVGLength getItem(int index) native; 8599 SVGLength getItem(int index) native;
7438 8600
7439 SVGLength initialize(SVGLength item) native; 8601 SVGLength initialize(SVGLength item) native;
7440 8602
7441 SVGLength insertItemBefore(SVGLength item, int index) native; 8603 SVGLength insertItemBefore(SVGLength item, int index) native;
7442 8604
7443 SVGLength removeItem(int index) native; 8605 SVGLength removeItem(int index) native;
7444 8606
7445 SVGLength replaceItem(SVGLength item, int index) native; 8607 SVGLength replaceItem(SVGLength item, int index) native;
7446 8608
7447 var dartObjectLocalStorage; 8609 var dartObjectLocalStorage;
7448 8610
7449 String get typeName() native; 8611 String get typeName() native;
7450 } 8612 }
7451 8613
7452 class SVGLineElement extends SVGElement native "*SVGLineElement" { 8614 class SVGLineElement extends SVGElement native "*SVGLineElement" {
7453 8615
7454 SVGAnimatedLength x1; 8616 SVGAnimatedLength get x1() native "return this.x1;";
7455 8617
7456 SVGAnimatedLength x2; 8618 SVGAnimatedLength get x2() native "return this.x2;";
7457 8619
7458 SVGAnimatedLength y1; 8620 SVGAnimatedLength get y1() native "return this.y1;";
7459 8621
7460 SVGAnimatedLength y2; 8622 SVGAnimatedLength get y2() native "return this.y2;";
7461 8623
7462 // From SVGTests 8624 // From SVGTests
7463 8625
7464 SVGStringList requiredExtensions; 8626 SVGStringList get requiredExtensions() native "return this.requiredExtensions; ";
7465 8627
7466 SVGStringList requiredFeatures; 8628 SVGStringList get requiredFeatures() native "return this.requiredFeatures;";
7467 8629
7468 SVGStringList systemLanguage; 8630 SVGStringList get systemLanguage() native "return this.systemLanguage;";
7469 8631
7470 bool hasExtension(String extension) native; 8632 bool hasExtension(String extension) native;
7471 8633
7472 // From SVGLangSpace 8634 // From SVGLangSpace
7473 8635
7474 String xmllang; 8636 String get xmllang() native "return this.xmllang;";
7475 8637
7476 String xmlspace; 8638 void set xmllang(String value) native "this.xmllang = value;";
8639
8640 String get xmlspace() native "return this.xmlspace;";
8641
8642 void set xmlspace(String value) native "this.xmlspace = value;";
7477 8643
7478 // From SVGExternalResourcesRequired 8644 // From SVGExternalResourcesRequired
7479 8645
7480 SVGAnimatedBoolean externalResourcesRequired; 8646 SVGAnimatedBoolean get externalResourcesRequired() native "return this.externa lResourcesRequired;";
7481 8647
7482 // From SVGStylable 8648 // From SVGStylable
7483 8649
7484 SVGAnimatedString className; 8650 SVGAnimatedString get className() native "return this.className;";
7485 8651
7486 CSSStyleDeclaration style; 8652 CSSStyleDeclaration get style() native "return this.style;";
7487 8653
7488 CSSValue getPresentationAttribute(String name) native; 8654 CSSValue getPresentationAttribute(String name) native;
7489 8655
7490 // From SVGTransformable 8656 // From SVGTransformable
7491 8657
7492 SVGAnimatedTransformList transform; 8658 SVGAnimatedTransformList get transform() native "return this.transform;";
7493 8659
7494 // From SVGLocatable 8660 // From SVGLocatable
7495 8661
7496 SVGElement farthestViewportElement; 8662 SVGElement get farthestViewportElement() native "return this.farthestViewportE lement;";
7497 8663
7498 SVGElement nearestViewportElement; 8664 SVGElement get nearestViewportElement() native "return this.nearestViewportEle ment;";
7499 8665
7500 SVGRect getBBox() native; 8666 SVGRect getBBox() native;
7501 8667
7502 SVGMatrix getCTM() native; 8668 SVGMatrix getCTM() native;
7503 8669
7504 SVGMatrix getScreenCTM() native; 8670 SVGMatrix getScreenCTM() native;
7505 8671
7506 SVGMatrix getTransformToElement(SVGElement element) native; 8672 SVGMatrix getTransformToElement(SVGElement element) native;
7507 } 8673 }
7508 8674
7509 class SVGLinearGradientElement extends SVGGradientElement native "*SVGLinearGrad ientElement" { 8675 class SVGLinearGradientElement extends SVGGradientElement native "*SVGLinearGrad ientElement" {
7510 8676
7511 SVGAnimatedLength x1; 8677 SVGAnimatedLength get x1() native "return this.x1;";
7512 8678
7513 SVGAnimatedLength x2; 8679 SVGAnimatedLength get x2() native "return this.x2;";
7514 8680
7515 SVGAnimatedLength y1; 8681 SVGAnimatedLength get y1() native "return this.y1;";
7516 8682
7517 SVGAnimatedLength y2; 8683 SVGAnimatedLength get y2() native "return this.y2;";
7518 } 8684 }
7519 8685
7520 class SVGLocatable native "*SVGLocatable" { 8686 class SVGLocatable native "*SVGLocatable" {
7521 8687
7522 SVGElement farthestViewportElement; 8688 SVGElement get farthestViewportElement() native "return this.farthestViewportE lement;";
7523 8689
7524 SVGElement nearestViewportElement; 8690 SVGElement get nearestViewportElement() native "return this.nearestViewportEle ment;";
7525 8691
7526 SVGRect getBBox() native; 8692 SVGRect getBBox() native;
7527 8693
7528 SVGMatrix getCTM() native; 8694 SVGMatrix getCTM() native;
7529 8695
7530 SVGMatrix getScreenCTM() native; 8696 SVGMatrix getScreenCTM() native;
7531 8697
7532 SVGMatrix getTransformToElement(SVGElement element) native; 8698 SVGMatrix getTransformToElement(SVGElement element) native;
7533 8699
7534 var dartObjectLocalStorage; 8700 var dartObjectLocalStorage;
7535 8701
7536 String get typeName() native; 8702 String get typeName() native;
7537 } 8703 }
7538 8704
7539 class SVGMPathElement extends SVGElement native "*SVGMPathElement" { 8705 class SVGMPathElement extends SVGElement native "*SVGMPathElement" {
7540 8706
7541 // From SVGURIReference 8707 // From SVGURIReference
7542 8708
7543 SVGAnimatedString href; 8709 SVGAnimatedString get href() native "return this.href;";
7544 8710
7545 // From SVGExternalResourcesRequired 8711 // From SVGExternalResourcesRequired
7546 8712
7547 SVGAnimatedBoolean externalResourcesRequired; 8713 SVGAnimatedBoolean get externalResourcesRequired() native "return this.externa lResourcesRequired;";
7548 } 8714 }
7549 8715
7550 class SVGMarkerElement extends SVGElement native "*SVGMarkerElement" { 8716 class SVGMarkerElement extends SVGElement native "*SVGMarkerElement" {
7551 8717
7552 static final int SVG_MARKERUNITS_STROKEWIDTH = 2; 8718 static final int SVG_MARKERUNITS_STROKEWIDTH = 2;
7553 8719
7554 static final int SVG_MARKERUNITS_UNKNOWN = 0; 8720 static final int SVG_MARKERUNITS_UNKNOWN = 0;
7555 8721
7556 static final int SVG_MARKERUNITS_USERSPACEONUSE = 1; 8722 static final int SVG_MARKERUNITS_USERSPACEONUSE = 1;
7557 8723
7558 static final int SVG_MARKER_ORIENT_ANGLE = 2; 8724 static final int SVG_MARKER_ORIENT_ANGLE = 2;
7559 8725
7560 static final int SVG_MARKER_ORIENT_AUTO = 1; 8726 static final int SVG_MARKER_ORIENT_AUTO = 1;
7561 8727
7562 static final int SVG_MARKER_ORIENT_UNKNOWN = 0; 8728 static final int SVG_MARKER_ORIENT_UNKNOWN = 0;
7563 8729
7564 SVGAnimatedLength markerHeight; 8730 SVGAnimatedLength get markerHeight() native "return this.markerHeight;";
7565 8731
7566 SVGAnimatedEnumeration markerUnits; 8732 SVGAnimatedEnumeration get markerUnits() native "return this.markerUnits;";
7567 8733
7568 SVGAnimatedLength markerWidth; 8734 SVGAnimatedLength get markerWidth() native "return this.markerWidth;";
7569 8735
7570 SVGAnimatedAngle orientAngle; 8736 SVGAnimatedAngle get orientAngle() native "return this.orientAngle;";
7571 8737
7572 SVGAnimatedEnumeration orientType; 8738 SVGAnimatedEnumeration get orientType() native "return this.orientType;";
7573 8739
7574 SVGAnimatedLength refX; 8740 SVGAnimatedLength get refX() native "return this.refX;";
7575 8741
7576 SVGAnimatedLength refY; 8742 SVGAnimatedLength get refY() native "return this.refY;";
7577 8743
7578 void setOrientToAngle(SVGAngle angle) native; 8744 void setOrientToAngle(SVGAngle angle) native;
7579 8745
7580 void setOrientToAuto() native; 8746 void setOrientToAuto() native;
7581 8747
7582 // From SVGLangSpace 8748 // From SVGLangSpace
7583 8749
7584 String xmllang; 8750 String get xmllang() native "return this.xmllang;";
7585 8751
7586 String xmlspace; 8752 void set xmllang(String value) native "this.xmllang = value;";
8753
8754 String get xmlspace() native "return this.xmlspace;";
8755
8756 void set xmlspace(String value) native "this.xmlspace = value;";
7587 8757
7588 // From SVGExternalResourcesRequired 8758 // From SVGExternalResourcesRequired
7589 8759
7590 SVGAnimatedBoolean externalResourcesRequired; 8760 SVGAnimatedBoolean get externalResourcesRequired() native "return this.externa lResourcesRequired;";
7591 8761
7592 // From SVGStylable 8762 // From SVGStylable
7593 8763
7594 SVGAnimatedString className; 8764 SVGAnimatedString get className() native "return this.className;";
7595 8765
7596 CSSStyleDeclaration style; 8766 CSSStyleDeclaration get style() native "return this.style;";
7597 8767
7598 CSSValue getPresentationAttribute(String name) native; 8768 CSSValue getPresentationAttribute(String name) native;
7599 8769
7600 // From SVGFitToViewBox 8770 // From SVGFitToViewBox
7601 8771
7602 SVGAnimatedPreserveAspectRatio preserveAspectRatio; 8772 SVGAnimatedPreserveAspectRatio get preserveAspectRatio() native "return this.p reserveAspectRatio;";
7603 8773
7604 SVGAnimatedRect viewBox; 8774 SVGAnimatedRect get viewBox() native "return this.viewBox;";
7605 } 8775 }
7606 8776
7607 class SVGMaskElement extends SVGElement native "*SVGMaskElement" { 8777 class SVGMaskElement extends SVGElement native "*SVGMaskElement" {
7608 8778
7609 SVGAnimatedLength height; 8779 SVGAnimatedLength get height() native "return this.height;";
7610 8780
7611 SVGAnimatedEnumeration maskContentUnits; 8781 SVGAnimatedEnumeration get maskContentUnits() native "return this.maskContentU nits;";
7612 8782
7613 SVGAnimatedEnumeration maskUnits; 8783 SVGAnimatedEnumeration get maskUnits() native "return this.maskUnits;";
7614 8784
7615 SVGAnimatedLength width; 8785 SVGAnimatedLength get width() native "return this.width;";
7616 8786
7617 SVGAnimatedLength x; 8787 SVGAnimatedLength get x() native "return this.x;";
7618 8788
7619 SVGAnimatedLength y; 8789 SVGAnimatedLength get y() native "return this.y;";
7620 8790
7621 // From SVGTests 8791 // From SVGTests
7622 8792
7623 SVGStringList requiredExtensions; 8793 SVGStringList get requiredExtensions() native "return this.requiredExtensions; ";
7624 8794
7625 SVGStringList requiredFeatures; 8795 SVGStringList get requiredFeatures() native "return this.requiredFeatures;";
7626 8796
7627 SVGStringList systemLanguage; 8797 SVGStringList get systemLanguage() native "return this.systemLanguage;";
7628 8798
7629 bool hasExtension(String extension) native; 8799 bool hasExtension(String extension) native;
7630 8800
7631 // From SVGLangSpace 8801 // From SVGLangSpace
7632 8802
7633 String xmllang; 8803 String get xmllang() native "return this.xmllang;";
7634 8804
7635 String xmlspace; 8805 void set xmllang(String value) native "this.xmllang = value;";
8806
8807 String get xmlspace() native "return this.xmlspace;";
8808
8809 void set xmlspace(String value) native "this.xmlspace = value;";
7636 8810
7637 // From SVGExternalResourcesRequired 8811 // From SVGExternalResourcesRequired
7638 8812
7639 SVGAnimatedBoolean externalResourcesRequired; 8813 SVGAnimatedBoolean get externalResourcesRequired() native "return this.externa lResourcesRequired;";
7640 8814
7641 // From SVGStylable 8815 // From SVGStylable
7642 8816
7643 SVGAnimatedString className; 8817 SVGAnimatedString get className() native "return this.className;";
7644 8818
7645 CSSStyleDeclaration style; 8819 CSSStyleDeclaration get style() native "return this.style;";
7646 8820
7647 CSSValue getPresentationAttribute(String name) native; 8821 CSSValue getPresentationAttribute(String name) native;
7648 } 8822 }
7649 8823
7650 class SVGMatrix native "*SVGMatrix" { 8824 class SVGMatrix native "*SVGMatrix" {
7651 8825
7652 num a; 8826 num get a() native "return this.a;";
7653 8827
7654 num b; 8828 void set a(num value) native "this.a = value;";
7655 8829
7656 num c; 8830 num get b() native "return this.b;";
7657 8831
7658 num d; 8832 void set b(num value) native "this.b = value;";
7659 8833
7660 num e; 8834 num get c() native "return this.c;";
7661 8835
7662 num f; 8836 void set c(num value) native "this.c = value;";
8837
8838 num get d() native "return this.d;";
8839
8840 void set d(num value) native "this.d = value;";
8841
8842 num get e() native "return this.e;";
8843
8844 void set e(num value) native "this.e = value;";
8845
8846 num get f() native "return this.f;";
8847
8848 void set f(num value) native "this.f = value;";
7663 8849
7664 SVGMatrix flipX() native; 8850 SVGMatrix flipX() native;
7665 8851
7666 SVGMatrix flipY() native; 8852 SVGMatrix flipY() native;
7667 8853
7668 SVGMatrix inverse() native; 8854 SVGMatrix inverse() native;
7669 8855
7670 SVGMatrix multiply(SVGMatrix secondMatrix) native; 8856 SVGMatrix multiply(SVGMatrix secondMatrix) native;
7671 8857
7672 SVGMatrix rotate(num angle) native; 8858 SVGMatrix rotate(num angle) native;
(...skipping 16 matching lines...) Expand all
7689 } 8875 }
7690 8876
7691 class SVGMetadataElement extends SVGElement native "*SVGMetadataElement" { 8877 class SVGMetadataElement extends SVGElement native "*SVGMetadataElement" {
7692 } 8878 }
7693 8879
7694 class SVGMissingGlyphElement extends SVGElement native "*SVGMissingGlyphElement" { 8880 class SVGMissingGlyphElement extends SVGElement native "*SVGMissingGlyphElement" {
7695 } 8881 }
7696 8882
7697 class SVGNumber native "*SVGNumber" { 8883 class SVGNumber native "*SVGNumber" {
7698 8884
7699 num value; 8885 num get value() native "return this.value;";
8886
8887 void set value(num value) native "this.value = value;";
7700 8888
7701 var dartObjectLocalStorage; 8889 var dartObjectLocalStorage;
7702 8890
7703 String get typeName() native; 8891 String get typeName() native;
7704 } 8892 }
7705 8893
7706 class SVGNumberList native "*SVGNumberList" { 8894 class SVGNumberList native "*SVGNumberList" {
7707 8895
7708 int numberOfItems; 8896 int get numberOfItems() native "return this.numberOfItems;";
7709 8897
7710 SVGNumber appendItem(SVGNumber item) native; 8898 SVGNumber appendItem(SVGNumber item) native;
7711 8899
7712 void clear() native; 8900 void clear() native;
7713 8901
7714 SVGNumber getItem(int index) native; 8902 SVGNumber getItem(int index) native;
7715 8903
7716 SVGNumber initialize(SVGNumber item) native; 8904 SVGNumber initialize(SVGNumber item) native;
7717 8905
7718 SVGNumber insertItemBefore(SVGNumber item, int index) native; 8906 SVGNumber insertItemBefore(SVGNumber item, int index) native;
(...skipping 22 matching lines...) Expand all
7741 static final int SVG_PAINTTYPE_URI = 107; 8929 static final int SVG_PAINTTYPE_URI = 107;
7742 8930
7743 static final int SVG_PAINTTYPE_URI_CURRENTCOLOR = 104; 8931 static final int SVG_PAINTTYPE_URI_CURRENTCOLOR = 104;
7744 8932
7745 static final int SVG_PAINTTYPE_URI_NONE = 103; 8933 static final int SVG_PAINTTYPE_URI_NONE = 103;
7746 8934
7747 static final int SVG_PAINTTYPE_URI_RGBCOLOR = 105; 8935 static final int SVG_PAINTTYPE_URI_RGBCOLOR = 105;
7748 8936
7749 static final int SVG_PAINTTYPE_URI_RGBCOLOR_ICCCOLOR = 106; 8937 static final int SVG_PAINTTYPE_URI_RGBCOLOR_ICCCOLOR = 106;
7750 8938
7751 int paintType; 8939 int get paintType() native "return this.paintType;";
7752 8940
7753 String uri; 8941 String get uri() native "return this.uri;";
7754 8942
7755 void setPaint(int paintType, String uri, String rgbColor, String iccColor) nat ive; 8943 void setPaint(int paintType, String uri, String rgbColor, String iccColor) nat ive;
7756 8944
7757 void setUri(String uri) native; 8945 void setUri(String uri) native;
7758 } 8946 }
7759 8947
7760 class SVGPathElement extends SVGElement native "*SVGPathElement" { 8948 class SVGPathElement extends SVGElement native "*SVGPathElement" {
7761 8949
7762 SVGPathSegList animatedNormalizedPathSegList; 8950 SVGPathSegList get animatedNormalizedPathSegList() native "return this.animate dNormalizedPathSegList;";
7763 8951
7764 SVGPathSegList animatedPathSegList; 8952 SVGPathSegList get animatedPathSegList() native "return this.animatedPathSegLi st;";
7765 8953
7766 SVGPathSegList normalizedPathSegList; 8954 SVGPathSegList get normalizedPathSegList() native "return this.normalizedPathS egList;";
7767 8955
7768 SVGAnimatedNumber pathLength; 8956 SVGAnimatedNumber get pathLength() native "return this.pathLength;";
7769 8957
7770 SVGPathSegList pathSegList; 8958 SVGPathSegList get pathSegList() native "return this.pathSegList;";
7771 8959
7772 SVGPathSegArcAbs createSVGPathSegArcAbs(num x, num y, num r1, num r2, num angl e, bool largeArcFlag, bool sweepFlag) native; 8960 SVGPathSegArcAbs createSVGPathSegArcAbs(num x, num y, num r1, num r2, num angl e, bool largeArcFlag, bool sweepFlag) native;
7773 8961
7774 SVGPathSegArcRel createSVGPathSegArcRel(num x, num y, num r1, num r2, num angl e, bool largeArcFlag, bool sweepFlag) native; 8962 SVGPathSegArcRel createSVGPathSegArcRel(num x, num y, num r1, num r2, num angl e, bool largeArcFlag, bool sweepFlag) native;
7775 8963
7776 SVGPathSegClosePath createSVGPathSegClosePath() native; 8964 SVGPathSegClosePath createSVGPathSegClosePath() native;
7777 8965
7778 SVGPathSegCurvetoCubicAbs createSVGPathSegCurvetoCubicAbs(num x, num y, num x1 , num y1, num x2, num y2) native; 8966 SVGPathSegCurvetoCubicAbs createSVGPathSegCurvetoCubicAbs(num x, num y, num x1 , num y1, num x2, num y2) native;
7779 8967
7780 SVGPathSegCurvetoCubicRel createSVGPathSegCurvetoCubicRel(num x, num y, num x1 , num y1, num x2, num y2) native; 8968 SVGPathSegCurvetoCubicRel createSVGPathSegCurvetoCubicRel(num x, num y, num x1 , num y1, num x2, num y2) native;
(...skipping 27 matching lines...) Expand all
7808 SVGPathSegMovetoRel createSVGPathSegMovetoRel(num x, num y) native; 8996 SVGPathSegMovetoRel createSVGPathSegMovetoRel(num x, num y) native;
7809 8997
7810 int getPathSegAtLength(num distance) native; 8998 int getPathSegAtLength(num distance) native;
7811 8999
7812 SVGPoint getPointAtLength(num distance) native; 9000 SVGPoint getPointAtLength(num distance) native;
7813 9001
7814 num getTotalLength() native; 9002 num getTotalLength() native;
7815 9003
7816 // From SVGTests 9004 // From SVGTests
7817 9005
7818 SVGStringList requiredExtensions; 9006 SVGStringList get requiredExtensions() native "return this.requiredExtensions; ";
7819 9007
7820 SVGStringList requiredFeatures; 9008 SVGStringList get requiredFeatures() native "return this.requiredFeatures;";
7821 9009
7822 SVGStringList systemLanguage; 9010 SVGStringList get systemLanguage() native "return this.systemLanguage;";
7823 9011
7824 bool hasExtension(String extension) native; 9012 bool hasExtension(String extension) native;
7825 9013
7826 // From SVGLangSpace 9014 // From SVGLangSpace
7827 9015
7828 String xmllang; 9016 String get xmllang() native "return this.xmllang;";
7829 9017
7830 String xmlspace; 9018 void set xmllang(String value) native "this.xmllang = value;";
9019
9020 String get xmlspace() native "return this.xmlspace;";
9021
9022 void set xmlspace(String value) native "this.xmlspace = value;";
7831 9023
7832 // From SVGExternalResourcesRequired 9024 // From SVGExternalResourcesRequired
7833 9025
7834 SVGAnimatedBoolean externalResourcesRequired; 9026 SVGAnimatedBoolean get externalResourcesRequired() native "return this.externa lResourcesRequired;";
7835 9027
7836 // From SVGStylable 9028 // From SVGStylable
7837 9029
7838 SVGAnimatedString className; 9030 SVGAnimatedString get className() native "return this.className;";
7839 9031
7840 CSSStyleDeclaration style; 9032 CSSStyleDeclaration get style() native "return this.style;";
7841 9033
7842 CSSValue getPresentationAttribute(String name) native; 9034 CSSValue getPresentationAttribute(String name) native;
7843 9035
7844 // From SVGTransformable 9036 // From SVGTransformable
7845 9037
7846 SVGAnimatedTransformList transform; 9038 SVGAnimatedTransformList get transform() native "return this.transform;";
7847 9039
7848 // From SVGLocatable 9040 // From SVGLocatable
7849 9041
7850 SVGElement farthestViewportElement; 9042 SVGElement get farthestViewportElement() native "return this.farthestViewportE lement;";
7851 9043
7852 SVGElement nearestViewportElement; 9044 SVGElement get nearestViewportElement() native "return this.nearestViewportEle ment;";
7853 9045
7854 SVGRect getBBox() native; 9046 SVGRect getBBox() native;
7855 9047
7856 SVGMatrix getCTM() native; 9048 SVGMatrix getCTM() native;
7857 9049
7858 SVGMatrix getScreenCTM() native; 9050 SVGMatrix getScreenCTM() native;
7859 9051
7860 SVGMatrix getTransformToElement(SVGElement element) native; 9052 SVGMatrix getTransformToElement(SVGElement element) native;
7861 } 9053 }
7862 9054
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
7895 static final int PATHSEG_LINETO_VERTICAL_ABS = 14; 9087 static final int PATHSEG_LINETO_VERTICAL_ABS = 14;
7896 9088
7897 static final int PATHSEG_LINETO_VERTICAL_REL = 15; 9089 static final int PATHSEG_LINETO_VERTICAL_REL = 15;
7898 9090
7899 static final int PATHSEG_MOVETO_ABS = 2; 9091 static final int PATHSEG_MOVETO_ABS = 2;
7900 9092
7901 static final int PATHSEG_MOVETO_REL = 3; 9093 static final int PATHSEG_MOVETO_REL = 3;
7902 9094
7903 static final int PATHSEG_UNKNOWN = 0; 9095 static final int PATHSEG_UNKNOWN = 0;
7904 9096
7905 int pathSegType; 9097 int get pathSegType() native "return this.pathSegType;";
7906 9098
7907 String pathSegTypeAsLetter; 9099 String get pathSegTypeAsLetter() native "return this.pathSegTypeAsLetter;";
7908 9100
7909 var dartObjectLocalStorage; 9101 var dartObjectLocalStorage;
7910 9102
7911 String get typeName() native; 9103 String get typeName() native;
7912 } 9104 }
7913 9105
7914 class SVGPathSegArcAbs extends SVGPathSeg native "*SVGPathSegArcAbs" { 9106 class SVGPathSegArcAbs extends SVGPathSeg native "*SVGPathSegArcAbs" {
7915 9107
7916 num angle; 9108 num get angle() native "return this.angle;";
7917 9109
7918 bool largeArcFlag; 9110 void set angle(num value) native "this.angle = value;";
7919 9111
7920 num r1; 9112 bool get largeArcFlag() native "return this.largeArcFlag;";
7921 9113
7922 num r2; 9114 void set largeArcFlag(bool value) native "this.largeArcFlag = value;";
7923 9115
7924 bool sweepFlag; 9116 num get r1() native "return this.r1;";
7925 9117
7926 num x; 9118 void set r1(num value) native "this.r1 = value;";
7927 9119
7928 num y; 9120 num get r2() native "return this.r2;";
9121
9122 void set r2(num value) native "this.r2 = value;";
9123
9124 bool get sweepFlag() native "return this.sweepFlag;";
9125
9126 void set sweepFlag(bool value) native "this.sweepFlag = value;";
9127
9128 num get x() native "return this.x;";
9129
9130 void set x(num value) native "this.x = value;";
9131
9132 num get y() native "return this.y;";
9133
9134 void set y(num value) native "this.y = value;";
7929 } 9135 }
7930 9136
7931 class SVGPathSegArcRel extends SVGPathSeg native "*SVGPathSegArcRel" { 9137 class SVGPathSegArcRel extends SVGPathSeg native "*SVGPathSegArcRel" {
7932 9138
7933 num angle; 9139 num get angle() native "return this.angle;";
7934 9140
7935 bool largeArcFlag; 9141 void set angle(num value) native "this.angle = value;";
7936 9142
7937 num r1; 9143 bool get largeArcFlag() native "return this.largeArcFlag;";
7938 9144
7939 num r2; 9145 void set largeArcFlag(bool value) native "this.largeArcFlag = value;";
7940 9146
7941 bool sweepFlag; 9147 num get r1() native "return this.r1;";
7942 9148
7943 num x; 9149 void set r1(num value) native "this.r1 = value;";
7944 9150
7945 num y; 9151 num get r2() native "return this.r2;";
9152
9153 void set r2(num value) native "this.r2 = value;";
9154
9155 bool get sweepFlag() native "return this.sweepFlag;";
9156
9157 void set sweepFlag(bool value) native "this.sweepFlag = value;";
9158
9159 num get x() native "return this.x;";
9160
9161 void set x(num value) native "this.x = value;";
9162
9163 num get y() native "return this.y;";
9164
9165 void set y(num value) native "this.y = value;";
7946 } 9166 }
7947 9167
7948 class SVGPathSegClosePath extends SVGPathSeg native "*SVGPathSegClosePath" { 9168 class SVGPathSegClosePath extends SVGPathSeg native "*SVGPathSegClosePath" {
7949 } 9169 }
7950 9170
7951 class SVGPathSegCurvetoCubicAbs extends SVGPathSeg native "*SVGPathSegCurvetoCub icAbs" { 9171 class SVGPathSegCurvetoCubicAbs extends SVGPathSeg native "*SVGPathSegCurvetoCub icAbs" {
7952 9172
7953 num x; 9173 num get x() native "return this.x;";
7954 9174
7955 num x1; 9175 void set x(num value) native "this.x = value;";
7956 9176
7957 num x2; 9177 num get x1() native "return this.x1;";
7958 9178
7959 num y; 9179 void set x1(num value) native "this.x1 = value;";
7960 9180
7961 num y1; 9181 num get x2() native "return this.x2;";
7962 9182
7963 num y2; 9183 void set x2(num value) native "this.x2 = value;";
9184
9185 num get y() native "return this.y;";
9186
9187 void set y(num value) native "this.y = value;";
9188
9189 num get y1() native "return this.y1;";
9190
9191 void set y1(num value) native "this.y1 = value;";
9192
9193 num get y2() native "return this.y2;";
9194
9195 void set y2(num value) native "this.y2 = value;";
7964 } 9196 }
7965 9197
7966 class SVGPathSegCurvetoCubicRel extends SVGPathSeg native "*SVGPathSegCurvetoCub icRel" { 9198 class SVGPathSegCurvetoCubicRel extends SVGPathSeg native "*SVGPathSegCurvetoCub icRel" {
7967 9199
7968 num x; 9200 num get x() native "return this.x;";
7969 9201
7970 num x1; 9202 void set x(num value) native "this.x = value;";
7971 9203
7972 num x2; 9204 num get x1() native "return this.x1;";
7973 9205
7974 num y; 9206 void set x1(num value) native "this.x1 = value;";
7975 9207
7976 num y1; 9208 num get x2() native "return this.x2;";
7977 9209
7978 num y2; 9210 void set x2(num value) native "this.x2 = value;";
9211
9212 num get y() native "return this.y;";
9213
9214 void set y(num value) native "this.y = value;";
9215
9216 num get y1() native "return this.y1;";
9217
9218 void set y1(num value) native "this.y1 = value;";
9219
9220 num get y2() native "return this.y2;";
9221
9222 void set y2(num value) native "this.y2 = value;";
7979 } 9223 }
7980 9224
7981 class SVGPathSegCurvetoCubicSmoothAbs extends SVGPathSeg native "*SVGPathSegCurv etoCubicSmoothAbs" { 9225 class SVGPathSegCurvetoCubicSmoothAbs extends SVGPathSeg native "*SVGPathSegCurv etoCubicSmoothAbs" {
7982 9226
7983 num x; 9227 num get x() native "return this.x;";
7984 9228
7985 num x2; 9229 void set x(num value) native "this.x = value;";
7986 9230
7987 num y; 9231 num get x2() native "return this.x2;";
7988 9232
7989 num y2; 9233 void set x2(num value) native "this.x2 = value;";
9234
9235 num get y() native "return this.y;";
9236
9237 void set y(num value) native "this.y = value;";
9238
9239 num get y2() native "return this.y2;";
9240
9241 void set y2(num value) native "this.y2 = value;";
7990 } 9242 }
7991 9243
7992 class SVGPathSegCurvetoCubicSmoothRel extends SVGPathSeg native "*SVGPathSegCurv etoCubicSmoothRel" { 9244 class SVGPathSegCurvetoCubicSmoothRel extends SVGPathSeg native "*SVGPathSegCurv etoCubicSmoothRel" {
7993 9245
7994 num x; 9246 num get x() native "return this.x;";
7995 9247
7996 num x2; 9248 void set x(num value) native "this.x = value;";
7997 9249
7998 num y; 9250 num get x2() native "return this.x2;";
7999 9251
8000 num y2; 9252 void set x2(num value) native "this.x2 = value;";
9253
9254 num get y() native "return this.y;";
9255
9256 void set y(num value) native "this.y = value;";
9257
9258 num get y2() native "return this.y2;";
9259
9260 void set y2(num value) native "this.y2 = value;";
8001 } 9261 }
8002 9262
8003 class SVGPathSegCurvetoQuadraticAbs extends SVGPathSeg native "*SVGPathSegCurvet oQuadraticAbs" { 9263 class SVGPathSegCurvetoQuadraticAbs extends SVGPathSeg native "*SVGPathSegCurvet oQuadraticAbs" {
8004 9264
8005 num x; 9265 num get x() native "return this.x;";
8006 9266
8007 num x1; 9267 void set x(num value) native "this.x = value;";
8008 9268
8009 num y; 9269 num get x1() native "return this.x1;";
8010 9270
8011 num y1; 9271 void set x1(num value) native "this.x1 = value;";
9272
9273 num get y() native "return this.y;";
9274
9275 void set y(num value) native "this.y = value;";
9276
9277 num get y1() native "return this.y1;";
9278
9279 void set y1(num value) native "this.y1 = value;";
8012 } 9280 }
8013 9281
8014 class SVGPathSegCurvetoQuadraticRel extends SVGPathSeg native "*SVGPathSegCurvet oQuadraticRel" { 9282 class SVGPathSegCurvetoQuadraticRel extends SVGPathSeg native "*SVGPathSegCurvet oQuadraticRel" {
8015 9283
8016 num x; 9284 num get x() native "return this.x;";
8017 9285
8018 num x1; 9286 void set x(num value) native "this.x = value;";
8019 9287
8020 num y; 9288 num get x1() native "return this.x1;";
8021 9289
8022 num y1; 9290 void set x1(num value) native "this.x1 = value;";
9291
9292 num get y() native "return this.y;";
9293
9294 void set y(num value) native "this.y = value;";
9295
9296 num get y1() native "return this.y1;";
9297
9298 void set y1(num value) native "this.y1 = value;";
8023 } 9299 }
8024 9300
8025 class SVGPathSegCurvetoQuadraticSmoothAbs extends SVGPathSeg native "*SVGPathSeg CurvetoQuadraticSmoothAbs" { 9301 class SVGPathSegCurvetoQuadraticSmoothAbs extends SVGPathSeg native "*SVGPathSeg CurvetoQuadraticSmoothAbs" {
8026 9302
8027 num x; 9303 num get x() native "return this.x;";
8028 9304
8029 num y; 9305 void set x(num value) native "this.x = value;";
9306
9307 num get y() native "return this.y;";
9308
9309 void set y(num value) native "this.y = value;";
8030 } 9310 }
8031 9311
8032 class SVGPathSegCurvetoQuadraticSmoothRel extends SVGPathSeg native "*SVGPathSeg CurvetoQuadraticSmoothRel" { 9312 class SVGPathSegCurvetoQuadraticSmoothRel extends SVGPathSeg native "*SVGPathSeg CurvetoQuadraticSmoothRel" {
8033 9313
8034 num x; 9314 num get x() native "return this.x;";
8035 9315
8036 num y; 9316 void set x(num value) native "this.x = value;";
9317
9318 num get y() native "return this.y;";
9319
9320 void set y(num value) native "this.y = value;";
8037 } 9321 }
8038 9322
8039 class SVGPathSegLinetoAbs extends SVGPathSeg native "*SVGPathSegLinetoAbs" { 9323 class SVGPathSegLinetoAbs extends SVGPathSeg native "*SVGPathSegLinetoAbs" {
8040 9324
8041 num x; 9325 num get x() native "return this.x;";
8042 9326
8043 num y; 9327 void set x(num value) native "this.x = value;";
9328
9329 num get y() native "return this.y;";
9330
9331 void set y(num value) native "this.y = value;";
8044 } 9332 }
8045 9333
8046 class SVGPathSegLinetoHorizontalAbs extends SVGPathSeg native "*SVGPathSegLineto HorizontalAbs" { 9334 class SVGPathSegLinetoHorizontalAbs extends SVGPathSeg native "*SVGPathSegLineto HorizontalAbs" {
8047 9335
8048 num x; 9336 num get x() native "return this.x;";
9337
9338 void set x(num value) native "this.x = value;";
8049 } 9339 }
8050 9340
8051 class SVGPathSegLinetoHorizontalRel extends SVGPathSeg native "*SVGPathSegLineto HorizontalRel" { 9341 class SVGPathSegLinetoHorizontalRel extends SVGPathSeg native "*SVGPathSegLineto HorizontalRel" {
8052 9342
8053 num x; 9343 num get x() native "return this.x;";
9344
9345 void set x(num value) native "this.x = value;";
8054 } 9346 }
8055 9347
8056 class SVGPathSegLinetoRel extends SVGPathSeg native "*SVGPathSegLinetoRel" { 9348 class SVGPathSegLinetoRel extends SVGPathSeg native "*SVGPathSegLinetoRel" {
8057 9349
8058 num x; 9350 num get x() native "return this.x;";
8059 9351
8060 num y; 9352 void set x(num value) native "this.x = value;";
9353
9354 num get y() native "return this.y;";
9355
9356 void set y(num value) native "this.y = value;";
8061 } 9357 }
8062 9358
8063 class SVGPathSegLinetoVerticalAbs extends SVGPathSeg native "*SVGPathSegLinetoVe rticalAbs" { 9359 class SVGPathSegLinetoVerticalAbs extends SVGPathSeg native "*SVGPathSegLinetoVe rticalAbs" {
8064 9360
8065 num y; 9361 num get y() native "return this.y;";
9362
9363 void set y(num value) native "this.y = value;";
8066 } 9364 }
8067 9365
8068 class SVGPathSegLinetoVerticalRel extends SVGPathSeg native "*SVGPathSegLinetoVe rticalRel" { 9366 class SVGPathSegLinetoVerticalRel extends SVGPathSeg native "*SVGPathSegLinetoVe rticalRel" {
8069 9367
8070 num y; 9368 num get y() native "return this.y;";
9369
9370 void set y(num value) native "this.y = value;";
8071 } 9371 }
8072 9372
8073 class SVGPathSegList native "*SVGPathSegList" { 9373 class SVGPathSegList native "*SVGPathSegList" {
8074 9374
8075 int numberOfItems; 9375 int get numberOfItems() native "return this.numberOfItems;";
8076 9376
8077 SVGPathSeg appendItem(SVGPathSeg newItem) native; 9377 SVGPathSeg appendItem(SVGPathSeg newItem) native;
8078 9378
8079 void clear() native; 9379 void clear() native;
8080 9380
8081 SVGPathSeg getItem(int index) native; 9381 SVGPathSeg getItem(int index) native;
8082 9382
8083 SVGPathSeg initialize(SVGPathSeg newItem) native; 9383 SVGPathSeg initialize(SVGPathSeg newItem) native;
8084 9384
8085 SVGPathSeg insertItemBefore(SVGPathSeg newItem, int index) native; 9385 SVGPathSeg insertItemBefore(SVGPathSeg newItem, int index) native;
8086 9386
8087 SVGPathSeg removeItem(int index) native; 9387 SVGPathSeg removeItem(int index) native;
8088 9388
8089 SVGPathSeg replaceItem(SVGPathSeg newItem, int index) native; 9389 SVGPathSeg replaceItem(SVGPathSeg newItem, int index) native;
8090 9390
8091 var dartObjectLocalStorage; 9391 var dartObjectLocalStorage;
8092 9392
8093 String get typeName() native; 9393 String get typeName() native;
8094 } 9394 }
8095 9395
8096 class SVGPathSegMovetoAbs extends SVGPathSeg native "*SVGPathSegMovetoAbs" { 9396 class SVGPathSegMovetoAbs extends SVGPathSeg native "*SVGPathSegMovetoAbs" {
8097 9397
8098 num x; 9398 num get x() native "return this.x;";
8099 9399
8100 num y; 9400 void set x(num value) native "this.x = value;";
9401
9402 num get y() native "return this.y;";
9403
9404 void set y(num value) native "this.y = value;";
8101 } 9405 }
8102 9406
8103 class SVGPathSegMovetoRel extends SVGPathSeg native "*SVGPathSegMovetoRel" { 9407 class SVGPathSegMovetoRel extends SVGPathSeg native "*SVGPathSegMovetoRel" {
8104 9408
8105 num x; 9409 num get x() native "return this.x;";
8106 9410
8107 num y; 9411 void set x(num value) native "this.x = value;";
9412
9413 num get y() native "return this.y;";
9414
9415 void set y(num value) native "this.y = value;";
8108 } 9416 }
8109 9417
8110 class SVGPatternElement extends SVGElement native "*SVGPatternElement" { 9418 class SVGPatternElement extends SVGElement native "*SVGPatternElement" {
8111 9419
8112 SVGAnimatedLength height; 9420 SVGAnimatedLength get height() native "return this.height;";
8113 9421
8114 SVGAnimatedEnumeration patternContentUnits; 9422 SVGAnimatedEnumeration get patternContentUnits() native "return this.patternCo ntentUnits;";
8115 9423
8116 SVGAnimatedTransformList patternTransform; 9424 SVGAnimatedTransformList get patternTransform() native "return this.patternTra nsform;";
8117 9425
8118 SVGAnimatedEnumeration patternUnits; 9426 SVGAnimatedEnumeration get patternUnits() native "return this.patternUnits;";
8119 9427
8120 SVGAnimatedLength width; 9428 SVGAnimatedLength get width() native "return this.width;";
8121 9429
8122 SVGAnimatedLength x; 9430 SVGAnimatedLength get x() native "return this.x;";
8123 9431
8124 SVGAnimatedLength y; 9432 SVGAnimatedLength get y() native "return this.y;";
8125 9433
8126 // From SVGURIReference 9434 // From SVGURIReference
8127 9435
8128 SVGAnimatedString href; 9436 SVGAnimatedString get href() native "return this.href;";
8129 9437
8130 // From SVGTests 9438 // From SVGTests
8131 9439
8132 SVGStringList requiredExtensions; 9440 SVGStringList get requiredExtensions() native "return this.requiredExtensions; ";
8133 9441
8134 SVGStringList requiredFeatures; 9442 SVGStringList get requiredFeatures() native "return this.requiredFeatures;";
8135 9443
8136 SVGStringList systemLanguage; 9444 SVGStringList get systemLanguage() native "return this.systemLanguage;";
8137 9445
8138 bool hasExtension(String extension) native; 9446 bool hasExtension(String extension) native;
8139 9447
8140 // From SVGLangSpace 9448 // From SVGLangSpace
8141 9449
8142 String xmllang; 9450 String get xmllang() native "return this.xmllang;";
8143 9451
8144 String xmlspace; 9452 void set xmllang(String value) native "this.xmllang = value;";
9453
9454 String get xmlspace() native "return this.xmlspace;";
9455
9456 void set xmlspace(String value) native "this.xmlspace = value;";
8145 9457
8146 // From SVGExternalResourcesRequired 9458 // From SVGExternalResourcesRequired
8147 9459
8148 SVGAnimatedBoolean externalResourcesRequired; 9460 SVGAnimatedBoolean get externalResourcesRequired() native "return this.externa lResourcesRequired;";
8149 9461
8150 // From SVGStylable 9462 // From SVGStylable
8151 9463
8152 SVGAnimatedString className; 9464 SVGAnimatedString get className() native "return this.className;";
8153 9465
8154 CSSStyleDeclaration style; 9466 CSSStyleDeclaration get style() native "return this.style;";
8155 9467
8156 CSSValue getPresentationAttribute(String name) native; 9468 CSSValue getPresentationAttribute(String name) native;
8157 9469
8158 // From SVGFitToViewBox 9470 // From SVGFitToViewBox
8159 9471
8160 SVGAnimatedPreserveAspectRatio preserveAspectRatio; 9472 SVGAnimatedPreserveAspectRatio get preserveAspectRatio() native "return this.p reserveAspectRatio;";
8161 9473
8162 SVGAnimatedRect viewBox; 9474 SVGAnimatedRect get viewBox() native "return this.viewBox;";
8163 } 9475 }
8164 9476
8165 class SVGPoint native "*SVGPoint" { 9477 class SVGPoint native "*SVGPoint" {
8166 9478
8167 num x; 9479 num get x() native "return this.x;";
8168 9480
8169 num y; 9481 void set x(num value) native "this.x = value;";
9482
9483 num get y() native "return this.y;";
9484
9485 void set y(num value) native "this.y = value;";
8170 9486
8171 SVGPoint matrixTransform(SVGMatrix matrix) native; 9487 SVGPoint matrixTransform(SVGMatrix matrix) native;
8172 9488
8173 var dartObjectLocalStorage; 9489 var dartObjectLocalStorage;
8174 9490
8175 String get typeName() native; 9491 String get typeName() native;
8176 } 9492 }
8177 9493
8178 class SVGPointList native "*SVGPointList" { 9494 class SVGPointList native "*SVGPointList" {
8179 9495
8180 int numberOfItems; 9496 int get numberOfItems() native "return this.numberOfItems;";
8181 9497
8182 SVGPoint appendItem(SVGPoint item) native; 9498 SVGPoint appendItem(SVGPoint item) native;
8183 9499
8184 void clear() native; 9500 void clear() native;
8185 9501
8186 SVGPoint getItem(int index) native; 9502 SVGPoint getItem(int index) native;
8187 9503
8188 SVGPoint initialize(SVGPoint item) native; 9504 SVGPoint initialize(SVGPoint item) native;
8189 9505
8190 SVGPoint insertItemBefore(SVGPoint item, int index) native; 9506 SVGPoint insertItemBefore(SVGPoint item, int index) native;
8191 9507
8192 SVGPoint removeItem(int index) native; 9508 SVGPoint removeItem(int index) native;
8193 9509
8194 SVGPoint replaceItem(SVGPoint item, int index) native; 9510 SVGPoint replaceItem(SVGPoint item, int index) native;
8195 9511
8196 var dartObjectLocalStorage; 9512 var dartObjectLocalStorage;
8197 9513
8198 String get typeName() native; 9514 String get typeName() native;
8199 } 9515 }
8200 9516
8201 class SVGPolygonElement extends SVGElement native "*SVGPolygonElement" { 9517 class SVGPolygonElement extends SVGElement native "*SVGPolygonElement" {
8202 9518
8203 SVGPointList animatedPoints; 9519 SVGPointList get animatedPoints() native "return this.animatedPoints;";
8204 9520
8205 SVGPointList points; 9521 SVGPointList get points() native "return this.points;";
8206 9522
8207 // From SVGTests 9523 // From SVGTests
8208 9524
8209 SVGStringList requiredExtensions; 9525 SVGStringList get requiredExtensions() native "return this.requiredExtensions; ";
8210 9526
8211 SVGStringList requiredFeatures; 9527 SVGStringList get requiredFeatures() native "return this.requiredFeatures;";
8212 9528
8213 SVGStringList systemLanguage; 9529 SVGStringList get systemLanguage() native "return this.systemLanguage;";
8214 9530
8215 bool hasExtension(String extension) native; 9531 bool hasExtension(String extension) native;
8216 9532
8217 // From SVGLangSpace 9533 // From SVGLangSpace
8218 9534
8219 String xmllang; 9535 String get xmllang() native "return this.xmllang;";
8220 9536
8221 String xmlspace; 9537 void set xmllang(String value) native "this.xmllang = value;";
9538
9539 String get xmlspace() native "return this.xmlspace;";
9540
9541 void set xmlspace(String value) native "this.xmlspace = value;";
8222 9542
8223 // From SVGExternalResourcesRequired 9543 // From SVGExternalResourcesRequired
8224 9544
8225 SVGAnimatedBoolean externalResourcesRequired; 9545 SVGAnimatedBoolean get externalResourcesRequired() native "return this.externa lResourcesRequired;";
8226 9546
8227 // From SVGStylable 9547 // From SVGStylable
8228 9548
8229 SVGAnimatedString className; 9549 SVGAnimatedString get className() native "return this.className;";
8230 9550
8231 CSSStyleDeclaration style; 9551 CSSStyleDeclaration get style() native "return this.style;";
8232 9552
8233 CSSValue getPresentationAttribute(String name) native; 9553 CSSValue getPresentationAttribute(String name) native;
8234 9554
8235 // From SVGTransformable 9555 // From SVGTransformable
8236 9556
8237 SVGAnimatedTransformList transform; 9557 SVGAnimatedTransformList get transform() native "return this.transform;";
8238 9558
8239 // From SVGLocatable 9559 // From SVGLocatable
8240 9560
8241 SVGElement farthestViewportElement; 9561 SVGElement get farthestViewportElement() native "return this.farthestViewportE lement;";
8242 9562
8243 SVGElement nearestViewportElement; 9563 SVGElement get nearestViewportElement() native "return this.nearestViewportEle ment;";
8244 9564
8245 SVGRect getBBox() native; 9565 SVGRect getBBox() native;
8246 9566
8247 SVGMatrix getCTM() native; 9567 SVGMatrix getCTM() native;
8248 9568
8249 SVGMatrix getScreenCTM() native; 9569 SVGMatrix getScreenCTM() native;
8250 9570
8251 SVGMatrix getTransformToElement(SVGElement element) native; 9571 SVGMatrix getTransformToElement(SVGElement element) native;
8252 } 9572 }
8253 9573
8254 class SVGPolylineElement extends SVGElement native "*SVGPolylineElement" { 9574 class SVGPolylineElement extends SVGElement native "*SVGPolylineElement" {
8255 9575
8256 SVGPointList animatedPoints; 9576 SVGPointList get animatedPoints() native "return this.animatedPoints;";
8257 9577
8258 SVGPointList points; 9578 SVGPointList get points() native "return this.points;";
8259 9579
8260 // From SVGTests 9580 // From SVGTests
8261 9581
8262 SVGStringList requiredExtensions; 9582 SVGStringList get requiredExtensions() native "return this.requiredExtensions; ";
8263 9583
8264 SVGStringList requiredFeatures; 9584 SVGStringList get requiredFeatures() native "return this.requiredFeatures;";
8265 9585
8266 SVGStringList systemLanguage; 9586 SVGStringList get systemLanguage() native "return this.systemLanguage;";
8267 9587
8268 bool hasExtension(String extension) native; 9588 bool hasExtension(String extension) native;
8269 9589
8270 // From SVGLangSpace 9590 // From SVGLangSpace
8271 9591
8272 String xmllang; 9592 String get xmllang() native "return this.xmllang;";
8273 9593
8274 String xmlspace; 9594 void set xmllang(String value) native "this.xmllang = value;";
9595
9596 String get xmlspace() native "return this.xmlspace;";
9597
9598 void set xmlspace(String value) native "this.xmlspace = value;";
8275 9599
8276 // From SVGExternalResourcesRequired 9600 // From SVGExternalResourcesRequired
8277 9601
8278 SVGAnimatedBoolean externalResourcesRequired; 9602 SVGAnimatedBoolean get externalResourcesRequired() native "return this.externa lResourcesRequired;";
8279 9603
8280 // From SVGStylable 9604 // From SVGStylable
8281 9605
8282 SVGAnimatedString className; 9606 SVGAnimatedString get className() native "return this.className;";
8283 9607
8284 CSSStyleDeclaration style; 9608 CSSStyleDeclaration get style() native "return this.style;";
8285 9609
8286 CSSValue getPresentationAttribute(String name) native; 9610 CSSValue getPresentationAttribute(String name) native;
8287 9611
8288 // From SVGTransformable 9612 // From SVGTransformable
8289 9613
8290 SVGAnimatedTransformList transform; 9614 SVGAnimatedTransformList get transform() native "return this.transform;";
8291 9615
8292 // From SVGLocatable 9616 // From SVGLocatable
8293 9617
8294 SVGElement farthestViewportElement; 9618 SVGElement get farthestViewportElement() native "return this.farthestViewportE lement;";
8295 9619
8296 SVGElement nearestViewportElement; 9620 SVGElement get nearestViewportElement() native "return this.nearestViewportEle ment;";
8297 9621
8298 SVGRect getBBox() native; 9622 SVGRect getBBox() native;
8299 9623
8300 SVGMatrix getCTM() native; 9624 SVGMatrix getCTM() native;
8301 9625
8302 SVGMatrix getScreenCTM() native; 9626 SVGMatrix getScreenCTM() native;
8303 9627
8304 SVGMatrix getTransformToElement(SVGElement element) native; 9628 SVGMatrix getTransformToElement(SVGElement element) native;
8305 } 9629 }
8306 9630
(...skipping 20 matching lines...) Expand all
8327 static final int SVG_PRESERVEASPECTRATIO_XMIDYMID = 6; 9651 static final int SVG_PRESERVEASPECTRATIO_XMIDYMID = 6;
8328 9652
8329 static final int SVG_PRESERVEASPECTRATIO_XMIDYMIN = 3; 9653 static final int SVG_PRESERVEASPECTRATIO_XMIDYMIN = 3;
8330 9654
8331 static final int SVG_PRESERVEASPECTRATIO_XMINYMAX = 8; 9655 static final int SVG_PRESERVEASPECTRATIO_XMINYMAX = 8;
8332 9656
8333 static final int SVG_PRESERVEASPECTRATIO_XMINYMID = 5; 9657 static final int SVG_PRESERVEASPECTRATIO_XMINYMID = 5;
8334 9658
8335 static final int SVG_PRESERVEASPECTRATIO_XMINYMIN = 2; 9659 static final int SVG_PRESERVEASPECTRATIO_XMINYMIN = 2;
8336 9660
8337 int align; 9661 int get align() native "return this.align;";
8338 9662
8339 int meetOrSlice; 9663 void set align(int value) native "this.align = value;";
9664
9665 int get meetOrSlice() native "return this.meetOrSlice;";
9666
9667 void set meetOrSlice(int value) native "this.meetOrSlice = value;";
8340 9668
8341 var dartObjectLocalStorage; 9669 var dartObjectLocalStorage;
8342 9670
8343 String get typeName() native; 9671 String get typeName() native;
8344 } 9672 }
8345 9673
8346 class SVGRadialGradientElement extends SVGGradientElement native "*SVGRadialGrad ientElement" { 9674 class SVGRadialGradientElement extends SVGGradientElement native "*SVGRadialGrad ientElement" {
8347 9675
8348 SVGAnimatedLength cx; 9676 SVGAnimatedLength get cx() native "return this.cx;";
8349 9677
8350 SVGAnimatedLength cy; 9678 SVGAnimatedLength get cy() native "return this.cy;";
8351 9679
8352 SVGAnimatedLength fx; 9680 SVGAnimatedLength get fx() native "return this.fx;";
8353 9681
8354 SVGAnimatedLength fy; 9682 SVGAnimatedLength get fy() native "return this.fy;";
8355 9683
8356 SVGAnimatedLength r; 9684 SVGAnimatedLength get r() native "return this.r;";
8357 } 9685 }
8358 9686
8359 class SVGRect native "*SVGRect" { 9687 class SVGRect native "*SVGRect" {
8360 9688
8361 num height; 9689 num get height() native "return this.height;";
8362 9690
8363 num width; 9691 void set height(num value) native "this.height = value;";
8364 9692
8365 num x; 9693 num get width() native "return this.width;";
8366 9694
8367 num y; 9695 void set width(num value) native "this.width = value;";
9696
9697 num get x() native "return this.x;";
9698
9699 void set x(num value) native "this.x = value;";
9700
9701 num get y() native "return this.y;";
9702
9703 void set y(num value) native "this.y = value;";
8368 9704
8369 var dartObjectLocalStorage; 9705 var dartObjectLocalStorage;
8370 9706
8371 String get typeName() native; 9707 String get typeName() native;
8372 } 9708 }
8373 9709
8374 class SVGRectElement extends SVGElement native "*SVGRectElement" { 9710 class SVGRectElement extends SVGElement native "*SVGRectElement" {
8375 9711
8376 SVGAnimatedLength height; 9712 SVGAnimatedLength get height() native "return this.height;";
8377 9713
8378 SVGAnimatedLength rx; 9714 SVGAnimatedLength get rx() native "return this.rx;";
8379 9715
8380 SVGAnimatedLength ry; 9716 SVGAnimatedLength get ry() native "return this.ry;";
8381 9717
8382 SVGAnimatedLength width; 9718 SVGAnimatedLength get width() native "return this.width;";
8383 9719
8384 SVGAnimatedLength x; 9720 SVGAnimatedLength get x() native "return this.x;";
8385 9721
8386 SVGAnimatedLength y; 9722 SVGAnimatedLength get y() native "return this.y;";
8387 9723
8388 // From SVGTests 9724 // From SVGTests
8389 9725
8390 SVGStringList requiredExtensions; 9726 SVGStringList get requiredExtensions() native "return this.requiredExtensions; ";
8391 9727
8392 SVGStringList requiredFeatures; 9728 SVGStringList get requiredFeatures() native "return this.requiredFeatures;";
8393 9729
8394 SVGStringList systemLanguage; 9730 SVGStringList get systemLanguage() native "return this.systemLanguage;";
8395 9731
8396 bool hasExtension(String extension) native; 9732 bool hasExtension(String extension) native;
8397 9733
8398 // From SVGLangSpace 9734 // From SVGLangSpace
8399 9735
8400 String xmllang; 9736 String get xmllang() native "return this.xmllang;";
8401 9737
8402 String xmlspace; 9738 void set xmllang(String value) native "this.xmllang = value;";
9739
9740 String get xmlspace() native "return this.xmlspace;";
9741
9742 void set xmlspace(String value) native "this.xmlspace = value;";
8403 9743
8404 // From SVGExternalResourcesRequired 9744 // From SVGExternalResourcesRequired
8405 9745
8406 SVGAnimatedBoolean externalResourcesRequired; 9746 SVGAnimatedBoolean get externalResourcesRequired() native "return this.externa lResourcesRequired;";
8407 9747
8408 // From SVGStylable 9748 // From SVGStylable
8409 9749
8410 SVGAnimatedString className; 9750 SVGAnimatedString get className() native "return this.className;";
8411 9751
8412 CSSStyleDeclaration style; 9752 CSSStyleDeclaration get style() native "return this.style;";
8413 9753
8414 CSSValue getPresentationAttribute(String name) native; 9754 CSSValue getPresentationAttribute(String name) native;
8415 9755
8416 // From SVGTransformable 9756 // From SVGTransformable
8417 9757
8418 SVGAnimatedTransformList transform; 9758 SVGAnimatedTransformList get transform() native "return this.transform;";
8419 9759
8420 // From SVGLocatable 9760 // From SVGLocatable
8421 9761
8422 SVGElement farthestViewportElement; 9762 SVGElement get farthestViewportElement() native "return this.farthestViewportE lement;";
8423 9763
8424 SVGElement nearestViewportElement; 9764 SVGElement get nearestViewportElement() native "return this.nearestViewportEle ment;";
8425 9765
8426 SVGRect getBBox() native; 9766 SVGRect getBBox() native;
8427 9767
8428 SVGMatrix getCTM() native; 9768 SVGMatrix getCTM() native;
8429 9769
8430 SVGMatrix getScreenCTM() native; 9770 SVGMatrix getScreenCTM() native;
8431 9771
8432 SVGMatrix getTransformToElement(SVGElement element) native; 9772 SVGMatrix getTransformToElement(SVGElement element) native;
8433 } 9773 }
8434 9774
(...skipping 11 matching lines...) Expand all
8446 9786
8447 static final int RENDERING_INTENT_UNKNOWN = 0; 9787 static final int RENDERING_INTENT_UNKNOWN = 0;
8448 9788
8449 var dartObjectLocalStorage; 9789 var dartObjectLocalStorage;
8450 9790
8451 String get typeName() native; 9791 String get typeName() native;
8452 } 9792 }
8453 9793
8454 class SVGSVGElement extends SVGElement native "*SVGSVGElement" { 9794 class SVGSVGElement extends SVGElement native "*SVGSVGElement" {
8455 9795
8456 String contentScriptType; 9796 String get contentScriptType() native "return this.contentScriptType;";
8457 9797
8458 String contentStyleType; 9798 void set contentScriptType(String value) native "this.contentScriptType = valu e;";
8459 9799
8460 num currentScale; 9800 String get contentStyleType() native "return this.contentStyleType;";
8461 9801
8462 SVGPoint currentTranslate; 9802 void set contentStyleType(String value) native "this.contentStyleType = value; ";
8463 9803
8464 SVGAnimatedLength height; 9804 num get currentScale() native "return this.currentScale;";
8465 9805
8466 num pixelUnitToMillimeterX; 9806 void set currentScale(num value) native "this.currentScale = value;";
8467 9807
8468 num pixelUnitToMillimeterY; 9808 SVGPoint get currentTranslate() native "return this.currentTranslate;";
8469 9809
8470 num screenPixelToMillimeterX; 9810 SVGAnimatedLength get height() native "return this.height;";
8471 9811
8472 num screenPixelToMillimeterY; 9812 num get pixelUnitToMillimeterX() native "return this.pixelUnitToMillimeterX;";
8473 9813
8474 bool useCurrentView; 9814 num get pixelUnitToMillimeterY() native "return this.pixelUnitToMillimeterY;";
8475 9815
8476 SVGRect viewport; 9816 num get screenPixelToMillimeterX() native "return this.screenPixelToMillimeter X;";
8477 9817
8478 SVGAnimatedLength width; 9818 num get screenPixelToMillimeterY() native "return this.screenPixelToMillimeter Y;";
8479 9819
8480 SVGAnimatedLength x; 9820 bool get useCurrentView() native "return this.useCurrentView;";
8481 9821
8482 SVGAnimatedLength y; 9822 void set useCurrentView(bool value) native "this.useCurrentView = value;";
9823
9824 SVGRect get viewport() native "return this.viewport;";
9825
9826 SVGAnimatedLength get width() native "return this.width;";
9827
9828 SVGAnimatedLength get x() native "return this.x;";
9829
9830 SVGAnimatedLength get y() native "return this.y;";
8483 9831
8484 bool animationsPaused() native; 9832 bool animationsPaused() native;
8485 9833
8486 bool checkEnclosure(SVGElement element, SVGRect rect) native; 9834 bool checkEnclosure(SVGElement element, SVGRect rect) native;
8487 9835
8488 bool checkIntersection(SVGElement element, SVGRect rect) native; 9836 bool checkIntersection(SVGElement element, SVGRect rect) native;
8489 9837
8490 SVGAngle createSVGAngle() native; 9838 SVGAngle createSVGAngle() native;
8491 9839
8492 SVGLength createSVGLength() native; 9840 SVGLength createSVGLength() native;
(...skipping 29 matching lines...) Expand all
8522 int suspendRedraw(int maxWaitMilliseconds) native; 9870 int suspendRedraw(int maxWaitMilliseconds) native;
8523 9871
8524 void unpauseAnimations() native; 9872 void unpauseAnimations() native;
8525 9873
8526 void unsuspendRedraw(int suspendHandleId) native; 9874 void unsuspendRedraw(int suspendHandleId) native;
8527 9875
8528 void unsuspendRedrawAll() native; 9876 void unsuspendRedrawAll() native;
8529 9877
8530 // From SVGTests 9878 // From SVGTests
8531 9879
8532 SVGStringList requiredExtensions; 9880 SVGStringList get requiredExtensions() native "return this.requiredExtensions; ";
8533 9881
8534 SVGStringList requiredFeatures; 9882 SVGStringList get requiredFeatures() native "return this.requiredFeatures;";
8535 9883
8536 SVGStringList systemLanguage; 9884 SVGStringList get systemLanguage() native "return this.systemLanguage;";
8537 9885
8538 bool hasExtension(String extension) native; 9886 bool hasExtension(String extension) native;
8539 9887
8540 // From SVGLangSpace 9888 // From SVGLangSpace
8541 9889
8542 String xmllang; 9890 String get xmllang() native "return this.xmllang;";
8543 9891
8544 String xmlspace; 9892 void set xmllang(String value) native "this.xmllang = value;";
9893
9894 String get xmlspace() native "return this.xmlspace;";
9895
9896 void set xmlspace(String value) native "this.xmlspace = value;";
8545 9897
8546 // From SVGExternalResourcesRequired 9898 // From SVGExternalResourcesRequired
8547 9899
8548 SVGAnimatedBoolean externalResourcesRequired; 9900 SVGAnimatedBoolean get externalResourcesRequired() native "return this.externa lResourcesRequired;";
8549 9901
8550 // From SVGStylable 9902 // From SVGStylable
8551 9903
8552 SVGAnimatedString className; 9904 SVGAnimatedString get className() native "return this.className;";
8553 9905
8554 CSSStyleDeclaration style; 9906 CSSStyleDeclaration get style() native "return this.style;";
8555 9907
8556 CSSValue getPresentationAttribute(String name) native; 9908 CSSValue getPresentationAttribute(String name) native;
8557 9909
8558 // From SVGLocatable 9910 // From SVGLocatable
8559 9911
8560 SVGElement farthestViewportElement; 9912 SVGElement get farthestViewportElement() native "return this.farthestViewportE lement;";
8561 9913
8562 SVGElement nearestViewportElement; 9914 SVGElement get nearestViewportElement() native "return this.nearestViewportEle ment;";
8563 9915
8564 SVGRect getBBox() native; 9916 SVGRect getBBox() native;
8565 9917
8566 SVGMatrix getCTM() native; 9918 SVGMatrix getCTM() native;
8567 9919
8568 SVGMatrix getScreenCTM() native; 9920 SVGMatrix getScreenCTM() native;
8569 9921
8570 SVGMatrix getTransformToElement(SVGElement element) native; 9922 SVGMatrix getTransformToElement(SVGElement element) native;
8571 9923
8572 // From SVGFitToViewBox 9924 // From SVGFitToViewBox
8573 9925
8574 SVGAnimatedPreserveAspectRatio preserveAspectRatio; 9926 SVGAnimatedPreserveAspectRatio get preserveAspectRatio() native "return this.p reserveAspectRatio;";
8575 9927
8576 SVGAnimatedRect viewBox; 9928 SVGAnimatedRect get viewBox() native "return this.viewBox;";
8577 9929
8578 // From SVGZoomAndPan 9930 // From SVGZoomAndPan
8579 9931
8580 int zoomAndPan; 9932 int get zoomAndPan() native "return this.zoomAndPan;";
9933
9934 void set zoomAndPan(int value) native "this.zoomAndPan = value;";
8581 } 9935 }
8582 9936
8583 class SVGScriptElement extends SVGElement native "*SVGScriptElement" { 9937 class SVGScriptElement extends SVGElement native "*SVGScriptElement" {
8584 9938
8585 String type; 9939 String get type() native "return this.type;";
9940
9941 void set type(String value) native "this.type = value;";
8586 9942
8587 // From SVGURIReference 9943 // From SVGURIReference
8588 9944
8589 SVGAnimatedString href; 9945 SVGAnimatedString get href() native "return this.href;";
8590 9946
8591 // From SVGExternalResourcesRequired 9947 // From SVGExternalResourcesRequired
8592 9948
8593 SVGAnimatedBoolean externalResourcesRequired; 9949 SVGAnimatedBoolean get externalResourcesRequired() native "return this.externa lResourcesRequired;";
8594 } 9950 }
8595 9951
8596 class SVGSetElement extends SVGAnimationElement native "*SVGSetElement" { 9952 class SVGSetElement extends SVGAnimationElement native "*SVGSetElement" {
8597 } 9953 }
8598 9954
8599 class SVGStopElement extends SVGElement native "*SVGStopElement" { 9955 class SVGStopElement extends SVGElement native "*SVGStopElement" {
8600 9956
8601 SVGAnimatedNumber offset; 9957 SVGAnimatedNumber get offset() native "return this.offset;";
8602 9958
8603 // From SVGStylable 9959 // From SVGStylable
8604 9960
8605 SVGAnimatedString className; 9961 SVGAnimatedString get className() native "return this.className;";
8606 9962
8607 CSSStyleDeclaration style; 9963 CSSStyleDeclaration get style() native "return this.style;";
8608 9964
8609 CSSValue getPresentationAttribute(String name) native; 9965 CSSValue getPresentationAttribute(String name) native;
8610 } 9966 }
8611 9967
8612 class SVGStringList native "*SVGStringList" { 9968 class SVGStringList native "*SVGStringList" {
8613 9969
8614 int numberOfItems; 9970 int get numberOfItems() native "return this.numberOfItems;";
8615 9971
8616 String appendItem(String item) native; 9972 String appendItem(String item) native;
8617 9973
8618 void clear() native; 9974 void clear() native;
8619 9975
8620 String getItem(int index) native; 9976 String getItem(int index) native;
8621 9977
8622 String initialize(String item) native; 9978 String initialize(String item) native;
8623 9979
8624 String insertItemBefore(String item, int index) native; 9980 String insertItemBefore(String item, int index) native;
8625 9981
8626 String removeItem(int index) native; 9982 String removeItem(int index) native;
8627 9983
8628 String replaceItem(String item, int index) native; 9984 String replaceItem(String item, int index) native;
8629 9985
8630 var dartObjectLocalStorage; 9986 var dartObjectLocalStorage;
8631 9987
8632 String get typeName() native; 9988 String get typeName() native;
8633 } 9989 }
8634 9990
8635 class SVGStylable native "*SVGStylable" { 9991 class SVGStylable native "*SVGStylable" {
8636 9992
8637 SVGAnimatedString className; 9993 SVGAnimatedString get className() native "return this.className;";
8638 9994
8639 CSSStyleDeclaration style; 9995 CSSStyleDeclaration get style() native "return this.style;";
8640 9996
8641 CSSValue getPresentationAttribute(String name) native; 9997 CSSValue getPresentationAttribute(String name) native;
8642 9998
8643 var dartObjectLocalStorage; 9999 var dartObjectLocalStorage;
8644 10000
8645 String get typeName() native; 10001 String get typeName() native;
8646 } 10002 }
8647 10003
8648 class SVGStyleElement extends SVGElement native "*SVGStyleElement" { 10004 class SVGStyleElement extends SVGElement native "*SVGStyleElement" {
8649 10005
8650 String media; 10006 String get media() native "return this.media;";
8651 10007
8652 String title; 10008 void set media(String value) native "this.media = value;";
8653 10009
8654 String type; 10010 String get title() native "return this.title;";
10011
10012 void set title(String value) native "this.title = value;";
10013
10014 String get type() native "return this.type;";
10015
10016 void set type(String value) native "this.type = value;";
8655 10017
8656 // From SVGLangSpace 10018 // From SVGLangSpace
8657 10019
8658 String xmllang; 10020 String get xmllang() native "return this.xmllang;";
8659 10021
8660 String xmlspace; 10022 void set xmllang(String value) native "this.xmllang = value;";
10023
10024 String get xmlspace() native "return this.xmlspace;";
10025
10026 void set xmlspace(String value) native "this.xmlspace = value;";
8661 } 10027 }
8662 10028
8663 class SVGSwitchElement extends SVGElement native "*SVGSwitchElement" { 10029 class SVGSwitchElement extends SVGElement native "*SVGSwitchElement" {
8664 10030
8665 // From SVGTests 10031 // From SVGTests
8666 10032
8667 SVGStringList requiredExtensions; 10033 SVGStringList get requiredExtensions() native "return this.requiredExtensions; ";
8668 10034
8669 SVGStringList requiredFeatures; 10035 SVGStringList get requiredFeatures() native "return this.requiredFeatures;";
8670 10036
8671 SVGStringList systemLanguage; 10037 SVGStringList get systemLanguage() native "return this.systemLanguage;";
8672 10038
8673 bool hasExtension(String extension) native; 10039 bool hasExtension(String extension) native;
8674 10040
8675 // From SVGLangSpace 10041 // From SVGLangSpace
8676 10042
8677 String xmllang; 10043 String get xmllang() native "return this.xmllang;";
8678 10044
8679 String xmlspace; 10045 void set xmllang(String value) native "this.xmllang = value;";
10046
10047 String get xmlspace() native "return this.xmlspace;";
10048
10049 void set xmlspace(String value) native "this.xmlspace = value;";
8680 10050
8681 // From SVGExternalResourcesRequired 10051 // From SVGExternalResourcesRequired
8682 10052
8683 SVGAnimatedBoolean externalResourcesRequired; 10053 SVGAnimatedBoolean get externalResourcesRequired() native "return this.externa lResourcesRequired;";
8684 10054
8685 // From SVGStylable 10055 // From SVGStylable
8686 10056
8687 SVGAnimatedString className; 10057 SVGAnimatedString get className() native "return this.className;";
8688 10058
8689 CSSStyleDeclaration style; 10059 CSSStyleDeclaration get style() native "return this.style;";
8690 10060
8691 CSSValue getPresentationAttribute(String name) native; 10061 CSSValue getPresentationAttribute(String name) native;
8692 10062
8693 // From SVGTransformable 10063 // From SVGTransformable
8694 10064
8695 SVGAnimatedTransformList transform; 10065 SVGAnimatedTransformList get transform() native "return this.transform;";
8696 10066
8697 // From SVGLocatable 10067 // From SVGLocatable
8698 10068
8699 SVGElement farthestViewportElement; 10069 SVGElement get farthestViewportElement() native "return this.farthestViewportE lement;";
8700 10070
8701 SVGElement nearestViewportElement; 10071 SVGElement get nearestViewportElement() native "return this.nearestViewportEle ment;";
8702 10072
8703 SVGRect getBBox() native; 10073 SVGRect getBBox() native;
8704 10074
8705 SVGMatrix getCTM() native; 10075 SVGMatrix getCTM() native;
8706 10076
8707 SVGMatrix getScreenCTM() native; 10077 SVGMatrix getScreenCTM() native;
8708 10078
8709 SVGMatrix getTransformToElement(SVGElement element) native; 10079 SVGMatrix getTransformToElement(SVGElement element) native;
8710 } 10080 }
8711 10081
8712 class SVGSymbolElement extends SVGElement native "*SVGSymbolElement" { 10082 class SVGSymbolElement extends SVGElement native "*SVGSymbolElement" {
8713 10083
8714 // From SVGLangSpace 10084 // From SVGLangSpace
8715 10085
8716 String xmllang; 10086 String get xmllang() native "return this.xmllang;";
8717 10087
8718 String xmlspace; 10088 void set xmllang(String value) native "this.xmllang = value;";
10089
10090 String get xmlspace() native "return this.xmlspace;";
10091
10092 void set xmlspace(String value) native "this.xmlspace = value;";
8719 10093
8720 // From SVGExternalResourcesRequired 10094 // From SVGExternalResourcesRequired
8721 10095
8722 SVGAnimatedBoolean externalResourcesRequired; 10096 SVGAnimatedBoolean get externalResourcesRequired() native "return this.externa lResourcesRequired;";
8723 10097
8724 // From SVGStylable 10098 // From SVGStylable
8725 10099
8726 SVGAnimatedString className; 10100 SVGAnimatedString get className() native "return this.className;";
8727 10101
8728 CSSStyleDeclaration style; 10102 CSSStyleDeclaration get style() native "return this.style;";
8729 10103
8730 CSSValue getPresentationAttribute(String name) native; 10104 CSSValue getPresentationAttribute(String name) native;
8731 10105
8732 // From SVGFitToViewBox 10106 // From SVGFitToViewBox
8733 10107
8734 SVGAnimatedPreserveAspectRatio preserveAspectRatio; 10108 SVGAnimatedPreserveAspectRatio get preserveAspectRatio() native "return this.p reserveAspectRatio;";
8735 10109
8736 SVGAnimatedRect viewBox; 10110 SVGAnimatedRect get viewBox() native "return this.viewBox;";
8737 } 10111 }
8738 10112
8739 class SVGTRefElement extends SVGTextPositioningElement native "*SVGTRefElement" { 10113 class SVGTRefElement extends SVGTextPositioningElement native "*SVGTRefElement" {
8740 10114
8741 // From SVGURIReference 10115 // From SVGURIReference
8742 10116
8743 SVGAnimatedString href; 10117 SVGAnimatedString get href() native "return this.href;";
8744 } 10118 }
8745 10119
8746 class SVGTSpanElement extends SVGTextPositioningElement native "*SVGTSpanElement " { 10120 class SVGTSpanElement extends SVGTextPositioningElement native "*SVGTSpanElement " {
8747 } 10121 }
8748 10122
8749 class SVGTests native "*SVGTests" { 10123 class SVGTests native "*SVGTests" {
8750 10124
8751 SVGStringList requiredExtensions; 10125 SVGStringList get requiredExtensions() native "return this.requiredExtensions; ";
8752 10126
8753 SVGStringList requiredFeatures; 10127 SVGStringList get requiredFeatures() native "return this.requiredFeatures;";
8754 10128
8755 SVGStringList systemLanguage; 10129 SVGStringList get systemLanguage() native "return this.systemLanguage;";
8756 10130
8757 bool hasExtension(String extension) native; 10131 bool hasExtension(String extension) native;
8758 10132
8759 var dartObjectLocalStorage; 10133 var dartObjectLocalStorage;
8760 10134
8761 String get typeName() native; 10135 String get typeName() native;
8762 } 10136 }
8763 10137
8764 class SVGTextContentElement extends SVGElement native "*SVGTextContentElement" { 10138 class SVGTextContentElement extends SVGElement native "*SVGTextContentElement" {
8765 10139
8766 static final int LENGTHADJUST_SPACING = 1; 10140 static final int LENGTHADJUST_SPACING = 1;
8767 10141
8768 static final int LENGTHADJUST_SPACINGANDGLYPHS = 2; 10142 static final int LENGTHADJUST_SPACINGANDGLYPHS = 2;
8769 10143
8770 static final int LENGTHADJUST_UNKNOWN = 0; 10144 static final int LENGTHADJUST_UNKNOWN = 0;
8771 10145
8772 SVGAnimatedEnumeration lengthAdjust; 10146 SVGAnimatedEnumeration get lengthAdjust() native "return this.lengthAdjust;";
8773 10147
8774 SVGAnimatedLength textLength; 10148 SVGAnimatedLength get textLength() native "return this.textLength;";
8775 10149
8776 int getCharNumAtPosition(SVGPoint point) native; 10150 int getCharNumAtPosition(SVGPoint point) native;
8777 10151
8778 num getComputedTextLength() native; 10152 num getComputedTextLength() native;
8779 10153
8780 SVGPoint getEndPositionOfChar(int offset) native; 10154 SVGPoint getEndPositionOfChar(int offset) native;
8781 10155
8782 SVGRect getExtentOfChar(int offset) native; 10156 SVGRect getExtentOfChar(int offset) native;
8783 10157
8784 int getNumberOfChars() native; 10158 int getNumberOfChars() native;
8785 10159
8786 num getRotationOfChar(int offset) native; 10160 num getRotationOfChar(int offset) native;
8787 10161
8788 SVGPoint getStartPositionOfChar(int offset) native; 10162 SVGPoint getStartPositionOfChar(int offset) native;
8789 10163
8790 num getSubStringLength(int offset, int length) native; 10164 num getSubStringLength(int offset, int length) native;
8791 10165
8792 void selectSubString(int offset, int length) native; 10166 void selectSubString(int offset, int length) native;
8793 10167
8794 // From SVGTests 10168 // From SVGTests
8795 10169
8796 SVGStringList requiredExtensions; 10170 SVGStringList get requiredExtensions() native "return this.requiredExtensions; ";
8797 10171
8798 SVGStringList requiredFeatures; 10172 SVGStringList get requiredFeatures() native "return this.requiredFeatures;";
8799 10173
8800 SVGStringList systemLanguage; 10174 SVGStringList get systemLanguage() native "return this.systemLanguage;";
8801 10175
8802 bool hasExtension(String extension) native; 10176 bool hasExtension(String extension) native;
8803 10177
8804 // From SVGLangSpace 10178 // From SVGLangSpace
8805 10179
8806 String xmllang; 10180 String get xmllang() native "return this.xmllang;";
8807 10181
8808 String xmlspace; 10182 void set xmllang(String value) native "this.xmllang = value;";
10183
10184 String get xmlspace() native "return this.xmlspace;";
10185
10186 void set xmlspace(String value) native "this.xmlspace = value;";
8809 10187
8810 // From SVGExternalResourcesRequired 10188 // From SVGExternalResourcesRequired
8811 10189
8812 SVGAnimatedBoolean externalResourcesRequired; 10190 SVGAnimatedBoolean get externalResourcesRequired() native "return this.externa lResourcesRequired;";
8813 10191
8814 // From SVGStylable 10192 // From SVGStylable
8815 10193
8816 SVGAnimatedString className; 10194 SVGAnimatedString get className() native "return this.className;";
8817 10195
8818 CSSStyleDeclaration style; 10196 CSSStyleDeclaration get style() native "return this.style;";
8819 10197
8820 CSSValue getPresentationAttribute(String name) native; 10198 CSSValue getPresentationAttribute(String name) native;
8821 } 10199 }
8822 10200
8823 class SVGTextElement extends SVGTextPositioningElement native "*SVGTextElement" { 10201 class SVGTextElement extends SVGTextPositioningElement native "*SVGTextElement" {
8824 10202
8825 // From SVGTransformable 10203 // From SVGTransformable
8826 10204
8827 SVGAnimatedTransformList transform; 10205 SVGAnimatedTransformList get transform() native "return this.transform;";
8828 10206
8829 // From SVGLocatable 10207 // From SVGLocatable
8830 10208
8831 SVGElement farthestViewportElement; 10209 SVGElement get farthestViewportElement() native "return this.farthestViewportE lement;";
8832 10210
8833 SVGElement nearestViewportElement; 10211 SVGElement get nearestViewportElement() native "return this.nearestViewportEle ment;";
8834 10212
8835 SVGRect getBBox() native; 10213 SVGRect getBBox() native;
8836 10214
8837 SVGMatrix getCTM() native; 10215 SVGMatrix getCTM() native;
8838 10216
8839 SVGMatrix getScreenCTM() native; 10217 SVGMatrix getScreenCTM() native;
8840 10218
8841 SVGMatrix getTransformToElement(SVGElement element) native; 10219 SVGMatrix getTransformToElement(SVGElement element) native;
8842 } 10220 }
8843 10221
8844 class SVGTextPathElement extends SVGTextContentElement native "*SVGTextPathEleme nt" { 10222 class SVGTextPathElement extends SVGTextContentElement native "*SVGTextPathEleme nt" {
8845 10223
8846 static final int TEXTPATH_METHODTYPE_ALIGN = 1; 10224 static final int TEXTPATH_METHODTYPE_ALIGN = 1;
8847 10225
8848 static final int TEXTPATH_METHODTYPE_STRETCH = 2; 10226 static final int TEXTPATH_METHODTYPE_STRETCH = 2;
8849 10227
8850 static final int TEXTPATH_METHODTYPE_UNKNOWN = 0; 10228 static final int TEXTPATH_METHODTYPE_UNKNOWN = 0;
8851 10229
8852 static final int TEXTPATH_SPACINGTYPE_AUTO = 1; 10230 static final int TEXTPATH_SPACINGTYPE_AUTO = 1;
8853 10231
8854 static final int TEXTPATH_SPACINGTYPE_EXACT = 2; 10232 static final int TEXTPATH_SPACINGTYPE_EXACT = 2;
8855 10233
8856 static final int TEXTPATH_SPACINGTYPE_UNKNOWN = 0; 10234 static final int TEXTPATH_SPACINGTYPE_UNKNOWN = 0;
8857 10235
8858 SVGAnimatedEnumeration method; 10236 SVGAnimatedEnumeration get method() native "return this.method;";
8859 10237
8860 SVGAnimatedEnumeration spacing; 10238 SVGAnimatedEnumeration get spacing() native "return this.spacing;";
8861 10239
8862 SVGAnimatedLength startOffset; 10240 SVGAnimatedLength get startOffset() native "return this.startOffset;";
8863 10241
8864 // From SVGURIReference 10242 // From SVGURIReference
8865 10243
8866 SVGAnimatedString href; 10244 SVGAnimatedString get href() native "return this.href;";
8867 } 10245 }
8868 10246
8869 class SVGTextPositioningElement extends SVGTextContentElement native "*SVGTextPo sitioningElement" { 10247 class SVGTextPositioningElement extends SVGTextContentElement native "*SVGTextPo sitioningElement" {
8870 10248
8871 SVGAnimatedLengthList dx; 10249 SVGAnimatedLengthList get dx() native "return this.dx;";
8872 10250
8873 SVGAnimatedLengthList dy; 10251 SVGAnimatedLengthList get dy() native "return this.dy;";
8874 10252
8875 SVGAnimatedNumberList rotate; 10253 SVGAnimatedNumberList get rotate() native "return this.rotate;";
8876 10254
8877 SVGAnimatedLengthList x; 10255 SVGAnimatedLengthList get x() native "return this.x;";
8878 10256
8879 SVGAnimatedLengthList y; 10257 SVGAnimatedLengthList get y() native "return this.y;";
8880 } 10258 }
8881 10259
8882 class SVGTitleElement extends SVGElement native "*SVGTitleElement" { 10260 class SVGTitleElement extends SVGElement native "*SVGTitleElement" {
8883 10261
8884 // From SVGLangSpace 10262 // From SVGLangSpace
8885 10263
8886 String xmllang; 10264 String get xmllang() native "return this.xmllang;";
8887 10265
8888 String xmlspace; 10266 void set xmllang(String value) native "this.xmllang = value;";
10267
10268 String get xmlspace() native "return this.xmlspace;";
10269
10270 void set xmlspace(String value) native "this.xmlspace = value;";
8889 10271
8890 // From SVGStylable 10272 // From SVGStylable
8891 10273
8892 SVGAnimatedString className; 10274 SVGAnimatedString get className() native "return this.className;";
8893 10275
8894 CSSStyleDeclaration style; 10276 CSSStyleDeclaration get style() native "return this.style;";
8895 10277
8896 CSSValue getPresentationAttribute(String name) native; 10278 CSSValue getPresentationAttribute(String name) native;
8897 } 10279 }
8898 10280
8899 class SVGTransform native "*SVGTransform" { 10281 class SVGTransform native "*SVGTransform" {
8900 10282
8901 static final int SVG_TRANSFORM_MATRIX = 1; 10283 static final int SVG_TRANSFORM_MATRIX = 1;
8902 10284
8903 static final int SVG_TRANSFORM_ROTATE = 4; 10285 static final int SVG_TRANSFORM_ROTATE = 4;
8904 10286
8905 static final int SVG_TRANSFORM_SCALE = 3; 10287 static final int SVG_TRANSFORM_SCALE = 3;
8906 10288
8907 static final int SVG_TRANSFORM_SKEWX = 5; 10289 static final int SVG_TRANSFORM_SKEWX = 5;
8908 10290
8909 static final int SVG_TRANSFORM_SKEWY = 6; 10291 static final int SVG_TRANSFORM_SKEWY = 6;
8910 10292
8911 static final int SVG_TRANSFORM_TRANSLATE = 2; 10293 static final int SVG_TRANSFORM_TRANSLATE = 2;
8912 10294
8913 static final int SVG_TRANSFORM_UNKNOWN = 0; 10295 static final int SVG_TRANSFORM_UNKNOWN = 0;
8914 10296
8915 num angle; 10297 num get angle() native "return this.angle;";
8916 10298
8917 SVGMatrix matrix; 10299 SVGMatrix get matrix() native "return this.matrix;";
8918 10300
8919 int type; 10301 int get type() native "return this.type;";
8920 10302
8921 void setMatrix(SVGMatrix matrix) native; 10303 void setMatrix(SVGMatrix matrix) native;
8922 10304
8923 void setRotate(num angle, num cx, num cy) native; 10305 void setRotate(num angle, num cx, num cy) native;
8924 10306
8925 void setScale(num sx, num sy) native; 10307 void setScale(num sx, num sy) native;
8926 10308
8927 void setSkewX(num angle) native; 10309 void setSkewX(num angle) native;
8928 10310
8929 void setSkewY(num angle) native; 10311 void setSkewY(num angle) native;
8930 10312
8931 void setTranslate(num tx, num ty) native; 10313 void setTranslate(num tx, num ty) native;
8932 10314
8933 var dartObjectLocalStorage; 10315 var dartObjectLocalStorage;
8934 10316
8935 String get typeName() native; 10317 String get typeName() native;
8936 } 10318 }
8937 10319
8938 class SVGTransformList native "*SVGTransformList" { 10320 class SVGTransformList native "*SVGTransformList" {
8939 10321
8940 int numberOfItems; 10322 int get numberOfItems() native "return this.numberOfItems;";
8941 10323
8942 SVGTransform appendItem(SVGTransform item) native; 10324 SVGTransform appendItem(SVGTransform item) native;
8943 10325
8944 void clear() native; 10326 void clear() native;
8945 10327
8946 SVGTransform consolidate() native; 10328 SVGTransform consolidate() native;
8947 10329
8948 SVGTransform createSVGTransformFromMatrix(SVGMatrix matrix) native; 10330 SVGTransform createSVGTransformFromMatrix(SVGMatrix matrix) native;
8949 10331
8950 SVGTransform getItem(int index) native; 10332 SVGTransform getItem(int index) native;
8951 10333
8952 SVGTransform initialize(SVGTransform item) native; 10334 SVGTransform initialize(SVGTransform item) native;
8953 10335
8954 SVGTransform insertItemBefore(SVGTransform item, int index) native; 10336 SVGTransform insertItemBefore(SVGTransform item, int index) native;
8955 10337
8956 SVGTransform removeItem(int index) native; 10338 SVGTransform removeItem(int index) native;
8957 10339
8958 SVGTransform replaceItem(SVGTransform item, int index) native; 10340 SVGTransform replaceItem(SVGTransform item, int index) native;
8959 10341
8960 var dartObjectLocalStorage; 10342 var dartObjectLocalStorage;
8961 10343
8962 String get typeName() native; 10344 String get typeName() native;
8963 } 10345 }
8964 10346
8965 class SVGTransformable extends SVGLocatable native "*SVGTransformable" { 10347 class SVGTransformable extends SVGLocatable native "*SVGTransformable" {
8966 10348
8967 SVGAnimatedTransformList transform; 10349 SVGAnimatedTransformList get transform() native "return this.transform;";
8968 } 10350 }
8969 10351
8970 class SVGURIReference native "*SVGURIReference" { 10352 class SVGURIReference native "*SVGURIReference" {
8971 10353
8972 SVGAnimatedString href; 10354 SVGAnimatedString get href() native "return this.href;";
8973 10355
8974 var dartObjectLocalStorage; 10356 var dartObjectLocalStorage;
8975 10357
8976 String get typeName() native; 10358 String get typeName() native;
8977 } 10359 }
8978 10360
8979 class SVGUnitTypes native "*SVGUnitTypes" { 10361 class SVGUnitTypes native "*SVGUnitTypes" {
8980 10362
8981 static final int SVG_UNIT_TYPE_OBJECTBOUNDINGBOX = 2; 10363 static final int SVG_UNIT_TYPE_OBJECTBOUNDINGBOX = 2;
8982 10364
8983 static final int SVG_UNIT_TYPE_UNKNOWN = 0; 10365 static final int SVG_UNIT_TYPE_UNKNOWN = 0;
8984 10366
8985 static final int SVG_UNIT_TYPE_USERSPACEONUSE = 1; 10367 static final int SVG_UNIT_TYPE_USERSPACEONUSE = 1;
8986 10368
8987 var dartObjectLocalStorage; 10369 var dartObjectLocalStorage;
8988 10370
8989 String get typeName() native; 10371 String get typeName() native;
8990 } 10372 }
8991 10373
8992 class SVGUseElement extends SVGElement native "*SVGUseElement" { 10374 class SVGUseElement extends SVGElement native "*SVGUseElement" {
8993 10375
8994 SVGElementInstance animatedInstanceRoot; 10376 SVGElementInstance get animatedInstanceRoot() native "return this.animatedInst anceRoot;";
8995 10377
8996 SVGAnimatedLength height; 10378 SVGAnimatedLength get height() native "return this.height;";
8997 10379
8998 SVGElementInstance instanceRoot; 10380 SVGElementInstance get instanceRoot() native "return this.instanceRoot;";
8999 10381
9000 SVGAnimatedLength width; 10382 SVGAnimatedLength get width() native "return this.width;";
9001 10383
9002 SVGAnimatedLength x; 10384 SVGAnimatedLength get x() native "return this.x;";
9003 10385
9004 SVGAnimatedLength y; 10386 SVGAnimatedLength get y() native "return this.y;";
9005 10387
9006 // From SVGURIReference 10388 // From SVGURIReference
9007 10389
9008 SVGAnimatedString href; 10390 SVGAnimatedString get href() native "return this.href;";
9009 10391
9010 // From SVGTests 10392 // From SVGTests
9011 10393
9012 SVGStringList requiredExtensions; 10394 SVGStringList get requiredExtensions() native "return this.requiredExtensions; ";
9013 10395
9014 SVGStringList requiredFeatures; 10396 SVGStringList get requiredFeatures() native "return this.requiredFeatures;";
9015 10397
9016 SVGStringList systemLanguage; 10398 SVGStringList get systemLanguage() native "return this.systemLanguage;";
9017 10399
9018 bool hasExtension(String extension) native; 10400 bool hasExtension(String extension) native;
9019 10401
9020 // From SVGLangSpace 10402 // From SVGLangSpace
9021 10403
9022 String xmllang; 10404 String get xmllang() native "return this.xmllang;";
9023 10405
9024 String xmlspace; 10406 void set xmllang(String value) native "this.xmllang = value;";
10407
10408 String get xmlspace() native "return this.xmlspace;";
10409
10410 void set xmlspace(String value) native "this.xmlspace = value;";
9025 10411
9026 // From SVGExternalResourcesRequired 10412 // From SVGExternalResourcesRequired
9027 10413
9028 SVGAnimatedBoolean externalResourcesRequired; 10414 SVGAnimatedBoolean get externalResourcesRequired() native "return this.externa lResourcesRequired;";
9029 10415
9030 // From SVGStylable 10416 // From SVGStylable
9031 10417
9032 SVGAnimatedString className; 10418 SVGAnimatedString get className() native "return this.className;";
9033 10419
9034 CSSStyleDeclaration style; 10420 CSSStyleDeclaration get style() native "return this.style;";
9035 10421
9036 CSSValue getPresentationAttribute(String name) native; 10422 CSSValue getPresentationAttribute(String name) native;
9037 10423
9038 // From SVGTransformable 10424 // From SVGTransformable
9039 10425
9040 SVGAnimatedTransformList transform; 10426 SVGAnimatedTransformList get transform() native "return this.transform;";
9041 10427
9042 // From SVGLocatable 10428 // From SVGLocatable
9043 10429
9044 SVGElement farthestViewportElement; 10430 SVGElement get farthestViewportElement() native "return this.farthestViewportE lement;";
9045 10431
9046 SVGElement nearestViewportElement; 10432 SVGElement get nearestViewportElement() native "return this.nearestViewportEle ment;";
9047 10433
9048 SVGRect getBBox() native; 10434 SVGRect getBBox() native;
9049 10435
9050 SVGMatrix getCTM() native; 10436 SVGMatrix getCTM() native;
9051 10437
9052 SVGMatrix getScreenCTM() native; 10438 SVGMatrix getScreenCTM() native;
9053 10439
9054 SVGMatrix getTransformToElement(SVGElement element) native; 10440 SVGMatrix getTransformToElement(SVGElement element) native;
9055 } 10441 }
9056 10442
9057 class SVGVKernElement extends SVGElement native "*SVGVKernElement" { 10443 class SVGVKernElement extends SVGElement native "*SVGVKernElement" {
9058 } 10444 }
9059 10445
9060 class SVGViewElement extends SVGElement native "*SVGViewElement" { 10446 class SVGViewElement extends SVGElement native "*SVGViewElement" {
9061 10447
9062 SVGStringList viewTarget; 10448 SVGStringList get viewTarget() native "return this.viewTarget;";
9063 10449
9064 // From SVGExternalResourcesRequired 10450 // From SVGExternalResourcesRequired
9065 10451
9066 SVGAnimatedBoolean externalResourcesRequired; 10452 SVGAnimatedBoolean get externalResourcesRequired() native "return this.externa lResourcesRequired;";
9067 10453
9068 // From SVGFitToViewBox 10454 // From SVGFitToViewBox
9069 10455
9070 SVGAnimatedPreserveAspectRatio preserveAspectRatio; 10456 SVGAnimatedPreserveAspectRatio get preserveAspectRatio() native "return this.p reserveAspectRatio;";
9071 10457
9072 SVGAnimatedRect viewBox; 10458 SVGAnimatedRect get viewBox() native "return this.viewBox;";
9073 10459
9074 // From SVGZoomAndPan 10460 // From SVGZoomAndPan
9075 10461
9076 int zoomAndPan; 10462 int get zoomAndPan() native "return this.zoomAndPan;";
10463
10464 void set zoomAndPan(int value) native "this.zoomAndPan = value;";
9077 } 10465 }
9078 10466
9079 class SVGViewSpec extends SVGZoomAndPan native "*SVGViewSpec" { 10467 class SVGViewSpec extends SVGZoomAndPan native "*SVGViewSpec" {
9080 10468
9081 String preserveAspectRatioString; 10469 String get preserveAspectRatioString() native "return this.preserveAspectRatio String;";
9082 10470
9083 SVGTransformList transform; 10471 SVGTransformList get transform() native "return this.transform;";
9084 10472
9085 String transformString; 10473 String get transformString() native "return this.transformString;";
9086 10474
9087 String viewBoxString; 10475 String get viewBoxString() native "return this.viewBoxString;";
9088 10476
9089 SVGElement viewTarget; 10477 SVGElement get viewTarget() native "return this.viewTarget;";
9090 10478
9091 String viewTargetString; 10479 String get viewTargetString() native "return this.viewTargetString;";
9092 10480
9093 // From SVGFitToViewBox 10481 // From SVGFitToViewBox
9094 10482
9095 SVGAnimatedPreserveAspectRatio preserveAspectRatio; 10483 SVGAnimatedPreserveAspectRatio get preserveAspectRatio() native "return this.p reserveAspectRatio;";
9096 10484
9097 SVGAnimatedRect viewBox; 10485 SVGAnimatedRect get viewBox() native "return this.viewBox;";
9098 } 10486 }
9099 10487
9100 class SVGZoomAndPan native "*SVGZoomAndPan" { 10488 class SVGZoomAndPan native "*SVGZoomAndPan" {
9101 10489
9102 static final int SVG_ZOOMANDPAN_DISABLE = 1; 10490 static final int SVG_ZOOMANDPAN_DISABLE = 1;
9103 10491
9104 static final int SVG_ZOOMANDPAN_MAGNIFY = 2; 10492 static final int SVG_ZOOMANDPAN_MAGNIFY = 2;
9105 10493
9106 static final int SVG_ZOOMANDPAN_UNKNOWN = 0; 10494 static final int SVG_ZOOMANDPAN_UNKNOWN = 0;
9107 10495
9108 int zoomAndPan; 10496 int get zoomAndPan() native "return this.zoomAndPan;";
10497
10498 void set zoomAndPan(int value) native "this.zoomAndPan = value;";
9109 10499
9110 var dartObjectLocalStorage; 10500 var dartObjectLocalStorage;
9111 10501
9112 String get typeName() native; 10502 String get typeName() native;
9113 } 10503 }
9114 10504
9115 class SVGZoomEvent extends UIEvent native "*SVGZoomEvent" { 10505 class SVGZoomEvent extends UIEvent native "*SVGZoomEvent" {
9116 10506
9117 num newScale; 10507 num get newScale() native "return this.newScale;";
9118 10508
9119 SVGPoint newTranslate; 10509 SVGPoint get newTranslate() native "return this.newTranslate;";
9120 10510
9121 num previousScale; 10511 num get previousScale() native "return this.previousScale;";
9122 10512
9123 SVGPoint previousTranslate; 10513 SVGPoint get previousTranslate() native "return this.previousTranslate;";
9124 10514
9125 SVGRect zoomRectScreen; 10515 SVGRect get zoomRectScreen() native "return this.zoomRectScreen;";
9126 } 10516 }
9127 10517
9128 class Screen native "*Screen" { 10518 class Screen native "*Screen" {
9129 10519
9130 int availHeight; 10520 int get availHeight() native "return this.availHeight;";
9131 10521
9132 int availLeft; 10522 int get availLeft() native "return this.availLeft;";
9133 10523
9134 int availTop; 10524 int get availTop() native "return this.availTop;";
9135 10525
9136 int availWidth; 10526 int get availWidth() native "return this.availWidth;";
9137 10527
9138 int colorDepth; 10528 int get colorDepth() native "return this.colorDepth;";
9139 10529
9140 int height; 10530 int get height() native "return this.height;";
9141 10531
9142 int pixelDepth; 10532 int get pixelDepth() native "return this.pixelDepth;";
9143 10533
9144 int width; 10534 int get width() native "return this.width;";
9145 10535
9146 var dartObjectLocalStorage; 10536 var dartObjectLocalStorage;
9147 10537
9148 String get typeName() native; 10538 String get typeName() native;
9149 } 10539 }
9150 10540
9151 class ScriptProfile native "*ScriptProfile" { 10541 class ScriptProfile native "*ScriptProfile" {
9152 10542
9153 ScriptProfileNode head; 10543 ScriptProfileNode get head() native "return this.head;";
9154 10544
9155 String title; 10545 String get title() native "return this.title;";
9156 10546
9157 int uid; 10547 int get uid() native "return this.uid;";
9158 10548
9159 var dartObjectLocalStorage; 10549 var dartObjectLocalStorage;
9160 10550
9161 String get typeName() native; 10551 String get typeName() native;
9162 } 10552 }
9163 10553
9164 class ScriptProfileNode native "*ScriptProfileNode" { 10554 class ScriptProfileNode native "*ScriptProfileNode" {
9165 10555
9166 int callUID; 10556 int get callUID() native "return this.callUID;";
9167 10557
9168 List children; 10558 List get children() native "return this.children;";
9169 10559
9170 String functionName; 10560 String get functionName() native "return this.functionName;";
9171 10561
9172 int lineNumber; 10562 int get lineNumber() native "return this.lineNumber;";
9173 10563
9174 int numberOfCalls; 10564 int get numberOfCalls() native "return this.numberOfCalls;";
9175 10565
9176 num selfTime; 10566 num get selfTime() native "return this.selfTime;";
9177 10567
9178 num totalTime; 10568 num get totalTime() native "return this.totalTime;";
9179 10569
9180 String url; 10570 String get url() native "return this.url;";
9181 10571
9182 bool visible; 10572 bool get visible() native "return this.visible;";
9183 10573
9184 var dartObjectLocalStorage; 10574 var dartObjectLocalStorage;
9185 10575
9186 String get typeName() native; 10576 String get typeName() native;
9187 } 10577 }
9188 10578
9189 class SharedWorker extends AbstractWorker native "*SharedWorker" { 10579 class SharedWorker extends AbstractWorker native "*SharedWorker" {
9190 10580
9191 MessagePort port; 10581 MessagePort get port() native "return this.port;";
9192 } 10582 }
9193 10583
9194 class SharedWorkercontext extends WorkerContext native "*SharedWorkercontext" { 10584 class SharedWorkerContext extends WorkerContext native "*SharedWorkerContext" {
9195 10585
9196 String name; 10586 String get name() native "return this.name;";
9197 10587
9198 EventListener onconnect; 10588 EventListener get onconnect() native "return this.onconnect;";
10589
10590 void set onconnect(EventListener value) native "this.onconnect = value;";
9199 } 10591 }
9200 10592
9201 class SpeechInputEvent extends Event native "*SpeechInputEvent" { 10593 class SpeechInputEvent extends Event native "*SpeechInputEvent" {
9202 10594
9203 SpeechInputResultList results; 10595 SpeechInputResultList get results() native "return this.results;";
9204 } 10596 }
9205 10597
9206 class SpeechInputResult native "*SpeechInputResult" { 10598 class SpeechInputResult native "*SpeechInputResult" {
9207 10599
9208 num confidence; 10600 num get confidence() native "return this.confidence;";
9209 10601
9210 String utterance; 10602 String get utterance() native "return this.utterance;";
9211 10603
9212 var dartObjectLocalStorage; 10604 var dartObjectLocalStorage;
9213 10605
9214 String get typeName() native; 10606 String get typeName() native;
9215 } 10607 }
9216 10608
9217 class SpeechInputResultList native "*SpeechInputResultList" { 10609 class SpeechInputResultList native "*SpeechInputResultList" {
9218 10610
9219 int length; 10611 int get length() native "return this.length;";
9220 10612
9221 SpeechInputResult item(int index) native; 10613 SpeechInputResult item(int index) native;
9222 10614
9223 var dartObjectLocalStorage; 10615 var dartObjectLocalStorage;
9224 10616
9225 String get typeName() native; 10617 String get typeName() native;
9226 } 10618 }
9227 10619
9228 class Storage native "*Storage" { 10620 class Storage native "*Storage" {
9229 10621
9230 int length; 10622 int get length() native "return this.length;";
9231 10623
9232 void clear() native; 10624 void clear() native;
9233 10625
9234 String getItem(String key) native; 10626 String getItem(String key) native;
9235 10627
9236 String key(int index) native; 10628 String key(int index) native;
9237 10629
9238 void removeItem(String key) native; 10630 void removeItem(String key) native;
9239 10631
9240 void setItem(String key, String data) native; 10632 void setItem(String key, String data) native;
(...skipping 22 matching lines...) Expand all
9263 10655
9264 """ { 10656 """ {
9265 throw new UnsupportedOperationException(''); 10657 throw new UnsupportedOperationException('');
9266 } 10658 }
9267 10659
9268 String get typeName() native; 10660 String get typeName() native;
9269 } 10661 }
9270 10662
9271 class StorageEvent extends Event native "*StorageEvent" { 10663 class StorageEvent extends Event native "*StorageEvent" {
9272 10664
9273 String key; 10665 String get key() native "return this.key;";
9274 10666
9275 String newValue; 10667 String get newValue() native "return this.newValue;";
9276 10668
9277 String oldValue; 10669 String get oldValue() native "return this.oldValue;";
9278 10670
9279 Storage storageArea; 10671 Storage get storageArea() native "return this.storageArea;";
9280 10672
9281 String url; 10673 String get url() native "return this.url;";
9282 10674
9283 void initStorageEvent(String typeArg, bool canBubbleArg, bool cancelableArg, S tring keyArg, String oldValueArg, String newValueArg, String urlArg, Storage sto rageAreaArg) native; 10675 void initStorageEvent(String typeArg, bool canBubbleArg, bool cancelableArg, S tring keyArg, String oldValueArg, String newValueArg, String urlArg, Storage sto rageAreaArg) native;
9284 } 10676 }
9285 10677
9286 class StorageInfo native "*StorageInfo" { 10678 class StorageInfo native "*StorageInfo" {
9287 10679
9288 static final int PERSISTENT = 1; 10680 static final int PERSISTENT = 1;
9289 10681
9290 static final int TEMPORARY = 0; 10682 static final int TEMPORARY = 0;
9291 10683
(...skipping 29 matching lines...) Expand all
9321 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 10713 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
9322 // for details. All rights reserved. Use of this source code is governed by a 10714 // for details. All rights reserved. Use of this source code is governed by a
9323 // BSD-style license that can be found in the LICENSE file. 10715 // BSD-style license that can be found in the LICENSE file.
9324 10716
9325 // WARNING: Do not edit - generated code. 10717 // WARNING: Do not edit - generated code.
9326 10718
9327 typedef bool StringCallback(String data); 10719 typedef bool StringCallback(String data);
9328 10720
9329 class StyleMedia native "*StyleMedia" { 10721 class StyleMedia native "*StyleMedia" {
9330 10722
9331 String type; 10723 String get type() native "return this.type;";
9332 10724
9333 bool matchMedium(String mediaquery) native; 10725 bool matchMedium(String mediaquery) native;
9334 10726
9335 var dartObjectLocalStorage; 10727 var dartObjectLocalStorage;
9336 10728
9337 String get typeName() native; 10729 String get typeName() native;
9338 } 10730 }
9339 10731
9340 class StyleSheet native "*StyleSheet" { 10732 class StyleSheet native "*StyleSheet" {
9341 10733
9342 bool disabled; 10734 bool get disabled() native "return this.disabled;";
9343 10735
9344 String href; 10736 void set disabled(bool value) native "this.disabled = value;";
9345 10737
9346 MediaList media; 10738 String get href() native "return this.href;";
9347 10739
9348 Node ownerNode; 10740 MediaList get media() native "return this.media;";
9349 10741
9350 StyleSheet parentStyleSheet; 10742 Node get ownerNode() native "return this.ownerNode;";
9351 10743
9352 String title; 10744 StyleSheet get parentStyleSheet() native "return this.parentStyleSheet;";
9353 10745
9354 String type; 10746 String get title() native "return this.title;";
10747
10748 String get type() native "return this.type;";
9355 10749
9356 var dartObjectLocalStorage; 10750 var dartObjectLocalStorage;
9357 10751
9358 String get typeName() native; 10752 String get typeName() native;
9359 } 10753 }
9360 10754
9361 class StyleSheetList native "*StyleSheetList" { 10755 class StyleSheetList native "*StyleSheetList" {
9362 10756
9363 int length; 10757 int get length() native "return this.length;";
9364 10758
9365 StyleSheet operator[](int index) native; 10759 StyleSheet operator[](int index) native;
9366 10760
9367 void operator[]=(int index, StyleSheet value) { 10761 void operator[]=(int index, StyleSheet value) {
9368 throw new UnsupportedOperationException("Cannot assign element of immutable List."); 10762 throw new UnsupportedOperationException("Cannot assign element of immutable List.");
9369 } 10763 }
9370 10764
9371 StyleSheet item(int index) native; 10765 StyleSheet item(int index) native;
9372 10766
9373 var dartObjectLocalStorage; 10767 var dartObjectLocalStorage;
9374 10768
9375 String get typeName() native; 10769 String get typeName() native;
9376 } 10770 }
9377 10771
9378 class Text extends CharacterData native "*Text" { 10772 class Text extends CharacterData native "*Text" {
9379 10773
9380 String wholeText; 10774 String get wholeText() native "return this.wholeText;";
9381 10775
9382 Text replaceWholeText(String content) native; 10776 Text replaceWholeText(String content) native;
9383 10777
9384 Text splitText(int offset) native; 10778 Text splitText(int offset) native;
9385 } 10779 }
9386 10780
9387 class TextEvent extends UIEvent native "*TextEvent" { 10781 class TextEvent extends UIEvent native "*TextEvent" {
9388 10782
9389 String data; 10783 String get data() native "return this.data;";
9390 10784
9391 void initTextEvent(String typeArg, bool canBubbleArg, bool cancelableArg, DOMW indow viewArg, String dataArg) native; 10785 void initTextEvent(String typeArg, bool canBubbleArg, bool cancelableArg, DOMW indow viewArg, String dataArg) native;
9392 } 10786 }
9393 10787
9394 class TextMetrics native "*TextMetrics" { 10788 class TextMetrics native "*TextMetrics" {
9395 10789
9396 num width; 10790 num get width() native "return this.width;";
9397 10791
9398 var dartObjectLocalStorage; 10792 var dartObjectLocalStorage;
9399 10793
9400 String get typeName() native; 10794 String get typeName() native;
9401 } 10795 }
9402 10796
9403 class TextTrack native "*TextTrack" { 10797 class TextTrack native "*TextTrack" {
9404 10798
9405 static final int DISABLED = 0; 10799 static final int DISABLED = 0;
9406 10800
9407 static final int HIDDEN = 1; 10801 static final int HIDDEN = 1;
9408 10802
9409 static final int SHOWING = 2; 10803 static final int SHOWING = 2;
9410 10804
9411 TextTrackCueList activeCues; 10805 TextTrackCueList get activeCues() native "return this.activeCues;";
9412 10806
9413 TextTrackCueList cues; 10807 TextTrackCueList get cues() native "return this.cues;";
9414 10808
9415 String kind; 10809 String get kind() native "return this.kind;";
9416 10810
9417 String label; 10811 String get label() native "return this.label;";
9418 10812
9419 String language; 10813 String get language() native "return this.language;";
9420 10814
9421 int mode; 10815 int get mode() native "return this.mode;";
9422 10816
9423 EventListener oncuechange; 10817 void set mode(int value) native "this.mode = value;";
10818
10819 EventListener get oncuechange() native "return this.oncuechange;";
10820
10821 void set oncuechange(EventListener value) native "this.oncuechange = value;";
9424 10822
9425 void addCue(TextTrackCue cue) native; 10823 void addCue(TextTrackCue cue) native;
9426 10824
9427 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native; 10825 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
9428 10826
9429 bool dispatchEvent(Event evt) native; 10827 bool dispatchEvent(Event evt) native;
9430 10828
9431 void removeCue(TextTrackCue cue) native; 10829 void removeCue(TextTrackCue cue) native;
9432 10830
9433 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native; 10831 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
9434 10832
9435 var dartObjectLocalStorage; 10833 var dartObjectLocalStorage;
9436 10834
9437 String get typeName() native; 10835 String get typeName() native;
9438 } 10836 }
9439 10837
9440 class TextTrackCue native "*TextTrackCue" { 10838 class TextTrackCue native "*TextTrackCue" {
9441 10839
9442 String alignment; 10840 String get alignment() native "return this.alignment;";
9443 10841
9444 String direction; 10842 void set alignment(String value) native "this.alignment = value;";
9445 10843
9446 num endTime; 10844 String get direction() native "return this.direction;";
9447 10845
9448 String id; 10846 void set direction(String value) native "this.direction = value;";
9449 10847
9450 int linePosition; 10848 num get endTime() native "return this.endTime;";
9451 10849
9452 EventListener onenter; 10850 void set endTime(num value) native "this.endTime = value;";
9453 10851
9454 EventListener onexit; 10852 String get id() native "return this.id;";
9455 10853
9456 bool pauseOnExit; 10854 void set id(String value) native "this.id = value;";
9457 10855
9458 int size; 10856 int get linePosition() native "return this.linePosition;";
9459 10857
9460 bool snapToLines; 10858 void set linePosition(int value) native "this.linePosition = value;";
9461 10859
9462 num startTime; 10860 EventListener get onenter() native "return this.onenter;";
9463 10861
9464 String text; 10862 void set onenter(EventListener value) native "this.onenter = value;";
9465 10863
9466 int textPosition; 10864 EventListener get onexit() native "return this.onexit;";
9467 10865
9468 TextTrack track; 10866 void set onexit(EventListener value) native "this.onexit = value;";
10867
10868 bool get pauseOnExit() native "return this.pauseOnExit;";
10869
10870 void set pauseOnExit(bool value) native "this.pauseOnExit = value;";
10871
10872 int get size() native "return this.size;";
10873
10874 void set size(int value) native "this.size = value;";
10875
10876 bool get snapToLines() native "return this.snapToLines;";
10877
10878 void set snapToLines(bool value) native "this.snapToLines = value;";
10879
10880 num get startTime() native "return this.startTime;";
10881
10882 void set startTime(num value) native "this.startTime = value;";
10883
10884 String get text() native "return this.text;";
10885
10886 void set text(String value) native "this.text = value;";
10887
10888 int get textPosition() native "return this.textPosition;";
10889
10890 void set textPosition(int value) native "this.textPosition = value;";
10891
10892 TextTrack get track() native "return this.track;";
9469 10893
9470 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native; 10894 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
9471 10895
9472 bool dispatchEvent(Event evt) native; 10896 bool dispatchEvent(Event evt) native;
9473 10897
9474 DocumentFragment getCueAsHTML() native; 10898 DocumentFragment getCueAsHTML() native;
9475 10899
9476 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native; 10900 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
9477 10901
9478 var dartObjectLocalStorage; 10902 var dartObjectLocalStorage;
9479 10903
9480 String get typeName() native; 10904 String get typeName() native;
9481 } 10905 }
9482 10906
9483 class TextTrackCueList native "*TextTrackCueList" { 10907 class TextTrackCueList native "*TextTrackCueList" {
9484 10908
9485 int length; 10909 int get length() native "return this.length;";
9486 10910
9487 TextTrackCue getCueById(String id) native; 10911 TextTrackCue getCueById(String id) native;
9488 10912
9489 TextTrackCue item(int index) native; 10913 TextTrackCue item(int index) native;
9490 10914
9491 var dartObjectLocalStorage; 10915 var dartObjectLocalStorage;
9492 10916
9493 String get typeName() native; 10917 String get typeName() native;
9494 } 10918 }
9495 10919
9496 class TextTrackList native "*TextTrackList" { 10920 class TextTrackList native "*TextTrackList" {
9497 10921
9498 int length; 10922 int get length() native "return this.length;";
9499 10923
9500 EventListener onaddtrack; 10924 EventListener get onaddtrack() native "return this.onaddtrack;";
10925
10926 void set onaddtrack(EventListener value) native "this.onaddtrack = value;";
9501 10927
9502 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native; 10928 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
9503 10929
9504 bool dispatchEvent(Event evt) native; 10930 bool dispatchEvent(Event evt) native;
9505 10931
9506 TextTrack item(int index) native; 10932 TextTrack item(int index) native;
9507 10933
9508 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native; 10934 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
9509 10935
9510 var dartObjectLocalStorage; 10936 var dartObjectLocalStorage;
9511 10937
9512 String get typeName() native; 10938 String get typeName() native;
9513 } 10939 }
9514 10940
9515 class TimeRanges native "*TimeRanges" { 10941 class TimeRanges native "*TimeRanges" {
9516 10942
9517 int length; 10943 int get length() native "return this.length;";
9518 10944
9519 num end(int index) native; 10945 num end(int index) native;
9520 10946
9521 num start(int index) native; 10947 num start(int index) native;
9522 10948
9523 var dartObjectLocalStorage; 10949 var dartObjectLocalStorage;
9524 10950
9525 String get typeName() native; 10951 String get typeName() native;
9526 } 10952 }
9527 10953
9528 class Touch native "*Touch" { 10954 class Touch native "*Touch" {
9529 10955
9530 int clientX; 10956 int get clientX() native "return this.clientX;";
9531 10957
9532 int clientY; 10958 int get clientY() native "return this.clientY;";
9533 10959
9534 int identifier; 10960 int get identifier() native "return this.identifier;";
9535 10961
9536 int pageX; 10962 int get pageX() native "return this.pageX;";
9537 10963
9538 int pageY; 10964 int get pageY() native "return this.pageY;";
9539 10965
9540 int screenX; 10966 int get screenX() native "return this.screenX;";
9541 10967
9542 int screenY; 10968 int get screenY() native "return this.screenY;";
9543 10969
9544 EventTarget target; 10970 EventTarget get target() native "return this.target;";
9545 10971
9546 num webkitForce; 10972 num get webkitForce() native "return this.webkitForce;";
9547 10973
9548 int webkitRadiusX; 10974 int get webkitRadiusX() native "return this.webkitRadiusX;";
9549 10975
9550 int webkitRadiusY; 10976 int get webkitRadiusY() native "return this.webkitRadiusY;";
9551 10977
9552 num webkitRotationAngle; 10978 num get webkitRotationAngle() native "return this.webkitRotationAngle;";
9553 10979
9554 var dartObjectLocalStorage; 10980 var dartObjectLocalStorage;
9555 10981
9556 String get typeName() native; 10982 String get typeName() native;
9557 } 10983 }
9558 10984
9559 class TouchEvent extends UIEvent native "*TouchEvent" { 10985 class TouchEvent extends UIEvent native "*TouchEvent" {
9560 10986
9561 bool altKey; 10987 bool get altKey() native "return this.altKey;";
9562 10988
9563 TouchList changedTouches; 10989 TouchList get changedTouches() native "return this.changedTouches;";
9564 10990
9565 bool ctrlKey; 10991 bool get ctrlKey() native "return this.ctrlKey;";
9566 10992
9567 bool metaKey; 10993 bool get metaKey() native "return this.metaKey;";
9568 10994
9569 bool shiftKey; 10995 bool get shiftKey() native "return this.shiftKey;";
9570 10996
9571 TouchList targetTouches; 10997 TouchList get targetTouches() native "return this.targetTouches;";
9572 10998
9573 TouchList touches; 10999 TouchList get touches() native "return this.touches;";
9574 11000
9575 void initTouchEvent(TouchList touches, TouchList targetTouches, TouchList chan gedTouches, String type, DOMWindow view, int screenX, int screenY, int clientX, int clientY, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey) native; 11001 void initTouchEvent(TouchList touches, TouchList targetTouches, TouchList chan gedTouches, String type, DOMWindow view, int screenX, int screenY, int clientX, int clientY, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey) native;
9576 } 11002 }
9577 11003
9578 class TouchList native "*TouchList" { 11004 class TouchList native "*TouchList" {
9579 11005
9580 int length; 11006 int get length() native "return this.length;";
9581 11007
9582 Touch operator[](int index) native; 11008 Touch operator[](int index) native;
9583 11009
9584 void operator[]=(int index, Touch value) { 11010 void operator[]=(int index, Touch value) {
9585 throw new UnsupportedOperationException("Cannot assign element of immutable List."); 11011 throw new UnsupportedOperationException("Cannot assign element of immutable List.");
9586 } 11012 }
9587 11013
9588 Touch item(int index) native; 11014 Touch item(int index) native;
9589 11015
9590 var dartObjectLocalStorage; 11016 var dartObjectLocalStorage;
9591 11017
9592 String get typeName() native; 11018 String get typeName() native;
9593 } 11019 }
9594 11020
9595 class TrackEvent extends Event native "*TrackEvent" { 11021 class TrackEvent extends Event native "*TrackEvent" {
9596 11022
9597 Object track; 11023 Object get track() native "return this.track;";
9598 } 11024 }
9599 11025
9600 class TreeWalker native "*TreeWalker" { 11026 class TreeWalker native "*TreeWalker" {
9601 11027
9602 Node currentNode; 11028 Node get currentNode() native "return this.currentNode;";
9603 11029
9604 bool expandEntityReferences; 11030 void set currentNode(Node value) native "this.currentNode = value;";
9605 11031
9606 NodeFilter filter; 11032 bool get expandEntityReferences() native "return this.expandEntityReferences;" ;
9607 11033
9608 Node root; 11034 NodeFilter get filter() native "return this.filter;";
9609 11035
9610 int whatToShow; 11036 Node get root() native "return this.root;";
11037
11038 int get whatToShow() native "return this.whatToShow;";
9611 11039
9612 Node firstChild() native; 11040 Node firstChild() native;
9613 11041
9614 Node lastChild() native; 11042 Node lastChild() native;
9615 11043
9616 Node nextNode() native; 11044 Node nextNode() native;
9617 11045
9618 Node nextSibling() native; 11046 Node nextSibling() native;
9619 11047
9620 Node parentNode() native; 11048 Node parentNode() native;
9621 11049
9622 Node previousNode() native; 11050 Node previousNode() native;
9623 11051
9624 Node previousSibling() native; 11052 Node previousSibling() native;
9625 11053
9626 var dartObjectLocalStorage; 11054 var dartObjectLocalStorage;
9627 11055
9628 String get typeName() native; 11056 String get typeName() native;
9629 } 11057 }
9630 11058
9631 class UIEvent extends Event native "*UIEvent" { 11059 class UIEvent extends Event native "*UIEvent" {
9632 11060
9633 int charCode; 11061 int get charCode() native "return this.charCode;";
9634 11062
9635 int detail; 11063 int get detail() native "return this.detail;";
9636 11064
9637 int keyCode; 11065 int get keyCode() native "return this.keyCode;";
9638 11066
9639 int layerX; 11067 int get layerX() native "return this.layerX;";
9640 11068
9641 int layerY; 11069 int get layerY() native "return this.layerY;";
9642 11070
9643 int pageX; 11071 int get pageX() native "return this.pageX;";
9644 11072
9645 int pageY; 11073 int get pageY() native "return this.pageY;";
9646 11074
9647 DOMWindow view; 11075 DOMWindow get view() native "return this.view;";
9648 11076
9649 int which; 11077 int get which() native "return this.which;";
9650 11078
9651 void initUIEvent(String type, bool canBubble, bool cancelable, DOMWindow view, int detail) native; 11079 void initUIEvent(String type, bool canBubble, bool cancelable, DOMWindow view, int detail) native;
9652 } 11080 }
9653 11081
9654 class Uint16Array extends ArrayBufferView implements List<int> native "*Uint16Ar ray" { 11082 class Uint16Array extends ArrayBufferView implements List<int> native "*Uint16Ar ray" {
9655 11083
9656 factory Uint16Array(int length) => _construct(length); 11084 factory Uint16Array(int length) => _construct(length);
9657 11085
9658 factory Uint16Array.fromList(List<int> list) => _construct(list); 11086 factory Uint16Array.fromList(List<int> list) => _construct(list);
9659 11087
9660 factory Uint16Array.fromBuffer(ArrayBuffer buffer) => _construct(buffer); 11088 factory Uint16Array.fromBuffer(ArrayBuffer buffer) => _construct(buffer);
9661 11089
9662 static _construct(arg) native 'return new Uint16Array(arg);'; 11090 static _construct(arg) native 'return new Uint16Array(arg);';
9663 11091
9664 static final int BYTES_PER_ELEMENT = 2; 11092 static final int BYTES_PER_ELEMENT = 2;
9665 11093
9666 int length; 11094 int get length() native "return this.length;";
9667 11095
9668 int operator[](int index) native; 11096 int operator[](int index) native;
9669 11097
9670 void operator[]=(int index, int value) native; 11098 void operator[]=(int index, int value) native;
9671 11099
9672 Uint16Array subarray(int start, [int end = null]) native; 11100 Uint16Array subarray(int start, [int end = null]) native;
9673 } 11101 }
9674 11102
9675 class Uint32Array extends ArrayBufferView implements List<int> native "*Uint32Ar ray" { 11103 class Uint32Array extends ArrayBufferView implements List<int> native "*Uint32Ar ray" {
9676 11104
9677 factory Uint32Array(int length) => _construct(length); 11105 factory Uint32Array(int length) => _construct(length);
9678 11106
9679 factory Uint32Array.fromList(List<int> list) => _construct(list); 11107 factory Uint32Array.fromList(List<int> list) => _construct(list);
9680 11108
9681 factory Uint32Array.fromBuffer(ArrayBuffer buffer) => _construct(buffer); 11109 factory Uint32Array.fromBuffer(ArrayBuffer buffer) => _construct(buffer);
9682 11110
9683 static _construct(arg) native 'return new Uint32Array(arg);'; 11111 static _construct(arg) native 'return new Uint32Array(arg);';
9684 11112
9685 static final int BYTES_PER_ELEMENT = 4; 11113 static final int BYTES_PER_ELEMENT = 4;
9686 11114
9687 int length; 11115 int get length() native "return this.length;";
9688 11116
9689 int operator[](int index) native; 11117 int operator[](int index) native;
9690 11118
9691 void operator[]=(int index, int value) native; 11119 void operator[]=(int index, int value) native;
9692 11120
9693 Uint32Array subarray(int start, [int end = null]) native; 11121 Uint32Array subarray(int start, [int end = null]) native;
9694 } 11122 }
9695 11123
9696 class Uint8Array extends ArrayBufferView implements List<int> native "*Uint8Arra y" { 11124 class Uint8Array extends ArrayBufferView implements List<int> native "*Uint8Arra y" {
9697 11125
9698 factory Uint8Array(int length) => _construct(length); 11126 factory Uint8Array(int length) => _construct(length);
9699 11127
9700 factory Uint8Array.fromList(List<int> list) => _construct(list); 11128 factory Uint8Array.fromList(List<int> list) => _construct(list);
9701 11129
9702 factory Uint8Array.fromBuffer(ArrayBuffer buffer) => _construct(buffer); 11130 factory Uint8Array.fromBuffer(ArrayBuffer buffer) => _construct(buffer);
9703 11131
9704 static _construct(arg) native 'return new Uint8Array(arg);'; 11132 static _construct(arg) native 'return new Uint8Array(arg);';
9705 11133
9706 static final int BYTES_PER_ELEMENT = 1; 11134 static final int BYTES_PER_ELEMENT = 1;
9707 11135
9708 int length; 11136 int get length() native "return this.length;";
9709 11137
9710 int operator[](int index) native; 11138 int operator[](int index) native;
9711 11139
9712 void operator[]=(int index, int value) native; 11140 void operator[]=(int index, int value) native;
9713 11141
9714 Uint8Array subarray(int start, [int end = null]) native; 11142 Uint8Array subarray(int start, [int end = null]) native;
9715 } 11143 }
9716 11144
9717 class ValidityState native "*ValidityState" { 11145 class ValidityState native "*ValidityState" {
9718 11146
9719 bool customError; 11147 bool get customError() native "return this.customError;";
9720 11148
9721 bool patternMismatch; 11149 bool get patternMismatch() native "return this.patternMismatch;";
9722 11150
9723 bool rangeOverflow; 11151 bool get rangeOverflow() native "return this.rangeOverflow;";
9724 11152
9725 bool rangeUnderflow; 11153 bool get rangeUnderflow() native "return this.rangeUnderflow;";
9726 11154
9727 bool stepMismatch; 11155 bool get stepMismatch() native "return this.stepMismatch;";
9728 11156
9729 bool tooLong; 11157 bool get tooLong() native "return this.tooLong;";
9730 11158
9731 bool typeMismatch; 11159 bool get typeMismatch() native "return this.typeMismatch;";
9732 11160
9733 bool valid; 11161 bool get valid() native "return this.valid;";
9734 11162
9735 bool valueMissing; 11163 bool get valueMissing() native "return this.valueMissing;";
9736 11164
9737 var dartObjectLocalStorage; 11165 var dartObjectLocalStorage;
9738 11166
9739 String get typeName() native; 11167 String get typeName() native;
9740 } 11168 }
9741 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 11169 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
9742 // for details. All rights reserved. Use of this source code is governed by a 11170 // for details. All rights reserved. Use of this source code is governed by a
9743 // BSD-style license that can be found in the LICENSE file. 11171 // BSD-style license that can be found in the LICENSE file.
9744 11172
9745 // WARNING: Do not edit - generated code. 11173 // WARNING: Do not edit - generated code.
9746 11174
9747 typedef void VoidCallback(); 11175 typedef void VoidCallback();
9748 11176
9749 class WaveShaperNode extends AudioNode native "*WaveShaperNode" { 11177 class WaveShaperNode extends AudioNode native "*WaveShaperNode" {
9750 11178
9751 Float32Array curve; 11179 Float32Array get curve() native "return this.curve;";
11180
11181 void set curve(Float32Array value) native "this.curve = value;";
9752 } 11182 }
9753 11183
9754 class WebGLActiveInfo native "*WebGLActiveInfo" { 11184 class WebGLActiveInfo native "*WebGLActiveInfo" {
9755 11185
9756 String name; 11186 String get name() native "return this.name;";
9757 11187
9758 int size; 11188 int get size() native "return this.size;";
9759 11189
9760 int type; 11190 int get type() native "return this.type;";
9761 11191
9762 var dartObjectLocalStorage; 11192 var dartObjectLocalStorage;
9763 11193
9764 String get typeName() native; 11194 String get typeName() native;
9765 } 11195 }
9766 11196
9767 class WebGLBuffer native "*WebGLBuffer" { 11197 class WebGLBuffer native "*WebGLBuffer" {
9768 11198
9769 var dartObjectLocalStorage; 11199 var dartObjectLocalStorage;
9770 11200
(...skipping 18 matching lines...) Expand all
9789 11219
9790 void compressedTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, ArrayBufferView data) native; 11220 void compressedTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, ArrayBufferView data) native;
9791 11221
9792 var dartObjectLocalStorage; 11222 var dartObjectLocalStorage;
9793 11223
9794 String get typeName() native; 11224 String get typeName() native;
9795 } 11225 }
9796 11226
9797 class WebGLContextAttributes native "*WebGLContextAttributes" { 11227 class WebGLContextAttributes native "*WebGLContextAttributes" {
9798 11228
9799 bool alpha; 11229 bool get alpha() native "return this.alpha;";
9800 11230
9801 bool antialias; 11231 void set alpha(bool value) native "this.alpha = value;";
9802 11232
9803 bool depth; 11233 bool get antialias() native "return this.antialias;";
9804 11234
9805 bool premultipliedAlpha; 11235 void set antialias(bool value) native "this.antialias = value;";
9806 11236
9807 bool preserveDrawingBuffer; 11237 bool get depth() native "return this.depth;";
9808 11238
9809 bool stencil; 11239 void set depth(bool value) native "this.depth = value;";
11240
11241 bool get premultipliedAlpha() native "return this.premultipliedAlpha;";
11242
11243 void set premultipliedAlpha(bool value) native "this.premultipliedAlpha = valu e;";
11244
11245 bool get preserveDrawingBuffer() native "return this.preserveDrawingBuffer;";
11246
11247 void set preserveDrawingBuffer(bool value) native "this.preserveDrawingBuffer = value;";
11248
11249 bool get stencil() native "return this.stencil;";
11250
11251 void set stencil(bool value) native "this.stencil = value;";
9810 11252
9811 var dartObjectLocalStorage; 11253 var dartObjectLocalStorage;
9812 11254
9813 String get typeName() native; 11255 String get typeName() native;
9814 } 11256 }
9815 11257
9816 class WebGLContextEvent extends Event native "*WebGLContextEvent" { 11258 class WebGLContextEvent extends Event native "*WebGLContextEvent" {
9817 11259
9818 String statusMessage; 11260 String get statusMessage() native "return this.statusMessage;";
9819 } 11261 }
9820 11262
9821 class WebGLDebugRendererInfo native "*WebGLDebugRendererInfo" { 11263 class WebGLDebugRendererInfo native "*WebGLDebugRendererInfo" {
9822 11264
9823 static final int UNMASKED_RENDERER_WEBGL = 0x9246; 11265 static final int UNMASKED_RENDERER_WEBGL = 0x9246;
9824 11266
9825 static final int UNMASKED_VENDOR_WEBGL = 0x9245; 11267 static final int UNMASKED_VENDOR_WEBGL = 0x9245;
9826 11268
9827 var dartObjectLocalStorage; 11269 var dartObjectLocalStorage;
9828 11270
(...skipping 630 matching lines...) Expand 10 before | Expand all | Expand 10 after
10459 static final int VERTEX_ATTRIB_ARRAY_STRIDE = 0x8624; 11901 static final int VERTEX_ATTRIB_ARRAY_STRIDE = 0x8624;
10460 11902
10461 static final int VERTEX_ATTRIB_ARRAY_TYPE = 0x8625; 11903 static final int VERTEX_ATTRIB_ARRAY_TYPE = 0x8625;
10462 11904
10463 static final int VERTEX_SHADER = 0x8B31; 11905 static final int VERTEX_SHADER = 0x8B31;
10464 11906
10465 static final int VIEWPORT = 0x0BA2; 11907 static final int VIEWPORT = 0x0BA2;
10466 11908
10467 static final int ZERO = 0; 11909 static final int ZERO = 0;
10468 11910
10469 int drawingBufferHeight; 11911 int get drawingBufferHeight() native "return this.drawingBufferHeight;";
10470 11912
10471 int drawingBufferWidth; 11913 int get drawingBufferWidth() native "return this.drawingBufferWidth;";
10472 11914
10473 void activeTexture(int texture) native; 11915 void activeTexture(int texture) native;
10474 11916
10475 void attachShader(WebGLProgram program, WebGLShader shader) native; 11917 void attachShader(WebGLProgram program, WebGLShader shader) native;
10476 11918
10477 void bindAttribLocation(WebGLProgram program, int index, String name) native; 11919 void bindAttribLocation(WebGLProgram program, int index, String name) native;
10478 11920
10479 void bindBuffer(int target, WebGLBuffer buffer) native; 11921 void bindBuffer(int target, WebGLBuffer buffer) native;
10480 11922
10481 void bindFramebuffer(int target, WebGLFramebuffer framebuffer) native; 11923 void bindFramebuffer(int target, WebGLFramebuffer framebuffer) native;
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
10772 static final int DIRECTION_NORMAL = 0; 12214 static final int DIRECTION_NORMAL = 0;
10773 12215
10774 static final int FILL_BACKWARDS = 1; 12216 static final int FILL_BACKWARDS = 1;
10775 12217
10776 static final int FILL_BOTH = 3; 12218 static final int FILL_BOTH = 3;
10777 12219
10778 static final int FILL_FORWARDS = 2; 12220 static final int FILL_FORWARDS = 2;
10779 12221
10780 static final int FILL_NONE = 0; 12222 static final int FILL_NONE = 0;
10781 12223
10782 num delay; 12224 num get delay() native "return this.delay;";
10783 12225
10784 int direction; 12226 int get direction() native "return this.direction;";
10785 12227
10786 num duration; 12228 num get duration() native "return this.duration;";
10787 12229
10788 num elapsedTime; 12230 num get elapsedTime() native "return this.elapsedTime;";
10789 12231
10790 bool ended; 12232 void set elapsedTime(num value) native "this.elapsedTime = value;";
10791 12233
10792 int fillMode; 12234 bool get ended() native "return this.ended;";
10793 12235
10794 int iterationCount; 12236 int get fillMode() native "return this.fillMode;";
10795 12237
10796 String name; 12238 int get iterationCount() native "return this.iterationCount;";
10797 12239
10798 bool paused; 12240 String get name() native "return this.name;";
12241
12242 bool get paused() native "return this.paused;";
10799 12243
10800 void pause() native; 12244 void pause() native;
10801 12245
10802 void play() native; 12246 void play() native;
10803 12247
10804 var dartObjectLocalStorage; 12248 var dartObjectLocalStorage;
10805 12249
10806 String get typeName() native; 12250 String get typeName() native;
10807 } 12251 }
10808 12252
10809 class WebKitAnimationEvent extends Event native "*WebKitAnimationEvent" { 12253 class WebKitAnimationEvent extends Event native "*WebKitAnimationEvent" {
10810 12254
10811 String animationName; 12255 String get animationName() native "return this.animationName;";
10812 12256
10813 num elapsedTime; 12257 num get elapsedTime() native "return this.elapsedTime;";
10814 } 12258 }
10815 12259
10816 class WebKitAnimationList native "*WebKitAnimationList" { 12260 class WebKitAnimationList native "*WebKitAnimationList" {
10817 12261
10818 int length; 12262 int get length() native "return this.length;";
10819 12263
10820 WebKitAnimation item(int index) native; 12264 WebKitAnimation item(int index) native;
10821 12265
10822 var dartObjectLocalStorage; 12266 var dartObjectLocalStorage;
10823 12267
10824 String get typeName() native; 12268 String get typeName() native;
10825 } 12269 }
10826 12270
10827 class WebKitBlobBuilder native "*WebKitBlobBuilder" { 12271 class WebKitBlobBuilder native "*WebKitBlobBuilder" {
10828 12272
(...skipping 23 matching lines...) Expand all
10852 static final int CSS_FILTER_INVERT = 6; 12296 static final int CSS_FILTER_INVERT = 6;
10853 12297
10854 static final int CSS_FILTER_OPACITY = 7; 12298 static final int CSS_FILTER_OPACITY = 7;
10855 12299
10856 static final int CSS_FILTER_REFERENCE = 1; 12300 static final int CSS_FILTER_REFERENCE = 1;
10857 12301
10858 static final int CSS_FILTER_SATURATE = 4; 12302 static final int CSS_FILTER_SATURATE = 4;
10859 12303
10860 static final int CSS_FILTER_SEPIA = 3; 12304 static final int CSS_FILTER_SEPIA = 3;
10861 12305
10862 int operationType; 12306 int get operationType() native "return this.operationType;";
10863 } 12307 }
10864 12308
10865 class WebKitCSSKeyframeRule extends CSSRule native "*WebKitCSSKeyframeRule" { 12309 class WebKitCSSKeyframeRule extends CSSRule native "*WebKitCSSKeyframeRule" {
10866 12310
10867 String keyText; 12311 String get keyText() native "return this.keyText;";
10868 12312
10869 CSSStyleDeclaration style; 12313 void set keyText(String value) native "this.keyText = value;";
12314
12315 CSSStyleDeclaration get style() native "return this.style;";
10870 } 12316 }
10871 12317
10872 class WebKitCSSKeyframesRule extends CSSRule native "*WebKitCSSKeyframesRule" { 12318 class WebKitCSSKeyframesRule extends CSSRule native "*WebKitCSSKeyframesRule" {
10873 12319
10874 CSSRuleList cssRules; 12320 CSSRuleList get cssRules() native "return this.cssRules;";
10875 12321
10876 String name; 12322 String get name() native "return this.name;";
12323
12324 void set name(String value) native "this.name = value;";
10877 12325
10878 void deleteRule(String key) native; 12326 void deleteRule(String key) native;
10879 12327
10880 WebKitCSSKeyframeRule findRule(String key) native; 12328 WebKitCSSKeyframeRule findRule(String key) native;
10881 12329
10882 void insertRule(String rule) native; 12330 void insertRule(String rule) native;
10883 } 12331 }
10884 12332
10885 class WebKitCSSMatrix native "*WebKitCSSMatrix" { 12333 class WebKitCSSMatrix native "*WebKitCSSMatrix" {
10886 WebKitCSSMatrix([String spec]) native; 12334 WebKitCSSMatrix([String spec]) native;
10887 12335
10888 12336
10889 num a; 12337 num get a() native "return this.a;";
10890 12338
10891 num b; 12339 void set a(num value) native "this.a = value;";
10892 12340
10893 num c; 12341 num get b() native "return this.b;";
10894 12342
10895 num d; 12343 void set b(num value) native "this.b = value;";
10896 12344
10897 num e; 12345 num get c() native "return this.c;";
10898 12346
10899 num f; 12347 void set c(num value) native "this.c = value;";
10900 12348
10901 num m11; 12349 num get d() native "return this.d;";
10902 12350
10903 num m12; 12351 void set d(num value) native "this.d = value;";
10904 12352
10905 num m13; 12353 num get e() native "return this.e;";
10906 12354
10907 num m14; 12355 void set e(num value) native "this.e = value;";
10908 12356
10909 num m21; 12357 num get f() native "return this.f;";
10910 12358
10911 num m22; 12359 void set f(num value) native "this.f = value;";
10912 12360
10913 num m23; 12361 num get m11() native "return this.m11;";
10914 12362
10915 num m24; 12363 void set m11(num value) native "this.m11 = value;";
10916 12364
10917 num m31; 12365 num get m12() native "return this.m12;";
10918 12366
10919 num m32; 12367 void set m12(num value) native "this.m12 = value;";
10920 12368
10921 num m33; 12369 num get m13() native "return this.m13;";
10922 12370
10923 num m34; 12371 void set m13(num value) native "this.m13 = value;";
10924 12372
10925 num m41; 12373 num get m14() native "return this.m14;";
10926 12374
10927 num m42; 12375 void set m14(num value) native "this.m14 = value;";
10928 12376
10929 num m43; 12377 num get m21() native "return this.m21;";
10930 12378
10931 num m44; 12379 void set m21(num value) native "this.m21 = value;";
12380
12381 num get m22() native "return this.m22;";
12382
12383 void set m22(num value) native "this.m22 = value;";
12384
12385 num get m23() native "return this.m23;";
12386
12387 void set m23(num value) native "this.m23 = value;";
12388
12389 num get m24() native "return this.m24;";
12390
12391 void set m24(num value) native "this.m24 = value;";
12392
12393 num get m31() native "return this.m31;";
12394
12395 void set m31(num value) native "this.m31 = value;";
12396
12397 num get m32() native "return this.m32;";
12398
12399 void set m32(num value) native "this.m32 = value;";
12400
12401 num get m33() native "return this.m33;";
12402
12403 void set m33(num value) native "this.m33 = value;";
12404
12405 num get m34() native "return this.m34;";
12406
12407 void set m34(num value) native "this.m34 = value;";
12408
12409 num get m41() native "return this.m41;";
12410
12411 void set m41(num value) native "this.m41 = value;";
12412
12413 num get m42() native "return this.m42;";
12414
12415 void set m42(num value) native "this.m42 = value;";
12416
12417 num get m43() native "return this.m43;";
12418
12419 void set m43(num value) native "this.m43 = value;";
12420
12421 num get m44() native "return this.m44;";
12422
12423 void set m44(num value) native "this.m44 = value;";
10932 12424
10933 WebKitCSSMatrix inverse() native; 12425 WebKitCSSMatrix inverse() native;
10934 12426
10935 WebKitCSSMatrix multiply(WebKitCSSMatrix secondMatrix) native; 12427 WebKitCSSMatrix multiply(WebKitCSSMatrix secondMatrix) native;
10936 12428
10937 WebKitCSSMatrix rotate(num rotX, num rotY, num rotZ) native; 12429 WebKitCSSMatrix rotate(num rotX, num rotY, num rotZ) native;
10938 12430
10939 WebKitCSSMatrix rotateAxisAngle(num x, num y, num z, num angle) native; 12431 WebKitCSSMatrix rotateAxisAngle(num x, num y, num z, num angle) native;
10940 12432
10941 WebKitCSSMatrix scale(num scaleX, num scaleY, num scaleZ) native; 12433 WebKitCSSMatrix scale(num scaleX, num scaleY, num scaleZ) native;
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
10992 static final int CSS_TRANSLATE = 1; 12484 static final int CSS_TRANSLATE = 1;
10993 12485
10994 static final int CSS_TRANSLATE3D = 13; 12486 static final int CSS_TRANSLATE3D = 13;
10995 12487
10996 static final int CSS_TRANSLATEX = 2; 12488 static final int CSS_TRANSLATEX = 2;
10997 12489
10998 static final int CSS_TRANSLATEY = 3; 12490 static final int CSS_TRANSLATEY = 3;
10999 12491
11000 static final int CSS_TRANSLATEZ = 12; 12492 static final int CSS_TRANSLATEZ = 12;
11001 12493
11002 int operationType; 12494 int get operationType() native "return this.operationType;";
11003 } 12495 }
11004 12496
11005 class WebKitMutationObserver native "*WebKitMutationObserver" { 12497 class WebKitMutationObserver native "*WebKitMutationObserver" {
11006 12498
11007 void disconnect() native; 12499 void disconnect() native;
11008 12500
11009 var dartObjectLocalStorage; 12501 var dartObjectLocalStorage;
11010 12502
11011 String get typeName() native; 12503 String get typeName() native;
11012 } 12504 }
11013 12505
11014 class WebKitNamedFlow native "*WebKitNamedFlow" { 12506 class WebKitNamedFlow native "*WebKitNamedFlow" {
11015 12507
11016 var dartObjectLocalStorage; 12508 var dartObjectLocalStorage;
11017 12509
11018 String get typeName() native; 12510 String get typeName() native;
11019 } 12511 }
11020 12512
11021 class WebKitPoint native "*WebKitPoint" { 12513 class WebKitPoint native "*WebKitPoint" {
11022 WebKitPoint(num x, num y) native; 12514 WebKitPoint(num x, num y) native;
11023 12515
11024 12516
11025 num x; 12517 num get x() native "return this.x;";
11026 12518
11027 num y; 12519 void set x(num value) native "this.x = value;";
12520
12521 num get y() native "return this.y;";
12522
12523 void set y(num value) native "this.y = value;";
11028 12524
11029 var dartObjectLocalStorage; 12525 var dartObjectLocalStorage;
11030 12526
11031 String get typeName() native; 12527 String get typeName() native;
11032 } 12528 }
11033 12529
11034 class WebKitTransitionEvent extends Event native "*WebKitTransitionEvent" { 12530 class WebKitTransitionEvent extends Event native "*WebKitTransitionEvent" {
11035 12531
11036 num elapsedTime; 12532 num get elapsedTime() native "return this.elapsedTime;";
11037 12533
11038 String propertyName; 12534 String get propertyName() native "return this.propertyName;";
11039 } 12535 }
11040 12536
11041 class WebSocket native "*WebSocket" { 12537 class WebSocket native "*WebSocket" {
11042 WebSocket(String url) native; 12538 WebSocket(String url) native;
11043 12539
11044 12540
11045 static final int CLOSED = 3; 12541 static final int CLOSED = 3;
11046 12542
11047 static final int CLOSING = 2; 12543 static final int CLOSING = 2;
11048 12544
11049 static final int CONNECTING = 0; 12545 static final int CONNECTING = 0;
11050 12546
11051 static final int OPEN = 1; 12547 static final int OPEN = 1;
11052 12548
11053 String URL; 12549 String get URL() native "return this.URL;";
11054 12550
11055 String binaryType; 12551 String get binaryType() native "return this.binaryType;";
11056 12552
11057 int bufferedAmount; 12553 void set binaryType(String value) native "this.binaryType = value;";
11058 12554
11059 String extensions; 12555 int get bufferedAmount() native "return this.bufferedAmount;";
11060 12556
11061 String protocol; 12557 String get extensions() native "return this.extensions;";
11062 12558
11063 int readyState; 12559 String get protocol() native "return this.protocol;";
12560
12561 int get readyState() native "return this.readyState;";
11064 12562
11065 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native; 12563 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
11066 12564
11067 void close([int code = null, String reason = null]) native; 12565 void close([int code = null, String reason = null]) native;
11068 12566
11069 bool dispatchEvent(Event evt) native; 12567 bool dispatchEvent(Event evt) native;
11070 12568
11071 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native; 12569 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
11072 12570
11073 bool send(String data) native; 12571 bool send(String data) native;
11074 12572
11075 var dartObjectLocalStorage; 12573 var dartObjectLocalStorage;
11076 12574
11077 String get typeName() native; 12575 String get typeName() native;
11078 } 12576 }
11079 12577
11080 class WheelEvent extends UIEvent native "*WheelEvent" { 12578 class WheelEvent extends UIEvent native "*WheelEvent" {
11081 12579
11082 bool altKey; 12580 bool get altKey() native "return this.altKey;";
11083 12581
11084 int clientX; 12582 int get clientX() native "return this.clientX;";
11085 12583
11086 int clientY; 12584 int get clientY() native "return this.clientY;";
11087 12585
11088 bool ctrlKey; 12586 bool get ctrlKey() native "return this.ctrlKey;";
11089 12587
11090 bool metaKey; 12588 bool get metaKey() native "return this.metaKey;";
11091 12589
11092 int offsetX; 12590 int get offsetX() native "return this.offsetX;";
11093 12591
11094 int offsetY; 12592 int get offsetY() native "return this.offsetY;";
11095 12593
11096 int screenX; 12594 int get screenX() native "return this.screenX;";
11097 12595
11098 int screenY; 12596 int get screenY() native "return this.screenY;";
11099 12597
11100 bool shiftKey; 12598 bool get shiftKey() native "return this.shiftKey;";
11101 12599
11102 bool webkitDirectionInvertedFromDevice; 12600 bool get webkitDirectionInvertedFromDevice() native "return this.webkitDirecti onInvertedFromDevice;";
11103 12601
11104 int wheelDelta; 12602 int get wheelDelta() native "return this.wheelDelta;";
11105 12603
11106 int wheelDeltaX; 12604 int get wheelDeltaX() native "return this.wheelDeltaX;";
11107 12605
11108 int wheelDeltaY; 12606 int get wheelDeltaY() native "return this.wheelDeltaY;";
11109 12607
11110 int x; 12608 int get x() native "return this.x;";
11111 12609
11112 int y; 12610 int get y() native "return this.y;";
11113 12611
11114 void initWebKitWheelEvent(int wheelDeltaX, int wheelDeltaY, DOMWindow view, in t screenX, int screenY, int clientX, int clientY, bool ctrlKey, bool altKey, boo l shiftKey, bool metaKey) native; 12612 void initWebKitWheelEvent(int wheelDeltaX, int wheelDeltaY, DOMWindow view, in t screenX, int screenY, int clientX, int clientY, bool ctrlKey, bool altKey, boo l shiftKey, bool metaKey) native;
11115 } 12613 }
11116 12614
11117 class Worker extends AbstractWorker native "*Worker" { 12615 class Worker extends AbstractWorker native "*Worker" {
11118 12616
11119 void postMessage(String message, [List messagePorts = null]) native; 12617 void postMessage(String message, [List messagePorts = null]) native;
11120 12618
11121 void terminate() native; 12619 void terminate() native;
11122 12620
11123 void webkitPostMessage(String message, [List messagePorts = null]) native; 12621 void webkitPostMessage(String message, [List messagePorts = null]) native;
11124 } 12622 }
11125 12623
11126 class WorkerContext native "*WorkerContext" { 12624 class WorkerContext native "*WorkerContext" {
11127 12625
11128 static final int PERSISTENT = 1; 12626 static final int PERSISTENT = 1;
11129 12627
11130 static final int TEMPORARY = 0; 12628 static final int TEMPORARY = 0;
11131 12629
11132 WorkerLocation location; 12630 WorkerLocation get location() native "return this.location;";
11133 12631
11134 WorkerNavigator navigator; 12632 void set location(WorkerLocation value) native "this.location = value;";
11135 12633
11136 EventListener onerror; 12634 WorkerNavigator get navigator() native "return this.navigator;";
11137 12635
11138 WorkerContext self; 12636 void set navigator(WorkerNavigator value) native "this.navigator = value;";
11139 12637
11140 IDBFactory webkitIndexedDB; 12638 EventListener get onerror() native "return this.onerror;";
11141 12639
11142 NotificationCenter webkitNotifications; 12640 void set onerror(EventListener value) native "this.onerror = value;";
11143 12641
11144 DOMURL webkitURL; 12642 WorkerContext get self() native "return this.self;";
12643
12644 void set self(WorkerContext value) native "this.self = value;";
12645
12646 IDBFactory get webkitIndexedDB() native "return this.webkitIndexedDB;";
12647
12648 NotificationCenter get webkitNotifications() native "return this.webkitNotific ations;";
12649
12650 DOMURL get webkitURL() native "return this.webkitURL;";
11145 12651
11146 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native; 12652 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
11147 12653
11148 void clearInterval(int handle) native; 12654 void clearInterval(int handle) native;
11149 12655
11150 void clearTimeout(int handle) native; 12656 void clearTimeout(int handle) native;
11151 12657
11152 void close() native; 12658 void close() native;
11153 12659
11154 bool dispatchEvent(Event evt) native; 12660 bool dispatchEvent(Event evt) native;
(...skipping 18 matching lines...) Expand all
11173 12679
11174 void webkitResolveLocalFileSystemURL(String url, [EntryCallback successCallbac k = null, ErrorCallback errorCallback = null]) native; 12680 void webkitResolveLocalFileSystemURL(String url, [EntryCallback successCallbac k = null, ErrorCallback errorCallback = null]) native;
11175 12681
11176 var dartObjectLocalStorage; 12682 var dartObjectLocalStorage;
11177 12683
11178 String get typeName() native; 12684 String get typeName() native;
11179 } 12685 }
11180 12686
11181 class WorkerLocation native "*WorkerLocation" { 12687 class WorkerLocation native "*WorkerLocation" {
11182 12688
11183 String hash; 12689 String get hash() native "return this.hash;";
11184 12690
11185 String host; 12691 String get host() native "return this.host;";
11186 12692
11187 String hostname; 12693 String get hostname() native "return this.hostname;";
11188 12694
11189 String href; 12695 String get href() native "return this.href;";
11190 12696
11191 String pathname; 12697 String get pathname() native "return this.pathname;";
11192 12698
11193 String port; 12699 String get port() native "return this.port;";
11194 12700
11195 String protocol; 12701 String get protocol() native "return this.protocol;";
11196 12702
11197 String search; 12703 String get search() native "return this.search;";
11198 12704
11199 String toString() native; 12705 String toString() native;
11200 12706
11201 var dartObjectLocalStorage; 12707 var dartObjectLocalStorage;
11202 12708
11203 String get typeName() native; 12709 String get typeName() native;
11204 } 12710 }
11205 12711
11206 class WorkerNavigator native "*WorkerNavigator" { 12712 class WorkerNavigator native "*WorkerNavigator" {
11207 12713
11208 String appName; 12714 String get appName() native "return this.appName;";
11209 12715
11210 String appVersion; 12716 String get appVersion() native "return this.appVersion;";
11211 12717
11212 bool onLine; 12718 bool get onLine() native "return this.onLine;";
11213 12719
11214 String platform; 12720 String get platform() native "return this.platform;";
11215 12721
11216 String userAgent; 12722 String get userAgent() native "return this.userAgent;";
11217 12723
11218 var dartObjectLocalStorage; 12724 var dartObjectLocalStorage;
11219 12725
11220 String get typeName() native; 12726 String get typeName() native;
11221 } 12727 }
11222 12728
11223 class XMLHttpRequest native "*XMLHttpRequest" { 12729 class XMLHttpRequest native "*XMLHttpRequest" {
11224 XMLHttpRequest() native; 12730 XMLHttpRequest() native;
11225 12731
11226 12732
11227 static final int DONE = 4; 12733 static final int DONE = 4;
11228 12734
11229 static final int HEADERS_RECEIVED = 2; 12735 static final int HEADERS_RECEIVED = 2;
11230 12736
11231 static final int LOADING = 3; 12737 static final int LOADING = 3;
11232 12738
11233 static final int OPENED = 1; 12739 static final int OPENED = 1;
11234 12740
11235 static final int UNSENT = 0; 12741 static final int UNSENT = 0;
11236 12742
11237 bool asBlob; 12743 bool get asBlob() native "return this.asBlob;";
11238 12744
11239 int readyState; 12745 void set asBlob(bool value) native "this.asBlob = value;";
11240 12746
11241 Blob responseBlob; 12747 int get readyState() native "return this.readyState;";
11242 12748
11243 String responseText; 12749 Blob get responseBlob() native "return this.responseBlob;";
11244 12750
11245 String responseType; 12751 String get responseText() native "return this.responseText;";
11246 12752
11247 Document responseXML; 12753 String get responseType() native "return this.responseType;";
11248 12754
11249 int status; 12755 void set responseType(String value) native "this.responseType = value;";
11250 12756
11251 String statusText; 12757 Document get responseXML() native "return this.responseXML;";
11252 12758
11253 XMLHttpRequestUpload upload; 12759 int get status() native "return this.status;";
11254 12760
11255 bool withCredentials; 12761 String get statusText() native "return this.statusText;";
12762
12763 XMLHttpRequestUpload get upload() native "return this.upload;";
12764
12765 bool get withCredentials() native "return this.withCredentials;";
12766
12767 void set withCredentials(bool value) native "this.withCredentials = value;";
11256 12768
11257 void abort() native; 12769 void abort() native;
11258 12770
11259 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native; 12771 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
11260 12772
11261 bool dispatchEvent(Event evt) native; 12773 bool dispatchEvent(Event evt) native;
11262 12774
11263 String getAllResponseHeaders() native; 12775 String getAllResponseHeaders() native;
11264 12776
11265 String getResponseHeader(String header) native; 12777 String getResponseHeader(String header) native;
(...skipping 12 matching lines...) Expand all
11278 12790
11279 String get typeName() native; 12791 String get typeName() native;
11280 } 12792 }
11281 12793
11282 class XMLHttpRequestException native "*XMLHttpRequestException" { 12794 class XMLHttpRequestException native "*XMLHttpRequestException" {
11283 12795
11284 static final int ABORT_ERR = 102; 12796 static final int ABORT_ERR = 102;
11285 12797
11286 static final int NETWORK_ERR = 101; 12798 static final int NETWORK_ERR = 101;
11287 12799
11288 int code; 12800 int get code() native "return this.code;";
11289 12801
11290 String message; 12802 String get message() native "return this.message;";
11291 12803
11292 String name; 12804 String get name() native "return this.name;";
11293 12805
11294 String toString() native; 12806 String toString() native;
11295 12807
11296 var dartObjectLocalStorage; 12808 var dartObjectLocalStorage;
11297 12809
11298 String get typeName() native; 12810 String get typeName() native;
11299 } 12811 }
11300 12812
11301 class XMLHttpRequestProgressEvent extends ProgressEvent native "*XMLHttpRequestP rogressEvent" { 12813 class XMLHttpRequestProgressEvent extends ProgressEvent native "*XMLHttpRequestP rogressEvent" {
11302 12814
11303 int position; 12815 int get position() native "return this.position;";
11304 12816
11305 int totalSize; 12817 int get totalSize() native "return this.totalSize;";
11306 } 12818 }
11307 12819
11308 class XMLHttpRequestUpload native "*XMLHttpRequestUpload" { 12820 class XMLHttpRequestUpload native "*XMLHttpRequestUpload" {
11309 12821
11310 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native; 12822 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
11311 12823
11312 bool dispatchEvent(Event evt) native; 12824 bool dispatchEvent(Event evt) native;
11313 12825
11314 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native; 12826 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
11315 12827
(...skipping 23 matching lines...) Expand all
11339 12851
11340 String get typeName() native; 12852 String get typeName() native;
11341 } 12853 }
11342 12854
11343 class XPathException native "*XPathException" { 12855 class XPathException native "*XPathException" {
11344 12856
11345 static final int INVALID_EXPRESSION_ERR = 51; 12857 static final int INVALID_EXPRESSION_ERR = 51;
11346 12858
11347 static final int TYPE_ERR = 52; 12859 static final int TYPE_ERR = 52;
11348 12860
11349 int code; 12861 int get code() native "return this.code;";
11350 12862
11351 String message; 12863 String get message() native "return this.message;";
11352 12864
11353 String name; 12865 String get name() native "return this.name;";
11354 12866
11355 String toString() native; 12867 String toString() native;
11356 12868
11357 var dartObjectLocalStorage; 12869 var dartObjectLocalStorage;
11358 12870
11359 String get typeName() native; 12871 String get typeName() native;
11360 } 12872 }
11361 12873
11362 class XPathExpression native "*XPathExpression" { 12874 class XPathExpression native "*XPathExpression" {
11363 12875
(...skipping 28 matching lines...) Expand all
11392 static final int ORDERED_NODE_ITERATOR_TYPE = 5; 12904 static final int ORDERED_NODE_ITERATOR_TYPE = 5;
11393 12905
11394 static final int ORDERED_NODE_SNAPSHOT_TYPE = 7; 12906 static final int ORDERED_NODE_SNAPSHOT_TYPE = 7;
11395 12907
11396 static final int STRING_TYPE = 2; 12908 static final int STRING_TYPE = 2;
11397 12909
11398 static final int UNORDERED_NODE_ITERATOR_TYPE = 4; 12910 static final int UNORDERED_NODE_ITERATOR_TYPE = 4;
11399 12911
11400 static final int UNORDERED_NODE_SNAPSHOT_TYPE = 6; 12912 static final int UNORDERED_NODE_SNAPSHOT_TYPE = 6;
11401 12913
11402 bool booleanValue; 12914 bool get booleanValue() native "return this.booleanValue;";
11403 12915
11404 bool invalidIteratorState; 12916 bool get invalidIteratorState() native "return this.invalidIteratorState;";
11405 12917
11406 num numberValue; 12918 num get numberValue() native "return this.numberValue;";
11407 12919
11408 int resultType; 12920 int get resultType() native "return this.resultType;";
11409 12921
11410 Node singleNodeValue; 12922 Node get singleNodeValue() native "return this.singleNodeValue;";
11411 12923
11412 int snapshotLength; 12924 int get snapshotLength() native "return this.snapshotLength;";
11413 12925
11414 String stringValue; 12926 String get stringValue() native "return this.stringValue;";
11415 12927
11416 Node iterateNext() native; 12928 Node iterateNext() native;
11417 12929
11418 Node snapshotItem(int index) native; 12930 Node snapshotItem(int index) native;
11419 12931
11420 var dartObjectLocalStorage; 12932 var dartObjectLocalStorage;
11421 12933
11422 String get typeName() native; 12934 String get typeName() native;
11423 } 12935 }
11424 12936
(...skipping 723 matching lines...) Expand 10 before | Expand all | Expand 10 after
12148 startIndex = a.length - 1; 13660 startIndex = a.length - 1;
12149 } 13661 }
12150 for (int i = startIndex; i >= 0; i--) { 13662 for (int i = startIndex; i >= 0; i--) {
12151 if (a[i] == element) { 13663 if (a[i] == element) {
12152 return i; 13664 return i;
12153 } 13665 }
12154 } 13666 }
12155 return -1; 13667 return -1;
12156 } 13668 }
12157 } 13669 }
OLDNEW
« no previous file with comments | « no previous file | client/dom/generated/src/frog/ArrayBuffer.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698