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

Side by Side Diff: sdk/lib/html/dart2js/html_dart2js.dart

Issue 11412144: HTML human writable docs working end to end!... mostly... (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fixed two small issues. Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 library html; 1 library html;
2 2
3 import 'dart:isolate'; 3 import 'dart:isolate';
4 import 'dart:json'; 4 import 'dart:json';
5 import 'dart:svg' as svg; 5 import 'dart:svg' as svg;
6 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 6 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7 // for details. All rights reserved. Use of this source code is governed by a 7 // for details. All rights reserved. Use of this source code is governed by a
8 // BSD-style license that can be found in the LICENSE file. 8 // BSD-style license that can be found in the LICENSE file.
9 9
10 // DO NOT EDIT 10 // DO NOT EDIT
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 bool $dom_dispatchEvent(Event evt) native "dispatchEvent"; 62 bool $dom_dispatchEvent(Event evt) native "dispatchEvent";
63 63
64 /// @domName AbstractWorker.removeEventListener; @docsEditable true 64 /// @domName AbstractWorker.removeEventListener; @docsEditable true
65 void $dom_removeEventListener(String type, EventListener listener, [bool useCa pture]) native "removeEventListener"; 65 void $dom_removeEventListener(String type, EventListener listener, [bool useCa pture]) native "removeEventListener";
66 } 66 }
67 67
68 class AbstractWorkerEvents extends Events { 68 class AbstractWorkerEvents extends Events {
69 AbstractWorkerEvents(EventTarget _ptr) : super(_ptr); 69 AbstractWorkerEvents(EventTarget _ptr) : super(_ptr);
70 70
71 EventListenerList get error => this['error']; 71 EventListenerList get error => this['error'];
72 } 72 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
blois 2012/11/26 21:50:44 Should also add back the newline at the end of the
Andrei Mouravski 2012/11/26 23:24:11 Done.
73 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
74 // for details. All rights reserved. Use of this source code is governed by a 73 // for details. All rights reserved. Use of this source code is governed by a
75 // BSD-style license that can be found in the LICENSE file. 74 // BSD-style license that can be found in the LICENSE file.
76 75
77 76
78 /// @domName AnalyserNode; @docsEditable true 77 /// @domName AnalyserNode; @docsEditable true
79 class AnalyserNode extends AudioNode native "*AnalyserNode" { 78 class AnalyserNode extends AudioNode native "*AnalyserNode" {
80 79
81 /// @domName AnalyserNode.fftSize; @docsEditable true 80 /// @domName AnalyserNode.fftSize; @docsEditable true
82 int fftSize; 81 int fftSize;
83 82
(...skipping 10 matching lines...) Expand all
94 num smoothingTimeConstant; 93 num smoothingTimeConstant;
95 94
96 /// @domName AnalyserNode.getByteFrequencyData; @docsEditable true 95 /// @domName AnalyserNode.getByteFrequencyData; @docsEditable true
97 void getByteFrequencyData(Uint8Array array) native; 96 void getByteFrequencyData(Uint8Array array) native;
98 97
99 /// @domName AnalyserNode.getByteTimeDomainData; @docsEditable true 98 /// @domName AnalyserNode.getByteTimeDomainData; @docsEditable true
100 void getByteTimeDomainData(Uint8Array array) native; 99 void getByteTimeDomainData(Uint8Array array) native;
101 100
102 /// @domName AnalyserNode.getFloatFrequencyData; @docsEditable true 101 /// @domName AnalyserNode.getFloatFrequencyData; @docsEditable true
103 void getFloatFrequencyData(Float32Array array) native; 102 void getFloatFrequencyData(Float32Array array) native;
104 } 103 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
105 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
106 // for details. All rights reserved. Use of this source code is governed by a 104 // for details. All rights reserved. Use of this source code is governed by a
107 // BSD-style license that can be found in the LICENSE file. 105 // BSD-style license that can be found in the LICENSE file.
108 106
109 107
110 /// @domName HTMLAnchorElement; @docsEditable true 108 /// @domName HTMLAnchorElement; @docsEditable true
111 class AnchorElement extends Element implements Element native "*HTMLAnchorElemen t" { 109 class AnchorElement extends Element implements Element native "*HTMLAnchorElemen t" {
112 110
113 factory AnchorElement({String href}) { 111 factory AnchorElement({String href}) {
114 var e = document.$dom_createElement("a"); 112 var e = document.$dom_createElement("a");
115 if (href != null) e.href = href; 113 if (href != null) e.href = href;
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 String shape; 169 String shape;
172 170
173 /// @domName HTMLAnchorElement.target; @docsEditable true 171 /// @domName HTMLAnchorElement.target; @docsEditable true
174 String target; 172 String target;
175 173
176 /// @domName HTMLAnchorElement.type; @docsEditable true 174 /// @domName HTMLAnchorElement.type; @docsEditable true
177 String type; 175 String type;
178 176
179 /// @domName HTMLAnchorElement.toString; @docsEditable true 177 /// @domName HTMLAnchorElement.toString; @docsEditable true
180 String toString() native; 178 String toString() native;
181 } 179 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
182 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
183 // for details. All rights reserved. Use of this source code is governed by a 180 // for details. All rights reserved. Use of this source code is governed by a
184 // BSD-style license that can be found in the LICENSE file. 181 // BSD-style license that can be found in the LICENSE file.
185 182
186 183
187 /// @domName WebKitAnimation; @docsEditable true 184 /// @domName WebKitAnimation; @docsEditable true
188 class Animation native "*WebKitAnimation" { 185 class Animation native "*WebKitAnimation" {
189 186
190 static const int DIRECTION_ALTERNATE = 1; 187 static const int DIRECTION_ALTERNATE = 1;
191 188
192 static const int DIRECTION_NORMAL = 0; 189 static const int DIRECTION_NORMAL = 0;
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 final String name; 221 final String name;
225 222
226 /// @domName WebKitAnimation.paused; @docsEditable true 223 /// @domName WebKitAnimation.paused; @docsEditable true
227 final bool paused; 224 final bool paused;
228 225
229 /// @domName WebKitAnimation.pause; @docsEditable true 226 /// @domName WebKitAnimation.pause; @docsEditable true
230 void pause() native; 227 void pause() native;
231 228
232 /// @domName WebKitAnimation.play; @docsEditable true 229 /// @domName WebKitAnimation.play; @docsEditable true
233 void play() native; 230 void play() native;
234 } 231 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
235 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
236 // for details. All rights reserved. Use of this source code is governed by a 232 // for details. All rights reserved. Use of this source code is governed by a
237 // BSD-style license that can be found in the LICENSE file. 233 // BSD-style license that can be found in the LICENSE file.
238 234
239 235
240 /// @domName WebKitAnimationEvent; @docsEditable true 236 /// @domName WebKitAnimationEvent; @docsEditable true
241 class AnimationEvent extends Event native "*WebKitAnimationEvent" { 237 class AnimationEvent extends Event native "*WebKitAnimationEvent" {
242 238
243 /// @domName WebKitAnimationEvent.animationName; @docsEditable true 239 /// @domName WebKitAnimationEvent.animationName; @docsEditable true
244 final String animationName; 240 final String animationName;
245 241
246 /// @domName WebKitAnimationEvent.elapsedTime; @docsEditable true 242 /// @domName WebKitAnimationEvent.elapsedTime; @docsEditable true
247 final num elapsedTime; 243 final num elapsedTime;
248 } 244 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
249 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
250 // for details. All rights reserved. Use of this source code is governed by a 245 // for details. All rights reserved. Use of this source code is governed by a
251 // BSD-style license that can be found in the LICENSE file. 246 // BSD-style license that can be found in the LICENSE file.
252 247
253 248
254 /// @domName HTMLAppletElement; @docsEditable true 249 /// @domName HTMLAppletElement; @docsEditable true
255 class AppletElement extends Element implements Element native "*HTMLAppletElemen t" { 250 class AppletElement extends Element implements Element native "*HTMLAppletElemen t" {
256 251
257 /// @domName HTMLAppletElement.align; @docsEditable true 252 /// @domName HTMLAppletElement.align; @docsEditable true
258 String align; 253 String align;
259 254
(...skipping 19 matching lines...) Expand all
279 String name; 274 String name;
280 275
281 /// @domName HTMLAppletElement.object; @docsEditable true 276 /// @domName HTMLAppletElement.object; @docsEditable true
282 String object; 277 String object;
283 278
284 /// @domName HTMLAppletElement.vspace; @docsEditable true 279 /// @domName HTMLAppletElement.vspace; @docsEditable true
285 String vspace; 280 String vspace;
286 281
287 /// @domName HTMLAppletElement.width; @docsEditable true 282 /// @domName HTMLAppletElement.width; @docsEditable true
288 String width; 283 String width;
289 } 284 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
290 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
291 // for details. All rights reserved. Use of this source code is governed by a 285 // for details. All rights reserved. Use of this source code is governed by a
292 // BSD-style license that can be found in the LICENSE file. 286 // BSD-style license that can be found in the LICENSE file.
293 287
294 288
295 /// @domName HTMLAreaElement; @docsEditable true 289 /// @domName HTMLAreaElement; @docsEditable true
296 class AreaElement extends Element implements Element native "*HTMLAreaElement" { 290 class AreaElement extends Element implements Element native "*HTMLAreaElement" {
297 291
298 factory AreaElement() => document.$dom_createElement("area"); 292 factory AreaElement() => document.$dom_createElement("area");
299 293
300 /// @domName HTMLAreaElement.alt; @docsEditable true 294 /// @domName HTMLAreaElement.alt; @docsEditable true
(...skipping 30 matching lines...) Expand all
331 final String protocol; 325 final String protocol;
332 326
333 /// @domName HTMLAreaElement.search; @docsEditable true 327 /// @domName HTMLAreaElement.search; @docsEditable true
334 final String search; 328 final String search;
335 329
336 /// @domName HTMLAreaElement.shape; @docsEditable true 330 /// @domName HTMLAreaElement.shape; @docsEditable true
337 String shape; 331 String shape;
338 332
339 /// @domName HTMLAreaElement.target; @docsEditable true 333 /// @domName HTMLAreaElement.target; @docsEditable true
340 String target; 334 String target;
341 } 335 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
342 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
343 // for details. All rights reserved. Use of this source code is governed by a 336 // for details. All rights reserved. Use of this source code is governed by a
344 // BSD-style license that can be found in the LICENSE file. 337 // BSD-style license that can be found in the LICENSE file.
345 338
346 339
347 /// @domName ArrayBuffer; @docsEditable true 340 /// @domName ArrayBuffer; @docsEditable true
348 class ArrayBuffer native "*ArrayBuffer" { 341 class ArrayBuffer native "*ArrayBuffer" {
349 342
350 factory ArrayBuffer(int length) => _ArrayBufferFactoryProvider.createArrayBuff er(length); 343 factory ArrayBuffer(int length) => _ArrayBufferFactoryProvider.createArrayBuff er(length);
351 344
352 /// @domName ArrayBuffer.byteLength; @docsEditable true 345 /// @domName ArrayBuffer.byteLength; @docsEditable true
353 final int byteLength; 346 final int byteLength;
354 347
355 /// @domName ArrayBuffer.slice; @docsEditable true 348 /// @domName ArrayBuffer.slice; @docsEditable true
356 ArrayBuffer slice(int begin, [int end]) native; 349 ArrayBuffer slice(int begin, [int end]) native;
357 } 350 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
358 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
359 // for details. All rights reserved. Use of this source code is governed by a 351 // for details. All rights reserved. Use of this source code is governed by a
360 // BSD-style license that can be found in the LICENSE file. 352 // BSD-style license that can be found in the LICENSE file.
361 353
362 354
363 /// @domName ArrayBufferView; @docsEditable true 355 /// @domName ArrayBufferView; @docsEditable true
364 class ArrayBufferView native "*ArrayBufferView" { 356 class ArrayBufferView native "*ArrayBufferView" {
365 357
366 /// @domName ArrayBufferView.buffer; @docsEditable true 358 /// @domName ArrayBufferView.buffer; @docsEditable true
367 final ArrayBuffer buffer; 359 final ArrayBuffer buffer;
368 360
369 /// @domName ArrayBufferView.byteLength; @docsEditable true 361 /// @domName ArrayBufferView.byteLength; @docsEditable true
370 final int byteLength; 362 final int byteLength;
371 363
372 /// @domName ArrayBufferView.byteOffset; @docsEditable true 364 /// @domName ArrayBufferView.byteOffset; @docsEditable true
373 final int byteOffset; 365 final int byteOffset;
374 } 366 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
375 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
376 // for details. All rights reserved. Use of this source code is governed by a 367 // for details. All rights reserved. Use of this source code is governed by a
377 // BSD-style license that can be found in the LICENSE file. 368 // BSD-style license that can be found in the LICENSE file.
378 369
379 370
380 /// @domName Attr; @docsEditable true 371 /// @domName Attr; @docsEditable true
381 class Attr extends Node native "*Attr" { 372 class Attr extends Node native "*Attr" {
382 373
383 /// @domName Attr.isId; @docsEditable true 374 /// @domName Attr.isId; @docsEditable true
384 final bool isId; 375 final bool isId;
385 376
386 /// @domName Attr.name; @docsEditable true 377 /// @domName Attr.name; @docsEditable true
387 final String name; 378 final String name;
388 379
389 /// @domName Attr.ownerElement; @docsEditable true 380 /// @domName Attr.ownerElement; @docsEditable true
390 final Element ownerElement; 381 final Element ownerElement;
391 382
392 /// @domName Attr.specified; @docsEditable true 383 /// @domName Attr.specified; @docsEditable true
393 final bool specified; 384 final bool specified;
394 385
395 /// @domName Attr.value; @docsEditable true 386 /// @domName Attr.value; @docsEditable true
396 String value; 387 String value;
397 } 388 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
398 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
399 // for details. All rights reserved. Use of this source code is governed by a 389 // for details. All rights reserved. Use of this source code is governed by a
400 // BSD-style license that can be found in the LICENSE file. 390 // BSD-style license that can be found in the LICENSE file.
401 391
402 392
403 /// @domName AudioBuffer; @docsEditable true 393 /// @domName AudioBuffer; @docsEditable true
404 class AudioBuffer native "*AudioBuffer" { 394 class AudioBuffer native "*AudioBuffer" {
405 395
406 /// @domName AudioBuffer.duration; @docsEditable true 396 /// @domName AudioBuffer.duration; @docsEditable true
407 final num duration; 397 final num duration;
408 398
409 /// @domName AudioBuffer.gain; @docsEditable true 399 /// @domName AudioBuffer.gain; @docsEditable true
410 num gain; 400 num gain;
411 401
412 /// @domName AudioBuffer.length; @docsEditable true 402 /// @domName AudioBuffer.length; @docsEditable true
413 final int length; 403 final int length;
414 404
415 /// @domName AudioBuffer.numberOfChannels; @docsEditable true 405 /// @domName AudioBuffer.numberOfChannels; @docsEditable true
416 final int numberOfChannels; 406 final int numberOfChannels;
417 407
418 /// @domName AudioBuffer.sampleRate; @docsEditable true 408 /// @domName AudioBuffer.sampleRate; @docsEditable true
419 final num sampleRate; 409 final num sampleRate;
420 410
421 /// @domName AudioBuffer.getChannelData; @docsEditable true 411 /// @domName AudioBuffer.getChannelData; @docsEditable true
422 Float32Array getChannelData(int channelIndex) native; 412 Float32Array getChannelData(int channelIndex) native;
423 } 413 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
424 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
425 // for details. All rights reserved. Use of this source code is governed by a 414 // for details. All rights reserved. Use of this source code is governed by a
426 // BSD-style license that can be found in the LICENSE file. 415 // BSD-style license that can be found in the LICENSE file.
427 416
428 // WARNING: Do not edit - generated code. 417 // WARNING: Do not edit - generated code.
429 418
430 419
431 typedef void AudioBufferCallback(AudioBuffer audioBuffer); 420 typedef void AudioBufferCallback(AudioBuffer audioBuffer);// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
432 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
433 // for details. All rights reserved. Use of this source code is governed by a 421 // for details. All rights reserved. Use of this source code is governed by a
434 // BSD-style license that can be found in the LICENSE file. 422 // BSD-style license that can be found in the LICENSE file.
435 423
436 424
437 class AudioBufferSourceNode extends AudioSourceNode native "*AudioBufferSourceNo de" { 425 class AudioBufferSourceNode extends AudioSourceNode native "*AudioBufferSourceNo de" {
438 426
439 // TODO(efortuna): Remove these methods when Chrome stable also uses start 427 // TODO(efortuna): Remove these methods when Chrome stable also uses start
440 // instead of noteOn. 428 // instead of noteOn.
441 void start(num when, [num grainOffset, num grainDuration]) { 429 void start(num when, [num grainOffset, num grainDuration]) {
442 if (JS('bool', '!!#.start', this)) { 430 if (JS('bool', '!!#.start', this)) {
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
488 476
489 /// @domName AudioBufferSourceNode.loopStart; @docsEditable true 477 /// @domName AudioBufferSourceNode.loopStart; @docsEditable true
490 num loopStart; 478 num loopStart;
491 479
492 /// @domName AudioBufferSourceNode.playbackRate; @docsEditable true 480 /// @domName AudioBufferSourceNode.playbackRate; @docsEditable true
493 final AudioParam playbackRate; 481 final AudioParam playbackRate;
494 482
495 /// @domName AudioBufferSourceNode.playbackState; @docsEditable true 483 /// @domName AudioBufferSourceNode.playbackState; @docsEditable true
496 final int playbackState; 484 final int playbackState;
497 485
498 } 486 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
499 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
500 // for details. All rights reserved. Use of this source code is governed by a 487 // for details. All rights reserved. Use of this source code is governed by a
501 // BSD-style license that can be found in the LICENSE file. 488 // BSD-style license that can be found in the LICENSE file.
502 489
503 490
504 class AudioContext extends EventTarget native "*AudioContext" { 491 class AudioContext extends EventTarget native "*AudioContext" {
505 factory AudioContext() => _AudioContextFactoryProvider.createAudioContext(); 492 factory AudioContext() => _AudioContextFactoryProvider.createAudioContext();
506 493
507 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true 494 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true
508 AudioContextEvents get on => 495 AudioContextEvents get on =>
509 new AudioContextEvents(this); 496 new AudioContextEvents(this);
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
596 return JS('ScriptProcessorNode', '#.call(#, #)', function, this, 583 return JS('ScriptProcessorNode', '#.call(#, #)', function, this,
597 bufferSize); 584 bufferSize);
598 } 585 }
599 } 586 }
600 } 587 }
601 588
602 class AudioContextEvents extends Events { 589 class AudioContextEvents extends Events {
603 AudioContextEvents(EventTarget _ptr) : super(_ptr); 590 AudioContextEvents(EventTarget _ptr) : super(_ptr);
604 591
605 EventListenerList get complete => this['complete']; 592 EventListenerList get complete => this['complete'];
606 } 593 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
607 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
608 // for details. All rights reserved. Use of this source code is governed by a 594 // for details. All rights reserved. Use of this source code is governed by a
609 // BSD-style license that can be found in the LICENSE file. 595 // BSD-style license that can be found in the LICENSE file.
610 596
611 597
612 /// @domName AudioDestinationNode; @docsEditable true 598 /// @domName AudioDestinationNode; @docsEditable true
613 class AudioDestinationNode extends AudioNode native "*AudioDestinationNode" { 599 class AudioDestinationNode extends AudioNode native "*AudioDestinationNode" {
614 600
615 /// @domName AudioDestinationNode.numberOfChannels; @docsEditable true 601 /// @domName AudioDestinationNode.numberOfChannels; @docsEditable true
616 final int numberOfChannels; 602 final int numberOfChannels;
617 } 603 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
618 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
619 // for details. All rights reserved. Use of this source code is governed by a 604 // for details. All rights reserved. Use of this source code is governed by a
620 // BSD-style license that can be found in the LICENSE file. 605 // BSD-style license that can be found in the LICENSE file.
621 606
622 607
623 /// @domName HTMLAudioElement; @docsEditable true 608 /// @domName HTMLAudioElement; @docsEditable true
624 class AudioElement extends MediaElement native "*HTMLAudioElement" { 609 class AudioElement extends MediaElement native "*HTMLAudioElement" {
625 610
626 factory AudioElement([String src]) { 611 factory AudioElement([String src]) {
627 if (!?src) { 612 if (!?src) {
628 return _AudioElementFactoryProvider.createAudioElement(); 613 return _AudioElementFactoryProvider.createAudioElement();
629 } 614 }
630 return _AudioElementFactoryProvider.createAudioElement(src); 615 return _AudioElementFactoryProvider.createAudioElement(src);
631 } 616 }
632 } 617 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
633 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
634 // for details. All rights reserved. Use of this source code is governed by a 618 // for details. All rights reserved. Use of this source code is governed by a
635 // BSD-style license that can be found in the LICENSE file. 619 // BSD-style license that can be found in the LICENSE file.
636 620
637 621
638 /// @domName AudioGain; @docsEditable true 622 /// @domName AudioGain; @docsEditable true
639 class AudioGain extends AudioParam native "*AudioGain" { 623 class AudioGain extends AudioParam native "*AudioGain" {
640 } 624 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
641 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
642 // for details. All rights reserved. Use of this source code is governed by a 625 // for details. All rights reserved. Use of this source code is governed by a
643 // BSD-style license that can be found in the LICENSE file. 626 // BSD-style license that can be found in the LICENSE file.
644 627
645 628
646 /// @domName AudioListener; @docsEditable true 629 /// @domName AudioListener; @docsEditable true
647 class AudioListener native "*AudioListener" { 630 class AudioListener native "*AudioListener" {
648 631
649 /// @domName AudioListener.dopplerFactor; @docsEditable true 632 /// @domName AudioListener.dopplerFactor; @docsEditable true
650 num dopplerFactor; 633 num dopplerFactor;
651 634
652 /// @domName AudioListener.speedOfSound; @docsEditable true 635 /// @domName AudioListener.speedOfSound; @docsEditable true
653 num speedOfSound; 636 num speedOfSound;
654 637
655 /// @domName AudioListener.setOrientation; @docsEditable true 638 /// @domName AudioListener.setOrientation; @docsEditable true
656 void setOrientation(num x, num y, num z, num xUp, num yUp, num zUp) native; 639 void setOrientation(num x, num y, num z, num xUp, num yUp, num zUp) native;
657 640
658 /// @domName AudioListener.setPosition; @docsEditable true 641 /// @domName AudioListener.setPosition; @docsEditable true
659 void setPosition(num x, num y, num z) native; 642 void setPosition(num x, num y, num z) native;
660 643
661 /// @domName AudioListener.setVelocity; @docsEditable true 644 /// @domName AudioListener.setVelocity; @docsEditable true
662 void setVelocity(num x, num y, num z) native; 645 void setVelocity(num x, num y, num z) native;
663 } 646 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
664 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
665 // for details. All rights reserved. Use of this source code is governed by a 647 // for details. All rights reserved. Use of this source code is governed by a
666 // BSD-style license that can be found in the LICENSE file. 648 // BSD-style license that can be found in the LICENSE file.
667 649
668 650
669 /// @domName AudioNode; @docsEditable true 651 /// @domName AudioNode; @docsEditable true
670 class AudioNode native "*AudioNode" { 652 class AudioNode native "*AudioNode" {
671 653
672 /// @domName AudioNode.context; @docsEditable true 654 /// @domName AudioNode.context; @docsEditable true
673 final AudioContext context; 655 final AudioContext context;
674 656
675 /// @domName AudioNode.numberOfInputs; @docsEditable true 657 /// @domName AudioNode.numberOfInputs; @docsEditable true
676 final int numberOfInputs; 658 final int numberOfInputs;
677 659
678 /// @domName AudioNode.numberOfOutputs; @docsEditable true 660 /// @domName AudioNode.numberOfOutputs; @docsEditable true
679 final int numberOfOutputs; 661 final int numberOfOutputs;
680 662
681 /// @domName AudioNode.connect; @docsEditable true 663 /// @domName AudioNode.connect; @docsEditable true
682 void connect(destination, int output, [int input]) native; 664 void connect(destination, int output, [int input]) native;
683 665
684 /// @domName AudioNode.disconnect; @docsEditable true 666 /// @domName AudioNode.disconnect; @docsEditable true
685 void disconnect(int output) native; 667 void disconnect(int output) native;
686 } 668 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
687 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
688 // for details. All rights reserved. Use of this source code is governed by a 669 // for details. All rights reserved. Use of this source code is governed by a
689 // BSD-style license that can be found in the LICENSE file. 670 // BSD-style license that can be found in the LICENSE file.
690 671
691 672
692 /// @domName AudioParam; @docsEditable true 673 /// @domName AudioParam; @docsEditable true
693 class AudioParam native "*AudioParam" { 674 class AudioParam native "*AudioParam" {
694 675
695 /// @domName AudioParam.defaultValue; @docsEditable true 676 /// @domName AudioParam.defaultValue; @docsEditable true
696 final num defaultValue; 677 final num defaultValue;
697 678
(...skipping 22 matching lines...) Expand all
720 void linearRampToValueAtTime(num value, num time) native; 701 void linearRampToValueAtTime(num value, num time) native;
721 702
722 /// @domName AudioParam.setTargetAtTime; @docsEditable true 703 /// @domName AudioParam.setTargetAtTime; @docsEditable true
723 void setTargetAtTime(num target, num time, num timeConstant) native; 704 void setTargetAtTime(num target, num time, num timeConstant) native;
724 705
725 /// @domName AudioParam.setValueAtTime; @docsEditable true 706 /// @domName AudioParam.setValueAtTime; @docsEditable true
726 void setValueAtTime(num value, num time) native; 707 void setValueAtTime(num value, num time) native;
727 708
728 /// @domName AudioParam.setValueCurveAtTime; @docsEditable true 709 /// @domName AudioParam.setValueCurveAtTime; @docsEditable true
729 void setValueCurveAtTime(Float32Array values, num time, num duration) native; 710 void setValueCurveAtTime(Float32Array values, num time, num duration) native;
730 } 711 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
731 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
732 // for details. All rights reserved. Use of this source code is governed by a 712 // for details. All rights reserved. Use of this source code is governed by a
733 // BSD-style license that can be found in the LICENSE file. 713 // BSD-style license that can be found in the LICENSE file.
734 714
735 715
736 /// @domName AudioProcessingEvent; @docsEditable true 716 /// @domName AudioProcessingEvent; @docsEditable true
737 class AudioProcessingEvent extends Event native "*AudioProcessingEvent" { 717 class AudioProcessingEvent extends Event native "*AudioProcessingEvent" {
738 718
739 /// @domName AudioProcessingEvent.inputBuffer; @docsEditable true 719 /// @domName AudioProcessingEvent.inputBuffer; @docsEditable true
740 final AudioBuffer inputBuffer; 720 final AudioBuffer inputBuffer;
741 721
742 /// @domName AudioProcessingEvent.outputBuffer; @docsEditable true 722 /// @domName AudioProcessingEvent.outputBuffer; @docsEditable true
743 final AudioBuffer outputBuffer; 723 final AudioBuffer outputBuffer;
744 } 724 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
745 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
746 // for details. All rights reserved. Use of this source code is governed by a 725 // for details. All rights reserved. Use of this source code is governed by a
747 // BSD-style license that can be found in the LICENSE file. 726 // BSD-style license that can be found in the LICENSE file.
748 727
749 728
750 /// @domName AudioSourceNode; @docsEditable true 729 /// @domName AudioSourceNode; @docsEditable true
751 class AudioSourceNode extends AudioNode native "*AudioSourceNode" { 730 class AudioSourceNode extends AudioNode native "*AudioSourceNode" {
752 } 731 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
753 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
754 // for details. All rights reserved. Use of this source code is governed by a 732 // for details. All rights reserved. Use of this source code is governed by a
755 // BSD-style license that can be found in the LICENSE file. 733 // BSD-style license that can be found in the LICENSE file.
756 734
757 735
758 /// @domName HTMLBRElement; @docsEditable true 736 /// @domName HTMLBRElement; @docsEditable true
759 class BRElement extends Element implements Element native "*HTMLBRElement" { 737 class BRElement extends Element implements Element native "*HTMLBRElement" {
760 738
761 factory BRElement() => document.$dom_createElement("br"); 739 factory BRElement() => document.$dom_createElement("br");
762 740
763 /// @domName HTMLBRElement.clear; @docsEditable true 741 /// @domName HTMLBRElement.clear; @docsEditable true
764 String clear; 742 String clear;
765 } 743 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
766 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
767 // for details. All rights reserved. Use of this source code is governed by a 744 // for details. All rights reserved. Use of this source code is governed by a
768 // BSD-style license that can be found in the LICENSE file. 745 // BSD-style license that can be found in the LICENSE file.
769 746
770 747
771 /// @domName BarInfo; @docsEditable true 748 /// @domName BarInfo; @docsEditable true
772 class BarInfo native "*BarInfo" { 749 class BarInfo native "*BarInfo" {
773 750
774 /// @domName BarInfo.visible; @docsEditable true 751 /// @domName BarInfo.visible; @docsEditable true
775 final bool visible; 752 final bool visible;
776 } 753 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
777 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
778 // for details. All rights reserved. Use of this source code is governed by a 754 // for details. All rights reserved. Use of this source code is governed by a
779 // BSD-style license that can be found in the LICENSE file. 755 // BSD-style license that can be found in the LICENSE file.
780 756
781 757
782 /// @domName HTMLBaseElement; @docsEditable true 758 /// @domName HTMLBaseElement; @docsEditable true
783 class BaseElement extends Element implements Element native "*HTMLBaseElement" { 759 class BaseElement extends Element implements Element native "*HTMLBaseElement" {
784 760
785 factory BaseElement() => document.$dom_createElement("base"); 761 factory BaseElement() => document.$dom_createElement("base");
786 762
787 /// @domName HTMLBaseElement.href; @docsEditable true 763 /// @domName HTMLBaseElement.href; @docsEditable true
788 String href; 764 String href;
789 765
790 /// @domName HTMLBaseElement.target; @docsEditable true 766 /// @domName HTMLBaseElement.target; @docsEditable true
791 String target; 767 String target;
792 } 768 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
793 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
794 // for details. All rights reserved. Use of this source code is governed by a 769 // for details. All rights reserved. Use of this source code is governed by a
795 // BSD-style license that can be found in the LICENSE file. 770 // BSD-style license that can be found in the LICENSE file.
796 771
797 772
798 /// @domName HTMLBaseFontElement; @docsEditable true 773 /// @domName HTMLBaseFontElement; @docsEditable true
799 class BaseFontElement extends Element implements Element native "*HTMLBaseFontEl ement" { 774 class BaseFontElement extends Element implements Element native "*HTMLBaseFontEl ement" {
800 775
801 /// @domName HTMLBaseFontElement.color; @docsEditable true 776 /// @domName HTMLBaseFontElement.color; @docsEditable true
802 String color; 777 String color;
803 778
804 /// @domName HTMLBaseFontElement.face; @docsEditable true 779 /// @domName HTMLBaseFontElement.face; @docsEditable true
805 String face; 780 String face;
806 781
807 /// @domName HTMLBaseFontElement.size; @docsEditable true 782 /// @domName HTMLBaseFontElement.size; @docsEditable true
808 int size; 783 int size;
809 } 784 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
810 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
811 // for details. All rights reserved. Use of this source code is governed by a 785 // for details. All rights reserved. Use of this source code is governed by a
812 // BSD-style license that can be found in the LICENSE file. 786 // BSD-style license that can be found in the LICENSE file.
813 787
814 788
815 /// @domName BatteryManager; @docsEditable true 789 /// @domName BatteryManager; @docsEditable true
816 class BatteryManager extends EventTarget native "*BatteryManager" { 790 class BatteryManager extends EventTarget native "*BatteryManager" {
817 791
818 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true 792 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true
819 BatteryManagerEvents get on => 793 BatteryManagerEvents get on =>
820 new BatteryManagerEvents(this); 794 new BatteryManagerEvents(this);
(...skipping 23 matching lines...) Expand all
844 class BatteryManagerEvents extends Events { 818 class BatteryManagerEvents extends Events {
845 BatteryManagerEvents(EventTarget _ptr) : super(_ptr); 819 BatteryManagerEvents(EventTarget _ptr) : super(_ptr);
846 820
847 EventListenerList get chargingChange => this['chargingchange']; 821 EventListenerList get chargingChange => this['chargingchange'];
848 822
849 EventListenerList get chargingTimeChange => this['chargingtimechange']; 823 EventListenerList get chargingTimeChange => this['chargingtimechange'];
850 824
851 EventListenerList get dischargingTimeChange => this['dischargingtimechange']; 825 EventListenerList get dischargingTimeChange => this['dischargingtimechange'];
852 826
853 EventListenerList get levelChange => this['levelchange']; 827 EventListenerList get levelChange => this['levelchange'];
854 } 828 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
855 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
856 // for details. All rights reserved. Use of this source code is governed by a 829 // for details. All rights reserved. Use of this source code is governed by a
857 // BSD-style license that can be found in the LICENSE file. 830 // BSD-style license that can be found in the LICENSE file.
858 831
859 832
860 /// @domName BeforeLoadEvent; @docsEditable true 833 /// @domName BeforeLoadEvent; @docsEditable true
861 class BeforeLoadEvent extends Event native "*BeforeLoadEvent" { 834 class BeforeLoadEvent extends Event native "*BeforeLoadEvent" {
862 835
863 /// @domName BeforeLoadEvent.url; @docsEditable true 836 /// @domName BeforeLoadEvent.url; @docsEditable true
864 final String url; 837 final String url;
865 } 838 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
866 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
867 // for details. All rights reserved. Use of this source code is governed by a 839 // for details. All rights reserved. Use of this source code is governed by a
868 // BSD-style license that can be found in the LICENSE file. 840 // BSD-style license that can be found in the LICENSE file.
869 841
870 842
871 /// @domName BiquadFilterNode; @docsEditable true 843 /// @domName BiquadFilterNode; @docsEditable true
872 class BiquadFilterNode extends AudioNode native "*BiquadFilterNode" { 844 class BiquadFilterNode extends AudioNode native "*BiquadFilterNode" {
873 845
874 static const int ALLPASS = 7; 846 static const int ALLPASS = 7;
875 847
876 static const int BANDPASS = 2; 848 static const int BANDPASS = 2;
(...skipping 17 matching lines...) Expand all
894 final AudioParam frequency; 866 final AudioParam frequency;
895 867
896 /// @domName BiquadFilterNode.gain; @docsEditable true 868 /// @domName BiquadFilterNode.gain; @docsEditable true
897 final AudioParam gain; 869 final AudioParam gain;
898 870
899 /// @domName BiquadFilterNode.type; @docsEditable true 871 /// @domName BiquadFilterNode.type; @docsEditable true
900 int type; 872 int type;
901 873
902 /// @domName BiquadFilterNode.getFrequencyResponse; @docsEditable true 874 /// @domName BiquadFilterNode.getFrequencyResponse; @docsEditable true
903 void getFrequencyResponse(Float32Array frequencyHz, Float32Array magResponse, Float32Array phaseResponse) native; 875 void getFrequencyResponse(Float32Array frequencyHz, Float32Array magResponse, Float32Array phaseResponse) native;
904 } 876 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
905 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
906 // for details. All rights reserved. Use of this source code is governed by a 877 // for details. All rights reserved. Use of this source code is governed by a
907 // BSD-style license that can be found in the LICENSE file. 878 // BSD-style license that can be found in the LICENSE file.
908 879
909 880
910 /// @domName Blob; @docsEditable true 881 /// @domName Blob; @docsEditable true
911 class Blob native "*Blob" { 882 class Blob native "*Blob" {
912 883
913 factory Blob(List blobParts, [String type, String endings]) { 884 factory Blob(List blobParts, [String type, String endings]) {
914 if (!?type) { 885 if (!?type) {
915 return _BlobFactoryProvider.createBlob(blobParts); 886 return _BlobFactoryProvider.createBlob(blobParts);
916 } 887 }
917 if (!?endings) { 888 if (!?endings) {
918 return _BlobFactoryProvider.createBlob(blobParts, type); 889 return _BlobFactoryProvider.createBlob(blobParts, type);
919 } 890 }
920 return _BlobFactoryProvider.createBlob(blobParts, type, endings); 891 return _BlobFactoryProvider.createBlob(blobParts, type, endings);
921 } 892 }
922 893
923 /// @domName Blob.size; @docsEditable true 894 /// @domName Blob.size; @docsEditable true
924 final int size; 895 final int size;
925 896
926 /// @domName Blob.type; @docsEditable true 897 /// @domName Blob.type; @docsEditable true
927 final String type; 898 final String type;
928 899
929 /// @domName Blob.slice; @docsEditable true 900 /// @domName Blob.slice; @docsEditable true
930 Blob slice([int start, int end, String contentType]) native; 901 Blob slice([int start, int end, String contentType]) native;
931 } 902 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
932 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
933 // for details. All rights reserved. Use of this source code is governed by a 903 // for details. All rights reserved. Use of this source code is governed by a
934 // BSD-style license that can be found in the LICENSE file. 904 // BSD-style license that can be found in the LICENSE file.
935 905
936 906
937 /// @domName HTMLBodyElement; @docsEditable true 907 /// @domName HTMLBodyElement; @docsEditable true
938 class BodyElement extends Element implements Element native "*HTMLBodyElement" { 908 class BodyElement extends Element implements Element native "*HTMLBodyElement" {
939 909
940 factory BodyElement() => document.$dom_createElement("body"); 910 factory BodyElement() => document.$dom_createElement("body");
941 911
942 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true 912 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
980 950
981 EventListenerList get online => this['online']; 951 EventListenerList get online => this['online'];
982 952
983 EventListenerList get popState => this['popstate']; 953 EventListenerList get popState => this['popstate'];
984 954
985 EventListenerList get resize => this['resize']; 955 EventListenerList get resize => this['resize'];
986 956
987 EventListenerList get storage => this['storage']; 957 EventListenerList get storage => this['storage'];
988 958
989 EventListenerList get unload => this['unload']; 959 EventListenerList get unload => this['unload'];
990 } 960 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
991 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
992 // for details. All rights reserved. Use of this source code is governed by a 961 // for details. All rights reserved. Use of this source code is governed by a
993 // BSD-style license that can be found in the LICENSE file. 962 // BSD-style license that can be found in the LICENSE file.
994 963
995 964
996 /// @domName HTMLButtonElement; @docsEditable true 965 /// @domName HTMLButtonElement; @docsEditable true
997 class ButtonElement extends Element implements Element native "*HTMLButtonElemen t" { 966 class ButtonElement extends Element implements Element native "*HTMLButtonElemen t" {
998 967
999 factory ButtonElement() => document.$dom_createElement("button"); 968 factory ButtonElement() => document.$dom_createElement("button");
1000 969
1001 /// @domName HTMLButtonElement.autofocus; @docsEditable true 970 /// @domName HTMLButtonElement.autofocus; @docsEditable true
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
1042 String value; 1011 String value;
1043 1012
1044 /// @domName HTMLButtonElement.willValidate; @docsEditable true 1013 /// @domName HTMLButtonElement.willValidate; @docsEditable true
1045 final bool willValidate; 1014 final bool willValidate;
1046 1015
1047 /// @domName HTMLButtonElement.checkValidity; @docsEditable true 1016 /// @domName HTMLButtonElement.checkValidity; @docsEditable true
1048 bool checkValidity() native; 1017 bool checkValidity() native;
1049 1018
1050 /// @domName HTMLButtonElement.setCustomValidity; @docsEditable true 1019 /// @domName HTMLButtonElement.setCustomValidity; @docsEditable true
1051 void setCustomValidity(String error) native; 1020 void setCustomValidity(String error) native;
1052 } 1021 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1053 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1054 // for details. All rights reserved. Use of this source code is governed by a 1022 // for details. All rights reserved. Use of this source code is governed by a
1055 // BSD-style license that can be found in the LICENSE file. 1023 // BSD-style license that can be found in the LICENSE file.
1056 1024
1057 1025
1058 /// @domName CDATASection; @docsEditable true 1026 /// @domName CDATASection; @docsEditable true
1059 class CDATASection extends Text native "*CDATASection" { 1027 class CDATASection extends Text native "*CDATASection" {
1060 } 1028 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1061 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1062 // for details. All rights reserved. Use of this source code is governed by a 1029 // for details. All rights reserved. Use of this source code is governed by a
1063 // BSD-style license that can be found in the LICENSE file. 1030 // BSD-style license that can be found in the LICENSE file.
1064 1031
1065 1032
1066 /// @domName CSSCharsetRule; @docsEditable true 1033 /// @domName CSSCharsetRule; @docsEditable true
1067 class CSSCharsetRule extends CSSRule native "*CSSCharsetRule" { 1034 class CSSCharsetRule extends CSSRule native "*CSSCharsetRule" {
1068 1035
1069 /// @domName CSSCharsetRule.encoding; @docsEditable true 1036 /// @domName CSSCharsetRule.encoding; @docsEditable true
1070 String encoding; 1037 String encoding;
1071 } 1038 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1072 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1073 // for details. All rights reserved. Use of this source code is governed by a 1039 // for details. All rights reserved. Use of this source code is governed by a
1074 // BSD-style license that can be found in the LICENSE file. 1040 // BSD-style license that can be found in the LICENSE file.
1075 1041
1076 1042
1077 /// @domName CSSFontFaceRule; @docsEditable true 1043 /// @domName CSSFontFaceRule; @docsEditable true
1078 class CSSFontFaceRule extends CSSRule native "*CSSFontFaceRule" { 1044 class CSSFontFaceRule extends CSSRule native "*CSSFontFaceRule" {
1079 1045
1080 /// @domName CSSFontFaceRule.style; @docsEditable true 1046 /// @domName CSSFontFaceRule.style; @docsEditable true
1081 final CSSStyleDeclaration style; 1047 final CSSStyleDeclaration style;
1082 } 1048 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1083 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1084 // for details. All rights reserved. Use of this source code is governed by a 1049 // for details. All rights reserved. Use of this source code is governed by a
1085 // BSD-style license that can be found in the LICENSE file. 1050 // BSD-style license that can be found in the LICENSE file.
1086 1051
1087 1052
1088 /// @domName CSSImportRule; @docsEditable true 1053 /// @domName CSSImportRule; @docsEditable true
1089 class CSSImportRule extends CSSRule native "*CSSImportRule" { 1054 class CSSImportRule extends CSSRule native "*CSSImportRule" {
1090 1055
1091 /// @domName CSSImportRule.href; @docsEditable true 1056 /// @domName CSSImportRule.href; @docsEditable true
1092 final String href; 1057 final String href;
1093 1058
1094 /// @domName CSSImportRule.media; @docsEditable true 1059 /// @domName CSSImportRule.media; @docsEditable true
1095 final MediaList media; 1060 final MediaList media;
1096 1061
1097 /// @domName CSSImportRule.styleSheet; @docsEditable true 1062 /// @domName CSSImportRule.styleSheet; @docsEditable true
1098 final CSSStyleSheet styleSheet; 1063 final CSSStyleSheet styleSheet;
1099 } 1064 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1100 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1101 // for details. All rights reserved. Use of this source code is governed by a 1065 // for details. All rights reserved. Use of this source code is governed by a
1102 // BSD-style license that can be found in the LICENSE file. 1066 // BSD-style license that can be found in the LICENSE file.
1103 1067
1104 1068
1105 /// @domName WebKitCSSKeyframeRule; @docsEditable true 1069 /// @domName WebKitCSSKeyframeRule; @docsEditable true
1106 class CSSKeyframeRule extends CSSRule native "*WebKitCSSKeyframeRule" { 1070 class CSSKeyframeRule extends CSSRule native "*WebKitCSSKeyframeRule" {
1107 1071
1108 /// @domName WebKitCSSKeyframeRule.keyText; @docsEditable true 1072 /// @domName WebKitCSSKeyframeRule.keyText; @docsEditable true
1109 String keyText; 1073 String keyText;
1110 1074
1111 /// @domName WebKitCSSKeyframeRule.style; @docsEditable true 1075 /// @domName WebKitCSSKeyframeRule.style; @docsEditable true
1112 final CSSStyleDeclaration style; 1076 final CSSStyleDeclaration style;
1113 } 1077 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1114 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1115 // for details. All rights reserved. Use of this source code is governed by a 1078 // for details. All rights reserved. Use of this source code is governed by a
1116 // BSD-style license that can be found in the LICENSE file. 1079 // BSD-style license that can be found in the LICENSE file.
1117 1080
1118 1081
1119 /// @domName WebKitCSSKeyframesRule; @docsEditable true 1082 /// @domName WebKitCSSKeyframesRule; @docsEditable true
1120 class CSSKeyframesRule extends CSSRule native "*WebKitCSSKeyframesRule" { 1083 class CSSKeyframesRule extends CSSRule native "*WebKitCSSKeyframesRule" {
1121 1084
1122 /// @domName WebKitCSSKeyframesRule.cssRules; @docsEditable true 1085 /// @domName WebKitCSSKeyframesRule.cssRules; @docsEditable true
1123 @Returns('_CSSRuleList') @Creates('_CSSRuleList') 1086 @Returns('_CSSRuleList') @Creates('_CSSRuleList')
1124 final List<CSSRule> cssRules; 1087 final List<CSSRule> cssRules;
1125 1088
1126 /// @domName WebKitCSSKeyframesRule.name; @docsEditable true 1089 /// @domName WebKitCSSKeyframesRule.name; @docsEditable true
1127 String name; 1090 String name;
1128 1091
1129 /// @domName WebKitCSSKeyframesRule.deleteRule; @docsEditable true 1092 /// @domName WebKitCSSKeyframesRule.deleteRule; @docsEditable true
1130 void deleteRule(String key) native; 1093 void deleteRule(String key) native;
1131 1094
1132 /// @domName WebKitCSSKeyframesRule.findRule; @docsEditable true 1095 /// @domName WebKitCSSKeyframesRule.findRule; @docsEditable true
1133 CSSKeyframeRule findRule(String key) native; 1096 CSSKeyframeRule findRule(String key) native;
1134 1097
1135 /// @domName WebKitCSSKeyframesRule.insertRule; @docsEditable true 1098 /// @domName WebKitCSSKeyframesRule.insertRule; @docsEditable true
1136 void insertRule(String rule) native; 1099 void insertRule(String rule) native;
1137 } 1100 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1138 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1139 // for details. All rights reserved. Use of this source code is governed by a 1101 // for details. All rights reserved. Use of this source code is governed by a
1140 // BSD-style license that can be found in the LICENSE file. 1102 // BSD-style license that can be found in the LICENSE file.
1141 1103
1142 1104
1143 /// @domName WebKitCSSMatrix; @docsEditable true 1105 /// @domName WebKitCSSMatrix; @docsEditable true
1144 class CSSMatrix native "*WebKitCSSMatrix" { 1106 class CSSMatrix native "*WebKitCSSMatrix" {
1145 1107
1146 factory CSSMatrix([String cssValue]) { 1108 factory CSSMatrix([String cssValue]) {
1147 if (!?cssValue) { 1109 if (!?cssValue) {
1148 return _CSSMatrixFactoryProvider.createCSSMatrix(); 1110 return _CSSMatrixFactoryProvider.createCSSMatrix();
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
1238 CSSMatrix skewX(num angle) native; 1200 CSSMatrix skewX(num angle) native;
1239 1201
1240 /// @domName WebKitCSSMatrix.skewY; @docsEditable true 1202 /// @domName WebKitCSSMatrix.skewY; @docsEditable true
1241 CSSMatrix skewY(num angle) native; 1203 CSSMatrix skewY(num angle) native;
1242 1204
1243 /// @domName WebKitCSSMatrix.toString; @docsEditable true 1205 /// @domName WebKitCSSMatrix.toString; @docsEditable true
1244 String toString() native; 1206 String toString() native;
1245 1207
1246 /// @domName WebKitCSSMatrix.translate; @docsEditable true 1208 /// @domName WebKitCSSMatrix.translate; @docsEditable true
1247 CSSMatrix translate(num x, num y, num z) native; 1209 CSSMatrix translate(num x, num y, num z) native;
1248 } 1210 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1249 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1250 // for details. All rights reserved. Use of this source code is governed by a 1211 // for details. All rights reserved. Use of this source code is governed by a
1251 // BSD-style license that can be found in the LICENSE file. 1212 // BSD-style license that can be found in the LICENSE file.
1252 1213
1253 1214
1254 /// @domName CSSMediaRule; @docsEditable true 1215 /// @domName CSSMediaRule; @docsEditable true
1255 class CSSMediaRule extends CSSRule native "*CSSMediaRule" { 1216 class CSSMediaRule extends CSSRule native "*CSSMediaRule" {
1256 1217
1257 /// @domName CSSMediaRule.cssRules; @docsEditable true 1218 /// @domName CSSMediaRule.cssRules; @docsEditable true
1258 @Returns('_CSSRuleList') @Creates('_CSSRuleList') 1219 @Returns('_CSSRuleList') @Creates('_CSSRuleList')
1259 final List<CSSRule> cssRules; 1220 final List<CSSRule> cssRules;
1260 1221
1261 /// @domName CSSMediaRule.media; @docsEditable true 1222 /// @domName CSSMediaRule.media; @docsEditable true
1262 final MediaList media; 1223 final MediaList media;
1263 1224
1264 /// @domName CSSMediaRule.deleteRule; @docsEditable true 1225 /// @domName CSSMediaRule.deleteRule; @docsEditable true
1265 void deleteRule(int index) native; 1226 void deleteRule(int index) native;
1266 1227
1267 /// @domName CSSMediaRule.insertRule; @docsEditable true 1228 /// @domName CSSMediaRule.insertRule; @docsEditable true
1268 int insertRule(String rule, int index) native; 1229 int insertRule(String rule, int index) native;
1269 } 1230 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1270 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1271 // for details. All rights reserved. Use of this source code is governed by a 1231 // for details. All rights reserved. Use of this source code is governed by a
1272 // BSD-style license that can be found in the LICENSE file. 1232 // BSD-style license that can be found in the LICENSE file.
1273 1233
1274 1234
1275 /// @domName CSSPageRule; @docsEditable true 1235 /// @domName CSSPageRule; @docsEditable true
1276 class CSSPageRule extends CSSRule native "*CSSPageRule" { 1236 class CSSPageRule extends CSSRule native "*CSSPageRule" {
1277 1237
1278 /// @domName CSSPageRule.selectorText; @docsEditable true 1238 /// @domName CSSPageRule.selectorText; @docsEditable true
1279 String selectorText; 1239 String selectorText;
1280 1240
1281 /// @domName CSSPageRule.style; @docsEditable true 1241 /// @domName CSSPageRule.style; @docsEditable true
1282 final CSSStyleDeclaration style; 1242 final CSSStyleDeclaration style;
1283 } 1243 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1284 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1285 // for details. All rights reserved. Use of this source code is governed by a 1244 // for details. All rights reserved. Use of this source code is governed by a
1286 // BSD-style license that can be found in the LICENSE file. 1245 // BSD-style license that can be found in the LICENSE file.
1287 1246
1288 1247
1289 /// @domName CSSPrimitiveValue; @docsEditable true 1248 /// @domName CSSPrimitiveValue; @docsEditable true
1290 class CSSPrimitiveValue extends CSSValue native "*CSSPrimitiveValue" { 1249 class CSSPrimitiveValue extends CSSValue native "*CSSPrimitiveValue" {
1291 1250
1292 static const int CSS_ATTR = 22; 1251 static const int CSS_ATTR = 22;
1293 1252
1294 static const int CSS_CM = 6; 1253 static const int CSS_CM = 6;
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
1363 Rect getRectValue() native; 1322 Rect getRectValue() native;
1364 1323
1365 /// @domName CSSPrimitiveValue.getStringValue; @docsEditable true 1324 /// @domName CSSPrimitiveValue.getStringValue; @docsEditable true
1366 String getStringValue() native; 1325 String getStringValue() native;
1367 1326
1368 /// @domName CSSPrimitiveValue.setFloatValue; @docsEditable true 1327 /// @domName CSSPrimitiveValue.setFloatValue; @docsEditable true
1369 void setFloatValue(int unitType, num floatValue) native; 1328 void setFloatValue(int unitType, num floatValue) native;
1370 1329
1371 /// @domName CSSPrimitiveValue.setStringValue; @docsEditable true 1330 /// @domName CSSPrimitiveValue.setStringValue; @docsEditable true
1372 void setStringValue(int stringType, String stringValue) native; 1331 void setStringValue(int stringType, String stringValue) native;
1373 } 1332 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1374 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1375 // for details. All rights reserved. Use of this source code is governed by a 1333 // for details. All rights reserved. Use of this source code is governed by a
1376 // BSD-style license that can be found in the LICENSE file. 1334 // BSD-style license that can be found in the LICENSE file.
1377 1335
1378 1336
1379 /// @domName CSSRule; @docsEditable true 1337 /// @domName CSSRule; @docsEditable true
1380 class CSSRule native "*CSSRule" { 1338 class CSSRule native "*CSSRule" {
1381 1339
1382 static const int CHARSET_RULE = 2; 1340 static const int CHARSET_RULE = 2;
1383 1341
1384 static const int FONT_FACE_RULE = 5; 1342 static const int FONT_FACE_RULE = 5;
(...skipping 16 matching lines...) Expand all
1401 String cssText; 1359 String cssText;
1402 1360
1403 /// @domName CSSRule.parentRule; @docsEditable true 1361 /// @domName CSSRule.parentRule; @docsEditable true
1404 final CSSRule parentRule; 1362 final CSSRule parentRule;
1405 1363
1406 /// @domName CSSRule.parentStyleSheet; @docsEditable true 1364 /// @domName CSSRule.parentStyleSheet; @docsEditable true
1407 final CSSStyleSheet parentStyleSheet; 1365 final CSSStyleSheet parentStyleSheet;
1408 1366
1409 /// @domName CSSRule.type; @docsEditable true 1367 /// @domName CSSRule.type; @docsEditable true
1410 final int type; 1368 final int type;
1411 } 1369 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1412 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1413 // for details. All rights reserved. Use of this source code is governed by a 1370 // for details. All rights reserved. Use of this source code is governed by a
1414 // BSD-style license that can be found in the LICENSE file. 1371 // BSD-style license that can be found in the LICENSE file.
1415 1372
1416 1373
1417 String _cachedBrowserPrefix; 1374 String _cachedBrowserPrefix;
1418 1375
1419 String get _browserPrefix { 1376 String get _browserPrefix {
1420 if (_cachedBrowserPrefix == null) { 1377 if (_cachedBrowserPrefix == null) {
1421 if (_Device.isFirefox) { 1378 if (_Device.isFirefox) {
1422 _cachedBrowserPrefix = '-moz-'; 1379 _cachedBrowserPrefix = '-moz-';
(...skipping 3201 matching lines...) Expand 10 before | Expand all | Expand 10 after
4624 } 4581 }
4625 4582
4626 /** Gets the value of "zoom" */ 4583 /** Gets the value of "zoom" */
4627 String get zoom => 4584 String get zoom =>
4628 getPropertyValue('zoom'); 4585 getPropertyValue('zoom');
4629 4586
4630 /** Sets the value of "zoom" */ 4587 /** Sets the value of "zoom" */
4631 void set zoom(String value) { 4588 void set zoom(String value) {
4632 setProperty('zoom', value, ''); 4589 setProperty('zoom', value, '');
4633 } 4590 }
4634 } 4591 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4635 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4636 // for details. All rights reserved. Use of this source code is governed by a 4592 // for details. All rights reserved. Use of this source code is governed by a
4637 // BSD-style license that can be found in the LICENSE file. 4593 // BSD-style license that can be found in the LICENSE file.
4638 4594
4639 4595
4640 /// @domName CSSStyleRule; @docsEditable true 4596 /// @domName CSSStyleRule; @docsEditable true
4641 class CSSStyleRule extends CSSRule native "*CSSStyleRule" { 4597 class CSSStyleRule extends CSSRule native "*CSSStyleRule" {
4642 4598
4643 /// @domName CSSStyleRule.selectorText; @docsEditable true 4599 /// @domName CSSStyleRule.selectorText; @docsEditable true
4644 String selectorText; 4600 String selectorText;
4645 4601
4646 /// @domName CSSStyleRule.style; @docsEditable true 4602 /// @domName CSSStyleRule.style; @docsEditable true
4647 final CSSStyleDeclaration style; 4603 final CSSStyleDeclaration style;
4648 } 4604 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4649 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4650 // for details. All rights reserved. Use of this source code is governed by a 4605 // for details. All rights reserved. Use of this source code is governed by a
4651 // BSD-style license that can be found in the LICENSE file. 4606 // BSD-style license that can be found in the LICENSE file.
4652 4607
4653 4608
4654 /// @domName CSSStyleSheet; @docsEditable true 4609 /// @domName CSSStyleSheet; @docsEditable true
4655 class CSSStyleSheet extends StyleSheet native "*CSSStyleSheet" { 4610 class CSSStyleSheet extends StyleSheet native "*CSSStyleSheet" {
4656 4611
4657 /// @domName CSSStyleSheet.cssRules; @docsEditable true 4612 /// @domName CSSStyleSheet.cssRules; @docsEditable true
4658 @Returns('_CSSRuleList') @Creates('_CSSRuleList') 4613 @Returns('_CSSRuleList') @Creates('_CSSRuleList')
4659 final List<CSSRule> cssRules; 4614 final List<CSSRule> cssRules;
4660 4615
4661 /// @domName CSSStyleSheet.ownerRule; @docsEditable true 4616 /// @domName CSSStyleSheet.ownerRule; @docsEditable true
4662 final CSSRule ownerRule; 4617 final CSSRule ownerRule;
4663 4618
4664 /// @domName CSSStyleSheet.rules; @docsEditable true 4619 /// @domName CSSStyleSheet.rules; @docsEditable true
4665 @Returns('_CSSRuleList') @Creates('_CSSRuleList') 4620 @Returns('_CSSRuleList') @Creates('_CSSRuleList')
4666 final List<CSSRule> rules; 4621 final List<CSSRule> rules;
4667 4622
4668 /// @domName CSSStyleSheet.addRule; @docsEditable true 4623 /// @domName CSSStyleSheet.addRule; @docsEditable true
4669 int addRule(String selector, String style, [int index]) native; 4624 int addRule(String selector, String style, [int index]) native;
4670 4625
4671 /// @domName CSSStyleSheet.deleteRule; @docsEditable true 4626 /// @domName CSSStyleSheet.deleteRule; @docsEditable true
4672 void deleteRule(int index) native; 4627 void deleteRule(int index) native;
4673 4628
4674 /// @domName CSSStyleSheet.insertRule; @docsEditable true 4629 /// @domName CSSStyleSheet.insertRule; @docsEditable true
4675 int insertRule(String rule, int index) native; 4630 int insertRule(String rule, int index) native;
4676 4631
4677 /// @domName CSSStyleSheet.removeRule; @docsEditable true 4632 /// @domName CSSStyleSheet.removeRule; @docsEditable true
4678 void removeRule(int index) native; 4633 void removeRule(int index) native;
4679 } 4634 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4680 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4681 // for details. All rights reserved. Use of this source code is governed by a 4635 // for details. All rights reserved. Use of this source code is governed by a
4682 // BSD-style license that can be found in the LICENSE file. 4636 // BSD-style license that can be found in the LICENSE file.
4683 4637
4684 4638
4685 /// @domName WebKitCSSTransformValue; @docsEditable true 4639 /// @domName WebKitCSSTransformValue; @docsEditable true
4686 class CSSTransformValue extends _CSSValueList native "*WebKitCSSTransformValue" { 4640 class CSSTransformValue extends _CSSValueList native "*WebKitCSSTransformValue" {
4687 4641
4688 static const int CSS_MATRIX = 11; 4642 static const int CSS_MATRIX = 11;
4689 4643
4690 static const int CSS_MATRIX3D = 21; 4644 static const int CSS_MATRIX3D = 21;
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
4722 static const int CSS_TRANSLATE3D = 13; 4676 static const int CSS_TRANSLATE3D = 13;
4723 4677
4724 static const int CSS_TRANSLATEX = 2; 4678 static const int CSS_TRANSLATEX = 2;
4725 4679
4726 static const int CSS_TRANSLATEY = 3; 4680 static const int CSS_TRANSLATEY = 3;
4727 4681
4728 static const int CSS_TRANSLATEZ = 12; 4682 static const int CSS_TRANSLATEZ = 12;
4729 4683
4730 /// @domName WebKitCSSTransformValue.operationType; @docsEditable true 4684 /// @domName WebKitCSSTransformValue.operationType; @docsEditable true
4731 final int operationType; 4685 final int operationType;
4732 } 4686 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4733 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4734 // for details. All rights reserved. Use of this source code is governed by a 4687 // for details. All rights reserved. Use of this source code is governed by a
4735 // BSD-style license that can be found in the LICENSE file. 4688 // BSD-style license that can be found in the LICENSE file.
4736 4689
4737 4690
4738 /// @domName CSSUnknownRule; @docsEditable true 4691 /// @domName CSSUnknownRule; @docsEditable true
4739 class CSSUnknownRule extends CSSRule native "*CSSUnknownRule" { 4692 class CSSUnknownRule extends CSSRule native "*CSSUnknownRule" {
4740 } 4693 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4741 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4742 // for details. All rights reserved. Use of this source code is governed by a 4694 // for details. All rights reserved. Use of this source code is governed by a
4743 // BSD-style license that can be found in the LICENSE file. 4695 // BSD-style license that can be found in the LICENSE file.
4744 4696
4745 4697
4746 /// @domName CSSValue; @docsEditable true 4698 /// @domName CSSValue; @docsEditable true
4747 class CSSValue native "*CSSValue" { 4699 class CSSValue native "*CSSValue" {
4748 4700
4749 static const int CSS_CUSTOM = 3; 4701 static const int CSS_CUSTOM = 3;
4750 4702
4751 static const int CSS_INHERIT = 0; 4703 static const int CSS_INHERIT = 0;
4752 4704
4753 static const int CSS_PRIMITIVE_VALUE = 1; 4705 static const int CSS_PRIMITIVE_VALUE = 1;
4754 4706
4755 static const int CSS_VALUE_LIST = 2; 4707 static const int CSS_VALUE_LIST = 2;
4756 4708
4757 /// @domName CSSValue.cssText; @docsEditable true 4709 /// @domName CSSValue.cssText; @docsEditable true
4758 String cssText; 4710 String cssText;
4759 4711
4760 /// @domName CSSValue.cssValueType; @docsEditable true 4712 /// @domName CSSValue.cssValueType; @docsEditable true
4761 final int cssValueType; 4713 final int cssValueType;
4762 } 4714 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4763 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4764 // for details. All rights reserved. Use of this source code is governed by a 4715 // for details. All rights reserved. Use of this source code is governed by a
4765 // BSD-style license that can be found in the LICENSE file. 4716 // BSD-style license that can be found in the LICENSE file.
4766 4717
4767 4718
4768 class CanvasElement extends Element implements Element native "*HTMLCanvasElemen t" { 4719 class CanvasElement extends Element implements Element native "*HTMLCanvasElemen t" {
4769 4720
4770 factory CanvasElement({int width, int height}) { 4721 factory CanvasElement({int width, int height}) {
4771 var e = document.$dom_createElement("canvas"); 4722 var e = document.$dom_createElement("canvas");
4772 if (width != null) e.width = width; 4723 if (width != null) e.width = width;
4773 if (height != null) e.height = height; 4724 if (height != null) e.height = height;
4774 return e; 4725 return e;
4775 } 4726 }
4776 4727
4777 /// @domName HTMLCanvasElement.height; @docsEditable true 4728 /// @domName HTMLCanvasElement.height; @docsEditable true
4778 int height; 4729 int height;
4779 4730
4780 /// @domName HTMLCanvasElement.width; @docsEditable true 4731 /// @domName HTMLCanvasElement.width; @docsEditable true
4781 int width; 4732 int width;
4782 4733
4783 /// @domName HTMLCanvasElement.toDataURL; @docsEditable true 4734 /// @domName HTMLCanvasElement.toDataURL; @docsEditable true
4784 String toDataURL(String type, [num quality]) native; 4735 String toDataURL(String type, [num quality]) native;
4785 4736
4786 4737
4787 CanvasRenderingContext getContext(String contextId) native; 4738 CanvasRenderingContext getContext(String contextId) native;
4788 CanvasRenderingContext2D get context2d => getContext('2d'); 4739 CanvasRenderingContext2D get context2d => getContext('2d');
4789 } 4740 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4790 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4791 // for details. All rights reserved. Use of this source code is governed by a 4741 // for details. All rights reserved. Use of this source code is governed by a
4792 // BSD-style license that can be found in the LICENSE file. 4742 // BSD-style license that can be found in the LICENSE file.
4793 4743
4794 4744
4795 /// @domName CanvasGradient; @docsEditable true 4745 /// @domName CanvasGradient; @docsEditable true
4796 class CanvasGradient native "*CanvasGradient" { 4746 class CanvasGradient native "*CanvasGradient" {
4797 4747
4798 /// @domName CanvasGradient.addColorStop; @docsEditable true 4748 /// @domName CanvasGradient.addColorStop; @docsEditable true
4799 void addColorStop(num offset, String color) native; 4749 void addColorStop(num offset, String color) native;
4800 } 4750 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4801 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4802 // for details. All rights reserved. Use of this source code is governed by a 4751 // for details. All rights reserved. Use of this source code is governed by a
4803 // BSD-style license that can be found in the LICENSE file. 4752 // BSD-style license that can be found in the LICENSE file.
4804 4753
4805 4754
4806 /// @domName CanvasPattern; @docsEditable true 4755 /// @domName CanvasPattern; @docsEditable true
4807 class CanvasPattern native "*CanvasPattern" { 4756 class CanvasPattern native "*CanvasPattern" {
4808 } 4757 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4809 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4810 // for details. All rights reserved. Use of this source code is governed by a 4758 // for details. All rights reserved. Use of this source code is governed by a
4811 // BSD-style license that can be found in the LICENSE file. 4759 // BSD-style license that can be found in the LICENSE file.
4812 4760
4813 4761
4814 /// @domName CanvasRenderingContext; @docsEditable true 4762 /// @domName CanvasRenderingContext; @docsEditable true
4815 class CanvasRenderingContext native "*CanvasRenderingContext" { 4763 class CanvasRenderingContext native "*CanvasRenderingContext" {
4816 4764
4817 /// @domName CanvasRenderingContext.canvas; @docsEditable true 4765 /// @domName CanvasRenderingContext.canvas; @docsEditable true
4818 final CanvasElement canvas; 4766 final CanvasElement canvas;
4819 } 4767 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4820 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4821 // for details. All rights reserved. Use of this source code is governed by a 4768 // for details. All rights reserved. Use of this source code is governed by a
4822 // BSD-style license that can be found in the LICENSE file. 4769 // BSD-style license that can be found in the LICENSE file.
4823 4770
4824 4771
4825 class CanvasRenderingContext2D extends CanvasRenderingContext native "*CanvasRen deringContext2D" { 4772 class CanvasRenderingContext2D extends CanvasRenderingContext native "*CanvasRen deringContext2D" {
4826 4773
4827 /// @domName CanvasRenderingContext2D.fillStyle; @docsEditable true 4774 /// @domName CanvasRenderingContext2D.fillStyle; @docsEditable true
4828 dynamic fillStyle; 4775 dynamic fillStyle;
4829 4776
4830 /// @domName CanvasRenderingContext2D.font; @docsEditable true 4777 /// @domName CanvasRenderingContext2D.font; @docsEditable true
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
5103 5050
5104 /** 5051 /**
5105 * Sets the color used for stroking shapes. 5052 * Sets the color used for stroking shapes.
5106 * [h] is in degrees, 0-360. 5053 * [h] is in degrees, 0-360.
5107 * [s], [l] are in percent, 0-100. 5054 * [s], [l] are in percent, 0-100.
5108 * [a] is 0-1. 5055 * [a] is 0-1.
5109 */ 5056 */
5110 void setStrokeColorHsl(int h, num s, num l, [num a = 1]) { 5057 void setStrokeColorHsl(int h, num s, num l, [num a = 1]) {
5111 this.strokeStyle = 'hsla($h, $s%, $l%, $a)'; 5058 this.strokeStyle = 'hsla($h, $s%, $l%, $a)';
5112 } 5059 }
5113 } 5060 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5114 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5115 // for details. All rights reserved. Use of this source code is governed by a 5061 // for details. All rights reserved. Use of this source code is governed by a
5116 // BSD-style license that can be found in the LICENSE file. 5062 // BSD-style license that can be found in the LICENSE file.
5117 5063
5118 5064
5119 /// @domName ChannelMergerNode; @docsEditable true 5065 /// @domName ChannelMergerNode; @docsEditable true
5120 class ChannelMergerNode extends AudioNode native "*ChannelMergerNode" { 5066 class ChannelMergerNode extends AudioNode native "*ChannelMergerNode" {
5121 } 5067 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5122 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5123 // for details. All rights reserved. Use of this source code is governed by a 5068 // for details. All rights reserved. Use of this source code is governed by a
5124 // BSD-style license that can be found in the LICENSE file. 5069 // BSD-style license that can be found in the LICENSE file.
5125 5070
5126 5071
5127 /// @domName ChannelSplitterNode; @docsEditable true 5072 /// @domName ChannelSplitterNode; @docsEditable true
5128 class ChannelSplitterNode extends AudioNode native "*ChannelSplitterNode" { 5073 class ChannelSplitterNode extends AudioNode native "*ChannelSplitterNode" {
5129 } 5074 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5130 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5131 // for details. All rights reserved. Use of this source code is governed by a 5075 // for details. All rights reserved. Use of this source code is governed by a
5132 // BSD-style license that can be found in the LICENSE file. 5076 // BSD-style license that can be found in the LICENSE file.
5133 5077
5134 5078
5135 /// @domName CharacterData; @docsEditable true 5079 /// @domName CharacterData; @docsEditable true
5136 class CharacterData extends Node native "*CharacterData" { 5080 class CharacterData extends Node native "*CharacterData" {
5137 5081
5138 /// @domName CharacterData.data; @docsEditable true 5082 /// @domName CharacterData.data; @docsEditable true
5139 String data; 5083 String data;
5140 5084
(...skipping 10 matching lines...) Expand all
5151 void insertData(int offset, String data) native; 5095 void insertData(int offset, String data) native;
5152 5096
5153 /// @domName CharacterData.remove; @docsEditable true 5097 /// @domName CharacterData.remove; @docsEditable true
5154 void remove() native; 5098 void remove() native;
5155 5099
5156 /// @domName CharacterData.replaceData; @docsEditable true 5100 /// @domName CharacterData.replaceData; @docsEditable true
5157 void replaceData(int offset, int length, String data) native; 5101 void replaceData(int offset, int length, String data) native;
5158 5102
5159 /// @domName CharacterData.substringData; @docsEditable true 5103 /// @domName CharacterData.substringData; @docsEditable true
5160 String substringData(int offset, int length) native; 5104 String substringData(int offset, int length) native;
5161 } 5105 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5162 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5163 // for details. All rights reserved. Use of this source code is governed by a 5106 // for details. All rights reserved. Use of this source code is governed by a
5164 // BSD-style license that can be found in the LICENSE file. 5107 // BSD-style license that can be found in the LICENSE file.
5165 5108
5166 5109
5167 /// @domName ClientRect; @docsEditable true 5110 /// @domName ClientRect; @docsEditable true
5168 class ClientRect native "*ClientRect" { 5111 class ClientRect native "*ClientRect" {
5169 5112
5170 /// @domName ClientRect.bottom; @docsEditable true 5113 /// @domName ClientRect.bottom; @docsEditable true
5171 final num bottom; 5114 final num bottom;
5172 5115
5173 /// @domName ClientRect.height; @docsEditable true 5116 /// @domName ClientRect.height; @docsEditable true
5174 final num height; 5117 final num height;
5175 5118
5176 /// @domName ClientRect.left; @docsEditable true 5119 /// @domName ClientRect.left; @docsEditable true
5177 final num left; 5120 final num left;
5178 5121
5179 /// @domName ClientRect.right; @docsEditable true 5122 /// @domName ClientRect.right; @docsEditable true
5180 final num right; 5123 final num right;
5181 5124
5182 /// @domName ClientRect.top; @docsEditable true 5125 /// @domName ClientRect.top; @docsEditable true
5183 final num top; 5126 final num top;
5184 5127
5185 /// @domName ClientRect.width; @docsEditable true 5128 /// @domName ClientRect.width; @docsEditable true
5186 final num width; 5129 final num width;
5187 } 5130 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5188 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5189 // for details. All rights reserved. Use of this source code is governed by a 5131 // for details. All rights reserved. Use of this source code is governed by a
5190 // BSD-style license that can be found in the LICENSE file. 5132 // BSD-style license that can be found in the LICENSE file.
5191 5133
5192 5134
5193 /// @domName Clipboard; @docsEditable true 5135 /// @domName Clipboard; @docsEditable true
5194 class Clipboard native "*Clipboard" { 5136 class Clipboard native "*Clipboard" {
5195 5137
5196 /// @domName Clipboard.dropEffect; @docsEditable true 5138 /// @domName Clipboard.dropEffect; @docsEditable true
5197 String dropEffect; 5139 String dropEffect;
5198 5140
(...skipping 14 matching lines...) Expand all
5213 void clearData([String type]) native; 5155 void clearData([String type]) native;
5214 5156
5215 /// @domName Clipboard.getData; @docsEditable true 5157 /// @domName Clipboard.getData; @docsEditable true
5216 String getData(String type) native; 5158 String getData(String type) native;
5217 5159
5218 /// @domName Clipboard.setData; @docsEditable true 5160 /// @domName Clipboard.setData; @docsEditable true
5219 bool setData(String type, String data) native; 5161 bool setData(String type, String data) native;
5220 5162
5221 /// @domName Clipboard.setDragImage; @docsEditable true 5163 /// @domName Clipboard.setDragImage; @docsEditable true
5222 void setDragImage(ImageElement image, int x, int y) native; 5164 void setDragImage(ImageElement image, int x, int y) native;
5223 } 5165 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5224 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5225 // for details. All rights reserved. Use of this source code is governed by a 5166 // for details. All rights reserved. Use of this source code is governed by a
5226 // BSD-style license that can be found in the LICENSE file. 5167 // BSD-style license that can be found in the LICENSE file.
5227 5168
5228 5169
5229 /// @domName CloseEvent; @docsEditable true 5170 /// @domName CloseEvent; @docsEditable true
5230 class CloseEvent extends Event native "*CloseEvent" { 5171 class CloseEvent extends Event native "*CloseEvent" {
5231 5172
5232 /// @domName CloseEvent.code; @docsEditable true 5173 /// @domName CloseEvent.code; @docsEditable true
5233 final int code; 5174 final int code;
5234 5175
5235 /// @domName CloseEvent.reason; @docsEditable true 5176 /// @domName CloseEvent.reason; @docsEditable true
5236 final String reason; 5177 final String reason;
5237 5178
5238 /// @domName CloseEvent.wasClean; @docsEditable true 5179 /// @domName CloseEvent.wasClean; @docsEditable true
5239 final bool wasClean; 5180 final bool wasClean;
5240 } 5181 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5241 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5242 // for details. All rights reserved. Use of this source code is governed by a 5182 // for details. All rights reserved. Use of this source code is governed by a
5243 // BSD-style license that can be found in the LICENSE file. 5183 // BSD-style license that can be found in the LICENSE file.
5244 5184
5245 5185
5246 /// @domName Comment; @docsEditable true 5186 /// @domName Comment; @docsEditable true
5247 class Comment extends CharacterData native "*Comment" { 5187 class Comment extends CharacterData native "*Comment" {
5248 } 5188 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5249 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5250 // for details. All rights reserved. Use of this source code is governed by a 5189 // for details. All rights reserved. Use of this source code is governed by a
5251 // BSD-style license that can be found in the LICENSE file. 5190 // BSD-style license that can be found in the LICENSE file.
5252 5191
5253 5192
5254 /// @domName CompositionEvent; @docsEditable true 5193 /// @domName CompositionEvent; @docsEditable true
5255 class CompositionEvent extends UIEvent native "*CompositionEvent" { 5194 class CompositionEvent extends UIEvent native "*CompositionEvent" {
5256 5195
5257 /// @domName CompositionEvent.data; @docsEditable true 5196 /// @domName CompositionEvent.data; @docsEditable true
5258 final String data; 5197 final String data;
5259 5198
5260 /// @domName CompositionEvent.initCompositionEvent; @docsEditable true 5199 /// @domName CompositionEvent.initCompositionEvent; @docsEditable true
5261 void initCompositionEvent(String typeArg, bool canBubbleArg, bool cancelableAr g, LocalWindow viewArg, String dataArg) native; 5200 void initCompositionEvent(String typeArg, bool canBubbleArg, bool cancelableAr g, LocalWindow viewArg, String dataArg) native;
5262 } 5201 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5263 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5264 // for details. All rights reserved. Use of this source code is governed by a 5202 // for details. All rights reserved. Use of this source code is governed by a
5265 // BSD-style license that can be found in the LICENSE file. 5203 // BSD-style license that can be found in the LICENSE file.
5266 5204
5267 5205
5268 class Console 5206 class Console
5269 // Console is sometimes a singleton bag-of-properties without a prototype. 5207 // Console is sometimes a singleton bag-of-properties without a prototype.
5270 native "=(typeof console == 'undefined' ? {} : console)" { 5208 native "=(typeof console == 'undefined' ? {} : console)" {
5271 5209
5272 /// @domName Console.memory; @docsEditable true 5210 /// @domName Console.memory; @docsEditable true
5273 final MemoryInfo memory; 5211 final MemoryInfo memory;
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
5325 5263
5326 /// @domName Console.timeStamp; @docsEditable true 5264 /// @domName Console.timeStamp; @docsEditable true
5327 void timeStamp(Object arg) native; 5265 void timeStamp(Object arg) native;
5328 5266
5329 /// @domName Console.trace; @docsEditable true 5267 /// @domName Console.trace; @docsEditable true
5330 void trace(Object arg) native; 5268 void trace(Object arg) native;
5331 5269
5332 /// @domName Console.warn; @docsEditable true 5270 /// @domName Console.warn; @docsEditable true
5333 void warn(Object arg) native; 5271 void warn(Object arg) native;
5334 5272
5335 } 5273 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5336 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5337 // for details. All rights reserved. Use of this source code is governed by a 5274 // for details. All rights reserved. Use of this source code is governed by a
5338 // BSD-style license that can be found in the LICENSE file. 5275 // BSD-style license that can be found in the LICENSE file.
5339 5276
5340 5277
5341 /// @domName HTMLContentElement; @docsEditable true 5278 /// @domName HTMLContentElement; @docsEditable true
5342 class ContentElement extends Element implements Element native "*HTMLContentElem ent" { 5279 class ContentElement extends Element implements Element native "*HTMLContentElem ent" {
5343 5280
5344 factory ContentElement() => document.$dom_createElement("content"); 5281 factory ContentElement() => document.$dom_createElement("content");
5345 5282
5346 /// @domName HTMLContentElement.resetStyleInheritance; @docsEditable true 5283 /// @domName HTMLContentElement.resetStyleInheritance; @docsEditable true
5347 bool resetStyleInheritance; 5284 bool resetStyleInheritance;
5348 5285
5349 /// @domName HTMLContentElement.select; @docsEditable true 5286 /// @domName HTMLContentElement.select; @docsEditable true
5350 String select; 5287 String select;
5351 5288
5352 /// @domName HTMLContentElement.getDistributedNodes; @docsEditable true 5289 /// @domName HTMLContentElement.getDistributedNodes; @docsEditable true
5353 @Returns('_NodeList') @Creates('_NodeList') 5290 @Returns('_NodeList') @Creates('_NodeList')
5354 List<Node> getDistributedNodes() native; 5291 List<Node> getDistributedNodes() native;
5355 } 5292 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5356 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5357 // for details. All rights reserved. Use of this source code is governed by a 5293 // for details. All rights reserved. Use of this source code is governed by a
5358 // BSD-style license that can be found in the LICENSE file. 5294 // BSD-style license that can be found in the LICENSE file.
5359 5295
5360 5296
5361 /// @domName ConvolverNode; @docsEditable true 5297 /// @domName ConvolverNode; @docsEditable true
5362 class ConvolverNode extends AudioNode native "*ConvolverNode" { 5298 class ConvolverNode extends AudioNode native "*ConvolverNode" {
5363 5299
5364 /// @domName ConvolverNode.buffer; @docsEditable true 5300 /// @domName ConvolverNode.buffer; @docsEditable true
5365 AudioBuffer buffer; 5301 AudioBuffer buffer;
5366 5302
5367 /// @domName ConvolverNode.normalize; @docsEditable true 5303 /// @domName ConvolverNode.normalize; @docsEditable true
5368 bool normalize; 5304 bool normalize;
5369 } 5305 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5370 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5371 // for details. All rights reserved. Use of this source code is governed by a 5306 // for details. All rights reserved. Use of this source code is governed by a
5372 // BSD-style license that can be found in the LICENSE file. 5307 // BSD-style license that can be found in the LICENSE file.
5373 5308
5374 5309
5375 /// @domName Coordinates; @docsEditable true 5310 /// @domName Coordinates; @docsEditable true
5376 class Coordinates native "*Coordinates" { 5311 class Coordinates native "*Coordinates" {
5377 5312
5378 /// @domName Coordinates.accuracy; @docsEditable true 5313 /// @domName Coordinates.accuracy; @docsEditable true
5379 final num accuracy; 5314 final num accuracy;
5380 5315
5381 /// @domName Coordinates.altitude; @docsEditable true 5316 /// @domName Coordinates.altitude; @docsEditable true
5382 final num altitude; 5317 final num altitude;
5383 5318
5384 /// @domName Coordinates.altitudeAccuracy; @docsEditable true 5319 /// @domName Coordinates.altitudeAccuracy; @docsEditable true
5385 final num altitudeAccuracy; 5320 final num altitudeAccuracy;
5386 5321
5387 /// @domName Coordinates.heading; @docsEditable true 5322 /// @domName Coordinates.heading; @docsEditable true
5388 final num heading; 5323 final num heading;
5389 5324
5390 /// @domName Coordinates.latitude; @docsEditable true 5325 /// @domName Coordinates.latitude; @docsEditable true
5391 final num latitude; 5326 final num latitude;
5392 5327
5393 /// @domName Coordinates.longitude; @docsEditable true 5328 /// @domName Coordinates.longitude; @docsEditable true
5394 final num longitude; 5329 final num longitude;
5395 5330
5396 /// @domName Coordinates.speed; @docsEditable true 5331 /// @domName Coordinates.speed; @docsEditable true
5397 final num speed; 5332 final num speed;
5398 } 5333 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5399 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5400 // for details. All rights reserved. Use of this source code is governed by a 5334 // for details. All rights reserved. Use of this source code is governed by a
5401 // BSD-style license that can be found in the LICENSE file. 5335 // BSD-style license that can be found in the LICENSE file.
5402 5336
5403 5337
5404 /// @domName Counter; @docsEditable true 5338 /// @domName Counter; @docsEditable true
5405 class Counter native "*Counter" { 5339 class Counter native "*Counter" {
5406 5340
5407 /// @domName Counter.identifier; @docsEditable true 5341 /// @domName Counter.identifier; @docsEditable true
5408 final String identifier; 5342 final String identifier;
5409 5343
5410 /// @domName Counter.listStyle; @docsEditable true 5344 /// @domName Counter.listStyle; @docsEditable true
5411 final String listStyle; 5345 final String listStyle;
5412 5346
5413 /// @domName Counter.separator; @docsEditable true 5347 /// @domName Counter.separator; @docsEditable true
5414 final String separator; 5348 final String separator;
5415 } 5349 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5416 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5417 // for details. All rights reserved. Use of this source code is governed by a 5350 // for details. All rights reserved. Use of this source code is governed by a
5418 // BSD-style license that can be found in the LICENSE file. 5351 // BSD-style license that can be found in the LICENSE file.
5419 5352
5420 5353
5421 /// @domName Crypto; @docsEditable true 5354 /// @domName Crypto; @docsEditable true
5422 class Crypto native "*Crypto" { 5355 class Crypto native "*Crypto" {
5423 5356
5424 /// @domName Crypto.getRandomValues; @docsEditable true 5357 /// @domName Crypto.getRandomValues; @docsEditable true
5425 void getRandomValues(ArrayBufferView array) native; 5358 void getRandomValues(ArrayBufferView array) native;
5426 } 5359 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5427 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5428 // for details. All rights reserved. Use of this source code is governed by a 5360 // for details. All rights reserved. Use of this source code is governed by a
5429 // BSD-style license that can be found in the LICENSE file. 5361 // BSD-style license that can be found in the LICENSE file.
5430 5362
5431 // WARNING: Do not edit - generated code. 5363 // WARNING: Do not edit - generated code.
5432 5364
5433 5365
5434 class CustomEvent extends Event native "*CustomEvent" { 5366 class CustomEvent extends Event native "*CustomEvent" {
5435 factory CustomEvent(String type, [bool canBubble = true, bool cancelable = tru e, 5367 factory CustomEvent(String type, [bool canBubble = true, bool cancelable = tru e,
5436 Object detail]) => _CustomEventFactoryProvider.createCustomEvent( 5368 Object detail]) => _CustomEventFactoryProvider.createCustomEvent(
5437 type, canBubble, cancelable, detail); 5369 type, canBubble, cancelable, detail);
5438 5370
5439 /// @domName CustomEvent.detail; @docsEditable true 5371 /// @domName CustomEvent.detail; @docsEditable true
5440 final Object detail; 5372 final Object detail;
5441 5373
5442 /// @domName CustomEvent.initCustomEvent; @docsEditable true 5374 /// @domName CustomEvent.initCustomEvent; @docsEditable true
5443 void $dom_initCustomEvent(String typeArg, bool canBubbleArg, bool cancelableAr g, Object detailArg) native "initCustomEvent"; 5375 void $dom_initCustomEvent(String typeArg, bool canBubbleArg, bool cancelableAr g, Object detailArg) native "initCustomEvent";
5444 5376
5445 } 5377 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5446 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5447 // for details. All rights reserved. Use of this source code is governed by a 5378 // for details. All rights reserved. Use of this source code is governed by a
5448 // BSD-style license that can be found in the LICENSE file. 5379 // BSD-style license that can be found in the LICENSE file.
5449 5380
5450 5381
5451 /// @domName HTMLDListElement; @docsEditable true 5382 /// @domName HTMLDListElement; @docsEditable true
5452 class DListElement extends Element implements Element native "*HTMLDListElement" { 5383 class DListElement extends Element implements Element native "*HTMLDListElement" {
5453 5384
5454 factory DListElement() => document.$dom_createElement("dl"); 5385 factory DListElement() => document.$dom_createElement("dl");
5455 5386
5456 /// @domName HTMLDListElement.compact; @docsEditable true 5387 /// @domName HTMLDListElement.compact; @docsEditable true
5457 bool compact; 5388 bool compact;
5458 } 5389 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5459 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5460 // for details. All rights reserved. Use of this source code is governed by a 5390 // for details. All rights reserved. Use of this source code is governed by a
5461 // BSD-style license that can be found in the LICENSE file. 5391 // BSD-style license that can be found in the LICENSE file.
5462 5392
5463 5393
5464 /// @domName DOMApplicationCache; @docsEditable true 5394 /// @domName DOMApplicationCache; @docsEditable true
5465 class DOMApplicationCache extends EventTarget native "*DOMApplicationCache" { 5395 class DOMApplicationCache extends EventTarget native "*DOMApplicationCache" {
5466 5396
5467 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true 5397 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true
5468 DOMApplicationCacheEvents get on => 5398 DOMApplicationCacheEvents get on =>
5469 new DOMApplicationCacheEvents(this); 5399 new DOMApplicationCacheEvents(this);
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
5513 5443
5514 EventListenerList get error => this['error']; 5444 EventListenerList get error => this['error'];
5515 5445
5516 EventListenerList get noUpdate => this['noupdate']; 5446 EventListenerList get noUpdate => this['noupdate'];
5517 5447
5518 EventListenerList get obsolete => this['obsolete']; 5448 EventListenerList get obsolete => this['obsolete'];
5519 5449
5520 EventListenerList get progress => this['progress']; 5450 EventListenerList get progress => this['progress'];
5521 5451
5522 EventListenerList get updateReady => this['updateready']; 5452 EventListenerList get updateReady => this['updateready'];
5523 } 5453 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5524 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5525 // for details. All rights reserved. Use of this source code is governed by a 5454 // for details. All rights reserved. Use of this source code is governed by a
5526 // BSD-style license that can be found in the LICENSE file. 5455 // BSD-style license that can be found in the LICENSE file.
5527 5456
5528 5457
5529 /// @domName DOMError; @docsEditable true 5458 /// @domName DOMError; @docsEditable true
5530 class DOMError native "*DOMError" { 5459 class DOMError native "*DOMError" {
5531 5460
5532 /// @domName DOMError.name; @docsEditable true 5461 /// @domName DOMError.name; @docsEditable true
5533 final String name; 5462 final String name;
5534 } 5463 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5535 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5536 // for details. All rights reserved. Use of this source code is governed by a 5464 // for details. All rights reserved. Use of this source code is governed by a
5537 // BSD-style license that can be found in the LICENSE file. 5465 // BSD-style license that can be found in the LICENSE file.
5538 5466
5539 5467
5540 /// @domName DOMException; @docsEditable true 5468 /// @domName DOMException; @docsEditable true
5541 class DOMException native "*DOMException" { 5469 class DOMException native "*DOMException" {
5542 5470
5543 static const int ABORT_ERR = 20; 5471 static const int ABORT_ERR = 20;
5544 5472
5545 static const int DATA_CLONE_ERR = 25; 5473 static const int DATA_CLONE_ERR = 25;
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
5594 final int code; 5522 final int code;
5595 5523
5596 /// @domName DOMException.message; @docsEditable true 5524 /// @domName DOMException.message; @docsEditable true
5597 final String message; 5525 final String message;
5598 5526
5599 /// @domName DOMException.name; @docsEditable true 5527 /// @domName DOMException.name; @docsEditable true
5600 final String name; 5528 final String name;
5601 5529
5602 /// @domName DOMException.toString; @docsEditable true 5530 /// @domName DOMException.toString; @docsEditable true
5603 String toString() native; 5531 String toString() native;
5604 } 5532 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5605 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5606 // for details. All rights reserved. Use of this source code is governed by a 5533 // for details. All rights reserved. Use of this source code is governed by a
5607 // BSD-style license that can be found in the LICENSE file. 5534 // BSD-style license that can be found in the LICENSE file.
5608 5535
5609 5536
5610 /// @domName DOMFileSystem; @docsEditable true 5537 /// @domName DOMFileSystem; @docsEditable true
5611 class DOMFileSystem native "*DOMFileSystem" { 5538 class DOMFileSystem native "*DOMFileSystem" {
5612 5539
5613 /// @domName DOMFileSystem.name; @docsEditable true 5540 /// @domName DOMFileSystem.name; @docsEditable true
5614 final String name; 5541 final String name;
5615 5542
5616 /// @domName DOMFileSystem.root; @docsEditable true 5543 /// @domName DOMFileSystem.root; @docsEditable true
5617 final DirectoryEntry root; 5544 final DirectoryEntry root;
5618 } 5545 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5619 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5620 // for details. All rights reserved. Use of this source code is governed by a 5546 // for details. All rights reserved. Use of this source code is governed by a
5621 // BSD-style license that can be found in the LICENSE file. 5547 // BSD-style license that can be found in the LICENSE file.
5622 5548
5623 5549
5624 /// @domName DOMFileSystemSync; @docsEditable true 5550 /// @domName DOMFileSystemSync; @docsEditable true
5625 class DOMFileSystemSync native "*DOMFileSystemSync" { 5551 class DOMFileSystemSync native "*DOMFileSystemSync" {
5626 5552
5627 /// @domName DOMFileSystemSync.name; @docsEditable true 5553 /// @domName DOMFileSystemSync.name; @docsEditable true
5628 final String name; 5554 final String name;
5629 5555
5630 /// @domName DOMFileSystemSync.root; @docsEditable true 5556 /// @domName DOMFileSystemSync.root; @docsEditable true
5631 final DirectoryEntrySync root; 5557 final DirectoryEntrySync root;
5632 } 5558 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5633 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5634 // for details. All rights reserved. Use of this source code is governed by a 5559 // for details. All rights reserved. Use of this source code is governed by a
5635 // BSD-style license that can be found in the LICENSE file. 5560 // BSD-style license that can be found in the LICENSE file.
5636 5561
5637 5562
5638 /// @domName DOMImplementation; @docsEditable true 5563 /// @domName DOMImplementation; @docsEditable true
5639 class DOMImplementation native "*DOMImplementation" { 5564 class DOMImplementation native "*DOMImplementation" {
5640 5565
5641 /// @domName DOMImplementation.createCSSStyleSheet; @docsEditable true 5566 /// @domName DOMImplementation.createCSSStyleSheet; @docsEditable true
5642 CSSStyleSheet createCSSStyleSheet(String title, String media) native; 5567 CSSStyleSheet createCSSStyleSheet(String title, String media) native;
5643 5568
5644 /// @domName DOMImplementation.createDocument; @docsEditable true 5569 /// @domName DOMImplementation.createDocument; @docsEditable true
5645 Document createDocument(String namespaceURI, String qualifiedName, DocumentTyp e doctype) native; 5570 Document createDocument(String namespaceURI, String qualifiedName, DocumentTyp e doctype) native;
5646 5571
5647 /// @domName DOMImplementation.createDocumentType; @docsEditable true 5572 /// @domName DOMImplementation.createDocumentType; @docsEditable true
5648 DocumentType createDocumentType(String qualifiedName, String publicId, String systemId) native; 5573 DocumentType createDocumentType(String qualifiedName, String publicId, String systemId) native;
5649 5574
5650 /// @domName DOMImplementation.createHTMLDocument; @docsEditable true 5575 /// @domName DOMImplementation.createHTMLDocument; @docsEditable true
5651 HtmlDocument createHTMLDocument(String title) native; 5576 HtmlDocument createHTMLDocument(String title) native;
5652 5577
5653 /// @domName DOMImplementation.hasFeature; @docsEditable true 5578 /// @domName DOMImplementation.hasFeature; @docsEditable true
5654 bool hasFeature(String feature, String version) native; 5579 bool hasFeature(String feature, String version) native;
5655 } 5580 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5656 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5657 // for details. All rights reserved. Use of this source code is governed by a 5581 // for details. All rights reserved. Use of this source code is governed by a
5658 // BSD-style license that can be found in the LICENSE file. 5582 // BSD-style license that can be found in the LICENSE file.
5659 5583
5660 5584
5661 /// @domName MimeType; @docsEditable true 5585 /// @domName MimeType; @docsEditable true
5662 class DOMMimeType native "*MimeType" { 5586 class DOMMimeType native "*MimeType" {
5663 5587
5664 /// @domName MimeType.description; @docsEditable true 5588 /// @domName MimeType.description; @docsEditable true
5665 final String description; 5589 final String description;
5666 5590
5667 /// @domName MimeType.enabledPlugin; @docsEditable true 5591 /// @domName MimeType.enabledPlugin; @docsEditable true
5668 final DOMPlugin enabledPlugin; 5592 final DOMPlugin enabledPlugin;
5669 5593
5670 /// @domName MimeType.suffixes; @docsEditable true 5594 /// @domName MimeType.suffixes; @docsEditable true
5671 final String suffixes; 5595 final String suffixes;
5672 5596
5673 /// @domName MimeType.type; @docsEditable true 5597 /// @domName MimeType.type; @docsEditable true
5674 final String type; 5598 final String type;
5675 } 5599 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5676 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5677 // for details. All rights reserved. Use of this source code is governed by a 5600 // for details. All rights reserved. Use of this source code is governed by a
5678 // BSD-style license that can be found in the LICENSE file. 5601 // BSD-style license that can be found in the LICENSE file.
5679 5602
5680 5603
5681 /// @domName MimeTypeArray; @docsEditable true 5604 /// @domName MimeTypeArray; @docsEditable true
5682 class DOMMimeTypeArray implements JavaScriptIndexingBehavior, List<DOMMimeType> native "*MimeTypeArray" { 5605 class DOMMimeTypeArray implements JavaScriptIndexingBehavior, List<DOMMimeType> native "*MimeTypeArray" {
5683 5606
5684 /// @domName MimeTypeArray.length; @docsEditable true 5607 /// @domName MimeTypeArray.length; @docsEditable true
5685 final int length; 5608 final int length;
5686 5609
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
5767 List<DOMMimeType> getRange(int start, int rangeLength) => 5690 List<DOMMimeType> getRange(int start, int rangeLength) =>
5768 _Lists.getRange(this, start, rangeLength, <DOMMimeType>[]); 5691 _Lists.getRange(this, start, rangeLength, <DOMMimeType>[]);
5769 5692
5770 // -- end List<DOMMimeType> mixins. 5693 // -- end List<DOMMimeType> mixins.
5771 5694
5772 /// @domName MimeTypeArray.item; @docsEditable true 5695 /// @domName MimeTypeArray.item; @docsEditable true
5773 DOMMimeType item(int index) native; 5696 DOMMimeType item(int index) native;
5774 5697
5775 /// @domName MimeTypeArray.namedItem; @docsEditable true 5698 /// @domName MimeTypeArray.namedItem; @docsEditable true
5776 DOMMimeType namedItem(String name) native; 5699 DOMMimeType namedItem(String name) native;
5777 } 5700 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5778 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5779 // for details. All rights reserved. Use of this source code is governed by a 5701 // for details. All rights reserved. Use of this source code is governed by a
5780 // BSD-style license that can be found in the LICENSE file. 5702 // BSD-style license that can be found in the LICENSE file.
5781 5703
5782 5704
5783 /// @domName DOMParser; @docsEditable true 5705 /// @domName DOMParser; @docsEditable true
5784 class DOMParser native "*DOMParser" { 5706 class DOMParser native "*DOMParser" {
5785 5707
5786 factory DOMParser() => _DOMParserFactoryProvider.createDOMParser(); 5708 factory DOMParser() => _DOMParserFactoryProvider.createDOMParser();
5787 5709
5788 /// @domName DOMParser.parseFromString; @docsEditable true 5710 /// @domName DOMParser.parseFromString; @docsEditable true
5789 Document parseFromString(String str, String contentType) native; 5711 Document parseFromString(String str, String contentType) native;
5790 } 5712 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5791 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5792 // for details. All rights reserved. Use of this source code is governed by a 5713 // for details. All rights reserved. Use of this source code is governed by a
5793 // BSD-style license that can be found in the LICENSE file. 5714 // BSD-style license that can be found in the LICENSE file.
5794 5715
5795 5716
5796 /// @domName Plugin; @docsEditable true 5717 /// @domName Plugin; @docsEditable true
5797 class DOMPlugin native "*Plugin" { 5718 class DOMPlugin native "*Plugin" {
5798 5719
5799 /// @domName Plugin.description; @docsEditable true 5720 /// @domName Plugin.description; @docsEditable true
5800 final String description; 5721 final String description;
5801 5722
5802 /// @domName Plugin.filename; @docsEditable true 5723 /// @domName Plugin.filename; @docsEditable true
5803 final String filename; 5724 final String filename;
5804 5725
5805 /// @domName Plugin.length; @docsEditable true 5726 /// @domName Plugin.length; @docsEditable true
5806 final int length; 5727 final int length;
5807 5728
5808 /// @domName Plugin.name; @docsEditable true 5729 /// @domName Plugin.name; @docsEditable true
5809 final String name; 5730 final String name;
5810 5731
5811 /// @domName Plugin.item; @docsEditable true 5732 /// @domName Plugin.item; @docsEditable true
5812 DOMMimeType item(int index) native; 5733 DOMMimeType item(int index) native;
5813 5734
5814 /// @domName Plugin.namedItem; @docsEditable true 5735 /// @domName Plugin.namedItem; @docsEditable true
5815 DOMMimeType namedItem(String name) native; 5736 DOMMimeType namedItem(String name) native;
5816 } 5737 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5817 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5818 // for details. All rights reserved. Use of this source code is governed by a 5738 // for details. All rights reserved. Use of this source code is governed by a
5819 // BSD-style license that can be found in the LICENSE file. 5739 // BSD-style license that can be found in the LICENSE file.
5820 5740
5821 5741
5822 /// @domName PluginArray; @docsEditable true 5742 /// @domName PluginArray; @docsEditable true
5823 class DOMPluginArray implements JavaScriptIndexingBehavior, List<DOMPlugin> nati ve "*PluginArray" { 5743 class DOMPluginArray implements JavaScriptIndexingBehavior, List<DOMPlugin> nati ve "*PluginArray" {
5824 5744
5825 /// @domName PluginArray.length; @docsEditable true 5745 /// @domName PluginArray.length; @docsEditable true
5826 final int length; 5746 final int length;
5827 5747
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
5911 // -- end List<DOMPlugin> mixins. 5831 // -- end List<DOMPlugin> mixins.
5912 5832
5913 /// @domName PluginArray.item; @docsEditable true 5833 /// @domName PluginArray.item; @docsEditable true
5914 DOMPlugin item(int index) native; 5834 DOMPlugin item(int index) native;
5915 5835
5916 /// @domName PluginArray.namedItem; @docsEditable true 5836 /// @domName PluginArray.namedItem; @docsEditable true
5917 DOMPlugin namedItem(String name) native; 5837 DOMPlugin namedItem(String name) native;
5918 5838
5919 /// @domName PluginArray.refresh; @docsEditable true 5839 /// @domName PluginArray.refresh; @docsEditable true
5920 void refresh(bool reload) native; 5840 void refresh(bool reload) native;
5921 } 5841 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5922 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5923 // for details. All rights reserved. Use of this source code is governed by a 5842 // for details. All rights reserved. Use of this source code is governed by a
5924 // BSD-style license that can be found in the LICENSE file. 5843 // BSD-style license that can be found in the LICENSE file.
5925 5844
5926 5845
5927 /// @domName Selection; @docsEditable true 5846 /// @domName Selection; @docsEditable true
5928 class DOMSelection native "*Selection" { 5847 class DOMSelection native "*Selection" {
5929 5848
5930 /// @domName Selection.anchorNode; @docsEditable true 5849 /// @domName Selection.anchorNode; @docsEditable true
5931 final Node anchorNode; 5850 final Node anchorNode;
5932 5851
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
5997 void selectAllChildren(Node node) native; 5916 void selectAllChildren(Node node) native;
5998 5917
5999 /// @domName Selection.setBaseAndExtent; @docsEditable true 5918 /// @domName Selection.setBaseAndExtent; @docsEditable true
6000 void setBaseAndExtent(Node baseNode, int baseOffset, Node extentNode, int exte ntOffset) native; 5919 void setBaseAndExtent(Node baseNode, int baseOffset, Node extentNode, int exte ntOffset) native;
6001 5920
6002 /// @domName Selection.setPosition; @docsEditable true 5921 /// @domName Selection.setPosition; @docsEditable true
6003 void setPosition(Node node, int offset) native; 5922 void setPosition(Node node, int offset) native;
6004 5923
6005 /// @domName Selection.toString; @docsEditable true 5924 /// @domName Selection.toString; @docsEditable true
6006 String toString() native; 5925 String toString() native;
6007 } 5926 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6008 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6009 // for details. All rights reserved. Use of this source code is governed by a 5927 // for details. All rights reserved. Use of this source code is governed by a
6010 // BSD-style license that can be found in the LICENSE file. 5928 // BSD-style license that can be found in the LICENSE file.
6011 5929
6012 5930
6013 /// @domName DOMSettableTokenList; @docsEditable true 5931 /// @domName DOMSettableTokenList; @docsEditable true
6014 class DOMSettableTokenList extends DOMTokenList native "*DOMSettableTokenList" { 5932 class DOMSettableTokenList extends DOMTokenList native "*DOMSettableTokenList" {
6015 5933
6016 /// @domName DOMSettableTokenList.value; @docsEditable true 5934 /// @domName DOMSettableTokenList.value; @docsEditable true
6017 String value; 5935 String value;
6018 } 5936 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6019 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6020 // for details. All rights reserved. Use of this source code is governed by a 5937 // for details. All rights reserved. Use of this source code is governed by a
6021 // BSD-style license that can be found in the LICENSE file. 5938 // BSD-style license that can be found in the LICENSE file.
6022 5939
6023 5940
6024 /// @domName DOMStringMap 5941 /// @domName DOMStringMap
6025 abstract class DOMStringMap { 5942 abstract class DOMStringMap {
6026 } 5943 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6027 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6028 // for details. All rights reserved. Use of this source code is governed by a 5944 // for details. All rights reserved. Use of this source code is governed by a
6029 // BSD-style license that can be found in the LICENSE file. 5945 // BSD-style license that can be found in the LICENSE file.
6030 5946
6031 5947
6032 /// @domName DOMTokenList; @docsEditable true 5948 /// @domName DOMTokenList; @docsEditable true
6033 class DOMTokenList native "*DOMTokenList" { 5949 class DOMTokenList native "*DOMTokenList" {
6034 5950
6035 /// @domName DOMTokenList.length; @docsEditable true 5951 /// @domName DOMTokenList.length; @docsEditable true
6036 final int length; 5952 final int length;
6037 5953
6038 /// @domName DOMTokenList.contains; @docsEditable true 5954 /// @domName DOMTokenList.contains; @docsEditable true
6039 bool contains(String token) native; 5955 bool contains(String token) native;
6040 5956
6041 /// @domName DOMTokenList.item; @docsEditable true 5957 /// @domName DOMTokenList.item; @docsEditable true
6042 String item(int index) native; 5958 String item(int index) native;
6043 5959
6044 /// @domName DOMTokenList.toString; @docsEditable true 5960 /// @domName DOMTokenList.toString; @docsEditable true
6045 String toString() native; 5961 String toString() native;
6046 5962
6047 /// @domName DOMTokenList.toggle; @docsEditable true 5963 /// @domName DOMTokenList.toggle; @docsEditable true
6048 bool toggle(String token, [bool force]) native; 5964 bool toggle(String token, [bool force]) native;
6049 } 5965 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6050 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6051 // for details. All rights reserved. Use of this source code is governed by a 5966 // for details. All rights reserved. Use of this source code is governed by a
6052 // BSD-style license that can be found in the LICENSE file. 5967 // BSD-style license that can be found in the LICENSE file.
6053 5968
6054 5969
6055 /// @domName HTMLDataListElement; @docsEditable true 5970 /// @domName HTMLDataListElement; @docsEditable true
6056 class DataListElement extends Element implements Element native "*HTMLDataListEl ement" { 5971 class DataListElement extends Element implements Element native "*HTMLDataListEl ement" {
6057 5972
6058 factory DataListElement() => document.$dom_createElement("datalist"); 5973 factory DataListElement() => document.$dom_createElement("datalist");
6059 5974
6060 /// @domName HTMLDataListElement.options; @docsEditable true 5975 /// @domName HTMLDataListElement.options; @docsEditable true
6061 final HTMLCollection options; 5976 final HTMLCollection options;
6062 } 5977 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6063 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6064 // for details. All rights reserved. Use of this source code is governed by a 5978 // for details. All rights reserved. Use of this source code is governed by a
6065 // BSD-style license that can be found in the LICENSE file. 5979 // BSD-style license that can be found in the LICENSE file.
6066 5980
6067 5981
6068 /// @domName DataTransferItem; @docsEditable true 5982 /// @domName DataTransferItem; @docsEditable true
6069 class DataTransferItem native "*DataTransferItem" { 5983 class DataTransferItem native "*DataTransferItem" {
6070 5984
6071 /// @domName DataTransferItem.kind; @docsEditable true 5985 /// @domName DataTransferItem.kind; @docsEditable true
6072 final String kind; 5986 final String kind;
6073 5987
6074 /// @domName DataTransferItem.type; @docsEditable true 5988 /// @domName DataTransferItem.type; @docsEditable true
6075 final String type; 5989 final String type;
6076 5990
6077 /// @domName DataTransferItem.getAsFile; @docsEditable true 5991 /// @domName DataTransferItem.getAsFile; @docsEditable true
6078 Blob getAsFile() native; 5992 Blob getAsFile() native;
6079 5993
6080 /// @domName DataTransferItem.getAsString; @docsEditable true 5994 /// @domName DataTransferItem.getAsString; @docsEditable true
6081 void getAsString([StringCallback callback]) native; 5995 void getAsString([StringCallback callback]) native;
6082 5996
6083 /// @domName DataTransferItem.webkitGetAsEntry; @docsEditable true 5997 /// @domName DataTransferItem.webkitGetAsEntry; @docsEditable true
6084 Entry webkitGetAsEntry() native; 5998 Entry webkitGetAsEntry() native;
6085 } 5999 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6086 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6087 // for details. All rights reserved. Use of this source code is governed by a 6000 // for details. All rights reserved. Use of this source code is governed by a
6088 // BSD-style license that can be found in the LICENSE file. 6001 // BSD-style license that can be found in the LICENSE file.
6089 6002
6090 6003
6091 /// @domName DataTransferItemList; @docsEditable true 6004 /// @domName DataTransferItemList; @docsEditable true
6092 class DataTransferItemList native "*DataTransferItemList" { 6005 class DataTransferItemList native "*DataTransferItemList" {
6093 6006
6094 /// @domName DataTransferItemList.length; @docsEditable true 6007 /// @domName DataTransferItemList.length; @docsEditable true
6095 final int length; 6008 final int length;
6096 6009
6097 /// @domName DataTransferItemList.add; @docsEditable true 6010 /// @domName DataTransferItemList.add; @docsEditable true
6098 void add(data_OR_file, [String type]) native; 6011 void add(data_OR_file, [String type]) native;
6099 6012
6100 /// @domName DataTransferItemList.clear; @docsEditable true 6013 /// @domName DataTransferItemList.clear; @docsEditable true
6101 void clear() native; 6014 void clear() native;
6102 6015
6103 /// @domName DataTransferItemList.item; @docsEditable true 6016 /// @domName DataTransferItemList.item; @docsEditable true
6104 DataTransferItem item(int index) native; 6017 DataTransferItem item(int index) native;
6105 } 6018 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6106 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6107 // for details. All rights reserved. Use of this source code is governed by a 6019 // for details. All rights reserved. Use of this source code is governed by a
6108 // BSD-style license that can be found in the LICENSE file. 6020 // BSD-style license that can be found in the LICENSE file.
6109 6021
6110 6022
6111 /// @domName DataView; @docsEditable true 6023 /// @domName DataView; @docsEditable true
6112 class DataView extends ArrayBufferView native "*DataView" { 6024 class DataView extends ArrayBufferView native "*DataView" {
6113 6025
6114 factory DataView(ArrayBuffer buffer, [int byteOffset, int byteLength]) { 6026 factory DataView(ArrayBuffer buffer, [int byteOffset, int byteLength]) {
6115 if (!?byteOffset) { 6027 if (!?byteOffset) {
6116 return _DataViewFactoryProvider.createDataView(buffer); 6028 return _DataViewFactoryProvider.createDataView(buffer);
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
6161 void setInt8(int byteOffset, int value) native; 6073 void setInt8(int byteOffset, int value) native;
6162 6074
6163 /// @domName DataView.setUint16; @docsEditable true 6075 /// @domName DataView.setUint16; @docsEditable true
6164 void setUint16(int byteOffset, int value, {bool littleEndian}) native; 6076 void setUint16(int byteOffset, int value, {bool littleEndian}) native;
6165 6077
6166 /// @domName DataView.setUint32; @docsEditable true 6078 /// @domName DataView.setUint32; @docsEditable true
6167 void setUint32(int byteOffset, int value, {bool littleEndian}) native; 6079 void setUint32(int byteOffset, int value, {bool littleEndian}) native;
6168 6080
6169 /// @domName DataView.setUint8; @docsEditable true 6081 /// @domName DataView.setUint8; @docsEditable true
6170 void setUint8(int byteOffset, int value) native; 6082 void setUint8(int byteOffset, int value) native;
6171 } 6083 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6172 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6173 // for details. All rights reserved. Use of this source code is governed by a 6084 // for details. All rights reserved. Use of this source code is governed by a
6174 // BSD-style license that can be found in the LICENSE file. 6085 // BSD-style license that can be found in the LICENSE file.
6175 6086
6176 6087
6177 /// @domName Database; @docsEditable true 6088 /// @domName Database; @docsEditable true
6178 class Database native "*Database" { 6089 class Database native "*Database" {
6179 6090
6180 /// @domName Database.version; @docsEditable true 6091 /// @domName Database.version; @docsEditable true
6181 final String version; 6092 final String version;
6182 6093
6183 /// @domName Database.changeVersion; @docsEditable true 6094 /// @domName Database.changeVersion; @docsEditable true
6184 void changeVersion(String oldVersion, String newVersion, [SQLTransactionCallba ck callback, SQLTransactionErrorCallback errorCallback, VoidCallback successCall back]) native; 6095 void changeVersion(String oldVersion, String newVersion, [SQLTransactionCallba ck callback, SQLTransactionErrorCallback errorCallback, VoidCallback successCall back]) native;
6185 6096
6186 /// @domName Database.readTransaction; @docsEditable true 6097 /// @domName Database.readTransaction; @docsEditable true
6187 void readTransaction(SQLTransactionCallback callback, [SQLTransactionErrorCall back errorCallback, VoidCallback successCallback]) native; 6098 void readTransaction(SQLTransactionCallback callback, [SQLTransactionErrorCall back errorCallback, VoidCallback successCallback]) native;
6188 6099
6189 /// @domName Database.transaction; @docsEditable true 6100 /// @domName Database.transaction; @docsEditable true
6190 void transaction(SQLTransactionCallback callback, [SQLTransactionErrorCallback errorCallback, VoidCallback successCallback]) native; 6101 void transaction(SQLTransactionCallback callback, [SQLTransactionErrorCallback errorCallback, VoidCallback successCallback]) native;
6191 } 6102 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6192 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6193 // for details. All rights reserved. Use of this source code is governed by a 6103 // for details. All rights reserved. Use of this source code is governed by a
6194 // BSD-style license that can be found in the LICENSE file. 6104 // BSD-style license that can be found in the LICENSE file.
6195 6105
6196 // WARNING: Do not edit - generated code. 6106 // WARNING: Do not edit - generated code.
6197 6107
6198 6108
6199 typedef void DatabaseCallback(database); 6109 typedef void DatabaseCallback(database);// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6200 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6201 // for details. All rights reserved. Use of this source code is governed by a 6110 // for details. All rights reserved. Use of this source code is governed by a
6202 // BSD-style license that can be found in the LICENSE file. 6111 // BSD-style license that can be found in the LICENSE file.
6203 6112
6204 6113
6205 /// @domName DatabaseSync; @docsEditable true 6114 /// @domName DatabaseSync; @docsEditable true
6206 class DatabaseSync native "*DatabaseSync" { 6115 class DatabaseSync native "*DatabaseSync" {
6207 6116
6208 /// @domName DatabaseSync.lastErrorMessage; @docsEditable true 6117 /// @domName DatabaseSync.lastErrorMessage; @docsEditable true
6209 final String lastErrorMessage; 6118 final String lastErrorMessage;
6210 6119
6211 /// @domName DatabaseSync.version; @docsEditable true 6120 /// @domName DatabaseSync.version; @docsEditable true
6212 final String version; 6121 final String version;
6213 6122
6214 /// @domName DatabaseSync.changeVersion; @docsEditable true 6123 /// @domName DatabaseSync.changeVersion; @docsEditable true
6215 void changeVersion(String oldVersion, String newVersion, [SQLTransactionSyncCa llback callback]) native; 6124 void changeVersion(String oldVersion, String newVersion, [SQLTransactionSyncCa llback callback]) native;
6216 6125
6217 /// @domName DatabaseSync.readTransaction; @docsEditable true 6126 /// @domName DatabaseSync.readTransaction; @docsEditable true
6218 void readTransaction(SQLTransactionSyncCallback callback) native; 6127 void readTransaction(SQLTransactionSyncCallback callback) native;
6219 6128
6220 /// @domName DatabaseSync.transaction; @docsEditable true 6129 /// @domName DatabaseSync.transaction; @docsEditable true
6221 void transaction(SQLTransactionSyncCallback callback) native; 6130 void transaction(SQLTransactionSyncCallback callback) native;
6222 } 6131 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6223 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6224 // for details. All rights reserved. Use of this source code is governed by a 6132 // for details. All rights reserved. Use of this source code is governed by a
6225 // BSD-style license that can be found in the LICENSE file. 6133 // BSD-style license that can be found in the LICENSE file.
6226 6134
6227 6135
6228 /// @domName DedicatedWorkerContext; @docsEditable true 6136 /// @domName DedicatedWorkerContext; @docsEditable true
6229 class DedicatedWorkerContext extends WorkerContext native "*DedicatedWorkerConte xt" { 6137 class DedicatedWorkerContext extends WorkerContext native "*DedicatedWorkerConte xt" {
6230 6138
6231 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true 6139 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true
6232 DedicatedWorkerContextEvents get on => 6140 DedicatedWorkerContextEvents get on =>
6233 new DedicatedWorkerContextEvents(this); 6141 new DedicatedWorkerContextEvents(this);
(...skipping 10 matching lines...) Expand all
6244 return; 6152 return;
6245 } 6153 }
6246 void _postMessage_1(message, List messagePorts) native "postMessage"; 6154 void _postMessage_1(message, List messagePorts) native "postMessage";
6247 void _postMessage_2(message) native "postMessage"; 6155 void _postMessage_2(message) native "postMessage";
6248 } 6156 }
6249 6157
6250 class DedicatedWorkerContextEvents extends WorkerContextEvents { 6158 class DedicatedWorkerContextEvents extends WorkerContextEvents {
6251 DedicatedWorkerContextEvents(EventTarget _ptr) : super(_ptr); 6159 DedicatedWorkerContextEvents(EventTarget _ptr) : super(_ptr);
6252 6160
6253 EventListenerList get message => this['message']; 6161 EventListenerList get message => this['message'];
6254 } 6162 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6255 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6256 // for details. All rights reserved. Use of this source code is governed by a 6163 // for details. All rights reserved. Use of this source code is governed by a
6257 // BSD-style license that can be found in the LICENSE file. 6164 // BSD-style license that can be found in the LICENSE file.
6258 6165
6259 6166
6260 /// @domName DelayNode; @docsEditable true 6167 /// @domName DelayNode; @docsEditable true
6261 class DelayNode extends AudioNode native "*DelayNode" { 6168 class DelayNode extends AudioNode native "*DelayNode" {
6262 6169
6263 /// @domName DelayNode.delayTime; @docsEditable true 6170 /// @domName DelayNode.delayTime; @docsEditable true
6264 final AudioParam delayTime; 6171 final AudioParam delayTime;
6265 } 6172 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6266 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6267 // for details. All rights reserved. Use of this source code is governed by a 6173 // for details. All rights reserved. Use of this source code is governed by a
6268 // BSD-style license that can be found in the LICENSE file. 6174 // BSD-style license that can be found in the LICENSE file.
6269 6175
6270 6176
6271 /// @domName HTMLDetailsElement; @docsEditable true 6177 /// @domName HTMLDetailsElement; @docsEditable true
6272 class DetailsElement extends Element implements Element native "*HTMLDetailsElem ent" { 6178 class DetailsElement extends Element implements Element native "*HTMLDetailsElem ent" {
6273 6179
6274 factory DetailsElement() => document.$dom_createElement("details"); 6180 factory DetailsElement() => document.$dom_createElement("details");
6275 6181
6276 /// @domName HTMLDetailsElement.open; @docsEditable true 6182 /// @domName HTMLDetailsElement.open; @docsEditable true
6277 bool open; 6183 bool open;
6278 } 6184 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6279 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6280 // for details. All rights reserved. Use of this source code is governed by a 6185 // for details. All rights reserved. Use of this source code is governed by a
6281 // BSD-style license that can be found in the LICENSE file. 6186 // BSD-style license that can be found in the LICENSE file.
6282 6187
6283 6188
6284 /// @domName DeviceMotionEvent; @docsEditable true 6189 /// @domName DeviceMotionEvent; @docsEditable true
6285 class DeviceMotionEvent extends Event native "*DeviceMotionEvent" { 6190 class DeviceMotionEvent extends Event native "*DeviceMotionEvent" {
6286 6191
6287 /// @domName DeviceMotionEvent.interval; @docsEditable true 6192 /// @domName DeviceMotionEvent.interval; @docsEditable true
6288 final num interval; 6193 final num interval;
6289 } 6194 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6290 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6291 // for details. All rights reserved. Use of this source code is governed by a 6195 // for details. All rights reserved. Use of this source code is governed by a
6292 // BSD-style license that can be found in the LICENSE file. 6196 // BSD-style license that can be found in the LICENSE file.
6293 6197
6294 6198
6295 /// @domName DeviceOrientationEvent; @docsEditable true 6199 /// @domName DeviceOrientationEvent; @docsEditable true
6296 class DeviceOrientationEvent extends Event native "*DeviceOrientationEvent" { 6200 class DeviceOrientationEvent extends Event native "*DeviceOrientationEvent" {
6297 6201
6298 /// @domName DeviceOrientationEvent.absolute; @docsEditable true 6202 /// @domName DeviceOrientationEvent.absolute; @docsEditable true
6299 final bool absolute; 6203 final bool absolute;
6300 6204
6301 /// @domName DeviceOrientationEvent.alpha; @docsEditable true 6205 /// @domName DeviceOrientationEvent.alpha; @docsEditable true
6302 final num alpha; 6206 final num alpha;
6303 6207
6304 /// @domName DeviceOrientationEvent.beta; @docsEditable true 6208 /// @domName DeviceOrientationEvent.beta; @docsEditable true
6305 final num beta; 6209 final num beta;
6306 6210
6307 /// @domName DeviceOrientationEvent.gamma; @docsEditable true 6211 /// @domName DeviceOrientationEvent.gamma; @docsEditable true
6308 final num gamma; 6212 final num gamma;
6309 6213
6310 /// @domName DeviceOrientationEvent.initDeviceOrientationEvent; @docsEditable true 6214 /// @domName DeviceOrientationEvent.initDeviceOrientationEvent; @docsEditable true
6311 void initDeviceOrientationEvent(String type, bool bubbles, bool cancelable, nu m alpha, num beta, num gamma, bool absolute) native; 6215 void initDeviceOrientationEvent(String type, bool bubbles, bool cancelable, nu m alpha, num beta, num gamma, bool absolute) native;
6312 } 6216 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6313 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6314 // for details. All rights reserved. Use of this source code is governed by a 6217 // for details. All rights reserved. Use of this source code is governed by a
6315 // BSD-style license that can be found in the LICENSE file. 6218 // BSD-style license that can be found in the LICENSE file.
6316 6219
6317 6220
6318 /// @domName HTMLDirectoryElement; @docsEditable true 6221 /// @domName HTMLDirectoryElement; @docsEditable true
6319 class DirectoryElement extends Element implements Element native "*HTMLDirectory Element" { 6222 class DirectoryElement extends Element implements Element native "*HTMLDirectory Element" {
6320 6223
6321 /// @domName HTMLDirectoryElement.compact; @docsEditable true 6224 /// @domName HTMLDirectoryElement.compact; @docsEditable true
6322 bool compact; 6225 bool compact;
6323 } 6226 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6324 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6325 // for details. All rights reserved. Use of this source code is governed by a 6227 // for details. All rights reserved. Use of this source code is governed by a
6326 // BSD-style license that can be found in the LICENSE file. 6228 // BSD-style license that can be found in the LICENSE file.
6327 6229
6328 6230
6329 /// @domName DirectoryEntry; @docsEditable true 6231 /// @domName DirectoryEntry; @docsEditable true
6330 class DirectoryEntry extends Entry native "*DirectoryEntry" { 6232 class DirectoryEntry extends Entry native "*DirectoryEntry" {
6331 6233
6332 /// @domName DirectoryEntry.createReader; @docsEditable true 6234 /// @domName DirectoryEntry.createReader; @docsEditable true
6333 DirectoryReader createReader() native; 6235 DirectoryReader createReader() native;
6334 6236
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
6377 _getFile_4(path); 6279 _getFile_4(path);
6378 return; 6280 return;
6379 } 6281 }
6380 void _getFile_1(path, options, EntryCallback successCallback, ErrorCallback er rorCallback) native "getFile"; 6282 void _getFile_1(path, options, EntryCallback successCallback, ErrorCallback er rorCallback) native "getFile";
6381 void _getFile_2(path, options, EntryCallback successCallback) native "getFile" ; 6283 void _getFile_2(path, options, EntryCallback successCallback) native "getFile" ;
6382 void _getFile_3(path, options) native "getFile"; 6284 void _getFile_3(path, options) native "getFile";
6383 void _getFile_4(path) native "getFile"; 6285 void _getFile_4(path) native "getFile";
6384 6286
6385 /// @domName DirectoryEntry.removeRecursively; @docsEditable true 6287 /// @domName DirectoryEntry.removeRecursively; @docsEditable true
6386 void removeRecursively(VoidCallback successCallback, [ErrorCallback errorCallb ack]) native; 6288 void removeRecursively(VoidCallback successCallback, [ErrorCallback errorCallb ack]) native;
6387 } 6289 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6388 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6389 // for details. All rights reserved. Use of this source code is governed by a 6290 // for details. All rights reserved. Use of this source code is governed by a
6390 // BSD-style license that can be found in the LICENSE file. 6291 // BSD-style license that can be found in the LICENSE file.
6391 6292
6392 6293
6393 /// @domName DirectoryEntrySync; @docsEditable true 6294 /// @domName DirectoryEntrySync; @docsEditable true
6394 class DirectoryEntrySync extends EntrySync native "*DirectoryEntrySync" { 6295 class DirectoryEntrySync extends EntrySync native "*DirectoryEntrySync" {
6395 6296
6396 /// @domName DirectoryEntrySync.createReader; @docsEditable true 6297 /// @domName DirectoryEntrySync.createReader; @docsEditable true
6397 DirectoryReaderSync createReader() native; 6298 DirectoryReaderSync createReader() native;
6398 6299
6399 /// @domName DirectoryEntrySync.getDirectory; @docsEditable true 6300 /// @domName DirectoryEntrySync.getDirectory; @docsEditable true
6400 DirectoryEntrySync getDirectory(String path, Map flags) { 6301 DirectoryEntrySync getDirectory(String path, Map flags) {
6401 var flags_1 = _convertDartToNative_Dictionary(flags); 6302 var flags_1 = _convertDartToNative_Dictionary(flags);
6402 return _getDirectory_1(path, flags_1); 6303 return _getDirectory_1(path, flags_1);
6403 } 6304 }
6404 DirectoryEntrySync _getDirectory_1(path, flags) native "getDirectory"; 6305 DirectoryEntrySync _getDirectory_1(path, flags) native "getDirectory";
6405 6306
6406 /// @domName DirectoryEntrySync.getFile; @docsEditable true 6307 /// @domName DirectoryEntrySync.getFile; @docsEditable true
6407 FileEntrySync getFile(String path, Map flags) { 6308 FileEntrySync getFile(String path, Map flags) {
6408 var flags_1 = _convertDartToNative_Dictionary(flags); 6309 var flags_1 = _convertDartToNative_Dictionary(flags);
6409 return _getFile_1(path, flags_1); 6310 return _getFile_1(path, flags_1);
6410 } 6311 }
6411 FileEntrySync _getFile_1(path, flags) native "getFile"; 6312 FileEntrySync _getFile_1(path, flags) native "getFile";
6412 6313
6413 /// @domName DirectoryEntrySync.removeRecursively; @docsEditable true 6314 /// @domName DirectoryEntrySync.removeRecursively; @docsEditable true
6414 void removeRecursively() native; 6315 void removeRecursively() native;
6415 } 6316 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6416 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6417 // for details. All rights reserved. Use of this source code is governed by a 6317 // for details. All rights reserved. Use of this source code is governed by a
6418 // BSD-style license that can be found in the LICENSE file. 6318 // BSD-style license that can be found in the LICENSE file.
6419 6319
6420 6320
6421 /// @domName DirectoryReader; @docsEditable true 6321 /// @domName DirectoryReader; @docsEditable true
6422 class DirectoryReader native "*DirectoryReader" { 6322 class DirectoryReader native "*DirectoryReader" {
6423 6323
6424 /// @domName DirectoryReader.readEntries; @docsEditable true 6324 /// @domName DirectoryReader.readEntries; @docsEditable true
6425 void readEntries(EntriesCallback successCallback, [ErrorCallback errorCallback ]) native; 6325 void readEntries(EntriesCallback successCallback, [ErrorCallback errorCallback ]) native;
6426 } 6326 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6427 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6428 // for details. All rights reserved. Use of this source code is governed by a 6327 // for details. All rights reserved. Use of this source code is governed by a
6429 // BSD-style license that can be found in the LICENSE file. 6328 // BSD-style license that can be found in the LICENSE file.
6430 6329
6431 6330
6432 /// @domName DirectoryReaderSync; @docsEditable true 6331 /// @domName DirectoryReaderSync; @docsEditable true
6433 class DirectoryReaderSync native "*DirectoryReaderSync" { 6332 class DirectoryReaderSync native "*DirectoryReaderSync" {
6434 6333
6435 /// @domName DirectoryReaderSync.readEntries; @docsEditable true 6334 /// @domName DirectoryReaderSync.readEntries; @docsEditable true
6436 @Returns('_EntryArraySync') @Creates('_EntryArraySync') 6335 @Returns('_EntryArraySync') @Creates('_EntryArraySync')
6437 List<EntrySync> readEntries() native; 6336 List<EntrySync> readEntries() native;
6438 } 6337 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6439 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6440 // for details. All rights reserved. Use of this source code is governed by a 6338 // for details. All rights reserved. Use of this source code is governed by a
6441 // BSD-style license that can be found in the LICENSE file. 6339 // BSD-style license that can be found in the LICENSE file.
6442 6340
6443 6341
6444 /// @domName HTMLDivElement; @docsEditable true 6342 /// @domName HTMLDivElement; @docsEditable true
6445 class DivElement extends Element implements Element native "*HTMLDivElement" { 6343 class DivElement extends Element implements Element native "*HTMLDivElement" {
6446 6344
6447 factory DivElement() => document.$dom_createElement("div"); 6345 factory DivElement() => document.$dom_createElement("div");
6448 } 6346 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6449 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6450 // for details. All rights reserved. Use of this source code is governed by a 6347 // for details. All rights reserved. Use of this source code is governed by a
6451 // BSD-style license that can be found in the LICENSE file. 6348 // BSD-style license that can be found in the LICENSE file.
6452 6349
6453 6350
6454 class Document extends Node native "*Document" 6351 class Document extends Node native "*Document"
6455 { 6352 {
6456 6353
6457 6354
6458 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true 6355 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true
6459 DocumentEvents get on => 6356 DocumentEvents get on =>
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
6750 6647
6751 EventListenerList get touchStart => this['touchstart']; 6648 EventListenerList get touchStart => this['touchstart'];
6752 6649
6753 EventListenerList get fullscreenChange => this['webkitfullscreenchange']; 6650 EventListenerList get fullscreenChange => this['webkitfullscreenchange'];
6754 6651
6755 EventListenerList get fullscreenError => this['webkitfullscreenerror']; 6652 EventListenerList get fullscreenError => this['webkitfullscreenerror'];
6756 6653
6757 EventListenerList get pointerLockChange => this['webkitpointerlockchange']; 6654 EventListenerList get pointerLockChange => this['webkitpointerlockchange'];
6758 6655
6759 EventListenerList get pointerLockError => this['webkitpointerlockerror']; 6656 EventListenerList get pointerLockError => this['webkitpointerlockerror'];
6760 } 6657 }// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
6761 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
6762 // for details. All rights reserved. Use of this source code is governed by a 6658 // for details. All rights reserved. Use of this source code is governed by a
6763 // BSD-style license that can be found in the LICENSE file. 6659 // BSD-style license that can be found in the LICENSE file.
6764 6660
6765 6661
6766 Future<CSSStyleDeclaration> _emptyStyleFuture() { 6662 Future<CSSStyleDeclaration> _emptyStyleFuture() {
6767 return _createMeasurementFuture(() => new Element.tag('div').style, 6663 return _createMeasurementFuture(() => new Element.tag('div').style,
6768 new Completer<CSSStyleDeclaration>()); 6664 new Completer<CSSStyleDeclaration>());
6769 } 6665 }
6770 6666
6771 class _FrozenCssClassSet extends CssClassSet { 6667 class _FrozenCssClassSet extends CssClassSet {
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
7024 ElementEvents get on => 6920 ElementEvents get on =>
7025 new ElementEvents(this); 6921 new ElementEvents(this);
7026 6922
7027 /// @domName DocumentFragment.querySelector; @docsEditable true 6923 /// @domName DocumentFragment.querySelector; @docsEditable true
7028 Element $dom_querySelector(String selectors) native "querySelector"; 6924 Element $dom_querySelector(String selectors) native "querySelector";
7029 6925
7030 /// @domName DocumentFragment.querySelectorAll; @docsEditable true 6926 /// @domName DocumentFragment.querySelectorAll; @docsEditable true
7031 @Returns('_NodeList') @Creates('_NodeList') 6927 @Returns('_NodeList') @Creates('_NodeList')
7032 List<Node> $dom_querySelectorAll(String selectors) native "querySelectorAll"; 6928 List<Node> $dom_querySelectorAll(String selectors) native "querySelectorAll";
7033 6929
7034 } 6930 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7035 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7036 // for details. All rights reserved. Use of this source code is governed by a 6931 // for details. All rights reserved. Use of this source code is governed by a
7037 // BSD-style license that can be found in the LICENSE file. 6932 // BSD-style license that can be found in the LICENSE file.
7038 6933
7039 6934
7040 /// @domName DocumentType; @docsEditable true 6935 /// @domName DocumentType; @docsEditable true
7041 class DocumentType extends Node native "*DocumentType" { 6936 class DocumentType extends Node native "*DocumentType" {
7042 6937
7043 /// @domName DocumentType.entities; @docsEditable true 6938 /// @domName DocumentType.entities; @docsEditable true
7044 final NamedNodeMap entities; 6939 final NamedNodeMap entities;
7045 6940
7046 /// @domName DocumentType.internalSubset; @docsEditable true 6941 /// @domName DocumentType.internalSubset; @docsEditable true
7047 final String internalSubset; 6942 final String internalSubset;
7048 6943
7049 /// @domName DocumentType.name; @docsEditable true 6944 /// @domName DocumentType.name; @docsEditable true
7050 final String name; 6945 final String name;
7051 6946
7052 /// @domName DocumentType.notations; @docsEditable true 6947 /// @domName DocumentType.notations; @docsEditable true
7053 final NamedNodeMap notations; 6948 final NamedNodeMap notations;
7054 6949
7055 /// @domName DocumentType.publicId; @docsEditable true 6950 /// @domName DocumentType.publicId; @docsEditable true
7056 final String publicId; 6951 final String publicId;
7057 6952
7058 /// @domName DocumentType.systemId; @docsEditable true 6953 /// @domName DocumentType.systemId; @docsEditable true
7059 final String systemId; 6954 final String systemId;
7060 6955
7061 /// @domName DocumentType.remove; @docsEditable true 6956 /// @domName DocumentType.remove; @docsEditable true
7062 void remove() native; 6957 void remove() native;
7063 } 6958 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7064 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7065 // for details. All rights reserved. Use of this source code is governed by a 6959 // for details. All rights reserved. Use of this source code is governed by a
7066 // BSD-style license that can be found in the LICENSE file. 6960 // BSD-style license that can be found in the LICENSE file.
7067 6961
7068 6962
7069 /// @domName DynamicsCompressorNode; @docsEditable true 6963 /// @domName DynamicsCompressorNode; @docsEditable true
7070 class DynamicsCompressorNode extends AudioNode native "*DynamicsCompressorNode" { 6964 class DynamicsCompressorNode extends AudioNode native "*DynamicsCompressorNode" {
7071 6965
7072 /// @domName DynamicsCompressorNode.attack; @docsEditable true 6966 /// @domName DynamicsCompressorNode.attack; @docsEditable true
7073 final AudioParam attack; 6967 final AudioParam attack;
7074 6968
7075 /// @domName DynamicsCompressorNode.knee; @docsEditable true 6969 /// @domName DynamicsCompressorNode.knee; @docsEditable true
7076 final AudioParam knee; 6970 final AudioParam knee;
7077 6971
7078 /// @domName DynamicsCompressorNode.ratio; @docsEditable true 6972 /// @domName DynamicsCompressorNode.ratio; @docsEditable true
7079 final AudioParam ratio; 6973 final AudioParam ratio;
7080 6974
7081 /// @domName DynamicsCompressorNode.reduction; @docsEditable true 6975 /// @domName DynamicsCompressorNode.reduction; @docsEditable true
7082 final AudioParam reduction; 6976 final AudioParam reduction;
7083 6977
7084 /// @domName DynamicsCompressorNode.release; @docsEditable true 6978 /// @domName DynamicsCompressorNode.release; @docsEditable true
7085 final AudioParam release; 6979 final AudioParam release;
7086 6980
7087 /// @domName DynamicsCompressorNode.threshold; @docsEditable true 6981 /// @domName DynamicsCompressorNode.threshold; @docsEditable true
7088 final AudioParam threshold; 6982 final AudioParam threshold;
7089 } 6983 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7090 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7091 // for details. All rights reserved. Use of this source code is governed by a 6984 // for details. All rights reserved. Use of this source code is governed by a
7092 // BSD-style license that can be found in the LICENSE file. 6985 // BSD-style license that can be found in the LICENSE file.
7093 6986
7094 6987
7095 /// @domName EXTTextureFilterAnisotropic; @docsEditable true 6988 /// @domName EXTTextureFilterAnisotropic; @docsEditable true
7096 class EXTTextureFilterAnisotropic native "*EXTTextureFilterAnisotropic" { 6989 class EXTTextureFilterAnisotropic native "*EXTTextureFilterAnisotropic" {
7097 6990
7098 static const int MAX_TEXTURE_MAX_ANISOTROPY_EXT = 0x84FF; 6991 static const int MAX_TEXTURE_MAX_ANISOTROPY_EXT = 0x84FF;
7099 6992
7100 static const int TEXTURE_MAX_ANISOTROPY_EXT = 0x84FE; 6993 static const int TEXTURE_MAX_ANISOTROPY_EXT = 0x84FE;
7101 } 6994 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7102 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7103 // for details. All rights reserved. Use of this source code is governed by a 6995 // for details. All rights reserved. Use of this source code is governed by a
7104 // BSD-style license that can be found in the LICENSE file. 6996 // BSD-style license that can be found in the LICENSE file.
7105 6997
7106 6998
7107 // TODO(jacobr): use _Lists.dart to remove some of the duplicated 6999 // TODO(jacobr): use _Lists.dart to remove some of the duplicated
7108 // functionality. 7000 // functionality.
7109 class _ChildrenElementList implements List { 7001 class _ChildrenElementList implements List {
7110 // Raw Element. 7002 // Raw Element.
7111 final Element _element; 7003 final Element _element;
7112 final HTMLCollection _childElements; 7004 final HTMLCollection _childElements;
(...skipping 1023 matching lines...) Expand 10 before | Expand all | Expand 10 after
8136 // W3C spec, and should be IE9+, but IE has a bug exposing onwheel. 8028 // W3C spec, and should be IE9+, but IE has a bug exposing onwheel.
8137 return this['wheel']; 8029 return this['wheel'];
8138 } else if (JS('bool', '#.onmousewheel !== undefined', _ptr)) { 8030 } else if (JS('bool', '#.onmousewheel !== undefined', _ptr)) {
8139 // Chrome & IE 8031 // Chrome & IE
8140 return this['mousewheel']; 8032 return this['mousewheel'];
8141 } else { 8033 } else {
8142 // Firefox 8034 // Firefox
8143 return this['DOMMouseScroll']; 8035 return this['DOMMouseScroll'];
8144 } 8036 }
8145 } 8037 }
8146 } 8038 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8147 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8148 // for details. All rights reserved. Use of this source code is governed by a 8039 // for details. All rights reserved. Use of this source code is governed by a
8149 // BSD-style license that can be found in the LICENSE file. 8040 // BSD-style license that can be found in the LICENSE file.
8150 8041
8151 8042
8152 /// @domName ElementTimeControl 8043 /// @domName ElementTimeControl
8153 abstract class ElementTimeControl { 8044 abstract class ElementTimeControl {
8154 8045
8155 /// @domName ElementTimeControl.beginElement; @docsEditable true 8046 /// @domName ElementTimeControl.beginElement; @docsEditable true
8156 void beginElement(); 8047 void beginElement();
8157 8048
8158 /// @domName ElementTimeControl.beginElementAt; @docsEditable true 8049 /// @domName ElementTimeControl.beginElementAt; @docsEditable true
8159 void beginElementAt(num offset); 8050 void beginElementAt(num offset);
8160 8051
8161 /// @domName ElementTimeControl.endElement; @docsEditable true 8052 /// @domName ElementTimeControl.endElement; @docsEditable true
8162 void endElement(); 8053 void endElement();
8163 8054
8164 /// @domName ElementTimeControl.endElementAt; @docsEditable true 8055 /// @domName ElementTimeControl.endElementAt; @docsEditable true
8165 void endElementAt(num offset); 8056 void endElementAt(num offset);
8166 } 8057 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8167 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8168 // for details. All rights reserved. Use of this source code is governed by a 8058 // for details. All rights reserved. Use of this source code is governed by a
8169 // BSD-style license that can be found in the LICENSE file. 8059 // BSD-style license that can be found in the LICENSE file.
8170 8060
8171 8061
8172 /// @domName ElementTraversal 8062 /// @domName ElementTraversal
8173 abstract class ElementTraversal { 8063 abstract class ElementTraversal {
8174 8064
8175 int childElementCount; 8065 int childElementCount;
8176 8066
8177 Element firstElementChild; 8067 Element firstElementChild;
8178 8068
8179 Element lastElementChild; 8069 Element lastElementChild;
8180 8070
8181 Element nextElementSibling; 8071 Element nextElementSibling;
8182 8072
8183 Element previousElementSibling; 8073 Element previousElementSibling;
8184 } 8074 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8185 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8186 // for details. All rights reserved. Use of this source code is governed by a 8075 // for details. All rights reserved. Use of this source code is governed by a
8187 // BSD-style license that can be found in the LICENSE file. 8076 // BSD-style license that can be found in the LICENSE file.
8188 8077
8189 8078
8190 /// @domName HTMLEmbedElement; @docsEditable true 8079 /// @domName HTMLEmbedElement; @docsEditable true
8191 class EmbedElement extends Element implements Element native "*HTMLEmbedElement" { 8080 class EmbedElement extends Element implements Element native "*HTMLEmbedElement" {
8192 8081
8193 factory EmbedElement() => document.$dom_createElement("embed"); 8082 factory EmbedElement() => document.$dom_createElement("embed");
8194 8083
8195 /// @domName HTMLEmbedElement.align; @docsEditable true 8084 /// @domName HTMLEmbedElement.align; @docsEditable true
8196 String align; 8085 String align;
8197 8086
8198 /// @domName HTMLEmbedElement.height; @docsEditable true 8087 /// @domName HTMLEmbedElement.height; @docsEditable true
8199 String height; 8088 String height;
8200 8089
8201 /// @domName HTMLEmbedElement.name; @docsEditable true 8090 /// @domName HTMLEmbedElement.name; @docsEditable true
8202 String name; 8091 String name;
8203 8092
8204 /// @domName HTMLEmbedElement.src; @docsEditable true 8093 /// @domName HTMLEmbedElement.src; @docsEditable true
8205 String src; 8094 String src;
8206 8095
8207 /// @domName HTMLEmbedElement.type; @docsEditable true 8096 /// @domName HTMLEmbedElement.type; @docsEditable true
8208 String type; 8097 String type;
8209 8098
8210 /// @domName HTMLEmbedElement.width; @docsEditable true 8099 /// @domName HTMLEmbedElement.width; @docsEditable true
8211 String width; 8100 String width;
8212 } 8101 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8213 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8214 // for details. All rights reserved. Use of this source code is governed by a 8102 // for details. All rights reserved. Use of this source code is governed by a
8215 // BSD-style license that can be found in the LICENSE file. 8103 // BSD-style license that can be found in the LICENSE file.
8216 8104
8217 8105
8218 /// @domName EntityReference; @docsEditable true 8106 /// @domName EntityReference; @docsEditable true
8219 class EntityReference extends Node native "*EntityReference" { 8107 class EntityReference extends Node native "*EntityReference" {
8220 } 8108 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8221 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8222 // for details. All rights reserved. Use of this source code is governed by a 8109 // for details. All rights reserved. Use of this source code is governed by a
8223 // BSD-style license that can be found in the LICENSE file. 8110 // BSD-style license that can be found in the LICENSE file.
8224 8111
8225 // WARNING: Do not edit - generated code. 8112 // WARNING: Do not edit - generated code.
8226 8113
8227 8114
8228 typedef void EntriesCallback(List<Entry> entries); 8115 typedef void EntriesCallback(List<Entry> entries);// Copyright (c) 2012, the Dar t project authors. Please see the AUTHORS file
8229 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8230 // for details. All rights reserved. Use of this source code is governed by a 8116 // for details. All rights reserved. Use of this source code is governed by a
8231 // BSD-style license that can be found in the LICENSE file. 8117 // BSD-style license that can be found in the LICENSE file.
8232 8118
8233 8119
8234 /// @domName Entry; @docsEditable true 8120 /// @domName Entry; @docsEditable true
8235 class Entry native "*Entry" { 8121 class Entry native "*Entry" {
8236 8122
8237 /// @domName Entry.filesystem; @docsEditable true 8123 /// @domName Entry.filesystem; @docsEditable true
8238 final DOMFileSystem filesystem; 8124 final DOMFileSystem filesystem;
8239 8125
(...skipping 19 matching lines...) Expand all
8259 void getParent([EntryCallback successCallback, ErrorCallback errorCallback]) n ative; 8145 void getParent([EntryCallback successCallback, ErrorCallback errorCallback]) n ative;
8260 8146
8261 /// @domName Entry.moveTo; @docsEditable true 8147 /// @domName Entry.moveTo; @docsEditable true
8262 void moveTo(DirectoryEntry parent, [String name, EntryCallback successCallback , ErrorCallback errorCallback]) native; 8148 void moveTo(DirectoryEntry parent, [String name, EntryCallback successCallback , ErrorCallback errorCallback]) native;
8263 8149
8264 /// @domName Entry.remove; @docsEditable true 8150 /// @domName Entry.remove; @docsEditable true
8265 void remove(VoidCallback successCallback, [ErrorCallback errorCallback]) nativ e; 8151 void remove(VoidCallback successCallback, [ErrorCallback errorCallback]) nativ e;
8266 8152
8267 /// @domName Entry.toURL; @docsEditable true 8153 /// @domName Entry.toURL; @docsEditable true
8268 String toURL() native; 8154 String toURL() native;
8269 } 8155 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8270 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8271 // for details. All rights reserved. Use of this source code is governed by a 8156 // for details. All rights reserved. Use of this source code is governed by a
8272 // BSD-style license that can be found in the LICENSE file. 8157 // BSD-style license that can be found in the LICENSE file.
8273 8158
8274 // WARNING: Do not edit - generated code. 8159 // WARNING: Do not edit - generated code.
8275 8160
8276 8161
8277 typedef void EntryCallback(Entry entry); 8162 typedef void EntryCallback(Entry entry);// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8278 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8279 // for details. All rights reserved. Use of this source code is governed by a 8163 // for details. All rights reserved. Use of this source code is governed by a
8280 // BSD-style license that can be found in the LICENSE file. 8164 // BSD-style license that can be found in the LICENSE file.
8281 8165
8282 8166
8283 /// @domName EntrySync; @docsEditable true 8167 /// @domName EntrySync; @docsEditable true
8284 class EntrySync native "*EntrySync" { 8168 class EntrySync native "*EntrySync" {
8285 8169
8286 /// @domName EntrySync.filesystem; @docsEditable true 8170 /// @domName EntrySync.filesystem; @docsEditable true
8287 final DOMFileSystemSync filesystem; 8171 final DOMFileSystemSync filesystem;
8288 8172
(...skipping 19 matching lines...) Expand all
8308 EntrySync getParent() native; 8192 EntrySync getParent() native;
8309 8193
8310 /// @domName EntrySync.moveTo; @docsEditable true 8194 /// @domName EntrySync.moveTo; @docsEditable true
8311 EntrySync moveTo(DirectoryEntrySync parent, String name) native; 8195 EntrySync moveTo(DirectoryEntrySync parent, String name) native;
8312 8196
8313 /// @domName EntrySync.remove; @docsEditable true 8197 /// @domName EntrySync.remove; @docsEditable true
8314 void remove() native; 8198 void remove() native;
8315 8199
8316 /// @domName EntrySync.toURL; @docsEditable true 8200 /// @domName EntrySync.toURL; @docsEditable true
8317 String toURL() native; 8201 String toURL() native;
8318 } 8202 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8319 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8320 // for details. All rights reserved. Use of this source code is governed by a 8203 // for details. All rights reserved. Use of this source code is governed by a
8321 // BSD-style license that can be found in the LICENSE file. 8204 // BSD-style license that can be found in the LICENSE file.
8322 8205
8323 // WARNING: Do not edit - generated code. 8206 // WARNING: Do not edit - generated code.
8324 8207
8325 8208
8326 typedef void ErrorCallback(FileError error); 8209 typedef void ErrorCallback(FileError error);// Copyright (c) 2012, the Dart proj ect authors. Please see the AUTHORS file
8327 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8328 // for details. All rights reserved. Use of this source code is governed by a 8210 // for details. All rights reserved. Use of this source code is governed by a
8329 // BSD-style license that can be found in the LICENSE file. 8211 // BSD-style license that can be found in the LICENSE file.
8330 8212
8331 8213
8332 /// @domName ErrorEvent; @docsEditable true 8214 /// @domName ErrorEvent; @docsEditable true
8333 class ErrorEvent extends Event native "*ErrorEvent" { 8215 class ErrorEvent extends Event native "*ErrorEvent" {
8334 8216
8335 /// @domName ErrorEvent.filename; @docsEditable true 8217 /// @domName ErrorEvent.filename; @docsEditable true
8336 final String filename; 8218 final String filename;
8337 8219
8338 /// @domName ErrorEvent.lineno; @docsEditable true 8220 /// @domName ErrorEvent.lineno; @docsEditable true
8339 final int lineno; 8221 final int lineno;
8340 8222
8341 /// @domName ErrorEvent.message; @docsEditable true 8223 /// @domName ErrorEvent.message; @docsEditable true
8342 final String message; 8224 final String message;
8343 } 8225 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8344 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8345 // for details. All rights reserved. Use of this source code is governed by a 8226 // for details. All rights reserved. Use of this source code is governed by a
8346 // BSD-style license that can be found in the LICENSE file. 8227 // BSD-style license that can be found in the LICENSE file.
8347 8228
8348 // WARNING: Do not edit - generated code. 8229 // WARNING: Do not edit - generated code.
8349 8230
8350 8231
8351 class Event native "*Event" { 8232 class Event native "*Event" {
8352 // In JS, canBubble and cancelable are technically required parameters to 8233 // In JS, canBubble and cancelable are technically required parameters to
8353 // init*Event. In practice, though, if they aren't provided they simply 8234 // init*Event. In practice, though, if they aren't provided they simply
8354 // default to false (since that's Boolean(undefined)). 8235 // default to false (since that's Boolean(undefined)).
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
8438 8319
8439 /// @domName Event.preventDefault; @docsEditable true 8320 /// @domName Event.preventDefault; @docsEditable true
8440 void preventDefault() native; 8321 void preventDefault() native;
8441 8322
8442 /// @domName Event.stopImmediatePropagation; @docsEditable true 8323 /// @domName Event.stopImmediatePropagation; @docsEditable true
8443 void stopImmediatePropagation() native; 8324 void stopImmediatePropagation() native;
8444 8325
8445 /// @domName Event.stopPropagation; @docsEditable true 8326 /// @domName Event.stopPropagation; @docsEditable true
8446 void stopPropagation() native; 8327 void stopPropagation() native;
8447 8328
8448 } 8329 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8449 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8450 // for details. All rights reserved. Use of this source code is governed by a 8330 // for details. All rights reserved. Use of this source code is governed by a
8451 // BSD-style license that can be found in the LICENSE file. 8331 // BSD-style license that can be found in the LICENSE file.
8452 8332
8453 8333
8454 /// @domName EventException; @docsEditable true 8334 /// @domName EventException; @docsEditable true
8455 class EventException native "*EventException" { 8335 class EventException native "*EventException" {
8456 8336
8457 static const int DISPATCH_REQUEST_ERR = 1; 8337 static const int DISPATCH_REQUEST_ERR = 1;
8458 8338
8459 static const int UNSPECIFIED_EVENT_TYPE_ERR = 0; 8339 static const int UNSPECIFIED_EVENT_TYPE_ERR = 0;
8460 8340
8461 /// @domName EventException.code; @docsEditable true 8341 /// @domName EventException.code; @docsEditable true
8462 final int code; 8342 final int code;
8463 8343
8464 /// @domName EventException.message; @docsEditable true 8344 /// @domName EventException.message; @docsEditable true
8465 final String message; 8345 final String message;
8466 8346
8467 /// @domName EventException.name; @docsEditable true 8347 /// @domName EventException.name; @docsEditable true
8468 final String name; 8348 final String name;
8469 8349
8470 /// @domName EventException.toString; @docsEditable true 8350 /// @domName EventException.toString; @docsEditable true
8471 String toString() native; 8351 String toString() native;
8472 } 8352 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8473 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8474 // for details. All rights reserved. Use of this source code is governed by a 8353 // for details. All rights reserved. Use of this source code is governed by a
8475 // BSD-style license that can be found in the LICENSE file. 8354 // BSD-style license that can be found in the LICENSE file.
8476 8355
8477 8356
8478 /// @domName EventSource; @docsEditable true 8357 /// @domName EventSource; @docsEditable true
8479 class EventSource extends EventTarget native "*EventSource" { 8358 class EventSource extends EventTarget native "*EventSource" {
8480 8359
8481 factory EventSource(String scriptUrl) => _EventSourceFactoryProvider.createEve ntSource(scriptUrl); 8360 factory EventSource(String scriptUrl) => _EventSourceFactoryProvider.createEve ntSource(scriptUrl);
8482 8361
8483 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true 8362 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true
(...skipping 29 matching lines...) Expand all
8513 } 8392 }
8514 8393
8515 class EventSourceEvents extends Events { 8394 class EventSourceEvents extends Events {
8516 EventSourceEvents(EventTarget _ptr) : super(_ptr); 8395 EventSourceEvents(EventTarget _ptr) : super(_ptr);
8517 8396
8518 EventListenerList get error => this['error']; 8397 EventListenerList get error => this['error'];
8519 8398
8520 EventListenerList get message => this['message']; 8399 EventListenerList get message => this['message'];
8521 8400
8522 EventListenerList get open => this['open']; 8401 EventListenerList get open => this['open'];
8523 } 8402 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8524 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8525 // for details. All rights reserved. Use of this source code is governed by a 8403 // for details. All rights reserved. Use of this source code is governed by a
8526 // BSD-style license that can be found in the LICENSE file. 8404 // BSD-style license that can be found in the LICENSE file.
8527 8405
8528 8406
8529 class Events { 8407 class Events {
8530 /* Raw event target. */ 8408 /* Raw event target. */
8531 final EventTarget _ptr; 8409 final EventTarget _ptr;
8532 8410
8533 Events(this._ptr); 8411 Events(this._ptr);
8534 8412
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
8579 8457
8580 /// @domName EventTarget.addEventListener; @docsEditable true 8458 /// @domName EventTarget.addEventListener; @docsEditable true
8581 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu re]) native "addEventListener"; 8459 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu re]) native "addEventListener";
8582 8460
8583 /// @domName EventTarget.dispatchEvent; @docsEditable true 8461 /// @domName EventTarget.dispatchEvent; @docsEditable true
8584 bool $dom_dispatchEvent(Event event) native "dispatchEvent"; 8462 bool $dom_dispatchEvent(Event event) native "dispatchEvent";
8585 8463
8586 /// @domName EventTarget.removeEventListener; @docsEditable true 8464 /// @domName EventTarget.removeEventListener; @docsEditable true
8587 void $dom_removeEventListener(String type, EventListener listener, [bool useCa pture]) native "removeEventListener"; 8465 void $dom_removeEventListener(String type, EventListener listener, [bool useCa pture]) native "removeEventListener";
8588 8466
8589 } 8467 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8590 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8591 // for details. All rights reserved. Use of this source code is governed by a 8468 // for details. All rights reserved. Use of this source code is governed by a
8592 // BSD-style license that can be found in the LICENSE file. 8469 // BSD-style license that can be found in the LICENSE file.
8593 8470
8594 8471
8595 /// @domName HTMLFieldSetElement; @docsEditable true 8472 /// @domName HTMLFieldSetElement; @docsEditable true
8596 class FieldSetElement extends Element implements Element native "*HTMLFieldSetEl ement" { 8473 class FieldSetElement extends Element implements Element native "*HTMLFieldSetEl ement" {
8597 8474
8598 factory FieldSetElement() => document.$dom_createElement("fieldset"); 8475 factory FieldSetElement() => document.$dom_createElement("fieldset");
8599 8476
8600 /// @domName HTMLFieldSetElement.disabled; @docsEditable true 8477 /// @domName HTMLFieldSetElement.disabled; @docsEditable true
(...skipping 18 matching lines...) Expand all
8619 final ValidityState validity; 8496 final ValidityState validity;
8620 8497
8621 /// @domName HTMLFieldSetElement.willValidate; @docsEditable true 8498 /// @domName HTMLFieldSetElement.willValidate; @docsEditable true
8622 final bool willValidate; 8499 final bool willValidate;
8623 8500
8624 /// @domName HTMLFieldSetElement.checkValidity; @docsEditable true 8501 /// @domName HTMLFieldSetElement.checkValidity; @docsEditable true
8625 bool checkValidity() native; 8502 bool checkValidity() native;
8626 8503
8627 /// @domName HTMLFieldSetElement.setCustomValidity; @docsEditable true 8504 /// @domName HTMLFieldSetElement.setCustomValidity; @docsEditable true
8628 void setCustomValidity(String error) native; 8505 void setCustomValidity(String error) native;
8629 } 8506 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8630 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8631 // for details. All rights reserved. Use of this source code is governed by a 8507 // for details. All rights reserved. Use of this source code is governed by a
8632 // BSD-style license that can be found in the LICENSE file. 8508 // BSD-style license that can be found in the LICENSE file.
8633 8509
8634 8510
8635 /// @domName File; @docsEditable true 8511 /// @domName File; @docsEditable true
8636 class File extends Blob native "*File" { 8512 class File extends Blob native "*File" {
8637 8513
8638 /// @domName File.lastModifiedDate; @docsEditable true 8514 /// @domName File.lastModifiedDate; @docsEditable true
8639 final Date lastModifiedDate; 8515 final Date lastModifiedDate;
8640 8516
8641 /// @domName File.name; @docsEditable true 8517 /// @domName File.name; @docsEditable true
8642 final String name; 8518 final String name;
8643 8519
8644 /// @domName File.webkitRelativePath; @docsEditable true 8520 /// @domName File.webkitRelativePath; @docsEditable true
8645 final String webkitRelativePath; 8521 final String webkitRelativePath;
8646 } 8522 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8647 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8648 // for details. All rights reserved. Use of this source code is governed by a 8523 // for details. All rights reserved. Use of this source code is governed by a
8649 // BSD-style license that can be found in the LICENSE file. 8524 // BSD-style license that can be found in the LICENSE file.
8650 8525
8651 // WARNING: Do not edit - generated code. 8526 // WARNING: Do not edit - generated code.
8652 8527
8653 8528
8654 typedef void FileCallback(File file); 8529 typedef void FileCallback(File file);// Copyright (c) 2012, the Dart project aut hors. Please see the AUTHORS file
8655 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8656 // for details. All rights reserved. Use of this source code is governed by a 8530 // for details. All rights reserved. Use of this source code is governed by a
8657 // BSD-style license that can be found in the LICENSE file. 8531 // BSD-style license that can be found in the LICENSE file.
8658 8532
8659 8533
8660 /// @domName FileEntry; @docsEditable true 8534 /// @domName FileEntry; @docsEditable true
8661 class FileEntry extends Entry native "*FileEntry" { 8535 class FileEntry extends Entry native "*FileEntry" {
8662 8536
8663 /// @domName FileEntry.createWriter; @docsEditable true 8537 /// @domName FileEntry.createWriter; @docsEditable true
8664 void createWriter(FileWriterCallback successCallback, [ErrorCallback errorCall back]) native; 8538 void createWriter(FileWriterCallback successCallback, [ErrorCallback errorCall back]) native;
8665 8539
8666 /// @domName FileEntry.file; @docsEditable true 8540 /// @domName FileEntry.file; @docsEditable true
8667 void file(FileCallback successCallback, [ErrorCallback errorCallback]) native; 8541 void file(FileCallback successCallback, [ErrorCallback errorCallback]) native;
8668 } 8542 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8669 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8670 // for details. All rights reserved. Use of this source code is governed by a 8543 // for details. All rights reserved. Use of this source code is governed by a
8671 // BSD-style license that can be found in the LICENSE file. 8544 // BSD-style license that can be found in the LICENSE file.
8672 8545
8673 8546
8674 /// @domName FileEntrySync; @docsEditable true 8547 /// @domName FileEntrySync; @docsEditable true
8675 class FileEntrySync extends EntrySync native "*FileEntrySync" { 8548 class FileEntrySync extends EntrySync native "*FileEntrySync" {
8676 8549
8677 /// @domName FileEntrySync.createWriter; @docsEditable true 8550 /// @domName FileEntrySync.createWriter; @docsEditable true
8678 FileWriterSync createWriter() native; 8551 FileWriterSync createWriter() native;
8679 8552
8680 /// @domName FileEntrySync.file; @docsEditable true 8553 /// @domName FileEntrySync.file; @docsEditable true
8681 File file() native; 8554 File file() native;
8682 } 8555 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8683 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8684 // for details. All rights reserved. Use of this source code is governed by a 8556 // for details. All rights reserved. Use of this source code is governed by a
8685 // BSD-style license that can be found in the LICENSE file. 8557 // BSD-style license that can be found in the LICENSE file.
8686 8558
8687 8559
8688 /// @domName FileError; @docsEditable true 8560 /// @domName FileError; @docsEditable true
8689 class FileError native "*FileError" { 8561 class FileError native "*FileError" {
8690 8562
8691 static const int ABORT_ERR = 3; 8563 static const int ABORT_ERR = 3;
8692 8564
8693 static const int ENCODING_ERR = 5; 8565 static const int ENCODING_ERR = 5;
(...skipping 13 matching lines...) Expand all
8707 static const int QUOTA_EXCEEDED_ERR = 10; 8579 static const int QUOTA_EXCEEDED_ERR = 10;
8708 8580
8709 static const int SECURITY_ERR = 2; 8581 static const int SECURITY_ERR = 2;
8710 8582
8711 static const int SYNTAX_ERR = 8; 8583 static const int SYNTAX_ERR = 8;
8712 8584
8713 static const int TYPE_MISMATCH_ERR = 11; 8585 static const int TYPE_MISMATCH_ERR = 11;
8714 8586
8715 /// @domName FileError.code; @docsEditable true 8587 /// @domName FileError.code; @docsEditable true
8716 final int code; 8588 final int code;
8717 } 8589 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8718 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8719 // for details. All rights reserved. Use of this source code is governed by a 8590 // for details. All rights reserved. Use of this source code is governed by a
8720 // BSD-style license that can be found in the LICENSE file. 8591 // BSD-style license that can be found in the LICENSE file.
8721 8592
8722 8593
8723 /// @domName FileException; @docsEditable true 8594 /// @domName FileException; @docsEditable true
8724 class FileException native "*FileException" { 8595 class FileException native "*FileException" {
8725 8596
8726 static const int ABORT_ERR = 3; 8597 static const int ABORT_ERR = 3;
8727 8598
8728 static const int ENCODING_ERR = 5; 8599 static const int ENCODING_ERR = 5;
(...skipping 22 matching lines...) Expand all
8751 final int code; 8622 final int code;
8752 8623
8753 /// @domName FileException.message; @docsEditable true 8624 /// @domName FileException.message; @docsEditable true
8754 final String message; 8625 final String message;
8755 8626
8756 /// @domName FileException.name; @docsEditable true 8627 /// @domName FileException.name; @docsEditable true
8757 final String name; 8628 final String name;
8758 8629
8759 /// @domName FileException.toString; @docsEditable true 8630 /// @domName FileException.toString; @docsEditable true
8760 String toString() native; 8631 String toString() native;
8761 } 8632 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8762 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8763 // for details. All rights reserved. Use of this source code is governed by a 8633 // for details. All rights reserved. Use of this source code is governed by a
8764 // BSD-style license that can be found in the LICENSE file. 8634 // BSD-style license that can be found in the LICENSE file.
8765 8635
8766 8636
8767 /// @domName FileReader; @docsEditable true 8637 /// @domName FileReader; @docsEditable true
8768 class FileReader extends EventTarget native "*FileReader" { 8638 class FileReader extends EventTarget native "*FileReader" {
8769 8639
8770 factory FileReader() => _FileReaderFactoryProvider.createFileReader(); 8640 factory FileReader() => _FileReaderFactoryProvider.createFileReader();
8771 8641
8772 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true 8642 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
8821 8691
8822 EventListenerList get error => this['error']; 8692 EventListenerList get error => this['error'];
8823 8693
8824 EventListenerList get load => this['load']; 8694 EventListenerList get load => this['load'];
8825 8695
8826 EventListenerList get loadEnd => this['loadend']; 8696 EventListenerList get loadEnd => this['loadend'];
8827 8697
8828 EventListenerList get loadStart => this['loadstart']; 8698 EventListenerList get loadStart => this['loadstart'];
8829 8699
8830 EventListenerList get progress => this['progress']; 8700 EventListenerList get progress => this['progress'];
8831 } 8701 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8832 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8833 // for details. All rights reserved. Use of this source code is governed by a 8702 // for details. All rights reserved. Use of this source code is governed by a
8834 // BSD-style license that can be found in the LICENSE file. 8703 // BSD-style license that can be found in the LICENSE file.
8835 8704
8836 8705
8837 /// @domName FileReaderSync; @docsEditable true 8706 /// @domName FileReaderSync; @docsEditable true
8838 class FileReaderSync native "*FileReaderSync" { 8707 class FileReaderSync native "*FileReaderSync" {
8839 8708
8840 factory FileReaderSync() => _FileReaderSyncFactoryProvider.createFileReaderSyn c(); 8709 factory FileReaderSync() => _FileReaderSyncFactoryProvider.createFileReaderSyn c();
8841 8710
8842 /// @domName FileReaderSync.readAsArrayBuffer; @docsEditable true 8711 /// @domName FileReaderSync.readAsArrayBuffer; @docsEditable true
8843 ArrayBuffer readAsArrayBuffer(Blob blob) native; 8712 ArrayBuffer readAsArrayBuffer(Blob blob) native;
8844 8713
8845 /// @domName FileReaderSync.readAsBinaryString; @docsEditable true 8714 /// @domName FileReaderSync.readAsBinaryString; @docsEditable true
8846 String readAsBinaryString(Blob blob) native; 8715 String readAsBinaryString(Blob blob) native;
8847 8716
8848 /// @domName FileReaderSync.readAsDataURL; @docsEditable true 8717 /// @domName FileReaderSync.readAsDataURL; @docsEditable true
8849 String readAsDataURL(Blob blob) native; 8718 String readAsDataURL(Blob blob) native;
8850 8719
8851 /// @domName FileReaderSync.readAsText; @docsEditable true 8720 /// @domName FileReaderSync.readAsText; @docsEditable true
8852 String readAsText(Blob blob, [String encoding]) native; 8721 String readAsText(Blob blob, [String encoding]) native;
8853 } 8722 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8854 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8855 // for details. All rights reserved. Use of this source code is governed by a 8723 // for details. All rights reserved. Use of this source code is governed by a
8856 // BSD-style license that can be found in the LICENSE file. 8724 // BSD-style license that can be found in the LICENSE file.
8857 8725
8858 // WARNING: Do not edit - generated code. 8726 // WARNING: Do not edit - generated code.
8859 8727
8860 8728
8861 typedef void FileSystemCallback(DOMFileSystem fileSystem); 8729 typedef void FileSystemCallback(DOMFileSystem fileSystem);// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8862 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8863 // for details. All rights reserved. Use of this source code is governed by a 8730 // for details. All rights reserved. Use of this source code is governed by a
8864 // BSD-style license that can be found in the LICENSE file. 8731 // BSD-style license that can be found in the LICENSE file.
8865 8732
8866 8733
8867 /// @domName FileWriter; @docsEditable true 8734 /// @domName FileWriter; @docsEditable true
8868 class FileWriter extends EventTarget native "*FileWriter" { 8735 class FileWriter extends EventTarget native "*FileWriter" {
8869 8736
8870 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true 8737 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true
8871 FileWriterEvents get on => 8738 FileWriterEvents get on =>
8872 new FileWriterEvents(this); 8739 new FileWriterEvents(this);
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
8918 8785
8919 EventListenerList get error => this['error']; 8786 EventListenerList get error => this['error'];
8920 8787
8921 EventListenerList get progress => this['progress']; 8788 EventListenerList get progress => this['progress'];
8922 8789
8923 EventListenerList get write => this['write']; 8790 EventListenerList get write => this['write'];
8924 8791
8925 EventListenerList get writeEnd => this['writeend']; 8792 EventListenerList get writeEnd => this['writeend'];
8926 8793
8927 EventListenerList get writeStart => this['writestart']; 8794 EventListenerList get writeStart => this['writestart'];
8928 } 8795 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8929 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8930 // for details. All rights reserved. Use of this source code is governed by a 8796 // for details. All rights reserved. Use of this source code is governed by a
8931 // BSD-style license that can be found in the LICENSE file. 8797 // BSD-style license that can be found in the LICENSE file.
8932 8798
8933 // WARNING: Do not edit - generated code. 8799 // WARNING: Do not edit - generated code.
8934 8800
8935 8801
8936 typedef void FileWriterCallback(FileWriter fileWriter); 8802 typedef void FileWriterCallback(FileWriter fileWriter);// Copyright (c) 2012, th e Dart project authors. Please see the AUTHORS file
8937 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8938 // for details. All rights reserved. Use of this source code is governed by a 8803 // for details. All rights reserved. Use of this source code is governed by a
8939 // BSD-style license that can be found in the LICENSE file. 8804 // BSD-style license that can be found in the LICENSE file.
8940 8805
8941 8806
8942 /// @domName FileWriterSync; @docsEditable true 8807 /// @domName FileWriterSync; @docsEditable true
8943 class FileWriterSync native "*FileWriterSync" { 8808 class FileWriterSync native "*FileWriterSync" {
8944 8809
8945 /// @domName FileWriterSync.length; @docsEditable true 8810 /// @domName FileWriterSync.length; @docsEditable true
8946 final int length; 8811 final int length;
8947 8812
8948 /// @domName FileWriterSync.position; @docsEditable true 8813 /// @domName FileWriterSync.position; @docsEditable true
8949 final int position; 8814 final int position;
8950 8815
8951 /// @domName FileWriterSync.seek; @docsEditable true 8816 /// @domName FileWriterSync.seek; @docsEditable true
8952 void seek(int position) native; 8817 void seek(int position) native;
8953 8818
8954 /// @domName FileWriterSync.truncate; @docsEditable true 8819 /// @domName FileWriterSync.truncate; @docsEditable true
8955 void truncate(int size) native; 8820 void truncate(int size) native;
8956 8821
8957 /// @domName FileWriterSync.write; @docsEditable true 8822 /// @domName FileWriterSync.write; @docsEditable true
8958 void write(Blob data) native; 8823 void write(Blob data) native;
8959 } 8824 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8960 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8961 // for details. All rights reserved. Use of this source code is governed by a 8825 // for details. All rights reserved. Use of this source code is governed by a
8962 // BSD-style license that can be found in the LICENSE file. 8826 // BSD-style license that can be found in the LICENSE file.
8963 8827
8964 8828
8965 /// @domName Float32Array; @docsEditable true 8829 /// @domName Float32Array; @docsEditable true
8966 class Float32Array extends ArrayBufferView implements JavaScriptIndexingBehavior , List<num> native "*Float32Array" { 8830 class Float32Array extends ArrayBufferView implements JavaScriptIndexingBehavior , List<num> native "*Float32Array" {
8967 8831
8968 factory Float32Array(int length) => 8832 factory Float32Array(int length) =>
8969 _TypedArrayFactoryProvider.createFloat32Array(length); 8833 _TypedArrayFactoryProvider.createFloat32Array(length);
8970 8834
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
9059 List<num> getRange(int start, int rangeLength) => 8923 List<num> getRange(int start, int rangeLength) =>
9060 _Lists.getRange(this, start, rangeLength, <num>[]); 8924 _Lists.getRange(this, start, rangeLength, <num>[]);
9061 8925
9062 // -- end List<num> mixins. 8926 // -- end List<num> mixins.
9063 8927
9064 /// @domName Float32Array.setElements; @docsEditable true 8928 /// @domName Float32Array.setElements; @docsEditable true
9065 void setElements(Object array, [int offset]) native "set"; 8929 void setElements(Object array, [int offset]) native "set";
9066 8930
9067 /// @domName Float32Array.subarray; @docsEditable true 8931 /// @domName Float32Array.subarray; @docsEditable true
9068 Float32Array subarray(int start, [int end]) native; 8932 Float32Array subarray(int start, [int end]) native;
9069 } 8933 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9070 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9071 // for details. All rights reserved. Use of this source code is governed by a 8934 // for details. All rights reserved. Use of this source code is governed by a
9072 // BSD-style license that can be found in the LICENSE file. 8935 // BSD-style license that can be found in the LICENSE file.
9073 8936
9074 8937
9075 /// @domName Float64Array; @docsEditable true 8938 /// @domName Float64Array; @docsEditable true
9076 class Float64Array extends ArrayBufferView implements JavaScriptIndexingBehavior , List<num> native "*Float64Array" { 8939 class Float64Array extends ArrayBufferView implements JavaScriptIndexingBehavior , List<num> native "*Float64Array" {
9077 8940
9078 factory Float64Array(int length) => 8941 factory Float64Array(int length) =>
9079 _TypedArrayFactoryProvider.createFloat64Array(length); 8942 _TypedArrayFactoryProvider.createFloat64Array(length);
9080 8943
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
9169 List<num> getRange(int start, int rangeLength) => 9032 List<num> getRange(int start, int rangeLength) =>
9170 _Lists.getRange(this, start, rangeLength, <num>[]); 9033 _Lists.getRange(this, start, rangeLength, <num>[]);
9171 9034
9172 // -- end List<num> mixins. 9035 // -- end List<num> mixins.
9173 9036
9174 /// @domName Float64Array.setElements; @docsEditable true 9037 /// @domName Float64Array.setElements; @docsEditable true
9175 void setElements(Object array, [int offset]) native "set"; 9038 void setElements(Object array, [int offset]) native "set";
9176 9039
9177 /// @domName Float64Array.subarray; @docsEditable true 9040 /// @domName Float64Array.subarray; @docsEditable true
9178 Float64Array subarray(int start, [int end]) native; 9041 Float64Array subarray(int start, [int end]) native;
9179 } 9042 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9180 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9181 // for details. All rights reserved. Use of this source code is governed by a 9043 // for details. All rights reserved. Use of this source code is governed by a
9182 // BSD-style license that can be found in the LICENSE file. 9044 // BSD-style license that can be found in the LICENSE file.
9183 9045
9184 9046
9185 /// @domName HTMLFontElement; @docsEditable true 9047 /// @domName HTMLFontElement; @docsEditable true
9186 class FontElement extends Element implements Element native "*HTMLFontElement" { 9048 class FontElement extends Element implements Element native "*HTMLFontElement" {
9187 9049
9188 /// @domName HTMLFontElement.color; @docsEditable true 9050 /// @domName HTMLFontElement.color; @docsEditable true
9189 String color; 9051 String color;
9190 9052
9191 /// @domName HTMLFontElement.face; @docsEditable true 9053 /// @domName HTMLFontElement.face; @docsEditable true
9192 String face; 9054 String face;
9193 9055
9194 /// @domName HTMLFontElement.size; @docsEditable true 9056 /// @domName HTMLFontElement.size; @docsEditable true
9195 String size; 9057 String size;
9196 } 9058 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9197 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9198 // for details. All rights reserved. Use of this source code is governed by a 9059 // for details. All rights reserved. Use of this source code is governed by a
9199 // BSD-style license that can be found in the LICENSE file. 9060 // BSD-style license that can be found in the LICENSE file.
9200 9061
9201 9062
9202 /// @domName FormData; @docsEditable true 9063 /// @domName FormData; @docsEditable true
9203 class FormData native "*FormData" { 9064 class FormData native "*FormData" {
9204 9065
9205 factory FormData([FormElement form]) { 9066 factory FormData([FormElement form]) {
9206 if (!?form) { 9067 if (!?form) {
9207 return _FormDataFactoryProvider.createFormData(); 9068 return _FormDataFactoryProvider.createFormData();
9208 } 9069 }
9209 return _FormDataFactoryProvider.createFormData(form); 9070 return _FormDataFactoryProvider.createFormData(form);
9210 } 9071 }
9211 9072
9212 /// @domName FormData.append; @docsEditable true 9073 /// @domName FormData.append; @docsEditable true
9213 void append(String name, String value, String filename) native; 9074 void append(String name, String value, String filename) native;
9214 } 9075 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9215 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9216 // for details. All rights reserved. Use of this source code is governed by a 9076 // for details. All rights reserved. Use of this source code is governed by a
9217 // BSD-style license that can be found in the LICENSE file. 9077 // BSD-style license that can be found in the LICENSE file.
9218 9078
9219 9079
9220 /// @domName HTMLFormElement; @docsEditable true 9080 /// @domName HTMLFormElement; @docsEditable true
9221 class FormElement extends Element implements Element native "*HTMLFormElement" { 9081 class FormElement extends Element implements Element native "*HTMLFormElement" {
9222 9082
9223 factory FormElement() => document.$dom_createElement("form"); 9083 factory FormElement() => document.$dom_createElement("form");
9224 9084
9225 /// @domName HTMLFormElement.acceptCharset; @docsEditable true 9085 /// @domName HTMLFormElement.acceptCharset; @docsEditable true
(...skipping 27 matching lines...) Expand all
9253 String target; 9113 String target;
9254 9114
9255 /// @domName HTMLFormElement.checkValidity; @docsEditable true 9115 /// @domName HTMLFormElement.checkValidity; @docsEditable true
9256 bool checkValidity() native; 9116 bool checkValidity() native;
9257 9117
9258 /// @domName HTMLFormElement.reset; @docsEditable true 9118 /// @domName HTMLFormElement.reset; @docsEditable true
9259 void reset() native; 9119 void reset() native;
9260 9120
9261 /// @domName HTMLFormElement.submit; @docsEditable true 9121 /// @domName HTMLFormElement.submit; @docsEditable true
9262 void submit() native; 9122 void submit() native;
9263 } 9123 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9264 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9265 // for details. All rights reserved. Use of this source code is governed by a 9124 // for details. All rights reserved. Use of this source code is governed by a
9266 // BSD-style license that can be found in the LICENSE file. 9125 // BSD-style license that can be found in the LICENSE file.
9267 9126
9268 9127
9269 /// @domName HTMLFrameElement; @docsEditable true 9128 /// @domName HTMLFrameElement; @docsEditable true
9270 class FrameElement extends Element implements Element native "*HTMLFrameElement" { 9129 class FrameElement extends Element implements Element native "*HTMLFrameElement" {
9271 9130
9272 /// @domName HTMLFrameElement.contentWindow; @docsEditable true 9131 /// @domName HTMLFrameElement.contentWindow; @docsEditable true
9273 Window get contentWindow => _convertNativeToDart_Window(this._contentWindow); 9132 Window get contentWindow => _convertNativeToDart_Window(this._contentWindow);
9274 dynamic get _contentWindow => JS("dynamic", "#.contentWindow", this); 9133 dynamic get _contentWindow => JS("dynamic", "#.contentWindow", this);
(...skipping 23 matching lines...) Expand all
9298 bool noResize; 9157 bool noResize;
9299 9158
9300 /// @domName HTMLFrameElement.scrolling; @docsEditable true 9159 /// @domName HTMLFrameElement.scrolling; @docsEditable true
9301 String scrolling; 9160 String scrolling;
9302 9161
9303 /// @domName HTMLFrameElement.src; @docsEditable true 9162 /// @domName HTMLFrameElement.src; @docsEditable true
9304 String src; 9163 String src;
9305 9164
9306 /// @domName HTMLFrameElement.width; @docsEditable true 9165 /// @domName HTMLFrameElement.width; @docsEditable true
9307 final int width; 9166 final int width;
9308 } 9167 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9309 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9310 // for details. All rights reserved. Use of this source code is governed by a 9168 // for details. All rights reserved. Use of this source code is governed by a
9311 // BSD-style license that can be found in the LICENSE file. 9169 // BSD-style license that can be found in the LICENSE file.
9312 9170
9313 9171
9314 /// @domName HTMLFrameSetElement; @docsEditable true 9172 /// @domName HTMLFrameSetElement; @docsEditable true
9315 class FrameSetElement extends Element implements Element native "*HTMLFrameSetEl ement" { 9173 class FrameSetElement extends Element implements Element native "*HTMLFrameSetEl ement" {
9316 9174
9317 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true 9175 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true
9318 FrameSetElementEvents get on => 9176 FrameSetElementEvents get on =>
9319 new FrameSetElementEvents(this); 9177 new FrameSetElementEvents(this);
(...skipping 26 matching lines...) Expand all
9346 9204
9347 EventListenerList get online => this['online']; 9205 EventListenerList get online => this['online'];
9348 9206
9349 EventListenerList get popState => this['popstate']; 9207 EventListenerList get popState => this['popstate'];
9350 9208
9351 EventListenerList get resize => this['resize']; 9209 EventListenerList get resize => this['resize'];
9352 9210
9353 EventListenerList get storage => this['storage']; 9211 EventListenerList get storage => this['storage'];
9354 9212
9355 EventListenerList get unload => this['unload']; 9213 EventListenerList get unload => this['unload'];
9356 } 9214 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9357 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9358 // for details. All rights reserved. Use of this source code is governed by a 9215 // for details. All rights reserved. Use of this source code is governed by a
9359 // BSD-style license that can be found in the LICENSE file. 9216 // BSD-style license that can be found in the LICENSE file.
9360 9217
9361 9218
9362 /// @domName GainNode; @docsEditable true 9219 /// @domName GainNode; @docsEditable true
9363 class GainNode extends AudioNode native "*GainNode" { 9220 class GainNode extends AudioNode native "*GainNode" {
9364 9221
9365 /// @domName GainNode.gain; @docsEditable true 9222 /// @domName GainNode.gain; @docsEditable true
9366 final AudioGain gain; 9223 final AudioGain gain;
9367 } 9224 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9368 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9369 // for details. All rights reserved. Use of this source code is governed by a 9225 // for details. All rights reserved. Use of this source code is governed by a
9370 // BSD-style license that can be found in the LICENSE file. 9226 // BSD-style license that can be found in the LICENSE file.
9371 9227
9372 9228
9373 /// @domName Gamepad; @docsEditable true 9229 /// @domName Gamepad; @docsEditable true
9374 class Gamepad native "*Gamepad" { 9230 class Gamepad native "*Gamepad" {
9375 9231
9376 /// @domName Gamepad.axes; @docsEditable true 9232 /// @domName Gamepad.axes; @docsEditable true
9377 final List<num> axes; 9233 final List<num> axes;
9378 9234
9379 /// @domName Gamepad.buttons; @docsEditable true 9235 /// @domName Gamepad.buttons; @docsEditable true
9380 final List<num> buttons; 9236 final List<num> buttons;
9381 9237
9382 /// @domName Gamepad.id; @docsEditable true 9238 /// @domName Gamepad.id; @docsEditable true
9383 final String id; 9239 final String id;
9384 9240
9385 /// @domName Gamepad.index; @docsEditable true 9241 /// @domName Gamepad.index; @docsEditable true
9386 final int index; 9242 final int index;
9387 9243
9388 /// @domName Gamepad.timestamp; @docsEditable true 9244 /// @domName Gamepad.timestamp; @docsEditable true
9389 final int timestamp; 9245 final int timestamp;
9390 } 9246 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9391 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9392 // for details. All rights reserved. Use of this source code is governed by a 9247 // for details. All rights reserved. Use of this source code is governed by a
9393 // BSD-style license that can be found in the LICENSE file. 9248 // BSD-style license that can be found in the LICENSE file.
9394 9249
9395 9250
9396 /// @domName Geolocation; @docsEditable true 9251 /// @domName Geolocation; @docsEditable true
9397 class Geolocation native "*Geolocation" { 9252 class Geolocation native "*Geolocation" {
9398 9253
9399 /// @domName Geolocation.clearWatch; @docsEditable true 9254 /// @domName Geolocation.clearWatch; @docsEditable true
9400 void clearWatch(int watchId) native; 9255 void clearWatch(int watchId) native;
9401 9256
9402 /// @domName Geolocation.getCurrentPosition; @docsEditable true 9257 /// @domName Geolocation.getCurrentPosition; @docsEditable true
9403 void getCurrentPosition(PositionCallback successCallback, [PositionErrorCallba ck errorCallback, Object options]) native; 9258 void getCurrentPosition(PositionCallback successCallback, [PositionErrorCallba ck errorCallback, Object options]) native;
9404 9259
9405 /// @domName Geolocation.watchPosition; @docsEditable true 9260 /// @domName Geolocation.watchPosition; @docsEditable true
9406 int watchPosition(PositionCallback successCallback, [PositionErrorCallback err orCallback, Object options]) native; 9261 int watchPosition(PositionCallback successCallback, [PositionErrorCallback err orCallback, Object options]) native;
9407 } 9262 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9408 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9409 // for details. All rights reserved. Use of this source code is governed by a 9263 // for details. All rights reserved. Use of this source code is governed by a
9410 // BSD-style license that can be found in the LICENSE file. 9264 // BSD-style license that can be found in the LICENSE file.
9411 9265
9412 9266
9413 /// @domName Geoposition; @docsEditable true 9267 /// @domName Geoposition; @docsEditable true
9414 class Geoposition native "*Geoposition" { 9268 class Geoposition native "*Geoposition" {
9415 9269
9416 /// @domName Geoposition.coords; @docsEditable true 9270 /// @domName Geoposition.coords; @docsEditable true
9417 final Coordinates coords; 9271 final Coordinates coords;
9418 9272
9419 /// @domName Geoposition.timestamp; @docsEditable true 9273 /// @domName Geoposition.timestamp; @docsEditable true
9420 final int timestamp; 9274 final int timestamp;
9421 } 9275 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9422 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9423 // for details. All rights reserved. Use of this source code is governed by a 9276 // for details. All rights reserved. Use of this source code is governed by a
9424 // BSD-style license that can be found in the LICENSE file. 9277 // BSD-style license that can be found in the LICENSE file.
9425 9278
9426 9279
9427 /// @domName HTMLHRElement; @docsEditable true 9280 /// @domName HTMLHRElement; @docsEditable true
9428 class HRElement extends Element implements Element native "*HTMLHRElement" { 9281 class HRElement extends Element implements Element native "*HTMLHRElement" {
9429 9282
9430 factory HRElement() => document.$dom_createElement("hr"); 9283 factory HRElement() => document.$dom_createElement("hr");
9431 9284
9432 /// @domName HTMLHRElement.align; @docsEditable true 9285 /// @domName HTMLHRElement.align; @docsEditable true
9433 String align; 9286 String align;
9434 9287
9435 /// @domName HTMLHRElement.noShade; @docsEditable true 9288 /// @domName HTMLHRElement.noShade; @docsEditable true
9436 bool noShade; 9289 bool noShade;
9437 9290
9438 /// @domName HTMLHRElement.size; @docsEditable true 9291 /// @domName HTMLHRElement.size; @docsEditable true
9439 String size; 9292 String size;
9440 9293
9441 /// @domName HTMLHRElement.width; @docsEditable true 9294 /// @domName HTMLHRElement.width; @docsEditable true
9442 String width; 9295 String width;
9443 } 9296 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9444 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9445 // for details. All rights reserved. Use of this source code is governed by a 9297 // for details. All rights reserved. Use of this source code is governed by a
9446 // BSD-style license that can be found in the LICENSE file. 9298 // BSD-style license that can be found in the LICENSE file.
9447 9299
9448 9300
9449 /// @domName HTMLAllCollection; @docsEditable true 9301 /// @domName HTMLAllCollection; @docsEditable true
9450 class HTMLAllCollection implements JavaScriptIndexingBehavior, List<Node> native "*HTMLAllCollection" { 9302 class HTMLAllCollection implements JavaScriptIndexingBehavior, List<Node> native "*HTMLAllCollection" {
9451 9303
9452 /// @domName HTMLAllCollection.length; @docsEditable true 9304 /// @domName HTMLAllCollection.length; @docsEditable true
9453 final int length; 9305 final int length;
9454 9306
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
9539 9391
9540 /// @domName HTMLAllCollection.item; @docsEditable true 9392 /// @domName HTMLAllCollection.item; @docsEditable true
9541 Node item(int index) native; 9393 Node item(int index) native;
9542 9394
9543 /// @domName HTMLAllCollection.namedItem; @docsEditable true 9395 /// @domName HTMLAllCollection.namedItem; @docsEditable true
9544 Node namedItem(String name) native; 9396 Node namedItem(String name) native;
9545 9397
9546 /// @domName HTMLAllCollection.tags; @docsEditable true 9398 /// @domName HTMLAllCollection.tags; @docsEditable true
9547 @Returns('_NodeList') @Creates('_NodeList') 9399 @Returns('_NodeList') @Creates('_NodeList')
9548 List<Node> tags(String name) native; 9400 List<Node> tags(String name) native;
9549 } 9401 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9550 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9551 // for details. All rights reserved. Use of this source code is governed by a 9402 // for details. All rights reserved. Use of this source code is governed by a
9552 // BSD-style license that can be found in the LICENSE file. 9403 // BSD-style license that can be found in the LICENSE file.
9553 9404
9554 9405
9555 /// @domName HTMLCollection; @docsEditable true 9406 /// @domName HTMLCollection; @docsEditable true
9556 class HTMLCollection implements JavaScriptIndexingBehavior, List<Node> native "* HTMLCollection" { 9407 class HTMLCollection implements JavaScriptIndexingBehavior, List<Node> native "* HTMLCollection" {
9557 9408
9558 /// @domName HTMLCollection.length; @docsEditable true 9409 /// @domName HTMLCollection.length; @docsEditable true
9559 final int length; 9410 final int length;
9560 9411
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
9641 List<Node> getRange(int start, int rangeLength) => 9492 List<Node> getRange(int start, int rangeLength) =>
9642 _Lists.getRange(this, start, rangeLength, <Node>[]); 9493 _Lists.getRange(this, start, rangeLength, <Node>[]);
9643 9494
9644 // -- end List<Node> mixins. 9495 // -- end List<Node> mixins.
9645 9496
9646 /// @domName HTMLCollection.item; @docsEditable true 9497 /// @domName HTMLCollection.item; @docsEditable true
9647 Node item(int index) native; 9498 Node item(int index) native;
9648 9499
9649 /// @domName HTMLCollection.namedItem; @docsEditable true 9500 /// @domName HTMLCollection.namedItem; @docsEditable true
9650 Node namedItem(String name) native; 9501 Node namedItem(String name) native;
9651 } 9502 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9652 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9653 // for details. All rights reserved. Use of this source code is governed by a 9503 // for details. All rights reserved. Use of this source code is governed by a
9654 // BSD-style license that can be found in the LICENSE file. 9504 // BSD-style license that can be found in the LICENSE file.
9655 9505
9656 9506
9657 /// @domName HTMLOptionsCollection; @docsEditable true 9507 /// @domName HTMLOptionsCollection; @docsEditable true
9658 class HTMLOptionsCollection extends HTMLCollection native "*HTMLOptionsCollectio n" { 9508 class HTMLOptionsCollection extends HTMLCollection native "*HTMLOptionsCollectio n" {
9659 9509
9660 // Shadowing definition. 9510 // Shadowing definition.
9661 /// @domName HTMLOptionsCollection.length; @docsEditable true 9511 /// @domName HTMLOptionsCollection.length; @docsEditable true
9662 int get length => JS("int", "#.length", this); 9512 int get length => JS("int", "#.length", this);
9663 9513
9664 /// @domName HTMLOptionsCollection.length; @docsEditable true 9514 /// @domName HTMLOptionsCollection.length; @docsEditable true
9665 void set length(int value) { 9515 void set length(int value) {
9666 JS("void", "#.length = #", this, value); 9516 JS("void", "#.length = #", this, value);
9667 } 9517 }
9668 9518
9669 /// @domName HTMLOptionsCollection.selectedIndex; @docsEditable true 9519 /// @domName HTMLOptionsCollection.selectedIndex; @docsEditable true
9670 int selectedIndex; 9520 int selectedIndex;
9671 9521
9672 /// @domName HTMLOptionsCollection.remove; @docsEditable true 9522 /// @domName HTMLOptionsCollection.remove; @docsEditable true
9673 void remove(int index) native; 9523 void remove(int index) native;
9674 } 9524 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9675 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9676 // for details. All rights reserved. Use of this source code is governed by a 9525 // for details. All rights reserved. Use of this source code is governed by a
9677 // BSD-style license that can be found in the LICENSE file. 9526 // BSD-style license that can be found in the LICENSE file.
9678 9527
9679 9528
9680 /// @domName HashChangeEvent; @docsEditable true 9529 /// @domName HashChangeEvent; @docsEditable true
9681 class HashChangeEvent extends Event native "*HashChangeEvent" { 9530 class HashChangeEvent extends Event native "*HashChangeEvent" {
9682 9531
9683 /// @domName HashChangeEvent.newURL; @docsEditable true 9532 /// @domName HashChangeEvent.newURL; @docsEditable true
9684 final String newURL; 9533 final String newURL;
9685 9534
9686 /// @domName HashChangeEvent.oldURL; @docsEditable true 9535 /// @domName HashChangeEvent.oldURL; @docsEditable true
9687 final String oldURL; 9536 final String oldURL;
9688 9537
9689 /// @domName HashChangeEvent.initHashChangeEvent; @docsEditable true 9538 /// @domName HashChangeEvent.initHashChangeEvent; @docsEditable true
9690 void initHashChangeEvent(String type, bool canBubble, bool cancelable, String oldURL, String newURL) native; 9539 void initHashChangeEvent(String type, bool canBubble, bool cancelable, String oldURL, String newURL) native;
9691 } 9540 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9692 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9693 // for details. All rights reserved. Use of this source code is governed by a 9541 // for details. All rights reserved. Use of this source code is governed by a
9694 // BSD-style license that can be found in the LICENSE file. 9542 // BSD-style license that can be found in the LICENSE file.
9695 9543
9696 9544
9697 /// @domName HTMLHeadElement; @docsEditable true 9545 /// @domName HTMLHeadElement; @docsEditable true
9698 class HeadElement extends Element implements Element native "*HTMLHeadElement" { 9546 class HeadElement extends Element implements Element native "*HTMLHeadElement" {
9699 9547
9700 factory HeadElement() => document.$dom_createElement("head"); 9548 factory HeadElement() => document.$dom_createElement("head");
9701 9549
9702 /// @domName HTMLHeadElement.profile; @docsEditable true 9550 /// @domName HTMLHeadElement.profile; @docsEditable true
9703 String profile; 9551 String profile;
9704 } 9552 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9705 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9706 // for details. All rights reserved. Use of this source code is governed by a 9553 // for details. All rights reserved. Use of this source code is governed by a
9707 // BSD-style license that can be found in the LICENSE file. 9554 // BSD-style license that can be found in the LICENSE file.
9708 9555
9709 9556
9710 /// @domName HTMLHeadingElement; @docsEditable true 9557 /// @domName HTMLHeadingElement; @docsEditable true
9711 class HeadingElement extends Element implements Element native "*HTMLHeadingElem ent" { 9558 class HeadingElement extends Element implements Element native "*HTMLHeadingElem ent" {
9712 9559
9713 factory HeadingElement.h1() => document.$dom_createElement("h1"); 9560 factory HeadingElement.h1() => document.$dom_createElement("h1");
9714 9561
9715 factory HeadingElement.h2() => document.$dom_createElement("h2"); 9562 factory HeadingElement.h2() => document.$dom_createElement("h2");
9716 9563
9717 factory HeadingElement.h3() => document.$dom_createElement("h3"); 9564 factory HeadingElement.h3() => document.$dom_createElement("h3");
9718 9565
9719 factory HeadingElement.h4() => document.$dom_createElement("h4"); 9566 factory HeadingElement.h4() => document.$dom_createElement("h4");
9720 9567
9721 factory HeadingElement.h5() => document.$dom_createElement("h5"); 9568 factory HeadingElement.h5() => document.$dom_createElement("h5");
9722 9569
9723 factory HeadingElement.h6() => document.$dom_createElement("h6"); 9570 factory HeadingElement.h6() => document.$dom_createElement("h6");
9724 9571
9725 /// @domName HTMLHeadingElement.align; @docsEditable true 9572 /// @domName HTMLHeadingElement.align; @docsEditable true
9726 String align; 9573 String align;
9727 } 9574 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9728 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9729 // for details. All rights reserved. Use of this source code is governed by a 9575 // for details. All rights reserved. Use of this source code is governed by a
9730 // BSD-style license that can be found in the LICENSE file. 9576 // BSD-style license that can be found in the LICENSE file.
9731 9577
9732 // WARNING: Do not edit - generated code. 9578 // WARNING: Do not edit - generated code.
9733 9579
9734 9580
9735 class HtmlDocument extends Document native "*HTMLDocument" { 9581 class HtmlDocument extends Document native "*HTMLDocument" {
9736 9582
9737 /// @domName HTMLDocument.activeElement; @docsEditable true 9583 /// @domName HTMLDocument.activeElement; @docsEditable true
9738 final Element activeElement; 9584 final Element activeElement;
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
9801 9647
9802 /** @domName Document.webkitIsFullScreen */ 9648 /** @domName Document.webkitIsFullScreen */
9803 bool get webkitIsFullScreen => document.$dom_webkitIsFullScreen; 9649 bool get webkitIsFullScreen => document.$dom_webkitIsFullScreen;
9804 9650
9805 /** @domName Document.webkitPointerLockElement */ 9651 /** @domName Document.webkitPointerLockElement */
9806 Element get webkitPointerLockElement => 9652 Element get webkitPointerLockElement =>
9807 document.$dom_webkitPointerLockElement; 9653 document.$dom_webkitPointerLockElement;
9808 9654
9809 /** @domName Document.webkitVisibilityState */ 9655 /** @domName Document.webkitVisibilityState */
9810 String get webkitVisibilityState => document.$dom_webkitVisibilityState; 9656 String get webkitVisibilityState => document.$dom_webkitVisibilityState;
9811 } 9657 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9812 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9813 // for details. All rights reserved. Use of this source code is governed by a 9658 // for details. All rights reserved. Use of this source code is governed by a
9814 // BSD-style license that can be found in the LICENSE file. 9659 // BSD-style license that can be found in the LICENSE file.
9815 9660
9816 9661
9817 /// @domName HTMLHtmlElement; @docsEditable true 9662 /// @domName HTMLHtmlElement; @docsEditable true
9818 class HtmlElement extends Element implements Element native "*HTMLHtmlElement" { 9663 class HtmlElement extends Element implements Element native "*HTMLHtmlElement" {
9819 9664
9820 factory HtmlElement() => document.$dom_createElement("html"); 9665 factory HtmlElement() => document.$dom_createElement("html");
9821 } 9666 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9822 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9823 // for details. All rights reserved. Use of this source code is governed by a 9667 // for details. All rights reserved. Use of this source code is governed by a
9824 // BSD-style license that can be found in the LICENSE file. 9668 // BSD-style license that can be found in the LICENSE file.
9825 9669
9826 9670
9827 class HttpRequest extends EventTarget native "*XMLHttpRequest" { 9671 class HttpRequest extends EventTarget native "*XMLHttpRequest" {
9828 factory HttpRequest.get(String url, onComplete(HttpRequest request)) => 9672 factory HttpRequest.get(String url, onComplete(HttpRequest request)) =>
9829 _HttpRequestFactoryProvider.createHttpRequest_get(url, onComplete); 9673 _HttpRequestFactoryProvider.createHttpRequest_get(url, onComplete);
9830 9674
9831 factory HttpRequest.getWithCredentials(String url, 9675 factory HttpRequest.getWithCredentials(String url,
9832 onComplete(HttpRequest request)) => 9676 onComplete(HttpRequest request)) =>
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
9919 9763
9920 EventListenerList get load => this['load']; 9764 EventListenerList get load => this['load'];
9921 9765
9922 EventListenerList get loadEnd => this['loadend']; 9766 EventListenerList get loadEnd => this['loadend'];
9923 9767
9924 EventListenerList get loadStart => this['loadstart']; 9768 EventListenerList get loadStart => this['loadstart'];
9925 9769
9926 EventListenerList get progress => this['progress']; 9770 EventListenerList get progress => this['progress'];
9927 9771
9928 EventListenerList get readyStateChange => this['readystatechange']; 9772 EventListenerList get readyStateChange => this['readystatechange'];
9929 } 9773 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9930 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9931 // for details. All rights reserved. Use of this source code is governed by a 9774 // for details. All rights reserved. Use of this source code is governed by a
9932 // BSD-style license that can be found in the LICENSE file. 9775 // BSD-style license that can be found in the LICENSE file.
9933 9776
9934 9777
9935 /// @domName XMLHttpRequestException; @docsEditable true 9778 /// @domName XMLHttpRequestException; @docsEditable true
9936 class HttpRequestException native "*XMLHttpRequestException" { 9779 class HttpRequestException native "*XMLHttpRequestException" {
9937 9780
9938 static const int ABORT_ERR = 102; 9781 static const int ABORT_ERR = 102;
9939 9782
9940 static const int NETWORK_ERR = 101; 9783 static const int NETWORK_ERR = 101;
9941 9784
9942 /// @domName XMLHttpRequestException.code; @docsEditable true 9785 /// @domName XMLHttpRequestException.code; @docsEditable true
9943 final int code; 9786 final int code;
9944 9787
9945 /// @domName XMLHttpRequestException.message; @docsEditable true 9788 /// @domName XMLHttpRequestException.message; @docsEditable true
9946 final String message; 9789 final String message;
9947 9790
9948 /// @domName XMLHttpRequestException.name; @docsEditable true 9791 /// @domName XMLHttpRequestException.name; @docsEditable true
9949 final String name; 9792 final String name;
9950 9793
9951 /// @domName XMLHttpRequestException.toString; @docsEditable true 9794 /// @domName XMLHttpRequestException.toString; @docsEditable true
9952 String toString() native; 9795 String toString() native;
9953 } 9796 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9954 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9955 // for details. All rights reserved. Use of this source code is governed by a 9797 // for details. All rights reserved. Use of this source code is governed by a
9956 // BSD-style license that can be found in the LICENSE file. 9798 // BSD-style license that can be found in the LICENSE file.
9957 9799
9958 9800
9959 /// @domName XMLHttpRequestProgressEvent; @docsEditable true 9801 /// @domName XMLHttpRequestProgressEvent; @docsEditable true
9960 class HttpRequestProgressEvent extends ProgressEvent native "*XMLHttpRequestProg ressEvent" { 9802 class HttpRequestProgressEvent extends ProgressEvent native "*XMLHttpRequestProg ressEvent" {
9961 9803
9962 /// @domName XMLHttpRequestProgressEvent.position; @docsEditable true 9804 /// @domName XMLHttpRequestProgressEvent.position; @docsEditable true
9963 final int position; 9805 final int position;
9964 9806
9965 /// @domName XMLHttpRequestProgressEvent.totalSize; @docsEditable true 9807 /// @domName XMLHttpRequestProgressEvent.totalSize; @docsEditable true
9966 final int totalSize; 9808 final int totalSize;
9967 } 9809 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9968 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9969 // for details. All rights reserved. Use of this source code is governed by a 9810 // for details. All rights reserved. Use of this source code is governed by a
9970 // BSD-style license that can be found in the LICENSE file. 9811 // BSD-style license that can be found in the LICENSE file.
9971 9812
9972 9813
9973 /// @domName XMLHttpRequestUpload; @docsEditable true 9814 /// @domName XMLHttpRequestUpload; @docsEditable true
9974 class HttpRequestUpload extends EventTarget native "*XMLHttpRequestUpload" { 9815 class HttpRequestUpload extends EventTarget native "*XMLHttpRequestUpload" {
9975 9816
9976 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true 9817 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true
9977 HttpRequestUploadEvents get on => 9818 HttpRequestUploadEvents get on =>
9978 new HttpRequestUploadEvents(this); 9819 new HttpRequestUploadEvents(this);
(...skipping 15 matching lines...) Expand all
9994 9835
9995 EventListenerList get error => this['error']; 9836 EventListenerList get error => this['error'];
9996 9837
9997 EventListenerList get load => this['load']; 9838 EventListenerList get load => this['load'];
9998 9839
9999 EventListenerList get loadEnd => this['loadend']; 9840 EventListenerList get loadEnd => this['loadend'];
10000 9841
10001 EventListenerList get loadStart => this['loadstart']; 9842 EventListenerList get loadStart => this['loadstart'];
10002 9843
10003 EventListenerList get progress => this['progress']; 9844 EventListenerList get progress => this['progress'];
10004 } 9845 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
10005 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
10006 // for details. All rights reserved. Use of this source code is governed by a 9846 // for details. All rights reserved. Use of this source code is governed by a
10007 // BSD-style license that can be found in the LICENSE file. 9847 // BSD-style license that can be found in the LICENSE file.
10008 9848
10009 9849
10010 /// @domName IDBAny; @docsEditable true 9850 /// @domName IDBAny; @docsEditable true
10011 class IDBAny native "*IDBAny" { 9851 class IDBAny native "*IDBAny" {
10012 } 9852 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
10013 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
10014 // for details. All rights reserved. Use of this source code is governed by a 9853 // for details. All rights reserved. Use of this source code is governed by a
10015 // BSD-style license that can be found in the LICENSE file. 9854 // BSD-style license that can be found in the LICENSE file.
10016 9855
10017 9856
10018 /// @domName IDBCursor; @docsEditable true 9857 /// @domName IDBCursor; @docsEditable true
10019 class IDBCursor native "*IDBCursor" { 9858 class IDBCursor native "*IDBCursor" {
10020 9859
10021 static const int NEXT = 0; 9860 static const int NEXT = 0;
10022 9861
10023 static const int NEXT_NO_DUPLICATE = 1; 9862 static const int NEXT_NO_DUPLICATE = 1;
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
10057 9896
10058 /// @domName IDBCursor.delete; @docsEditable true 9897 /// @domName IDBCursor.delete; @docsEditable true
10059 IDBRequest delete() native; 9898 IDBRequest delete() native;
10060 9899
10061 /// @domName IDBCursor.update; @docsEditable true 9900 /// @domName IDBCursor.update; @docsEditable true
10062 IDBRequest update(/*any*/ value) { 9901 IDBRequest update(/*any*/ value) {
10063 var value_1 = _convertDartToNative_SerializedScriptValue(value); 9902 var value_1 = _convertDartToNative_SerializedScriptValue(value);
10064 return _update_1(value_1); 9903 return _update_1(value_1);
10065 } 9904 }
10066 IDBRequest _update_1(value) native "update"; 9905 IDBRequest _update_1(value) native "update";
10067 } 9906 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
10068 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
10069 // for details. All rights reserved. Use of this source code is governed by a 9907 // for details. All rights reserved. Use of this source code is governed by a
10070 // BSD-style license that can be found in the LICENSE file. 9908 // BSD-style license that can be found in the LICENSE file.
10071 9909
10072 9910
10073 /// @domName IDBCursorWithValue; @docsEditable true 9911 /// @domName IDBCursorWithValue; @docsEditable true
10074 class IDBCursorWithValue extends IDBCursor native "*IDBCursorWithValue" { 9912 class IDBCursorWithValue extends IDBCursor native "*IDBCursorWithValue" {
10075 9913
10076 /// @domName IDBCursorWithValue.value; @docsEditable true 9914 /// @domName IDBCursorWithValue.value; @docsEditable true
10077 @_annotation_Creates_SerializedScriptValue @_annotation_Returns_SerializedScri ptValue 9915 @_annotation_Creates_SerializedScriptValue @_annotation_Returns_SerializedScri ptValue
10078 final Object value; 9916 final Object value;
10079 } 9917 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
10080 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
10081 // for details. All rights reserved. Use of this source code is governed by a 9918 // for details. All rights reserved. Use of this source code is governed by a
10082 // BSD-style license that can be found in the LICENSE file. 9919 // BSD-style license that can be found in the LICENSE file.
10083 9920
10084 9921
10085 class IDBDatabase extends EventTarget native "*IDBDatabase" { 9922 class IDBDatabase extends EventTarget native "*IDBDatabase" {
10086 9923
10087 IDBTransaction transaction(storeName_OR_storeNames, String mode) { 9924 IDBTransaction transaction(storeName_OR_storeNames, String mode) {
10088 if (mode != 'readonly' && mode != 'readwrite') { 9925 if (mode != 'readonly' && mode != 'readwrite') {
10089 throw new ArgumentError(mode); 9926 throw new ArgumentError(mode);
10090 } 9927 }
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
10175 var _transaction_fn; // Assigned one of the static methods. 10012 var _transaction_fn; // Assigned one of the static methods.
10176 10013
10177 class IDBDatabaseEvents extends Events { 10014 class IDBDatabaseEvents extends Events {
10178 IDBDatabaseEvents(EventTarget _ptr) : super(_ptr); 10015 IDBDatabaseEvents(EventTarget _ptr) : super(_ptr);
10179 10016
10180 EventListenerList get abort => this['abort']; 10017 EventListenerList get abort => this['abort'];
10181 10018
10182 EventListenerList get error => this['error']; 10019 EventListenerList get error => this['error'];
10183 10020
10184 EventListenerList get versionChange => this['versionchange']; 10021 EventListenerList get versionChange => this['versionchange'];
10185 } 10022 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
10186 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
10187 // for details. All rights reserved. Use of this source code is governed by a 10023 // for details. All rights reserved. Use of this source code is governed by a
10188 // BSD-style license that can be found in the LICENSE file. 10024 // BSD-style license that can be found in the LICENSE file.
10189 10025
10190 10026
10191 /// @domName IDBDatabaseException; @docsEditable true 10027 /// @domName IDBDatabaseException; @docsEditable true
10192 class IDBDatabaseException native "*IDBDatabaseException" { 10028 class IDBDatabaseException native "*IDBDatabaseException" {
10193 10029
10194 static const int ABORT_ERR = 20; 10030 static const int ABORT_ERR = 20;
10195 10031
10196 static const int CONSTRAINT_ERR = 4; 10032 static const int CONSTRAINT_ERR = 4;
(...skipping 24 matching lines...) Expand all
10221 final int code; 10057 final int code;
10222 10058
10223 /// @domName IDBDatabaseException.message; @docsEditable true 10059 /// @domName IDBDatabaseException.message; @docsEditable true
10224 final String message; 10060 final String message;
10225 10061
10226 /// @domName IDBDatabaseException.name; @docsEditable true 10062 /// @domName IDBDatabaseException.name; @docsEditable true
10227 final String name; 10063 final String name;
10228 10064
10229 /// @domName IDBDatabaseException.toString; @docsEditable true 10065 /// @domName IDBDatabaseException.toString; @docsEditable true
10230 String toString() native; 10066 String toString() native;
10231 } 10067 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
10232 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
10233 // for details. All rights reserved. Use of this source code is governed by a 10068 // for details. All rights reserved. Use of this source code is governed by a
10234 // BSD-style license that can be found in the LICENSE file. 10069 // BSD-style license that can be found in the LICENSE file.
10235 10070
10236 10071
10237 /// @domName IDBFactory; @docsEditable true 10072 /// @domName IDBFactory; @docsEditable true
10238 class IDBFactory native "*IDBFactory" { 10073 class IDBFactory native "*IDBFactory" {
10239 10074
10240 /// @domName IDBFactory.cmp; @docsEditable true 10075 /// @domName IDBFactory.cmp; @docsEditable true
10241 int cmp(/*IDBKey*/ first, /*IDBKey*/ second) { 10076 int cmp(/*IDBKey*/ first, /*IDBKey*/ second) {
10242 var first_1 = _convertDartToNative_IDBKey(first); 10077 var first_1 = _convertDartToNative_IDBKey(first);
10243 var second_2 = _convertDartToNative_IDBKey(second); 10078 var second_2 = _convertDartToNative_IDBKey(second);
10244 return _cmp_1(first_1, second_2); 10079 return _cmp_1(first_1, second_2);
10245 } 10080 }
10246 int _cmp_1(first, second) native "cmp"; 10081 int _cmp_1(first, second) native "cmp";
10247 10082
10248 /// @domName IDBFactory.deleteDatabase; @docsEditable true 10083 /// @domName IDBFactory.deleteDatabase; @docsEditable true
10249 IDBVersionChangeRequest deleteDatabase(String name) native; 10084 IDBVersionChangeRequest deleteDatabase(String name) native;
10250 10085
10251 /// @domName IDBFactory.open; @docsEditable true 10086 /// @domName IDBFactory.open; @docsEditable true
10252 @Returns('IDBRequest') @Creates('IDBRequest') @Creates('IDBDatabase') 10087 @Returns('IDBRequest') @Creates('IDBRequest') @Creates('IDBDatabase')
10253 IDBOpenDBRequest open(String name, [int version]) native; 10088 IDBOpenDBRequest open(String name, [int version]) native;
10254 10089
10255 /// @domName IDBFactory.webkitGetDatabaseNames; @docsEditable true 10090 /// @domName IDBFactory.webkitGetDatabaseNames; @docsEditable true
10256 IDBRequest webkitGetDatabaseNames() native; 10091 IDBRequest webkitGetDatabaseNames() native;
10257 } 10092 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
10258 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
10259 // for details. All rights reserved. Use of this source code is governed by a 10093 // for details. All rights reserved. Use of this source code is governed by a
10260 // BSD-style license that can be found in the LICENSE file. 10094 // BSD-style license that can be found in the LICENSE file.
10261 10095
10262 10096
10263 /// @domName IDBIndex; @docsEditable true 10097 /// @domName IDBIndex; @docsEditable true
10264 class IDBIndex native "*IDBIndex" { 10098 class IDBIndex native "*IDBIndex" {
10265 10099
10266 /// @domName IDBIndex.keyPath; @docsEditable true 10100 /// @domName IDBIndex.keyPath; @docsEditable true
10267 final dynamic keyPath; 10101 final dynamic keyPath;
10268 10102
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
10390 @Returns('IDBRequest') @Creates('IDBRequest') @Creates('IDBCursor') 10224 @Returns('IDBRequest') @Creates('IDBRequest') @Creates('IDBCursor')
10391 IDBRequest _openKeyCursor_1() native "openKeyCursor"; 10225 IDBRequest _openKeyCursor_1() native "openKeyCursor";
10392 @Returns('IDBRequest') @Creates('IDBRequest') @Creates('IDBCursor') 10226 @Returns('IDBRequest') @Creates('IDBRequest') @Creates('IDBCursor')
10393 IDBRequest _openKeyCursor_2(IDBKeyRange range) native "openKeyCursor"; 10227 IDBRequest _openKeyCursor_2(IDBKeyRange range) native "openKeyCursor";
10394 @Returns('IDBRequest') @Creates('IDBRequest') @Creates('IDBCursor') 10228 @Returns('IDBRequest') @Creates('IDBRequest') @Creates('IDBCursor')
10395 IDBRequest _openKeyCursor_3(IDBKeyRange range, direction) native "openKeyCurso r"; 10229 IDBRequest _openKeyCursor_3(IDBKeyRange range, direction) native "openKeyCurso r";
10396 @Returns('IDBRequest') @Creates('IDBRequest') @Creates('IDBCursor') 10230 @Returns('IDBRequest') @Creates('IDBRequest') @Creates('IDBCursor')
10397 IDBRequest _openKeyCursor_4(key) native "openKeyCursor"; 10231 IDBRequest _openKeyCursor_4(key) native "openKeyCursor";
10398 @Returns('IDBRequest') @Creates('IDBRequest') @Creates('IDBCursor') 10232 @Returns('IDBRequest') @Creates('IDBRequest') @Creates('IDBCursor')
10399 IDBRequest _openKeyCursor_5(key, direction) native "openKeyCursor"; 10233 IDBRequest _openKeyCursor_5(key, direction) native "openKeyCursor";
10400 } 10234 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
10401 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
10402 // for details. All rights reserved. Use of this source code is governed by a 10235 // for details. All rights reserved. Use of this source code is governed by a
10403 // BSD-style license that can be found in the LICENSE file. 10236 // BSD-style license that can be found in the LICENSE file.
10404 10237
10405 10238
10406 /// @domName IDBKey; @docsEditable true 10239 /// @domName IDBKey; @docsEditable true
10407 class IDBKey native "*IDBKey" { 10240 class IDBKey native "*IDBKey" {
10408 } 10241 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
10409 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
10410 // for details. All rights reserved. Use of this source code is governed by a 10242 // for details. All rights reserved. Use of this source code is governed by a
10411 // BSD-style license that can be found in the LICENSE file. 10243 // BSD-style license that can be found in the LICENSE file.
10412 10244
10413 10245
10414 class IDBKeyRange native "*IDBKeyRange" { 10246 class IDBKeyRange native "*IDBKeyRange" {
10415 /** 10247 /**
10416 * @domName IDBKeyRange.only 10248 * @domName IDBKeyRange.only
10417 */ 10249 */
10418 factory IDBKeyRange.only(/*IDBKey*/ value) => 10250 factory IDBKeyRange.only(/*IDBKey*/ value) =>
10419 _IDBKeyRangeFactoryProvider.createIDBKeyRange_only(value); 10251 _IDBKeyRangeFactoryProvider.createIDBKeyRange_only(value);
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
10497 if (?open) { 10329 if (?open) {
10498 var bound_1 = _convertDartToNative_IDBKey(bound); 10330 var bound_1 = _convertDartToNative_IDBKey(bound);
10499 return _upperBound__1(bound_1, open); 10331 return _upperBound__1(bound_1, open);
10500 } 10332 }
10501 var bound_2 = _convertDartToNative_IDBKey(bound); 10333 var bound_2 = _convertDartToNative_IDBKey(bound);
10502 return _upperBound__2(bound_2); 10334 return _upperBound__2(bound_2);
10503 } 10335 }
10504 static IDBKeyRange _upperBound__1(bound, open) native "upperBound"; 10336 static IDBKeyRange _upperBound__1(bound, open) native "upperBound";
10505 static IDBKeyRange _upperBound__2(bound) native "upperBound"; 10337 static IDBKeyRange _upperBound__2(bound) native "upperBound";
10506 10338
10507 } 10339 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
10508 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
10509 // for details. All rights reserved. Use of this source code is governed by a 10340 // for details. All rights reserved. Use of this source code is governed by a
10510 // BSD-style license that can be found in the LICENSE file. 10341 // BSD-style license that can be found in the LICENSE file.
10511 10342
10512 10343
10513 /// @domName IDBObjectStore; @docsEditable true 10344 /// @domName IDBObjectStore; @docsEditable true
10514 class IDBObjectStore native "*IDBObjectStore" { 10345 class IDBObjectStore native "*IDBObjectStore" {
10515 10346
10516 /// @domName IDBObjectStore.autoIncrement; @docsEditable true 10347 /// @domName IDBObjectStore.autoIncrement; @docsEditable true
10517 final bool autoIncrement; 10348 final bool autoIncrement;
10518 10349
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
10670 var key_2 = _convertDartToNative_IDBKey(key); 10501 var key_2 = _convertDartToNative_IDBKey(key);
10671 return _put_1(value_1, key_2); 10502 return _put_1(value_1, key_2);
10672 } 10503 }
10673 var value_3 = _convertDartToNative_SerializedScriptValue(value); 10504 var value_3 = _convertDartToNative_SerializedScriptValue(value);
10674 return _put_2(value_3); 10505 return _put_2(value_3);
10675 } 10506 }
10676 @Returns('IDBRequest') @Creates('IDBRequest') @_annotation_Creates_IDBKey 10507 @Returns('IDBRequest') @Creates('IDBRequest') @_annotation_Creates_IDBKey
10677 IDBRequest _put_1(value, key) native "put"; 10508 IDBRequest _put_1(value, key) native "put";
10678 @Returns('IDBRequest') @Creates('IDBRequest') @_annotation_Creates_IDBKey 10509 @Returns('IDBRequest') @Creates('IDBRequest') @_annotation_Creates_IDBKey
10679 IDBRequest _put_2(value) native "put"; 10510 IDBRequest _put_2(value) native "put";
10680 } 10511 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
10681 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
10682 // for details. All rights reserved. Use of this source code is governed by a 10512 // for details. All rights reserved. Use of this source code is governed by a
10683 // BSD-style license that can be found in the LICENSE file. 10513 // BSD-style license that can be found in the LICENSE file.
10684 10514
10685 10515
10686 /// @domName IDBOpenDBRequest; @docsEditable true 10516 /// @domName IDBOpenDBRequest; @docsEditable true
10687 class IDBOpenDBRequest extends IDBRequest implements EventTarget native "*IDBOpe nDBRequest" { 10517 class IDBOpenDBRequest extends IDBRequest implements EventTarget native "*IDBOpe nDBRequest" {
10688 10518
10689 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true 10519 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true
10690 IDBOpenDBRequestEvents get on => 10520 IDBOpenDBRequestEvents get on =>
10691 new IDBOpenDBRequestEvents(this); 10521 new IDBOpenDBRequestEvents(this);
10692 } 10522 }
10693 10523
10694 class IDBOpenDBRequestEvents extends IDBRequestEvents { 10524 class IDBOpenDBRequestEvents extends IDBRequestEvents {
10695 IDBOpenDBRequestEvents(EventTarget _ptr) : super(_ptr); 10525 IDBOpenDBRequestEvents(EventTarget _ptr) : super(_ptr);
10696 10526
10697 EventListenerList get blocked => this['blocked']; 10527 EventListenerList get blocked => this['blocked'];
10698 10528
10699 EventListenerList get upgradeNeeded => this['upgradeneeded']; 10529 EventListenerList get upgradeNeeded => this['upgradeneeded'];
10700 } 10530 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
10701 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
10702 // for details. All rights reserved. Use of this source code is governed by a 10531 // for details. All rights reserved. Use of this source code is governed by a
10703 // BSD-style license that can be found in the LICENSE file. 10532 // BSD-style license that can be found in the LICENSE file.
10704 10533
10705 10534
10706 /// @domName IDBRequest; @docsEditable true 10535 /// @domName IDBRequest; @docsEditable true
10707 class IDBRequest extends EventTarget native "*IDBRequest" { 10536 class IDBRequest extends EventTarget native "*IDBRequest" {
10708 10537
10709 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true 10538 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true
10710 IDBRequestEvents get on => 10539 IDBRequestEvents get on =>
10711 new IDBRequestEvents(this); 10540 new IDBRequestEvents(this);
(...skipping 30 matching lines...) Expand all
10742 /// @domName IDBRequest.removeEventListener; @docsEditable true 10571 /// @domName IDBRequest.removeEventListener; @docsEditable true
10743 void $dom_removeEventListener(String type, EventListener listener, [bool useCa pture]) native "removeEventListener"; 10572 void $dom_removeEventListener(String type, EventListener listener, [bool useCa pture]) native "removeEventListener";
10744 } 10573 }
10745 10574
10746 class IDBRequestEvents extends Events { 10575 class IDBRequestEvents extends Events {
10747 IDBRequestEvents(EventTarget _ptr) : super(_ptr); 10576 IDBRequestEvents(EventTarget _ptr) : super(_ptr);
10748 10577
10749 EventListenerList get error => this['error']; 10578 EventListenerList get error => this['error'];
10750 10579
10751 EventListenerList get success => this['success']; 10580 EventListenerList get success => this['success'];
10752 } 10581 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
10753 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
10754 // for details. All rights reserved. Use of this source code is governed by a 10582 // for details. All rights reserved. Use of this source code is governed by a
10755 // BSD-style license that can be found in the LICENSE file. 10583 // BSD-style license that can be found in the LICENSE file.
10756 10584
10757 10585
10758 /// @domName IDBTransaction; @docsEditable true 10586 /// @domName IDBTransaction; @docsEditable true
10759 class IDBTransaction extends EventTarget native "*IDBTransaction" { 10587 class IDBTransaction extends EventTarget native "*IDBTransaction" {
10760 10588
10761 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true 10589 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true
10762 IDBTransactionEvents get on => 10590 IDBTransactionEvents get on =>
10763 new IDBTransactionEvents(this); 10591 new IDBTransactionEvents(this);
(...skipping 30 matching lines...) Expand all
10794 } 10622 }
10795 10623
10796 class IDBTransactionEvents extends Events { 10624 class IDBTransactionEvents extends Events {
10797 IDBTransactionEvents(EventTarget _ptr) : super(_ptr); 10625 IDBTransactionEvents(EventTarget _ptr) : super(_ptr);
10798 10626
10799 EventListenerList get abort => this['abort']; 10627 EventListenerList get abort => this['abort'];
10800 10628
10801 EventListenerList get complete => this['complete']; 10629 EventListenerList get complete => this['complete'];
10802 10630
10803 EventListenerList get error => this['error']; 10631 EventListenerList get error => this['error'];
10804 } 10632 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
10805 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
10806 // for details. All rights reserved. Use of this source code is governed by a 10633 // for details. All rights reserved. Use of this source code is governed by a
10807 // BSD-style license that can be found in the LICENSE file. 10634 // BSD-style license that can be found in the LICENSE file.
10808 10635
10809 10636
10810 /// @domName IDBVersionChangeEvent; @docsEditable true 10637 /// @domName IDBVersionChangeEvent; @docsEditable true
10811 class IDBUpgradeNeededEvent extends Event native "*IDBVersionChangeEvent" { 10638 class IDBUpgradeNeededEvent extends Event native "*IDBVersionChangeEvent" {
10812 10639
10813 /// @domName IDBVersionChangeEvent.newVersion; @docsEditable true 10640 /// @domName IDBVersionChangeEvent.newVersion; @docsEditable true
10814 final int newVersion; 10641 final int newVersion;
10815 10642
10816 /// @domName IDBVersionChangeEvent.oldVersion; @docsEditable true 10643 /// @domName IDBVersionChangeEvent.oldVersion; @docsEditable true
10817 final int oldVersion; 10644 final int oldVersion;
10818 } 10645 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
10819 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
10820 // for details. All rights reserved. Use of this source code is governed by a 10646 // for details. All rights reserved. Use of this source code is governed by a
10821 // BSD-style license that can be found in the LICENSE file. 10647 // BSD-style license that can be found in the LICENSE file.
10822 10648
10823 10649
10824 /// @domName IDBVersionChangeEvent; @docsEditable true 10650 /// @domName IDBVersionChangeEvent; @docsEditable true
10825 class IDBVersionChangeEvent extends Event native "*IDBVersionChangeEvent" { 10651 class IDBVersionChangeEvent extends Event native "*IDBVersionChangeEvent" {
10826 10652
10827 /// @domName IDBVersionChangeEvent.version; @docsEditable true 10653 /// @domName IDBVersionChangeEvent.version; @docsEditable true
10828 final String version; 10654 final String version;
10829 } 10655 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
10830 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
10831 // for details. All rights reserved. Use of this source code is governed by a 10656 // for details. All rights reserved. Use of this source code is governed by a
10832 // BSD-style license that can be found in the LICENSE file. 10657 // BSD-style license that can be found in the LICENSE file.
10833 10658
10834 10659
10835 /// @domName IDBVersionChangeRequest; @docsEditable true 10660 /// @domName IDBVersionChangeRequest; @docsEditable true
10836 class IDBVersionChangeRequest extends IDBRequest implements EventTarget native " *IDBVersionChangeRequest" { 10661 class IDBVersionChangeRequest extends IDBRequest implements EventTarget native " *IDBVersionChangeRequest" {
10837 10662
10838 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true 10663 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true
10839 IDBVersionChangeRequestEvents get on => 10664 IDBVersionChangeRequestEvents get on =>
10840 new IDBVersionChangeRequestEvents(this); 10665 new IDBVersionChangeRequestEvents(this);
10841 } 10666 }
10842 10667
10843 class IDBVersionChangeRequestEvents extends IDBRequestEvents { 10668 class IDBVersionChangeRequestEvents extends IDBRequestEvents {
10844 IDBVersionChangeRequestEvents(EventTarget _ptr) : super(_ptr); 10669 IDBVersionChangeRequestEvents(EventTarget _ptr) : super(_ptr);
10845 10670
10846 EventListenerList get blocked => this['blocked']; 10671 EventListenerList get blocked => this['blocked'];
10847 } 10672 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
10848 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
10849 // for details. All rights reserved. Use of this source code is governed by a 10673 // for details. All rights reserved. Use of this source code is governed by a
10850 // BSD-style license that can be found in the LICENSE file. 10674 // BSD-style license that can be found in the LICENSE file.
10851 10675
10852 10676
10853 /// @domName HTMLIFrameElement; @docsEditable true 10677 /// @domName HTMLIFrameElement; @docsEditable true
10854 class IFrameElement extends Element implements Element native "*HTMLIFrameElemen t" { 10678 class IFrameElement extends Element implements Element native "*HTMLIFrameElemen t" {
10855 10679
10856 factory IFrameElement() => document.$dom_createElement("iframe"); 10680 factory IFrameElement() => document.$dom_createElement("iframe");
10857 10681
10858 /// @domName HTMLIFrameElement.align; @docsEditable true 10682 /// @domName HTMLIFrameElement.align; @docsEditable true
(...skipping 28 matching lines...) Expand all
10887 String scrolling; 10711 String scrolling;
10888 10712
10889 /// @domName HTMLIFrameElement.src; @docsEditable true 10713 /// @domName HTMLIFrameElement.src; @docsEditable true
10890 String src; 10714 String src;
10891 10715
10892 /// @domName HTMLIFrameElement.srcdoc; @docsEditable true 10716 /// @domName HTMLIFrameElement.srcdoc; @docsEditable true
10893 String srcdoc; 10717 String srcdoc;
10894 10718
10895 /// @domName HTMLIFrameElement.width; @docsEditable true 10719 /// @domName HTMLIFrameElement.width; @docsEditable true
10896 String width; 10720 String width;
10897 } 10721 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
10898 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
10899 // for details. All rights reserved. Use of this source code is governed by a 10722 // for details. All rights reserved. Use of this source code is governed by a
10900 // BSD-style license that can be found in the LICENSE file. 10723 // BSD-style license that can be found in the LICENSE file.
10901 10724
10902 // WARNING: Do not edit - generated code. 10725 // WARNING: Do not edit - generated code.
10903 10726
10904 10727
10905 typedef void IceCallback(IceCandidate candidate, bool moreToFollow, PeerConnecti on00 source); 10728 typedef void IceCallback(IceCandidate candidate, bool moreToFollow, PeerConnecti on00 source);// Copyright (c) 2012, the Dart project authors. Please see the AU THORS file
10906 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
10907 // for details. All rights reserved. Use of this source code is governed by a 10729 // for details. All rights reserved. Use of this source code is governed by a
10908 // BSD-style license that can be found in the LICENSE file. 10730 // BSD-style license that can be found in the LICENSE file.
10909 10731
10910 10732
10911 /// @domName IceCandidate; @docsEditable true 10733 /// @domName IceCandidate; @docsEditable true
10912 class IceCandidate native "*IceCandidate" { 10734 class IceCandidate native "*IceCandidate" {
10913 10735
10914 factory IceCandidate(String label, String candidateLine) => _IceCandidateFacto ryProvider.createIceCandidate(label, candidateLine); 10736 factory IceCandidate(String label, String candidateLine) => _IceCandidateFacto ryProvider.createIceCandidate(label, candidateLine);
10915 10737
10916 /// @domName IceCandidate.label; @docsEditable true 10738 /// @domName IceCandidate.label; @docsEditable true
10917 final String label; 10739 final String label;
10918 10740
10919 /// @domName IceCandidate.toSdp; @docsEditable true 10741 /// @domName IceCandidate.toSdp; @docsEditable true
10920 String toSdp() native; 10742 String toSdp() native;
10921 } 10743 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
10922 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
10923 // for details. All rights reserved. Use of this source code is governed by a 10744 // for details. All rights reserved. Use of this source code is governed by a
10924 // BSD-style license that can be found in the LICENSE file. 10745 // BSD-style license that can be found in the LICENSE file.
10925 10746
10926 10747
10927 /// @domName ImageData; @docsEditable true 10748 /// @domName ImageData; @docsEditable true
10928 class ImageData native "*ImageData" { 10749 class ImageData native "*ImageData" {
10929 10750
10930 /// @domName ImageData.data; @docsEditable true 10751 /// @domName ImageData.data; @docsEditable true
10931 final Uint8ClampedArray data; 10752 final Uint8ClampedArray data;
10932 10753
10933 /// @domName ImageData.height; @docsEditable true 10754 /// @domName ImageData.height; @docsEditable true
10934 final int height; 10755 final int height;
10935 10756
10936 /// @domName ImageData.width; @docsEditable true 10757 /// @domName ImageData.width; @docsEditable true
10937 final int width; 10758 final int width;
10938 } 10759 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
10939 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
10940 // for details. All rights reserved. Use of this source code is governed by a 10760 // for details. All rights reserved. Use of this source code is governed by a
10941 // BSD-style license that can be found in the LICENSE file. 10761 // BSD-style license that can be found in the LICENSE file.
10942 10762
10943 10763
10944 /// @domName HTMLImageElement; @docsEditable true 10764 /// @domName HTMLImageElement; @docsEditable true
10945 class ImageElement extends Element implements Element native "*HTMLImageElement" { 10765 class ImageElement extends Element implements Element native "*HTMLImageElement" {
10946 10766
10947 factory ImageElement({String src, int width, int height}) { 10767 factory ImageElement({String src, int width, int height}) {
10948 var e = document.$dom_createElement("img"); 10768 var e = document.$dom_createElement("img");
10949 if (src != null) e.src = src; 10769 if (src != null) e.src = src;
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
11001 int vspace; 10821 int vspace;
11002 10822
11003 /// @domName HTMLImageElement.width; @docsEditable true 10823 /// @domName HTMLImageElement.width; @docsEditable true
11004 int width; 10824 int width;
11005 10825
11006 /// @domName HTMLImageElement.x; @docsEditable true 10826 /// @domName HTMLImageElement.x; @docsEditable true
11007 final int x; 10827 final int x;
11008 10828
11009 /// @domName HTMLImageElement.y; @docsEditable true 10829 /// @domName HTMLImageElement.y; @docsEditable true
11010 final int y; 10830 final int y;
11011 } 10831 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11012 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11013 // for details. All rights reserved. Use of this source code is governed by a 10832 // for details. All rights reserved. Use of this source code is governed by a
11014 // BSD-style license that can be found in the LICENSE file. 10833 // BSD-style license that can be found in the LICENSE file.
11015 10834
11016 10835
11017 /// @domName HTMLInputElement; @docsEditable true 10836 /// @domName HTMLInputElement; @docsEditable true
11018 class InputElement extends Element implements Element native "*HTMLInputElement" { 10837 class InputElement extends Element implements Element native "*HTMLInputElement" {
11019 10838
11020 factory InputElement({String type}) { 10839 factory InputElement({String type}) {
11021 var e = document.$dom_createElement("input"); 10840 var e = document.$dom_createElement("input");
11022 if (type != null) e.type = type; 10841 if (type != null) e.type = type;
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
11199 void stepDown([int n]) native; 11018 void stepDown([int n]) native;
11200 11019
11201 /// @domName HTMLInputElement.stepUp; @docsEditable true 11020 /// @domName HTMLInputElement.stepUp; @docsEditable true
11202 void stepUp([int n]) native; 11021 void stepUp([int n]) native;
11203 } 11022 }
11204 11023
11205 class InputElementEvents extends ElementEvents { 11024 class InputElementEvents extends ElementEvents {
11206 InputElementEvents(EventTarget _ptr) : super(_ptr); 11025 InputElementEvents(EventTarget _ptr) : super(_ptr);
11207 11026
11208 EventListenerList get speechChange => this['webkitSpeechChange']; 11027 EventListenerList get speechChange => this['webkitSpeechChange'];
11209 } 11028 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11210 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11211 // for details. All rights reserved. Use of this source code is governed by a 11029 // for details. All rights reserved. Use of this source code is governed by a
11212 // BSD-style license that can be found in the LICENSE file. 11030 // BSD-style license that can be found in the LICENSE file.
11213 11031
11214 11032
11215 /// @domName Int16Array; @docsEditable true 11033 /// @domName Int16Array; @docsEditable true
11216 class Int16Array extends ArrayBufferView implements JavaScriptIndexingBehavior, List<int> native "*Int16Array" { 11034 class Int16Array extends ArrayBufferView implements JavaScriptIndexingBehavior, List<int> native "*Int16Array" {
11217 11035
11218 factory Int16Array(int length) => 11036 factory Int16Array(int length) =>
11219 _TypedArrayFactoryProvider.createInt16Array(length); 11037 _TypedArrayFactoryProvider.createInt16Array(length);
11220 11038
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
11309 List<int> getRange(int start, int rangeLength) => 11127 List<int> getRange(int start, int rangeLength) =>
11310 _Lists.getRange(this, start, rangeLength, <int>[]); 11128 _Lists.getRange(this, start, rangeLength, <int>[]);
11311 11129
11312 // -- end List<int> mixins. 11130 // -- end List<int> mixins.
11313 11131
11314 /// @domName Int16Array.setElements; @docsEditable true 11132 /// @domName Int16Array.setElements; @docsEditable true
11315 void setElements(Object array, [int offset]) native "set"; 11133 void setElements(Object array, [int offset]) native "set";
11316 11134
11317 /// @domName Int16Array.subarray; @docsEditable true 11135 /// @domName Int16Array.subarray; @docsEditable true
11318 Int16Array subarray(int start, [int end]) native; 11136 Int16Array subarray(int start, [int end]) native;
11319 } 11137 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11320 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11321 // for details. All rights reserved. Use of this source code is governed by a 11138 // for details. All rights reserved. Use of this source code is governed by a
11322 // BSD-style license that can be found in the LICENSE file. 11139 // BSD-style license that can be found in the LICENSE file.
11323 11140
11324 11141
11325 /// @domName Int32Array; @docsEditable true 11142 /// @domName Int32Array; @docsEditable true
11326 class Int32Array extends ArrayBufferView implements JavaScriptIndexingBehavior, List<int> native "*Int32Array" { 11143 class Int32Array extends ArrayBufferView implements JavaScriptIndexingBehavior, List<int> native "*Int32Array" {
11327 11144
11328 factory Int32Array(int length) => 11145 factory Int32Array(int length) =>
11329 _TypedArrayFactoryProvider.createInt32Array(length); 11146 _TypedArrayFactoryProvider.createInt32Array(length);
11330 11147
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
11419 List<int> getRange(int start, int rangeLength) => 11236 List<int> getRange(int start, int rangeLength) =>
11420 _Lists.getRange(this, start, rangeLength, <int>[]); 11237 _Lists.getRange(this, start, rangeLength, <int>[]);
11421 11238
11422 // -- end List<int> mixins. 11239 // -- end List<int> mixins.
11423 11240
11424 /// @domName Int32Array.setElements; @docsEditable true 11241 /// @domName Int32Array.setElements; @docsEditable true
11425 void setElements(Object array, [int offset]) native "set"; 11242 void setElements(Object array, [int offset]) native "set";
11426 11243
11427 /// @domName Int32Array.subarray; @docsEditable true 11244 /// @domName Int32Array.subarray; @docsEditable true
11428 Int32Array subarray(int start, [int end]) native; 11245 Int32Array subarray(int start, [int end]) native;
11429 } 11246 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11430 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11431 // for details. All rights reserved. Use of this source code is governed by a 11247 // for details. All rights reserved. Use of this source code is governed by a
11432 // BSD-style license that can be found in the LICENSE file. 11248 // BSD-style license that can be found in the LICENSE file.
11433 11249
11434 11250
11435 /// @domName Int8Array; @docsEditable true 11251 /// @domName Int8Array; @docsEditable true
11436 class Int8Array extends ArrayBufferView implements JavaScriptIndexingBehavior, L ist<int> native "*Int8Array" { 11252 class Int8Array extends ArrayBufferView implements JavaScriptIndexingBehavior, L ist<int> native "*Int8Array" {
11437 11253
11438 factory Int8Array(int length) => 11254 factory Int8Array(int length) =>
11439 _TypedArrayFactoryProvider.createInt8Array(length); 11255 _TypedArrayFactoryProvider.createInt8Array(length);
11440 11256
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
11529 List<int> getRange(int start, int rangeLength) => 11345 List<int> getRange(int start, int rangeLength) =>
11530 _Lists.getRange(this, start, rangeLength, <int>[]); 11346 _Lists.getRange(this, start, rangeLength, <int>[]);
11531 11347
11532 // -- end List<int> mixins. 11348 // -- end List<int> mixins.
11533 11349
11534 /// @domName Int8Array.setElements; @docsEditable true 11350 /// @domName Int8Array.setElements; @docsEditable true
11535 void setElements(Object array, [int offset]) native "set"; 11351 void setElements(Object array, [int offset]) native "set";
11536 11352
11537 /// @domName Int8Array.subarray; @docsEditable true 11353 /// @domName Int8Array.subarray; @docsEditable true
11538 Int8Array subarray(int start, [int end]) native; 11354 Int8Array subarray(int start, [int end]) native;
11539 } 11355 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11540 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11541 // for details. All rights reserved. Use of this source code is governed by a 11356 // for details. All rights reserved. Use of this source code is governed by a
11542 // BSD-style license that can be found in the LICENSE file. 11357 // BSD-style license that can be found in the LICENSE file.
11543 11358
11544 11359
11545 /// @domName JavaScriptCallFrame; @docsEditable true 11360 /// @domName JavaScriptCallFrame; @docsEditable true
11546 class JavaScriptCallFrame native "*JavaScriptCallFrame" { 11361 class JavaScriptCallFrame native "*JavaScriptCallFrame" {
11547 11362
11548 static const int CATCH_SCOPE = 4; 11363 static const int CATCH_SCOPE = 4;
11549 11364
11550 static const int CLOSURE_SCOPE = 3; 11365 static const int CLOSURE_SCOPE = 3;
(...skipping 29 matching lines...) Expand all
11580 final String type; 11395 final String type;
11581 11396
11582 /// @domName JavaScriptCallFrame.evaluate; @docsEditable true 11397 /// @domName JavaScriptCallFrame.evaluate; @docsEditable true
11583 void evaluate(String script) native; 11398 void evaluate(String script) native;
11584 11399
11585 /// @domName JavaScriptCallFrame.restart; @docsEditable true 11400 /// @domName JavaScriptCallFrame.restart; @docsEditable true
11586 Object restart() native; 11401 Object restart() native;
11587 11402
11588 /// @domName JavaScriptCallFrame.scopeType; @docsEditable true 11403 /// @domName JavaScriptCallFrame.scopeType; @docsEditable true
11589 int scopeType(int scopeIndex) native; 11404 int scopeType(int scopeIndex) native;
11590 } 11405 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11591 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11592 // for details. All rights reserved. Use of this source code is governed by a 11406 // for details. All rights reserved. Use of this source code is governed by a
11593 // BSD-style license that can be found in the LICENSE file. 11407 // BSD-style license that can be found in the LICENSE file.
11594 11408
11595 11409
11596 /// @domName KeyboardEvent; @docsEditable true 11410 /// @domName KeyboardEvent; @docsEditable true
11597 class KeyboardEvent extends UIEvent native "*KeyboardEvent" { 11411 class KeyboardEvent extends UIEvent native "*KeyboardEvent" {
11598 11412
11599 /// @domName KeyboardEvent.altGraphKey; @docsEditable true 11413 /// @domName KeyboardEvent.altGraphKey; @docsEditable true
11600 final bool altGraphKey; 11414 final bool altGraphKey;
11601 11415
(...skipping 10 matching lines...) Expand all
11612 final int keyLocation; 11426 final int keyLocation;
11613 11427
11614 /// @domName KeyboardEvent.metaKey; @docsEditable true 11428 /// @domName KeyboardEvent.metaKey; @docsEditable true
11615 final bool metaKey; 11429 final bool metaKey;
11616 11430
11617 /// @domName KeyboardEvent.shiftKey; @docsEditable true 11431 /// @domName KeyboardEvent.shiftKey; @docsEditable true
11618 final bool shiftKey; 11432 final bool shiftKey;
11619 11433
11620 /// @domName KeyboardEvent.initKeyboardEvent; @docsEditable true 11434 /// @domName KeyboardEvent.initKeyboardEvent; @docsEditable true
11621 void initKeyboardEvent(String type, bool canBubble, bool cancelable, LocalWind ow view, String keyIdentifier, int keyLocation, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, bool altGraphKey) native; 11435 void initKeyboardEvent(String type, bool canBubble, bool cancelable, LocalWind ow view, String keyIdentifier, int keyLocation, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, bool altGraphKey) native;
11622 } 11436 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11623 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11624 // for details. All rights reserved. Use of this source code is governed by a 11437 // for details. All rights reserved. Use of this source code is governed by a
11625 // BSD-style license that can be found in the LICENSE file. 11438 // BSD-style license that can be found in the LICENSE file.
11626 11439
11627 11440
11628 /// @domName HTMLKeygenElement; @docsEditable true 11441 /// @domName HTMLKeygenElement; @docsEditable true
11629 class KeygenElement extends Element implements Element native "*HTMLKeygenElemen t" { 11442 class KeygenElement extends Element implements Element native "*HTMLKeygenElemen t" {
11630 11443
11631 factory KeygenElement() => document.$dom_createElement("keygen"); 11444 factory KeygenElement() => document.$dom_createElement("keygen");
11632 11445
11633 /// @domName HTMLKeygenElement.autofocus; @docsEditable true 11446 /// @domName HTMLKeygenElement.autofocus; @docsEditable true
(...skipping 28 matching lines...) Expand all
11662 final ValidityState validity; 11475 final ValidityState validity;
11663 11476
11664 /// @domName HTMLKeygenElement.willValidate; @docsEditable true 11477 /// @domName HTMLKeygenElement.willValidate; @docsEditable true
11665 final bool willValidate; 11478 final bool willValidate;
11666 11479
11667 /// @domName HTMLKeygenElement.checkValidity; @docsEditable true 11480 /// @domName HTMLKeygenElement.checkValidity; @docsEditable true
11668 bool checkValidity() native; 11481 bool checkValidity() native;
11669 11482
11670 /// @domName HTMLKeygenElement.setCustomValidity; @docsEditable true 11483 /// @domName HTMLKeygenElement.setCustomValidity; @docsEditable true
11671 void setCustomValidity(String error) native; 11484 void setCustomValidity(String error) native;
11672 } 11485 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11673 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11674 // for details. All rights reserved. Use of this source code is governed by a 11486 // for details. All rights reserved. Use of this source code is governed by a
11675 // BSD-style license that can be found in the LICENSE file. 11487 // BSD-style license that can be found in the LICENSE file.
11676 11488
11677 11489
11678 /// @domName HTMLLIElement; @docsEditable true 11490 /// @domName HTMLLIElement; @docsEditable true
11679 class LIElement extends Element implements Element native "*HTMLLIElement" { 11491 class LIElement extends Element implements Element native "*HTMLLIElement" {
11680 11492
11681 factory LIElement() => document.$dom_createElement("li"); 11493 factory LIElement() => document.$dom_createElement("li");
11682 11494
11683 /// @domName HTMLLIElement.type; @docsEditable true 11495 /// @domName HTMLLIElement.type; @docsEditable true
11684 String type; 11496 String type;
11685 11497
11686 /// @domName HTMLLIElement.value; @docsEditable true 11498 /// @domName HTMLLIElement.value; @docsEditable true
11687 int value; 11499 int value;
11688 } 11500 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11689 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11690 // for details. All rights reserved. Use of this source code is governed by a 11501 // for details. All rights reserved. Use of this source code is governed by a
11691 // BSD-style license that can be found in the LICENSE file. 11502 // BSD-style license that can be found in the LICENSE file.
11692 11503
11693 11504
11694 /// @domName HTMLLabelElement; @docsEditable true 11505 /// @domName HTMLLabelElement; @docsEditable true
11695 class LabelElement extends Element implements Element native "*HTMLLabelElement" { 11506 class LabelElement extends Element implements Element native "*HTMLLabelElement" {
11696 11507
11697 factory LabelElement() => document.$dom_createElement("label"); 11508 factory LabelElement() => document.$dom_createElement("label");
11698 11509
11699 /// @domName HTMLLabelElement.control; @docsEditable true 11510 /// @domName HTMLLabelElement.control; @docsEditable true
11700 final Element control; 11511 final Element control;
11701 11512
11702 /// @domName HTMLLabelElement.form; @docsEditable true 11513 /// @domName HTMLLabelElement.form; @docsEditable true
11703 final FormElement form; 11514 final FormElement form;
11704 11515
11705 /// @domName HTMLLabelElement.htmlFor; @docsEditable true 11516 /// @domName HTMLLabelElement.htmlFor; @docsEditable true
11706 String htmlFor; 11517 String htmlFor;
11707 } 11518 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11708 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11709 // for details. All rights reserved. Use of this source code is governed by a 11519 // for details. All rights reserved. Use of this source code is governed by a
11710 // BSD-style license that can be found in the LICENSE file. 11520 // BSD-style license that can be found in the LICENSE file.
11711 11521
11712 11522
11713 /// @domName HTMLLegendElement; @docsEditable true 11523 /// @domName HTMLLegendElement; @docsEditable true
11714 class LegendElement extends Element implements Element native "*HTMLLegendElemen t" { 11524 class LegendElement extends Element implements Element native "*HTMLLegendElemen t" {
11715 11525
11716 factory LegendElement() => document.$dom_createElement("legend"); 11526 factory LegendElement() => document.$dom_createElement("legend");
11717 11527
11718 /// @domName HTMLLegendElement.align; @docsEditable true 11528 /// @domName HTMLLegendElement.align; @docsEditable true
11719 String align; 11529 String align;
11720 11530
11721 /// @domName HTMLLegendElement.form; @docsEditable true 11531 /// @domName HTMLLegendElement.form; @docsEditable true
11722 final FormElement form; 11532 final FormElement form;
11723 } 11533 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11724 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11725 // for details. All rights reserved. Use of this source code is governed by a 11534 // for details. All rights reserved. Use of this source code is governed by a
11726 // BSD-style license that can be found in the LICENSE file. 11535 // BSD-style license that can be found in the LICENSE file.
11727 11536
11728 11537
11729 /// @domName HTMLLinkElement; @docsEditable true 11538 /// @domName HTMLLinkElement; @docsEditable true
11730 class LinkElement extends Element implements Element native "*HTMLLinkElement" { 11539 class LinkElement extends Element implements Element native "*HTMLLinkElement" {
11731 11540
11732 factory LinkElement() => document.$dom_createElement("link"); 11541 factory LinkElement() => document.$dom_createElement("link");
11733 11542
11734 /// @domName HTMLLinkElement.charset; @docsEditable true 11543 /// @domName HTMLLinkElement.charset; @docsEditable true
(...skipping 21 matching lines...) Expand all
11756 final StyleSheet sheet; 11565 final StyleSheet sheet;
11757 11566
11758 /// @domName HTMLLinkElement.sizes; @docsEditable true 11567 /// @domName HTMLLinkElement.sizes; @docsEditable true
11759 DOMSettableTokenList sizes; 11568 DOMSettableTokenList sizes;
11760 11569
11761 /// @domName HTMLLinkElement.target; @docsEditable true 11570 /// @domName HTMLLinkElement.target; @docsEditable true
11762 String target; 11571 String target;
11763 11572
11764 /// @domName HTMLLinkElement.type; @docsEditable true 11573 /// @domName HTMLLinkElement.type; @docsEditable true
11765 String type; 11574 String type;
11766 } 11575 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11767 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11768 // for details. All rights reserved. Use of this source code is governed by a 11576 // for details. All rights reserved. Use of this source code is governed by a
11769 // BSD-style license that can be found in the LICENSE file. 11577 // BSD-style license that can be found in the LICENSE file.
11770 11578
11771 11579
11772 /// @domName History; @docsEditable true 11580 /// @domName History; @docsEditable true
11773 class LocalHistory implements History native "*History" { 11581 class LocalHistory implements History native "*History" {
11774 11582
11775 /// @domName History.length; @docsEditable true 11583 /// @domName History.length; @docsEditable true
11776 final int length; 11584 final int length;
11777 11585
11778 /// @domName History.state; @docsEditable true 11586 /// @domName History.state; @docsEditable true
11779 final dynamic state; 11587 final dynamic state;
11780 11588
11781 /// @domName History.back; @docsEditable true 11589 /// @domName History.back; @docsEditable true
11782 void back() native; 11590 void back() native;
11783 11591
11784 /// @domName History.forward; @docsEditable true 11592 /// @domName History.forward; @docsEditable true
11785 void forward() native; 11593 void forward() native;
11786 11594
11787 /// @domName History.go; @docsEditable true 11595 /// @domName History.go; @docsEditable true
11788 void go(int distance) native; 11596 void go(int distance) native;
11789 11597
11790 /// @domName History.pushState; @docsEditable true 11598 /// @domName History.pushState; @docsEditable true
11791 void pushState(Object data, String title, [String url]) native; 11599 void pushState(Object data, String title, [String url]) native;
11792 11600
11793 /// @domName History.replaceState; @docsEditable true 11601 /// @domName History.replaceState; @docsEditable true
11794 void replaceState(Object data, String title, [String url]) native; 11602 void replaceState(Object data, String title, [String url]) native;
11795 } 11603 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11796 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11797 // for details. All rights reserved. Use of this source code is governed by a 11604 // for details. All rights reserved. Use of this source code is governed by a
11798 // BSD-style license that can be found in the LICENSE file. 11605 // BSD-style license that can be found in the LICENSE file.
11799 11606
11800 11607
11801 /// @domName Location; @docsEditable true 11608 /// @domName Location; @docsEditable true
11802 class LocalLocation implements Location native "*Location" { 11609 class LocalLocation implements Location native "*Location" {
11803 11610
11804 /// @domName Location.ancestorOrigins; @docsEditable true 11611 /// @domName Location.ancestorOrigins; @docsEditable true
11805 @Returns('_DOMStringList') @Creates('_DOMStringList') 11612 @Returns('_DOMStringList') @Creates('_DOMStringList')
11806 final List<String> ancestorOrigins; 11613 final List<String> ancestorOrigins;
(...skipping 29 matching lines...) Expand all
11836 void assign(String url) native; 11643 void assign(String url) native;
11837 11644
11838 /// @domName Location.reload; @docsEditable true 11645 /// @domName Location.reload; @docsEditable true
11839 void reload() native; 11646 void reload() native;
11840 11647
11841 /// @domName Location.replace; @docsEditable true 11648 /// @domName Location.replace; @docsEditable true
11842 void replace(String url) native; 11649 void replace(String url) native;
11843 11650
11844 /// @domName Location.toString; @docsEditable true 11651 /// @domName Location.toString; @docsEditable true
11845 String toString() native; 11652 String toString() native;
11846 } 11653 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11847 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11848 // for details. All rights reserved. Use of this source code is governed by a 11654 // for details. All rights reserved. Use of this source code is governed by a
11849 // BSD-style license that can be found in the LICENSE file. 11655 // BSD-style license that can be found in the LICENSE file.
11850 11656
11851 11657
11852 /// @domName LocalMediaStream; @docsEditable true 11658 /// @domName LocalMediaStream; @docsEditable true
11853 class LocalMediaStream extends MediaStream implements EventTarget native "*Local MediaStream" { 11659 class LocalMediaStream extends MediaStream implements EventTarget native "*Local MediaStream" {
11854 11660
11855 /// @domName LocalMediaStream.stop; @docsEditable true 11661 /// @domName LocalMediaStream.stop; @docsEditable true
11856 void stop() native; 11662 void stop() native;
11857 } 11663 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11858 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11859 // for details. All rights reserved. Use of this source code is governed by a 11664 // for details. All rights reserved. Use of this source code is governed by a
11860 // BSD-style license that can be found in the LICENSE file. 11665 // BSD-style license that can be found in the LICENSE file.
11861 11666
11862 11667
11863 class LocalWindow extends EventTarget implements Window native "@*DOMWindow" { 11668 class LocalWindow extends EventTarget implements Window native "@*DOMWindow" {
11864 11669
11865 Document get document => JS('Document', '#.document', this); 11670 Document get document => JS('Document', '#.document', this);
11866 11671
11867 Window _open2(url, name) => JS('Window', '#.open(#,#)', this, url, name); 11672 Window _open2(url, name) => JS('Window', '#.open(#,#)', this, url, name);
11868 11673
(...skipping 546 matching lines...) Expand 10 before | Expand all | Expand 10 after
12415 12220
12416 EventListenerList get waiting => this['waiting']; 12221 EventListenerList get waiting => this['waiting'];
12417 12222
12418 EventListenerList get animationEnd => this['webkitAnimationEnd']; 12223 EventListenerList get animationEnd => this['webkitAnimationEnd'];
12419 12224
12420 EventListenerList get animationIteration => this['webkitAnimationIteration']; 12225 EventListenerList get animationIteration => this['webkitAnimationIteration'];
12421 12226
12422 EventListenerList get animationStart => this['webkitAnimationStart']; 12227 EventListenerList get animationStart => this['webkitAnimationStart'];
12423 12228
12424 EventListenerList get transitionEnd => this['webkitTransitionEnd']; 12229 EventListenerList get transitionEnd => this['webkitTransitionEnd'];
12425 } 12230 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
12426 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
12427 // for details. All rights reserved. Use of this source code is governed by a 12231 // for details. All rights reserved. Use of this source code is governed by a
12428 // BSD-style license that can be found in the LICENSE file. 12232 // BSD-style license that can be found in the LICENSE file.
12429 12233
12430 12234
12431 /// @domName HTMLMapElement; @docsEditable true 12235 /// @domName HTMLMapElement; @docsEditable true
12432 class MapElement extends Element implements Element native "*HTMLMapElement" { 12236 class MapElement extends Element implements Element native "*HTMLMapElement" {
12433 12237
12434 factory MapElement() => document.$dom_createElement("map"); 12238 factory MapElement() => document.$dom_createElement("map");
12435 12239
12436 /// @domName HTMLMapElement.areas; @docsEditable true 12240 /// @domName HTMLMapElement.areas; @docsEditable true
12437 final HTMLCollection areas; 12241 final HTMLCollection areas;
12438 12242
12439 /// @domName HTMLMapElement.name; @docsEditable true 12243 /// @domName HTMLMapElement.name; @docsEditable true
12440 String name; 12244 String name;
12441 } 12245 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
12442 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
12443 // for details. All rights reserved. Use of this source code is governed by a 12246 // for details. All rights reserved. Use of this source code is governed by a
12444 // BSD-style license that can be found in the LICENSE file. 12247 // BSD-style license that can be found in the LICENSE file.
12445 12248
12446 12249
12447 /// @domName HTMLMarqueeElement; @docsEditable true 12250 /// @domName HTMLMarqueeElement; @docsEditable true
12448 class MarqueeElement extends Element implements Element native "*HTMLMarqueeElem ent" { 12251 class MarqueeElement extends Element implements Element native "*HTMLMarqueeElem ent" {
12449 12252
12450 /// @domName HTMLMarqueeElement.behavior; @docsEditable true 12253 /// @domName HTMLMarqueeElement.behavior; @docsEditable true
12451 String behavior; 12254 String behavior;
12452 12255
(...skipping 25 matching lines...) Expand all
12478 int vspace; 12281 int vspace;
12479 12282
12480 /// @domName HTMLMarqueeElement.width; @docsEditable true 12283 /// @domName HTMLMarqueeElement.width; @docsEditable true
12481 String width; 12284 String width;
12482 12285
12483 /// @domName HTMLMarqueeElement.start; @docsEditable true 12286 /// @domName HTMLMarqueeElement.start; @docsEditable true
12484 void start() native; 12287 void start() native;
12485 12288
12486 /// @domName HTMLMarqueeElement.stop; @docsEditable true 12289 /// @domName HTMLMarqueeElement.stop; @docsEditable true
12487 void stop() native; 12290 void stop() native;
12488 } 12291 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
12489 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
12490 // for details. All rights reserved. Use of this source code is governed by a 12292 // for details. All rights reserved. Use of this source code is governed by a
12491 // BSD-style license that can be found in the LICENSE file. 12293 // BSD-style license that can be found in the LICENSE file.
12492 12294
12493 12295
12494 /// @domName MediaController; @docsEditable true 12296 /// @domName MediaController; @docsEditable true
12495 class MediaController extends EventTarget native "*MediaController" { 12297 class MediaController extends EventTarget native "*MediaController" {
12496 12298
12497 factory MediaController() => _MediaControllerFactoryProvider.createMediaContro ller(); 12299 factory MediaController() => _MediaControllerFactoryProvider.createMediaContro ller();
12498 12300
12499 /// @domName MediaController.buffered; @docsEditable true 12301 /// @domName MediaController.buffered; @docsEditable true
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
12533 bool $dom_dispatchEvent(Event evt) native "dispatchEvent"; 12335 bool $dom_dispatchEvent(Event evt) native "dispatchEvent";
12534 12336
12535 /// @domName MediaController.pause; @docsEditable true 12337 /// @domName MediaController.pause; @docsEditable true
12536 void pause() native; 12338 void pause() native;
12537 12339
12538 /// @domName MediaController.play; @docsEditable true 12340 /// @domName MediaController.play; @docsEditable true
12539 void play() native; 12341 void play() native;
12540 12342
12541 /// @domName MediaController.removeEventListener; @docsEditable true 12343 /// @domName MediaController.removeEventListener; @docsEditable true
12542 void $dom_removeEventListener(String type, EventListener listener, [bool useCa pture]) native "removeEventListener"; 12344 void $dom_removeEventListener(String type, EventListener listener, [bool useCa pture]) native "removeEventListener";
12543 } 12345 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
12544 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
12545 // for details. All rights reserved. Use of this source code is governed by a 12346 // for details. All rights reserved. Use of this source code is governed by a
12546 // BSD-style license that can be found in the LICENSE file. 12347 // BSD-style license that can be found in the LICENSE file.
12547 12348
12548 12349
12549 /// @domName HTMLMediaElement; @docsEditable true 12350 /// @domName HTMLMediaElement; @docsEditable true
12550 class MediaElement extends Element implements Element native "*HTMLMediaElement" { 12351 class MediaElement extends Element implements Element native "*HTMLMediaElement" {
12551 12352
12552 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true 12353 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true
12553 MediaElementEvents get on => 12354 MediaElementEvents get on =>
12554 new MediaElementEvents(this); 12355 new MediaElementEvents(this);
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
12737 12538
12738 EventListenerList get waiting => this['waiting']; 12539 EventListenerList get waiting => this['waiting'];
12739 12540
12740 EventListenerList get keyAdded => this['webkitkeyadded']; 12541 EventListenerList get keyAdded => this['webkitkeyadded'];
12741 12542
12742 EventListenerList get keyError => this['webkitkeyerror']; 12543 EventListenerList get keyError => this['webkitkeyerror'];
12743 12544
12744 EventListenerList get keyMessage => this['webkitkeymessage']; 12545 EventListenerList get keyMessage => this['webkitkeymessage'];
12745 12546
12746 EventListenerList get needKey => this['webkitneedkey']; 12547 EventListenerList get needKey => this['webkitneedkey'];
12747 } 12548 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
12748 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
12749 // for details. All rights reserved. Use of this source code is governed by a 12549 // for details. All rights reserved. Use of this source code is governed by a
12750 // BSD-style license that can be found in the LICENSE file. 12550 // BSD-style license that can be found in the LICENSE file.
12751 12551
12752 12552
12753 /// @domName MediaElementAudioSourceNode; @docsEditable true 12553 /// @domName MediaElementAudioSourceNode; @docsEditable true
12754 class MediaElementAudioSourceNode extends AudioSourceNode native "*MediaElementA udioSourceNode" { 12554 class MediaElementAudioSourceNode extends AudioSourceNode native "*MediaElementA udioSourceNode" {
12755 12555
12756 /// @domName MediaElementAudioSourceNode.mediaElement; @docsEditable true 12556 /// @domName MediaElementAudioSourceNode.mediaElement; @docsEditable true
12757 final MediaElement mediaElement; 12557 final MediaElement mediaElement;
12758 } 12558 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
12759 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
12760 // for details. All rights reserved. Use of this source code is governed by a 12559 // for details. All rights reserved. Use of this source code is governed by a
12761 // BSD-style license that can be found in the LICENSE file. 12560 // BSD-style license that can be found in the LICENSE file.
12762 12561
12763 12562
12764 /// @domName MediaError; @docsEditable true 12563 /// @domName MediaError; @docsEditable true
12765 class MediaError native "*MediaError" { 12564 class MediaError native "*MediaError" {
12766 12565
12767 static const int MEDIA_ERR_ABORTED = 1; 12566 static const int MEDIA_ERR_ABORTED = 1;
12768 12567
12769 static const int MEDIA_ERR_DECODE = 3; 12568 static const int MEDIA_ERR_DECODE = 3;
12770 12569
12771 static const int MEDIA_ERR_ENCRYPTED = 5; 12570 static const int MEDIA_ERR_ENCRYPTED = 5;
12772 12571
12773 static const int MEDIA_ERR_NETWORK = 2; 12572 static const int MEDIA_ERR_NETWORK = 2;
12774 12573
12775 static const int MEDIA_ERR_SRC_NOT_SUPPORTED = 4; 12574 static const int MEDIA_ERR_SRC_NOT_SUPPORTED = 4;
12776 12575
12777 /// @domName MediaError.code; @docsEditable true 12576 /// @domName MediaError.code; @docsEditable true
12778 final int code; 12577 final int code;
12779 } 12578 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
12780 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
12781 // for details. All rights reserved. Use of this source code is governed by a 12579 // for details. All rights reserved. Use of this source code is governed by a
12782 // BSD-style license that can be found in the LICENSE file. 12580 // BSD-style license that can be found in the LICENSE file.
12783 12581
12784 12582
12785 /// @domName MediaKeyError; @docsEditable true 12583 /// @domName MediaKeyError; @docsEditable true
12786 class MediaKeyError native "*MediaKeyError" { 12584 class MediaKeyError native "*MediaKeyError" {
12787 12585
12788 static const int MEDIA_KEYERR_CLIENT = 2; 12586 static const int MEDIA_KEYERR_CLIENT = 2;
12789 12587
12790 static const int MEDIA_KEYERR_DOMAIN = 6; 12588 static const int MEDIA_KEYERR_DOMAIN = 6;
12791 12589
12792 static const int MEDIA_KEYERR_HARDWARECHANGE = 5; 12590 static const int MEDIA_KEYERR_HARDWARECHANGE = 5;
12793 12591
12794 static const int MEDIA_KEYERR_OUTPUT = 4; 12592 static const int MEDIA_KEYERR_OUTPUT = 4;
12795 12593
12796 static const int MEDIA_KEYERR_SERVICE = 3; 12594 static const int MEDIA_KEYERR_SERVICE = 3;
12797 12595
12798 static const int MEDIA_KEYERR_UNKNOWN = 1; 12596 static const int MEDIA_KEYERR_UNKNOWN = 1;
12799 12597
12800 /// @domName MediaKeyError.code; @docsEditable true 12598 /// @domName MediaKeyError.code; @docsEditable true
12801 final int code; 12599 final int code;
12802 } 12600 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
12803 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
12804 // for details. All rights reserved. Use of this source code is governed by a 12601 // for details. All rights reserved. Use of this source code is governed by a
12805 // BSD-style license that can be found in the LICENSE file. 12602 // BSD-style license that can be found in the LICENSE file.
12806 12603
12807 12604
12808 /// @domName MediaKeyEvent; @docsEditable true 12605 /// @domName MediaKeyEvent; @docsEditable true
12809 class MediaKeyEvent extends Event native "*MediaKeyEvent" { 12606 class MediaKeyEvent extends Event native "*MediaKeyEvent" {
12810 12607
12811 /// @domName MediaKeyEvent.defaultURL; @docsEditable true 12608 /// @domName MediaKeyEvent.defaultURL; @docsEditable true
12812 final String defaultURL; 12609 final String defaultURL;
12813 12610
12814 /// @domName MediaKeyEvent.errorCode; @docsEditable true 12611 /// @domName MediaKeyEvent.errorCode; @docsEditable true
12815 final MediaKeyError errorCode; 12612 final MediaKeyError errorCode;
12816 12613
12817 /// @domName MediaKeyEvent.initData; @docsEditable true 12614 /// @domName MediaKeyEvent.initData; @docsEditable true
12818 final Uint8Array initData; 12615 final Uint8Array initData;
12819 12616
12820 /// @domName MediaKeyEvent.keySystem; @docsEditable true 12617 /// @domName MediaKeyEvent.keySystem; @docsEditable true
12821 final String keySystem; 12618 final String keySystem;
12822 12619
12823 /// @domName MediaKeyEvent.message; @docsEditable true 12620 /// @domName MediaKeyEvent.message; @docsEditable true
12824 final Uint8Array message; 12621 final Uint8Array message;
12825 12622
12826 /// @domName MediaKeyEvent.sessionId; @docsEditable true 12623 /// @domName MediaKeyEvent.sessionId; @docsEditable true
12827 final String sessionId; 12624 final String sessionId;
12828 12625
12829 /// @domName MediaKeyEvent.systemCode; @docsEditable true 12626 /// @domName MediaKeyEvent.systemCode; @docsEditable true
12830 final int systemCode; 12627 final int systemCode;
12831 } 12628 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
12832 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
12833 // for details. All rights reserved. Use of this source code is governed by a 12629 // for details. All rights reserved. Use of this source code is governed by a
12834 // BSD-style license that can be found in the LICENSE file. 12630 // BSD-style license that can be found in the LICENSE file.
12835 12631
12836 12632
12837 /// @domName MediaList; @docsEditable true 12633 /// @domName MediaList; @docsEditable true
12838 class MediaList native "*MediaList" { 12634 class MediaList native "*MediaList" {
12839 12635
12840 /// @domName MediaList.length; @docsEditable true 12636 /// @domName MediaList.length; @docsEditable true
12841 final int length; 12637 final int length;
12842 12638
12843 /// @domName MediaList.mediaText; @docsEditable true 12639 /// @domName MediaList.mediaText; @docsEditable true
12844 String mediaText; 12640 String mediaText;
12845 12641
12846 /// @domName MediaList.appendMedium; @docsEditable true 12642 /// @domName MediaList.appendMedium; @docsEditable true
12847 void appendMedium(String newMedium) native; 12643 void appendMedium(String newMedium) native;
12848 12644
12849 /// @domName MediaList.deleteMedium; @docsEditable true 12645 /// @domName MediaList.deleteMedium; @docsEditable true
12850 void deleteMedium(String oldMedium) native; 12646 void deleteMedium(String oldMedium) native;
12851 12647
12852 /// @domName MediaList.item; @docsEditable true 12648 /// @domName MediaList.item; @docsEditable true
12853 String item(int index) native; 12649 String item(int index) native;
12854 } 12650 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
12855 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
12856 // for details. All rights reserved. Use of this source code is governed by a 12651 // for details. All rights reserved. Use of this source code is governed by a
12857 // BSD-style license that can be found in the LICENSE file. 12652 // BSD-style license that can be found in the LICENSE file.
12858 12653
12859 12654
12860 /// @domName MediaQueryList; @docsEditable true 12655 /// @domName MediaQueryList; @docsEditable true
12861 class MediaQueryList native "*MediaQueryList" { 12656 class MediaQueryList native "*MediaQueryList" {
12862 12657
12863 /// @domName MediaQueryList.matches; @docsEditable true 12658 /// @domName MediaQueryList.matches; @docsEditable true
12864 final bool matches; 12659 final bool matches;
12865 12660
12866 /// @domName MediaQueryList.media; @docsEditable true 12661 /// @domName MediaQueryList.media; @docsEditable true
12867 final String media; 12662 final String media;
12868 12663
12869 /// @domName MediaQueryList.addListener; @docsEditable true 12664 /// @domName MediaQueryList.addListener; @docsEditable true
12870 void addListener(MediaQueryListListener listener) native; 12665 void addListener(MediaQueryListListener listener) native;
12871 12666
12872 /// @domName MediaQueryList.removeListener; @docsEditable true 12667 /// @domName MediaQueryList.removeListener; @docsEditable true
12873 void removeListener(MediaQueryListListener listener) native; 12668 void removeListener(MediaQueryListListener listener) native;
12874 } 12669 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
12875 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
12876 // for details. All rights reserved. Use of this source code is governed by a 12670 // for details. All rights reserved. Use of this source code is governed by a
12877 // BSD-style license that can be found in the LICENSE file. 12671 // BSD-style license that can be found in the LICENSE file.
12878 12672
12879 12673
12880 /// @domName MediaQueryListListener 12674 /// @domName MediaQueryListListener
12881 abstract class MediaQueryListListener { 12675 abstract class MediaQueryListListener {
12882 12676
12883 /// @domName MediaQueryListListener.queryChanged; @docsEditable true 12677 /// @domName MediaQueryListListener.queryChanged; @docsEditable true
12884 void queryChanged(MediaQueryList list); 12678 void queryChanged(MediaQueryList list);
12885 } 12679 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
12886 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
12887 // for details. All rights reserved. Use of this source code is governed by a 12680 // for details. All rights reserved. Use of this source code is governed by a
12888 // BSD-style license that can be found in the LICENSE file. 12681 // BSD-style license that can be found in the LICENSE file.
12889 12682
12890 12683
12891 /// @domName MediaSource; @docsEditable true 12684 /// @domName MediaSource; @docsEditable true
12892 class MediaSource extends EventTarget native "*MediaSource" { 12685 class MediaSource extends EventTarget native "*MediaSource" {
12893 12686
12894 factory MediaSource() => _MediaSourceFactoryProvider.createMediaSource(); 12687 factory MediaSource() => _MediaSourceFactoryProvider.createMediaSource();
12895 12688
12896 /// @domName MediaSource.activeSourceBuffers; @docsEditable true 12689 /// @domName MediaSource.activeSourceBuffers; @docsEditable true
(...skipping 18 matching lines...) Expand all
12915 bool $dom_dispatchEvent(Event event) native "dispatchEvent"; 12708 bool $dom_dispatchEvent(Event event) native "dispatchEvent";
12916 12709
12917 /// @domName MediaSource.endOfStream; @docsEditable true 12710 /// @domName MediaSource.endOfStream; @docsEditable true
12918 void endOfStream(String error) native; 12711 void endOfStream(String error) native;
12919 12712
12920 /// @domName MediaSource.removeEventListener; @docsEditable true 12713 /// @domName MediaSource.removeEventListener; @docsEditable true
12921 void $dom_removeEventListener(String type, EventListener listener, [bool useCa pture]) native "removeEventListener"; 12714 void $dom_removeEventListener(String type, EventListener listener, [bool useCa pture]) native "removeEventListener";
12922 12715
12923 /// @domName MediaSource.removeSourceBuffer; @docsEditable true 12716 /// @domName MediaSource.removeSourceBuffer; @docsEditable true
12924 void removeSourceBuffer(SourceBuffer buffer) native; 12717 void removeSourceBuffer(SourceBuffer buffer) native;
12925 } 12718 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
12926 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
12927 // for details. All rights reserved. Use of this source code is governed by a 12719 // for details. All rights reserved. Use of this source code is governed by a
12928 // BSD-style license that can be found in the LICENSE file. 12720 // BSD-style license that can be found in the LICENSE file.
12929 12721
12930 12722
12931 /// @domName MediaStream; @docsEditable true 12723 /// @domName MediaStream; @docsEditable true
12932 class MediaStream extends EventTarget native "*MediaStream" { 12724 class MediaStream extends EventTarget native "*MediaStream" {
12933 12725
12934 factory MediaStream(MediaStreamTrackList audioTracks, MediaStreamTrackList vid eoTracks) => _MediaStreamFactoryProvider.createMediaStream(audioTracks, videoTra cks); 12726 factory MediaStream(MediaStreamTrackList audioTracks, MediaStreamTrackList vid eoTracks) => _MediaStreamFactoryProvider.createMediaStream(audioTracks, videoTra cks);
12935 12727
12936 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true 12728 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true
(...skipping 23 matching lines...) Expand all
12960 bool $dom_dispatchEvent(Event event) native "dispatchEvent"; 12752 bool $dom_dispatchEvent(Event event) native "dispatchEvent";
12961 12753
12962 /// @domName MediaStream.removeEventListener; @docsEditable true 12754 /// @domName MediaStream.removeEventListener; @docsEditable true
12963 void $dom_removeEventListener(String type, EventListener listener, [bool useCa pture]) native "removeEventListener"; 12755 void $dom_removeEventListener(String type, EventListener listener, [bool useCa pture]) native "removeEventListener";
12964 } 12756 }
12965 12757
12966 class MediaStreamEvents extends Events { 12758 class MediaStreamEvents extends Events {
12967 MediaStreamEvents(EventTarget _ptr) : super(_ptr); 12759 MediaStreamEvents(EventTarget _ptr) : super(_ptr);
12968 12760
12969 EventListenerList get ended => this['ended']; 12761 EventListenerList get ended => this['ended'];
12970 } 12762 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
12971 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
12972 // for details. All rights reserved. Use of this source code is governed by a 12763 // for details. All rights reserved. Use of this source code is governed by a
12973 // BSD-style license that can be found in the LICENSE file. 12764 // BSD-style license that can be found in the LICENSE file.
12974 12765
12975 12766
12976 /// @domName MediaStreamAudioSourceNode; @docsEditable true 12767 /// @domName MediaStreamAudioSourceNode; @docsEditable true
12977 class MediaStreamAudioSourceNode extends AudioSourceNode native "*MediaStreamAud ioSourceNode" { 12768 class MediaStreamAudioSourceNode extends AudioSourceNode native "*MediaStreamAud ioSourceNode" {
12978 12769
12979 /// @domName MediaStreamAudioSourceNode.mediaStream; @docsEditable true 12770 /// @domName MediaStreamAudioSourceNode.mediaStream; @docsEditable true
12980 final MediaStream mediaStream; 12771 final MediaStream mediaStream;
12981 } 12772 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
12982 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
12983 // for details. All rights reserved. Use of this source code is governed by a 12773 // for details. All rights reserved. Use of this source code is governed by a
12984 // BSD-style license that can be found in the LICENSE file. 12774 // BSD-style license that can be found in the LICENSE file.
12985 12775
12986 12776
12987 /// @domName MediaStreamEvent; @docsEditable true 12777 /// @domName MediaStreamEvent; @docsEditable true
12988 class MediaStreamEvent extends Event native "*MediaStreamEvent" { 12778 class MediaStreamEvent extends Event native "*MediaStreamEvent" {
12989 12779
12990 /// @domName MediaStreamEvent.stream; @docsEditable true 12780 /// @domName MediaStreamEvent.stream; @docsEditable true
12991 final MediaStream stream; 12781 final MediaStream stream;
12992 } 12782 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
12993 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
12994 // for details. All rights reserved. Use of this source code is governed by a 12783 // for details. All rights reserved. Use of this source code is governed by a
12995 // BSD-style license that can be found in the LICENSE file. 12784 // BSD-style license that can be found in the LICENSE file.
12996 12785
12997 12786
12998 /// @domName MediaStreamTrack; @docsEditable true 12787 /// @domName MediaStreamTrack; @docsEditable true
12999 class MediaStreamTrack extends EventTarget native "*MediaStreamTrack" { 12788 class MediaStreamTrack extends EventTarget native "*MediaStreamTrack" {
13000 12789
13001 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true 12790 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true
13002 MediaStreamTrackEvents get on => 12791 MediaStreamTrackEvents get on =>
13003 new MediaStreamTrackEvents(this); 12792 new MediaStreamTrackEvents(this);
(...skipping 27 matching lines...) Expand all
13031 } 12820 }
13032 12821
13033 class MediaStreamTrackEvents extends Events { 12822 class MediaStreamTrackEvents extends Events {
13034 MediaStreamTrackEvents(EventTarget _ptr) : super(_ptr); 12823 MediaStreamTrackEvents(EventTarget _ptr) : super(_ptr);
13035 12824
13036 EventListenerList get ended => this['ended']; 12825 EventListenerList get ended => this['ended'];
13037 12826
13038 EventListenerList get mute => this['mute']; 12827 EventListenerList get mute => this['mute'];
13039 12828
13040 EventListenerList get unmute => this['unmute']; 12829 EventListenerList get unmute => this['unmute'];
13041 } 12830 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13042 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13043 // for details. All rights reserved. Use of this source code is governed by a 12831 // for details. All rights reserved. Use of this source code is governed by a
13044 // BSD-style license that can be found in the LICENSE file. 12832 // BSD-style license that can be found in the LICENSE file.
13045 12833
13046 12834
13047 /// @domName MediaStreamTrackEvent; @docsEditable true 12835 /// @domName MediaStreamTrackEvent; @docsEditable true
13048 class MediaStreamTrackEvent extends Event native "*MediaStreamTrackEvent" { 12836 class MediaStreamTrackEvent extends Event native "*MediaStreamTrackEvent" {
13049 12837
13050 /// @domName MediaStreamTrackEvent.track; @docsEditable true 12838 /// @domName MediaStreamTrackEvent.track; @docsEditable true
13051 final MediaStreamTrack track; 12839 final MediaStreamTrack track;
13052 } 12840 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13053 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13054 // for details. All rights reserved. Use of this source code is governed by a 12841 // for details. All rights reserved. Use of this source code is governed by a
13055 // BSD-style license that can be found in the LICENSE file. 12842 // BSD-style license that can be found in the LICENSE file.
13056 12843
13057 12844
13058 /// @domName MediaStreamTrackList; @docsEditable true 12845 /// @domName MediaStreamTrackList; @docsEditable true
13059 class MediaStreamTrackList extends EventTarget native "*MediaStreamTrackList" { 12846 class MediaStreamTrackList extends EventTarget native "*MediaStreamTrackList" {
13060 12847
13061 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true 12848 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true
13062 MediaStreamTrackListEvents get on => 12849 MediaStreamTrackListEvents get on =>
13063 new MediaStreamTrackListEvents(this); 12850 new MediaStreamTrackListEvents(this);
(...skipping 19 matching lines...) Expand all
13083 /// @domName MediaStreamTrackList.removeEventListener; @docsEditable true 12870 /// @domName MediaStreamTrackList.removeEventListener; @docsEditable true
13084 void $dom_removeEventListener(String type, EventListener listener, [bool useCa pture]) native "removeEventListener"; 12871 void $dom_removeEventListener(String type, EventListener listener, [bool useCa pture]) native "removeEventListener";
13085 } 12872 }
13086 12873
13087 class MediaStreamTrackListEvents extends Events { 12874 class MediaStreamTrackListEvents extends Events {
13088 MediaStreamTrackListEvents(EventTarget _ptr) : super(_ptr); 12875 MediaStreamTrackListEvents(EventTarget _ptr) : super(_ptr);
13089 12876
13090 EventListenerList get addTrack => this['addtrack']; 12877 EventListenerList get addTrack => this['addtrack'];
13091 12878
13092 EventListenerList get removeTrack => this['removetrack']; 12879 EventListenerList get removeTrack => this['removetrack'];
13093 } 12880 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13094 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13095 // for details. All rights reserved. Use of this source code is governed by a 12881 // for details. All rights reserved. Use of this source code is governed by a
13096 // BSD-style license that can be found in the LICENSE file. 12882 // BSD-style license that can be found in the LICENSE file.
13097 12883
13098 12884
13099 /// @domName MemoryInfo; @docsEditable true 12885 /// @domName MemoryInfo; @docsEditable true
13100 class MemoryInfo native "*MemoryInfo" { 12886 class MemoryInfo native "*MemoryInfo" {
13101 12887
13102 /// @domName MemoryInfo.jsHeapSizeLimit; @docsEditable true 12888 /// @domName MemoryInfo.jsHeapSizeLimit; @docsEditable true
13103 final int jsHeapSizeLimit; 12889 final int jsHeapSizeLimit;
13104 12890
13105 /// @domName MemoryInfo.totalJSHeapSize; @docsEditable true 12891 /// @domName MemoryInfo.totalJSHeapSize; @docsEditable true
13106 final int totalJSHeapSize; 12892 final int totalJSHeapSize;
13107 12893
13108 /// @domName MemoryInfo.usedJSHeapSize; @docsEditable true 12894 /// @domName MemoryInfo.usedJSHeapSize; @docsEditable true
13109 final int usedJSHeapSize; 12895 final int usedJSHeapSize;
13110 } 12896 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13111 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13112 // for details. All rights reserved. Use of this source code is governed by a 12897 // for details. All rights reserved. Use of this source code is governed by a
13113 // BSD-style license that can be found in the LICENSE file. 12898 // BSD-style license that can be found in the LICENSE file.
13114 12899
13115 12900
12901 /**
12902 * An HTML <menu> element.
12903 *
12904 * A <menu> element represents an unordered list of menu commands.
12905 */
13116 /// @domName HTMLMenuElement; @docsEditable true 12906 /// @domName HTMLMenuElement; @docsEditable true
13117 class MenuElement extends Element implements Element native "*HTMLMenuElement" { 12907 class MenuElement extends Element implements Element native "*HTMLMenuElement" {
13118 12908
13119 factory MenuElement() => document.$dom_createElement("menu"); 12909 factory MenuElement() => document.$dom_createElement("menu");
13120 12910
13121 /// @domName HTMLMenuElement.compact; @docsEditable true 12911 /// @domName HTMLMenuElement.compact; @docsEditable true
13122 bool compact; 12912 bool compact;
13123 } 12913 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13124 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13125 // for details. All rights reserved. Use of this source code is governed by a 12914 // for details. All rights reserved. Use of this source code is governed by a
13126 // BSD-style license that can be found in the LICENSE file. 12915 // BSD-style license that can be found in the LICENSE file.
13127 12916
13128 12917
13129 /// @domName MessageChannel; @docsEditable true 12918 /// @domName MessageChannel; @docsEditable true
13130 class MessageChannel native "*MessageChannel" { 12919 class MessageChannel native "*MessageChannel" {
13131 12920
13132 factory MessageChannel() => _MessageChannelFactoryProvider.createMessageChanne l(); 12921 factory MessageChannel() => _MessageChannelFactoryProvider.createMessageChanne l();
13133 12922
13134 /// @domName MessageChannel.port1; @docsEditable true 12923 /// @domName MessageChannel.port1; @docsEditable true
13135 final MessagePort port1; 12924 final MessagePort port1;
13136 12925
13137 /// @domName MessageChannel.port2; @docsEditable true 12926 /// @domName MessageChannel.port2; @docsEditable true
13138 final MessagePort port2; 12927 final MessagePort port2;
13139 } 12928 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13140 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13141 // for details. All rights reserved. Use of this source code is governed by a 12929 // for details. All rights reserved. Use of this source code is governed by a
13142 // BSD-style license that can be found in the LICENSE file. 12930 // BSD-style license that can be found in the LICENSE file.
13143 12931
13144 12932
13145 /// @domName MessageEvent; @docsEditable true 12933 /// @domName MessageEvent; @docsEditable true
13146 class MessageEvent extends Event native "*MessageEvent" { 12934 class MessageEvent extends Event native "*MessageEvent" {
13147 12935
13148 /// @domName MessageEvent.data; @docsEditable true 12936 /// @domName MessageEvent.data; @docsEditable true
13149 dynamic get data => _convertNativeToDart_SerializedScriptValue(this._data); 12937 dynamic get data => _convertNativeToDart_SerializedScriptValue(this._data);
13150 dynamic get _data => JS("dynamic", "#.data", this); 12938 dynamic get _data => JS("dynamic", "#.data", this);
(...skipping 10 matching lines...) Expand all
13161 12949
13162 /// @domName MessageEvent.source; @docsEditable true 12950 /// @domName MessageEvent.source; @docsEditable true
13163 Window get source => _convertNativeToDart_Window(this._source); 12951 Window get source => _convertNativeToDart_Window(this._source);
13164 dynamic get _source => JS("dynamic", "#.source", this); 12952 dynamic get _source => JS("dynamic", "#.source", this);
13165 12953
13166 /// @domName MessageEvent.initMessageEvent; @docsEditable true 12954 /// @domName MessageEvent.initMessageEvent; @docsEditable true
13167 void initMessageEvent(String typeArg, bool canBubbleArg, bool cancelableArg, O bject dataArg, String originArg, String lastEventIdArg, LocalWindow sourceArg, L ist messagePorts) native; 12955 void initMessageEvent(String typeArg, bool canBubbleArg, bool cancelableArg, O bject dataArg, String originArg, String lastEventIdArg, LocalWindow sourceArg, L ist messagePorts) native;
13168 12956
13169 /// @domName MessageEvent.webkitInitMessageEvent; @docsEditable true 12957 /// @domName MessageEvent.webkitInitMessageEvent; @docsEditable true
13170 void webkitInitMessageEvent(String typeArg, bool canBubbleArg, bool cancelable Arg, Object dataArg, String originArg, String lastEventIdArg, LocalWindow source Arg, List transferables) native; 12958 void webkitInitMessageEvent(String typeArg, bool canBubbleArg, bool cancelable Arg, Object dataArg, String originArg, String lastEventIdArg, LocalWindow source Arg, List transferables) native;
13171 } 12959 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13172 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13173 // for details. All rights reserved. Use of this source code is governed by a 12960 // for details. All rights reserved. Use of this source code is governed by a
13174 // BSD-style license that can be found in the LICENSE file. 12961 // BSD-style license that can be found in the LICENSE file.
13175 12962
13176 12963
13177 /// @domName MessagePort; @docsEditable true 12964 /// @domName MessagePort; @docsEditable true
13178 class MessagePort extends EventTarget native "*MessagePort" { 12965 class MessagePort extends EventTarget native "*MessagePort" {
13179 12966
13180 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true 12967 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true
13181 MessagePortEvents get on => 12968 MessagePortEvents get on =>
13182 new MessagePortEvents(this); 12969 new MessagePortEvents(this);
(...skipping 25 matching lines...) Expand all
13208 void $dom_removeEventListener(String type, EventListener listener, [bool useCa pture]) native "removeEventListener"; 12995 void $dom_removeEventListener(String type, EventListener listener, [bool useCa pture]) native "removeEventListener";
13209 12996
13210 /// @domName MessagePort.start; @docsEditable true 12997 /// @domName MessagePort.start; @docsEditable true
13211 void start() native; 12998 void start() native;
13212 } 12999 }
13213 13000
13214 class MessagePortEvents extends Events { 13001 class MessagePortEvents extends Events {
13215 MessagePortEvents(EventTarget _ptr) : super(_ptr); 13002 MessagePortEvents(EventTarget _ptr) : super(_ptr);
13216 13003
13217 EventListenerList get message => this['message']; 13004 EventListenerList get message => this['message'];
13218 } 13005 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13219 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13220 // for details. All rights reserved. Use of this source code is governed by a 13006 // for details. All rights reserved. Use of this source code is governed by a
13221 // BSD-style license that can be found in the LICENSE file. 13007 // BSD-style license that can be found in the LICENSE file.
13222 13008
13223 13009
13224 /// @domName HTMLMetaElement; @docsEditable true 13010 /// @domName HTMLMetaElement; @docsEditable true
13225 class MetaElement extends Element implements Element native "*HTMLMetaElement" { 13011 class MetaElement extends Element implements Element native "*HTMLMetaElement" {
13226 13012
13227 /// @domName HTMLMetaElement.content; @docsEditable true 13013 /// @domName HTMLMetaElement.content; @docsEditable true
13228 String content; 13014 String content;
13229 13015
13230 /// @domName HTMLMetaElement.httpEquiv; @docsEditable true 13016 /// @domName HTMLMetaElement.httpEquiv; @docsEditable true
13231 String httpEquiv; 13017 String httpEquiv;
13232 13018
13233 /// @domName HTMLMetaElement.name; @docsEditable true 13019 /// @domName HTMLMetaElement.name; @docsEditable true
13234 String name; 13020 String name;
13235 13021
13236 /// @domName HTMLMetaElement.scheme; @docsEditable true 13022 /// @domName HTMLMetaElement.scheme; @docsEditable true
13237 String scheme; 13023 String scheme;
13238 } 13024 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13239 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13240 // for details. All rights reserved. Use of this source code is governed by a 13025 // for details. All rights reserved. Use of this source code is governed by a
13241 // BSD-style license that can be found in the LICENSE file. 13026 // BSD-style license that can be found in the LICENSE file.
13242 13027
13243 13028
13244 /// @domName Metadata; @docsEditable true 13029 /// @domName Metadata; @docsEditable true
13245 class Metadata native "*Metadata" { 13030 class Metadata native "*Metadata" {
13246 13031
13247 /// @domName Metadata.modificationTime; @docsEditable true 13032 /// @domName Metadata.modificationTime; @docsEditable true
13248 final Date modificationTime; 13033 final Date modificationTime;
13249 13034
13250 /// @domName Metadata.size; @docsEditable true 13035 /// @domName Metadata.size; @docsEditable true
13251 final int size; 13036 final int size;
13252 } 13037 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13253 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13254 // for details. All rights reserved. Use of this source code is governed by a 13038 // for details. All rights reserved. Use of this source code is governed by a
13255 // BSD-style license that can be found in the LICENSE file. 13039 // BSD-style license that can be found in the LICENSE file.
13256 13040
13257 // WARNING: Do not edit - generated code. 13041 // WARNING: Do not edit - generated code.
13258 13042
13259 13043
13260 typedef void MetadataCallback(Metadata metadata); 13044 typedef void MetadataCallback(Metadata metadata);// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13261 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13262 // for details. All rights reserved. Use of this source code is governed by a 13045 // for details. All rights reserved. Use of this source code is governed by a
13263 // BSD-style license that can be found in the LICENSE file. 13046 // BSD-style license that can be found in the LICENSE file.
13264 13047
13265 13048
13266 /// @domName HTMLMeterElement; @docsEditable true 13049 /// @domName HTMLMeterElement; @docsEditable true
13267 class MeterElement extends Element implements Element native "*HTMLMeterElement" { 13050 class MeterElement extends Element implements Element native "*HTMLMeterElement" {
13268 13051
13269 factory MeterElement() => document.$dom_createElement("meter"); 13052 factory MeterElement() => document.$dom_createElement("meter");
13270 13053
13271 /// @domName HTMLMeterElement.high; @docsEditable true 13054 /// @domName HTMLMeterElement.high; @docsEditable true
(...skipping 10 matching lines...) Expand all
13282 num max; 13065 num max;
13283 13066
13284 /// @domName HTMLMeterElement.min; @docsEditable true 13067 /// @domName HTMLMeterElement.min; @docsEditable true
13285 num min; 13068 num min;
13286 13069
13287 /// @domName HTMLMeterElement.optimum; @docsEditable true 13070 /// @domName HTMLMeterElement.optimum; @docsEditable true
13288 num optimum; 13071 num optimum;
13289 13072
13290 /// @domName HTMLMeterElement.value; @docsEditable true 13073 /// @domName HTMLMeterElement.value; @docsEditable true
13291 num value; 13074 num value;
13292 } 13075 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13293 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13294 // for details. All rights reserved. Use of this source code is governed by a 13076 // for details. All rights reserved. Use of this source code is governed by a
13295 // BSD-style license that can be found in the LICENSE file. 13077 // BSD-style license that can be found in the LICENSE file.
13296 13078
13297 13079
13298 /// @domName HTMLModElement; @docsEditable true 13080 /// @domName HTMLModElement; @docsEditable true
13299 class ModElement extends Element implements Element native "*HTMLModElement" { 13081 class ModElement extends Element implements Element native "*HTMLModElement" {
13300 13082
13301 /// @domName HTMLModElement.cite; @docsEditable true 13083 /// @domName HTMLModElement.cite; @docsEditable true
13302 String cite; 13084 String cite;
13303 13085
13304 /// @domName HTMLModElement.dateTime; @docsEditable true 13086 /// @domName HTMLModElement.dateTime; @docsEditable true
13305 String dateTime; 13087 String dateTime;
13306 } 13088 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13307 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13308 // for details. All rights reserved. Use of this source code is governed by a 13089 // for details. All rights reserved. Use of this source code is governed by a
13309 // BSD-style license that can be found in the LICENSE file. 13090 // BSD-style license that can be found in the LICENSE file.
13310 13091
13311 13092
13312 class MouseEvent extends UIEvent native "*MouseEvent" { 13093 class MouseEvent extends UIEvent native "*MouseEvent" {
13313 factory MouseEvent(String type, Window view, int detail, int screenX, 13094 factory MouseEvent(String type, Window view, int detail, int screenX,
13314 int screenY, int clientX, int clientY, int button, [bool canBubble = true, 13095 int screenY, int clientX, int clientY, int button, [bool canBubble = true,
13315 bool cancelable = true, bool ctrlKey = false, bool altKey = false, 13096 bool cancelable = true, bool ctrlKey = false, bool altKey = false,
13316 bool shiftKey = false, bool metaKey = false, 13097 bool shiftKey = false, bool metaKey = false,
13317 EventTarget relatedTarget = null]) => 13098 EventTarget relatedTarget = null]) =>
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
13402 } else { 13183 } else {
13403 // Firefox does not support offsetY. 13184 // Firefox does not support offsetY.
13404 var target = this.target; 13185 var target = this.target;
13405 if (!(target is Element)) { 13186 if (!(target is Element)) {
13406 throw new UnsupportedError( 13187 throw new UnsupportedError(
13407 'offsetY is only supported on elements'); 13188 'offsetY is only supported on elements');
13408 } 13189 }
13409 return this.clientY - this.target.getBoundingClientRect().top; 13190 return this.clientY - this.target.getBoundingClientRect().top;
13410 } 13191 }
13411 } 13192 }
13412 } 13193 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13413 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13414 // for details. All rights reserved. Use of this source code is governed by a 13194 // for details. All rights reserved. Use of this source code is governed by a
13415 // BSD-style license that can be found in the LICENSE file. 13195 // BSD-style license that can be found in the LICENSE file.
13416 13196
13417 // WARNING: Do not edit - generated code. 13197 // WARNING: Do not edit - generated code.
13418 13198
13419 13199
13420 typedef void MutationCallback(List<MutationRecord> mutations, MutationObserver o bserver); 13200 typedef void MutationCallback(List<MutationRecord> mutations, MutationObserver o bserver);// Copyright (c) 2012, the Dart project authors. Please see the AUTHOR S file
13421 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13422 // for details. All rights reserved. Use of this source code is governed by a 13201 // for details. All rights reserved. Use of this source code is governed by a
13423 // BSD-style license that can be found in the LICENSE file. 13202 // BSD-style license that can be found in the LICENSE file.
13424 13203
13425 13204
13426 /// @domName MutationEvent; @docsEditable true 13205 /// @domName MutationEvent; @docsEditable true
13427 class MutationEvent extends Event native "*MutationEvent" { 13206 class MutationEvent extends Event native "*MutationEvent" {
13428 13207
13429 static const int ADDITION = 2; 13208 static const int ADDITION = 2;
13430 13209
13431 static const int MODIFICATION = 1; 13210 static const int MODIFICATION = 1;
(...skipping 10 matching lines...) Expand all
13442 final String newValue; 13221 final String newValue;
13443 13222
13444 /// @domName MutationEvent.prevValue; @docsEditable true 13223 /// @domName MutationEvent.prevValue; @docsEditable true
13445 final String prevValue; 13224 final String prevValue;
13446 13225
13447 /// @domName MutationEvent.relatedNode; @docsEditable true 13226 /// @domName MutationEvent.relatedNode; @docsEditable true
13448 final Node relatedNode; 13227 final Node relatedNode;
13449 13228
13450 /// @domName MutationEvent.initMutationEvent; @docsEditable true 13229 /// @domName MutationEvent.initMutationEvent; @docsEditable true
13451 void initMutationEvent(String type, bool canBubble, bool cancelable, Node rela tedNode, String prevValue, String newValue, String attrName, int attrChange) nat ive; 13230 void initMutationEvent(String type, bool canBubble, bool cancelable, Node rela tedNode, String prevValue, String newValue, String attrName, int attrChange) nat ive;
13452 } 13231 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13453 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13454 // for details. All rights reserved. Use of this source code is governed by a 13232 // for details. All rights reserved. Use of this source code is governed by a
13455 // BSD-style license that can be found in the LICENSE file. 13233 // BSD-style license that can be found in the LICENSE file.
13456 13234
13457 13235
13458 class MutationObserver native "*MutationObserver" { 13236 class MutationObserver native "*MutationObserver" {
13459 13237
13460 factory MutationObserver(MutationCallback callback) => _MutationObserverFactor yProvider.createMutationObserver(callback); 13238 factory MutationObserver(MutationCallback callback) => _MutationObserverFactor yProvider.createMutationObserver(callback);
13461 13239
13462 /// @domName MutationObserver.disconnect; @docsEditable true 13240 /// @domName MutationObserver.disconnect; @docsEditable true
13463 void disconnect() native; 13241 void disconnect() native;
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
13526 'attributeOldValue': true, 13304 'attributeOldValue': true,
13527 'characterDataOldValue': true }; 13305 'characterDataOldValue': true };
13528 13306
13529 13307
13530 static _createDict() => JS('var', '{}'); 13308 static _createDict() => JS('var', '{}');
13531 static _add(m, String key, value) { JS('void', '#[#] = #', m, key, value); } 13309 static _add(m, String key, value) { JS('void', '#[#] = #', m, key, value); }
13532 static _fixupList(list) => list; // TODO: Ensure is a JavaScript Array. 13310 static _fixupList(list) => list; // TODO: Ensure is a JavaScript Array.
13533 13311
13534 // Call native function with no conversions. 13312 // Call native function with no conversions.
13535 void _call(target, options) native 'observe'; 13313 void _call(target, options) native 'observe';
13536 } 13314 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13537 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13538 // for details. All rights reserved. Use of this source code is governed by a 13315 // for details. All rights reserved. Use of this source code is governed by a
13539 // BSD-style license that can be found in the LICENSE file. 13316 // BSD-style license that can be found in the LICENSE file.
13540 13317
13541 13318
13542 /// @domName MutationRecord; @docsEditable true 13319 /// @domName MutationRecord; @docsEditable true
13543 class MutationRecord native "*MutationRecord" { 13320 class MutationRecord native "*MutationRecord" {
13544 13321
13545 /// @domName MutationRecord.addedNodes; @docsEditable true 13322 /// @domName MutationRecord.addedNodes; @docsEditable true
13546 @Returns('_NodeList') @Creates('_NodeList') 13323 @Returns('_NodeList') @Creates('_NodeList')
13547 final List<Node> addedNodes; 13324 final List<Node> addedNodes;
(...skipping 15 matching lines...) Expand all
13563 13340
13564 /// @domName MutationRecord.removedNodes; @docsEditable true 13341 /// @domName MutationRecord.removedNodes; @docsEditable true
13565 @Returns('_NodeList') @Creates('_NodeList') 13342 @Returns('_NodeList') @Creates('_NodeList')
13566 final List<Node> removedNodes; 13343 final List<Node> removedNodes;
13567 13344
13568 /// @domName MutationRecord.target; @docsEditable true 13345 /// @domName MutationRecord.target; @docsEditable true
13569 final Node target; 13346 final Node target;
13570 13347
13571 /// @domName MutationRecord.type; @docsEditable true 13348 /// @domName MutationRecord.type; @docsEditable true
13572 final String type; 13349 final String type;
13573 } 13350 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13574 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13575 // for details. All rights reserved. Use of this source code is governed by a 13351 // for details. All rights reserved. Use of this source code is governed by a
13576 // BSD-style license that can be found in the LICENSE file. 13352 // BSD-style license that can be found in the LICENSE file.
13577 13353
13578 13354
13579 /// @domName NamedNodeMap; @docsEditable true 13355 /// @domName NamedNodeMap; @docsEditable true
13580 class NamedNodeMap implements JavaScriptIndexingBehavior, List<Node> native "*Na medNodeMap" { 13356 class NamedNodeMap implements JavaScriptIndexingBehavior, List<Node> native "*Na medNodeMap" {
13581 13357
13582 /// @domName NamedNodeMap.length; @docsEditable true 13358 /// @domName NamedNodeMap.length; @docsEditable true
13583 final int length; 13359 final int length;
13584 13360
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
13680 Node removeNamedItem(String name) native; 13456 Node removeNamedItem(String name) native;
13681 13457
13682 /// @domName NamedNodeMap.removeNamedItemNS; @docsEditable true 13458 /// @domName NamedNodeMap.removeNamedItemNS; @docsEditable true
13683 Node removeNamedItemNS(String namespaceURI, String localName) native; 13459 Node removeNamedItemNS(String namespaceURI, String localName) native;
13684 13460
13685 /// @domName NamedNodeMap.setNamedItem; @docsEditable true 13461 /// @domName NamedNodeMap.setNamedItem; @docsEditable true
13686 Node setNamedItem(Node node) native; 13462 Node setNamedItem(Node node) native;
13687 13463
13688 /// @domName NamedNodeMap.setNamedItemNS; @docsEditable true 13464 /// @domName NamedNodeMap.setNamedItemNS; @docsEditable true
13689 Node setNamedItemNS(Node node) native; 13465 Node setNamedItemNS(Node node) native;
13690 } 13466 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13691 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13692 // for details. All rights reserved. Use of this source code is governed by a 13467 // for details. All rights reserved. Use of this source code is governed by a
13693 // BSD-style license that can be found in the LICENSE file. 13468 // BSD-style license that can be found in the LICENSE file.
13694 13469
13695 13470
13696 /// @domName Navigator; @docsEditable true 13471 /// @domName Navigator; @docsEditable true
13697 class Navigator native "*Navigator" { 13472 class Navigator native "*Navigator" {
13698 13473
13699 /// @domName Navigator.appCodeName; @docsEditable true 13474 /// @domName Navigator.appCodeName; @docsEditable true
13700 final String appCodeName; 13475 final String appCodeName;
13701 13476
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
13760 var options_1 = _convertDartToNative_Dictionary(options); 13535 var options_1 = _convertDartToNative_Dictionary(options);
13761 _webkitGetUserMedia_1(options_1, successCallback, errorCallback); 13536 _webkitGetUserMedia_1(options_1, successCallback, errorCallback);
13762 return; 13537 return;
13763 } 13538 }
13764 var options_2 = _convertDartToNative_Dictionary(options); 13539 var options_2 = _convertDartToNative_Dictionary(options);
13765 _webkitGetUserMedia_2(options_2, successCallback); 13540 _webkitGetUserMedia_2(options_2, successCallback);
13766 return; 13541 return;
13767 } 13542 }
13768 void _webkitGetUserMedia_1(options, NavigatorUserMediaSuccessCallback successC allback, NavigatorUserMediaErrorCallback errorCallback) native "webkitGetUserMed ia"; 13543 void _webkitGetUserMedia_1(options, NavigatorUserMediaSuccessCallback successC allback, NavigatorUserMediaErrorCallback errorCallback) native "webkitGetUserMed ia";
13769 void _webkitGetUserMedia_2(options, NavigatorUserMediaSuccessCallback successC allback) native "webkitGetUserMedia"; 13544 void _webkitGetUserMedia_2(options, NavigatorUserMediaSuccessCallback successC allback) native "webkitGetUserMedia";
13770 } 13545 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13771 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13772 // for details. All rights reserved. Use of this source code is governed by a 13546 // for details. All rights reserved. Use of this source code is governed by a
13773 // BSD-style license that can be found in the LICENSE file. 13547 // BSD-style license that can be found in the LICENSE file.
13774 13548
13775 13549
13776 /// @domName NavigatorUserMediaError; @docsEditable true 13550 /// @domName NavigatorUserMediaError; @docsEditable true
13777 class NavigatorUserMediaError native "*NavigatorUserMediaError" { 13551 class NavigatorUserMediaError native "*NavigatorUserMediaError" {
13778 13552
13779 static const int PERMISSION_DENIED = 1; 13553 static const int PERMISSION_DENIED = 1;
13780 13554
13781 /// @domName NavigatorUserMediaError.code; @docsEditable true 13555 /// @domName NavigatorUserMediaError.code; @docsEditable true
13782 final int code; 13556 final int code;
13783 } 13557 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13784 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13785 // for details. All rights reserved. Use of this source code is governed by a 13558 // for details. All rights reserved. Use of this source code is governed by a
13786 // BSD-style license that can be found in the LICENSE file. 13559 // BSD-style license that can be found in the LICENSE file.
13787 13560
13788 // WARNING: Do not edit - generated code. 13561 // WARNING: Do not edit - generated code.
13789 13562
13790 13563
13791 typedef void NavigatorUserMediaErrorCallback(NavigatorUserMediaError error); 13564 typedef void NavigatorUserMediaErrorCallback(NavigatorUserMediaError error);// C opyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13792 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13793 // for details. All rights reserved. Use of this source code is governed by a 13565 // for details. All rights reserved. Use of this source code is governed by a
13794 // BSD-style license that can be found in the LICENSE file. 13566 // BSD-style license that can be found in the LICENSE file.
13795 13567
13796 // WARNING: Do not edit - generated code. 13568 // WARNING: Do not edit - generated code.
13797 13569
13798 13570
13799 typedef void NavigatorUserMediaSuccessCallback(LocalMediaStream stream); 13571 typedef void NavigatorUserMediaSuccessCallback(LocalMediaStream stream);// Copyr ight (c) 2012, the Dart project authors. Please see the AUTHORS file
13800 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13801 // for details. All rights reserved. Use of this source code is governed by a 13572 // for details. All rights reserved. Use of this source code is governed by a
13802 // BSD-style license that can be found in the LICENSE file. 13573 // BSD-style license that can be found in the LICENSE file.
13803 13574
13804 13575
13805 /** 13576 /**
13806 * Lazy implementation of the child nodes of an element that does not request 13577 * Lazy implementation of the child nodes of an element that does not request
13807 * the actual child nodes of an element until strictly necessary greatly 13578 * the actual child nodes of an element until strictly necessary greatly
13808 * improving performance for the typical cases where it is not required. 13579 * improving performance for the typical cases where it is not required.
13809 */ 13580 */
13810 class _ChildNodeListLazy implements List { 13581 class _ChildNodeListLazy implements List {
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
14042 13813
14043 /// @domName Node.removeChild; @docsEditable true 13814 /// @domName Node.removeChild; @docsEditable true
14044 Node $dom_removeChild(Node oldChild) native "removeChild"; 13815 Node $dom_removeChild(Node oldChild) native "removeChild";
14045 13816
14046 /// @domName Node.removeEventListener; @docsEditable true 13817 /// @domName Node.removeEventListener; @docsEditable true
14047 void $dom_removeEventListener(String type, EventListener listener, [bool useCa pture]) native "removeEventListener"; 13818 void $dom_removeEventListener(String type, EventListener listener, [bool useCa pture]) native "removeEventListener";
14048 13819
14049 /// @domName Node.replaceChild; @docsEditable true 13820 /// @domName Node.replaceChild; @docsEditable true
14050 Node $dom_replaceChild(Node newChild, Node oldChild) native "replaceChild"; 13821 Node $dom_replaceChild(Node newChild, Node oldChild) native "replaceChild";
14051 13822
14052 } 13823 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14053 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14054 // for details. All rights reserved. Use of this source code is governed by a 13824 // for details. All rights reserved. Use of this source code is governed by a
14055 // BSD-style license that can be found in the LICENSE file. 13825 // BSD-style license that can be found in the LICENSE file.
14056 13826
14057 13827
14058 /// @domName NodeFilter; @docsEditable true 13828 /// @domName NodeFilter; @docsEditable true
14059 class NodeFilter native "*NodeFilter" { 13829 class NodeFilter native "*NodeFilter" {
14060 13830
14061 static const int FILTER_ACCEPT = 1; 13831 static const int FILTER_ACCEPT = 1;
14062 13832
14063 static const int FILTER_REJECT = 2; 13833 static const int FILTER_REJECT = 2;
(...skipping 21 matching lines...) Expand all
14085 static const int SHOW_ENTITY_REFERENCE = 0x00000010; 13855 static const int SHOW_ENTITY_REFERENCE = 0x00000010;
14086 13856
14087 static const int SHOW_NOTATION = 0x00000800; 13857 static const int SHOW_NOTATION = 0x00000800;
14088 13858
14089 static const int SHOW_PROCESSING_INSTRUCTION = 0x00000040; 13859 static const int SHOW_PROCESSING_INSTRUCTION = 0x00000040;
14090 13860
14091 static const int SHOW_TEXT = 0x00000004; 13861 static const int SHOW_TEXT = 0x00000004;
14092 13862
14093 /// @domName NodeFilter.acceptNode; @docsEditable true 13863 /// @domName NodeFilter.acceptNode; @docsEditable true
14094 int acceptNode(Node n) native; 13864 int acceptNode(Node n) native;
14095 } 13865 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14096 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14097 // for details. All rights reserved. Use of this source code is governed by a 13866 // for details. All rights reserved. Use of this source code is governed by a
14098 // BSD-style license that can be found in the LICENSE file. 13867 // BSD-style license that can be found in the LICENSE file.
14099 13868
14100 13869
14101 /// @domName NodeIterator; @docsEditable true 13870 /// @domName NodeIterator; @docsEditable true
14102 class NodeIterator native "*NodeIterator" { 13871 class NodeIterator native "*NodeIterator" {
14103 13872
14104 /// @domName NodeIterator.expandEntityReferences; @docsEditable true 13873 /// @domName NodeIterator.expandEntityReferences; @docsEditable true
14105 final bool expandEntityReferences; 13874 final bool expandEntityReferences;
14106 13875
(...skipping 13 matching lines...) Expand all
14120 final int whatToShow; 13889 final int whatToShow;
14121 13890
14122 /// @domName NodeIterator.detach; @docsEditable true 13891 /// @domName NodeIterator.detach; @docsEditable true
14123 void detach() native; 13892 void detach() native;
14124 13893
14125 /// @domName NodeIterator.nextNode; @docsEditable true 13894 /// @domName NodeIterator.nextNode; @docsEditable true
14126 Node nextNode() native; 13895 Node nextNode() native;
14127 13896
14128 /// @domName NodeIterator.previousNode; @docsEditable true 13897 /// @domName NodeIterator.previousNode; @docsEditable true
14129 Node previousNode() native; 13898 Node previousNode() native;
14130 } 13899 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14131 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14132 // for details. All rights reserved. Use of this source code is governed by a 13900 // for details. All rights reserved. Use of this source code is governed by a
14133 // BSD-style license that can be found in the LICENSE file. 13901 // BSD-style license that can be found in the LICENSE file.
14134 13902
14135 13903
14136 /// @domName Notation; @docsEditable true 13904 /// @domName Notation; @docsEditable true
14137 class Notation extends Node native "*Notation" { 13905 class Notation extends Node native "*Notation" {
14138 13906
14139 /// @domName Notation.publicId; @docsEditable true 13907 /// @domName Notation.publicId; @docsEditable true
14140 final String publicId; 13908 final String publicId;
14141 13909
14142 /// @domName Notation.systemId; @docsEditable true 13910 /// @domName Notation.systemId; @docsEditable true
14143 final String systemId; 13911 final String systemId;
14144 } 13912 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14145 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14146 // for details. All rights reserved. Use of this source code is governed by a 13913 // for details. All rights reserved. Use of this source code is governed by a
14147 // BSD-style license that can be found in the LICENSE file. 13914 // BSD-style license that can be found in the LICENSE file.
14148 13915
14149 13916
14150 /// @domName Notification; @docsEditable true 13917 /// @domName Notification; @docsEditable true
14151 class Notification extends EventTarget native "*Notification" { 13918 class Notification extends EventTarget native "*Notification" {
14152 13919
14153 factory Notification(String title, [Map options]) { 13920 factory Notification(String title, [Map options]) {
14154 if (!?options) { 13921 if (!?options) {
14155 return _NotificationFactoryProvider.createNotification(title); 13922 return _NotificationFactoryProvider.createNotification(title);
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
14200 13967
14201 EventListenerList get click => this['click']; 13968 EventListenerList get click => this['click'];
14202 13969
14203 EventListenerList get close => this['close']; 13970 EventListenerList get close => this['close'];
14204 13971
14205 EventListenerList get display => this['display']; 13972 EventListenerList get display => this['display'];
14206 13973
14207 EventListenerList get error => this['error']; 13974 EventListenerList get error => this['error'];
14208 13975
14209 EventListenerList get show => this['show']; 13976 EventListenerList get show => this['show'];
14210 } 13977 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14211 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14212 // for details. All rights reserved. Use of this source code is governed by a 13978 // for details. All rights reserved. Use of this source code is governed by a
14213 // BSD-style license that can be found in the LICENSE file. 13979 // BSD-style license that can be found in the LICENSE file.
14214 13980
14215 13981
14216 /// @domName NotificationCenter; @docsEditable true 13982 /// @domName NotificationCenter; @docsEditable true
14217 class NotificationCenter native "*NotificationCenter" { 13983 class NotificationCenter native "*NotificationCenter" {
14218 13984
14219 /// @domName NotificationCenter.checkPermission; @docsEditable true 13985 /// @domName NotificationCenter.checkPermission; @docsEditable true
14220 int checkPermission() native; 13986 int checkPermission() native;
14221 13987
14222 /// @domName NotificationCenter.createHTMLNotification; @docsEditable true 13988 /// @domName NotificationCenter.createHTMLNotification; @docsEditable true
14223 Notification createHTMLNotification(String url) native; 13989 Notification createHTMLNotification(String url) native;
14224 13990
14225 /// @domName NotificationCenter.createNotification; @docsEditable true 13991 /// @domName NotificationCenter.createNotification; @docsEditable true
14226 Notification createNotification(String iconUrl, String title, String body) nat ive; 13992 Notification createNotification(String iconUrl, String title, String body) nat ive;
14227 13993
14228 /// @domName NotificationCenter.requestPermission; @docsEditable true 13994 /// @domName NotificationCenter.requestPermission; @docsEditable true
14229 void requestPermission(VoidCallback callback) native; 13995 void requestPermission(VoidCallback callback) native;
14230 } 13996 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14231 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14232 // for details. All rights reserved. Use of this source code is governed by a 13997 // for details. All rights reserved. Use of this source code is governed by a
14233 // BSD-style license that can be found in the LICENSE file. 13998 // BSD-style license that can be found in the LICENSE file.
14234 13999
14235 // WARNING: Do not edit - generated code. 14000 // WARNING: Do not edit - generated code.
14236 14001
14237 14002
14238 typedef void NotificationPermissionCallback(String permission); 14003 typedef void NotificationPermissionCallback(String permission);// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14239 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14240 // for details. All rights reserved. Use of this source code is governed by a 14004 // for details. All rights reserved. Use of this source code is governed by a
14241 // BSD-style license that can be found in the LICENSE file. 14005 // BSD-style license that can be found in the LICENSE file.
14242 14006
14243 14007
14244 /// @domName OESElementIndexUint; @docsEditable true 14008 /// @domName OESElementIndexUint; @docsEditable true
14245 class OESElementIndexUint native "*OESElementIndexUint" { 14009 class OESElementIndexUint native "*OESElementIndexUint" {
14246 } 14010 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14247 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14248 // for details. All rights reserved. Use of this source code is governed by a 14011 // for details. All rights reserved. Use of this source code is governed by a
14249 // BSD-style license that can be found in the LICENSE file. 14012 // BSD-style license that can be found in the LICENSE file.
14250 14013
14251 14014
14252 /// @domName OESStandardDerivatives; @docsEditable true 14015 /// @domName OESStandardDerivatives; @docsEditable true
14253 class OESStandardDerivatives native "*OESStandardDerivatives" { 14016 class OESStandardDerivatives native "*OESStandardDerivatives" {
14254 14017
14255 static const int FRAGMENT_SHADER_DERIVATIVE_HINT_OES = 0x8B8B; 14018 static const int FRAGMENT_SHADER_DERIVATIVE_HINT_OES = 0x8B8B;
14256 } 14019 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14257 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14258 // for details. All rights reserved. Use of this source code is governed by a 14020 // for details. All rights reserved. Use of this source code is governed by a
14259 // BSD-style license that can be found in the LICENSE file. 14021 // BSD-style license that can be found in the LICENSE file.
14260 14022
14261 14023
14262 /// @domName OESTextureFloat; @docsEditable true 14024 /// @domName OESTextureFloat; @docsEditable true
14263 class OESTextureFloat native "*OESTextureFloat" { 14025 class OESTextureFloat native "*OESTextureFloat" {
14264 } 14026 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14265 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14266 // for details. All rights reserved. Use of this source code is governed by a 14027 // for details. All rights reserved. Use of this source code is governed by a
14267 // BSD-style license that can be found in the LICENSE file. 14028 // BSD-style license that can be found in the LICENSE file.
14268 14029
14269 14030
14270 /// @domName OESVertexArrayObject; @docsEditable true 14031 /// @domName OESVertexArrayObject; @docsEditable true
14271 class OESVertexArrayObject native "*OESVertexArrayObject" { 14032 class OESVertexArrayObject native "*OESVertexArrayObject" {
14272 14033
14273 static const int VERTEX_ARRAY_BINDING_OES = 0x85B5; 14034 static const int VERTEX_ARRAY_BINDING_OES = 0x85B5;
14274 14035
14275 /// @domName OESVertexArrayObject.bindVertexArrayOES; @docsEditable true 14036 /// @domName OESVertexArrayObject.bindVertexArrayOES; @docsEditable true
14276 void bindVertexArrayOES(WebGLVertexArrayObjectOES arrayObject) native; 14037 void bindVertexArrayOES(WebGLVertexArrayObjectOES arrayObject) native;
14277 14038
14278 /// @domName OESVertexArrayObject.createVertexArrayOES; @docsEditable true 14039 /// @domName OESVertexArrayObject.createVertexArrayOES; @docsEditable true
14279 WebGLVertexArrayObjectOES createVertexArrayOES() native; 14040 WebGLVertexArrayObjectOES createVertexArrayOES() native;
14280 14041
14281 /// @domName OESVertexArrayObject.deleteVertexArrayOES; @docsEditable true 14042 /// @domName OESVertexArrayObject.deleteVertexArrayOES; @docsEditable true
14282 void deleteVertexArrayOES(WebGLVertexArrayObjectOES arrayObject) native; 14043 void deleteVertexArrayOES(WebGLVertexArrayObjectOES arrayObject) native;
14283 14044
14284 /// @domName OESVertexArrayObject.isVertexArrayOES; @docsEditable true 14045 /// @domName OESVertexArrayObject.isVertexArrayOES; @docsEditable true
14285 bool isVertexArrayOES(WebGLVertexArrayObjectOES arrayObject) native; 14046 bool isVertexArrayOES(WebGLVertexArrayObjectOES arrayObject) native;
14286 } 14047 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14287 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14288 // for details. All rights reserved. Use of this source code is governed by a 14048 // for details. All rights reserved. Use of this source code is governed by a
14289 // BSD-style license that can be found in the LICENSE file. 14049 // BSD-style license that can be found in the LICENSE file.
14290 14050
14291 14051
14292 /// @domName HTMLOListElement; @docsEditable true 14052 /// @domName HTMLOListElement; @docsEditable true
14293 class OListElement extends Element implements Element native "*HTMLOListElement" { 14053 class OListElement extends Element implements Element native "*HTMLOListElement" {
14294 14054
14295 factory OListElement() => document.$dom_createElement("ol"); 14055 factory OListElement() => document.$dom_createElement("ol");
14296 14056
14297 /// @domName HTMLOListElement.compact; @docsEditable true 14057 /// @domName HTMLOListElement.compact; @docsEditable true
14298 bool compact; 14058 bool compact;
14299 14059
14300 /// @domName HTMLOListElement.reversed; @docsEditable true 14060 /// @domName HTMLOListElement.reversed; @docsEditable true
14301 bool reversed; 14061 bool reversed;
14302 14062
14303 /// @domName HTMLOListElement.start; @docsEditable true 14063 /// @domName HTMLOListElement.start; @docsEditable true
14304 int start; 14064 int start;
14305 14065
14306 /// @domName HTMLOListElement.type; @docsEditable true 14066 /// @domName HTMLOListElement.type; @docsEditable true
14307 String type; 14067 String type;
14308 } 14068 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14309 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14310 // for details. All rights reserved. Use of this source code is governed by a 14069 // for details. All rights reserved. Use of this source code is governed by a
14311 // BSD-style license that can be found in the LICENSE file. 14070 // BSD-style license that can be found in the LICENSE file.
14312 14071
14313 14072
14314 /// @domName HTMLObjectElement; @docsEditable true 14073 /// @domName HTMLObjectElement; @docsEditable true
14315 class ObjectElement extends Element implements Element native "*HTMLObjectElemen t" { 14074 class ObjectElement extends Element implements Element native "*HTMLObjectElemen t" {
14316 14075
14317 factory ObjectElement() => document.$dom_createElement("object"); 14076 factory ObjectElement() => document.$dom_createElement("object");
14318 14077
14319 /// @domName HTMLObjectElement.align; @docsEditable true 14078 /// @domName HTMLObjectElement.align; @docsEditable true
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
14374 String width; 14133 String width;
14375 14134
14376 /// @domName HTMLObjectElement.willValidate; @docsEditable true 14135 /// @domName HTMLObjectElement.willValidate; @docsEditable true
14377 final bool willValidate; 14136 final bool willValidate;
14378 14137
14379 /// @domName HTMLObjectElement.checkValidity; @docsEditable true 14138 /// @domName HTMLObjectElement.checkValidity; @docsEditable true
14380 bool checkValidity() native; 14139 bool checkValidity() native;
14381 14140
14382 /// @domName HTMLObjectElement.setCustomValidity; @docsEditable true 14141 /// @domName HTMLObjectElement.setCustomValidity; @docsEditable true
14383 void setCustomValidity(String error) native; 14142 void setCustomValidity(String error) native;
14384 } 14143 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14385 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14386 // for details. All rights reserved. Use of this source code is governed by a 14144 // for details. All rights reserved. Use of this source code is governed by a
14387 // BSD-style license that can be found in the LICENSE file. 14145 // BSD-style license that can be found in the LICENSE file.
14388 14146
14389 14147
14390 /// @domName OfflineAudioCompletionEvent; @docsEditable true 14148 /// @domName OfflineAudioCompletionEvent; @docsEditable true
14391 class OfflineAudioCompletionEvent extends Event native "*OfflineAudioCompletionE vent" { 14149 class OfflineAudioCompletionEvent extends Event native "*OfflineAudioCompletionE vent" {
14392 14150
14393 /// @domName OfflineAudioCompletionEvent.renderedBuffer; @docsEditable true 14151 /// @domName OfflineAudioCompletionEvent.renderedBuffer; @docsEditable true
14394 final AudioBuffer renderedBuffer; 14152 final AudioBuffer renderedBuffer;
14395 } 14153 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14396 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14397 // for details. All rights reserved. Use of this source code is governed by a 14154 // for details. All rights reserved. Use of this source code is governed by a
14398 // BSD-style license that can be found in the LICENSE file. 14155 // BSD-style license that can be found in the LICENSE file.
14399 14156
14400 14157
14401 /// @domName HTMLOptGroupElement; @docsEditable true 14158 /// @domName HTMLOptGroupElement; @docsEditable true
14402 class OptGroupElement extends Element implements Element native "*HTMLOptGroupEl ement" { 14159 class OptGroupElement extends Element implements Element native "*HTMLOptGroupEl ement" {
14403 14160
14404 factory OptGroupElement() => document.$dom_createElement("optgroup"); 14161 factory OptGroupElement() => document.$dom_createElement("optgroup");
14405 14162
14406 /// @domName HTMLOptGroupElement.disabled; @docsEditable true 14163 /// @domName HTMLOptGroupElement.disabled; @docsEditable true
14407 bool disabled; 14164 bool disabled;
14408 14165
14409 /// @domName HTMLOptGroupElement.label; @docsEditable true 14166 /// @domName HTMLOptGroupElement.label; @docsEditable true
14410 String label; 14167 String label;
14411 } 14168 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14412 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14413 // for details. All rights reserved. Use of this source code is governed by a 14169 // for details. All rights reserved. Use of this source code is governed by a
14414 // BSD-style license that can be found in the LICENSE file. 14170 // BSD-style license that can be found in the LICENSE file.
14415 14171
14416 14172
14417 /// @domName HTMLOptionElement; @docsEditable true 14173 /// @domName HTMLOptionElement; @docsEditable true
14418 class OptionElement extends Element implements Element native "*HTMLOptionElemen t" { 14174 class OptionElement extends Element implements Element native "*HTMLOptionElemen t" {
14419 14175
14420 factory OptionElement([String data, String value, bool defaultSelected, bool s elected]) { 14176 factory OptionElement([String data, String value, bool defaultSelected, bool s elected]) {
14421 if (!?data) { 14177 if (!?data) {
14422 return _OptionElementFactoryProvider.createOptionElement(); 14178 return _OptionElementFactoryProvider.createOptionElement();
(...skipping 23 matching lines...) Expand all
14446 final int index; 14202 final int index;
14447 14203
14448 /// @domName HTMLOptionElement.label; @docsEditable true 14204 /// @domName HTMLOptionElement.label; @docsEditable true
14449 String label; 14205 String label;
14450 14206
14451 /// @domName HTMLOptionElement.selected; @docsEditable true 14207 /// @domName HTMLOptionElement.selected; @docsEditable true
14452 bool selected; 14208 bool selected;
14453 14209
14454 /// @domName HTMLOptionElement.value; @docsEditable true 14210 /// @domName HTMLOptionElement.value; @docsEditable true
14455 String value; 14211 String value;
14456 } 14212 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14457 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14458 // for details. All rights reserved. Use of this source code is governed by a 14213 // for details. All rights reserved. Use of this source code is governed by a
14459 // BSD-style license that can be found in the LICENSE file. 14214 // BSD-style license that can be found in the LICENSE file.
14460 14215
14461 14216
14462 /// @domName OscillatorNode; @docsEditable true 14217 /// @domName OscillatorNode; @docsEditable true
14463 class OscillatorNode extends AudioSourceNode native "*OscillatorNode" { 14218 class OscillatorNode extends AudioSourceNode native "*OscillatorNode" {
14464 14219
14465 static const int CUSTOM = 4; 14220 static const int CUSTOM = 4;
14466 14221
14467 static const int FINISHED_STATE = 3; 14222 static const int FINISHED_STATE = 3;
(...skipping 25 matching lines...) Expand all
14493 int type; 14248 int type;
14494 14249
14495 /// @domName OscillatorNode.setWaveTable; @docsEditable true 14250 /// @domName OscillatorNode.setWaveTable; @docsEditable true
14496 void setWaveTable(WaveTable waveTable) native; 14251 void setWaveTable(WaveTable waveTable) native;
14497 14252
14498 /// @domName OscillatorNode.start; @docsEditable true 14253 /// @domName OscillatorNode.start; @docsEditable true
14499 void start(num when) native; 14254 void start(num when) native;
14500 14255
14501 /// @domName OscillatorNode.stop; @docsEditable true 14256 /// @domName OscillatorNode.stop; @docsEditable true
14502 void stop(num when) native; 14257 void stop(num when) native;
14503 } 14258 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14504 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14505 // for details. All rights reserved. Use of this source code is governed by a 14259 // for details. All rights reserved. Use of this source code is governed by a
14506 // BSD-style license that can be found in the LICENSE file. 14260 // BSD-style license that can be found in the LICENSE file.
14507 14261
14508 14262
14509 /// @domName HTMLOutputElement; @docsEditable true 14263 /// @domName HTMLOutputElement; @docsEditable true
14510 class OutputElement extends Element implements Element native "*HTMLOutputElemen t" { 14264 class OutputElement extends Element implements Element native "*HTMLOutputElemen t" {
14511 14265
14512 factory OutputElement() => document.$dom_createElement("output"); 14266 factory OutputElement() => document.$dom_createElement("output");
14513 14267
14514 /// @domName HTMLOutputElement.defaultValue; @docsEditable true 14268 /// @domName HTMLOutputElement.defaultValue; @docsEditable true
(...skipping 25 matching lines...) Expand all
14540 String value; 14294 String value;
14541 14295
14542 /// @domName HTMLOutputElement.willValidate; @docsEditable true 14296 /// @domName HTMLOutputElement.willValidate; @docsEditable true
14543 final bool willValidate; 14297 final bool willValidate;
14544 14298
14545 /// @domName HTMLOutputElement.checkValidity; @docsEditable true 14299 /// @domName HTMLOutputElement.checkValidity; @docsEditable true
14546 bool checkValidity() native; 14300 bool checkValidity() native;
14547 14301
14548 /// @domName HTMLOutputElement.setCustomValidity; @docsEditable true 14302 /// @domName HTMLOutputElement.setCustomValidity; @docsEditable true
14549 void setCustomValidity(String error) native; 14303 void setCustomValidity(String error) native;
14550 } 14304 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14551 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14552 // for details. All rights reserved. Use of this source code is governed by a 14305 // for details. All rights reserved. Use of this source code is governed by a
14553 // BSD-style license that can be found in the LICENSE file. 14306 // BSD-style license that can be found in the LICENSE file.
14554 14307
14555 14308
14556 /// @domName OverflowEvent; @docsEditable true 14309 /// @domName OverflowEvent; @docsEditable true
14557 class OverflowEvent extends Event native "*OverflowEvent" { 14310 class OverflowEvent extends Event native "*OverflowEvent" {
14558 14311
14559 static const int BOTH = 2; 14312 static const int BOTH = 2;
14560 14313
14561 static const int HORIZONTAL = 0; 14314 static const int HORIZONTAL = 0;
14562 14315
14563 static const int VERTICAL = 1; 14316 static const int VERTICAL = 1;
14564 14317
14565 /// @domName OverflowEvent.horizontalOverflow; @docsEditable true 14318 /// @domName OverflowEvent.horizontalOverflow; @docsEditable true
14566 final bool horizontalOverflow; 14319 final bool horizontalOverflow;
14567 14320
14568 /// @domName OverflowEvent.orient; @docsEditable true 14321 /// @domName OverflowEvent.orient; @docsEditable true
14569 final int orient; 14322 final int orient;
14570 14323
14571 /// @domName OverflowEvent.verticalOverflow; @docsEditable true 14324 /// @domName OverflowEvent.verticalOverflow; @docsEditable true
14572 final bool verticalOverflow; 14325 final bool verticalOverflow;
14573 } 14326 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14574 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14575 // for details. All rights reserved. Use of this source code is governed by a 14327 // for details. All rights reserved. Use of this source code is governed by a
14576 // BSD-style license that can be found in the LICENSE file. 14328 // BSD-style license that can be found in the LICENSE file.
14577 14329
14578 14330
14579 /// @domName PagePopupController; @docsEditable true 14331 /// @domName PagePopupController; @docsEditable true
14580 class PagePopupController native "*PagePopupController" { 14332 class PagePopupController native "*PagePopupController" {
14581 14333
14582 /// @domName PagePopupController.localizeNumberString; @docsEditable true 14334 /// @domName PagePopupController.localizeNumberString; @docsEditable true
14583 String localizeNumberString(String numberString) native; 14335 String localizeNumberString(String numberString) native;
14584 14336
14585 /// @domName PagePopupController.setValueAndClosePopup; @docsEditable true 14337 /// @domName PagePopupController.setValueAndClosePopup; @docsEditable true
14586 void setValueAndClosePopup(int numberValue, String stringValue) native; 14338 void setValueAndClosePopup(int numberValue, String stringValue) native;
14587 } 14339 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14588 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14589 // for details. All rights reserved. Use of this source code is governed by a 14340 // for details. All rights reserved. Use of this source code is governed by a
14590 // BSD-style license that can be found in the LICENSE file. 14341 // BSD-style license that can be found in the LICENSE file.
14591 14342
14592 14343
14593 /// @domName PageTransitionEvent; @docsEditable true 14344 /// @domName PageTransitionEvent; @docsEditable true
14594 class PageTransitionEvent extends Event native "*PageTransitionEvent" { 14345 class PageTransitionEvent extends Event native "*PageTransitionEvent" {
14595 14346
14596 /// @domName PageTransitionEvent.persisted; @docsEditable true 14347 /// @domName PageTransitionEvent.persisted; @docsEditable true
14597 final bool persisted; 14348 final bool persisted;
14598 } 14349 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14599 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14600 // for details. All rights reserved. Use of this source code is governed by a 14350 // for details. All rights reserved. Use of this source code is governed by a
14601 // BSD-style license that can be found in the LICENSE file. 14351 // BSD-style license that can be found in the LICENSE file.
14602 14352
14603 14353
14604 /// @domName PannerNode; @docsEditable true 14354 /// @domName PannerNode; @docsEditable true
14605 class PannerNode extends AudioNode native "*PannerNode" { 14355 class PannerNode extends AudioNode native "*PannerNode" {
14606 14356
14607 static const int EQUALPOWER = 0; 14357 static const int EQUALPOWER = 0;
14608 14358
14609 static const int EXPONENTIAL_DISTANCE = 2; 14359 static const int EXPONENTIAL_DISTANCE = 2;
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
14647 num rolloffFactor; 14397 num rolloffFactor;
14648 14398
14649 /// @domName PannerNode.setOrientation; @docsEditable true 14399 /// @domName PannerNode.setOrientation; @docsEditable true
14650 void setOrientation(num x, num y, num z) native; 14400 void setOrientation(num x, num y, num z) native;
14651 14401
14652 /// @domName PannerNode.setPosition; @docsEditable true 14402 /// @domName PannerNode.setPosition; @docsEditable true
14653 void setPosition(num x, num y, num z) native; 14403 void setPosition(num x, num y, num z) native;
14654 14404
14655 /// @domName PannerNode.setVelocity; @docsEditable true 14405 /// @domName PannerNode.setVelocity; @docsEditable true
14656 void setVelocity(num x, num y, num z) native; 14406 void setVelocity(num x, num y, num z) native;
14657 } 14407 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14658 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14659 // for details. All rights reserved. Use of this source code is governed by a 14408 // for details. All rights reserved. Use of this source code is governed by a
14660 // BSD-style license that can be found in the LICENSE file. 14409 // BSD-style license that can be found in the LICENSE file.
14661 14410
14662 14411
14663 /// @domName HTMLParagraphElement; @docsEditable true 14412 /// @domName HTMLParagraphElement; @docsEditable true
14664 class ParagraphElement extends Element implements Element native "*HTMLParagraph Element" { 14413 class ParagraphElement extends Element implements Element native "*HTMLParagraph Element" {
14665 14414
14666 factory ParagraphElement() => document.$dom_createElement("p"); 14415 factory ParagraphElement() => document.$dom_createElement("p");
14667 14416
14668 /// @domName HTMLParagraphElement.align; @docsEditable true 14417 /// @domName HTMLParagraphElement.align; @docsEditable true
14669 String align; 14418 String align;
14670 } 14419 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14671 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14672 // for details. All rights reserved. Use of this source code is governed by a 14420 // for details. All rights reserved. Use of this source code is governed by a
14673 // BSD-style license that can be found in the LICENSE file. 14421 // BSD-style license that can be found in the LICENSE file.
14674 14422
14675 14423
14676 /// @domName HTMLParamElement; @docsEditable true 14424 /// @domName HTMLParamElement; @docsEditable true
14677 class ParamElement extends Element implements Element native "*HTMLParamElement" { 14425 class ParamElement extends Element implements Element native "*HTMLParamElement" {
14678 14426
14679 factory ParamElement() => document.$dom_createElement("param"); 14427 factory ParamElement() => document.$dom_createElement("param");
14680 14428
14681 /// @domName HTMLParamElement.name; @docsEditable true 14429 /// @domName HTMLParamElement.name; @docsEditable true
14682 String name; 14430 String name;
14683 14431
14684 /// @domName HTMLParamElement.type; @docsEditable true 14432 /// @domName HTMLParamElement.type; @docsEditable true
14685 String type; 14433 String type;
14686 14434
14687 /// @domName HTMLParamElement.value; @docsEditable true 14435 /// @domName HTMLParamElement.value; @docsEditable true
14688 String value; 14436 String value;
14689 14437
14690 /// @domName HTMLParamElement.valueType; @docsEditable true 14438 /// @domName HTMLParamElement.valueType; @docsEditable true
14691 String valueType; 14439 String valueType;
14692 } 14440 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14693 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14694 // for details. All rights reserved. Use of this source code is governed by a 14441 // for details. All rights reserved. Use of this source code is governed by a
14695 // BSD-style license that can be found in the LICENSE file. 14442 // BSD-style license that can be found in the LICENSE file.
14696 14443
14697 14444
14698 /// @domName PeerConnection00; @docsEditable true 14445 /// @domName PeerConnection00; @docsEditable true
14699 class PeerConnection00 extends EventTarget native "*PeerConnection00" { 14446 class PeerConnection00 extends EventTarget native "*PeerConnection00" {
14700 14447
14701 factory PeerConnection00(String serverConfiguration, IceCallback iceCallback) => _PeerConnection00FactoryProvider.createPeerConnection00(serverConfiguration, iceCallback); 14448 factory PeerConnection00(String serverConfiguration, IceCallback iceCallback) => _PeerConnection00FactoryProvider.createPeerConnection00(serverConfiguration, iceCallback);
14702 14449
14703 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true 14450 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
14830 14577
14831 EventListenerList get addStream => this['addstream']; 14578 EventListenerList get addStream => this['addstream'];
14832 14579
14833 EventListenerList get connecting => this['connecting']; 14580 EventListenerList get connecting => this['connecting'];
14834 14581
14835 EventListenerList get open => this['open']; 14582 EventListenerList get open => this['open'];
14836 14583
14837 EventListenerList get removeStream => this['removestream']; 14584 EventListenerList get removeStream => this['removestream'];
14838 14585
14839 EventListenerList get stateChange => this['statechange']; 14586 EventListenerList get stateChange => this['statechange'];
14840 } 14587 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14841 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14842 // for details. All rights reserved. Use of this source code is governed by a 14588 // for details. All rights reserved. Use of this source code is governed by a
14843 // BSD-style license that can be found in the LICENSE file. 14589 // BSD-style license that can be found in the LICENSE file.
14844 14590
14845 14591
14846 /// @domName Performance; @docsEditable true 14592 /// @domName Performance; @docsEditable true
14847 class Performance extends EventTarget native "*Performance" { 14593 class Performance extends EventTarget native "*Performance" {
14848 14594
14849 /// @domName Performance.memory; @docsEditable true 14595 /// @domName Performance.memory; @docsEditable true
14850 final MemoryInfo memory; 14596 final MemoryInfo memory;
14851 14597
14852 /// @domName Performance.navigation; @docsEditable true 14598 /// @domName Performance.navigation; @docsEditable true
14853 final PerformanceNavigation navigation; 14599 final PerformanceNavigation navigation;
14854 14600
14855 /// @domName Performance.timing; @docsEditable true 14601 /// @domName Performance.timing; @docsEditable true
14856 final PerformanceTiming timing; 14602 final PerformanceTiming timing;
14857 14603
14858 /// @domName Performance.now; @docsEditable true 14604 /// @domName Performance.now; @docsEditable true
14859 num now() native; 14605 num now() native;
14860 } 14606 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14861 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14862 // for details. All rights reserved. Use of this source code is governed by a 14607 // for details. All rights reserved. Use of this source code is governed by a
14863 // BSD-style license that can be found in the LICENSE file. 14608 // BSD-style license that can be found in the LICENSE file.
14864 14609
14865 14610
14866 /// @domName PerformanceNavigation; @docsEditable true 14611 /// @domName PerformanceNavigation; @docsEditable true
14867 class PerformanceNavigation native "*PerformanceNavigation" { 14612 class PerformanceNavigation native "*PerformanceNavigation" {
14868 14613
14869 static const int TYPE_BACK_FORWARD = 2; 14614 static const int TYPE_BACK_FORWARD = 2;
14870 14615
14871 static const int TYPE_NAVIGATE = 0; 14616 static const int TYPE_NAVIGATE = 0;
14872 14617
14873 static const int TYPE_RELOAD = 1; 14618 static const int TYPE_RELOAD = 1;
14874 14619
14875 static const int TYPE_RESERVED = 255; 14620 static const int TYPE_RESERVED = 255;
14876 14621
14877 /// @domName PerformanceNavigation.redirectCount; @docsEditable true 14622 /// @domName PerformanceNavigation.redirectCount; @docsEditable true
14878 final int redirectCount; 14623 final int redirectCount;
14879 14624
14880 /// @domName PerformanceNavigation.type; @docsEditable true 14625 /// @domName PerformanceNavigation.type; @docsEditable true
14881 final int type; 14626 final int type;
14882 } 14627 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14883 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14884 // for details. All rights reserved. Use of this source code is governed by a 14628 // for details. All rights reserved. Use of this source code is governed by a
14885 // BSD-style license that can be found in the LICENSE file. 14629 // BSD-style license that can be found in the LICENSE file.
14886 14630
14887 14631
14888 /// @domName PerformanceTiming; @docsEditable true 14632 /// @domName PerformanceTiming; @docsEditable true
14889 class PerformanceTiming native "*PerformanceTiming" { 14633 class PerformanceTiming native "*PerformanceTiming" {
14890 14634
14891 /// @domName PerformanceTiming.connectEnd; @docsEditable true 14635 /// @domName PerformanceTiming.connectEnd; @docsEditable true
14892 final int connectEnd; 14636 final int connectEnd;
14893 14637
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
14943 final int responseStart; 14687 final int responseStart;
14944 14688
14945 /// @domName PerformanceTiming.secureConnectionStart; @docsEditable true 14689 /// @domName PerformanceTiming.secureConnectionStart; @docsEditable true
14946 final int secureConnectionStart; 14690 final int secureConnectionStart;
14947 14691
14948 /// @domName PerformanceTiming.unloadEventEnd; @docsEditable true 14692 /// @domName PerformanceTiming.unloadEventEnd; @docsEditable true
14949 final int unloadEventEnd; 14693 final int unloadEventEnd;
14950 14694
14951 /// @domName PerformanceTiming.unloadEventStart; @docsEditable true 14695 /// @domName PerformanceTiming.unloadEventStart; @docsEditable true
14952 final int unloadEventStart; 14696 final int unloadEventStart;
14953 } 14697 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14954 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14955 // for details. All rights reserved. Use of this source code is governed by a 14698 // for details. All rights reserved. Use of this source code is governed by a
14956 // BSD-style license that can be found in the LICENSE file. 14699 // BSD-style license that can be found in the LICENSE file.
14957 14700
14958 // WARNING: Do not edit - generated code. 14701 // WARNING: Do not edit - generated code.
14959 14702
14960 14703
14961 class Point native "*WebKitPoint" { 14704 class Point native "*WebKitPoint" {
14962 factory Point(num x, num y) => _PointFactoryProvider.createPoint(x, y); 14705 factory Point(num x, num y) => _PointFactoryProvider.createPoint(x, y);
14963 14706
14964 /// @domName WebKitPoint.x; @docsEditable true 14707 /// @domName WebKitPoint.x; @docsEditable true
14965 num x; 14708 num x;
14966 14709
14967 /// @domName WebKitPoint.y; @docsEditable true 14710 /// @domName WebKitPoint.y; @docsEditable true
14968 num y; 14711 num y;
14969 14712
14970 } 14713 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14971 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14972 // for details. All rights reserved. Use of this source code is governed by a 14714 // for details. All rights reserved. Use of this source code is governed by a
14973 // BSD-style license that can be found in the LICENSE file. 14715 // BSD-style license that can be found in the LICENSE file.
14974 14716
14975 14717
14976 /// @domName PopStateEvent; @docsEditable true 14718 /// @domName PopStateEvent; @docsEditable true
14977 class PopStateEvent extends Event native "*PopStateEvent" { 14719 class PopStateEvent extends Event native "*PopStateEvent" {
14978 14720
14979 /// @domName PopStateEvent.state; @docsEditable true 14721 /// @domName PopStateEvent.state; @docsEditable true
14980 dynamic get state => _convertNativeToDart_SerializedScriptValue(this._state); 14722 dynamic get state => _convertNativeToDart_SerializedScriptValue(this._state);
14981 dynamic get _state => JS("dynamic", "#.state", this); 14723 dynamic get _state => JS("dynamic", "#.state", this);
14982 } 14724 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14983 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14984 // for details. All rights reserved. Use of this source code is governed by a 14725 // for details. All rights reserved. Use of this source code is governed by a
14985 // BSD-style license that can be found in the LICENSE file. 14726 // BSD-style license that can be found in the LICENSE file.
14986 14727
14987 // WARNING: Do not edit - generated code. 14728 // WARNING: Do not edit - generated code.
14988 14729
14989 14730
14990 typedef void PositionCallback(Geoposition position); 14731 typedef void PositionCallback(Geoposition position);// Copyright (c) 2012, the D art project authors. Please see the AUTHORS file
14991 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14992 // for details. All rights reserved. Use of this source code is governed by a 14732 // for details. All rights reserved. Use of this source code is governed by a
14993 // BSD-style license that can be found in the LICENSE file. 14733 // BSD-style license that can be found in the LICENSE file.
14994 14734
14995 14735
14996 /// @domName PositionError; @docsEditable true 14736 /// @domName PositionError; @docsEditable true
14997 class PositionError native "*PositionError" { 14737 class PositionError native "*PositionError" {
14998 14738
14999 static const int PERMISSION_DENIED = 1; 14739 static const int PERMISSION_DENIED = 1;
15000 14740
15001 static const int POSITION_UNAVAILABLE = 2; 14741 static const int POSITION_UNAVAILABLE = 2;
15002 14742
15003 static const int TIMEOUT = 3; 14743 static const int TIMEOUT = 3;
15004 14744
15005 /// @domName PositionError.code; @docsEditable true 14745 /// @domName PositionError.code; @docsEditable true
15006 final int code; 14746 final int code;
15007 14747
15008 /// @domName PositionError.message; @docsEditable true 14748 /// @domName PositionError.message; @docsEditable true
15009 final String message; 14749 final String message;
15010 } 14750 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15011 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15012 // for details. All rights reserved. Use of this source code is governed by a 14751 // for details. All rights reserved. Use of this source code is governed by a
15013 // BSD-style license that can be found in the LICENSE file. 14752 // BSD-style license that can be found in the LICENSE file.
15014 14753
15015 // WARNING: Do not edit - generated code. 14754 // WARNING: Do not edit - generated code.
15016 14755
15017 14756
15018 typedef void PositionErrorCallback(PositionError error); 14757 typedef void PositionErrorCallback(PositionError error);// Copyright (c) 2012, t he Dart project authors. Please see the AUTHORS file
15019 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15020 // for details. All rights reserved. Use of this source code is governed by a 14758 // for details. All rights reserved. Use of this source code is governed by a
15021 // BSD-style license that can be found in the LICENSE file. 14759 // BSD-style license that can be found in the LICENSE file.
15022 14760
15023 14761
15024 /// @domName HTMLPreElement; @docsEditable true 14762 /// @domName HTMLPreElement; @docsEditable true
15025 class PreElement extends Element implements Element native "*HTMLPreElement" { 14763 class PreElement extends Element implements Element native "*HTMLPreElement" {
15026 14764
15027 factory PreElement() => document.$dom_createElement("pre"); 14765 factory PreElement() => document.$dom_createElement("pre");
15028 14766
15029 /// @domName HTMLPreElement.width; @docsEditable true 14767 /// @domName HTMLPreElement.width; @docsEditable true
15030 int width; 14768 int width;
15031 14769
15032 /// @domName HTMLPreElement.wrap; @docsEditable true 14770 /// @domName HTMLPreElement.wrap; @docsEditable true
15033 bool wrap; 14771 bool wrap;
15034 } 14772 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15035 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15036 // for details. All rights reserved. Use of this source code is governed by a 14773 // for details. All rights reserved. Use of this source code is governed by a
15037 // BSD-style license that can be found in the LICENSE file. 14774 // BSD-style license that can be found in the LICENSE file.
15038 14775
15039 14776
15040 /// @domName ProcessingInstruction; @docsEditable true 14777 /// @domName ProcessingInstruction; @docsEditable true
15041 class ProcessingInstruction extends Node native "*ProcessingInstruction" { 14778 class ProcessingInstruction extends Node native "*ProcessingInstruction" {
15042 14779
15043 /// @domName ProcessingInstruction.data; @docsEditable true 14780 /// @domName ProcessingInstruction.data; @docsEditable true
15044 String data; 14781 String data;
15045 14782
15046 /// @domName ProcessingInstruction.sheet; @docsEditable true 14783 /// @domName ProcessingInstruction.sheet; @docsEditable true
15047 final StyleSheet sheet; 14784 final StyleSheet sheet;
15048 14785
15049 /// @domName ProcessingInstruction.target; @docsEditable true 14786 /// @domName ProcessingInstruction.target; @docsEditable true
15050 final String target; 14787 final String target;
15051 } 14788 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15052 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15053 // for details. All rights reserved. Use of this source code is governed by a 14789 // for details. All rights reserved. Use of this source code is governed by a
15054 // BSD-style license that can be found in the LICENSE file. 14790 // BSD-style license that can be found in the LICENSE file.
15055 14791
15056 14792
15057 /// @domName HTMLProgressElement; @docsEditable true 14793 /// @domName HTMLProgressElement; @docsEditable true
15058 class ProgressElement extends Element implements Element native "*HTMLProgressEl ement" { 14794 class ProgressElement extends Element implements Element native "*HTMLProgressEl ement" {
15059 14795
15060 factory ProgressElement() => document.$dom_createElement("progress"); 14796 factory ProgressElement() => document.$dom_createElement("progress");
15061 14797
15062 /// @domName HTMLProgressElement.labels; @docsEditable true 14798 /// @domName HTMLProgressElement.labels; @docsEditable true
15063 @Returns('_NodeList') @Creates('_NodeList') 14799 @Returns('_NodeList') @Creates('_NodeList')
15064 final List<Node> labels; 14800 final List<Node> labels;
15065 14801
15066 /// @domName HTMLProgressElement.max; @docsEditable true 14802 /// @domName HTMLProgressElement.max; @docsEditable true
15067 num max; 14803 num max;
15068 14804
15069 /// @domName HTMLProgressElement.position; @docsEditable true 14805 /// @domName HTMLProgressElement.position; @docsEditable true
15070 final num position; 14806 final num position;
15071 14807
15072 /// @domName HTMLProgressElement.value; @docsEditable true 14808 /// @domName HTMLProgressElement.value; @docsEditable true
15073 num value; 14809 num value;
15074 } 14810 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15075 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15076 // for details. All rights reserved. Use of this source code is governed by a 14811 // for details. All rights reserved. Use of this source code is governed by a
15077 // BSD-style license that can be found in the LICENSE file. 14812 // BSD-style license that can be found in the LICENSE file.
15078 14813
15079 14814
15080 /// @domName ProgressEvent; @docsEditable true 14815 /// @domName ProgressEvent; @docsEditable true
15081 class ProgressEvent extends Event native "*ProgressEvent" { 14816 class ProgressEvent extends Event native "*ProgressEvent" {
15082 14817
15083 /// @domName ProgressEvent.lengthComputable; @docsEditable true 14818 /// @domName ProgressEvent.lengthComputable; @docsEditable true
15084 final bool lengthComputable; 14819 final bool lengthComputable;
15085 14820
15086 /// @domName ProgressEvent.loaded; @docsEditable true 14821 /// @domName ProgressEvent.loaded; @docsEditable true
15087 final int loaded; 14822 final int loaded;
15088 14823
15089 /// @domName ProgressEvent.total; @docsEditable true 14824 /// @domName ProgressEvent.total; @docsEditable true
15090 final int total; 14825 final int total;
15091 } 14826 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15092 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15093 // for details. All rights reserved. Use of this source code is governed by a 14827 // for details. All rights reserved. Use of this source code is governed by a
15094 // BSD-style license that can be found in the LICENSE file. 14828 // BSD-style license that can be found in the LICENSE file.
15095 14829
15096 14830
15097 /// @domName HTMLQuoteElement; @docsEditable true 14831 /// @domName HTMLQuoteElement; @docsEditable true
15098 class QuoteElement extends Element implements Element native "*HTMLQuoteElement" { 14832 class QuoteElement extends Element implements Element native "*HTMLQuoteElement" {
15099 14833
15100 /// @domName HTMLQuoteElement.cite; @docsEditable true 14834 /// @domName HTMLQuoteElement.cite; @docsEditable true
15101 String cite; 14835 String cite;
15102 } 14836 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15103 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15104 // for details. All rights reserved. Use of this source code is governed by a 14837 // for details. All rights reserved. Use of this source code is governed by a
15105 // BSD-style license that can be found in the LICENSE file. 14838 // BSD-style license that can be found in the LICENSE file.
15106 14839
15107 14840
15108 /// @domName RGBColor; @docsEditable true 14841 /// @domName RGBColor; @docsEditable true
15109 class RGBColor native "*RGBColor" { 14842 class RGBColor native "*RGBColor" {
15110 14843
15111 /// @domName RGBColor.blue; @docsEditable true 14844 /// @domName RGBColor.blue; @docsEditable true
15112 final CSSPrimitiveValue blue; 14845 final CSSPrimitiveValue blue;
15113 14846
15114 /// @domName RGBColor.green; @docsEditable true 14847 /// @domName RGBColor.green; @docsEditable true
15115 final CSSPrimitiveValue green; 14848 final CSSPrimitiveValue green;
15116 14849
15117 /// @domName RGBColor.red; @docsEditable true 14850 /// @domName RGBColor.red; @docsEditable true
15118 final CSSPrimitiveValue red; 14851 final CSSPrimitiveValue red;
15119 } 14852 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15120 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15121 // for details. All rights reserved. Use of this source code is governed by a 14853 // for details. All rights reserved. Use of this source code is governed by a
15122 // BSD-style license that can be found in the LICENSE file. 14854 // BSD-style license that can be found in the LICENSE file.
15123 14855
15124 14856
15125 /// @domName RTCDataChannel; @docsEditable true 14857 /// @domName RTCDataChannel; @docsEditable true
15126 class RTCDataChannel extends EventTarget native "*RTCDataChannel" { 14858 class RTCDataChannel extends EventTarget native "*RTCDataChannel" {
15127 14859
15128 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true 14860 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true
15129 RTCDataChannelEvents get on => 14861 RTCDataChannelEvents get on =>
15130 new RTCDataChannelEvents(this); 14862 new RTCDataChannelEvents(this);
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
15163 class RTCDataChannelEvents extends Events { 14895 class RTCDataChannelEvents extends Events {
15164 RTCDataChannelEvents(EventTarget _ptr) : super(_ptr); 14896 RTCDataChannelEvents(EventTarget _ptr) : super(_ptr);
15165 14897
15166 EventListenerList get close => this['close']; 14898 EventListenerList get close => this['close'];
15167 14899
15168 EventListenerList get error => this['error']; 14900 EventListenerList get error => this['error'];
15169 14901
15170 EventListenerList get message => this['message']; 14902 EventListenerList get message => this['message'];
15171 14903
15172 EventListenerList get open => this['open']; 14904 EventListenerList get open => this['open'];
15173 } 14905 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15174 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15175 // for details. All rights reserved. Use of this source code is governed by a 14906 // for details. All rights reserved. Use of this source code is governed by a
15176 // BSD-style license that can be found in the LICENSE file. 14907 // BSD-style license that can be found in the LICENSE file.
15177 14908
15178 14909
15179 /// @domName RTCDataChannelEvent; @docsEditable true 14910 /// @domName RTCDataChannelEvent; @docsEditable true
15180 class RTCDataChannelEvent extends Event native "*RTCDataChannelEvent" { 14911 class RTCDataChannelEvent extends Event native "*RTCDataChannelEvent" {
15181 14912
15182 /// @domName RTCDataChannelEvent.channel; @docsEditable true 14913 /// @domName RTCDataChannelEvent.channel; @docsEditable true
15183 final RTCDataChannel channel; 14914 final RTCDataChannel channel;
15184 } 14915 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15185 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15186 // for details. All rights reserved. Use of this source code is governed by a 14916 // for details. All rights reserved. Use of this source code is governed by a
15187 // BSD-style license that can be found in the LICENSE file. 14917 // BSD-style license that can be found in the LICENSE file.
15188 14918
15189 // WARNING: Do not edit - generated code. 14919 // WARNING: Do not edit - generated code.
15190 14920
15191 14921
15192 typedef void RTCErrorCallback(String errorInformation); 14922 typedef void RTCErrorCallback(String errorInformation);// Copyright (c) 2012, th e Dart project authors. Please see the AUTHORS file
15193 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15194 // for details. All rights reserved. Use of this source code is governed by a 14923 // for details. All rights reserved. Use of this source code is governed by a
15195 // BSD-style license that can be found in the LICENSE file. 14924 // BSD-style license that can be found in the LICENSE file.
15196 14925
15197 14926
15198 /// @domName RTCIceCandidate; @docsEditable true 14927 /// @domName RTCIceCandidate; @docsEditable true
15199 class RTCIceCandidate native "*RTCIceCandidate" { 14928 class RTCIceCandidate native "*RTCIceCandidate" {
15200 14929
15201 factory RTCIceCandidate(Map dictionary) => _RTCIceCandidateFactoryProvider.cre ateRTCIceCandidate(dictionary); 14930 factory RTCIceCandidate(Map dictionary) => _RTCIceCandidateFactoryProvider.cre ateRTCIceCandidate(dictionary);
15202 14931
15203 /// @domName RTCIceCandidate.candidate; @docsEditable true 14932 /// @domName RTCIceCandidate.candidate; @docsEditable true
15204 final String candidate; 14933 final String candidate;
15205 14934
15206 /// @domName RTCIceCandidate.sdpMLineIndex; @docsEditable true 14935 /// @domName RTCIceCandidate.sdpMLineIndex; @docsEditable true
15207 final int sdpMLineIndex; 14936 final int sdpMLineIndex;
15208 14937
15209 /// @domName RTCIceCandidate.sdpMid; @docsEditable true 14938 /// @domName RTCIceCandidate.sdpMid; @docsEditable true
15210 final String sdpMid; 14939 final String sdpMid;
15211 } 14940 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15212 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15213 // for details. All rights reserved. Use of this source code is governed by a 14941 // for details. All rights reserved. Use of this source code is governed by a
15214 // BSD-style license that can be found in the LICENSE file. 14942 // BSD-style license that can be found in the LICENSE file.
15215 14943
15216 14944
15217 /// @domName RTCIceCandidateEvent; @docsEditable true 14945 /// @domName RTCIceCandidateEvent; @docsEditable true
15218 class RTCIceCandidateEvent extends Event native "*RTCIceCandidateEvent" { 14946 class RTCIceCandidateEvent extends Event native "*RTCIceCandidateEvent" {
15219 14947
15220 /// @domName RTCIceCandidateEvent.candidate; @docsEditable true 14948 /// @domName RTCIceCandidateEvent.candidate; @docsEditable true
15221 final RTCIceCandidate candidate; 14949 final RTCIceCandidate candidate;
15222 } 14950 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15223 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15224 // for details. All rights reserved. Use of this source code is governed by a 14951 // for details. All rights reserved. Use of this source code is governed by a
15225 // BSD-style license that can be found in the LICENSE file. 14952 // BSD-style license that can be found in the LICENSE file.
15226 14953
15227 14954
15228 /// @domName RTCPeerConnection; @docsEditable true 14955 /// @domName RTCPeerConnection; @docsEditable true
15229 class RTCPeerConnection extends EventTarget native "*RTCPeerConnection" { 14956 class RTCPeerConnection extends EventTarget native "*RTCPeerConnection" {
15230 14957
15231 factory RTCPeerConnection(Map rtcIceServers, [Map mediaConstraints]) { 14958 factory RTCPeerConnection(Map rtcIceServers, [Map mediaConstraints]) {
15232 if (!?mediaConstraints) { 14959 if (!?mediaConstraints) {
15233 return _RTCPeerConnectionFactoryProvider.createRTCPeerConnection(rtcIceSer vers); 14960 return _RTCPeerConnectionFactoryProvider.createRTCPeerConnection(rtcIceSer vers);
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
15366 15093
15367 EventListenerList get iceChange => this['icechange']; 15094 EventListenerList get iceChange => this['icechange'];
15368 15095
15369 EventListenerList get negotiationNeeded => this['negotiationneeded']; 15096 EventListenerList get negotiationNeeded => this['negotiationneeded'];
15370 15097
15371 EventListenerList get open => this['open']; 15098 EventListenerList get open => this['open'];
15372 15099
15373 EventListenerList get removeStream => this['removestream']; 15100 EventListenerList get removeStream => this['removestream'];
15374 15101
15375 EventListenerList get stateChange => this['statechange']; 15102 EventListenerList get stateChange => this['statechange'];
15376 } 15103 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15377 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15378 // for details. All rights reserved. Use of this source code is governed by a 15104 // for details. All rights reserved. Use of this source code is governed by a
15379 // BSD-style license that can be found in the LICENSE file. 15105 // BSD-style license that can be found in the LICENSE file.
15380 15106
15381 15107
15382 /// @domName RTCSessionDescription; @docsEditable true 15108 /// @domName RTCSessionDescription; @docsEditable true
15383 class RTCSessionDescription native "*RTCSessionDescription" { 15109 class RTCSessionDescription native "*RTCSessionDescription" {
15384 15110
15385 factory RTCSessionDescription(Map dictionary) => _RTCSessionDescriptionFactory Provider.createRTCSessionDescription(dictionary); 15111 factory RTCSessionDescription(Map dictionary) => _RTCSessionDescriptionFactory Provider.createRTCSessionDescription(dictionary);
15386 15112
15387 /// @domName RTCSessionDescription.sdp; @docsEditable true 15113 /// @domName RTCSessionDescription.sdp; @docsEditable true
15388 String sdp; 15114 String sdp;
15389 15115
15390 /// @domName RTCSessionDescription.type; @docsEditable true 15116 /// @domName RTCSessionDescription.type; @docsEditable true
15391 String type; 15117 String type;
15392 } 15118 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15393 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15394 // for details. All rights reserved. Use of this source code is governed by a 15119 // for details. All rights reserved. Use of this source code is governed by a
15395 // BSD-style license that can be found in the LICENSE file. 15120 // BSD-style license that can be found in the LICENSE file.
15396 15121
15397 // WARNING: Do not edit - generated code. 15122 // WARNING: Do not edit - generated code.
15398 15123
15399 15124
15400 typedef void RTCSessionDescriptionCallback(RTCSessionDescription sdp); 15125 typedef void RTCSessionDescriptionCallback(RTCSessionDescription sdp);// Copyrig ht (c) 2012, the Dart project authors. Please see the AUTHORS file
15401 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15402 // for details. All rights reserved. Use of this source code is governed by a 15126 // for details. All rights reserved. Use of this source code is governed by a
15403 // BSD-style license that can be found in the LICENSE file. 15127 // BSD-style license that can be found in the LICENSE file.
15404 15128
15405 // WARNING: Do not edit - generated code. 15129 // WARNING: Do not edit - generated code.
15406 15130
15407 15131
15408 typedef void RTCStatsCallback(RTCStatsResponse response); 15132 typedef void RTCStatsCallback(RTCStatsResponse response);// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15409 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15410 // for details. All rights reserved. Use of this source code is governed by a 15133 // for details. All rights reserved. Use of this source code is governed by a
15411 // BSD-style license that can be found in the LICENSE file. 15134 // BSD-style license that can be found in the LICENSE file.
15412 15135
15413 15136
15414 /// @domName RTCStatsElement; @docsEditable true 15137 /// @domName RTCStatsElement; @docsEditable true
15415 class RTCStatsElement native "*RTCStatsElement" { 15138 class RTCStatsElement native "*RTCStatsElement" {
15416 15139
15417 /// @domName RTCStatsElement.timestamp; @docsEditable true 15140 /// @domName RTCStatsElement.timestamp; @docsEditable true
15418 final Date timestamp; 15141 final Date timestamp;
15419 15142
15420 /// @domName RTCStatsElement.stat; @docsEditable true 15143 /// @domName RTCStatsElement.stat; @docsEditable true
15421 String stat(String name) native; 15144 String stat(String name) native;
15422 } 15145 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15423 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15424 // for details. All rights reserved. Use of this source code is governed by a 15146 // for details. All rights reserved. Use of this source code is governed by a
15425 // BSD-style license that can be found in the LICENSE file. 15147 // BSD-style license that can be found in the LICENSE file.
15426 15148
15427 15149
15428 /// @domName RTCStatsReport; @docsEditable true 15150 /// @domName RTCStatsReport; @docsEditable true
15429 class RTCStatsReport native "*RTCStatsReport" { 15151 class RTCStatsReport native "*RTCStatsReport" {
15430 15152
15431 /// @domName RTCStatsReport.local; @docsEditable true 15153 /// @domName RTCStatsReport.local; @docsEditable true
15432 final RTCStatsElement local; 15154 final RTCStatsElement local;
15433 15155
15434 /// @domName RTCStatsReport.remote; @docsEditable true 15156 /// @domName RTCStatsReport.remote; @docsEditable true
15435 final RTCStatsElement remote; 15157 final RTCStatsElement remote;
15436 } 15158 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15437 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15438 // for details. All rights reserved. Use of this source code is governed by a 15159 // for details. All rights reserved. Use of this source code is governed by a
15439 // BSD-style license that can be found in the LICENSE file. 15160 // BSD-style license that can be found in the LICENSE file.
15440 15161
15441 15162
15442 /// @domName RTCStatsResponse; @docsEditable true 15163 /// @domName RTCStatsResponse; @docsEditable true
15443 class RTCStatsResponse native "*RTCStatsResponse" { 15164 class RTCStatsResponse native "*RTCStatsResponse" {
15444 15165
15445 /// @domName RTCStatsResponse.result; @docsEditable true 15166 /// @domName RTCStatsResponse.result; @docsEditable true
15446 List<RTCStatsReport> result() native; 15167 List<RTCStatsReport> result() native;
15447 } 15168 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15448 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15449 // for details. All rights reserved. Use of this source code is governed by a 15169 // for details. All rights reserved. Use of this source code is governed by a
15450 // BSD-style license that can be found in the LICENSE file. 15170 // BSD-style license that can be found in the LICENSE file.
15451 15171
15452 15172
15453 /// @domName RadioNodeList; @docsEditable true 15173 /// @domName RadioNodeList; @docsEditable true
15454 class RadioNodeList extends _NodeList native "*RadioNodeList" { 15174 class RadioNodeList extends _NodeList native "*RadioNodeList" {
15455 15175
15456 /// @domName RadioNodeList.value; @docsEditable true 15176 /// @domName RadioNodeList.value; @docsEditable true
15457 String value; 15177 String value;
15458 } 15178 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15459 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15460 // for details. All rights reserved. Use of this source code is governed by a 15179 // for details. All rights reserved. Use of this source code is governed by a
15461 // BSD-style license that can be found in the LICENSE file. 15180 // BSD-style license that can be found in the LICENSE file.
15462 15181
15463 15182
15464 /// @domName Range; @docsEditable true 15183 /// @domName Range; @docsEditable true
15465 class Range native "*Range" { 15184 class Range native "*Range" {
15466 15185
15467 static const int END_TO_END = 2; 15186 static const int END_TO_END = 2;
15468 15187
15469 static const int END_TO_START = 3; 15188 static const int END_TO_START = 3;
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
15566 void setStartAfter(Node refNode) native; 15285 void setStartAfter(Node refNode) native;
15567 15286
15568 /// @domName Range.setStartBefore; @docsEditable true 15287 /// @domName Range.setStartBefore; @docsEditable true
15569 void setStartBefore(Node refNode) native; 15288 void setStartBefore(Node refNode) native;
15570 15289
15571 /// @domName Range.surroundContents; @docsEditable true 15290 /// @domName Range.surroundContents; @docsEditable true
15572 void surroundContents(Node newParent) native; 15291 void surroundContents(Node newParent) native;
15573 15292
15574 /// @domName Range.toString; @docsEditable true 15293 /// @domName Range.toString; @docsEditable true
15575 String toString() native; 15294 String toString() native;
15576 } 15295 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15577 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15578 // for details. All rights reserved. Use of this source code is governed by a 15296 // for details. All rights reserved. Use of this source code is governed by a
15579 // BSD-style license that can be found in the LICENSE file. 15297 // BSD-style license that can be found in the LICENSE file.
15580 15298
15581 15299
15582 /// @domName RangeException; @docsEditable true 15300 /// @domName RangeException; @docsEditable true
15583 class RangeException native "*RangeException" { 15301 class RangeException native "*RangeException" {
15584 15302
15585 static const int BAD_BOUNDARYPOINTS_ERR = 1; 15303 static const int BAD_BOUNDARYPOINTS_ERR = 1;
15586 15304
15587 static const int INVALID_NODE_TYPE_ERR = 2; 15305 static const int INVALID_NODE_TYPE_ERR = 2;
15588 15306
15589 /// @domName RangeException.code; @docsEditable true 15307 /// @domName RangeException.code; @docsEditable true
15590 final int code; 15308 final int code;
15591 15309
15592 /// @domName RangeException.message; @docsEditable true 15310 /// @domName RangeException.message; @docsEditable true
15593 final String message; 15311 final String message;
15594 15312
15595 /// @domName RangeException.name; @docsEditable true 15313 /// @domName RangeException.name; @docsEditable true
15596 final String name; 15314 final String name;
15597 15315
15598 /// @domName RangeException.toString; @docsEditable true 15316 /// @domName RangeException.toString; @docsEditable true
15599 String toString() native; 15317 String toString() native;
15600 } 15318 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15601 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15602 // for details. All rights reserved. Use of this source code is governed by a 15319 // for details. All rights reserved. Use of this source code is governed by a
15603 // BSD-style license that can be found in the LICENSE file. 15320 // BSD-style license that can be found in the LICENSE file.
15604 15321
15605 15322
15606 /// @domName Rect; @docsEditable true 15323 /// @domName Rect; @docsEditable true
15607 class Rect native "*Rect" { 15324 class Rect native "*Rect" {
15608 15325
15609 /// @domName Rect.bottom; @docsEditable true 15326 /// @domName Rect.bottom; @docsEditable true
15610 final CSSPrimitiveValue bottom; 15327 final CSSPrimitiveValue bottom;
15611 15328
15612 /// @domName Rect.left; @docsEditable true 15329 /// @domName Rect.left; @docsEditable true
15613 final CSSPrimitiveValue left; 15330 final CSSPrimitiveValue left;
15614 15331
15615 /// @domName Rect.right; @docsEditable true 15332 /// @domName Rect.right; @docsEditable true
15616 final CSSPrimitiveValue right; 15333 final CSSPrimitiveValue right;
15617 15334
15618 /// @domName Rect.top; @docsEditable true 15335 /// @domName Rect.top; @docsEditable true
15619 final CSSPrimitiveValue top; 15336 final CSSPrimitiveValue top;
15620 } 15337 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15621 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15622 // for details. All rights reserved. Use of this source code is governed by a 15338 // for details. All rights reserved. Use of this source code is governed by a
15623 // BSD-style license that can be found in the LICENSE file. 15339 // BSD-style license that can be found in the LICENSE file.
15624 15340
15625 // WARNING: Do not edit - generated code. 15341 // WARNING: Do not edit - generated code.
15626 15342
15627 15343
15628 typedef void RequestAnimationFrameCallback(num highResTime); 15344 typedef void RequestAnimationFrameCallback(num highResTime);// Copyright (c) 201 2, the Dart project authors. Please see the AUTHORS file
15629 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15630 // for details. All rights reserved. Use of this source code is governed by a 15345 // for details. All rights reserved. Use of this source code is governed by a
15631 // BSD-style license that can be found in the LICENSE file. 15346 // BSD-style license that can be found in the LICENSE file.
15632 15347
15633 15348
15634 /// @domName SQLError; @docsEditable true 15349 /// @domName SQLError; @docsEditable true
15635 class SQLError native "*SQLError" { 15350 class SQLError native "*SQLError" {
15636 15351
15637 static const int CONSTRAINT_ERR = 6; 15352 static const int CONSTRAINT_ERR = 6;
15638 15353
15639 static const int DATABASE_ERR = 1; 15354 static const int DATABASE_ERR = 1;
15640 15355
15641 static const int QUOTA_ERR = 4; 15356 static const int QUOTA_ERR = 4;
15642 15357
15643 static const int SYNTAX_ERR = 5; 15358 static const int SYNTAX_ERR = 5;
15644 15359
15645 static const int TIMEOUT_ERR = 7; 15360 static const int TIMEOUT_ERR = 7;
15646 15361
15647 static const int TOO_LARGE_ERR = 3; 15362 static const int TOO_LARGE_ERR = 3;
15648 15363
15649 static const int UNKNOWN_ERR = 0; 15364 static const int UNKNOWN_ERR = 0;
15650 15365
15651 static const int VERSION_ERR = 2; 15366 static const int VERSION_ERR = 2;
15652 15367
15653 /// @domName SQLError.code; @docsEditable true 15368 /// @domName SQLError.code; @docsEditable true
15654 final int code; 15369 final int code;
15655 15370
15656 /// @domName SQLError.message; @docsEditable true 15371 /// @domName SQLError.message; @docsEditable true
15657 final String message; 15372 final String message;
15658 } 15373 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15659 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15660 // for details. All rights reserved. Use of this source code is governed by a 15374 // for details. All rights reserved. Use of this source code is governed by a
15661 // BSD-style license that can be found in the LICENSE file. 15375 // BSD-style license that can be found in the LICENSE file.
15662 15376
15663 15377
15664 /// @domName SQLException; @docsEditable true 15378 /// @domName SQLException; @docsEditable true
15665 class SQLException native "*SQLException" { 15379 class SQLException native "*SQLException" {
15666 15380
15667 static const int CONSTRAINT_ERR = 6; 15381 static const int CONSTRAINT_ERR = 6;
15668 15382
15669 static const int DATABASE_ERR = 1; 15383 static const int DATABASE_ERR = 1;
15670 15384
15671 static const int QUOTA_ERR = 4; 15385 static const int QUOTA_ERR = 4;
15672 15386
15673 static const int SYNTAX_ERR = 5; 15387 static const int SYNTAX_ERR = 5;
15674 15388
15675 static const int TIMEOUT_ERR = 7; 15389 static const int TIMEOUT_ERR = 7;
15676 15390
15677 static const int TOO_LARGE_ERR = 3; 15391 static const int TOO_LARGE_ERR = 3;
15678 15392
15679 static const int UNKNOWN_ERR = 0; 15393 static const int UNKNOWN_ERR = 0;
15680 15394
15681 static const int VERSION_ERR = 2; 15395 static const int VERSION_ERR = 2;
15682 15396
15683 /// @domName SQLException.code; @docsEditable true 15397 /// @domName SQLException.code; @docsEditable true
15684 final int code; 15398 final int code;
15685 15399
15686 /// @domName SQLException.message; @docsEditable true 15400 /// @domName SQLException.message; @docsEditable true
15687 final String message; 15401 final String message;
15688 } 15402 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15689 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15690 // for details. All rights reserved. Use of this source code is governed by a 15403 // for details. All rights reserved. Use of this source code is governed by a
15691 // BSD-style license that can be found in the LICENSE file. 15404 // BSD-style license that can be found in the LICENSE file.
15692 15405
15693 15406
15694 /// @domName SQLResultSet; @docsEditable true 15407 /// @domName SQLResultSet; @docsEditable true
15695 class SQLResultSet native "*SQLResultSet" { 15408 class SQLResultSet native "*SQLResultSet" {
15696 15409
15697 /// @domName SQLResultSet.insertId; @docsEditable true 15410 /// @domName SQLResultSet.insertId; @docsEditable true
15698 final int insertId; 15411 final int insertId;
15699 15412
15700 /// @domName SQLResultSet.rows; @docsEditable true 15413 /// @domName SQLResultSet.rows; @docsEditable true
15701 final SQLResultSetRowList rows; 15414 final SQLResultSetRowList rows;
15702 15415
15703 /// @domName SQLResultSet.rowsAffected; @docsEditable true 15416 /// @domName SQLResultSet.rowsAffected; @docsEditable true
15704 final int rowsAffected; 15417 final int rowsAffected;
15705 } 15418 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15706 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15707 // for details. All rights reserved. Use of this source code is governed by a 15419 // for details. All rights reserved. Use of this source code is governed by a
15708 // BSD-style license that can be found in the LICENSE file. 15420 // BSD-style license that can be found in the LICENSE file.
15709 15421
15710 15422
15711 /// @domName SQLResultSetRowList; @docsEditable true 15423 /// @domName SQLResultSetRowList; @docsEditable true
15712 class SQLResultSetRowList implements JavaScriptIndexingBehavior, List<Map> nativ e "*SQLResultSetRowList" { 15424 class SQLResultSetRowList implements JavaScriptIndexingBehavior, List<Map> nativ e "*SQLResultSetRowList" {
15713 15425
15714 /// @domName SQLResultSetRowList.length; @docsEditable true 15426 /// @domName SQLResultSetRowList.length; @docsEditable true
15715 final int length; 15427 final int length;
15716 15428
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
15798 _Lists.getRange(this, start, rangeLength, <Map>[]); 15510 _Lists.getRange(this, start, rangeLength, <Map>[]);
15799 15511
15800 // -- end List<Map> mixins. 15512 // -- end List<Map> mixins.
15801 15513
15802 /// @domName SQLResultSetRowList.item; @docsEditable true 15514 /// @domName SQLResultSetRowList.item; @docsEditable true
15803 Map item(int index) { 15515 Map item(int index) {
15804 return _convertNativeToDart_Dictionary(_item_1(index)); 15516 return _convertNativeToDart_Dictionary(_item_1(index));
15805 } 15517 }
15806 @Creates('=Object') 15518 @Creates('=Object')
15807 _item_1(index) native "item"; 15519 _item_1(index) native "item";
15808 } 15520 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15809 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15810 // for details. All rights reserved. Use of this source code is governed by a 15521 // for details. All rights reserved. Use of this source code is governed by a
15811 // BSD-style license that can be found in the LICENSE file. 15522 // BSD-style license that can be found in the LICENSE file.
15812 15523
15813 // WARNING: Do not edit - generated code. 15524 // WARNING: Do not edit - generated code.
15814 15525
15815 15526
15816 typedef void SQLStatementCallback(SQLTransaction transaction, SQLResultSet resul tSet); 15527 typedef void SQLStatementCallback(SQLTransaction transaction, SQLResultSet resul tSet);// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS f ile
15817 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15818 // for details. All rights reserved. Use of this source code is governed by a 15528 // for details. All rights reserved. Use of this source code is governed by a
15819 // BSD-style license that can be found in the LICENSE file. 15529 // BSD-style license that can be found in the LICENSE file.
15820 15530
15821 // WARNING: Do not edit - generated code. 15531 // WARNING: Do not edit - generated code.
15822 15532
15823 15533
15824 typedef void SQLStatementErrorCallback(SQLTransaction transaction, SQLError erro r); 15534 typedef void SQLStatementErrorCallback(SQLTransaction transaction, SQLError erro r);// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15825 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15826 // for details. All rights reserved. Use of this source code is governed by a 15535 // for details. All rights reserved. Use of this source code is governed by a
15827 // BSD-style license that can be found in the LICENSE file. 15536 // BSD-style license that can be found in the LICENSE file.
15828 15537
15829 15538
15830 /// @domName SQLTransaction; @docsEditable true 15539 /// @domName SQLTransaction; @docsEditable true
15831 class SQLTransaction native "*SQLTransaction" { 15540 class SQLTransaction native "*SQLTransaction" {
15832 15541
15833 /// @domName SQLTransaction.executeSql; @docsEditable true 15542 /// @domName SQLTransaction.executeSql; @docsEditable true
15834 void executeSql(String sqlStatement, List arguments, [SQLStatementCallback cal lback, SQLStatementErrorCallback errorCallback]) native; 15543 void executeSql(String sqlStatement, List arguments, [SQLStatementCallback cal lback, SQLStatementErrorCallback errorCallback]) native;
15835 } 15544 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15836 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15837 // for details. All rights reserved. Use of this source code is governed by a 15545 // for details. All rights reserved. Use of this source code is governed by a
15838 // BSD-style license that can be found in the LICENSE file. 15546 // BSD-style license that can be found in the LICENSE file.
15839 15547
15840 // WARNING: Do not edit - generated code. 15548 // WARNING: Do not edit - generated code.
15841 15549
15842 15550
15843 typedef void SQLTransactionCallback(SQLTransaction transaction); 15551 typedef void SQLTransactionCallback(SQLTransaction transaction);// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15844 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15845 // for details. All rights reserved. Use of this source code is governed by a 15552 // for details. All rights reserved. Use of this source code is governed by a
15846 // BSD-style license that can be found in the LICENSE file. 15553 // BSD-style license that can be found in the LICENSE file.
15847 15554
15848 // WARNING: Do not edit - generated code. 15555 // WARNING: Do not edit - generated code.
15849 15556
15850 15557
15851 typedef void SQLTransactionErrorCallback(SQLError error); 15558 typedef void SQLTransactionErrorCallback(SQLError error);// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15852 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15853 // for details. All rights reserved. Use of this source code is governed by a 15559 // for details. All rights reserved. Use of this source code is governed by a
15854 // BSD-style license that can be found in the LICENSE file. 15560 // BSD-style license that can be found in the LICENSE file.
15855 15561
15856 15562
15857 /// @domName SQLTransactionSync; @docsEditable true 15563 /// @domName SQLTransactionSync; @docsEditable true
15858 class SQLTransactionSync native "*SQLTransactionSync" { 15564 class SQLTransactionSync native "*SQLTransactionSync" {
15859 15565
15860 /// @domName SQLTransactionSync.executeSql; @docsEditable true 15566 /// @domName SQLTransactionSync.executeSql; @docsEditable true
15861 SQLResultSet executeSql(String sqlStatement, List arguments) native; 15567 SQLResultSet executeSql(String sqlStatement, List arguments) native;
15862 } 15568 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15863 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15864 // for details. All rights reserved. Use of this source code is governed by a 15569 // for details. All rights reserved. Use of this source code is governed by a
15865 // BSD-style license that can be found in the LICENSE file. 15570 // BSD-style license that can be found in the LICENSE file.
15866 15571
15867 // WARNING: Do not edit - generated code. 15572 // WARNING: Do not edit - generated code.
15868 15573
15869 15574
15870 typedef void SQLTransactionSyncCallback(SQLTransactionSync transaction); 15575 typedef void SQLTransactionSyncCallback(SQLTransactionSync transaction);// Copyr ight (c) 2012, the Dart project authors. Please see the AUTHORS file
15871 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15872 // for details. All rights reserved. Use of this source code is governed by a 15576 // for details. All rights reserved. Use of this source code is governed by a
15873 // BSD-style license that can be found in the LICENSE file. 15577 // BSD-style license that can be found in the LICENSE file.
15874 15578
15875 15579
15876 /// @domName Screen; @docsEditable true 15580 /// @domName Screen; @docsEditable true
15877 class Screen native "*Screen" { 15581 class Screen native "*Screen" {
15878 15582
15879 /// @domName Screen.availHeight; @docsEditable true 15583 /// @domName Screen.availHeight; @docsEditable true
15880 final int availHeight; 15584 final int availHeight;
15881 15585
(...skipping 10 matching lines...) Expand all
15892 final int colorDepth; 15596 final int colorDepth;
15893 15597
15894 /// @domName Screen.height; @docsEditable true 15598 /// @domName Screen.height; @docsEditable true
15895 final int height; 15599 final int height;
15896 15600
15897 /// @domName Screen.pixelDepth; @docsEditable true 15601 /// @domName Screen.pixelDepth; @docsEditable true
15898 final int pixelDepth; 15602 final int pixelDepth;
15899 15603
15900 /// @domName Screen.width; @docsEditable true 15604 /// @domName Screen.width; @docsEditable true
15901 final int width; 15605 final int width;
15902 } 15606 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15903 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15904 // for details. All rights reserved. Use of this source code is governed by a 15607 // for details. All rights reserved. Use of this source code is governed by a
15905 // BSD-style license that can be found in the LICENSE file. 15608 // BSD-style license that can be found in the LICENSE file.
15906 15609
15907 15610
15908 /// @domName HTMLScriptElement; @docsEditable true 15611 /// @domName HTMLScriptElement; @docsEditable true
15909 class ScriptElement extends Element implements Element native "*HTMLScriptElemen t" { 15612 class ScriptElement extends Element implements Element native "*HTMLScriptElemen t" {
15910 15613
15911 factory ScriptElement() => document.$dom_createElement("script"); 15614 factory ScriptElement() => document.$dom_createElement("script");
15912 15615
15913 /// @domName HTMLScriptElement.async; @docsEditable true 15616 /// @domName HTMLScriptElement.async; @docsEditable true
(...skipping 12 matching lines...) Expand all
15926 String event; 15629 String event;
15927 15630
15928 /// @domName HTMLScriptElement.htmlFor; @docsEditable true 15631 /// @domName HTMLScriptElement.htmlFor; @docsEditable true
15929 String htmlFor; 15632 String htmlFor;
15930 15633
15931 /// @domName HTMLScriptElement.src; @docsEditable true 15634 /// @domName HTMLScriptElement.src; @docsEditable true
15932 String src; 15635 String src;
15933 15636
15934 /// @domName HTMLScriptElement.type; @docsEditable true 15637 /// @domName HTMLScriptElement.type; @docsEditable true
15935 String type; 15638 String type;
15936 } 15639 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15937 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15938 // for details. All rights reserved. Use of this source code is governed by a 15640 // for details. All rights reserved. Use of this source code is governed by a
15939 // BSD-style license that can be found in the LICENSE file. 15641 // BSD-style license that can be found in the LICENSE file.
15940 15642
15941 15643
15942 /// @domName ScriptProcessorNode; @docsEditable true 15644 /// @domName ScriptProcessorNode; @docsEditable true
15943 class ScriptProcessorNode extends AudioNode implements EventTarget native "*Scri ptProcessorNode" { 15645 class ScriptProcessorNode extends AudioNode implements EventTarget native "*Scri ptProcessorNode" {
15944 15646
15945 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true 15647 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true
15946 ScriptProcessorNodeEvents get on => 15648 ScriptProcessorNodeEvents get on =>
15947 new ScriptProcessorNodeEvents(this); 15649 new ScriptProcessorNodeEvents(this);
15948 15650
15949 /// @domName ScriptProcessorNode.bufferSize; @docsEditable true 15651 /// @domName ScriptProcessorNode.bufferSize; @docsEditable true
15950 final int bufferSize; 15652 final int bufferSize;
15951 } 15653 }
15952 15654
15953 class ScriptProcessorNodeEvents extends Events { 15655 class ScriptProcessorNodeEvents extends Events {
15954 ScriptProcessorNodeEvents(EventTarget _ptr) : super(_ptr); 15656 ScriptProcessorNodeEvents(EventTarget _ptr) : super(_ptr);
15955 15657
15956 EventListenerList get audioProcess => this['audioprocess']; 15658 EventListenerList get audioProcess => this['audioprocess'];
15957 } 15659 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15958 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15959 // for details. All rights reserved. Use of this source code is governed by a 15660 // for details. All rights reserved. Use of this source code is governed by a
15960 // BSD-style license that can be found in the LICENSE file. 15661 // BSD-style license that can be found in the LICENSE file.
15961 15662
15962 15663
15963 /// @domName ScriptProfile; @docsEditable true 15664 /// @domName ScriptProfile; @docsEditable true
15964 class ScriptProfile native "*ScriptProfile" { 15665 class ScriptProfile native "*ScriptProfile" {
15965 15666
15966 /// @domName ScriptProfile.head; @docsEditable true 15667 /// @domName ScriptProfile.head; @docsEditable true
15967 final ScriptProfileNode head; 15668 final ScriptProfileNode head;
15968 15669
15969 /// @domName ScriptProfile.title; @docsEditable true 15670 /// @domName ScriptProfile.title; @docsEditable true
15970 final String title; 15671 final String title;
15971 15672
15972 /// @domName ScriptProfile.uid; @docsEditable true 15673 /// @domName ScriptProfile.uid; @docsEditable true
15973 final int uid; 15674 final int uid;
15974 } 15675 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15975 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15976 // for details. All rights reserved. Use of this source code is governed by a 15676 // for details. All rights reserved. Use of this source code is governed by a
15977 // BSD-style license that can be found in the LICENSE file. 15677 // BSD-style license that can be found in the LICENSE file.
15978 15678
15979 15679
15980 /// @domName ScriptProfileNode; @docsEditable true 15680 /// @domName ScriptProfileNode; @docsEditable true
15981 class ScriptProfileNode native "*ScriptProfileNode" { 15681 class ScriptProfileNode native "*ScriptProfileNode" {
15982 15682
15983 /// @domName ScriptProfileNode.callUID; @docsEditable true 15683 /// @domName ScriptProfileNode.callUID; @docsEditable true
15984 final int callUID; 15684 final int callUID;
15985 15685
(...skipping 13 matching lines...) Expand all
15999 final num totalTime; 15699 final num totalTime;
16000 15700
16001 /// @domName ScriptProfileNode.url; @docsEditable true 15701 /// @domName ScriptProfileNode.url; @docsEditable true
16002 final String url; 15702 final String url;
16003 15703
16004 /// @domName ScriptProfileNode.visible; @docsEditable true 15704 /// @domName ScriptProfileNode.visible; @docsEditable true
16005 final bool visible; 15705 final bool visible;
16006 15706
16007 /// @domName ScriptProfileNode.children; @docsEditable true 15707 /// @domName ScriptProfileNode.children; @docsEditable true
16008 List<ScriptProfileNode> children() native; 15708 List<ScriptProfileNode> children() native;
16009 } 15709 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16010 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16011 // for details. All rights reserved. Use of this source code is governed by a 15710 // for details. All rights reserved. Use of this source code is governed by a
16012 // BSD-style license that can be found in the LICENSE file. 15711 // BSD-style license that can be found in the LICENSE file.
16013 15712
16014 15713
16015 class SelectElement extends Element implements Element native "*HTMLSelectElemen t" { 15714 class SelectElement extends Element implements Element native "*HTMLSelectElemen t" {
16016 15715
16017 factory SelectElement() => document.$dom_createElement("select"); 15716 factory SelectElement() => document.$dom_createElement("select");
16018 15717
16019 /// @domName HTMLSelectElement.autofocus; @docsEditable true 15718 /// @domName HTMLSelectElement.autofocus; @docsEditable true
16020 bool autofocus; 15719 bool autofocus;
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
16082 } 15781 }
16083 15782
16084 List<OptionElement> get selectedOptions { 15783 List<OptionElement> get selectedOptions {
16085 // IE does not change the selected flag for single-selection items. 15784 // IE does not change the selected flag for single-selection items.
16086 if (this.multiple) { 15785 if (this.multiple) {
16087 return this.options.filter((o) => o.selected); 15786 return this.options.filter((o) => o.selected);
16088 } else { 15787 } else {
16089 return [this.options[this.selectedIndex]]; 15788 return [this.options[this.selectedIndex]];
16090 } 15789 }
16091 } 15790 }
16092 } 15791 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16093 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16094 // for details. All rights reserved. Use of this source code is governed by a 15792 // for details. All rights reserved. Use of this source code is governed by a
16095 // BSD-style license that can be found in the LICENSE file. 15793 // BSD-style license that can be found in the LICENSE file.
16096 15794
16097 15795
16098 /// @domName SessionDescription; @docsEditable true 15796 /// @domName SessionDescription; @docsEditable true
16099 class SessionDescription native "*SessionDescription" { 15797 class SessionDescription native "*SessionDescription" {
16100 15798
16101 factory SessionDescription(String sdp) => _SessionDescriptionFactoryProvider.c reateSessionDescription(sdp); 15799 factory SessionDescription(String sdp) => _SessionDescriptionFactoryProvider.c reateSessionDescription(sdp);
16102 15800
16103 /// @domName SessionDescription.addCandidate; @docsEditable true 15801 /// @domName SessionDescription.addCandidate; @docsEditable true
16104 void addCandidate(IceCandidate candidate) native; 15802 void addCandidate(IceCandidate candidate) native;
16105 15803
16106 /// @domName SessionDescription.toSdp; @docsEditable true 15804 /// @domName SessionDescription.toSdp; @docsEditable true
16107 String toSdp() native; 15805 String toSdp() native;
16108 } 15806 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16109 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16110 // for details. All rights reserved. Use of this source code is governed by a 15807 // for details. All rights reserved. Use of this source code is governed by a
16111 // BSD-style license that can be found in the LICENSE file. 15808 // BSD-style license that can be found in the LICENSE file.
16112 15809
16113 15810
16114 /// @domName HTMLShadowElement; @docsEditable true 15811 /// @domName HTMLShadowElement; @docsEditable true
16115 class ShadowElement extends Element implements Element native "*HTMLShadowElemen t" { 15812 class ShadowElement extends Element implements Element native "*HTMLShadowElemen t" {
16116 15813
16117 /// @domName HTMLShadowElement.resetStyleInheritance; @docsEditable true 15814 /// @domName HTMLShadowElement.resetStyleInheritance; @docsEditable true
16118 bool resetStyleInheritance; 15815 bool resetStyleInheritance;
16119 } 15816 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16120 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16121 // for details. All rights reserved. Use of this source code is governed by a 15817 // for details. All rights reserved. Use of this source code is governed by a
16122 // BSD-style license that can be found in the LICENSE file. 15818 // BSD-style license that can be found in the LICENSE file.
16123 15819
16124 // WARNING: Do not edit - generated code. 15820 // WARNING: Do not edit - generated code.
16125 15821
16126 15822
16127 class ShadowRoot extends DocumentFragment native "*ShadowRoot" { 15823 class ShadowRoot extends DocumentFragment native "*ShadowRoot" {
16128 15824
16129 factory ShadowRoot(Element host) => _ShadowRootFactoryProvider.createShadowRoo t(host); 15825 factory ShadowRoot(Element host) => _ShadowRootFactoryProvider.createShadowRoo t(host);
16130 15826
(...skipping 21 matching lines...) Expand all
16152 15848
16153 /// @domName ShadowRoot.getElementsByTagName; @docsEditable true 15849 /// @domName ShadowRoot.getElementsByTagName; @docsEditable true
16154 @Returns('_NodeList') @Creates('_NodeList') 15850 @Returns('_NodeList') @Creates('_NodeList')
16155 List<Node> $dom_getElementsByTagName(String tagName) native "getElementsByTagN ame"; 15851 List<Node> $dom_getElementsByTagName(String tagName) native "getElementsByTagN ame";
16156 15852
16157 /// @domName ShadowRoot.getSelection; @docsEditable true 15853 /// @domName ShadowRoot.getSelection; @docsEditable true
16158 DOMSelection getSelection() native; 15854 DOMSelection getSelection() native;
16159 15855
16160 static bool get supported => 15856 static bool get supported =>
16161 JS('bool', '!!(window.ShadowRoot || window.WebKitShadowRoot)'); 15857 JS('bool', '!!(window.ShadowRoot || window.WebKitShadowRoot)');
16162 } 15858 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16163 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16164 // for details. All rights reserved. Use of this source code is governed by a 15859 // for details. All rights reserved. Use of this source code is governed by a
16165 // BSD-style license that can be found in the LICENSE file. 15860 // BSD-style license that can be found in the LICENSE file.
16166 15861
16167 15862
16168 /// @domName SharedWorker; @docsEditable true 15863 /// @domName SharedWorker; @docsEditable true
16169 class SharedWorker extends AbstractWorker native "*SharedWorker" { 15864 class SharedWorker extends AbstractWorker native "*SharedWorker" {
16170 15865
16171 factory SharedWorker(String scriptURL, [String name]) { 15866 factory SharedWorker(String scriptURL, [String name]) {
16172 if (!?name) { 15867 if (!?name) {
16173 return _SharedWorkerFactoryProvider.createSharedWorker(scriptURL); 15868 return _SharedWorkerFactoryProvider.createSharedWorker(scriptURL);
16174 } 15869 }
16175 return _SharedWorkerFactoryProvider.createSharedWorker(scriptURL, name); 15870 return _SharedWorkerFactoryProvider.createSharedWorker(scriptURL, name);
16176 } 15871 }
16177 15872
16178 /// @domName SharedWorker.port; @docsEditable true 15873 /// @domName SharedWorker.port; @docsEditable true
16179 final MessagePort port; 15874 final MessagePort port;
16180 } 15875 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16181 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16182 // for details. All rights reserved. Use of this source code is governed by a 15876 // for details. All rights reserved. Use of this source code is governed by a
16183 // BSD-style license that can be found in the LICENSE file. 15877 // BSD-style license that can be found in the LICENSE file.
16184 15878
16185 15879
16186 /// @domName SharedWorkerContext; @docsEditable true 15880 /// @domName SharedWorkerContext; @docsEditable true
16187 class SharedWorkerContext extends WorkerContext native "*SharedWorkerContext" { 15881 class SharedWorkerContext extends WorkerContext native "*SharedWorkerContext" {
16188 15882
16189 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true 15883 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true
16190 SharedWorkerContextEvents get on => 15884 SharedWorkerContextEvents get on =>
16191 new SharedWorkerContextEvents(this); 15885 new SharedWorkerContextEvents(this);
16192 15886
16193 /// @domName SharedWorkerContext.name; @docsEditable true 15887 /// @domName SharedWorkerContext.name; @docsEditable true
16194 final String name; 15888 final String name;
16195 } 15889 }
16196 15890
16197 class SharedWorkerContextEvents extends WorkerContextEvents { 15891 class SharedWorkerContextEvents extends WorkerContextEvents {
16198 SharedWorkerContextEvents(EventTarget _ptr) : super(_ptr); 15892 SharedWorkerContextEvents(EventTarget _ptr) : super(_ptr);
16199 15893
16200 EventListenerList get connect => this['connect']; 15894 EventListenerList get connect => this['connect'];
16201 } 15895 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16202 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16203 // for details. All rights reserved. Use of this source code is governed by a 15896 // for details. All rights reserved. Use of this source code is governed by a
16204 // BSD-style license that can be found in the LICENSE file. 15897 // BSD-style license that can be found in the LICENSE file.
16205 15898
16206 15899
16207 /// @domName SourceBuffer; @docsEditable true 15900 /// @domName SourceBuffer; @docsEditable true
16208 class SourceBuffer native "*SourceBuffer" { 15901 class SourceBuffer native "*SourceBuffer" {
16209 15902
16210 /// @domName SourceBuffer.buffered; @docsEditable true 15903 /// @domName SourceBuffer.buffered; @docsEditable true
16211 final TimeRanges buffered; 15904 final TimeRanges buffered;
16212 15905
16213 /// @domName SourceBuffer.timestampOffset; @docsEditable true 15906 /// @domName SourceBuffer.timestampOffset; @docsEditable true
16214 num timestampOffset; 15907 num timestampOffset;
16215 15908
16216 /// @domName SourceBuffer.abort; @docsEditable true 15909 /// @domName SourceBuffer.abort; @docsEditable true
16217 void abort() native; 15910 void abort() native;
16218 15911
16219 /// @domName SourceBuffer.append; @docsEditable true 15912 /// @domName SourceBuffer.append; @docsEditable true
16220 void append(Uint8Array data) native; 15913 void append(Uint8Array data) native;
16221 } 15914 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16222 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16223 // for details. All rights reserved. Use of this source code is governed by a 15915 // for details. All rights reserved. Use of this source code is governed by a
16224 // BSD-style license that can be found in the LICENSE file. 15916 // BSD-style license that can be found in the LICENSE file.
16225 15917
16226 15918
16227 /// @domName SourceBufferList; @docsEditable true 15919 /// @domName SourceBufferList; @docsEditable true
16228 class SourceBufferList extends EventTarget implements JavaScriptIndexingBehavior , List<SourceBuffer> native "*SourceBufferList" { 15920 class SourceBufferList extends EventTarget implements JavaScriptIndexingBehavior , List<SourceBuffer> native "*SourceBufferList" {
16229 15921
16230 /// @domName SourceBufferList.length; @docsEditable true 15922 /// @domName SourceBufferList.length; @docsEditable true
16231 final int length; 15923 final int length;
16232 15924
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
16319 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu re]) native "addEventListener"; 16011 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu re]) native "addEventListener";
16320 16012
16321 /// @domName SourceBufferList.dispatchEvent; @docsEditable true 16013 /// @domName SourceBufferList.dispatchEvent; @docsEditable true
16322 bool $dom_dispatchEvent(Event event) native "dispatchEvent"; 16014 bool $dom_dispatchEvent(Event event) native "dispatchEvent";
16323 16015
16324 /// @domName SourceBufferList.item; @docsEditable true 16016 /// @domName SourceBufferList.item; @docsEditable true
16325 SourceBuffer item(int index) native; 16017 SourceBuffer item(int index) native;
16326 16018
16327 /// @domName SourceBufferList.removeEventListener; @docsEditable true 16019 /// @domName SourceBufferList.removeEventListener; @docsEditable true
16328 void $dom_removeEventListener(String type, EventListener listener, [bool useCa pture]) native "removeEventListener"; 16020 void $dom_removeEventListener(String type, EventListener listener, [bool useCa pture]) native "removeEventListener";
16329 } 16021 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16330 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16331 // for details. All rights reserved. Use of this source code is governed by a 16022 // for details. All rights reserved. Use of this source code is governed by a
16332 // BSD-style license that can be found in the LICENSE file. 16023 // BSD-style license that can be found in the LICENSE file.
16333 16024
16334 16025
16335 /// @domName HTMLSourceElement; @docsEditable true 16026 /// @domName HTMLSourceElement; @docsEditable true
16336 class SourceElement extends Element implements Element native "*HTMLSourceElemen t" { 16027 class SourceElement extends Element implements Element native "*HTMLSourceElemen t" {
16337 16028
16338 factory SourceElement() => document.$dom_createElement("source"); 16029 factory SourceElement() => document.$dom_createElement("source");
16339 16030
16340 /// @domName HTMLSourceElement.media; @docsEditable true 16031 /// @domName HTMLSourceElement.media; @docsEditable true
16341 String media; 16032 String media;
16342 16033
16343 /// @domName HTMLSourceElement.src; @docsEditable true 16034 /// @domName HTMLSourceElement.src; @docsEditable true
16344 String src; 16035 String src;
16345 16036
16346 /// @domName HTMLSourceElement.type; @docsEditable true 16037 /// @domName HTMLSourceElement.type; @docsEditable true
16347 String type; 16038 String type;
16348 } 16039 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16349 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16350 // for details. All rights reserved. Use of this source code is governed by a 16040 // for details. All rights reserved. Use of this source code is governed by a
16351 // BSD-style license that can be found in the LICENSE file. 16041 // BSD-style license that can be found in the LICENSE file.
16352 16042
16353 16043
16354 /// @domName HTMLSpanElement; @docsEditable true 16044 /// @domName HTMLSpanElement; @docsEditable true
16355 class SpanElement extends Element implements Element native "*HTMLSpanElement" { 16045 class SpanElement extends Element implements Element native "*HTMLSpanElement" {
16356 16046
16357 factory SpanElement() => document.$dom_createElement("span"); 16047 factory SpanElement() => document.$dom_createElement("span");
16358 } 16048 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16359 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16360 // for details. All rights reserved. Use of this source code is governed by a 16049 // for details. All rights reserved. Use of this source code is governed by a
16361 // BSD-style license that can be found in the LICENSE file. 16050 // BSD-style license that can be found in the LICENSE file.
16362 16051
16363 16052
16364 /// @domName SpeechGrammar; @docsEditable true 16053 /// @domName SpeechGrammar; @docsEditable true
16365 class SpeechGrammar native "*SpeechGrammar" { 16054 class SpeechGrammar native "*SpeechGrammar" {
16366 16055
16367 factory SpeechGrammar() => _SpeechGrammarFactoryProvider.createSpeechGrammar() ; 16056 factory SpeechGrammar() => _SpeechGrammarFactoryProvider.createSpeechGrammar() ;
16368 16057
16369 /// @domName SpeechGrammar.src; @docsEditable true 16058 /// @domName SpeechGrammar.src; @docsEditable true
16370 String src; 16059 String src;
16371 16060
16372 /// @domName SpeechGrammar.weight; @docsEditable true 16061 /// @domName SpeechGrammar.weight; @docsEditable true
16373 num weight; 16062 num weight;
16374 } 16063 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16375 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16376 // for details. All rights reserved. Use of this source code is governed by a 16064 // for details. All rights reserved. Use of this source code is governed by a
16377 // BSD-style license that can be found in the LICENSE file. 16065 // BSD-style license that can be found in the LICENSE file.
16378 16066
16379 16067
16380 /// @domName SpeechGrammarList; @docsEditable true 16068 /// @domName SpeechGrammarList; @docsEditable true
16381 class SpeechGrammarList implements JavaScriptIndexingBehavior, List<SpeechGramma r> native "*SpeechGrammarList" { 16069 class SpeechGrammarList implements JavaScriptIndexingBehavior, List<SpeechGramma r> native "*SpeechGrammarList" {
16382 16070
16383 factory SpeechGrammarList() => _SpeechGrammarListFactoryProvider.createSpeechG rammarList(); 16071 factory SpeechGrammarList() => _SpeechGrammarListFactoryProvider.createSpeechG rammarList();
16384 16072
16385 /// @domName SpeechGrammarList.length; @docsEditable true 16073 /// @domName SpeechGrammarList.length; @docsEditable true
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
16471 // -- end List<SpeechGrammar> mixins. 16159 // -- end List<SpeechGrammar> mixins.
16472 16160
16473 /// @domName SpeechGrammarList.addFromString; @docsEditable true 16161 /// @domName SpeechGrammarList.addFromString; @docsEditable true
16474 void addFromString(String string, [num weight]) native; 16162 void addFromString(String string, [num weight]) native;
16475 16163
16476 /// @domName SpeechGrammarList.addFromUri; @docsEditable true 16164 /// @domName SpeechGrammarList.addFromUri; @docsEditable true
16477 void addFromUri(String src, [num weight]) native; 16165 void addFromUri(String src, [num weight]) native;
16478 16166
16479 /// @domName SpeechGrammarList.item; @docsEditable true 16167 /// @domName SpeechGrammarList.item; @docsEditable true
16480 SpeechGrammar item(int index) native; 16168 SpeechGrammar item(int index) native;
16481 } 16169 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16482 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16483 // for details. All rights reserved. Use of this source code is governed by a 16170 // for details. All rights reserved. Use of this source code is governed by a
16484 // BSD-style license that can be found in the LICENSE file. 16171 // BSD-style license that can be found in the LICENSE file.
16485 16172
16486 16173
16487 /// @domName SpeechInputEvent; @docsEditable true 16174 /// @domName SpeechInputEvent; @docsEditable true
16488 class SpeechInputEvent extends Event native "*SpeechInputEvent" { 16175 class SpeechInputEvent extends Event native "*SpeechInputEvent" {
16489 16176
16490 /// @domName SpeechInputEvent.results; @docsEditable true 16177 /// @domName SpeechInputEvent.results; @docsEditable true
16491 @Returns('_SpeechInputResultList') @Creates('_SpeechInputResultList') 16178 @Returns('_SpeechInputResultList') @Creates('_SpeechInputResultList')
16492 final List<SpeechInputResult> results; 16179 final List<SpeechInputResult> results;
16493 } 16180 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16494 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16495 // for details. All rights reserved. Use of this source code is governed by a 16181 // for details. All rights reserved. Use of this source code is governed by a
16496 // BSD-style license that can be found in the LICENSE file. 16182 // BSD-style license that can be found in the LICENSE file.
16497 16183
16498 16184
16499 /// @domName SpeechInputResult; @docsEditable true 16185 /// @domName SpeechInputResult; @docsEditable true
16500 class SpeechInputResult native "*SpeechInputResult" { 16186 class SpeechInputResult native "*SpeechInputResult" {
16501 16187
16502 /// @domName SpeechInputResult.confidence; @docsEditable true 16188 /// @domName SpeechInputResult.confidence; @docsEditable true
16503 final num confidence; 16189 final num confidence;
16504 16190
16505 /// @domName SpeechInputResult.utterance; @docsEditable true 16191 /// @domName SpeechInputResult.utterance; @docsEditable true
16506 final String utterance; 16192 final String utterance;
16507 } 16193 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16508 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16509 // for details. All rights reserved. Use of this source code is governed by a 16194 // for details. All rights reserved. Use of this source code is governed by a
16510 // BSD-style license that can be found in the LICENSE file. 16195 // BSD-style license that can be found in the LICENSE file.
16511 16196
16512 16197
16513 /// @domName SpeechRecognition; @docsEditable true 16198 /// @domName SpeechRecognition; @docsEditable true
16514 class SpeechRecognition extends EventTarget native "*SpeechRecognition" { 16199 class SpeechRecognition extends EventTarget native "*SpeechRecognition" {
16515 16200
16516 factory SpeechRecognition() => _SpeechRecognitionFactoryProvider.createSpeechR ecognition(); 16201 factory SpeechRecognition() => _SpeechRecognitionFactoryProvider.createSpeechR ecognition();
16517 16202
16518 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true 16203 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
16570 16255
16571 EventListenerList get soundEnd => this['soundend']; 16256 EventListenerList get soundEnd => this['soundend'];
16572 16257
16573 EventListenerList get soundStart => this['soundstart']; 16258 EventListenerList get soundStart => this['soundstart'];
16574 16259
16575 EventListenerList get speechEnd => this['speechend']; 16260 EventListenerList get speechEnd => this['speechend'];
16576 16261
16577 EventListenerList get speechStart => this['speechstart']; 16262 EventListenerList get speechStart => this['speechstart'];
16578 16263
16579 EventListenerList get start => this['start']; 16264 EventListenerList get start => this['start'];
16580 } 16265 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16581 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16582 // for details. All rights reserved. Use of this source code is governed by a 16266 // for details. All rights reserved. Use of this source code is governed by a
16583 // BSD-style license that can be found in the LICENSE file. 16267 // BSD-style license that can be found in the LICENSE file.
16584 16268
16585 16269
16586 /// @domName SpeechRecognitionAlternative; @docsEditable true 16270 /// @domName SpeechRecognitionAlternative; @docsEditable true
16587 class SpeechRecognitionAlternative native "*SpeechRecognitionAlternative" { 16271 class SpeechRecognitionAlternative native "*SpeechRecognitionAlternative" {
16588 16272
16589 /// @domName SpeechRecognitionAlternative.confidence; @docsEditable true 16273 /// @domName SpeechRecognitionAlternative.confidence; @docsEditable true
16590 final num confidence; 16274 final num confidence;
16591 16275
16592 /// @domName SpeechRecognitionAlternative.transcript; @docsEditable true 16276 /// @domName SpeechRecognitionAlternative.transcript; @docsEditable true
16593 final String transcript; 16277 final String transcript;
16594 } 16278 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16595 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16596 // for details. All rights reserved. Use of this source code is governed by a 16279 // for details. All rights reserved. Use of this source code is governed by a
16597 // BSD-style license that can be found in the LICENSE file. 16280 // BSD-style license that can be found in the LICENSE file.
16598 16281
16599 16282
16600 /// @domName SpeechRecognitionError; @docsEditable true 16283 /// @domName SpeechRecognitionError; @docsEditable true
16601 class SpeechRecognitionError extends Event native "*SpeechRecognitionError" { 16284 class SpeechRecognitionError extends Event native "*SpeechRecognitionError" {
16602 16285
16603 static const int ABORTED = 2; 16286 static const int ABORTED = 2;
16604 16287
16605 static const int AUDIO_CAPTURE = 3; 16288 static const int AUDIO_CAPTURE = 3;
(...skipping 10 matching lines...) Expand all
16616 16299
16617 static const int OTHER = 0; 16300 static const int OTHER = 0;
16618 16301
16619 static const int SERVICE_NOT_ALLOWED = 6; 16302 static const int SERVICE_NOT_ALLOWED = 6;
16620 16303
16621 /// @domName SpeechRecognitionError.code; @docsEditable true 16304 /// @domName SpeechRecognitionError.code; @docsEditable true
16622 final int code; 16305 final int code;
16623 16306
16624 /// @domName SpeechRecognitionError.message; @docsEditable true 16307 /// @domName SpeechRecognitionError.message; @docsEditable true
16625 final String message; 16308 final String message;
16626 } 16309 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16627 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16628 // for details. All rights reserved. Use of this source code is governed by a 16310 // for details. All rights reserved. Use of this source code is governed by a
16629 // BSD-style license that can be found in the LICENSE file. 16311 // BSD-style license that can be found in the LICENSE file.
16630 16312
16631 16313
16632 /// @domName SpeechRecognitionEvent; @docsEditable true 16314 /// @domName SpeechRecognitionEvent; @docsEditable true
16633 class SpeechRecognitionEvent extends Event native "*SpeechRecognitionEvent" { 16315 class SpeechRecognitionEvent extends Event native "*SpeechRecognitionEvent" {
16634 16316
16635 /// @domName SpeechRecognitionEvent.result; @docsEditable true 16317 /// @domName SpeechRecognitionEvent.result; @docsEditable true
16636 final SpeechRecognitionResult result; 16318 final SpeechRecognitionResult result;
16637 16319
16638 /// @domName SpeechRecognitionEvent.resultHistory; @docsEditable true 16320 /// @domName SpeechRecognitionEvent.resultHistory; @docsEditable true
16639 @Returns('_SpeechRecognitionResultList') @Creates('_SpeechRecognitionResultLis t') 16321 @Returns('_SpeechRecognitionResultList') @Creates('_SpeechRecognitionResultLis t')
16640 final List<SpeechRecognitionResult> resultHistory; 16322 final List<SpeechRecognitionResult> resultHistory;
16641 16323
16642 /// @domName SpeechRecognitionEvent.resultIndex; @docsEditable true 16324 /// @domName SpeechRecognitionEvent.resultIndex; @docsEditable true
16643 final int resultIndex; 16325 final int resultIndex;
16644 } 16326 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16645 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16646 // for details. All rights reserved. Use of this source code is governed by a 16327 // for details. All rights reserved. Use of this source code is governed by a
16647 // BSD-style license that can be found in the LICENSE file. 16328 // BSD-style license that can be found in the LICENSE file.
16648 16329
16649 16330
16650 /// @domName SpeechRecognitionResult; @docsEditable true 16331 /// @domName SpeechRecognitionResult; @docsEditable true
16651 class SpeechRecognitionResult native "*SpeechRecognitionResult" { 16332 class SpeechRecognitionResult native "*SpeechRecognitionResult" {
16652 16333
16653 /// @domName SpeechRecognitionResult.emma; @docsEditable true 16334 /// @domName SpeechRecognitionResult.emma; @docsEditable true
16654 final Document emma; 16335 final Document emma;
16655 16336
16656 /// @domName SpeechRecognitionResult.finalValue; @docsEditable true 16337 /// @domName SpeechRecognitionResult.finalValue; @docsEditable true
16657 bool get finalValue => JS("bool", "#.final", this); 16338 bool get finalValue => JS("bool", "#.final", this);
16658 16339
16659 /// @domName SpeechRecognitionResult.length; @docsEditable true 16340 /// @domName SpeechRecognitionResult.length; @docsEditable true
16660 final int length; 16341 final int length;
16661 16342
16662 /// @domName SpeechRecognitionResult.item; @docsEditable true 16343 /// @domName SpeechRecognitionResult.item; @docsEditable true
16663 SpeechRecognitionAlternative item(int index) native; 16344 SpeechRecognitionAlternative item(int index) native;
16664 } 16345 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16665 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16666 // for details. All rights reserved. Use of this source code is governed by a 16346 // for details. All rights reserved. Use of this source code is governed by a
16667 // BSD-style license that can be found in the LICENSE file. 16347 // BSD-style license that can be found in the LICENSE file.
16668 16348
16669 16349
16670 class Storage implements Map<String, String> native "*Storage" { 16350 class Storage implements Map<String, String> native "*Storage" {
16671 16351
16672 // TODO(nweiz): update this when maps support lazy iteration 16352 // TODO(nweiz): update this when maps support lazy iteration
16673 bool containsValue(String value) => values.some((e) => e == value); 16353 bool containsValue(String value) => values.some((e) => e == value);
16674 16354
16675 bool containsKey(String key) => $dom_getItem(key) != null; 16355 bool containsKey(String key) => $dom_getItem(key) != null;
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
16727 16407
16728 /// @domName Storage.key; @docsEditable true 16408 /// @domName Storage.key; @docsEditable true
16729 String $dom_key(int index) native "key"; 16409 String $dom_key(int index) native "key";
16730 16410
16731 /// @domName Storage.removeItem; @docsEditable true 16411 /// @domName Storage.removeItem; @docsEditable true
16732 void $dom_removeItem(String key) native "removeItem"; 16412 void $dom_removeItem(String key) native "removeItem";
16733 16413
16734 /// @domName Storage.setItem; @docsEditable true 16414 /// @domName Storage.setItem; @docsEditable true
16735 void $dom_setItem(String key, String data) native "setItem"; 16415 void $dom_setItem(String key, String data) native "setItem";
16736 16416
16737 } 16417 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16738 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16739 // for details. All rights reserved. Use of this source code is governed by a 16418 // for details. All rights reserved. Use of this source code is governed by a
16740 // BSD-style license that can be found in the LICENSE file. 16419 // BSD-style license that can be found in the LICENSE file.
16741 16420
16742 16421
16743 /// @domName StorageEvent; @docsEditable true 16422 /// @domName StorageEvent; @docsEditable true
16744 class StorageEvent extends Event native "*StorageEvent" { 16423 class StorageEvent extends Event native "*StorageEvent" {
16745 16424
16746 /// @domName StorageEvent.key; @docsEditable true 16425 /// @domName StorageEvent.key; @docsEditable true
16747 final String key; 16426 final String key;
16748 16427
16749 /// @domName StorageEvent.newValue; @docsEditable true 16428 /// @domName StorageEvent.newValue; @docsEditable true
16750 final String newValue; 16429 final String newValue;
16751 16430
16752 /// @domName StorageEvent.oldValue; @docsEditable true 16431 /// @domName StorageEvent.oldValue; @docsEditable true
16753 final String oldValue; 16432 final String oldValue;
16754 16433
16755 /// @domName StorageEvent.storageArea; @docsEditable true 16434 /// @domName StorageEvent.storageArea; @docsEditable true
16756 final Storage storageArea; 16435 final Storage storageArea;
16757 16436
16758 /// @domName StorageEvent.url; @docsEditable true 16437 /// @domName StorageEvent.url; @docsEditable true
16759 final String url; 16438 final String url;
16760 16439
16761 /// @domName StorageEvent.initStorageEvent; @docsEditable true 16440 /// @domName StorageEvent.initStorageEvent; @docsEditable true
16762 void initStorageEvent(String typeArg, bool canBubbleArg, bool cancelableArg, S tring keyArg, String oldValueArg, String newValueArg, String urlArg, Storage sto rageAreaArg) native; 16441 void initStorageEvent(String typeArg, bool canBubbleArg, bool cancelableArg, S tring keyArg, String oldValueArg, String newValueArg, String urlArg, Storage sto rageAreaArg) native;
16763 } 16442 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16764 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16765 // for details. All rights reserved. Use of this source code is governed by a 16443 // for details. All rights reserved. Use of this source code is governed by a
16766 // BSD-style license that can be found in the LICENSE file. 16444 // BSD-style license that can be found in the LICENSE file.
16767 16445
16768 16446
16769 /// @domName StorageInfo; @docsEditable true 16447 /// @domName StorageInfo; @docsEditable true
16770 class StorageInfo native "*StorageInfo" { 16448 class StorageInfo native "*StorageInfo" {
16771 16449
16772 static const int PERSISTENT = 1; 16450 static const int PERSISTENT = 1;
16773 16451
16774 static const int TEMPORARY = 0; 16452 static const int TEMPORARY = 0;
16775 16453
16776 /// @domName StorageInfo.queryUsageAndQuota; @docsEditable true 16454 /// @domName StorageInfo.queryUsageAndQuota; @docsEditable true
16777 void queryUsageAndQuota(int storageType, [StorageInfoUsageCallback usageCallba ck, StorageInfoErrorCallback errorCallback]) native; 16455 void queryUsageAndQuota(int storageType, [StorageInfoUsageCallback usageCallba ck, StorageInfoErrorCallback errorCallback]) native;
16778 16456
16779 /// @domName StorageInfo.requestQuota; @docsEditable true 16457 /// @domName StorageInfo.requestQuota; @docsEditable true
16780 void requestQuota(int storageType, int newQuotaInBytes, [StorageInfoQuotaCallb ack quotaCallback, StorageInfoErrorCallback errorCallback]) native; 16458 void requestQuota(int storageType, int newQuotaInBytes, [StorageInfoQuotaCallb ack quotaCallback, StorageInfoErrorCallback errorCallback]) native;
16781 } 16459 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16782 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16783 // for details. All rights reserved. Use of this source code is governed by a 16460 // for details. All rights reserved. Use of this source code is governed by a
16784 // BSD-style license that can be found in the LICENSE file. 16461 // BSD-style license that can be found in the LICENSE file.
16785 16462
16786 // WARNING: Do not edit - generated code. 16463 // WARNING: Do not edit - generated code.
16787 16464
16788 16465
16789 typedef void StorageInfoErrorCallback(DOMException error); 16466 typedef void StorageInfoErrorCallback(DOMException error);// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16790 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16791 // for details. All rights reserved. Use of this source code is governed by a 16467 // for details. All rights reserved. Use of this source code is governed by a
16792 // BSD-style license that can be found in the LICENSE file. 16468 // BSD-style license that can be found in the LICENSE file.
16793 16469
16794 // WARNING: Do not edit - generated code. 16470 // WARNING: Do not edit - generated code.
16795 16471
16796 16472
16797 typedef void StorageInfoQuotaCallback(int grantedQuotaInBytes); 16473 typedef void StorageInfoQuotaCallback(int grantedQuotaInBytes);// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16798 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16799 // for details. All rights reserved. Use of this source code is governed by a 16474 // for details. All rights reserved. Use of this source code is governed by a
16800 // BSD-style license that can be found in the LICENSE file. 16475 // BSD-style license that can be found in the LICENSE file.
16801 16476
16802 // WARNING: Do not edit - generated code. 16477 // WARNING: Do not edit - generated code.
16803 16478
16804 16479
16805 typedef void StorageInfoUsageCallback(int currentUsageInBytes, int currentQuotaI nBytes); 16480 typedef void StorageInfoUsageCallback(int currentUsageInBytes, int currentQuotaI nBytes);// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16806 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16807 // for details. All rights reserved. Use of this source code is governed by a 16481 // for details. All rights reserved. Use of this source code is governed by a
16808 // BSD-style license that can be found in the LICENSE file. 16482 // BSD-style license that can be found in the LICENSE file.
16809 16483
16810 // WARNING: Do not edit - generated code. 16484 // WARNING: Do not edit - generated code.
16811 16485
16812 16486
16813 typedef void StringCallback(String data); 16487 typedef void StringCallback(String data);// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16814 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16815 // for details. All rights reserved. Use of this source code is governed by a 16488 // for details. All rights reserved. Use of this source code is governed by a
16816 // BSD-style license that can be found in the LICENSE file. 16489 // BSD-style license that can be found in the LICENSE file.
16817 16490
16818 16491
16819 /// @domName HTMLStyleElement; @docsEditable true 16492 /// @domName HTMLStyleElement; @docsEditable true
16820 class StyleElement extends Element implements Element native "*HTMLStyleElement" { 16493 class StyleElement extends Element implements Element native "*HTMLStyleElement" {
16821 16494
16822 factory StyleElement() => document.$dom_createElement("style"); 16495 factory StyleElement() => document.$dom_createElement("style");
16823 16496
16824 /// @domName HTMLStyleElement.disabled; @docsEditable true 16497 /// @domName HTMLStyleElement.disabled; @docsEditable true
16825 bool disabled; 16498 bool disabled;
16826 16499
16827 /// @domName HTMLStyleElement.media; @docsEditable true 16500 /// @domName HTMLStyleElement.media; @docsEditable true
16828 String media; 16501 String media;
16829 16502
16830 /// @domName HTMLStyleElement.scoped; @docsEditable true 16503 /// @domName HTMLStyleElement.scoped; @docsEditable true
16831 bool scoped; 16504 bool scoped;
16832 16505
16833 /// @domName HTMLStyleElement.sheet; @docsEditable true 16506 /// @domName HTMLStyleElement.sheet; @docsEditable true
16834 final StyleSheet sheet; 16507 final StyleSheet sheet;
16835 16508
16836 /// @domName HTMLStyleElement.type; @docsEditable true 16509 /// @domName HTMLStyleElement.type; @docsEditable true
16837 String type; 16510 String type;
16838 } 16511 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16839 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16840 // for details. All rights reserved. Use of this source code is governed by a 16512 // for details. All rights reserved. Use of this source code is governed by a
16841 // BSD-style license that can be found in the LICENSE file. 16513 // BSD-style license that can be found in the LICENSE file.
16842 16514
16843 16515
16844 /// @domName StyleMedia; @docsEditable true 16516 /// @domName StyleMedia; @docsEditable true
16845 class StyleMedia native "*StyleMedia" { 16517 class StyleMedia native "*StyleMedia" {
16846 16518
16847 /// @domName StyleMedia.type; @docsEditable true 16519 /// @domName StyleMedia.type; @docsEditable true
16848 final String type; 16520 final String type;
16849 16521
16850 /// @domName StyleMedia.matchMedium; @docsEditable true 16522 /// @domName StyleMedia.matchMedium; @docsEditable true
16851 bool matchMedium(String mediaquery) native; 16523 bool matchMedium(String mediaquery) native;
16852 } 16524 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16853 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16854 // for details. All rights reserved. Use of this source code is governed by a 16525 // for details. All rights reserved. Use of this source code is governed by a
16855 // BSD-style license that can be found in the LICENSE file. 16526 // BSD-style license that can be found in the LICENSE file.
16856 16527
16857 16528
16858 /// @domName StyleSheet; @docsEditable true 16529 /// @domName StyleSheet; @docsEditable true
16859 class StyleSheet native "*StyleSheet" { 16530 class StyleSheet native "*StyleSheet" {
16860 16531
16861 /// @domName StyleSheet.disabled; @docsEditable true 16532 /// @domName StyleSheet.disabled; @docsEditable true
16862 bool disabled; 16533 bool disabled;
16863 16534
16864 /// @domName StyleSheet.href; @docsEditable true 16535 /// @domName StyleSheet.href; @docsEditable true
16865 final String href; 16536 final String href;
16866 16537
16867 /// @domName StyleSheet.media; @docsEditable true 16538 /// @domName StyleSheet.media; @docsEditable true
16868 final MediaList media; 16539 final MediaList media;
16869 16540
16870 /// @domName StyleSheet.ownerNode; @docsEditable true 16541 /// @domName StyleSheet.ownerNode; @docsEditable true
16871 final Node ownerNode; 16542 final Node ownerNode;
16872 16543
16873 /// @domName StyleSheet.parentStyleSheet; @docsEditable true 16544 /// @domName StyleSheet.parentStyleSheet; @docsEditable true
16874 final StyleSheet parentStyleSheet; 16545 final StyleSheet parentStyleSheet;
16875 16546
16876 /// @domName StyleSheet.title; @docsEditable true 16547 /// @domName StyleSheet.title; @docsEditable true
16877 final String title; 16548 final String title;
16878 16549
16879 /// @domName StyleSheet.type; @docsEditable true 16550 /// @domName StyleSheet.type; @docsEditable true
16880 final String type; 16551 final String type;
16881 } 16552 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16882 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16883 // for details. All rights reserved. Use of this source code is governed by a 16553 // for details. All rights reserved. Use of this source code is governed by a
16884 // BSD-style license that can be found in the LICENSE file. 16554 // BSD-style license that can be found in the LICENSE file.
16885 16555
16886 16556
16887 /// @domName HTMLTableCaptionElement; @docsEditable true 16557 /// @domName HTMLTableCaptionElement; @docsEditable true
16888 class TableCaptionElement extends Element implements Element native "*HTMLTableC aptionElement" { 16558 class TableCaptionElement extends Element implements Element native "*HTMLTableC aptionElement" {
16889 16559
16890 factory TableCaptionElement() => document.$dom_createElement("caption"); 16560 factory TableCaptionElement() => document.$dom_createElement("caption");
16891 16561
16892 /// @domName HTMLTableCaptionElement.align; @docsEditable true 16562 /// @domName HTMLTableCaptionElement.align; @docsEditable true
16893 String align; 16563 String align;
16894 } 16564 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16895 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16896 // for details. All rights reserved. Use of this source code is governed by a 16565 // for details. All rights reserved. Use of this source code is governed by a
16897 // BSD-style license that can be found in the LICENSE file. 16566 // BSD-style license that can be found in the LICENSE file.
16898 16567
16899 16568
16900 /// @domName HTMLTableCellElement; @docsEditable true 16569 /// @domName HTMLTableCellElement; @docsEditable true
16901 class TableCellElement extends Element implements Element native "*HTMLTableCell Element" { 16570 class TableCellElement extends Element implements Element native "*HTMLTableCell Element" {
16902 16571
16903 factory TableCellElement() => document.$dom_createElement("td"); 16572 factory TableCellElement() => document.$dom_createElement("td");
16904 16573
16905 /// @domName HTMLTableCellElement.abbr; @docsEditable true 16574 /// @domName HTMLTableCellElement.abbr; @docsEditable true
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
16939 int rowSpan; 16608 int rowSpan;
16940 16609
16941 /// @domName HTMLTableCellElement.scope; @docsEditable true 16610 /// @domName HTMLTableCellElement.scope; @docsEditable true
16942 String scope; 16611 String scope;
16943 16612
16944 /// @domName HTMLTableCellElement.vAlign; @docsEditable true 16613 /// @domName HTMLTableCellElement.vAlign; @docsEditable true
16945 String vAlign; 16614 String vAlign;
16946 16615
16947 /// @domName HTMLTableCellElement.width; @docsEditable true 16616 /// @domName HTMLTableCellElement.width; @docsEditable true
16948 String width; 16617 String width;
16949 } 16618 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16950 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16951 // for details. All rights reserved. Use of this source code is governed by a 16619 // for details. All rights reserved. Use of this source code is governed by a
16952 // BSD-style license that can be found in the LICENSE file. 16620 // BSD-style license that can be found in the LICENSE file.
16953 16621
16954 16622
16955 /// @domName HTMLTableColElement; @docsEditable true 16623 /// @domName HTMLTableColElement; @docsEditable true
16956 class TableColElement extends Element implements Element native "*HTMLTableColEl ement" { 16624 class TableColElement extends Element implements Element native "*HTMLTableColEl ement" {
16957 16625
16958 factory TableColElement() => document.$dom_createElement("col"); 16626 factory TableColElement() => document.$dom_createElement("col");
16959 16627
16960 /// @domName HTMLTableColElement.align; @docsEditable true 16628 /// @domName HTMLTableColElement.align; @docsEditable true
16961 String align; 16629 String align;
16962 16630
16963 /// @domName HTMLTableColElement.ch; @docsEditable true 16631 /// @domName HTMLTableColElement.ch; @docsEditable true
16964 String ch; 16632 String ch;
16965 16633
16966 /// @domName HTMLTableColElement.chOff; @docsEditable true 16634 /// @domName HTMLTableColElement.chOff; @docsEditable true
16967 String chOff; 16635 String chOff;
16968 16636
16969 /// @domName HTMLTableColElement.span; @docsEditable true 16637 /// @domName HTMLTableColElement.span; @docsEditable true
16970 int span; 16638 int span;
16971 16639
16972 /// @domName HTMLTableColElement.vAlign; @docsEditable true 16640 /// @domName HTMLTableColElement.vAlign; @docsEditable true
16973 String vAlign; 16641 String vAlign;
16974 16642
16975 /// @domName HTMLTableColElement.width; @docsEditable true 16643 /// @domName HTMLTableColElement.width; @docsEditable true
16976 String width; 16644 String width;
16977 } 16645 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16978 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16979 // for details. All rights reserved. Use of this source code is governed by a 16646 // for details. All rights reserved. Use of this source code is governed by a
16980 // BSD-style license that can be found in the LICENSE file. 16647 // BSD-style license that can be found in the LICENSE file.
16981 16648
16982 16649
16983 class TableElement extends Element implements Element native "*HTMLTableElement" { 16650 class TableElement extends Element implements Element native "*HTMLTableElement" {
16984 16651
16985 factory TableElement() => document.$dom_createElement("table"); 16652 factory TableElement() => document.$dom_createElement("table");
16986 16653
16987 /// @domName HTMLTableElement.align; @docsEditable true 16654 /// @domName HTMLTableElement.align; @docsEditable true
16988 String align; 16655 String align;
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
17054 Element createTBody() { 16721 Element createTBody() {
17055 if (JS('bool', '!!#.createTBody', this)) { 16722 if (JS('bool', '!!#.createTBody', this)) {
17056 return this._createTBody(); 16723 return this._createTBody();
17057 } 16724 }
17058 var tbody = new Element.tag('tbody'); 16725 var tbody = new Element.tag('tbody');
17059 this.elements.add(tbody); 16726 this.elements.add(tbody);
17060 return tbody; 16727 return tbody;
17061 } 16728 }
17062 16729
17063 Element _createTBody() native 'createTBody'; 16730 Element _createTBody() native 'createTBody';
17064 } 16731 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17065 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17066 // for details. All rights reserved. Use of this source code is governed by a 16732 // for details. All rights reserved. Use of this source code is governed by a
17067 // BSD-style license that can be found in the LICENSE file. 16733 // BSD-style license that can be found in the LICENSE file.
17068 16734
17069 16735
17070 /// @domName HTMLTableRowElement; @docsEditable true 16736 /// @domName HTMLTableRowElement; @docsEditable true
17071 class TableRowElement extends Element implements Element native "*HTMLTableRowEl ement" { 16737 class TableRowElement extends Element implements Element native "*HTMLTableRowEl ement" {
17072 16738
17073 factory TableRowElement() => document.$dom_createElement("tr"); 16739 factory TableRowElement() => document.$dom_createElement("tr");
17074 16740
17075 /// @domName HTMLTableRowElement.align; @docsEditable true 16741 /// @domName HTMLTableRowElement.align; @docsEditable true
(...skipping 18 matching lines...) Expand all
17094 final int sectionRowIndex; 16760 final int sectionRowIndex;
17095 16761
17096 /// @domName HTMLTableRowElement.vAlign; @docsEditable true 16762 /// @domName HTMLTableRowElement.vAlign; @docsEditable true
17097 String vAlign; 16763 String vAlign;
17098 16764
17099 /// @domName HTMLTableRowElement.deleteCell; @docsEditable true 16765 /// @domName HTMLTableRowElement.deleteCell; @docsEditable true
17100 void deleteCell(int index) native; 16766 void deleteCell(int index) native;
17101 16767
17102 /// @domName HTMLTableRowElement.insertCell; @docsEditable true 16768 /// @domName HTMLTableRowElement.insertCell; @docsEditable true
17103 Element insertCell(int index) native; 16769 Element insertCell(int index) native;
17104 } 16770 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17105 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17106 // for details. All rights reserved. Use of this source code is governed by a 16771 // for details. All rights reserved. Use of this source code is governed by a
17107 // BSD-style license that can be found in the LICENSE file. 16772 // BSD-style license that can be found in the LICENSE file.
17108 16773
17109 16774
17110 /// @domName HTMLTableSectionElement; @docsEditable true 16775 /// @domName HTMLTableSectionElement; @docsEditable true
17111 class TableSectionElement extends Element implements Element native "*HTMLTableS ectionElement" { 16776 class TableSectionElement extends Element implements Element native "*HTMLTableS ectionElement" {
17112 16777
17113 /// @domName HTMLTableSectionElement.align; @docsEditable true 16778 /// @domName HTMLTableSectionElement.align; @docsEditable true
17114 String align; 16779 String align;
17115 16780
17116 /// @domName HTMLTableSectionElement.ch; @docsEditable true 16781 /// @domName HTMLTableSectionElement.ch; @docsEditable true
17117 String ch; 16782 String ch;
17118 16783
17119 /// @domName HTMLTableSectionElement.chOff; @docsEditable true 16784 /// @domName HTMLTableSectionElement.chOff; @docsEditable true
17120 String chOff; 16785 String chOff;
17121 16786
17122 /// @domName HTMLTableSectionElement.rows; @docsEditable true 16787 /// @domName HTMLTableSectionElement.rows; @docsEditable true
17123 final HTMLCollection rows; 16788 final HTMLCollection rows;
17124 16789
17125 /// @domName HTMLTableSectionElement.vAlign; @docsEditable true 16790 /// @domName HTMLTableSectionElement.vAlign; @docsEditable true
17126 String vAlign; 16791 String vAlign;
17127 16792
17128 /// @domName HTMLTableSectionElement.deleteRow; @docsEditable true 16793 /// @domName HTMLTableSectionElement.deleteRow; @docsEditable true
17129 void deleteRow(int index) native; 16794 void deleteRow(int index) native;
17130 16795
17131 /// @domName HTMLTableSectionElement.insertRow; @docsEditable true 16796 /// @domName HTMLTableSectionElement.insertRow; @docsEditable true
17132 Element insertRow(int index) native; 16797 Element insertRow(int index) native;
17133 } 16798 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17134 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17135 // for details. All rights reserved. Use of this source code is governed by a 16799 // for details. All rights reserved. Use of this source code is governed by a
17136 // BSD-style license that can be found in the LICENSE file. 16800 // BSD-style license that can be found in the LICENSE file.
17137 16801
17138 // WARNING: Do not edit - generated code. 16802 // WARNING: Do not edit - generated code.
17139 16803
17140 16804
17141 class Text extends CharacterData native "*Text" { 16805 class Text extends CharacterData native "*Text" {
17142 factory Text(String data) => _TextFactoryProvider.createText(data); 16806 factory Text(String data) => _TextFactoryProvider.createText(data);
17143 16807
17144 /// @domName Text.wholeText; @docsEditable true 16808 /// @domName Text.wholeText; @docsEditable true
17145 final String wholeText; 16809 final String wholeText;
17146 16810
17147 /// @domName Text.replaceWholeText; @docsEditable true 16811 /// @domName Text.replaceWholeText; @docsEditable true
17148 Text replaceWholeText(String content) native; 16812 Text replaceWholeText(String content) native;
17149 16813
17150 /// @domName Text.splitText; @docsEditable true 16814 /// @domName Text.splitText; @docsEditable true
17151 Text splitText(int offset) native; 16815 Text splitText(int offset) native;
17152 16816
17153 } 16817 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17154 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17155 // for details. All rights reserved. Use of this source code is governed by a 16818 // for details. All rights reserved. Use of this source code is governed by a
17156 // BSD-style license that can be found in the LICENSE file. 16819 // BSD-style license that can be found in the LICENSE file.
17157 16820
17158 16821
17159 /// @domName HTMLTextAreaElement; @docsEditable true 16822 /// @domName HTMLTextAreaElement; @docsEditable true
17160 class TextAreaElement extends Element implements Element native "*HTMLTextAreaEl ement" { 16823 class TextAreaElement extends Element implements Element native "*HTMLTextAreaEl ement" {
17161 16824
17162 factory TextAreaElement() => document.$dom_createElement("textarea"); 16825 factory TextAreaElement() => document.$dom_createElement("textarea");
17163 16826
17164 /// @domName HTMLTextAreaElement.autofocus; @docsEditable true 16827 /// @domName HTMLTextAreaElement.autofocus; @docsEditable true
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
17238 void select() native; 16901 void select() native;
17239 16902
17240 /// @domName HTMLTextAreaElement.setCustomValidity; @docsEditable true 16903 /// @domName HTMLTextAreaElement.setCustomValidity; @docsEditable true
17241 void setCustomValidity(String error) native; 16904 void setCustomValidity(String error) native;
17242 16905
17243 /// @domName HTMLTextAreaElement.setRangeText; @docsEditable true 16906 /// @domName HTMLTextAreaElement.setRangeText; @docsEditable true
17244 void setRangeText(String replacement, [int start, int end, String selectionMod e]) native; 16907 void setRangeText(String replacement, [int start, int end, String selectionMod e]) native;
17245 16908
17246 /// @domName HTMLTextAreaElement.setSelectionRange; @docsEditable true 16909 /// @domName HTMLTextAreaElement.setSelectionRange; @docsEditable true
17247 void setSelectionRange(int start, int end, [String direction]) native; 16910 void setSelectionRange(int start, int end, [String direction]) native;
17248 } 16911 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17249 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17250 // for details. All rights reserved. Use of this source code is governed by a 16912 // for details. All rights reserved. Use of this source code is governed by a
17251 // BSD-style license that can be found in the LICENSE file. 16913 // BSD-style license that can be found in the LICENSE file.
17252 16914
17253 16915
17254 /// @domName TextEvent; @docsEditable true 16916 /// @domName TextEvent; @docsEditable true
17255 class TextEvent extends UIEvent native "*TextEvent" { 16917 class TextEvent extends UIEvent native "*TextEvent" {
17256 16918
17257 /// @domName TextEvent.data; @docsEditable true 16919 /// @domName TextEvent.data; @docsEditable true
17258 final String data; 16920 final String data;
17259 16921
17260 /// @domName TextEvent.initTextEvent; @docsEditable true 16922 /// @domName TextEvent.initTextEvent; @docsEditable true
17261 void initTextEvent(String typeArg, bool canBubbleArg, bool cancelableArg, Loca lWindow viewArg, String dataArg) native; 16923 void initTextEvent(String typeArg, bool canBubbleArg, bool cancelableArg, Loca lWindow viewArg, String dataArg) native;
17262 } 16924 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17263 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17264 // for details. All rights reserved. Use of this source code is governed by a 16925 // for details. All rights reserved. Use of this source code is governed by a
17265 // BSD-style license that can be found in the LICENSE file. 16926 // BSD-style license that can be found in the LICENSE file.
17266 16927
17267 16928
17268 /// @domName TextMetrics; @docsEditable true 16929 /// @domName TextMetrics; @docsEditable true
17269 class TextMetrics native "*TextMetrics" { 16930 class TextMetrics native "*TextMetrics" {
17270 16931
17271 /// @domName TextMetrics.width; @docsEditable true 16932 /// @domName TextMetrics.width; @docsEditable true
17272 final num width; 16933 final num width;
17273 } 16934 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17274 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17275 // for details. All rights reserved. Use of this source code is governed by a 16935 // for details. All rights reserved. Use of this source code is governed by a
17276 // BSD-style license that can be found in the LICENSE file. 16936 // BSD-style license that can be found in the LICENSE file.
17277 16937
17278 16938
17279 /// @domName TextTrack; @docsEditable true 16939 /// @domName TextTrack; @docsEditable true
17280 class TextTrack extends EventTarget native "*TextTrack" { 16940 class TextTrack extends EventTarget native "*TextTrack" {
17281 16941
17282 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true 16942 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true
17283 TextTrackEvents get on => 16943 TextTrackEvents get on =>
17284 new TextTrackEvents(this); 16944 new TextTrackEvents(this);
(...skipping 29 matching lines...) Expand all
17314 void removeCue(TextTrackCue cue) native; 16974 void removeCue(TextTrackCue cue) native;
17315 16975
17316 /// @domName TextTrack.removeEventListener; @docsEditable true 16976 /// @domName TextTrack.removeEventListener; @docsEditable true
17317 void $dom_removeEventListener(String type, EventListener listener, [bool useCa pture]) native "removeEventListener"; 16977 void $dom_removeEventListener(String type, EventListener listener, [bool useCa pture]) native "removeEventListener";
17318 } 16978 }
17319 16979
17320 class TextTrackEvents extends Events { 16980 class TextTrackEvents extends Events {
17321 TextTrackEvents(EventTarget _ptr) : super(_ptr); 16981 TextTrackEvents(EventTarget _ptr) : super(_ptr);
17322 16982
17323 EventListenerList get cueChange => this['cuechange']; 16983 EventListenerList get cueChange => this['cuechange'];
17324 } 16984 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17325 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17326 // for details. All rights reserved. Use of this source code is governed by a 16985 // for details. All rights reserved. Use of this source code is governed by a
17327 // BSD-style license that can be found in the LICENSE file. 16986 // BSD-style license that can be found in the LICENSE file.
17328 16987
17329 16988
17330 /// @domName TextTrackCue; @docsEditable true 16989 /// @domName TextTrackCue; @docsEditable true
17331 class TextTrackCue extends EventTarget native "*TextTrackCue" { 16990 class TextTrackCue extends EventTarget native "*TextTrackCue" {
17332 16991
17333 factory TextTrackCue(num startTime, num endTime, String text) => _TextTrackCue FactoryProvider.createTextTrackCue(startTime, endTime, text); 16992 factory TextTrackCue(num startTime, num endTime, String text) => _TextTrackCue FactoryProvider.createTextTrackCue(startTime, endTime, text);
17334 16993
17335 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true 16994 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
17384 /// @domName TextTrackCue.removeEventListener; @docsEditable true 17043 /// @domName TextTrackCue.removeEventListener; @docsEditable true
17385 void $dom_removeEventListener(String type, EventListener listener, [bool useCa pture]) native "removeEventListener"; 17044 void $dom_removeEventListener(String type, EventListener listener, [bool useCa pture]) native "removeEventListener";
17386 } 17045 }
17387 17046
17388 class TextTrackCueEvents extends Events { 17047 class TextTrackCueEvents extends Events {
17389 TextTrackCueEvents(EventTarget _ptr) : super(_ptr); 17048 TextTrackCueEvents(EventTarget _ptr) : super(_ptr);
17390 17049
17391 EventListenerList get enter => this['enter']; 17050 EventListenerList get enter => this['enter'];
17392 17051
17393 EventListenerList get exit => this['exit']; 17052 EventListenerList get exit => this['exit'];
17394 } 17053 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17395 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17396 // for details. All rights reserved. Use of this source code is governed by a 17054 // for details. All rights reserved. Use of this source code is governed by a
17397 // BSD-style license that can be found in the LICENSE file. 17055 // BSD-style license that can be found in the LICENSE file.
17398 17056
17399 17057
17400 /// @domName TextTrackCueList; @docsEditable true 17058 /// @domName TextTrackCueList; @docsEditable true
17401 class TextTrackCueList implements List<TextTrackCue>, JavaScriptIndexingBehavior native "*TextTrackCueList" { 17059 class TextTrackCueList implements List<TextTrackCue>, JavaScriptIndexingBehavior native "*TextTrackCueList" {
17402 17060
17403 /// @domName TextTrackCueList.length; @docsEditable true 17061 /// @domName TextTrackCueList.length; @docsEditable true
17404 final int length; 17062 final int length;
17405 17063
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
17486 List<TextTrackCue> getRange(int start, int rangeLength) => 17144 List<TextTrackCue> getRange(int start, int rangeLength) =>
17487 _Lists.getRange(this, start, rangeLength, <TextTrackCue>[]); 17145 _Lists.getRange(this, start, rangeLength, <TextTrackCue>[]);
17488 17146
17489 // -- end List<TextTrackCue> mixins. 17147 // -- end List<TextTrackCue> mixins.
17490 17148
17491 /// @domName TextTrackCueList.getCueById; @docsEditable true 17149 /// @domName TextTrackCueList.getCueById; @docsEditable true
17492 TextTrackCue getCueById(String id) native; 17150 TextTrackCue getCueById(String id) native;
17493 17151
17494 /// @domName TextTrackCueList.item; @docsEditable true 17152 /// @domName TextTrackCueList.item; @docsEditable true
17495 TextTrackCue item(int index) native; 17153 TextTrackCue item(int index) native;
17496 } 17154 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17497 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17498 // for details. All rights reserved. Use of this source code is governed by a 17155 // for details. All rights reserved. Use of this source code is governed by a
17499 // BSD-style license that can be found in the LICENSE file. 17156 // BSD-style license that can be found in the LICENSE file.
17500 17157
17501 17158
17502 /// @domName TextTrackList; @docsEditable true 17159 /// @domName TextTrackList; @docsEditable true
17503 class TextTrackList extends EventTarget implements JavaScriptIndexingBehavior, L ist<TextTrack> native "*TextTrackList" { 17160 class TextTrackList extends EventTarget implements JavaScriptIndexingBehavior, L ist<TextTrack> native "*TextTrackList" {
17504 17161
17505 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true 17162 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true
17506 TextTrackListEvents get on => 17163 TextTrackListEvents get on =>
17507 new TextTrackListEvents(this); 17164 new TextTrackListEvents(this);
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
17604 TextTrack item(int index) native; 17261 TextTrack item(int index) native;
17605 17262
17606 /// @domName TextTrackList.removeEventListener; @docsEditable true 17263 /// @domName TextTrackList.removeEventListener; @docsEditable true
17607 void $dom_removeEventListener(String type, EventListener listener, [bool useCa pture]) native "removeEventListener"; 17264 void $dom_removeEventListener(String type, EventListener listener, [bool useCa pture]) native "removeEventListener";
17608 } 17265 }
17609 17266
17610 class TextTrackListEvents extends Events { 17267 class TextTrackListEvents extends Events {
17611 TextTrackListEvents(EventTarget _ptr) : super(_ptr); 17268 TextTrackListEvents(EventTarget _ptr) : super(_ptr);
17612 17269
17613 EventListenerList get addTrack => this['addtrack']; 17270 EventListenerList get addTrack => this['addtrack'];
17614 } 17271 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17615 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17616 // for details. All rights reserved. Use of this source code is governed by a 17272 // for details. All rights reserved. Use of this source code is governed by a
17617 // BSD-style license that can be found in the LICENSE file. 17273 // BSD-style license that can be found in the LICENSE file.
17618 17274
17619 17275
17620 /// @domName TimeRanges; @docsEditable true 17276 /// @domName TimeRanges; @docsEditable true
17621 class TimeRanges native "*TimeRanges" { 17277 class TimeRanges native "*TimeRanges" {
17622 17278
17623 /// @domName TimeRanges.length; @docsEditable true 17279 /// @domName TimeRanges.length; @docsEditable true
17624 final int length; 17280 final int length;
17625 17281
17626 /// @domName TimeRanges.end; @docsEditable true 17282 /// @domName TimeRanges.end; @docsEditable true
17627 num end(int index) native; 17283 num end(int index) native;
17628 17284
17629 /// @domName TimeRanges.start; @docsEditable true 17285 /// @domName TimeRanges.start; @docsEditable true
17630 num start(int index) native; 17286 num start(int index) native;
17631 } 17287 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17632 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17633 // for details. All rights reserved. Use of this source code is governed by a 17288 // for details. All rights reserved. Use of this source code is governed by a
17634 // BSD-style license that can be found in the LICENSE file. 17289 // BSD-style license that can be found in the LICENSE file.
17635 17290
17636 // WARNING: Do not edit - generated code. 17291 // WARNING: Do not edit - generated code.
17637 17292
17638 17293
17639 typedef void TimeoutHandler(); 17294 typedef void TimeoutHandler();// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17640 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17641 // for details. All rights reserved. Use of this source code is governed by a 17295 // for details. All rights reserved. Use of this source code is governed by a
17642 // BSD-style license that can be found in the LICENSE file. 17296 // BSD-style license that can be found in the LICENSE file.
17643 17297
17644 17298
17645 /// @domName HTMLTitleElement; @docsEditable true 17299 /// @domName HTMLTitleElement; @docsEditable true
17646 class TitleElement extends Element implements Element native "*HTMLTitleElement" { 17300 class TitleElement extends Element implements Element native "*HTMLTitleElement" {
17647 17301
17648 factory TitleElement() => document.$dom_createElement("title"); 17302 factory TitleElement() => document.$dom_createElement("title");
17649 } 17303 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17650 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17651 // for details. All rights reserved. Use of this source code is governed by a 17304 // for details. All rights reserved. Use of this source code is governed by a
17652 // BSD-style license that can be found in the LICENSE file. 17305 // BSD-style license that can be found in the LICENSE file.
17653 17306
17654 17307
17655 /// @domName Touch; @docsEditable true 17308 /// @domName Touch; @docsEditable true
17656 class Touch native "*Touch" { 17309 class Touch native "*Touch" {
17657 17310
17658 /// @domName Touch.clientX; @docsEditable true 17311 /// @domName Touch.clientX; @docsEditable true
17659 final int clientX; 17312 final int clientX;
17660 17313
(...skipping 23 matching lines...) Expand all
17684 final num webkitForce; 17337 final num webkitForce;
17685 17338
17686 /// @domName Touch.webkitRadiusX; @docsEditable true 17339 /// @domName Touch.webkitRadiusX; @docsEditable true
17687 final int webkitRadiusX; 17340 final int webkitRadiusX;
17688 17341
17689 /// @domName Touch.webkitRadiusY; @docsEditable true 17342 /// @domName Touch.webkitRadiusY; @docsEditable true
17690 final int webkitRadiusY; 17343 final int webkitRadiusY;
17691 17344
17692 /// @domName Touch.webkitRotationAngle; @docsEditable true 17345 /// @domName Touch.webkitRotationAngle; @docsEditable true
17693 final num webkitRotationAngle; 17346 final num webkitRotationAngle;
17694 } 17347 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17695 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17696 // for details. All rights reserved. Use of this source code is governed by a 17348 // for details. All rights reserved. Use of this source code is governed by a
17697 // BSD-style license that can be found in the LICENSE file. 17349 // BSD-style license that can be found in the LICENSE file.
17698 17350
17699 17351
17700 /// @domName TouchEvent; @docsEditable true 17352 /// @domName TouchEvent; @docsEditable true
17701 class TouchEvent extends UIEvent native "*TouchEvent" { 17353 class TouchEvent extends UIEvent native "*TouchEvent" {
17702 17354
17703 /// @domName TouchEvent.altKey; @docsEditable true 17355 /// @domName TouchEvent.altKey; @docsEditable true
17704 final bool altKey; 17356 final bool altKey;
17705 17357
(...skipping 10 matching lines...) Expand all
17716 final bool shiftKey; 17368 final bool shiftKey;
17717 17369
17718 /// @domName TouchEvent.targetTouches; @docsEditable true 17370 /// @domName TouchEvent.targetTouches; @docsEditable true
17719 final TouchList targetTouches; 17371 final TouchList targetTouches;
17720 17372
17721 /// @domName TouchEvent.touches; @docsEditable true 17373 /// @domName TouchEvent.touches; @docsEditable true
17722 final TouchList touches; 17374 final TouchList touches;
17723 17375
17724 /// @domName TouchEvent.initTouchEvent; @docsEditable true 17376 /// @domName TouchEvent.initTouchEvent; @docsEditable true
17725 void initTouchEvent(TouchList touches, TouchList targetTouches, TouchList chan gedTouches, String type, LocalWindow view, int screenX, int screenY, int clientX , int clientY, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey) native; 17377 void initTouchEvent(TouchList touches, TouchList targetTouches, TouchList chan gedTouches, String type, LocalWindow view, int screenX, int screenY, int clientX , int clientY, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey) native;
17726 } 17378 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17727 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17728 // for details. All rights reserved. Use of this source code is governed by a 17379 // for details. All rights reserved. Use of this source code is governed by a
17729 // BSD-style license that can be found in the LICENSE file. 17380 // BSD-style license that can be found in the LICENSE file.
17730 17381
17731 17382
17732 /// @domName TouchList; @docsEditable true 17383 /// @domName TouchList; @docsEditable true
17733 class TouchList implements JavaScriptIndexingBehavior, List<Touch> native "*Touc hList" { 17384 class TouchList implements JavaScriptIndexingBehavior, List<Touch> native "*Touc hList" {
17734 17385
17735 /// @domName TouchList.length; @docsEditable true 17386 /// @domName TouchList.length; @docsEditable true
17736 final int length; 17387 final int length;
17737 17388
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
17815 throw new UnsupportedError("Cannot insertRange on immutable List."); 17466 throw new UnsupportedError("Cannot insertRange on immutable List.");
17816 } 17467 }
17817 17468
17818 List<Touch> getRange(int start, int rangeLength) => 17469 List<Touch> getRange(int start, int rangeLength) =>
17819 _Lists.getRange(this, start, rangeLength, <Touch>[]); 17470 _Lists.getRange(this, start, rangeLength, <Touch>[]);
17820 17471
17821 // -- end List<Touch> mixins. 17472 // -- end List<Touch> mixins.
17822 17473
17823 /// @domName TouchList.item; @docsEditable true 17474 /// @domName TouchList.item; @docsEditable true
17824 Touch item(int index) native; 17475 Touch item(int index) native;
17825 } 17476 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17826 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17827 // for details. All rights reserved. Use of this source code is governed by a 17477 // for details. All rights reserved. Use of this source code is governed by a
17828 // BSD-style license that can be found in the LICENSE file. 17478 // BSD-style license that can be found in the LICENSE file.
17829 17479
17830 17480
17831 /// @domName HTMLTrackElement; @docsEditable true 17481 /// @domName HTMLTrackElement; @docsEditable true
17832 class TrackElement extends Element implements Element native "*HTMLTrackElement" { 17482 class TrackElement extends Element implements Element native "*HTMLTrackElement" {
17833 17483
17834 factory TrackElement() => document.$dom_createElement("track"); 17484 factory TrackElement() => document.$dom_createElement("track");
17835 17485
17836 static const int ERROR = 3; 17486 static const int ERROR = 3;
(...skipping 22 matching lines...) Expand all
17859 final int readyState; 17509 final int readyState;
17860 17510
17861 /// @domName HTMLTrackElement.src; @docsEditable true 17511 /// @domName HTMLTrackElement.src; @docsEditable true
17862 String src; 17512 String src;
17863 17513
17864 /// @domName HTMLTrackElement.srclang; @docsEditable true 17514 /// @domName HTMLTrackElement.srclang; @docsEditable true
17865 String srclang; 17515 String srclang;
17866 17516
17867 /// @domName HTMLTrackElement.track; @docsEditable true 17517 /// @domName HTMLTrackElement.track; @docsEditable true
17868 final TextTrack track; 17518 final TextTrack track;
17869 } 17519 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17870 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17871 // for details. All rights reserved. Use of this source code is governed by a 17520 // for details. All rights reserved. Use of this source code is governed by a
17872 // BSD-style license that can be found in the LICENSE file. 17521 // BSD-style license that can be found in the LICENSE file.
17873 17522
17874 17523
17875 /// @domName TrackEvent; @docsEditable true 17524 /// @domName TrackEvent; @docsEditable true
17876 class TrackEvent extends Event native "*TrackEvent" { 17525 class TrackEvent extends Event native "*TrackEvent" {
17877 17526
17878 /// @domName TrackEvent.track; @docsEditable true 17527 /// @domName TrackEvent.track; @docsEditable true
17879 final Object track; 17528 final Object track;
17880 } 17529 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17881 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17882 // for details. All rights reserved. Use of this source code is governed by a 17530 // for details. All rights reserved. Use of this source code is governed by a
17883 // BSD-style license that can be found in the LICENSE file. 17531 // BSD-style license that can be found in the LICENSE file.
17884 17532
17885 17533
17886 /// @domName WebKitTransitionEvent; @docsEditable true 17534 /// @domName WebKitTransitionEvent; @docsEditable true
17887 class TransitionEvent extends Event native "*WebKitTransitionEvent" { 17535 class TransitionEvent extends Event native "*WebKitTransitionEvent" {
17888 17536
17889 /// @domName WebKitTransitionEvent.elapsedTime; @docsEditable true 17537 /// @domName WebKitTransitionEvent.elapsedTime; @docsEditable true
17890 final num elapsedTime; 17538 final num elapsedTime;
17891 17539
17892 /// @domName WebKitTransitionEvent.propertyName; @docsEditable true 17540 /// @domName WebKitTransitionEvent.propertyName; @docsEditable true
17893 final String propertyName; 17541 final String propertyName;
17894 } 17542 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17895 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17896 // for details. All rights reserved. Use of this source code is governed by a 17543 // for details. All rights reserved. Use of this source code is governed by a
17897 // BSD-style license that can be found in the LICENSE file. 17544 // BSD-style license that can be found in the LICENSE file.
17898 17545
17899 17546
17900 /// @domName TreeWalker; @docsEditable true 17547 /// @domName TreeWalker; @docsEditable true
17901 class TreeWalker native "*TreeWalker" { 17548 class TreeWalker native "*TreeWalker" {
17902 17549
17903 /// @domName TreeWalker.currentNode; @docsEditable true 17550 /// @domName TreeWalker.currentNode; @docsEditable true
17904 Node currentNode; 17551 Node currentNode;
17905 17552
(...skipping 22 matching lines...) Expand all
17928 Node nextSibling() native; 17575 Node nextSibling() native;
17929 17576
17930 /// @domName TreeWalker.parentNode; @docsEditable true 17577 /// @domName TreeWalker.parentNode; @docsEditable true
17931 Node parentNode() native; 17578 Node parentNode() native;
17932 17579
17933 /// @domName TreeWalker.previousNode; @docsEditable true 17580 /// @domName TreeWalker.previousNode; @docsEditable true
17934 Node previousNode() native; 17581 Node previousNode() native;
17935 17582
17936 /// @domName TreeWalker.previousSibling; @docsEditable true 17583 /// @domName TreeWalker.previousSibling; @docsEditable true
17937 Node previousSibling() native; 17584 Node previousSibling() native;
17938 } 17585 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17939 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17940 // for details. All rights reserved. Use of this source code is governed by a 17586 // for details. All rights reserved. Use of this source code is governed by a
17941 // BSD-style license that can be found in the LICENSE file. 17587 // BSD-style license that can be found in the LICENSE file.
17942 17588
17943 17589
17944 /// @domName UIEvent; @docsEditable true 17590 /// @domName UIEvent; @docsEditable true
17945 class UIEvent extends Event native "*UIEvent" { 17591 class UIEvent extends Event native "*UIEvent" {
17946 17592
17947 /// @domName UIEvent.charCode; @docsEditable true 17593 /// @domName UIEvent.charCode; @docsEditable true
17948 final int charCode; 17594 final int charCode;
17949 17595
(...skipping 17 matching lines...) Expand all
17967 17613
17968 /// @domName UIEvent.view; @docsEditable true 17614 /// @domName UIEvent.view; @docsEditable true
17969 Window get view => _convertNativeToDart_Window(this._view); 17615 Window get view => _convertNativeToDart_Window(this._view);
17970 dynamic get _view => JS("dynamic", "#.view", this); 17616 dynamic get _view => JS("dynamic", "#.view", this);
17971 17617
17972 /// @domName UIEvent.which; @docsEditable true 17618 /// @domName UIEvent.which; @docsEditable true
17973 final int which; 17619 final int which;
17974 17620
17975 /// @domName UIEvent.initUIEvent; @docsEditable true 17621 /// @domName UIEvent.initUIEvent; @docsEditable true
17976 void initUIEvent(String type, bool canBubble, bool cancelable, LocalWindow vie w, int detail) native; 17622 void initUIEvent(String type, bool canBubble, bool cancelable, LocalWindow vie w, int detail) native;
17977 } 17623 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17978 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17979 // for details. All rights reserved. Use of this source code is governed by a 17624 // for details. All rights reserved. Use of this source code is governed by a
17980 // BSD-style license that can be found in the LICENSE file. 17625 // BSD-style license that can be found in the LICENSE file.
17981 17626
17982 17627
17983 /// @domName HTMLUListElement; @docsEditable true 17628 /// @domName HTMLUListElement; @docsEditable true
17984 class UListElement extends Element implements Element native "*HTMLUListElement" { 17629 class UListElement extends Element implements Element native "*HTMLUListElement" {
17985 17630
17986 factory UListElement() => document.$dom_createElement("ul"); 17631 factory UListElement() => document.$dom_createElement("ul");
17987 17632
17988 /// @domName HTMLUListElement.compact; @docsEditable true 17633 /// @domName HTMLUListElement.compact; @docsEditable true
17989 bool compact; 17634 bool compact;
17990 17635
17991 /// @domName HTMLUListElement.type; @docsEditable true 17636 /// @domName HTMLUListElement.type; @docsEditable true
17992 String type; 17637 String type;
17993 } 17638 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17994 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17995 // for details. All rights reserved. Use of this source code is governed by a 17639 // for details. All rights reserved. Use of this source code is governed by a
17996 // BSD-style license that can be found in the LICENSE file. 17640 // BSD-style license that can be found in the LICENSE file.
17997 17641
17998 17642
17999 /// @domName Uint16Array; @docsEditable true 17643 /// @domName Uint16Array; @docsEditable true
18000 class Uint16Array extends ArrayBufferView implements JavaScriptIndexingBehavior, List<int> native "*Uint16Array" { 17644 class Uint16Array extends ArrayBufferView implements JavaScriptIndexingBehavior, List<int> native "*Uint16Array" {
18001 17645
18002 factory Uint16Array(int length) => 17646 factory Uint16Array(int length) =>
18003 _TypedArrayFactoryProvider.createUint16Array(length); 17647 _TypedArrayFactoryProvider.createUint16Array(length);
18004 17648
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
18093 List<int> getRange(int start, int rangeLength) => 17737 List<int> getRange(int start, int rangeLength) =>
18094 _Lists.getRange(this, start, rangeLength, <int>[]); 17738 _Lists.getRange(this, start, rangeLength, <int>[]);
18095 17739
18096 // -- end List<int> mixins. 17740 // -- end List<int> mixins.
18097 17741
18098 /// @domName Uint16Array.setElements; @docsEditable true 17742 /// @domName Uint16Array.setElements; @docsEditable true
18099 void setElements(Object array, [int offset]) native "set"; 17743 void setElements(Object array, [int offset]) native "set";
18100 17744
18101 /// @domName Uint16Array.subarray; @docsEditable true 17745 /// @domName Uint16Array.subarray; @docsEditable true
18102 Uint16Array subarray(int start, [int end]) native; 17746 Uint16Array subarray(int start, [int end]) native;
18103 } 17747 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
18104 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
18105 // for details. All rights reserved. Use of this source code is governed by a 17748 // for details. All rights reserved. Use of this source code is governed by a
18106 // BSD-style license that can be found in the LICENSE file. 17749 // BSD-style license that can be found in the LICENSE file.
18107 17750
18108 17751
18109 /// @domName Uint32Array; @docsEditable true 17752 /// @domName Uint32Array; @docsEditable true
18110 class Uint32Array extends ArrayBufferView implements JavaScriptIndexingBehavior, List<int> native "*Uint32Array" { 17753 class Uint32Array extends ArrayBufferView implements JavaScriptIndexingBehavior, List<int> native "*Uint32Array" {
18111 17754
18112 factory Uint32Array(int length) => 17755 factory Uint32Array(int length) =>
18113 _TypedArrayFactoryProvider.createUint32Array(length); 17756 _TypedArrayFactoryProvider.createUint32Array(length);
18114 17757
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
18203 List<int> getRange(int start, int rangeLength) => 17846 List<int> getRange(int start, int rangeLength) =>
18204 _Lists.getRange(this, start, rangeLength, <int>[]); 17847 _Lists.getRange(this, start, rangeLength, <int>[]);
18205 17848
18206 // -- end List<int> mixins. 17849 // -- end List<int> mixins.
18207 17850
18208 /// @domName Uint32Array.setElements; @docsEditable true 17851 /// @domName Uint32Array.setElements; @docsEditable true
18209 void setElements(Object array, [int offset]) native "set"; 17852 void setElements(Object array, [int offset]) native "set";
18210 17853
18211 /// @domName Uint32Array.subarray; @docsEditable true 17854 /// @domName Uint32Array.subarray; @docsEditable true
18212 Uint32Array subarray(int start, [int end]) native; 17855 Uint32Array subarray(int start, [int end]) native;
18213 } 17856 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
18214 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
18215 // for details. All rights reserved. Use of this source code is governed by a 17857 // for details. All rights reserved. Use of this source code is governed by a
18216 // BSD-style license that can be found in the LICENSE file. 17858 // BSD-style license that can be found in the LICENSE file.
18217 17859
18218 17860
18219 /// @domName Uint8Array; @docsEditable true 17861 /// @domName Uint8Array; @docsEditable true
18220 class Uint8Array extends ArrayBufferView implements JavaScriptIndexingBehavior, List<int> native "*Uint8Array" { 17862 class Uint8Array extends ArrayBufferView implements JavaScriptIndexingBehavior, List<int> native "*Uint8Array" {
18221 17863
18222 factory Uint8Array(int length) => 17864 factory Uint8Array(int length) =>
18223 _TypedArrayFactoryProvider.createUint8Array(length); 17865 _TypedArrayFactoryProvider.createUint8Array(length);
18224 17866
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
18313 List<int> getRange(int start, int rangeLength) => 17955 List<int> getRange(int start, int rangeLength) =>
18314 _Lists.getRange(this, start, rangeLength, <int>[]); 17956 _Lists.getRange(this, start, rangeLength, <int>[]);
18315 17957
18316 // -- end List<int> mixins. 17958 // -- end List<int> mixins.
18317 17959
18318 /// @domName Uint8Array.setElements; @docsEditable true 17960 /// @domName Uint8Array.setElements; @docsEditable true
18319 void setElements(Object array, [int offset]) native "set"; 17961 void setElements(Object array, [int offset]) native "set";
18320 17962
18321 /// @domName Uint8Array.subarray; @docsEditable true 17963 /// @domName Uint8Array.subarray; @docsEditable true
18322 Uint8Array subarray(int start, [int end]) native; 17964 Uint8Array subarray(int start, [int end]) native;
18323 } 17965 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
18324 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
18325 // for details. All rights reserved. Use of this source code is governed by a 17966 // for details. All rights reserved. Use of this source code is governed by a
18326 // BSD-style license that can be found in the LICENSE file. 17967 // BSD-style license that can be found in the LICENSE file.
18327 17968
18328 17969
18329 /// @domName Uint8ClampedArray; @docsEditable true 17970 /// @domName Uint8ClampedArray; @docsEditable true
18330 class Uint8ClampedArray extends Uint8Array native "*Uint8ClampedArray" { 17971 class Uint8ClampedArray extends Uint8Array native "*Uint8ClampedArray" {
18331 17972
18332 factory Uint8ClampedArray(int length) => 17973 factory Uint8ClampedArray(int length) =>
18333 _TypedArrayFactoryProvider.createUint8ClampedArray(length); 17974 _TypedArrayFactoryProvider.createUint8ClampedArray(length);
18334 17975
18335 factory Uint8ClampedArray.fromList(List<int> list) => 17976 factory Uint8ClampedArray.fromList(List<int> list) =>
18336 _TypedArrayFactoryProvider.createUint8ClampedArray_fromList(list); 17977 _TypedArrayFactoryProvider.createUint8ClampedArray_fromList(list);
18337 17978
18338 factory Uint8ClampedArray.fromBuffer(ArrayBuffer buffer, [int byteOffset, int length]) => 17979 factory Uint8ClampedArray.fromBuffer(ArrayBuffer buffer, [int byteOffset, int length]) =>
18339 _TypedArrayFactoryProvider.createUint8ClampedArray_fromBuffer(buffer, byteOf fset, length); 17980 _TypedArrayFactoryProvider.createUint8ClampedArray_fromBuffer(buffer, byteOf fset, length);
18340 17981
18341 // Use implementation from Uint8Array. 17982 // Use implementation from Uint8Array.
18342 // final int length; 17983 // final int length;
18343 17984
18344 /// @domName Uint8ClampedArray.setElements; @docsEditable true 17985 /// @domName Uint8ClampedArray.setElements; @docsEditable true
18345 void setElements(Object array, [int offset]) native "set"; 17986 void setElements(Object array, [int offset]) native "set";
18346 17987
18347 /// @domName Uint8ClampedArray.subarray; @docsEditable true 17988 /// @domName Uint8ClampedArray.subarray; @docsEditable true
18348 Uint8ClampedArray subarray(int start, [int end]) native; 17989 Uint8ClampedArray subarray(int start, [int end]) native;
18349 } 17990 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
18350 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
18351 // for details. All rights reserved. Use of this source code is governed by a 17991 // for details. All rights reserved. Use of this source code is governed by a
18352 // BSD-style license that can be found in the LICENSE file. 17992 // BSD-style license that can be found in the LICENSE file.
18353 17993
18354 17994
18355 /// @domName HTMLUnknownElement; @docsEditable true 17995 /// @domName HTMLUnknownElement; @docsEditable true
18356 class UnknownElement extends Element implements Element native "*HTMLUnknownElem ent" { 17996 class UnknownElement extends Element implements Element native "*HTMLUnknownElem ent" {
18357 } 17997 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
18358 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
18359 // for details. All rights reserved. Use of this source code is governed by a 17998 // for details. All rights reserved. Use of this source code is governed by a
18360 // BSD-style license that can be found in the LICENSE file. 17999 // BSD-style license that can be found in the LICENSE file.
18361 18000
18362 18001
18363 class Url native "*URL" { 18002 class Url native "*URL" {
18364 18003
18365 static String createObjectUrl(blob_OR_source_OR_stream) => 18004 static String createObjectUrl(blob_OR_source_OR_stream) =>
18366 JS('String', 18005 JS('String',
18367 '(window.URL || window.webkitURL).createObjectURL(#)', 18006 '(window.URL || window.webkitURL).createObjectURL(#)',
18368 blob_OR_source_OR_stream); 18007 blob_OR_source_OR_stream);
18369 18008
18370 static void revokeObjectUrl(String objectUrl) => 18009 static void revokeObjectUrl(String objectUrl) =>
18371 JS('void', 18010 JS('void',
18372 '(window.URL || window.webkitURL).revokeObjectURL(#)', objectUrl); 18011 '(window.URL || window.webkitURL).revokeObjectURL(#)', objectUrl);
18373 18012
18374 } 18013 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
18375 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
18376 // for details. All rights reserved. Use of this source code is governed by a 18014 // for details. All rights reserved. Use of this source code is governed by a
18377 // BSD-style license that can be found in the LICENSE file. 18015 // BSD-style license that can be found in the LICENSE file.
18378 18016
18379 18017
18380 /// @domName ValidityState; @docsEditable true 18018 /// @domName ValidityState; @docsEditable true
18381 class ValidityState native "*ValidityState" { 18019 class ValidityState native "*ValidityState" {
18382 18020
18383 /// @domName ValidityState.customError; @docsEditable true 18021 /// @domName ValidityState.customError; @docsEditable true
18384 final bool customError; 18022 final bool customError;
18385 18023
(...skipping 13 matching lines...) Expand all
18399 final bool tooLong; 18037 final bool tooLong;
18400 18038
18401 /// @domName ValidityState.typeMismatch; @docsEditable true 18039 /// @domName ValidityState.typeMismatch; @docsEditable true
18402 final bool typeMismatch; 18040 final bool typeMismatch;
18403 18041
18404 /// @domName ValidityState.valid; @docsEditable true 18042 /// @domName ValidityState.valid; @docsEditable true
18405 final bool valid; 18043 final bool valid;
18406 18044
18407 /// @domName ValidityState.valueMissing; @docsEditable true 18045 /// @domName ValidityState.valueMissing; @docsEditable true
18408 final bool valueMissing; 18046 final bool valueMissing;
18409 } 18047 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
18410 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
18411 // for details. All rights reserved. Use of this source code is governed by a 18048 // for details. All rights reserved. Use of this source code is governed by a
18412 // BSD-style license that can be found in the LICENSE file. 18049 // BSD-style license that can be found in the LICENSE file.
18413 18050
18414 18051
18415 /// @domName HTMLVideoElement; @docsEditable true 18052 /// @domName HTMLVideoElement; @docsEditable true
18416 class VideoElement extends MediaElement native "*HTMLVideoElement" { 18053 class VideoElement extends MediaElement native "*HTMLVideoElement" {
18417 18054
18418 factory VideoElement() => document.$dom_createElement("video"); 18055 factory VideoElement() => document.$dom_createElement("video");
18419 18056
18420 /// @domName HTMLVideoElement.height; @docsEditable true 18057 /// @domName HTMLVideoElement.height; @docsEditable true
(...skipping 27 matching lines...) Expand all
18448 void webkitEnterFullScreen() native; 18085 void webkitEnterFullScreen() native;
18449 18086
18450 /// @domName HTMLVideoElement.webkitEnterFullscreen; @docsEditable true 18087 /// @domName HTMLVideoElement.webkitEnterFullscreen; @docsEditable true
18451 void webkitEnterFullscreen() native; 18088 void webkitEnterFullscreen() native;
18452 18089
18453 /// @domName HTMLVideoElement.webkitExitFullScreen; @docsEditable true 18090 /// @domName HTMLVideoElement.webkitExitFullScreen; @docsEditable true
18454 void webkitExitFullScreen() native; 18091 void webkitExitFullScreen() native;
18455 18092
18456 /// @domName HTMLVideoElement.webkitExitFullscreen; @docsEditable true 18093 /// @domName HTMLVideoElement.webkitExitFullscreen; @docsEditable true
18457 void webkitExitFullscreen() native; 18094 void webkitExitFullscreen() native;
18458 } 18095 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
18459 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
18460 // for details. All rights reserved. Use of this source code is governed by a 18096 // for details. All rights reserved. Use of this source code is governed by a
18461 // BSD-style license that can be found in the LICENSE file. 18097 // BSD-style license that can be found in the LICENSE file.
18462 18098
18463 // WARNING: Do not edit - generated code. 18099 // WARNING: Do not edit - generated code.
18464 18100
18465 18101
18466 typedef void VoidCallback(); 18102 typedef void VoidCallback();// Copyright (c) 2012, the Dart project authors. Pl ease see the AUTHORS file
18467 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
18468 // for details. All rights reserved. Use of this source code is governed by a 18103 // for details. All rights reserved. Use of this source code is governed by a
18469 // BSD-style license that can be found in the LICENSE file. 18104 // BSD-style license that can be found in the LICENSE file.
18470 18105
18471 18106
18472 /// @domName WaveShaperNode; @docsEditable true 18107 /// @domName WaveShaperNode; @docsEditable true
18473 class WaveShaperNode extends AudioNode native "*WaveShaperNode" { 18108 class WaveShaperNode extends AudioNode native "*WaveShaperNode" {
18474 18109
18475 /// @domName WaveShaperNode.curve; @docsEditable true 18110 /// @domName WaveShaperNode.curve; @docsEditable true
18476 Float32Array curve; 18111 Float32Array curve;
18477 } 18112 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
18478 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
18479 // for details. All rights reserved. Use of this source code is governed by a 18113 // for details. All rights reserved. Use of this source code is governed by a
18480 // BSD-style license that can be found in the LICENSE file. 18114 // BSD-style license that can be found in the LICENSE file.
18481 18115
18482 18116
18483 /// @domName WaveTable; @docsEditable true 18117 /// @domName WaveTable; @docsEditable true
18484 class WaveTable native "*WaveTable" { 18118 class WaveTable native "*WaveTable" {
18485 } 18119 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
18486 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
18487 // for details. All rights reserved. Use of this source code is governed by a 18120 // for details. All rights reserved. Use of this source code is governed by a
18488 // BSD-style license that can be found in the LICENSE file. 18121 // BSD-style license that can be found in the LICENSE file.
18489 18122
18490 18123
18491 /// @domName WebGLActiveInfo; @docsEditable true 18124 /// @domName WebGLActiveInfo; @docsEditable true
18492 class WebGLActiveInfo native "*WebGLActiveInfo" { 18125 class WebGLActiveInfo native "*WebGLActiveInfo" {
18493 18126
18494 /// @domName WebGLActiveInfo.name; @docsEditable true 18127 /// @domName WebGLActiveInfo.name; @docsEditable true
18495 final String name; 18128 final String name;
18496 18129
18497 /// @domName WebGLActiveInfo.size; @docsEditable true 18130 /// @domName WebGLActiveInfo.size; @docsEditable true
18498 final int size; 18131 final int size;
18499 18132
18500 /// @domName WebGLActiveInfo.type; @docsEditable true 18133 /// @domName WebGLActiveInfo.type; @docsEditable true
18501 final int type; 18134 final int type;
18502 } 18135 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
18503 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
18504 // for details. All rights reserved. Use of this source code is governed by a 18136 // for details. All rights reserved. Use of this source code is governed by a
18505 // BSD-style license that can be found in the LICENSE file. 18137 // BSD-style license that can be found in the LICENSE file.
18506 18138
18507 18139
18508 /// @domName WebGLBuffer; @docsEditable true 18140 /// @domName WebGLBuffer; @docsEditable true
18509 class WebGLBuffer native "*WebGLBuffer" { 18141 class WebGLBuffer native "*WebGLBuffer" {
18510 } 18142 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
18511 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
18512 // for details. All rights reserved. Use of this source code is governed by a 18143 // for details. All rights reserved. Use of this source code is governed by a
18513 // BSD-style license that can be found in the LICENSE file. 18144 // BSD-style license that can be found in the LICENSE file.
18514 18145
18515 18146
18516 /// @domName WebGLCompressedTextureS3TC; @docsEditable true 18147 /// @domName WebGLCompressedTextureS3TC; @docsEditable true
18517 class WebGLCompressedTextureS3TC native "*WebGLCompressedTextureS3TC" { 18148 class WebGLCompressedTextureS3TC native "*WebGLCompressedTextureS3TC" {
18518 18149
18519 static const int COMPRESSED_RGBA_S3TC_DXT1_EXT = 0x83F1; 18150 static const int COMPRESSED_RGBA_S3TC_DXT1_EXT = 0x83F1;
18520 18151
18521 static const int COMPRESSED_RGBA_S3TC_DXT3_EXT = 0x83F2; 18152 static const int COMPRESSED_RGBA_S3TC_DXT3_EXT = 0x83F2;
18522 18153
18523 static const int COMPRESSED_RGBA_S3TC_DXT5_EXT = 0x83F3; 18154 static const int COMPRESSED_RGBA_S3TC_DXT5_EXT = 0x83F3;
18524 18155
18525 static const int COMPRESSED_RGB_S3TC_DXT1_EXT = 0x83F0; 18156 static const int COMPRESSED_RGB_S3TC_DXT1_EXT = 0x83F0;
18526 } 18157 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
18527 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
18528 // for details. All rights reserved. Use of this source code is governed by a 18158 // for details. All rights reserved. Use of this source code is governed by a
18529 // BSD-style license that can be found in the LICENSE file. 18159 // BSD-style license that can be found in the LICENSE file.
18530 18160
18531 18161
18532 /// @domName WebGLContextAttributes; @docsEditable true 18162 /// @domName WebGLContextAttributes; @docsEditable true
18533 class WebGLContextAttributes native "*WebGLContextAttributes" { 18163 class WebGLContextAttributes native "*WebGLContextAttributes" {
18534 18164
18535 /// @domName WebGLContextAttributes.alpha; @docsEditable true 18165 /// @domName WebGLContextAttributes.alpha; @docsEditable true
18536 bool alpha; 18166 bool alpha;
18537 18167
18538 /// @domName WebGLContextAttributes.antialias; @docsEditable true 18168 /// @domName WebGLContextAttributes.antialias; @docsEditable true
18539 bool antialias; 18169 bool antialias;
18540 18170
18541 /// @domName WebGLContextAttributes.depth; @docsEditable true 18171 /// @domName WebGLContextAttributes.depth; @docsEditable true
18542 bool depth; 18172 bool depth;
18543 18173
18544 /// @domName WebGLContextAttributes.premultipliedAlpha; @docsEditable true 18174 /// @domName WebGLContextAttributes.premultipliedAlpha; @docsEditable true
18545 bool premultipliedAlpha; 18175 bool premultipliedAlpha;
18546 18176
18547 /// @domName WebGLContextAttributes.preserveDrawingBuffer; @docsEditable true 18177 /// @domName WebGLContextAttributes.preserveDrawingBuffer; @docsEditable true
18548 bool preserveDrawingBuffer; 18178 bool preserveDrawingBuffer;
18549 18179
18550 /// @domName WebGLContextAttributes.stencil; @docsEditable true 18180 /// @domName WebGLContextAttributes.stencil; @docsEditable true
18551 bool stencil; 18181 bool stencil;
18552 } 18182 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
18553 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
18554 // for details. All rights reserved. Use of this source code is governed by a 18183 // for details. All rights reserved. Use of this source code is governed by a
18555 // BSD-style license that can be found in the LICENSE file. 18184 // BSD-style license that can be found in the LICENSE file.
18556 18185
18557 18186
18558 /// @domName WebGLContextEvent; @docsEditable true 18187 /// @domName WebGLContextEvent; @docsEditable true
18559 class WebGLContextEvent extends Event native "*WebGLContextEvent" { 18188 class WebGLContextEvent extends Event native "*WebGLContextEvent" {
18560 18189
18561 /// @domName WebGLContextEvent.statusMessage; @docsEditable true 18190 /// @domName WebGLContextEvent.statusMessage; @docsEditable true
18562 final String statusMessage; 18191 final String statusMessage;
18563 } 18192 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
18564 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
18565 // for details. All rights reserved. Use of this source code is governed by a 18193 // for details. All rights reserved. Use of this source code is governed by a
18566 // BSD-style license that can be found in the LICENSE file. 18194 // BSD-style license that can be found in the LICENSE file.
18567 18195
18568 18196
18569 /// @domName WebGLDebugRendererInfo; @docsEditable true 18197 /// @domName WebGLDebugRendererInfo; @docsEditable true
18570 class WebGLDebugRendererInfo native "*WebGLDebugRendererInfo" { 18198 class WebGLDebugRendererInfo native "*WebGLDebugRendererInfo" {
18571 18199
18572 static const int UNMASKED_RENDERER_WEBGL = 0x9246; 18200 static const int UNMASKED_RENDERER_WEBGL = 0x9246;
18573 18201
18574 static const int UNMASKED_VENDOR_WEBGL = 0x9245; 18202 static const int UNMASKED_VENDOR_WEBGL = 0x9245;
18575 } 18203 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
18576 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
18577 // for details. All rights reserved. Use of this source code is governed by a 18204 // for details. All rights reserved. Use of this source code is governed by a
18578 // BSD-style license that can be found in the LICENSE file. 18205 // BSD-style license that can be found in the LICENSE file.
18579 18206
18580 18207
18581 /// @domName WebGLDebugShaders; @docsEditable true 18208 /// @domName WebGLDebugShaders; @docsEditable true
18582 class WebGLDebugShaders native "*WebGLDebugShaders" { 18209 class WebGLDebugShaders native "*WebGLDebugShaders" {
18583 18210
18584 /// @domName WebGLDebugShaders.getTranslatedShaderSource; @docsEditable true 18211 /// @domName WebGLDebugShaders.getTranslatedShaderSource; @docsEditable true
18585 String getTranslatedShaderSource(WebGLShader shader) native; 18212 String getTranslatedShaderSource(WebGLShader shader) native;
18586 } 18213 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
18587 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
18588 // for details. All rights reserved. Use of this source code is governed by a 18214 // for details. All rights reserved. Use of this source code is governed by a
18589 // BSD-style license that can be found in the LICENSE file. 18215 // BSD-style license that can be found in the LICENSE file.
18590 18216
18591 18217
18592 /// @domName WebGLDepthTexture; @docsEditable true 18218 /// @domName WebGLDepthTexture; @docsEditable true
18593 class WebGLDepthTexture native "*WebGLDepthTexture" { 18219 class WebGLDepthTexture native "*WebGLDepthTexture" {
18594 18220
18595 static const int UNSIGNED_INT_24_8_WEBGL = 0x84FA; 18221 static const int UNSIGNED_INT_24_8_WEBGL = 0x84FA;
18596 } 18222 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
18597 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
18598 // for details. All rights reserved. Use of this source code is governed by a 18223 // for details. All rights reserved. Use of this source code is governed by a
18599 // BSD-style license that can be found in the LICENSE file. 18224 // BSD-style license that can be found in the LICENSE file.
18600 18225
18601 18226
18602 /// @domName WebGLFramebuffer; @docsEditable true 18227 /// @domName WebGLFramebuffer; @docsEditable true
18603 class WebGLFramebuffer native "*WebGLFramebuffer" { 18228 class WebGLFramebuffer native "*WebGLFramebuffer" {
18604 } 18229 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
18605 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
18606 // for details. All rights reserved. Use of this source code is governed by a 18230 // for details. All rights reserved. Use of this source code is governed by a
18607 // BSD-style license that can be found in the LICENSE file. 18231 // BSD-style license that can be found in the LICENSE file.
18608 18232
18609 18233
18610 /// @domName WebGLLoseContext; @docsEditable true 18234 /// @domName WebGLLoseContext; @docsEditable true
18611 class WebGLLoseContext native "*WebGLLoseContext" { 18235 class WebGLLoseContext native "*WebGLLoseContext" {
18612 18236
18613 /// @domName WebGLLoseContext.loseContext; @docsEditable true 18237 /// @domName WebGLLoseContext.loseContext; @docsEditable true
18614 void loseContext() native; 18238 void loseContext() native;
18615 18239
18616 /// @domName WebGLLoseContext.restoreContext; @docsEditable true 18240 /// @domName WebGLLoseContext.restoreContext; @docsEditable true
18617 void restoreContext() native; 18241 void restoreContext() native;
18618 } 18242 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
18619 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
18620 // for details. All rights reserved. Use of this source code is governed by a 18243 // for details. All rights reserved. Use of this source code is governed by a
18621 // BSD-style license that can be found in the LICENSE file. 18244 // BSD-style license that can be found in the LICENSE file.
18622 18245
18623 18246
18624 /// @domName WebGLProgram; @docsEditable true 18247 /// @domName WebGLProgram; @docsEditable true
18625 class WebGLProgram native "*WebGLProgram" { 18248 class WebGLProgram native "*WebGLProgram" {
18626 } 18249 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
18627 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
18628 // for details. All rights reserved. Use of this source code is governed by a 18250 // for details. All rights reserved. Use of this source code is governed by a
18629 // BSD-style license that can be found in the LICENSE file. 18251 // BSD-style license that can be found in the LICENSE file.
18630 18252
18631 18253
18632 /// @domName WebGLRenderbuffer; @docsEditable true 18254 /// @domName WebGLRenderbuffer; @docsEditable true
18633 class WebGLRenderbuffer native "*WebGLRenderbuffer" { 18255 class WebGLRenderbuffer native "*WebGLRenderbuffer" {
18634 } 18256 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
18635 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
18636 // for details. All rights reserved. Use of this source code is governed by a 18257 // for details. All rights reserved. Use of this source code is governed by a
18637 // BSD-style license that can be found in the LICENSE file. 18258 // BSD-style license that can be found in the LICENSE file.
18638 18259
18639 18260
18640 /// @domName WebGLRenderingContext; @docsEditable true 18261 /// @domName WebGLRenderingContext; @docsEditable true
18641 class WebGLRenderingContext extends CanvasRenderingContext native "*WebGLRenderi ngContext" { 18262 class WebGLRenderingContext extends CanvasRenderingContext native "*WebGLRenderi ngContext" {
18642 18263
18643 static const int ACTIVE_ATTRIBUTES = 0x8B89; 18264 static const int ACTIVE_ATTRIBUTES = 0x8B89;
18644 18265
18645 static const int ACTIVE_TEXTURE = 0x84E0; 18266 static const int ACTIVE_TEXTURE = 0x84E0;
(...skipping 1069 matching lines...) Expand 10 before | Expand all | Expand 10 after
19715 void vertexAttrib4f(int indx, num x, num y, num z, num w) native; 19336 void vertexAttrib4f(int indx, num x, num y, num z, num w) native;
19716 19337
19717 /// @domName WebGLRenderingContext.vertexAttrib4fv; @docsEditable true 19338 /// @domName WebGLRenderingContext.vertexAttrib4fv; @docsEditable true
19718 void vertexAttrib4fv(int indx, Float32Array values) native; 19339 void vertexAttrib4fv(int indx, Float32Array values) native;
19719 19340
19720 /// @domName WebGLRenderingContext.vertexAttribPointer; @docsEditable true 19341 /// @domName WebGLRenderingContext.vertexAttribPointer; @docsEditable true
19721 void vertexAttribPointer(int indx, int size, int type, bool normalized, int st ride, int offset) native; 19342 void vertexAttribPointer(int indx, int size, int type, bool normalized, int st ride, int offset) native;
19722 19343
19723 /// @domName WebGLRenderingContext.viewport; @docsEditable true 19344 /// @domName WebGLRenderingContext.viewport; @docsEditable true
19724 void viewport(int x, int y, int width, int height) native; 19345 void viewport(int x, int y, int width, int height) native;
19725 } 19346 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
19726 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
19727 // for details. All rights reserved. Use of this source code is governed by a 19347 // for details. All rights reserved. Use of this source code is governed by a
19728 // BSD-style license that can be found in the LICENSE file. 19348 // BSD-style license that can be found in the LICENSE file.
19729 19349
19730 19350
19731 /// @domName WebGLShader; @docsEditable true 19351 /// @domName WebGLShader; @docsEditable true
19732 class WebGLShader native "*WebGLShader" { 19352 class WebGLShader native "*WebGLShader" {
19733 } 19353 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
19734 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
19735 // for details. All rights reserved. Use of this source code is governed by a 19354 // for details. All rights reserved. Use of this source code is governed by a
19736 // BSD-style license that can be found in the LICENSE file. 19355 // BSD-style license that can be found in the LICENSE file.
19737 19356
19738 19357
19739 /// @domName WebGLShaderPrecisionFormat; @docsEditable true 19358 /// @domName WebGLShaderPrecisionFormat; @docsEditable true
19740 class WebGLShaderPrecisionFormat native "*WebGLShaderPrecisionFormat" { 19359 class WebGLShaderPrecisionFormat native "*WebGLShaderPrecisionFormat" {
19741 19360
19742 /// @domName WebGLShaderPrecisionFormat.precision; @docsEditable true 19361 /// @domName WebGLShaderPrecisionFormat.precision; @docsEditable true
19743 final int precision; 19362 final int precision;
19744 19363
19745 /// @domName WebGLShaderPrecisionFormat.rangeMax; @docsEditable true 19364 /// @domName WebGLShaderPrecisionFormat.rangeMax; @docsEditable true
19746 final int rangeMax; 19365 final int rangeMax;
19747 19366
19748 /// @domName WebGLShaderPrecisionFormat.rangeMin; @docsEditable true 19367 /// @domName WebGLShaderPrecisionFormat.rangeMin; @docsEditable true
19749 final int rangeMin; 19368 final int rangeMin;
19750 } 19369 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
19751 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
19752 // for details. All rights reserved. Use of this source code is governed by a 19370 // for details. All rights reserved. Use of this source code is governed by a
19753 // BSD-style license that can be found in the LICENSE file. 19371 // BSD-style license that can be found in the LICENSE file.
19754 19372
19755 19373
19756 /// @domName WebGLTexture; @docsEditable true 19374 /// @domName WebGLTexture; @docsEditable true
19757 class WebGLTexture native "*WebGLTexture" { 19375 class WebGLTexture native "*WebGLTexture" {
19758 } 19376 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
19759 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
19760 // for details. All rights reserved. Use of this source code is governed by a 19377 // for details. All rights reserved. Use of this source code is governed by a
19761 // BSD-style license that can be found in the LICENSE file. 19378 // BSD-style license that can be found in the LICENSE file.
19762 19379
19763 19380
19764 /// @domName WebGLUniformLocation; @docsEditable true 19381 /// @domName WebGLUniformLocation; @docsEditable true
19765 class WebGLUniformLocation native "*WebGLUniformLocation" { 19382 class WebGLUniformLocation native "*WebGLUniformLocation" {
19766 } 19383 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
19767 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
19768 // for details. All rights reserved. Use of this source code is governed by a 19384 // for details. All rights reserved. Use of this source code is governed by a
19769 // BSD-style license that can be found in the LICENSE file. 19385 // BSD-style license that can be found in the LICENSE file.
19770 19386
19771 19387
19772 /// @domName WebGLVertexArrayObjectOES; @docsEditable true 19388 /// @domName WebGLVertexArrayObjectOES; @docsEditable true
19773 class WebGLVertexArrayObjectOES native "*WebGLVertexArrayObjectOES" { 19389 class WebGLVertexArrayObjectOES native "*WebGLVertexArrayObjectOES" {
19774 } 19390 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
19775 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
19776 // for details. All rights reserved. Use of this source code is governed by a 19391 // for details. All rights reserved. Use of this source code is governed by a
19777 // BSD-style license that can be found in the LICENSE file. 19392 // BSD-style license that can be found in the LICENSE file.
19778 19393
19779 19394
19780 /// @domName WebKitCSSFilterValue; @docsEditable true 19395 /// @domName WebKitCSSFilterValue; @docsEditable true
19781 class WebKitCSSFilterValue extends _CSSValueList native "*WebKitCSSFilterValue" { 19396 class WebKitCSSFilterValue extends _CSSValueList native "*WebKitCSSFilterValue" {
19782 19397
19783 static const int CSS_FILTER_BLUR = 10; 19398 static const int CSS_FILTER_BLUR = 10;
19784 19399
19785 static const int CSS_FILTER_BRIGHTNESS = 8; 19400 static const int CSS_FILTER_BRIGHTNESS = 8;
(...skipping 13 matching lines...) Expand all
19799 static const int CSS_FILTER_OPACITY = 7; 19414 static const int CSS_FILTER_OPACITY = 7;
19800 19415
19801 static const int CSS_FILTER_REFERENCE = 1; 19416 static const int CSS_FILTER_REFERENCE = 1;
19802 19417
19803 static const int CSS_FILTER_SATURATE = 4; 19418 static const int CSS_FILTER_SATURATE = 4;
19804 19419
19805 static const int CSS_FILTER_SEPIA = 3; 19420 static const int CSS_FILTER_SEPIA = 3;
19806 19421
19807 /// @domName WebKitCSSFilterValue.operationType; @docsEditable true 19422 /// @domName WebKitCSSFilterValue.operationType; @docsEditable true
19808 final int operationType; 19423 final int operationType;
19809 } 19424 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
19810 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
19811 // for details. All rights reserved. Use of this source code is governed by a 19425 // for details. All rights reserved. Use of this source code is governed by a
19812 // BSD-style license that can be found in the LICENSE file. 19426 // BSD-style license that can be found in the LICENSE file.
19813 19427
19814 19428
19815 /// @domName WebKitNamedFlow; @docsEditable true 19429 /// @domName WebKitNamedFlow; @docsEditable true
19816 class WebKitNamedFlow extends EventTarget native "*WebKitNamedFlow" { 19430 class WebKitNamedFlow extends EventTarget native "*WebKitNamedFlow" {
19817 19431
19818 /// @domName WebKitNamedFlow.firstEmptyRegionIndex; @docsEditable true 19432 /// @domName WebKitNamedFlow.firstEmptyRegionIndex; @docsEditable true
19819 final int firstEmptyRegionIndex; 19433 final int firstEmptyRegionIndex;
19820 19434
(...skipping 16 matching lines...) Expand all
19837 /// @domName WebKitNamedFlow.getRegions; @docsEditable true 19451 /// @domName WebKitNamedFlow.getRegions; @docsEditable true
19838 @Returns('_NodeList') @Creates('_NodeList') 19452 @Returns('_NodeList') @Creates('_NodeList')
19839 List<Node> getRegions() native; 19453 List<Node> getRegions() native;
19840 19454
19841 /// @domName WebKitNamedFlow.getRegionsByContent; @docsEditable true 19455 /// @domName WebKitNamedFlow.getRegionsByContent; @docsEditable true
19842 @Returns('_NodeList') @Creates('_NodeList') 19456 @Returns('_NodeList') @Creates('_NodeList')
19843 List<Node> getRegionsByContent(Node contentNode) native; 19457 List<Node> getRegionsByContent(Node contentNode) native;
19844 19458
19845 /// @domName WebKitNamedFlow.removeEventListener; @docsEditable true 19459 /// @domName WebKitNamedFlow.removeEventListener; @docsEditable true
19846 void $dom_removeEventListener(String type, EventListener listener, [bool useCa pture]) native "removeEventListener"; 19460 void $dom_removeEventListener(String type, EventListener listener, [bool useCa pture]) native "removeEventListener";
19847 } 19461 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
19848 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
19849 // for details. All rights reserved. Use of this source code is governed by a 19462 // for details. All rights reserved. Use of this source code is governed by a
19850 // BSD-style license that can be found in the LICENSE file. 19463 // BSD-style license that can be found in the LICENSE file.
19851 19464
19852 // WARNING: Do not edit - generated code. 19465 // WARNING: Do not edit - generated code.
19853 19466
19854 19467
19855 class WebSocket extends EventTarget native "*WebSocket" { 19468 class WebSocket extends EventTarget native "*WebSocket" {
19856 factory WebSocket(String url) => _WebSocketFactoryProvider.createWebSocket(url ); 19469 factory WebSocket(String url) => _WebSocketFactoryProvider.createWebSocket(url );
19857 19470
19858 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true 19471 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
19908 class WebSocketEvents extends Events { 19521 class WebSocketEvents extends Events {
19909 WebSocketEvents(EventTarget _ptr) : super(_ptr); 19522 WebSocketEvents(EventTarget _ptr) : super(_ptr);
19910 19523
19911 EventListenerList get close => this['close']; 19524 EventListenerList get close => this['close'];
19912 19525
19913 EventListenerList get error => this['error']; 19526 EventListenerList get error => this['error'];
19914 19527
19915 EventListenerList get message => this['message']; 19528 EventListenerList get message => this['message'];
19916 19529
19917 EventListenerList get open => this['open']; 19530 EventListenerList get open => this['open'];
19918 } 19531 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
19919 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
19920 // for details. All rights reserved. Use of this source code is governed by a 19532 // for details. All rights reserved. Use of this source code is governed by a
19921 // BSD-style license that can be found in the LICENSE file. 19533 // BSD-style license that can be found in the LICENSE file.
19922 19534
19923 19535
19924 class WheelEvent extends MouseEvent native "*WheelEvent" { 19536 class WheelEvent extends MouseEvent native "*WheelEvent" {
19925 19537
19926 /// @domName WheelEvent.webkitDirectionInvertedFromDevice; @docsEditable true 19538 /// @domName WheelEvent.webkitDirectionInvertedFromDevice; @docsEditable true
19927 final bool webkitDirectionInvertedFromDevice; 19539 final bool webkitDirectionInvertedFromDevice;
19928 19540
19929 /// @domName WheelEvent.initWebKitWheelEvent; @docsEditable true 19541 /// @domName WheelEvent.initWebKitWheelEvent; @docsEditable true
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
19995 return this._deltaMode; 19607 return this._deltaMode;
19996 } 19608 }
19997 19609
19998 num get _deltaY => JS('num', '#.deltaY', this); 19610 num get _deltaY => JS('num', '#.deltaY', this);
19999 num get _deltaX => JS('num', '#.deltaX', this); 19611 num get _deltaX => JS('num', '#.deltaX', this);
20000 num get _wheelDelta => JS('num', '#.wheelDelta', this); 19612 num get _wheelDelta => JS('num', '#.wheelDelta', this);
20001 num get _wheelDeltaX => JS('num', '#.wheelDeltaX', this); 19613 num get _wheelDeltaX => JS('num', '#.wheelDeltaX', this);
20002 num get _detail => JS('num', '#.detail', this); 19614 num get _detail => JS('num', '#.detail', this);
20003 int get _deltaMode => JS('int', '#.deltaMode', this); 19615 int get _deltaMode => JS('int', '#.deltaMode', this);
20004 19616
20005 } 19617 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
20006 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
20007 // for details. All rights reserved. Use of this source code is governed by a 19618 // for details. All rights reserved. Use of this source code is governed by a
20008 // BSD-style license that can be found in the LICENSE file. 19619 // BSD-style license that can be found in the LICENSE file.
20009 19620
20010 19621
20011 /// @domName Worker; @docsEditable true 19622 /// @domName Worker; @docsEditable true
20012 class Worker extends AbstractWorker native "*Worker" { 19623 class Worker extends AbstractWorker native "*Worker" {
20013 19624
20014 factory Worker(String scriptUrl) => _WorkerFactoryProvider.createWorker(script Url); 19625 factory Worker(String scriptUrl) => _WorkerFactoryProvider.createWorker(script Url);
20015 19626
20016 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true 19627 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true
(...skipping 15 matching lines...) Expand all
20032 void _postMessage_2(message) native "postMessage"; 19643 void _postMessage_2(message) native "postMessage";
20033 19644
20034 /// @domName Worker.terminate; @docsEditable true 19645 /// @domName Worker.terminate; @docsEditable true
20035 void terminate() native; 19646 void terminate() native;
20036 } 19647 }
20037 19648
20038 class WorkerEvents extends AbstractWorkerEvents { 19649 class WorkerEvents extends AbstractWorkerEvents {
20039 WorkerEvents(EventTarget _ptr) : super(_ptr); 19650 WorkerEvents(EventTarget _ptr) : super(_ptr);
20040 19651
20041 EventListenerList get message => this['message']; 19652 EventListenerList get message => this['message'];
20042 } 19653 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
20043 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
20044 // for details. All rights reserved. Use of this source code is governed by a 19654 // for details. All rights reserved. Use of this source code is governed by a
20045 // BSD-style license that can be found in the LICENSE file. 19655 // BSD-style license that can be found in the LICENSE file.
20046 19656
20047 19657
20048 /// @domName WorkerContext; @docsEditable true 19658 /// @domName WorkerContext; @docsEditable true
20049 class WorkerContext extends EventTarget native "*WorkerContext" { 19659 class WorkerContext extends EventTarget native "*WorkerContext" {
20050 19660
20051 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true 19661 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true
20052 WorkerContextEvents get on => 19662 WorkerContextEvents get on =>
20053 new WorkerContextEvents(this); 19663 new WorkerContextEvents(this);
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
20117 EntrySync webkitResolveLocalFileSystemSyncURL(String url) native; 19727 EntrySync webkitResolveLocalFileSystemSyncURL(String url) native;
20118 19728
20119 /// @domName WorkerContext.webkitResolveLocalFileSystemURL; @docsEditable true 19729 /// @domName WorkerContext.webkitResolveLocalFileSystemURL; @docsEditable true
20120 void webkitResolveLocalFileSystemURL(String url, EntryCallback successCallback , [ErrorCallback errorCallback]) native; 19730 void webkitResolveLocalFileSystemURL(String url, EntryCallback successCallback , [ErrorCallback errorCallback]) native;
20121 } 19731 }
20122 19732
20123 class WorkerContextEvents extends Events { 19733 class WorkerContextEvents extends Events {
20124 WorkerContextEvents(EventTarget _ptr) : super(_ptr); 19734 WorkerContextEvents(EventTarget _ptr) : super(_ptr);
20125 19735
20126 EventListenerList get error => this['error']; 19736 EventListenerList get error => this['error'];
20127 } 19737 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
20128 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
20129 // for details. All rights reserved. Use of this source code is governed by a 19738 // for details. All rights reserved. Use of this source code is governed by a
20130 // BSD-style license that can be found in the LICENSE file. 19739 // BSD-style license that can be found in the LICENSE file.
20131 19740
20132 19741
20133 /// @domName WorkerLocation; @docsEditable true 19742 /// @domName WorkerLocation; @docsEditable true
20134 class WorkerLocation native "*WorkerLocation" { 19743 class WorkerLocation native "*WorkerLocation" {
20135 19744
20136 /// @domName WorkerLocation.hash; @docsEditable true 19745 /// @domName WorkerLocation.hash; @docsEditable true
20137 final String hash; 19746 final String hash;
20138 19747
(...skipping 13 matching lines...) Expand all
20152 final String port; 19761 final String port;
20153 19762
20154 /// @domName WorkerLocation.protocol; @docsEditable true 19763 /// @domName WorkerLocation.protocol; @docsEditable true
20155 final String protocol; 19764 final String protocol;
20156 19765
20157 /// @domName WorkerLocation.search; @docsEditable true 19766 /// @domName WorkerLocation.search; @docsEditable true
20158 final String search; 19767 final String search;
20159 19768
20160 /// @domName WorkerLocation.toString; @docsEditable true 19769 /// @domName WorkerLocation.toString; @docsEditable true
20161 String toString() native; 19770 String toString() native;
20162 } 19771 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
20163 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
20164 // for details. All rights reserved. Use of this source code is governed by a 19772 // for details. All rights reserved. Use of this source code is governed by a
20165 // BSD-style license that can be found in the LICENSE file. 19773 // BSD-style license that can be found in the LICENSE file.
20166 19774
20167 19775
20168 /// @domName WorkerNavigator; @docsEditable true 19776 /// @domName WorkerNavigator; @docsEditable true
20169 class WorkerNavigator native "*WorkerNavigator" { 19777 class WorkerNavigator native "*WorkerNavigator" {
20170 19778
20171 /// @domName WorkerNavigator.appName; @docsEditable true 19779 /// @domName WorkerNavigator.appName; @docsEditable true
20172 final String appName; 19780 final String appName;
20173 19781
20174 /// @domName WorkerNavigator.appVersion; @docsEditable true 19782 /// @domName WorkerNavigator.appVersion; @docsEditable true
20175 final String appVersion; 19783 final String appVersion;
20176 19784
20177 /// @domName WorkerNavigator.onLine; @docsEditable true 19785 /// @domName WorkerNavigator.onLine; @docsEditable true
20178 final bool onLine; 19786 final bool onLine;
20179 19787
20180 /// @domName WorkerNavigator.platform; @docsEditable true 19788 /// @domName WorkerNavigator.platform; @docsEditable true
20181 final String platform; 19789 final String platform;
20182 19790
20183 /// @domName WorkerNavigator.userAgent; @docsEditable true 19791 /// @domName WorkerNavigator.userAgent; @docsEditable true
20184 final String userAgent; 19792 final String userAgent;
20185 } 19793 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
20186 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
20187 // for details. All rights reserved. Use of this source code is governed by a 19794 // for details. All rights reserved. Use of this source code is governed by a
20188 // BSD-style license that can be found in the LICENSE file. 19795 // BSD-style license that can be found in the LICENSE file.
20189 19796
20190 19797
20191 /// @domName XMLSerializer; @docsEditable true 19798 /// @domName XMLSerializer; @docsEditable true
20192 class XMLSerializer native "*XMLSerializer" { 19799 class XMLSerializer native "*XMLSerializer" {
20193 19800
20194 factory XMLSerializer() => _XMLSerializerFactoryProvider.createXMLSerializer() ; 19801 factory XMLSerializer() => _XMLSerializerFactoryProvider.createXMLSerializer() ;
20195 19802
20196 /// @domName XMLSerializer.serializeToString; @docsEditable true 19803 /// @domName XMLSerializer.serializeToString; @docsEditable true
20197 String serializeToString(Node node) native; 19804 String serializeToString(Node node) native;
20198 } 19805 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
20199 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
20200 // for details. All rights reserved. Use of this source code is governed by a 19806 // for details. All rights reserved. Use of this source code is governed by a
20201 // BSD-style license that can be found in the LICENSE file. 19807 // BSD-style license that can be found in the LICENSE file.
20202 19808
20203 19809
20204 /// @domName XPathEvaluator; @docsEditable true 19810 /// @domName XPathEvaluator; @docsEditable true
20205 class XPathEvaluator native "*XPathEvaluator" { 19811 class XPathEvaluator native "*XPathEvaluator" {
20206 19812
20207 factory XPathEvaluator() => _XPathEvaluatorFactoryProvider.createXPathEvaluato r(); 19813 factory XPathEvaluator() => _XPathEvaluatorFactoryProvider.createXPathEvaluato r();
20208 19814
20209 /// @domName XPathEvaluator.createExpression; @docsEditable true 19815 /// @domName XPathEvaluator.createExpression; @docsEditable true
20210 XPathExpression createExpression(String expression, XPathNSResolver resolver) native; 19816 XPathExpression createExpression(String expression, XPathNSResolver resolver) native;
20211 19817
20212 /// @domName XPathEvaluator.createNSResolver; @docsEditable true 19818 /// @domName XPathEvaluator.createNSResolver; @docsEditable true
20213 XPathNSResolver createNSResolver(Node nodeResolver) native; 19819 XPathNSResolver createNSResolver(Node nodeResolver) native;
20214 19820
20215 /// @domName XPathEvaluator.evaluate; @docsEditable true 19821 /// @domName XPathEvaluator.evaluate; @docsEditable true
20216 XPathResult evaluate(String expression, Node contextNode, XPathNSResolver reso lver, int type, XPathResult inResult) native; 19822 XPathResult evaluate(String expression, Node contextNode, XPathNSResolver reso lver, int type, XPathResult inResult) native;
20217 } 19823 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
20218 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
20219 // for details. All rights reserved. Use of this source code is governed by a 19824 // for details. All rights reserved. Use of this source code is governed by a
20220 // BSD-style license that can be found in the LICENSE file. 19825 // BSD-style license that can be found in the LICENSE file.
20221 19826
20222 19827
20223 /// @domName XPathException; @docsEditable true 19828 /// @domName XPathException; @docsEditable true
20224 class XPathException native "*XPathException" { 19829 class XPathException native "*XPathException" {
20225 19830
20226 static const int INVALID_EXPRESSION_ERR = 51; 19831 static const int INVALID_EXPRESSION_ERR = 51;
20227 19832
20228 static const int TYPE_ERR = 52; 19833 static const int TYPE_ERR = 52;
20229 19834
20230 /// @domName XPathException.code; @docsEditable true 19835 /// @domName XPathException.code; @docsEditable true
20231 final int code; 19836 final int code;
20232 19837
20233 /// @domName XPathException.message; @docsEditable true 19838 /// @domName XPathException.message; @docsEditable true
20234 final String message; 19839 final String message;
20235 19840
20236 /// @domName XPathException.name; @docsEditable true 19841 /// @domName XPathException.name; @docsEditable true
20237 final String name; 19842 final String name;
20238 19843
20239 /// @domName XPathException.toString; @docsEditable true 19844 /// @domName XPathException.toString; @docsEditable true
20240 String toString() native; 19845 String toString() native;
20241 } 19846 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
20242 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
20243 // for details. All rights reserved. Use of this source code is governed by a 19847 // for details. All rights reserved. Use of this source code is governed by a
20244 // BSD-style license that can be found in the LICENSE file. 19848 // BSD-style license that can be found in the LICENSE file.
20245 19849
20246 19850
20247 /// @domName XPathExpression; @docsEditable true 19851 /// @domName XPathExpression; @docsEditable true
20248 class XPathExpression native "*XPathExpression" { 19852 class XPathExpression native "*XPathExpression" {
20249 19853
20250 /// @domName XPathExpression.evaluate; @docsEditable true 19854 /// @domName XPathExpression.evaluate; @docsEditable true
20251 XPathResult evaluate(Node contextNode, int type, XPathResult inResult) native; 19855 XPathResult evaluate(Node contextNode, int type, XPathResult inResult) native;
20252 } 19856 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
20253 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
20254 // for details. All rights reserved. Use of this source code is governed by a 19857 // for details. All rights reserved. Use of this source code is governed by a
20255 // BSD-style license that can be found in the LICENSE file. 19858 // BSD-style license that can be found in the LICENSE file.
20256 19859
20257 19860
20258 /// @domName XPathNSResolver; @docsEditable true 19861 /// @domName XPathNSResolver; @docsEditable true
20259 class XPathNSResolver native "*XPathNSResolver" { 19862 class XPathNSResolver native "*XPathNSResolver" {
20260 19863
20261 /// @domName XPathNSResolver.lookupNamespaceURI; @docsEditable true 19864 /// @domName XPathNSResolver.lookupNamespaceURI; @docsEditable true
20262 String lookupNamespaceURI(String prefix) native; 19865 String lookupNamespaceURI(String prefix) native;
20263 } 19866 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
20264 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
20265 // for details. All rights reserved. Use of this source code is governed by a 19867 // for details. All rights reserved. Use of this source code is governed by a
20266 // BSD-style license that can be found in the LICENSE file. 19868 // BSD-style license that can be found in the LICENSE file.
20267 19869
20268 19870
20269 /// @domName XPathResult; @docsEditable true 19871 /// @domName XPathResult; @docsEditable true
20270 class XPathResult native "*XPathResult" { 19872 class XPathResult native "*XPathResult" {
20271 19873
20272 static const int ANY_TYPE = 0; 19874 static const int ANY_TYPE = 0;
20273 19875
20274 static const int ANY_UNORDERED_NODE_TYPE = 8; 19876 static const int ANY_UNORDERED_NODE_TYPE = 8;
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
20308 final int snapshotLength; 19910 final int snapshotLength;
20309 19911
20310 /// @domName XPathResult.stringValue; @docsEditable true 19912 /// @domName XPathResult.stringValue; @docsEditable true
20311 final String stringValue; 19913 final String stringValue;
20312 19914
20313 /// @domName XPathResult.iterateNext; @docsEditable true 19915 /// @domName XPathResult.iterateNext; @docsEditable true
20314 Node iterateNext() native; 19916 Node iterateNext() native;
20315 19917
20316 /// @domName XPathResult.snapshotItem; @docsEditable true 19918 /// @domName XPathResult.snapshotItem; @docsEditable true
20317 Node snapshotItem(int index) native; 19919 Node snapshotItem(int index) native;
20318 } 19920 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
20319 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
20320 // for details. All rights reserved. Use of this source code is governed by a 19921 // for details. All rights reserved. Use of this source code is governed by a
20321 // BSD-style license that can be found in the LICENSE file. 19922 // BSD-style license that can be found in the LICENSE file.
20322 19923
20323 19924
20324 /// @domName XSLTProcessor; @docsEditable true 19925 /// @domName XSLTProcessor; @docsEditable true
20325 class XSLTProcessor native "*XSLTProcessor" { 19926 class XSLTProcessor native "*XSLTProcessor" {
20326 19927
20327 factory XSLTProcessor() => _XSLTProcessorFactoryProvider.createXSLTProcessor() ; 19928 factory XSLTProcessor() => _XSLTProcessorFactoryProvider.createXSLTProcessor() ;
20328 19929
20329 /// @domName XSLTProcessor.clearParameters; @docsEditable true 19930 /// @domName XSLTProcessor.clearParameters; @docsEditable true
(...skipping 12 matching lines...) Expand all
20342 void reset() native; 19943 void reset() native;
20343 19944
20344 /// @domName XSLTProcessor.setParameter; @docsEditable true 19945 /// @domName XSLTProcessor.setParameter; @docsEditable true
20345 void setParameter(String namespaceURI, String localName, String value) native; 19946 void setParameter(String namespaceURI, String localName, String value) native;
20346 19947
20347 /// @domName XSLTProcessor.transformToDocument; @docsEditable true 19948 /// @domName XSLTProcessor.transformToDocument; @docsEditable true
20348 Document transformToDocument(Node source) native; 19949 Document transformToDocument(Node source) native;
20349 19950
20350 /// @domName XSLTProcessor.transformToFragment; @docsEditable true 19951 /// @domName XSLTProcessor.transformToFragment; @docsEditable true
20351 DocumentFragment transformToFragment(Node source, Document docVal) native; 19952 DocumentFragment transformToFragment(Node source, Document docVal) native;
20352 } 19953 }// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
20353 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
20354 // for details. All rights reserved. Use of this source code is governed by a 19954 // for details. All rights reserved. Use of this source code is governed by a
20355 // BSD-style license that can be found in the LICENSE file. 19955 // BSD-style license that can be found in the LICENSE file.
20356 19956
20357 19957
20358 class _ArrayBufferFactoryProvider { 19958 class _ArrayBufferFactoryProvider {
20359 static ArrayBuffer createArrayBuffer(int length) => 19959 static ArrayBuffer createArrayBuffer(int length) =>
20360 JS('ArrayBuffer', 'new ArrayBuffer(#)', length); 19960 JS('ArrayBuffer', 'new ArrayBuffer(#)', length);
20361 } 19961 }
20362 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 19962 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
20363 // for details. All rights reserved. Use of this source code is governed by a 19963 // for details. All rights reserved. Use of this source code is governed by a
(...skipping 4704 matching lines...) Expand 10 before | Expand all | Expand 10 after
25068 if (length < 0) throw new ArgumentError('length'); 24668 if (length < 0) throw new ArgumentError('length');
25069 if (start < 0) throw new RangeError.value(start); 24669 if (start < 0) throw new RangeError.value(start);
25070 int end = start + length; 24670 int end = start + length;
25071 if (end > a.length) throw new RangeError.value(end); 24671 if (end > a.length) throw new RangeError.value(end);
25072 for (int i = start; i < end; i++) { 24672 for (int i = start; i < end; i++) {
25073 accumulator.add(a[i]); 24673 accumulator.add(a[i]);
25074 } 24674 }
25075 return accumulator; 24675 return accumulator;
25076 } 24676 }
25077 } 24677 }
OLDNEW
« no previous file with comments | « no previous file | sdk/lib/html/docs/html_docs.json » ('j') | sdk/lib/html/scripts/dartdomgenerator.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698