| OLD | NEW |
| 1 #library('dom'); | 1 #library('dom'); |
| 2 | 2 |
| 3 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 3 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 4 // for details. All rights reserved. Use of this source code is governed by a | 4 // for details. All rights reserved. Use of this source code is governed by a |
| 5 // BSD-style license that can be found in the LICENSE file. | 5 // BSD-style license that can be found in the LICENSE file. |
| 6 | 6 |
| 7 // DO NOT EDIT | 7 // DO NOT EDIT |
| 8 // Auto-generated Dart DOM library with no implementation. | 8 // Auto-generated Dart DOM library with no implementation. |
| 9 | 9 |
| 10 | 10 |
| (...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 354 final num sampleRate; | 354 final num sampleRate; |
| 355 | 355 |
| 356 RealtimeAnalyserNode createAnalyser(); | 356 RealtimeAnalyserNode createAnalyser(); |
| 357 | 357 |
| 358 BiquadFilterNode createBiquadFilter(); | 358 BiquadFilterNode createBiquadFilter(); |
| 359 | 359 |
| 360 AudioBuffer createBuffer(buffer_OR_numberOfChannels, mixToMono_OR_numberOfFram
es, [num sampleRate]); | 360 AudioBuffer createBuffer(buffer_OR_numberOfChannels, mixToMono_OR_numberOfFram
es, [num sampleRate]); |
| 361 | 361 |
| 362 AudioBufferSourceNode createBufferSource(); | 362 AudioBufferSourceNode createBufferSource(); |
| 363 | 363 |
| 364 AudioChannelMerger createChannelMerger(); | 364 AudioChannelMerger createChannelMerger([int numberOfInputs]); |
| 365 | 365 |
| 366 AudioChannelSplitter createChannelSplitter(); | 366 AudioChannelSplitter createChannelSplitter([int numberOfOutputs]); |
| 367 | 367 |
| 368 ConvolverNode createConvolver(); | 368 ConvolverNode createConvolver(); |
| 369 | 369 |
| 370 DelayNode createDelayNode([num maxDelayTime]); | 370 DelayNode createDelayNode([num maxDelayTime]); |
| 371 | 371 |
| 372 DynamicsCompressorNode createDynamicsCompressor(); | 372 DynamicsCompressorNode createDynamicsCompressor(); |
| 373 | 373 |
| 374 AudioGainNode createGainNode(); | 374 AudioGainNode createGainNode(); |
| 375 | 375 |
| 376 JavaScriptAudioNode createJavaScriptNode(int bufferSize); | 376 JavaScriptAudioNode createJavaScriptNode(int bufferSize, [int numberOfInputCha
nnels, int numberOfOutputChannels]); |
| 377 | 377 |
| 378 MediaElementAudioSourceNode createMediaElementSource(HTMLMediaElement mediaEle
ment); | 378 MediaElementAudioSourceNode createMediaElementSource(HTMLMediaElement mediaEle
ment); |
| 379 | 379 |
| 380 Oscillator createOscillator(); | 380 Oscillator createOscillator(); |
| 381 | 381 |
| 382 AudioPannerNode createPanner(); | 382 AudioPannerNode createPanner(); |
| 383 | 383 |
| 384 WaveShaperNode createWaveShaper(); | 384 WaveShaperNode createWaveShaper(); |
| 385 | 385 |
| 386 WaveTable createWaveTable(Float32Array real, Float32Array imag); | 386 WaveTable createWaveTable(Float32Array real, Float32Array imag); |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 442 // WARNING: Do not edit - generated code. | 442 // WARNING: Do not edit - generated code. |
| 443 | 443 |
| 444 interface AudioNode { | 444 interface AudioNode { |
| 445 | 445 |
| 446 final AudioContext context; | 446 final AudioContext context; |
| 447 | 447 |
| 448 final int numberOfInputs; | 448 final int numberOfInputs; |
| 449 | 449 |
| 450 final int numberOfOutputs; | 450 final int numberOfOutputs; |
| 451 | 451 |
| 452 void connect(AudioNode destination, int output, int input); | 452 void connect(destination, int output, [int input]); |
| 453 | 453 |
| 454 void disconnect(int output); | 454 void disconnect(int output); |
| 455 } | 455 } |
| 456 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 456 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 457 // for details. All rights reserved. Use of this source code is governed by a | 457 // for details. All rights reserved. Use of this source code is governed by a |
| 458 // BSD-style license that can be found in the LICENSE file. | 458 // BSD-style license that can be found in the LICENSE file. |
| 459 | 459 |
| 460 // WARNING: Do not edit - generated code. | 460 // WARNING: Do not edit - generated code. |
| 461 | 461 |
| 462 interface AudioPannerNode extends AudioNode { | 462 interface AudioPannerNode extends AudioNode { |
| (...skipping 532 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 995 num shadowOffsetX; | 995 num shadowOffsetX; |
| 996 | 996 |
| 997 num shadowOffsetY; | 997 num shadowOffsetY; |
| 998 | 998 |
| 999 var /*custom*/ strokeStyle; | 999 var /*custom*/ strokeStyle; |
| 1000 | 1000 |
| 1001 String textAlign; | 1001 String textAlign; |
| 1002 | 1002 |
| 1003 String textBaseline; | 1003 String textBaseline; |
| 1004 | 1004 |
| 1005 final num webkitBackingStorePixelRatio; |
| 1006 |
| 1005 List webkitLineDash; | 1007 List webkitLineDash; |
| 1006 | 1008 |
| 1007 num webkitLineDashOffset; | 1009 num webkitLineDashOffset; |
| 1008 | 1010 |
| 1009 void arc(num x, num y, num radius, num startAngle, num endAngle, bool anticloc
kwise); | 1011 void arc(num x, num y, num radius, num startAngle, num endAngle, bool anticloc
kwise); |
| 1010 | 1012 |
| 1011 void arcTo(num x1, num y1, num x2, num y2, num radius); | 1013 void arcTo(num x1, num y1, num x2, num y2, num radius); |
| 1012 | 1014 |
| 1013 void beginPath(); | 1015 void beginPath(); |
| 1014 | 1016 |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1086 | 1088 |
| 1087 void stroke(); | 1089 void stroke(); |
| 1088 | 1090 |
| 1089 void strokeRect(num x, num y, num width, num height, [num lineWidth]); | 1091 void strokeRect(num x, num y, num width, num height, [num lineWidth]); |
| 1090 | 1092 |
| 1091 void strokeText(String text, num x, num y, [num maxWidth]); | 1093 void strokeText(String text, num x, num y, [num maxWidth]); |
| 1092 | 1094 |
| 1093 void transform(num m11, num m12, num m21, num m22, num dx, num dy); | 1095 void transform(num m11, num m12, num m21, num m22, num dx, num dy); |
| 1094 | 1096 |
| 1095 void translate(num tx, num ty); | 1097 void translate(num tx, num ty); |
| 1098 |
| 1099 ImageData webkitGetImageDataHD(num sx, num sy, num sw, num sh); |
| 1100 |
| 1101 void webkitPutImageDataHD(ImageData imagedata, num dx, num dy, [num dirtyX, nu
m dirtyY, num dirtyWidth, num dirtyHeight]); |
| 1096 } | 1102 } |
| 1097 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1103 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1098 // for details. All rights reserved. Use of this source code is governed by a | 1104 // for details. All rights reserved. Use of this source code is governed by a |
| 1099 // BSD-style license that can be found in the LICENSE file. | 1105 // BSD-style license that can be found in the LICENSE file. |
| 1100 | 1106 |
| 1101 // WARNING: Do not edit - generated code. | 1107 // WARNING: Do not edit - generated code. |
| 1102 | 1108 |
| 1103 interface CharacterData extends Node { | 1109 interface CharacterData extends Node { |
| 1104 | 1110 |
| 1105 String data; | 1111 String data; |
| (...skipping 1896 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3002 final FileError error; | 3008 final FileError error; |
| 3003 | 3009 |
| 3004 final int length; | 3010 final int length; |
| 3005 | 3011 |
| 3006 final int position; | 3012 final int position; |
| 3007 | 3013 |
| 3008 final int readyState; | 3014 final int readyState; |
| 3009 | 3015 |
| 3010 void abort(); | 3016 void abort(); |
| 3011 | 3017 |
| 3018 void addEventListener(String type, EventListener listener, [bool useCapture]); |
| 3019 |
| 3020 bool dispatchEvent(Event evt); |
| 3021 |
| 3022 void removeEventListener(String type, EventListener listener, [bool useCapture
]); |
| 3023 |
| 3012 void seek(int position); | 3024 void seek(int position); |
| 3013 | 3025 |
| 3014 void truncate(int size); | 3026 void truncate(int size); |
| 3015 | 3027 |
| 3016 void write(Blob data); | 3028 void write(Blob data); |
| 3017 } | 3029 } |
| 3018 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 3030 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 3019 // for details. All rights reserved. Use of this source code is governed by a | 3031 // for details. All rights reserved. Use of this source code is governed by a |
| 3020 // BSD-style license that can be found in the LICENSE file. | 3032 // BSD-style license that can be found in the LICENSE file. |
| 3021 | 3033 |
| (...skipping 1167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4189 TextTrack addTextTrack(String kind, [String label, String language]); | 4201 TextTrack addTextTrack(String kind, [String label, String language]); |
| 4190 | 4202 |
| 4191 String canPlayType(String type); | 4203 String canPlayType(String type); |
| 4192 | 4204 |
| 4193 void load(); | 4205 void load(); |
| 4194 | 4206 |
| 4195 void pause(); | 4207 void pause(); |
| 4196 | 4208 |
| 4197 void play(); | 4209 void play(); |
| 4198 | 4210 |
| 4211 void webkitSourceAddId(String id, String type); |
| 4212 |
| 4199 void webkitSourceAppend(Uint8Array data); | 4213 void webkitSourceAppend(Uint8Array data); |
| 4200 | 4214 |
| 4201 void webkitSourceEndOfStream(int status); | 4215 void webkitSourceEndOfStream(int status); |
| 4216 |
| 4217 void webkitSourceRemoveId(String id); |
| 4202 } | 4218 } |
| 4203 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 4219 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 4204 // for details. All rights reserved. Use of this source code is governed by a | 4220 // for details. All rights reserved. Use of this source code is governed by a |
| 4205 // BSD-style license that can be found in the LICENSE file. | 4221 // BSD-style license that can be found in the LICENSE file. |
| 4206 | 4222 |
| 4207 // WARNING: Do not edit - generated code. | 4223 // WARNING: Do not edit - generated code. |
| 4208 | 4224 |
| 4209 interface HTMLMenuElement extends HTMLElement { | 4225 interface HTMLMenuElement extends HTMLElement { |
| 4210 | 4226 |
| 4211 bool compact; | 4227 bool compact; |
| (...skipping 1238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5450 final bool shiftKey; | 5466 final bool shiftKey; |
| 5451 | 5467 |
| 5452 void initKeyboardEvent(String type, bool canBubble, bool cancelable, DOMWindow
view, String keyIdentifier, int keyLocation, bool ctrlKey, bool altKey, bool sh
iftKey, bool metaKey, bool altGraphKey); | 5468 void initKeyboardEvent(String type, bool canBubble, bool cancelable, DOMWindow
view, String keyIdentifier, int keyLocation, bool ctrlKey, bool altKey, bool sh
iftKey, bool metaKey, bool altGraphKey); |
| 5453 } | 5469 } |
| 5454 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5470 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5455 // for details. All rights reserved. Use of this source code is governed by a | 5471 // for details. All rights reserved. Use of this source code is governed by a |
| 5456 // BSD-style license that can be found in the LICENSE file. | 5472 // BSD-style license that can be found in the LICENSE file. |
| 5457 | 5473 |
| 5458 // WARNING: Do not edit - generated code. | 5474 // WARNING: Do not edit - generated code. |
| 5459 | 5475 |
| 5460 interface LocalMediaStream extends MediaStream, EventTarget { | 5476 interface LocalMediaStream extends MediaStream { |
| 5461 | 5477 |
| 5462 void stop(); | 5478 void stop(); |
| 5463 } | 5479 } |
| 5464 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5480 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5465 // for details. All rights reserved. Use of this source code is governed by a | 5481 // for details. All rights reserved. Use of this source code is governed by a |
| 5466 // BSD-style license that can be found in the LICENSE file. | 5482 // BSD-style license that can be found in the LICENSE file. |
| 5467 | 5483 |
| 5468 // WARNING: Do not edit - generated code. | 5484 // WARNING: Do not edit - generated code. |
| 5469 | 5485 |
| 5470 interface Location { | 5486 interface Location { |
| 5471 | 5487 |
| 5488 final List<String> ancestorOrigins; |
| 5489 |
| 5472 String hash; | 5490 String hash; |
| 5473 | 5491 |
| 5474 String host; | 5492 String host; |
| 5475 | 5493 |
| 5476 String hostname; | 5494 String hostname; |
| 5477 | 5495 |
| 5478 String href; | 5496 String href; |
| 5479 | 5497 |
| 5480 final String origin; | 5498 final String origin; |
| 5481 | 5499 |
| (...skipping 4065 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9547 interface ShadowRoot extends DocumentFragment default _ShadowRootFactoryProvider
{ | 9565 interface ShadowRoot extends DocumentFragment default _ShadowRootFactoryProvider
{ |
| 9548 | 9566 |
| 9549 ShadowRoot(Element host); | 9567 ShadowRoot(Element host); |
| 9550 | 9568 |
| 9551 final Element activeElement; | 9569 final Element activeElement; |
| 9552 | 9570 |
| 9553 final Element host; | 9571 final Element host; |
| 9554 | 9572 |
| 9555 String innerHTML; | 9573 String innerHTML; |
| 9556 | 9574 |
| 9575 final DOMSelection selection; |
| 9576 |
| 9557 Element getElementById(String elementId); | 9577 Element getElementById(String elementId); |
| 9558 | 9578 |
| 9559 NodeList getElementsByClassName(String className); | 9579 NodeList getElementsByClassName(String className); |
| 9560 | 9580 |
| 9561 NodeList getElementsByTagName(String tagName); | 9581 NodeList getElementsByTagName(String tagName); |
| 9562 | 9582 |
| 9563 NodeList getElementsByTagNameNS(String namespaceURI, String localName); | 9583 NodeList getElementsByTagNameNS(String namespaceURI, String localName); |
| 9564 } | 9584 } |
| 9565 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 9585 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 9566 // for details. All rights reserved. Use of this source code is governed by a | 9586 // for details. All rights reserved. Use of this source code is governed by a |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9671 SpeechRecognition(); | 9691 SpeechRecognition(); |
| 9672 | 9692 |
| 9673 bool continuous; | 9693 bool continuous; |
| 9674 | 9694 |
| 9675 SpeechGrammarList grammars; | 9695 SpeechGrammarList grammars; |
| 9676 | 9696 |
| 9677 String lang; | 9697 String lang; |
| 9678 | 9698 |
| 9679 void abort(); | 9699 void abort(); |
| 9680 | 9700 |
| 9701 void addEventListener(String type, EventListener listener, [bool useCapture]); |
| 9702 |
| 9703 bool dispatchEvent(Event evt); |
| 9704 |
| 9705 void removeEventListener(String type, EventListener listener, [bool useCapture
]); |
| 9706 |
| 9681 void start(); | 9707 void start(); |
| 9682 | 9708 |
| 9683 void stop(); | 9709 void stop(); |
| 9684 } | 9710 } |
| 9685 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 9711 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 9686 // for details. All rights reserved. Use of this source code is governed by a | 9712 // for details. All rights reserved. Use of this source code is governed by a |
| 9687 // BSD-style license that can be found in the LICENSE file. | 9713 // BSD-style license that can be found in the LICENSE file. |
| 9688 | 9714 |
| 9689 // WARNING: Do not edit - generated code. | 9715 // WARNING: Do not edit - generated code. |
| 9690 | 9716 |
| (...skipping 1988 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11679 List<MutationRecord> takeRecords(); | 11705 List<MutationRecord> takeRecords(); |
| 11680 } | 11706 } |
| 11681 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 11707 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 11682 // for details. All rights reserved. Use of this source code is governed by a | 11708 // for details. All rights reserved. Use of this source code is governed by a |
| 11683 // BSD-style license that can be found in the LICENSE file. | 11709 // BSD-style license that can be found in the LICENSE file. |
| 11684 | 11710 |
| 11685 // WARNING: Do not edit - generated code. | 11711 // WARNING: Do not edit - generated code. |
| 11686 | 11712 |
| 11687 interface WebKitNamedFlow { | 11713 interface WebKitNamedFlow { |
| 11688 | 11714 |
| 11715 final NodeList contentNodes; |
| 11716 |
| 11689 final bool overflow; | 11717 final bool overflow; |
| 11690 | 11718 |
| 11691 NodeList getRegionsByContentNode(Node contentNode); | 11719 NodeList getRegionsByContentNode(Node contentNode); |
| 11692 } | 11720 } |
| 11693 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 11721 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 11694 // for details. All rights reserved. Use of this source code is governed by a | 11722 // for details. All rights reserved. Use of this source code is governed by a |
| 11695 // BSD-style license that can be found in the LICENSE file. | 11723 // BSD-style license that can be found in the LICENSE file. |
| 11696 | 11724 |
| 11697 // WARNING: Do not edit - generated code. | 11725 // WARNING: Do not edit - generated code. |
| 11698 | 11726 |
| (...skipping 1106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 12805 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 12833 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 12806 // for details. All rights reserved. Use of this source code is governed by a | 12834 // for details. All rights reserved. Use of this source code is governed by a |
| 12807 // BSD-style license that can be found in the LICENSE file. | 12835 // BSD-style license that can be found in the LICENSE file. |
| 12808 | 12836 |
| 12809 Window get window() => _dummy(); | 12837 Window get window() => _dummy(); |
| 12810 | 12838 |
| 12811 // TODO(vsm): Remove when prefixes are supported. | 12839 // TODO(vsm): Remove when prefixes are supported. |
| 12812 Window get dom_window() => _dummy(); | 12840 Window get dom_window() => _dummy(); |
| 12813 | 12841 |
| 12814 Document get document() => _dummy(); | 12842 Document get document() => _dummy(); |
| OLD | NEW |