| OLD | NEW |
| 1 #library('dom'); | 1 #library('dom'); |
| 2 | 2 |
| 3 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 3 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 4 // for details. All rights reserved. Use of this source code is governed by a | 4 // for details. All rights reserved. Use of this source code is governed by a |
| 5 // BSD-style license that can be found in the LICENSE file. | 5 // BSD-style license that can be found in the LICENSE file. |
| 6 | 6 |
| 7 // DO NOT EDIT | 7 // DO NOT EDIT |
| 8 // Auto-generated Dart DOM library. | 8 // Auto-generated Dart DOM library. |
| 9 | 9 |
| 10 | 10 |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 135 _DelayNodeJs createDelayNode([num maxDelayTime = null]) native; | 135 _DelayNodeJs createDelayNode([num maxDelayTime = null]) native; |
| 136 | 136 |
| 137 _DynamicsCompressorNodeJs createDynamicsCompressor() native; | 137 _DynamicsCompressorNodeJs createDynamicsCompressor() native; |
| 138 | 138 |
| 139 _AudioGainNodeJs createGainNode() native; | 139 _AudioGainNodeJs createGainNode() native; |
| 140 | 140 |
| 141 _JavaScriptAudioNodeJs createJavaScriptNode(int bufferSize) native; | 141 _JavaScriptAudioNodeJs createJavaScriptNode(int bufferSize) native; |
| 142 | 142 |
| 143 _MediaElementAudioSourceNodeJs createMediaElementSource(_HTMLMediaElementJs me
diaElement) native; | 143 _MediaElementAudioSourceNodeJs createMediaElementSource(_HTMLMediaElementJs me
diaElement) native; |
| 144 | 144 |
| 145 _OscillatorJs createOscillator() native; |
| 146 |
| 145 _AudioPannerNodeJs createPanner() native; | 147 _AudioPannerNodeJs createPanner() native; |
| 146 | 148 |
| 147 _WaveShaperNodeJs createWaveShaper() native; | 149 _WaveShaperNodeJs createWaveShaper() native; |
| 148 | 150 |
| 151 _WaveTableJs createWaveTable(_Float32ArrayJs real, _Float32ArrayJs imag) nativ
e; |
| 152 |
| 149 void decodeAudioData(_ArrayBufferJs audioData, AudioBufferCallback successCall
back, [AudioBufferCallback errorCallback = null]) native; | 153 void decodeAudioData(_ArrayBufferJs audioData, AudioBufferCallback successCall
back, [AudioBufferCallback errorCallback = null]) native; |
| 150 | 154 |
| 151 void startRendering() native; | 155 void startRendering() native; |
| 152 } | 156 } |
| 153 | 157 |
| 154 class _AudioDestinationNodeJs extends _AudioNodeJs implements AudioDestinationNo
de native "*AudioDestinationNode" { | 158 class _AudioDestinationNodeJs extends _AudioNodeJs implements AudioDestinationNo
de native "*AudioDestinationNode" { |
| 155 | 159 |
| 156 final int numberOfChannels; | 160 final int numberOfChannels; |
| 157 } | 161 } |
| 158 | 162 |
| (...skipping 1186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1345 _DOMSelectionJs getSelection() native; | 1349 _DOMSelectionJs getSelection() native; |
| 1346 | 1350 |
| 1347 _MediaQueryListJs matchMedia(String query) native; | 1351 _MediaQueryListJs matchMedia(String query) native; |
| 1348 | 1352 |
| 1349 void moveBy(num x, num y) native; | 1353 void moveBy(num x, num y) native; |
| 1350 | 1354 |
| 1351 void moveTo(num x, num y) native; | 1355 void moveTo(num x, num y) native; |
| 1352 | 1356 |
| 1353 _DOMWindowJs open(String url, String name, [String options = null]) native; | 1357 _DOMWindowJs open(String url, String name, [String options = null]) native; |
| 1354 | 1358 |
| 1359 _DatabaseJs openDatabase(String name, String version, String displayName, int
estimatedSize, [DatabaseCallback creationCallback = null]) native; |
| 1360 |
| 1355 void postMessage(Dynamic message, String targetOrigin, [List messagePorts = nu
ll]) native; | 1361 void postMessage(Dynamic message, String targetOrigin, [List messagePorts = nu
ll]) native; |
| 1356 | 1362 |
| 1357 void print() native; | 1363 void print() native; |
| 1358 | 1364 |
| 1359 String prompt(String message, String defaultValue) native; | 1365 String prompt(String message, String defaultValue) native; |
| 1360 | 1366 |
| 1361 void releaseEvents() native; | 1367 void releaseEvents() native; |
| 1362 | 1368 |
| 1363 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | 1369 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; |
| 1364 | 1370 |
| (...skipping 438 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1803 final int childElementCount; | 1809 final int childElementCount; |
| 1804 | 1810 |
| 1805 final int clientHeight; | 1811 final int clientHeight; |
| 1806 | 1812 |
| 1807 final int clientLeft; | 1813 final int clientLeft; |
| 1808 | 1814 |
| 1809 final int clientTop; | 1815 final int clientTop; |
| 1810 | 1816 |
| 1811 final int clientWidth; | 1817 final int clientWidth; |
| 1812 | 1818 |
| 1819 final Map<String, String> dataset; |
| 1820 |
| 1813 final _ElementJs firstElementChild; | 1821 final _ElementJs firstElementChild; |
| 1814 | 1822 |
| 1815 final _ElementJs lastElementChild; | 1823 final _ElementJs lastElementChild; |
| 1816 | 1824 |
| 1817 final _ElementJs nextElementSibling; | 1825 final _ElementJs nextElementSibling; |
| 1818 | 1826 |
| 1819 final int offsetHeight; | 1827 final int offsetHeight; |
| 1820 | 1828 |
| 1821 final int offsetLeft; | 1829 final int offsetLeft; |
| 1822 | 1830 |
| (...skipping 3751 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5574 | 5582 |
| 5575 final int code; | 5583 final int code; |
| 5576 | 5584 |
| 5577 final String message; | 5585 final String message; |
| 5578 | 5586 |
| 5579 final String name; | 5587 final String name; |
| 5580 | 5588 |
| 5581 String toString() native; | 5589 String toString() native; |
| 5582 } | 5590 } |
| 5583 | 5591 |
| 5592 class _OscillatorJs extends _AudioSourceNodeJs implements Oscillator native "*Os
cillator" { |
| 5593 |
| 5594 static final int CUSTOM = 4; |
| 5595 |
| 5596 static final int SAWTOOTH = 2; |
| 5597 |
| 5598 static final int SINE = 0; |
| 5599 |
| 5600 static final int SQUARE = 1; |
| 5601 |
| 5602 static final int TRIANGLE = 3; |
| 5603 |
| 5604 final _AudioParamJs detune; |
| 5605 |
| 5606 final _AudioParamJs frequency; |
| 5607 |
| 5608 int type; |
| 5609 |
| 5610 void setWaveTable(_WaveTableJs waveTable) native; |
| 5611 } |
| 5612 |
| 5584 class _OverflowEventJs extends _EventJs implements OverflowEvent native "*Overfl
owEvent" { | 5613 class _OverflowEventJs extends _EventJs implements OverflowEvent native "*Overfl
owEvent" { |
| 5585 | 5614 |
| 5586 static final int BOTH = 2; | 5615 static final int BOTH = 2; |
| 5587 | 5616 |
| 5588 static final int HORIZONTAL = 0; | 5617 static final int HORIZONTAL = 0; |
| 5589 | 5618 |
| 5590 static final int VERTICAL = 1; | 5619 static final int VERTICAL = 1; |
| 5591 | 5620 |
| 5592 final bool horizontalOverflow; | 5621 final bool horizontalOverflow; |
| 5593 | 5622 |
| (...skipping 4700 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10294 final bool valid; | 10323 final bool valid; |
| 10295 | 10324 |
| 10296 final bool valueMissing; | 10325 final bool valueMissing; |
| 10297 } | 10326 } |
| 10298 | 10327 |
| 10299 class _WaveShaperNodeJs extends _AudioNodeJs implements WaveShaperNode native "*
WaveShaperNode" { | 10328 class _WaveShaperNodeJs extends _AudioNodeJs implements WaveShaperNode native "*
WaveShaperNode" { |
| 10300 | 10329 |
| 10301 _Float32ArrayJs curve; | 10330 _Float32ArrayJs curve; |
| 10302 } | 10331 } |
| 10303 | 10332 |
| 10333 class _WaveTableJs extends _DOMTypeJs implements WaveTable native "*WaveTable" { |
| 10334 } |
| 10335 |
| 10304 class _WebGLActiveInfoJs extends _DOMTypeJs implements WebGLActiveInfo native "*
WebGLActiveInfo" { | 10336 class _WebGLActiveInfoJs extends _DOMTypeJs implements WebGLActiveInfo native "*
WebGLActiveInfo" { |
| 10305 | 10337 |
| 10306 final String name; | 10338 final String name; |
| 10307 | 10339 |
| 10308 final int size; | 10340 final int size; |
| 10309 | 10341 |
| 10310 final int type; | 10342 final int type; |
| 10311 } | 10343 } |
| 10312 | 10344 |
| 10313 class _WebGLBufferJs extends _DOMTypeJs implements WebGLBuffer native "*WebGLBuf
fer" { | 10345 class _WebGLBufferJs extends _DOMTypeJs implements WebGLBuffer native "*WebGLBuf
fer" { |
| (...skipping 787 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11101 String getProgramInfoLog(_WebGLProgramJs program) native; | 11133 String getProgramInfoLog(_WebGLProgramJs program) native; |
| 11102 | 11134 |
| 11103 Object getProgramParameter(_WebGLProgramJs program, int pname) native; | 11135 Object getProgramParameter(_WebGLProgramJs program, int pname) native; |
| 11104 | 11136 |
| 11105 Object getRenderbufferParameter(int target, int pname) native; | 11137 Object getRenderbufferParameter(int target, int pname) native; |
| 11106 | 11138 |
| 11107 String getShaderInfoLog(_WebGLShaderJs shader) native; | 11139 String getShaderInfoLog(_WebGLShaderJs shader) native; |
| 11108 | 11140 |
| 11109 Object getShaderParameter(_WebGLShaderJs shader, int pname) native; | 11141 Object getShaderParameter(_WebGLShaderJs shader, int pname) native; |
| 11110 | 11142 |
| 11143 _WebGLShaderPrecisionFormatJs getShaderPrecisionFormat(int shadertype, int pre
cisiontype) native; |
| 11144 |
| 11111 String getShaderSource(_WebGLShaderJs shader) native; | 11145 String getShaderSource(_WebGLShaderJs shader) native; |
| 11112 | 11146 |
| 11113 Object getTexParameter(int target, int pname) native; | 11147 Object getTexParameter(int target, int pname) native; |
| 11114 | 11148 |
| 11115 Object getUniform(_WebGLProgramJs program, _WebGLUniformLocationJs location) n
ative; | 11149 Object getUniform(_WebGLProgramJs program, _WebGLUniformLocationJs location) n
ative; |
| 11116 | 11150 |
| 11117 _WebGLUniformLocationJs getUniformLocation(_WebGLProgramJs program, String nam
e) native; | 11151 _WebGLUniformLocationJs getUniformLocation(_WebGLProgramJs program, String nam
e) native; |
| 11118 | 11152 |
| 11119 Object getVertexAttrib(int index, int pname) native; | 11153 Object getVertexAttrib(int index, int pname) native; |
| 11120 | 11154 |
| (...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11237 void vertexAttrib4fv(int indx, _Float32ArrayJs values) native; | 11271 void vertexAttrib4fv(int indx, _Float32ArrayJs values) native; |
| 11238 | 11272 |
| 11239 void vertexAttribPointer(int indx, int size, int type, bool normalized, int st
ride, int offset) native; | 11273 void vertexAttribPointer(int indx, int size, int type, bool normalized, int st
ride, int offset) native; |
| 11240 | 11274 |
| 11241 void viewport(int x, int y, int width, int height) native; | 11275 void viewport(int x, int y, int width, int height) native; |
| 11242 } | 11276 } |
| 11243 | 11277 |
| 11244 class _WebGLShaderJs extends _DOMTypeJs implements WebGLShader native "*WebGLSha
der" { | 11278 class _WebGLShaderJs extends _DOMTypeJs implements WebGLShader native "*WebGLSha
der" { |
| 11245 } | 11279 } |
| 11246 | 11280 |
| 11281 class _WebGLShaderPrecisionFormatJs extends _DOMTypeJs implements WebGLShaderPre
cisionFormat native "*WebGLShaderPrecisionFormat" { |
| 11282 |
| 11283 final int precision; |
| 11284 |
| 11285 final int rangeMax; |
| 11286 |
| 11287 final int rangeMin; |
| 11288 } |
| 11289 |
| 11247 class _WebGLTextureJs extends _DOMTypeJs implements WebGLTexture native "*WebGLT
exture" { | 11290 class _WebGLTextureJs extends _DOMTypeJs implements WebGLTexture native "*WebGLT
exture" { |
| 11248 } | 11291 } |
| 11249 | 11292 |
| 11250 class _WebGLUniformLocationJs extends _DOMTypeJs implements WebGLUniformLocation
native "*WebGLUniformLocation" { | 11293 class _WebGLUniformLocationJs extends _DOMTypeJs implements WebGLUniformLocation
native "*WebGLUniformLocation" { |
| 11251 } | 11294 } |
| 11252 | 11295 |
| 11253 class _WebGLVertexArrayObjectOESJs extends _DOMTypeJs implements WebGLVertexArra
yObjectOES native "*WebGLVertexArrayObjectOES" { | 11296 class _WebGLVertexArrayObjectOESJs extends _DOMTypeJs implements WebGLVertexArra
yObjectOES native "*WebGLVertexArrayObjectOES" { |
| 11254 } | 11297 } |
| 11255 | 11298 |
| 11256 class _WebKitAnimationJs extends _DOMTypeJs implements WebKitAnimation native "*
WebKitAnimation" { | 11299 class _WebKitAnimationJs extends _DOMTypeJs implements WebKitAnimation native "*
WebKitAnimation" { |
| (...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11580 void clearInterval(int handle) native; | 11623 void clearInterval(int handle) native; |
| 11581 | 11624 |
| 11582 void clearTimeout(int handle) native; | 11625 void clearTimeout(int handle) native; |
| 11583 | 11626 |
| 11584 void close() native; | 11627 void close() native; |
| 11585 | 11628 |
| 11586 bool dispatchEvent(_EventJs evt) native; | 11629 bool dispatchEvent(_EventJs evt) native; |
| 11587 | 11630 |
| 11588 void importScripts() native; | 11631 void importScripts() native; |
| 11589 | 11632 |
| 11633 _DatabaseJs openDatabase(String name, String version, String displayName, int
estimatedSize, [DatabaseCallback creationCallback = null]) native; |
| 11634 |
| 11635 _DatabaseSyncJs openDatabaseSync(String name, String version, String displayNa
me, int estimatedSize, [DatabaseCallback creationCallback = null]) native; |
| 11636 |
| 11590 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | 11637 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; |
| 11591 | 11638 |
| 11592 int setInterval(TimeoutHandler handler, int timeout) native; | 11639 int setInterval(TimeoutHandler handler, int timeout) native; |
| 11593 | 11640 |
| 11594 int setTimeout(TimeoutHandler handler, int timeout) native; | 11641 int setTimeout(TimeoutHandler handler, int timeout) native; |
| 11595 | 11642 |
| 11596 void webkitRequestFileSystem(int type, int size, [FileSystemCallback successCa
llback = null, ErrorCallback errorCallback = null]) native; | 11643 void webkitRequestFileSystem(int type, int size, [FileSystemCallback successCa
llback = null, ErrorCallback errorCallback = null]) native; |
| 11597 | 11644 |
| 11598 _DOMFileSystemSyncJs webkitRequestFileSystemSync(int type, int size) native; | 11645 _DOMFileSystemSyncJs webkitRequestFileSystemSync(int type, int size) native; |
| 11599 | 11646 |
| (...skipping 634 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 12234 DelayNode createDelayNode([num maxDelayTime]); | 12281 DelayNode createDelayNode([num maxDelayTime]); |
| 12235 | 12282 |
| 12236 DynamicsCompressorNode createDynamicsCompressor(); | 12283 DynamicsCompressorNode createDynamicsCompressor(); |
| 12237 | 12284 |
| 12238 AudioGainNode createGainNode(); | 12285 AudioGainNode createGainNode(); |
| 12239 | 12286 |
| 12240 JavaScriptAudioNode createJavaScriptNode(int bufferSize); | 12287 JavaScriptAudioNode createJavaScriptNode(int bufferSize); |
| 12241 | 12288 |
| 12242 MediaElementAudioSourceNode createMediaElementSource(HTMLMediaElement mediaEle
ment); | 12289 MediaElementAudioSourceNode createMediaElementSource(HTMLMediaElement mediaEle
ment); |
| 12243 | 12290 |
| 12291 Oscillator createOscillator(); |
| 12292 |
| 12244 AudioPannerNode createPanner(); | 12293 AudioPannerNode createPanner(); |
| 12245 | 12294 |
| 12246 WaveShaperNode createWaveShaper(); | 12295 WaveShaperNode createWaveShaper(); |
| 12247 | 12296 |
| 12297 WaveTable createWaveTable(Float32Array real, Float32Array imag); |
| 12298 |
| 12248 void decodeAudioData(ArrayBuffer audioData, AudioBufferCallback successCallbac
k, [AudioBufferCallback errorCallback]); | 12299 void decodeAudioData(ArrayBuffer audioData, AudioBufferCallback successCallbac
k, [AudioBufferCallback errorCallback]); |
| 12249 | 12300 |
| 12250 void startRendering(); | 12301 void startRendering(); |
| 12251 } | 12302 } |
| 12252 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 12303 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 12253 // for details. All rights reserved. Use of this source code is governed by a | 12304 // for details. All rights reserved. Use of this source code is governed by a |
| 12254 // BSD-style license that can be found in the LICENSE file. | 12305 // BSD-style license that can be found in the LICENSE file. |
| 12255 | 12306 |
| 12256 // WARNING: Do not edit - generated code. | 12307 // WARNING: Do not edit - generated code. |
| 12257 | 12308 |
| (...skipping 1416 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 13674 DOMSelection getSelection(); | 13725 DOMSelection getSelection(); |
| 13675 | 13726 |
| 13676 MediaQueryList matchMedia(String query); | 13727 MediaQueryList matchMedia(String query); |
| 13677 | 13728 |
| 13678 void moveBy(num x, num y); | 13729 void moveBy(num x, num y); |
| 13679 | 13730 |
| 13680 void moveTo(num x, num y); | 13731 void moveTo(num x, num y); |
| 13681 | 13732 |
| 13682 DOMWindow open(String url, String name, [String options]); | 13733 DOMWindow open(String url, String name, [String options]); |
| 13683 | 13734 |
| 13735 Database openDatabase(String name, String version, String displayName, int est
imatedSize, [DatabaseCallback creationCallback]); |
| 13736 |
| 13684 void postMessage(Dynamic message, String targetOrigin, [List messagePorts]); | 13737 void postMessage(Dynamic message, String targetOrigin, [List messagePorts]); |
| 13685 | 13738 |
| 13686 void print(); | 13739 void print(); |
| 13687 | 13740 |
| 13688 String prompt(String message, String defaultValue); | 13741 String prompt(String message, String defaultValue); |
| 13689 | 13742 |
| 13690 void releaseEvents(); | 13743 void releaseEvents(); |
| 13691 | 13744 |
| 13692 void removeEventListener(String type, EventListener listener, [bool useCapture
]); | 13745 void removeEventListener(String type, EventListener listener, [bool useCapture
]); |
| 13693 | 13746 |
| (...skipping 551 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 14245 final int childElementCount; | 14298 final int childElementCount; |
| 14246 | 14299 |
| 14247 final int clientHeight; | 14300 final int clientHeight; |
| 14248 | 14301 |
| 14249 final int clientLeft; | 14302 final int clientLeft; |
| 14250 | 14303 |
| 14251 final int clientTop; | 14304 final int clientTop; |
| 14252 | 14305 |
| 14253 final int clientWidth; | 14306 final int clientWidth; |
| 14254 | 14307 |
| 14308 final Map<String, String> dataset; |
| 14309 |
| 14255 final Element firstElementChild; | 14310 final Element firstElementChild; |
| 14256 | 14311 |
| 14257 final Element lastElementChild; | 14312 final Element lastElementChild; |
| 14258 | 14313 |
| 14259 final Element nextElementSibling; | 14314 final Element nextElementSibling; |
| 14260 | 14315 |
| 14261 final int offsetHeight; | 14316 final int offsetHeight; |
| 14262 | 14317 |
| 14263 final int offsetLeft; | 14318 final int offsetLeft; |
| 14264 | 14319 |
| (...skipping 3942 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 18207 final String name; | 18262 final String name; |
| 18208 | 18263 |
| 18209 String toString(); | 18264 String toString(); |
| 18210 } | 18265 } |
| 18211 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18266 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18212 // for details. All rights reserved. Use of this source code is governed by a | 18267 // for details. All rights reserved. Use of this source code is governed by a |
| 18213 // BSD-style license that can be found in the LICENSE file. | 18268 // BSD-style license that can be found in the LICENSE file. |
| 18214 | 18269 |
| 18215 // WARNING: Do not edit - generated code. | 18270 // WARNING: Do not edit - generated code. |
| 18216 | 18271 |
| 18272 interface Oscillator extends AudioSourceNode { |
| 18273 |
| 18274 static final int CUSTOM = 4; |
| 18275 |
| 18276 static final int SAWTOOTH = 2; |
| 18277 |
| 18278 static final int SINE = 0; |
| 18279 |
| 18280 static final int SQUARE = 1; |
| 18281 |
| 18282 static final int TRIANGLE = 3; |
| 18283 |
| 18284 final AudioParam detune; |
| 18285 |
| 18286 final AudioParam frequency; |
| 18287 |
| 18288 int type; |
| 18289 |
| 18290 void setWaveTable(WaveTable waveTable); |
| 18291 } |
| 18292 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18293 // for details. All rights reserved. Use of this source code is governed by a |
| 18294 // BSD-style license that can be found in the LICENSE file. |
| 18295 |
| 18296 // WARNING: Do not edit - generated code. |
| 18297 |
| 18217 interface OverflowEvent extends Event { | 18298 interface OverflowEvent extends Event { |
| 18218 | 18299 |
| 18219 static final int BOTH = 2; | 18300 static final int BOTH = 2; |
| 18220 | 18301 |
| 18221 static final int HORIZONTAL = 0; | 18302 static final int HORIZONTAL = 0; |
| 18222 | 18303 |
| 18223 static final int VERTICAL = 1; | 18304 static final int VERTICAL = 1; |
| 18224 | 18305 |
| 18225 final bool horizontalOverflow; | 18306 final bool horizontalOverflow; |
| 18226 | 18307 |
| (...skipping 4001 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 22228 interface WaveShaperNode extends AudioNode { | 22309 interface WaveShaperNode extends AudioNode { |
| 22229 | 22310 |
| 22230 Float32Array curve; | 22311 Float32Array curve; |
| 22231 } | 22312 } |
| 22232 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 22313 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22233 // for details. All rights reserved. Use of this source code is governed by a | 22314 // for details. All rights reserved. Use of this source code is governed by a |
| 22234 // BSD-style license that can be found in the LICENSE file. | 22315 // BSD-style license that can be found in the LICENSE file. |
| 22235 | 22316 |
| 22236 // WARNING: Do not edit - generated code. | 22317 // WARNING: Do not edit - generated code. |
| 22237 | 22318 |
| 22319 interface WaveTable { |
| 22320 } |
| 22321 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22322 // for details. All rights reserved. Use of this source code is governed by a |
| 22323 // BSD-style license that can be found in the LICENSE file. |
| 22324 |
| 22325 // WARNING: Do not edit - generated code. |
| 22326 |
| 22238 interface WebGLActiveInfo { | 22327 interface WebGLActiveInfo { |
| 22239 | 22328 |
| 22240 final String name; | 22329 final String name; |
| 22241 | 22330 |
| 22242 final int size; | 22331 final int size; |
| 22243 | 22332 |
| 22244 final int type; | 22333 final int type; |
| 22245 } | 22334 } |
| 22246 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 22335 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22247 // for details. All rights reserved. Use of this source code is governed by a | 22336 // 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... |
| 23090 String getProgramInfoLog(WebGLProgram program); | 23179 String getProgramInfoLog(WebGLProgram program); |
| 23091 | 23180 |
| 23092 Object getProgramParameter(WebGLProgram program, int pname); | 23181 Object getProgramParameter(WebGLProgram program, int pname); |
| 23093 | 23182 |
| 23094 Object getRenderbufferParameter(int target, int pname); | 23183 Object getRenderbufferParameter(int target, int pname); |
| 23095 | 23184 |
| 23096 String getShaderInfoLog(WebGLShader shader); | 23185 String getShaderInfoLog(WebGLShader shader); |
| 23097 | 23186 |
| 23098 Object getShaderParameter(WebGLShader shader, int pname); | 23187 Object getShaderParameter(WebGLShader shader, int pname); |
| 23099 | 23188 |
| 23189 WebGLShaderPrecisionFormat getShaderPrecisionFormat(int shadertype, int precis
iontype); |
| 23190 |
| 23100 String getShaderSource(WebGLShader shader); | 23191 String getShaderSource(WebGLShader shader); |
| 23101 | 23192 |
| 23102 Object getTexParameter(int target, int pname); | 23193 Object getTexParameter(int target, int pname); |
| 23103 | 23194 |
| 23104 Object getUniform(WebGLProgram program, WebGLUniformLocation location); | 23195 Object getUniform(WebGLProgram program, WebGLUniformLocation location); |
| 23105 | 23196 |
| 23106 WebGLUniformLocation getUniformLocation(WebGLProgram program, String name); | 23197 WebGLUniformLocation getUniformLocation(WebGLProgram program, String name); |
| 23107 | 23198 |
| 23108 Object getVertexAttrib(int index, int pname); | 23199 Object getVertexAttrib(int index, int pname); |
| 23109 | 23200 |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 23236 // WARNING: Do not edit - generated code. | 23327 // WARNING: Do not edit - generated code. |
| 23237 | 23328 |
| 23238 interface WebGLShader { | 23329 interface WebGLShader { |
| 23239 } | 23330 } |
| 23240 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 23331 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23241 // for details. All rights reserved. Use of this source code is governed by a | 23332 // for details. All rights reserved. Use of this source code is governed by a |
| 23242 // BSD-style license that can be found in the LICENSE file. | 23333 // BSD-style license that can be found in the LICENSE file. |
| 23243 | 23334 |
| 23244 // WARNING: Do not edit - generated code. | 23335 // WARNING: Do not edit - generated code. |
| 23245 | 23336 |
| 23337 interface WebGLShaderPrecisionFormat { |
| 23338 |
| 23339 final int precision; |
| 23340 |
| 23341 final int rangeMax; |
| 23342 |
| 23343 final int rangeMin; |
| 23344 } |
| 23345 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23346 // for details. All rights reserved. Use of this source code is governed by a |
| 23347 // BSD-style license that can be found in the LICENSE file. |
| 23348 |
| 23349 // WARNING: Do not edit - generated code. |
| 23350 |
| 23246 interface WebGLTexture { | 23351 interface WebGLTexture { |
| 23247 } | 23352 } |
| 23248 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 23353 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23249 // for details. All rights reserved. Use of this source code is governed by a | 23354 // for details. All rights reserved. Use of this source code is governed by a |
| 23250 // BSD-style license that can be found in the LICENSE file. | 23355 // BSD-style license that can be found in the LICENSE file. |
| 23251 | 23356 |
| 23252 // WARNING: Do not edit - generated code. | 23357 // WARNING: Do not edit - generated code. |
| 23253 | 23358 |
| 23254 interface WebGLUniformLocation { | 23359 interface WebGLUniformLocation { |
| 23255 } | 23360 } |
| (...skipping 424 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 23680 void clearInterval(int handle); | 23785 void clearInterval(int handle); |
| 23681 | 23786 |
| 23682 void clearTimeout(int handle); | 23787 void clearTimeout(int handle); |
| 23683 | 23788 |
| 23684 void close(); | 23789 void close(); |
| 23685 | 23790 |
| 23686 bool dispatchEvent(Event evt); | 23791 bool dispatchEvent(Event evt); |
| 23687 | 23792 |
| 23688 void importScripts(); | 23793 void importScripts(); |
| 23689 | 23794 |
| 23795 Database openDatabase(String name, String version, String displayName, int est
imatedSize, [DatabaseCallback creationCallback]); |
| 23796 |
| 23797 DatabaseSync openDatabaseSync(String name, String version, String displayName,
int estimatedSize, [DatabaseCallback creationCallback]); |
| 23798 |
| 23690 void removeEventListener(String type, EventListener listener, [bool useCapture
]); | 23799 void removeEventListener(String type, EventListener listener, [bool useCapture
]); |
| 23691 | 23800 |
| 23692 int setInterval(TimeoutHandler handler, int timeout); | 23801 int setInterval(TimeoutHandler handler, int timeout); |
| 23693 | 23802 |
| 23694 int setTimeout(TimeoutHandler handler, int timeout); | 23803 int setTimeout(TimeoutHandler handler, int timeout); |
| 23695 | 23804 |
| 23696 void webkitRequestFileSystem(int type, int size, [FileSystemCallback successCa
llback, ErrorCallback errorCallback]); | 23805 void webkitRequestFileSystem(int type, int size, [FileSystemCallback successCa
llback, ErrorCallback errorCallback]); |
| 23697 | 23806 |
| 23698 DOMFileSystemSync webkitRequestFileSystemSync(int type, int size); | 23807 DOMFileSystemSync webkitRequestFileSystemSync(int type, int size); |
| 23699 | 23808 |
| (...skipping 1223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 24923 if (length < 0) throw new IllegalArgumentException('length'); | 25032 if (length < 0) throw new IllegalArgumentException('length'); |
| 24924 if (start < 0) throw new IndexOutOfRangeException(start); | 25033 if (start < 0) throw new IndexOutOfRangeException(start); |
| 24925 int end = start + length; | 25034 int end = start + length; |
| 24926 if (end > a.length) throw new IndexOutOfRangeException(end); | 25035 if (end > a.length) throw new IndexOutOfRangeException(end); |
| 24927 for (int i = start; i < end; i++) { | 25036 for (int i = start; i < end; i++) { |
| 24928 accumulator.add(a[i]); | 25037 accumulator.add(a[i]); |
| 24929 } | 25038 } |
| 24930 return accumulator; | 25039 return accumulator; |
| 24931 } | 25040 } |
| 24932 } | 25041 } |
| OLD | NEW |