| 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 361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 372 DelayNode createDelayNode([num maxDelayTime]); | 372 DelayNode createDelayNode([num maxDelayTime]); |
| 373 | 373 |
| 374 DynamicsCompressorNode createDynamicsCompressor(); | 374 DynamicsCompressorNode createDynamicsCompressor(); |
| 375 | 375 |
| 376 AudioGainNode createGainNode(); | 376 AudioGainNode createGainNode(); |
| 377 | 377 |
| 378 JavaScriptAudioNode createJavaScriptNode(int bufferSize); | 378 JavaScriptAudioNode createJavaScriptNode(int bufferSize); |
| 379 | 379 |
| 380 MediaElementAudioSourceNode createMediaElementSource(HTMLMediaElement mediaEle
ment); | 380 MediaElementAudioSourceNode createMediaElementSource(HTMLMediaElement mediaEle
ment); |
| 381 | 381 |
| 382 Oscillator createOscillator(); |
| 383 |
| 382 AudioPannerNode createPanner(); | 384 AudioPannerNode createPanner(); |
| 383 | 385 |
| 384 WaveShaperNode createWaveShaper(); | 386 WaveShaperNode createWaveShaper(); |
| 385 | 387 |
| 388 WaveTable createWaveTable(Float32Array real, Float32Array imag); |
| 389 |
| 386 void decodeAudioData(ArrayBuffer audioData, AudioBufferCallback successCallbac
k, [AudioBufferCallback errorCallback]); | 390 void decodeAudioData(ArrayBuffer audioData, AudioBufferCallback successCallbac
k, [AudioBufferCallback errorCallback]); |
| 387 | 391 |
| 388 void startRendering(); | 392 void startRendering(); |
| 389 } | 393 } |
| 390 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 394 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 391 // for details. All rights reserved. Use of this source code is governed by a | 395 // for details. All rights reserved. Use of this source code is governed by a |
| 392 // BSD-style license that can be found in the LICENSE file. | 396 // BSD-style license that can be found in the LICENSE file. |
| 393 | 397 |
| 394 // WARNING: Do not edit - generated code. | 398 // WARNING: Do not edit - generated code. |
| 395 | 399 |
| (...skipping 1416 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1812 DOMSelection getSelection(); | 1816 DOMSelection getSelection(); |
| 1813 | 1817 |
| 1814 MediaQueryList matchMedia(String query); | 1818 MediaQueryList matchMedia(String query); |
| 1815 | 1819 |
| 1816 void moveBy(num x, num y); | 1820 void moveBy(num x, num y); |
| 1817 | 1821 |
| 1818 void moveTo(num x, num y); | 1822 void moveTo(num x, num y); |
| 1819 | 1823 |
| 1820 DOMWindow open(String url, String name, [String options]); | 1824 DOMWindow open(String url, String name, [String options]); |
| 1821 | 1825 |
| 1826 Database openDatabase(String name, String version, String displayName, int est
imatedSize, [DatabaseCallback creationCallback]); |
| 1827 |
| 1822 void postMessage(Dynamic message, String targetOrigin, [List messagePorts]); | 1828 void postMessage(Dynamic message, String targetOrigin, [List messagePorts]); |
| 1823 | 1829 |
| 1824 void print(); | 1830 void print(); |
| 1825 | 1831 |
| 1826 String prompt(String message, String defaultValue); | 1832 String prompt(String message, String defaultValue); |
| 1827 | 1833 |
| 1828 void releaseEvents(); | 1834 void releaseEvents(); |
| 1829 | 1835 |
| 1830 void removeEventListener(String type, EventListener listener, [bool useCapture
]); | 1836 void removeEventListener(String type, EventListener listener, [bool useCapture
]); |
| 1831 | 1837 |
| (...skipping 551 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2383 final int childElementCount; | 2389 final int childElementCount; |
| 2384 | 2390 |
| 2385 final int clientHeight; | 2391 final int clientHeight; |
| 2386 | 2392 |
| 2387 final int clientLeft; | 2393 final int clientLeft; |
| 2388 | 2394 |
| 2389 final int clientTop; | 2395 final int clientTop; |
| 2390 | 2396 |
| 2391 final int clientWidth; | 2397 final int clientWidth; |
| 2392 | 2398 |
| 2399 final Map<String, String> dataset; |
| 2400 |
| 2393 final Element firstElementChild; | 2401 final Element firstElementChild; |
| 2394 | 2402 |
| 2395 final Element lastElementChild; | 2403 final Element lastElementChild; |
| 2396 | 2404 |
| 2397 final Element nextElementSibling; | 2405 final Element nextElementSibling; |
| 2398 | 2406 |
| 2399 final int offsetHeight; | 2407 final int offsetHeight; |
| 2400 | 2408 |
| 2401 final int offsetLeft; | 2409 final int offsetLeft; |
| 2402 | 2410 |
| (...skipping 3942 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6345 final String name; | 6353 final String name; |
| 6346 | 6354 |
| 6347 String toString(); | 6355 String toString(); |
| 6348 } | 6356 } |
| 6349 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6357 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 6350 // for details. All rights reserved. Use of this source code is governed by a | 6358 // for details. All rights reserved. Use of this source code is governed by a |
| 6351 // BSD-style license that can be found in the LICENSE file. | 6359 // BSD-style license that can be found in the LICENSE file. |
| 6352 | 6360 |
| 6353 // WARNING: Do not edit - generated code. | 6361 // WARNING: Do not edit - generated code. |
| 6354 | 6362 |
| 6363 interface Oscillator extends AudioSourceNode { |
| 6364 |
| 6365 static final int CUSTOM = 4; |
| 6366 |
| 6367 static final int SAWTOOTH = 2; |
| 6368 |
| 6369 static final int SINE = 0; |
| 6370 |
| 6371 static final int SQUARE = 1; |
| 6372 |
| 6373 static final int TRIANGLE = 3; |
| 6374 |
| 6375 final AudioParam detune; |
| 6376 |
| 6377 final AudioParam frequency; |
| 6378 |
| 6379 int type; |
| 6380 |
| 6381 void setWaveTable(WaveTable waveTable); |
| 6382 } |
| 6383 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 6384 // for details. All rights reserved. Use of this source code is governed by a |
| 6385 // BSD-style license that can be found in the LICENSE file. |
| 6386 |
| 6387 // WARNING: Do not edit - generated code. |
| 6388 |
| 6355 interface OverflowEvent extends Event { | 6389 interface OverflowEvent extends Event { |
| 6356 | 6390 |
| 6357 static final int BOTH = 2; | 6391 static final int BOTH = 2; |
| 6358 | 6392 |
| 6359 static final int HORIZONTAL = 0; | 6393 static final int HORIZONTAL = 0; |
| 6360 | 6394 |
| 6361 static final int VERTICAL = 1; | 6395 static final int VERTICAL = 1; |
| 6362 | 6396 |
| 6363 final bool horizontalOverflow; | 6397 final bool horizontalOverflow; |
| 6364 | 6398 |
| (...skipping 4001 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10366 interface WaveShaperNode extends AudioNode { | 10400 interface WaveShaperNode extends AudioNode { |
| 10367 | 10401 |
| 10368 Float32Array curve; | 10402 Float32Array curve; |
| 10369 } | 10403 } |
| 10370 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 10404 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 10371 // for details. All rights reserved. Use of this source code is governed by a | 10405 // for details. All rights reserved. Use of this source code is governed by a |
| 10372 // BSD-style license that can be found in the LICENSE file. | 10406 // BSD-style license that can be found in the LICENSE file. |
| 10373 | 10407 |
| 10374 // WARNING: Do not edit - generated code. | 10408 // WARNING: Do not edit - generated code. |
| 10375 | 10409 |
| 10410 interface WaveTable { |
| 10411 } |
| 10412 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 10413 // for details. All rights reserved. Use of this source code is governed by a |
| 10414 // BSD-style license that can be found in the LICENSE file. |
| 10415 |
| 10416 // WARNING: Do not edit - generated code. |
| 10417 |
| 10376 interface WebGLActiveInfo { | 10418 interface WebGLActiveInfo { |
| 10377 | 10419 |
| 10378 final String name; | 10420 final String name; |
| 10379 | 10421 |
| 10380 final int size; | 10422 final int size; |
| 10381 | 10423 |
| 10382 final int type; | 10424 final int type; |
| 10383 } | 10425 } |
| 10384 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 10426 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 10385 // for details. All rights reserved. Use of this source code is governed by a | 10427 // for details. All rights reserved. Use of this source code is governed by a |
| (...skipping 842 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11228 String getProgramInfoLog(WebGLProgram program); | 11270 String getProgramInfoLog(WebGLProgram program); |
| 11229 | 11271 |
| 11230 Object getProgramParameter(WebGLProgram program, int pname); | 11272 Object getProgramParameter(WebGLProgram program, int pname); |
| 11231 | 11273 |
| 11232 Object getRenderbufferParameter(int target, int pname); | 11274 Object getRenderbufferParameter(int target, int pname); |
| 11233 | 11275 |
| 11234 String getShaderInfoLog(WebGLShader shader); | 11276 String getShaderInfoLog(WebGLShader shader); |
| 11235 | 11277 |
| 11236 Object getShaderParameter(WebGLShader shader, int pname); | 11278 Object getShaderParameter(WebGLShader shader, int pname); |
| 11237 | 11279 |
| 11280 WebGLShaderPrecisionFormat getShaderPrecisionFormat(int shadertype, int precis
iontype); |
| 11281 |
| 11238 String getShaderSource(WebGLShader shader); | 11282 String getShaderSource(WebGLShader shader); |
| 11239 | 11283 |
| 11240 Object getTexParameter(int target, int pname); | 11284 Object getTexParameter(int target, int pname); |
| 11241 | 11285 |
| 11242 Object getUniform(WebGLProgram program, WebGLUniformLocation location); | 11286 Object getUniform(WebGLProgram program, WebGLUniformLocation location); |
| 11243 | 11287 |
| 11244 WebGLUniformLocation getUniformLocation(WebGLProgram program, String name); | 11288 WebGLUniformLocation getUniformLocation(WebGLProgram program, String name); |
| 11245 | 11289 |
| 11246 Object getVertexAttrib(int index, int pname); | 11290 Object getVertexAttrib(int index, int pname); |
| 11247 | 11291 |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11374 // WARNING: Do not edit - generated code. | 11418 // WARNING: Do not edit - generated code. |
| 11375 | 11419 |
| 11376 interface WebGLShader { | 11420 interface WebGLShader { |
| 11377 } | 11421 } |
| 11378 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 11422 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 11379 // for details. All rights reserved. Use of this source code is governed by a | 11423 // for details. All rights reserved. Use of this source code is governed by a |
| 11380 // BSD-style license that can be found in the LICENSE file. | 11424 // BSD-style license that can be found in the LICENSE file. |
| 11381 | 11425 |
| 11382 // WARNING: Do not edit - generated code. | 11426 // WARNING: Do not edit - generated code. |
| 11383 | 11427 |
| 11428 interface WebGLShaderPrecisionFormat { |
| 11429 |
| 11430 final int precision; |
| 11431 |
| 11432 final int rangeMax; |
| 11433 |
| 11434 final int rangeMin; |
| 11435 } |
| 11436 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 11437 // for details. All rights reserved. Use of this source code is governed by a |
| 11438 // BSD-style license that can be found in the LICENSE file. |
| 11439 |
| 11440 // WARNING: Do not edit - generated code. |
| 11441 |
| 11384 interface WebGLTexture { | 11442 interface WebGLTexture { |
| 11385 } | 11443 } |
| 11386 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 11444 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 11387 // for details. All rights reserved. Use of this source code is governed by a | 11445 // for details. All rights reserved. Use of this source code is governed by a |
| 11388 // BSD-style license that can be found in the LICENSE file. | 11446 // BSD-style license that can be found in the LICENSE file. |
| 11389 | 11447 |
| 11390 // WARNING: Do not edit - generated code. | 11448 // WARNING: Do not edit - generated code. |
| 11391 | 11449 |
| 11392 interface WebGLUniformLocation { | 11450 interface WebGLUniformLocation { |
| 11393 } | 11451 } |
| (...skipping 424 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11818 void clearInterval(int handle); | 11876 void clearInterval(int handle); |
| 11819 | 11877 |
| 11820 void clearTimeout(int handle); | 11878 void clearTimeout(int handle); |
| 11821 | 11879 |
| 11822 void close(); | 11880 void close(); |
| 11823 | 11881 |
| 11824 bool dispatchEvent(Event evt); | 11882 bool dispatchEvent(Event evt); |
| 11825 | 11883 |
| 11826 void importScripts(); | 11884 void importScripts(); |
| 11827 | 11885 |
| 11886 Database openDatabase(String name, String version, String displayName, int est
imatedSize, [DatabaseCallback creationCallback]); |
| 11887 |
| 11888 DatabaseSync openDatabaseSync(String name, String version, String displayName,
int estimatedSize, [DatabaseCallback creationCallback]); |
| 11889 |
| 11828 void removeEventListener(String type, EventListener listener, [bool useCapture
]); | 11890 void removeEventListener(String type, EventListener listener, [bool useCapture
]); |
| 11829 | 11891 |
| 11830 int setInterval(TimeoutHandler handler, int timeout); | 11892 int setInterval(TimeoutHandler handler, int timeout); |
| 11831 | 11893 |
| 11832 int setTimeout(TimeoutHandler handler, int timeout); | 11894 int setTimeout(TimeoutHandler handler, int timeout); |
| 11833 | 11895 |
| 11834 void webkitRequestFileSystem(int type, int size, [FileSystemCallback successCa
llback, ErrorCallback errorCallback]); | 11896 void webkitRequestFileSystem(int type, int size, [FileSystemCallback successCa
llback, ErrorCallback errorCallback]); |
| 11835 | 11897 |
| 11836 DOMFileSystemSync webkitRequestFileSystemSync(int type, int size); | 11898 DOMFileSystemSync webkitRequestFileSystemSync(int type, int size); |
| 11837 | 11899 |
| (...skipping 947 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 12785 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 12847 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 12786 // for details. All rights reserved. Use of this source code is governed by a | 12848 // for details. All rights reserved. Use of this source code is governed by a |
| 12787 // BSD-style license that can be found in the LICENSE file. | 12849 // BSD-style license that can be found in the LICENSE file. |
| 12788 | 12850 |
| 12789 Window get window() => _dummy(); | 12851 Window get window() => _dummy(); |
| 12790 | 12852 |
| 12791 // TODO(vsm): Remove when prefixes are supported. | 12853 // TODO(vsm): Remove when prefixes are supported. |
| 12792 Window get dom_window() => _dummy(); | 12854 Window get dom_window() => _dummy(); |
| 12793 | 12855 |
| 12794 Document get document() => _dummy(); | 12856 Document get document() => _dummy(); |
| OLD | NEW |