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