| OLD | NEW |
| 1 #library('html'); | 1 #library('html'); |
| 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:html library. | 8 // Auto-generated dart:html library. |
| 9 | 9 |
| 10 | 10 |
| (...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 304 _DelayNodeImpl createDelayNode([num maxDelayTime = null]) native; | 304 _DelayNodeImpl createDelayNode([num maxDelayTime = null]) native; |
| 305 | 305 |
| 306 _DynamicsCompressorNodeImpl createDynamicsCompressor() native; | 306 _DynamicsCompressorNodeImpl createDynamicsCompressor() native; |
| 307 | 307 |
| 308 _AudioGainNodeImpl createGainNode() native; | 308 _AudioGainNodeImpl createGainNode() native; |
| 309 | 309 |
| 310 _JavaScriptAudioNodeImpl createJavaScriptNode(int bufferSize) native; | 310 _JavaScriptAudioNodeImpl createJavaScriptNode(int bufferSize) native; |
| 311 | 311 |
| 312 _MediaElementAudioSourceNodeImpl createMediaElementSource(_MediaElementImpl me
diaElement) native; | 312 _MediaElementAudioSourceNodeImpl createMediaElementSource(_MediaElementImpl me
diaElement) native; |
| 313 | 313 |
| 314 _OscillatorImpl createOscillator() native; | |
| 315 | |
| 316 _AudioPannerNodeImpl createPanner() native; | 314 _AudioPannerNodeImpl createPanner() native; |
| 317 | 315 |
| 318 _WaveShaperNodeImpl createWaveShaper() native; | 316 _WaveShaperNodeImpl createWaveShaper() native; |
| 319 | 317 |
| 320 _WaveTableImpl createWaveTable(_Float32ArrayImpl real, _Float32ArrayImpl imag)
native; | |
| 321 | |
| 322 void decodeAudioData(_ArrayBufferImpl audioData, AudioBufferCallback successCa
llback, [AudioBufferCallback errorCallback = null]) native; | 318 void decodeAudioData(_ArrayBufferImpl audioData, AudioBufferCallback successCa
llback, [AudioBufferCallback errorCallback = null]) native; |
| 323 | 319 |
| 324 void startRendering() native; | 320 void startRendering() native; |
| 325 } | 321 } |
| 326 | 322 |
| 327 class _AudioDestinationNodeImpl extends _AudioNodeImpl implements AudioDestinati
onNode native "*AudioDestinationNode" { | 323 class _AudioDestinationNodeImpl extends _AudioNodeImpl implements AudioDestinati
onNode native "*AudioDestinationNode" { |
| 328 | 324 |
| 329 final int numberOfChannels; | 325 final int numberOfChannels; |
| 330 } | 326 } |
| 331 | 327 |
| (...skipping 9184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9516 | 9512 |
| 9517 final int index; | 9513 final int index; |
| 9518 | 9514 |
| 9519 String label; | 9515 String label; |
| 9520 | 9516 |
| 9521 bool selected; | 9517 bool selected; |
| 9522 | 9518 |
| 9523 String value; | 9519 String value; |
| 9524 } | 9520 } |
| 9525 | 9521 |
| 9526 class _OscillatorImpl extends _AudioSourceNodeImpl implements Oscillator native
"*Oscillator" { | |
| 9527 | |
| 9528 static final int CUSTOM = 4; | |
| 9529 | |
| 9530 static final int SAWTOOTH = 2; | |
| 9531 | |
| 9532 static final int SINE = 0; | |
| 9533 | |
| 9534 static final int SQUARE = 1; | |
| 9535 | |
| 9536 static final int TRIANGLE = 3; | |
| 9537 | |
| 9538 final _AudioParamImpl detune; | |
| 9539 | |
| 9540 final _AudioParamImpl frequency; | |
| 9541 | |
| 9542 int type; | |
| 9543 | |
| 9544 void setWaveTable(_WaveTableImpl waveTable) native; | |
| 9545 } | |
| 9546 | |
| 9547 class _OutputElementImpl extends _ElementImpl implements OutputElement native "*
HTMLOutputElement" { | 9522 class _OutputElementImpl extends _ElementImpl implements OutputElement native "*
HTMLOutputElement" { |
| 9548 | 9523 |
| 9549 String defaultValue; | 9524 String defaultValue; |
| 9550 | 9525 |
| 9551 final _FormElementImpl form; | 9526 final _FormElementImpl form; |
| 9552 | 9527 |
| 9553 _DOMSettableTokenListImpl htmlFor; | 9528 _DOMSettableTokenListImpl htmlFor; |
| 9554 | 9529 |
| 9555 final _NodeListImpl labels; | 9530 final _NodeListImpl labels; |
| 9556 | 9531 |
| (...skipping 5305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 14862 void webkitExitFullScreen() native; | 14837 void webkitExitFullScreen() native; |
| 14863 | 14838 |
| 14864 void webkitExitFullscreen() native; | 14839 void webkitExitFullscreen() native; |
| 14865 } | 14840 } |
| 14866 | 14841 |
| 14867 class _WaveShaperNodeImpl extends _AudioNodeImpl implements WaveShaperNode nativ
e "*WaveShaperNode" { | 14842 class _WaveShaperNodeImpl extends _AudioNodeImpl implements WaveShaperNode nativ
e "*WaveShaperNode" { |
| 14868 | 14843 |
| 14869 _Float32ArrayImpl curve; | 14844 _Float32ArrayImpl curve; |
| 14870 } | 14845 } |
| 14871 | 14846 |
| 14872 class _WaveTableImpl implements WaveTable native "*WaveTable" { | |
| 14873 } | |
| 14874 | |
| 14875 class _WebGLActiveInfoImpl implements WebGLActiveInfo native "*WebGLActiveInfo"
{ | 14847 class _WebGLActiveInfoImpl implements WebGLActiveInfo native "*WebGLActiveInfo"
{ |
| 14876 | 14848 |
| 14877 final String name; | 14849 final String name; |
| 14878 | 14850 |
| 14879 final int size; | 14851 final int size; |
| 14880 | 14852 |
| 14881 final int type; | 14853 final int type; |
| 14882 } | 14854 } |
| 14883 | 14855 |
| 14884 class _WebGLBufferImpl implements WebGLBuffer native "*WebGLBuffer" { | 14856 class _WebGLBufferImpl implements WebGLBuffer native "*WebGLBuffer" { |
| (...skipping 787 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 15672 String getProgramInfoLog(_WebGLProgramImpl program) native; | 15644 String getProgramInfoLog(_WebGLProgramImpl program) native; |
| 15673 | 15645 |
| 15674 Object getProgramParameter(_WebGLProgramImpl program, int pname) native; | 15646 Object getProgramParameter(_WebGLProgramImpl program, int pname) native; |
| 15675 | 15647 |
| 15676 Object getRenderbufferParameter(int target, int pname) native; | 15648 Object getRenderbufferParameter(int target, int pname) native; |
| 15677 | 15649 |
| 15678 String getShaderInfoLog(_WebGLShaderImpl shader) native; | 15650 String getShaderInfoLog(_WebGLShaderImpl shader) native; |
| 15679 | 15651 |
| 15680 Object getShaderParameter(_WebGLShaderImpl shader, int pname) native; | 15652 Object getShaderParameter(_WebGLShaderImpl shader, int pname) native; |
| 15681 | 15653 |
| 15682 _WebGLShaderPrecisionFormatImpl getShaderPrecisionFormat(int shadertype, int p
recisiontype) native; | |
| 15683 | |
| 15684 String getShaderSource(_WebGLShaderImpl shader) native; | 15654 String getShaderSource(_WebGLShaderImpl shader) native; |
| 15685 | 15655 |
| 15686 Object getTexParameter(int target, int pname) native; | 15656 Object getTexParameter(int target, int pname) native; |
| 15687 | 15657 |
| 15688 Object getUniform(_WebGLProgramImpl program, _WebGLUniformLocationImpl locatio
n) native; | 15658 Object getUniform(_WebGLProgramImpl program, _WebGLUniformLocationImpl locatio
n) native; |
| 15689 | 15659 |
| 15690 _WebGLUniformLocationImpl getUniformLocation(_WebGLProgramImpl program, String
name) native; | 15660 _WebGLUniformLocationImpl getUniformLocation(_WebGLProgramImpl program, String
name) native; |
| 15691 | 15661 |
| 15692 Object getVertexAttrib(int index, int pname) native; | 15662 Object getVertexAttrib(int index, int pname) native; |
| 15693 | 15663 |
| (...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 15810 void vertexAttrib4fv(int indx, _Float32ArrayImpl values) native; | 15780 void vertexAttrib4fv(int indx, _Float32ArrayImpl values) native; |
| 15811 | 15781 |
| 15812 void vertexAttribPointer(int indx, int size, int type, bool normalized, int st
ride, int offset) native; | 15782 void vertexAttribPointer(int indx, int size, int type, bool normalized, int st
ride, int offset) native; |
| 15813 | 15783 |
| 15814 void viewport(int x, int y, int width, int height) native; | 15784 void viewport(int x, int y, int width, int height) native; |
| 15815 } | 15785 } |
| 15816 | 15786 |
| 15817 class _WebGLShaderImpl implements WebGLShader native "*WebGLShader" { | 15787 class _WebGLShaderImpl implements WebGLShader native "*WebGLShader" { |
| 15818 } | 15788 } |
| 15819 | 15789 |
| 15820 class _WebGLShaderPrecisionFormatImpl implements WebGLShaderPrecisionFormat nati
ve "*WebGLShaderPrecisionFormat" { | |
| 15821 | |
| 15822 final int precision; | |
| 15823 | |
| 15824 final int rangeMax; | |
| 15825 | |
| 15826 final int rangeMin; | |
| 15827 } | |
| 15828 | |
| 15829 class _WebGLTextureImpl implements WebGLTexture native "*WebGLTexture" { | 15790 class _WebGLTextureImpl implements WebGLTexture native "*WebGLTexture" { |
| 15830 } | 15791 } |
| 15831 | 15792 |
| 15832 class _WebGLUniformLocationImpl implements WebGLUniformLocation native "*WebGLUn
iformLocation" { | 15793 class _WebGLUniformLocationImpl implements WebGLUniformLocation native "*WebGLUn
iformLocation" { |
| 15833 } | 15794 } |
| 15834 | 15795 |
| 15835 class _WebGLVertexArrayObjectOESImpl implements WebGLVertexArrayObjectOES native
"*WebGLVertexArrayObjectOES" { | 15796 class _WebGLVertexArrayObjectOESImpl implements WebGLVertexArrayObjectOES native
"*WebGLVertexArrayObjectOES" { |
| 15836 } | 15797 } |
| 15837 | 15798 |
| 15838 class _WebKitCSSRegionRuleImpl extends _CSSRuleImpl implements WebKitCSSRegionRu
le native "*WebKitCSSRegionRule" { | 15799 class _WebKitCSSRegionRuleImpl extends _CSSRuleImpl implements WebKitCSSRegionRu
le native "*WebKitCSSRegionRule" { |
| (...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 16089 _DOMSelectionImpl getSelection() native; | 16050 _DOMSelectionImpl getSelection() native; |
| 16090 | 16051 |
| 16091 _MediaQueryListImpl matchMedia(String query) native; | 16052 _MediaQueryListImpl matchMedia(String query) native; |
| 16092 | 16053 |
| 16093 void moveBy(num x, num y) native; | 16054 void moveBy(num x, num y) native; |
| 16094 | 16055 |
| 16095 void moveTo(num x, num y) native; | 16056 void moveTo(num x, num y) native; |
| 16096 | 16057 |
| 16097 _WindowImpl open(String url, String name, [String options = null]) native; | 16058 _WindowImpl open(String url, String name, [String options = null]) native; |
| 16098 | 16059 |
| 16099 _DatabaseImpl openDatabase(String name, String version, String displayName, in
t estimatedSize, [DatabaseCallback creationCallback = null]) native; | |
| 16100 | |
| 16101 void postMessage(Dynamic message, String targetOrigin, [List messagePorts = nu
ll]) native; | 16060 void postMessage(Dynamic message, String targetOrigin, [List messagePorts = nu
ll]) native; |
| 16102 | 16061 |
| 16103 void print() native; | 16062 void print() native; |
| 16104 | 16063 |
| 16105 String prompt(String message, String defaultValue) native; | 16064 String prompt(String message, String defaultValue) native; |
| 16106 | 16065 |
| 16107 void releaseEvents() native; | 16066 void releaseEvents() native; |
| 16108 | 16067 |
| 16109 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture = null]) native "removeEventListener"; | 16068 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture = null]) native "removeEventListener"; |
| 16110 | 16069 |
| (...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 16337 void clearInterval(int handle) native; | 16296 void clearInterval(int handle) native; |
| 16338 | 16297 |
| 16339 void clearTimeout(int handle) native; | 16298 void clearTimeout(int handle) native; |
| 16340 | 16299 |
| 16341 void close() native; | 16300 void close() native; |
| 16342 | 16301 |
| 16343 bool dispatchEvent(_EventImpl evt) native; | 16302 bool dispatchEvent(_EventImpl evt) native; |
| 16344 | 16303 |
| 16345 void importScripts() native; | 16304 void importScripts() native; |
| 16346 | 16305 |
| 16347 _DatabaseImpl openDatabase(String name, String version, String displayName, in
t estimatedSize, [DatabaseCallback creationCallback = null]) native; | |
| 16348 | |
| 16349 _DatabaseSyncImpl openDatabaseSync(String name, String version, String display
Name, int estimatedSize, [DatabaseCallback creationCallback = null]) native; | |
| 16350 | |
| 16351 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | 16306 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; |
| 16352 | 16307 |
| 16353 int setInterval(TimeoutHandler handler, int timeout) native; | 16308 int setInterval(TimeoutHandler handler, int timeout) native; |
| 16354 | 16309 |
| 16355 int setTimeout(TimeoutHandler handler, int timeout) native; | 16310 int setTimeout(TimeoutHandler handler, int timeout) native; |
| 16356 | 16311 |
| 16357 void webkitRequestFileSystem(int type, int size, [FileSystemCallback successCa
llback = null, ErrorCallback errorCallback = null]) native; | 16312 void webkitRequestFileSystem(int type, int size, [FileSystemCallback successCa
llback = null, ErrorCallback errorCallback = null]) native; |
| 16358 | 16313 |
| 16359 _DOMFileSystemSyncImpl webkitRequestFileSystemSync(int type, int size) native; | 16314 _DOMFileSystemSyncImpl webkitRequestFileSystemSync(int type, int size) native; |
| 16360 | 16315 |
| (...skipping 499 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 16860 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16815 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16861 // for details. All rights reserved. Use of this source code is governed by a | 16816 // for details. All rights reserved. Use of this source code is governed by a |
| 16862 // BSD-style license that can be found in the LICENSE file. | 16817 // BSD-style license that can be found in the LICENSE file. |
| 16863 | 16818 |
| 16864 // WARNING: Do not edit - generated code. | 16819 // WARNING: Do not edit - generated code. |
| 16865 | 16820 |
| 16866 interface AbstractWorker extends EventTarget { | 16821 interface AbstractWorker extends EventTarget { |
| 16867 | 16822 |
| 16868 AbstractWorkerEvents get on(); | 16823 AbstractWorkerEvents get on(); |
| 16869 | 16824 |
| 16825 /** @domName addEventListener */ |
| 16870 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]); | 16826 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]); |
| 16871 | 16827 |
| 16828 /** @domName dispatchEvent */ |
| 16872 bool $dom_dispatchEvent(Event evt); | 16829 bool $dom_dispatchEvent(Event evt); |
| 16873 | 16830 |
| 16831 /** @domName removeEventListener */ |
| 16874 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]); | 16832 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]); |
| 16875 } | 16833 } |
| 16876 | 16834 |
| 16877 interface AbstractWorkerEvents extends Events { | 16835 interface AbstractWorkerEvents extends Events { |
| 16878 | 16836 |
| 16879 EventListenerList get error(); | 16837 EventListenerList get error(); |
| 16880 } | 16838 } |
| 16881 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16839 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16882 // for details. All rights reserved. Use of this source code is governed by a | 16840 // for details. All rights reserved. Use of this source code is governed by a |
| 16883 // BSD-style license that can be found in the LICENSE file. | 16841 // BSD-style license that can be found in the LICENSE file. |
| (...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 17218 DelayNode createDelayNode([num maxDelayTime]); | 17176 DelayNode createDelayNode([num maxDelayTime]); |
| 17219 | 17177 |
| 17220 DynamicsCompressorNode createDynamicsCompressor(); | 17178 DynamicsCompressorNode createDynamicsCompressor(); |
| 17221 | 17179 |
| 17222 AudioGainNode createGainNode(); | 17180 AudioGainNode createGainNode(); |
| 17223 | 17181 |
| 17224 JavaScriptAudioNode createJavaScriptNode(int bufferSize); | 17182 JavaScriptAudioNode createJavaScriptNode(int bufferSize); |
| 17225 | 17183 |
| 17226 MediaElementAudioSourceNode createMediaElementSource(MediaElement mediaElement
); | 17184 MediaElementAudioSourceNode createMediaElementSource(MediaElement mediaElement
); |
| 17227 | 17185 |
| 17228 Oscillator createOscillator(); | |
| 17229 | |
| 17230 AudioPannerNode createPanner(); | 17186 AudioPannerNode createPanner(); |
| 17231 | 17187 |
| 17232 WaveShaperNode createWaveShaper(); | 17188 WaveShaperNode createWaveShaper(); |
| 17233 | 17189 |
| 17234 WaveTable createWaveTable(Float32Array real, Float32Array imag); | |
| 17235 | |
| 17236 void decodeAudioData(ArrayBuffer audioData, AudioBufferCallback successCallbac
k, [AudioBufferCallback errorCallback]); | 17190 void decodeAudioData(ArrayBuffer audioData, AudioBufferCallback successCallbac
k, [AudioBufferCallback errorCallback]); |
| 17237 | 17191 |
| 17238 void startRendering(); | 17192 void startRendering(); |
| 17239 } | 17193 } |
| 17240 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17194 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17241 // for details. All rights reserved. Use of this source code is governed by a | 17195 // for details. All rights reserved. Use of this source code is governed by a |
| 17242 // BSD-style license that can be found in the LICENSE file. | 17196 // BSD-style license that can be found in the LICENSE file. |
| 17243 | 17197 |
| 17244 // WARNING: Do not edit - generated code. | 17198 // WARNING: Do not edit - generated code. |
| 17245 | 17199 |
| (...skipping 3135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 20381 static final int OBSOLETE = 5; | 20335 static final int OBSOLETE = 5; |
| 20382 | 20336 |
| 20383 static final int UNCACHED = 0; | 20337 static final int UNCACHED = 0; |
| 20384 | 20338 |
| 20385 static final int UPDATEREADY = 4; | 20339 static final int UPDATEREADY = 4; |
| 20386 | 20340 |
| 20387 final int status; | 20341 final int status; |
| 20388 | 20342 |
| 20389 void abort(); | 20343 void abort(); |
| 20390 | 20344 |
| 20345 /** @domName addEventListener */ |
| 20391 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]); | 20346 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]); |
| 20392 | 20347 |
| 20348 /** @domName dispatchEvent */ |
| 20393 bool $dom_dispatchEvent(Event evt); | 20349 bool $dom_dispatchEvent(Event evt); |
| 20394 | 20350 |
| 20351 /** @domName removeEventListener */ |
| 20395 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]); | 20352 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]); |
| 20396 | 20353 |
| 20397 void swapCache(); | 20354 void swapCache(); |
| 20398 | 20355 |
| 20399 void update(); | 20356 void update(); |
| 20400 } | 20357 } |
| 20401 | 20358 |
| 20402 interface DOMApplicationCacheEvents extends Events { | 20359 interface DOMApplicationCacheEvents extends Events { |
| 20403 | 20360 |
| 20404 EventListenerList get cached(); | 20361 EventListenerList get cached(); |
| (...skipping 623 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 21028 DocumentEvents get on(); | 20985 DocumentEvents get on(); |
| 21029 | 20986 |
| 21030 final Element activeElement; | 20987 final Element activeElement; |
| 21031 | 20988 |
| 21032 Element body; | 20989 Element body; |
| 21033 | 20990 |
| 21034 String charset; | 20991 String charset; |
| 21035 | 20992 |
| 21036 String cookie; | 20993 String cookie; |
| 21037 | 20994 |
| 20995 /** @domName defaultView */ |
| 21038 final Window window; | 20996 final Window window; |
| 21039 | 20997 |
| 21040 final Element documentElement; | 20998 final Element documentElement; |
| 21041 | 20999 |
| 21042 final String domain; | 21000 final String domain; |
| 21043 | 21001 |
| 21044 final HeadElement head; | 21002 final HeadElement head; |
| 21045 | 21003 |
| 21046 final String lastModified; | 21004 final String lastModified; |
| 21047 | 21005 |
| (...skipping 22 matching lines...) Expand all Loading... |
| 21070 final bool webkitIsFullScreen; | 21028 final bool webkitIsFullScreen; |
| 21071 | 21029 |
| 21072 final String webkitVisibilityState; | 21030 final String webkitVisibilityState; |
| 21073 | 21031 |
| 21074 Range caretRangeFromPoint(int x, int y); | 21032 Range caretRangeFromPoint(int x, int y); |
| 21075 | 21033 |
| 21076 CDATASection createCDATASection(String data); | 21034 CDATASection createCDATASection(String data); |
| 21077 | 21035 |
| 21078 DocumentFragment createDocumentFragment(); | 21036 DocumentFragment createDocumentFragment(); |
| 21079 | 21037 |
| 21038 /** @domName createElement */ |
| 21080 Element $dom_createElement(String tagName); | 21039 Element $dom_createElement(String tagName); |
| 21081 | 21040 |
| 21041 /** @domName createElementNS */ |
| 21082 Element $dom_createElementNS(String namespaceURI, String qualifiedName); | 21042 Element $dom_createElementNS(String namespaceURI, String qualifiedName); |
| 21083 | 21043 |
| 21044 /** @domName createEvent */ |
| 21084 Event $dom_createEvent(String eventType); | 21045 Event $dom_createEvent(String eventType); |
| 21085 | 21046 |
| 21086 Range createRange(); | 21047 Range createRange(); |
| 21087 | 21048 |
| 21049 /** @domName createTextNode */ |
| 21088 Text $dom_createTextNode(String data); | 21050 Text $dom_createTextNode(String data); |
| 21089 | 21051 |
| 21090 Touch createTouch(Window window, EventTarget target, int identifier, int pageX
, int pageY, int screenX, int screenY, int webkitRadiusX, int webkitRadiusY, num
webkitRotationAngle, num webkitForce); | 21052 Touch createTouch(Window window, EventTarget target, int identifier, int pageX
, int pageY, int screenX, int screenY, int webkitRadiusX, int webkitRadiusY, num
webkitRotationAngle, num webkitForce); |
| 21091 | 21053 |
| 21054 /** @domName createTouchList */ |
| 21092 TouchList $dom_createTouchList(); | 21055 TouchList $dom_createTouchList(); |
| 21093 | 21056 |
| 21094 Element elementFromPoint(int x, int y); | 21057 Element elementFromPoint(int x, int y); |
| 21095 | 21058 |
| 21096 bool execCommand(String command, bool userInterface, String value); | 21059 bool execCommand(String command, bool userInterface, String value); |
| 21097 | 21060 |
| 21098 CanvasRenderingContext getCSSCanvasContext(String contextId, String name, int
width, int height); | 21061 CanvasRenderingContext getCSSCanvasContext(String contextId, String name, int
width, int height); |
| 21099 | 21062 |
| 21063 /** @domName getElementById */ |
| 21100 Element $dom_getElementById(String elementId); | 21064 Element $dom_getElementById(String elementId); |
| 21101 | 21065 |
| 21066 /** @domName getElementsByClassName */ |
| 21102 NodeList $dom_getElementsByClassName(String tagname); | 21067 NodeList $dom_getElementsByClassName(String tagname); |
| 21103 | 21068 |
| 21069 /** @domName getElementsByName */ |
| 21104 NodeList $dom_getElementsByName(String elementName); | 21070 NodeList $dom_getElementsByName(String elementName); |
| 21105 | 21071 |
| 21072 /** @domName getElementsByTagName */ |
| 21106 NodeList $dom_getElementsByTagName(String tagname); | 21073 NodeList $dom_getElementsByTagName(String tagname); |
| 21107 | 21074 |
| 21108 bool queryCommandEnabled(String command); | 21075 bool queryCommandEnabled(String command); |
| 21109 | 21076 |
| 21110 bool queryCommandIndeterm(String command); | 21077 bool queryCommandIndeterm(String command); |
| 21111 | 21078 |
| 21112 bool queryCommandState(String command); | 21079 bool queryCommandState(String command); |
| 21113 | 21080 |
| 21114 bool queryCommandSupported(String command); | 21081 bool queryCommandSupported(String command); |
| 21115 | 21082 |
| 21116 String queryCommandValue(String command); | 21083 String queryCommandValue(String command); |
| 21117 | 21084 |
| 21085 /** @domName querySelector */ |
| 21118 Element query(String selectors); | 21086 Element query(String selectors); |
| 21119 | 21087 |
| 21088 /** @domName querySelectorAll */ |
| 21120 NodeList $dom_querySelectorAll(String selectors); | 21089 NodeList $dom_querySelectorAll(String selectors); |
| 21121 | 21090 |
| 21122 void webkitCancelFullScreen(); | 21091 void webkitCancelFullScreen(); |
| 21123 | 21092 |
| 21124 void webkitExitFullscreen(); | 21093 void webkitExitFullscreen(); |
| 21125 | 21094 |
| 21126 WebKitNamedFlow webkitGetFlowByName(String name); | 21095 WebKitNamedFlow webkitGetFlowByName(String name); |
| 21127 | 21096 |
| 21128 } | 21097 } |
| 21129 | 21098 |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 21237 // /** WARNING: Currently this doesn't work on Dartium (issue 649). */ | 21206 // /** WARNING: Currently this doesn't work on Dartium (issue 649). */ |
| 21238 // DocumentFragment.xml(String xml); | 21207 // DocumentFragment.xml(String xml); |
| 21239 | 21208 |
| 21240 DocumentFragment.svg(String svg); | 21209 DocumentFragment.svg(String svg); |
| 21241 | 21210 |
| 21242 DocumentFragment clone(bool deep); | 21211 DocumentFragment clone(bool deep); |
| 21243 | 21212 |
| 21244 | 21213 |
| 21245 ElementEvents get on(); | 21214 ElementEvents get on(); |
| 21246 | 21215 |
| 21216 /** @domName querySelector */ |
| 21247 Element query(String selectors); | 21217 Element query(String selectors); |
| 21248 | 21218 |
| 21219 /** @domName querySelectorAll */ |
| 21249 NodeList $dom_querySelectorAll(String selectors); | 21220 NodeList $dom_querySelectorAll(String selectors); |
| 21250 | 21221 |
| 21251 } | 21222 } |
| 21252 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 21223 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 21253 // for details. All rights reserved. Use of this source code is governed by a | 21224 // for details. All rights reserved. Use of this source code is governed by a |
| 21254 // BSD-style license that can be found in the LICENSE file. | 21225 // BSD-style license that can be found in the LICENSE file. |
| 21255 | 21226 |
| 21256 // WARNING: Do not edit - generated code. | 21227 // WARNING: Do not edit - generated code. |
| 21257 | 21228 |
| 21258 interface DocumentType extends Node { | 21229 interface DocumentType extends Node { |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 21382 | 21353 |
| 21383 Element clone(bool deep); | 21354 Element clone(bool deep); |
| 21384 | 21355 |
| 21385 Element get parent(); | 21356 Element get parent(); |
| 21386 | 21357 |
| 21387 | 21358 |
| 21388 ElementEvents get on(); | 21359 ElementEvents get on(); |
| 21389 | 21360 |
| 21390 static final int ALLOW_KEYBOARD_INPUT = 1; | 21361 static final int ALLOW_KEYBOARD_INPUT = 1; |
| 21391 | 21362 |
| 21363 /** @domName childElementCount */ |
| 21392 final int $dom_childElementCount; | 21364 final int $dom_childElementCount; |
| 21393 | 21365 |
| 21366 /** @domName children */ |
| 21394 final HTMLCollection $dom_children; | 21367 final HTMLCollection $dom_children; |
| 21395 | 21368 |
| 21369 /** @domName className */ |
| 21396 String $dom_className; | 21370 String $dom_className; |
| 21397 | 21371 |
| 21372 /** @domName clientHeight */ |
| 21398 final int $dom_clientHeight; | 21373 final int $dom_clientHeight; |
| 21399 | 21374 |
| 21375 /** @domName clientLeft */ |
| 21400 final int $dom_clientLeft; | 21376 final int $dom_clientLeft; |
| 21401 | 21377 |
| 21378 /** @domName clientTop */ |
| 21402 final int $dom_clientTop; | 21379 final int $dom_clientTop; |
| 21403 | 21380 |
| 21381 /** @domName clientWidth */ |
| 21404 final int $dom_clientWidth; | 21382 final int $dom_clientWidth; |
| 21405 | 21383 |
| 21406 String contentEditable; | 21384 String contentEditable; |
| 21407 | 21385 |
| 21408 String dir; | 21386 String dir; |
| 21409 | 21387 |
| 21410 bool draggable; | 21388 bool draggable; |
| 21411 | 21389 |
| 21390 /** @domName firstElementChild */ |
| 21412 final Element $dom_firstElementChild; | 21391 final Element $dom_firstElementChild; |
| 21413 | 21392 |
| 21414 bool hidden; | 21393 bool hidden; |
| 21415 | 21394 |
| 21416 String id; | 21395 String id; |
| 21417 | 21396 |
| 21418 String innerHTML; | 21397 String innerHTML; |
| 21419 | 21398 |
| 21420 final bool isContentEditable; | 21399 final bool isContentEditable; |
| 21421 | 21400 |
| 21422 String lang; | 21401 String lang; |
| 21423 | 21402 |
| 21403 /** @domName lastElementChild */ |
| 21424 final Element $dom_lastElementChild; | 21404 final Element $dom_lastElementChild; |
| 21425 | 21405 |
| 21426 final Element nextElementSibling; | 21406 final Element nextElementSibling; |
| 21427 | 21407 |
| 21408 /** @domName offsetHeight */ |
| 21428 final int $dom_offsetHeight; | 21409 final int $dom_offsetHeight; |
| 21429 | 21410 |
| 21411 /** @domName offsetLeft */ |
| 21430 final int $dom_offsetLeft; | 21412 final int $dom_offsetLeft; |
| 21431 | 21413 |
| 21432 final Element offsetParent; | 21414 final Element offsetParent; |
| 21433 | 21415 |
| 21416 /** @domName offsetTop */ |
| 21434 final int $dom_offsetTop; | 21417 final int $dom_offsetTop; |
| 21435 | 21418 |
| 21419 /** @domName offsetWidth */ |
| 21436 final int $dom_offsetWidth; | 21420 final int $dom_offsetWidth; |
| 21437 | 21421 |
| 21438 final String outerHTML; | 21422 final String outerHTML; |
| 21439 | 21423 |
| 21440 final Element previousElementSibling; | 21424 final Element previousElementSibling; |
| 21441 | 21425 |
| 21426 /** @domName scrollHeight */ |
| 21442 final int $dom_scrollHeight; | 21427 final int $dom_scrollHeight; |
| 21443 | 21428 |
| 21429 /** @domName scrollLeft */ |
| 21444 int $dom_scrollLeft; | 21430 int $dom_scrollLeft; |
| 21445 | 21431 |
| 21432 /** @domName scrollTop */ |
| 21446 int $dom_scrollTop; | 21433 int $dom_scrollTop; |
| 21447 | 21434 |
| 21435 /** @domName scrollWidth */ |
| 21448 final int $dom_scrollWidth; | 21436 final int $dom_scrollWidth; |
| 21449 | 21437 |
| 21450 bool spellcheck; | 21438 bool spellcheck; |
| 21451 | 21439 |
| 21452 final CSSStyleDeclaration style; | 21440 final CSSStyleDeclaration style; |
| 21453 | 21441 |
| 21454 int tabIndex; | 21442 int tabIndex; |
| 21455 | 21443 |
| 21456 final String tagName; | 21444 final String tagName; |
| 21457 | 21445 |
| 21458 String title; | 21446 String title; |
| 21459 | 21447 |
| 21460 bool translate; | 21448 bool translate; |
| 21461 | 21449 |
| 21462 final String webkitRegionOverflow; | 21450 final String webkitRegionOverflow; |
| 21463 | 21451 |
| 21464 String webkitdropzone; | 21452 String webkitdropzone; |
| 21465 | 21453 |
| 21466 void blur(); | 21454 void blur(); |
| 21467 | 21455 |
| 21468 void click(); | 21456 void click(); |
| 21469 | 21457 |
| 21470 void focus(); | 21458 void focus(); |
| 21471 | 21459 |
| 21460 /** @domName getAttribute */ |
| 21472 String $dom_getAttribute(String name); | 21461 String $dom_getAttribute(String name); |
| 21473 | 21462 |
| 21463 /** @domName getBoundingClientRect */ |
| 21474 ClientRect $dom_getBoundingClientRect(); | 21464 ClientRect $dom_getBoundingClientRect(); |
| 21475 | 21465 |
| 21466 /** @domName getClientRects */ |
| 21476 ClientRectList $dom_getClientRects(); | 21467 ClientRectList $dom_getClientRects(); |
| 21477 | 21468 |
| 21469 /** @domName getElementsByClassName */ |
| 21478 NodeList $dom_getElementsByClassName(String name); | 21470 NodeList $dom_getElementsByClassName(String name); |
| 21479 | 21471 |
| 21472 /** @domName getElementsByTagName */ |
| 21480 NodeList $dom_getElementsByTagName(String name); | 21473 NodeList $dom_getElementsByTagName(String name); |
| 21481 | 21474 |
| 21475 /** @domName hasAttribute */ |
| 21482 bool $dom_hasAttribute(String name); | 21476 bool $dom_hasAttribute(String name); |
| 21483 | 21477 |
| 21484 Element insertAdjacentElement(String where, Element element); | 21478 Element insertAdjacentElement(String where, Element element); |
| 21485 | 21479 |
| 21486 void insertAdjacentHTML(String where, String html); | 21480 void insertAdjacentHTML(String where, String html); |
| 21487 | 21481 |
| 21488 void insertAdjacentText(String where, String text); | 21482 void insertAdjacentText(String where, String text); |
| 21489 | 21483 |
| 21484 /** @domName querySelector */ |
| 21490 Element query(String selectors); | 21485 Element query(String selectors); |
| 21491 | 21486 |
| 21487 /** @domName querySelectorAll */ |
| 21492 NodeList $dom_querySelectorAll(String selectors); | 21488 NodeList $dom_querySelectorAll(String selectors); |
| 21493 | 21489 |
| 21490 /** @domName removeAttribute */ |
| 21494 void $dom_removeAttribute(String name); | 21491 void $dom_removeAttribute(String name); |
| 21495 | 21492 |
| 21496 void scrollByLines(int lines); | 21493 void scrollByLines(int lines); |
| 21497 | 21494 |
| 21498 void scrollByPages(int pages); | 21495 void scrollByPages(int pages); |
| 21499 | 21496 |
| 21497 /** @domName scrollIntoViewIfNeeded */ |
| 21500 void scrollIntoView([bool centerIfNeeded]); | 21498 void scrollIntoView([bool centerIfNeeded]); |
| 21501 | 21499 |
| 21500 /** @domName setAttribute */ |
| 21502 void $dom_setAttribute(String name, String value); | 21501 void $dom_setAttribute(String name, String value); |
| 21503 | 21502 |
| 21503 /** @domName webkitMatchesSelector */ |
| 21504 bool matchesSelector(String selectors); | 21504 bool matchesSelector(String selectors); |
| 21505 | 21505 |
| 21506 void webkitRequestFullScreen(int flags); | 21506 void webkitRequestFullScreen(int flags); |
| 21507 | 21507 |
| 21508 void webkitRequestFullscreen(); | 21508 void webkitRequestFullscreen(); |
| 21509 | 21509 |
| 21510 } | 21510 } |
| 21511 | 21511 |
| 21512 interface ElementEvents extends Events { | 21512 interface ElementEvents extends Events { |
| 21513 | 21513 |
| (...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 21871 bool returnValue; | 21871 bool returnValue; |
| 21872 | 21872 |
| 21873 final EventTarget srcElement; | 21873 final EventTarget srcElement; |
| 21874 | 21874 |
| 21875 final EventTarget target; | 21875 final EventTarget target; |
| 21876 | 21876 |
| 21877 final int timeStamp; | 21877 final int timeStamp; |
| 21878 | 21878 |
| 21879 final String type; | 21879 final String type; |
| 21880 | 21880 |
| 21881 /** @domName initEvent */ |
| 21881 void $dom_initEvent(String eventTypeArg, bool canBubbleArg, bool cancelableArg
); | 21882 void $dom_initEvent(String eventTypeArg, bool canBubbleArg, bool cancelableArg
); |
| 21882 | 21883 |
| 21883 void preventDefault(); | 21884 void preventDefault(); |
| 21884 | 21885 |
| 21885 void stopImmediatePropagation(); | 21886 void stopImmediatePropagation(); |
| 21886 | 21887 |
| 21887 void stopPropagation(); | 21888 void stopPropagation(); |
| 21888 } | 21889 } |
| 21889 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 21890 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 21890 // for details. All rights reserved. Use of this source code is governed by a | 21891 // for details. All rights reserved. Use of this source code is governed by a |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 21923 static final int CONNECTING = 0; | 21924 static final int CONNECTING = 0; |
| 21924 | 21925 |
| 21925 static final int OPEN = 1; | 21926 static final int OPEN = 1; |
| 21926 | 21927 |
| 21927 final String URL; | 21928 final String URL; |
| 21928 | 21929 |
| 21929 final int readyState; | 21930 final int readyState; |
| 21930 | 21931 |
| 21931 final String url; | 21932 final String url; |
| 21932 | 21933 |
| 21934 /** @domName addEventListener */ |
| 21933 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]); | 21935 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]); |
| 21934 | 21936 |
| 21935 void close(); | 21937 void close(); |
| 21936 | 21938 |
| 21939 /** @domName dispatchEvent */ |
| 21937 bool $dom_dispatchEvent(Event evt); | 21940 bool $dom_dispatchEvent(Event evt); |
| 21938 | 21941 |
| 21942 /** @domName removeEventListener */ |
| 21939 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]); | 21943 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]); |
| 21940 } | 21944 } |
| 21941 | 21945 |
| 21942 interface EventSourceEvents extends Events { | 21946 interface EventSourceEvents extends Events { |
| 21943 | 21947 |
| 21944 EventListenerList get error(); | 21948 EventListenerList get error(); |
| 21945 | 21949 |
| 21946 EventListenerList get message(); | 21950 EventListenerList get message(); |
| 21947 | 21951 |
| 21948 EventListenerList get open(); | 21952 EventListenerList get open(); |
| (...skipping 13 matching lines...) Expand all Loading... |
| 21962 } | 21966 } |
| 21963 | 21967 |
| 21964 interface Events { | 21968 interface Events { |
| 21965 EventListenerList operator [](String type); | 21969 EventListenerList operator [](String type); |
| 21966 } | 21970 } |
| 21967 | 21971 |
| 21968 interface EventTarget { | 21972 interface EventTarget { |
| 21969 | 21973 |
| 21970 final Events on; | 21974 final Events on; |
| 21971 | 21975 |
| 21976 /** @domName addEventListener */ |
| 21972 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]); | 21977 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]); |
| 21973 | 21978 |
| 21979 /** @domName dispatchEvent */ |
| 21974 bool $dom_dispatchEvent(Event event); | 21980 bool $dom_dispatchEvent(Event event); |
| 21975 | 21981 |
| 21982 /** @domName removeEventListener */ |
| 21976 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]); | 21983 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]); |
| 21977 | 21984 |
| 21978 } | 21985 } |
| 21979 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 21986 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 21980 // for details. All rights reserved. Use of this source code is governed by a | 21987 // for details. All rights reserved. Use of this source code is governed by a |
| 21981 // BSD-style license that can be found in the LICENSE file. | 21988 // BSD-style license that can be found in the LICENSE file. |
| 21982 | 21989 |
| 21983 // WARNING: Do not edit - generated code. | 21990 // WARNING: Do not edit - generated code. |
| 21984 | 21991 |
| 21985 interface FieldSetElement extends Element { | 21992 interface FieldSetElement extends Element { |
| (...skipping 1877 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 23863 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 23870 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23864 // for details. All rights reserved. Use of this source code is governed by a | 23871 // for details. All rights reserved. Use of this source code is governed by a |
| 23865 // BSD-style license that can be found in the LICENSE file. | 23872 // BSD-style license that can be found in the LICENSE file. |
| 23866 | 23873 |
| 23867 // WARNING: Do not edit - generated code. | 23874 // WARNING: Do not edit - generated code. |
| 23868 | 23875 |
| 23869 interface MessagePort extends EventTarget { | 23876 interface MessagePort extends EventTarget { |
| 23870 | 23877 |
| 23871 MessagePortEvents get on(); | 23878 MessagePortEvents get on(); |
| 23872 | 23879 |
| 23880 /** @domName addEventListener */ |
| 23873 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]); | 23881 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]); |
| 23874 | 23882 |
| 23875 void close(); | 23883 void close(); |
| 23876 | 23884 |
| 23885 /** @domName dispatchEvent */ |
| 23877 bool $dom_dispatchEvent(Event evt); | 23886 bool $dom_dispatchEvent(Event evt); |
| 23878 | 23887 |
| 23879 void postMessage(String message, [List messagePorts]); | 23888 void postMessage(String message, [List messagePorts]); |
| 23880 | 23889 |
| 23890 /** @domName removeEventListener */ |
| 23881 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]); | 23891 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]); |
| 23882 | 23892 |
| 23883 void start(); | 23893 void start(); |
| 23884 | 23894 |
| 23885 void webkitPostMessage(String message, [List transfer]); | 23895 void webkitPostMessage(String message, [List transfer]); |
| 23886 } | 23896 } |
| 23887 | 23897 |
| 23888 interface MessagePortEvents extends Events { | 23898 interface MessagePortEvents extends Events { |
| 23889 | 23899 |
| 23890 EventListenerList get message(); | 23900 EventListenerList get message(); |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 23999 final int screenY; | 24009 final int screenY; |
| 24000 | 24010 |
| 24001 final bool shiftKey; | 24011 final bool shiftKey; |
| 24002 | 24012 |
| 24003 final Node toElement; | 24013 final Node toElement; |
| 24004 | 24014 |
| 24005 final int x; | 24015 final int x; |
| 24006 | 24016 |
| 24007 final int y; | 24017 final int y; |
| 24008 | 24018 |
| 24019 /** @domName initMouseEvent */ |
| 24009 void $dom_initMouseEvent(String type, bool canBubble, bool cancelable, Window
view, int detail, int screenX, int screenY, int clientX, int clientY, bool ctrlK
ey, bool altKey, bool shiftKey, bool metaKey, int button, EventTarget relatedTar
get); | 24020 void $dom_initMouseEvent(String type, bool canBubble, bool cancelable, Window
view, int detail, int screenX, int screenY, int clientX, int clientY, bool ctrlK
ey, bool altKey, bool shiftKey, bool metaKey, int button, EventTarget relatedTar
get); |
| 24010 } | 24021 } |
| 24011 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 24022 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24012 // for details. All rights reserved. Use of this source code is governed by a | 24023 // for details. All rights reserved. Use of this source code is governed by a |
| 24013 // BSD-style license that can be found in the LICENSE file. | 24024 // BSD-style license that can be found in the LICENSE file. |
| 24014 | 24025 |
| 24015 // WARNING: Do not edit - generated code. | 24026 // WARNING: Do not edit - generated code. |
| 24016 | 24027 |
| 24017 interface MutationCallback { | 24028 interface MutationCallback { |
| 24018 } | 24029 } |
| (...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 24209 static final int ENTITY_NODE = 6; | 24220 static final int ENTITY_NODE = 6; |
| 24210 | 24221 |
| 24211 static final int ENTITY_REFERENCE_NODE = 5; | 24222 static final int ENTITY_REFERENCE_NODE = 5; |
| 24212 | 24223 |
| 24213 static final int NOTATION_NODE = 12; | 24224 static final int NOTATION_NODE = 12; |
| 24214 | 24225 |
| 24215 static final int PROCESSING_INSTRUCTION_NODE = 7; | 24226 static final int PROCESSING_INSTRUCTION_NODE = 7; |
| 24216 | 24227 |
| 24217 static final int TEXT_NODE = 3; | 24228 static final int TEXT_NODE = 3; |
| 24218 | 24229 |
| 24230 /** @domName attributes */ |
| 24219 final NamedNodeMap $dom_attributes; | 24231 final NamedNodeMap $dom_attributes; |
| 24220 | 24232 |
| 24233 /** @domName childNodes */ |
| 24221 final NodeList $dom_childNodes; | 24234 final NodeList $dom_childNodes; |
| 24222 | 24235 |
| 24236 /** @domName firstChild */ |
| 24223 final Node $dom_firstChild; | 24237 final Node $dom_firstChild; |
| 24224 | 24238 |
| 24239 /** @domName lastChild */ |
| 24225 final Node $dom_lastChild; | 24240 final Node $dom_lastChild; |
| 24226 | 24241 |
| 24242 /** @domName nextSibling */ |
| 24227 final Node nextNode; | 24243 final Node nextNode; |
| 24228 | 24244 |
| 24245 /** @domName nodeType */ |
| 24229 final int $dom_nodeType; | 24246 final int $dom_nodeType; |
| 24230 | 24247 |
| 24248 /** @domName ownerDocument */ |
| 24231 final Document document; | 24249 final Document document; |
| 24232 | 24250 |
| 24251 /** @domName parentNode */ |
| 24233 final Node parent; | 24252 final Node parent; |
| 24234 | 24253 |
| 24254 /** @domName previousSibling */ |
| 24235 final Node previousNode; | 24255 final Node previousNode; |
| 24236 | 24256 |
| 24257 /** @domName textContent */ |
| 24237 String text; | 24258 String text; |
| 24238 | 24259 |
| 24260 /** @domName appendChild */ |
| 24239 Node $dom_appendChild(Node newChild); | 24261 Node $dom_appendChild(Node newChild); |
| 24240 | 24262 |
| 24263 /** @domName cloneNode */ |
| 24241 Node clone(bool deep); | 24264 Node clone(bool deep); |
| 24242 | 24265 |
| 24243 bool contains(Node other); | 24266 bool contains(Node other); |
| 24244 | 24267 |
| 24245 bool hasChildNodes(); | 24268 bool hasChildNodes(); |
| 24246 | 24269 |
| 24247 Node insertBefore(Node newChild, Node refChild); | 24270 Node insertBefore(Node newChild, Node refChild); |
| 24248 | 24271 |
| 24272 /** @domName removeChild */ |
| 24249 Node $dom_removeChild(Node oldChild); | 24273 Node $dom_removeChild(Node oldChild); |
| 24250 | 24274 |
| 24275 /** @domName replaceChild */ |
| 24251 Node $dom_replaceChild(Node newChild, Node oldChild); | 24276 Node $dom_replaceChild(Node newChild, Node oldChild); |
| 24252 | 24277 |
| 24253 } | 24278 } |
| 24254 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 24279 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24255 // for details. All rights reserved. Use of this source code is governed by a | 24280 // for details. All rights reserved. Use of this source code is governed by a |
| 24256 // BSD-style license that can be found in the LICENSE file. | 24281 // BSD-style license that can be found in the LICENSE file. |
| 24257 | 24282 |
| 24258 // WARNING: Do not edit - generated code. | 24283 // WARNING: Do not edit - generated code. |
| 24259 | 24284 |
| 24260 interface NodeFilter { | 24285 interface NodeFilter { |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 24342 // BSD-style license that can be found in the LICENSE file. | 24367 // BSD-style license that can be found in the LICENSE file. |
| 24343 | 24368 |
| 24344 // WARNING: Do not edit - generated code. | 24369 // WARNING: Do not edit - generated code. |
| 24345 | 24370 |
| 24346 interface NodeSelector { | 24371 interface NodeSelector { |
| 24347 | 24372 |
| 24348 // TODO(nweiz): add this back once DocumentFragment is ported. | 24373 // TODO(nweiz): add this back once DocumentFragment is ported. |
| 24349 // ElementList queryAll(String selectors); | 24374 // ElementList queryAll(String selectors); |
| 24350 | 24375 |
| 24351 | 24376 |
| 24377 /** @domName querySelector */ |
| 24352 Element query(String selectors); | 24378 Element query(String selectors); |
| 24353 | 24379 |
| 24380 /** @domName querySelectorAll */ |
| 24354 NodeList $dom_querySelectorAll(String selectors); | 24381 NodeList $dom_querySelectorAll(String selectors); |
| 24355 | 24382 |
| 24356 } | 24383 } |
| 24357 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 24384 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24358 // for details. All rights reserved. Use of this source code is governed by a | 24385 // for details. All rights reserved. Use of this source code is governed by a |
| 24359 // BSD-style license that can be found in the LICENSE file. | 24386 // BSD-style license that can be found in the LICENSE file. |
| 24360 | 24387 |
| 24361 // WARNING: Do not edit - generated code. | 24388 // WARNING: Do not edit - generated code. |
| 24362 | 24389 |
| 24363 interface Notation extends Node { | 24390 interface Notation extends Node { |
| (...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 24580 bool selected; | 24607 bool selected; |
| 24581 | 24608 |
| 24582 String value; | 24609 String value; |
| 24583 } | 24610 } |
| 24584 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 24611 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24585 // for details. All rights reserved. Use of this source code is governed by a | 24612 // for details. All rights reserved. Use of this source code is governed by a |
| 24586 // BSD-style license that can be found in the LICENSE file. | 24613 // BSD-style license that can be found in the LICENSE file. |
| 24587 | 24614 |
| 24588 // WARNING: Do not edit - generated code. | 24615 // WARNING: Do not edit - generated code. |
| 24589 | 24616 |
| 24590 interface Oscillator extends AudioSourceNode { | |
| 24591 | |
| 24592 static final int CUSTOM = 4; | |
| 24593 | |
| 24594 static final int SAWTOOTH = 2; | |
| 24595 | |
| 24596 static final int SINE = 0; | |
| 24597 | |
| 24598 static final int SQUARE = 1; | |
| 24599 | |
| 24600 static final int TRIANGLE = 3; | |
| 24601 | |
| 24602 final AudioParam detune; | |
| 24603 | |
| 24604 final AudioParam frequency; | |
| 24605 | |
| 24606 int type; | |
| 24607 | |
| 24608 void setWaveTable(WaveTable waveTable); | |
| 24609 } | |
| 24610 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
| 24611 // for details. All rights reserved. Use of this source code is governed by a | |
| 24612 // BSD-style license that can be found in the LICENSE file. | |
| 24613 | |
| 24614 // WARNING: Do not edit - generated code. | |
| 24615 | |
| 24616 interface OutputElement extends Element { | 24617 interface OutputElement extends Element { |
| 24617 | 24618 |
| 24618 String defaultValue; | 24619 String defaultValue; |
| 24619 | 24620 |
| 24620 final FormElement form; | 24621 final FormElement form; |
| 24621 | 24622 |
| 24622 DOMSettableTokenList htmlFor; | 24623 DOMSettableTokenList htmlFor; |
| 24623 | 24624 |
| 24624 final NodeList labels; | 24625 final NodeList labels; |
| 24625 | 24626 |
| (...skipping 1034 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 25660 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 25661 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25661 // for details. All rights reserved. Use of this source code is governed by a | 25662 // for details. All rights reserved. Use of this source code is governed by a |
| 25662 // BSD-style license that can be found in the LICENSE file. | 25663 // BSD-style license that can be found in the LICENSE file. |
| 25663 | 25664 |
| 25664 // WARNING: Do not edit - generated code. | 25665 // WARNING: Do not edit - generated code. |
| 25665 | 25666 |
| 25666 interface SVGDocument extends Document { | 25667 interface SVGDocument extends Document { |
| 25667 | 25668 |
| 25668 final SVGSVGElement rootElement; | 25669 final SVGSVGElement rootElement; |
| 25669 | 25670 |
| 25671 /** @domName createEvent */ |
| 25670 Event $dom_createEvent(String eventType); | 25672 Event $dom_createEvent(String eventType); |
| 25671 } | 25673 } |
| 25672 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 25674 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25673 // for details. All rights reserved. Use of this source code is governed by a | 25675 // for details. All rights reserved. Use of this source code is governed by a |
| 25674 // BSD-style license that can be found in the LICENSE file. | 25676 // BSD-style license that can be found in the LICENSE file. |
| 25675 | 25677 |
| 25676 interface SVGElement extends Element default _SVGElementFactoryProvider { | 25678 interface SVGElement extends Element default _SVGElementFactoryProvider { |
| 25677 | 25679 |
| 25678 SVGElement.tag(String tag); | 25680 SVGElement.tag(String tag); |
| 25679 SVGElement.svg(String svg); | 25681 SVGElement.svg(String svg); |
| (...skipping 29 matching lines...) Expand all Loading... |
| 25709 final SVGElementInstance firstChild; | 25711 final SVGElementInstance firstChild; |
| 25710 | 25712 |
| 25711 final SVGElementInstance lastChild; | 25713 final SVGElementInstance lastChild; |
| 25712 | 25714 |
| 25713 final SVGElementInstance nextSibling; | 25715 final SVGElementInstance nextSibling; |
| 25714 | 25716 |
| 25715 final SVGElementInstance parentNode; | 25717 final SVGElementInstance parentNode; |
| 25716 | 25718 |
| 25717 final SVGElementInstance previousSibling; | 25719 final SVGElementInstance previousSibling; |
| 25718 | 25720 |
| 25721 /** @domName addEventListener */ |
| 25719 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]); | 25722 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]); |
| 25720 | 25723 |
| 25724 /** @domName dispatchEvent */ |
| 25721 bool $dom_dispatchEvent(Event event); | 25725 bool $dom_dispatchEvent(Event event); |
| 25722 | 25726 |
| 25727 /** @domName removeEventListener */ |
| 25723 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]); | 25728 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]); |
| 25724 } | 25729 } |
| 25725 | 25730 |
| 25726 interface SVGElementInstanceEvents extends Events { | 25731 interface SVGElementInstanceEvents extends Events { |
| 25727 | 25732 |
| 25728 EventListenerList get abort(); | 25733 EventListenerList get abort(); |
| 25729 | 25734 |
| 25730 EventListenerList get beforeCopy(); | 25735 EventListenerList get beforeCopy(); |
| 25731 | 25736 |
| 25732 EventListenerList get beforeCut(); | 25737 EventListenerList get beforeCut(); |
| (...skipping 1833 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 27566 String replaceItem(String item, int index); | 27571 String replaceItem(String item, int index); |
| 27567 } | 27572 } |
| 27568 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 27573 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 27569 // for details. All rights reserved. Use of this source code is governed by a | 27574 // for details. All rights reserved. Use of this source code is governed by a |
| 27570 // BSD-style license that can be found in the LICENSE file. | 27575 // BSD-style license that can be found in the LICENSE file. |
| 27571 | 27576 |
| 27572 // WARNING: Do not edit - generated code. | 27577 // WARNING: Do not edit - generated code. |
| 27573 | 27578 |
| 27574 interface SVGStylable { | 27579 interface SVGStylable { |
| 27575 | 27580 |
| 27581 /** @domName className */ |
| 27576 final SVGAnimatedString $dom_svgClassName; | 27582 final SVGAnimatedString $dom_svgClassName; |
| 27577 | 27583 |
| 27578 final CSSStyleDeclaration style; | 27584 final CSSStyleDeclaration style; |
| 27579 | 27585 |
| 27580 CSSValue getPresentationAttribute(String name); | 27586 CSSValue getPresentationAttribute(String name); |
| 27581 } | 27587 } |
| 27582 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 27588 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 27583 // for details. All rights reserved. Use of this source code is governed by a | 27589 // for details. All rights reserved. Use of this source code is governed by a |
| 27584 // BSD-style license that can be found in the LICENSE file. | 27590 // BSD-style license that can be found in the LICENSE file. |
| 27585 | 27591 |
| (...skipping 781 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 28367 final int length; | 28373 final int length; |
| 28368 | 28374 |
| 28369 SpeechRecognitionResult item(int index); | 28375 SpeechRecognitionResult item(int index); |
| 28370 } | 28376 } |
| 28371 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 28377 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 28372 // for details. All rights reserved. Use of this source code is governed by a | 28378 // for details. All rights reserved. Use of this source code is governed by a |
| 28373 // BSD-style license that can be found in the LICENSE file. | 28379 // BSD-style license that can be found in the LICENSE file. |
| 28374 | 28380 |
| 28375 interface Storage extends Map<String, String> { | 28381 interface Storage extends Map<String, String> { |
| 28376 | 28382 |
| 28383 /** @domName length */ |
| 28377 final int $dom_length; | 28384 final int $dom_length; |
| 28378 | 28385 |
| 28386 /** @domName clear */ |
| 28379 void $dom_clear(); | 28387 void $dom_clear(); |
| 28380 | 28388 |
| 28389 /** @domName getItem */ |
| 28381 String $dom_getItem(String key); | 28390 String $dom_getItem(String key); |
| 28382 | 28391 |
| 28392 /** @domName key */ |
| 28383 String $dom_key(int index); | 28393 String $dom_key(int index); |
| 28384 | 28394 |
| 28395 /** @domName removeItem */ |
| 28385 void $dom_removeItem(String key); | 28396 void $dom_removeItem(String key); |
| 28386 | 28397 |
| 28398 /** @domName setItem */ |
| 28387 void $dom_setItem(String key, String data); | 28399 void $dom_setItem(String key, String data); |
| 28388 | 28400 |
| 28389 } | 28401 } |
| 28390 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 28402 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 28391 // for details. All rights reserved. Use of this source code is governed by a | 28403 // for details. All rights reserved. Use of this source code is governed by a |
| 28392 // BSD-style license that can be found in the LICENSE file. | 28404 // BSD-style license that can be found in the LICENSE file. |
| 28393 | 28405 |
| 28394 // WARNING: Do not edit - generated code. | 28406 // WARNING: Do not edit - generated code. |
| 28395 | 28407 |
| 28396 interface StorageEvent extends Event { | 28408 interface StorageEvent extends Event { |
| (...skipping 886 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 29283 interface WaveShaperNode extends AudioNode { | 29295 interface WaveShaperNode extends AudioNode { |
| 29284 | 29296 |
| 29285 Float32Array curve; | 29297 Float32Array curve; |
| 29286 } | 29298 } |
| 29287 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 29299 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 29288 // for details. All rights reserved. Use of this source code is governed by a | 29300 // for details. All rights reserved. Use of this source code is governed by a |
| 29289 // BSD-style license that can be found in the LICENSE file. | 29301 // BSD-style license that can be found in the LICENSE file. |
| 29290 | 29302 |
| 29291 // WARNING: Do not edit - generated code. | 29303 // WARNING: Do not edit - generated code. |
| 29292 | 29304 |
| 29293 interface WaveTable { | |
| 29294 } | |
| 29295 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
| 29296 // for details. All rights reserved. Use of this source code is governed by a | |
| 29297 // BSD-style license that can be found in the LICENSE file. | |
| 29298 | |
| 29299 // WARNING: Do not edit - generated code. | |
| 29300 | |
| 29301 interface WebGLActiveInfo { | 29305 interface WebGLActiveInfo { |
| 29302 | 29306 |
| 29303 final String name; | 29307 final String name; |
| 29304 | 29308 |
| 29305 final int size; | 29309 final int size; |
| 29306 | 29310 |
| 29307 final int type; | 29311 final int type; |
| 29308 } | 29312 } |
| 29309 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 29313 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 29310 // for details. All rights reserved. Use of this source code is governed by a | 29314 // 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... |
| 30153 String getProgramInfoLog(WebGLProgram program); | 30157 String getProgramInfoLog(WebGLProgram program); |
| 30154 | 30158 |
| 30155 Object getProgramParameter(WebGLProgram program, int pname); | 30159 Object getProgramParameter(WebGLProgram program, int pname); |
| 30156 | 30160 |
| 30157 Object getRenderbufferParameter(int target, int pname); | 30161 Object getRenderbufferParameter(int target, int pname); |
| 30158 | 30162 |
| 30159 String getShaderInfoLog(WebGLShader shader); | 30163 String getShaderInfoLog(WebGLShader shader); |
| 30160 | 30164 |
| 30161 Object getShaderParameter(WebGLShader shader, int pname); | 30165 Object getShaderParameter(WebGLShader shader, int pname); |
| 30162 | 30166 |
| 30163 WebGLShaderPrecisionFormat getShaderPrecisionFormat(int shadertype, int precis
iontype); | |
| 30164 | |
| 30165 String getShaderSource(WebGLShader shader); | 30167 String getShaderSource(WebGLShader shader); |
| 30166 | 30168 |
| 30167 Object getTexParameter(int target, int pname); | 30169 Object getTexParameter(int target, int pname); |
| 30168 | 30170 |
| 30169 Object getUniform(WebGLProgram program, WebGLUniformLocation location); | 30171 Object getUniform(WebGLProgram program, WebGLUniformLocation location); |
| 30170 | 30172 |
| 30171 WebGLUniformLocation getUniformLocation(WebGLProgram program, String name); | 30173 WebGLUniformLocation getUniformLocation(WebGLProgram program, String name); |
| 30172 | 30174 |
| 30173 Object getVertexAttrib(int index, int pname); | 30175 Object getVertexAttrib(int index, int pname); |
| 30174 | 30176 |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 30301 // WARNING: Do not edit - generated code. | 30303 // WARNING: Do not edit - generated code. |
| 30302 | 30304 |
| 30303 interface WebGLShader { | 30305 interface WebGLShader { |
| 30304 } | 30306 } |
| 30305 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 30307 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 30306 // for details. All rights reserved. Use of this source code is governed by a | 30308 // for details. All rights reserved. Use of this source code is governed by a |
| 30307 // BSD-style license that can be found in the LICENSE file. | 30309 // BSD-style license that can be found in the LICENSE file. |
| 30308 | 30310 |
| 30309 // WARNING: Do not edit - generated code. | 30311 // WARNING: Do not edit - generated code. |
| 30310 | 30312 |
| 30311 interface WebGLShaderPrecisionFormat { | |
| 30312 | |
| 30313 final int precision; | |
| 30314 | |
| 30315 final int rangeMax; | |
| 30316 | |
| 30317 final int rangeMin; | |
| 30318 } | |
| 30319 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
| 30320 // for details. All rights reserved. Use of this source code is governed by a | |
| 30321 // BSD-style license that can be found in the LICENSE file. | |
| 30322 | |
| 30323 // WARNING: Do not edit - generated code. | |
| 30324 | |
| 30325 interface WebGLTexture { | 30313 interface WebGLTexture { |
| 30326 } | 30314 } |
| 30327 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 30315 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 30328 // for details. All rights reserved. Use of this source code is governed by a | 30316 // for details. All rights reserved. Use of this source code is governed by a |
| 30329 // BSD-style license that can be found in the LICENSE file. | 30317 // BSD-style license that can be found in the LICENSE file. |
| 30330 | 30318 |
| 30331 // WARNING: Do not edit - generated code. | 30319 // WARNING: Do not edit - generated code. |
| 30332 | 30320 |
| 30333 interface WebGLUniformLocation { | 30321 interface WebGLUniformLocation { |
| 30334 } | 30322 } |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 30399 final int bufferedAmount; | 30387 final int bufferedAmount; |
| 30400 | 30388 |
| 30401 final String extensions; | 30389 final String extensions; |
| 30402 | 30390 |
| 30403 final String protocol; | 30391 final String protocol; |
| 30404 | 30392 |
| 30405 final int readyState; | 30393 final int readyState; |
| 30406 | 30394 |
| 30407 final String url; | 30395 final String url; |
| 30408 | 30396 |
| 30397 /** @domName addEventListener */ |
| 30409 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]); | 30398 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]); |
| 30410 | 30399 |
| 30411 void close([int code, String reason]); | 30400 void close([int code, String reason]); |
| 30412 | 30401 |
| 30402 /** @domName dispatchEvent */ |
| 30413 bool $dom_dispatchEvent(Event evt); | 30403 bool $dom_dispatchEvent(Event evt); |
| 30414 | 30404 |
| 30405 /** @domName removeEventListener */ |
| 30415 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]); | 30406 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]); |
| 30416 | 30407 |
| 30417 bool send(String data); | 30408 bool send(String data); |
| 30418 } | 30409 } |
| 30419 | 30410 |
| 30420 interface WebSocketEvents extends Events { | 30411 interface WebSocketEvents extends Events { |
| 30421 | 30412 |
| 30422 EventListenerList get close(); | 30413 EventListenerList get close(); |
| 30423 | 30414 |
| 30424 EventListenerList get error(); | 30415 EventListenerList get error(); |
| (...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 30584 final Window top; | 30575 final Window top; |
| 30585 | 30576 |
| 30586 final IDBFactory webkitIndexedDB; | 30577 final IDBFactory webkitIndexedDB; |
| 30587 | 30578 |
| 30588 final NotificationCenter webkitNotifications; | 30579 final NotificationCenter webkitNotifications; |
| 30589 | 30580 |
| 30590 final StorageInfo webkitStorageInfo; | 30581 final StorageInfo webkitStorageInfo; |
| 30591 | 30582 |
| 30592 final Window window; | 30583 final Window window; |
| 30593 | 30584 |
| 30585 /** @domName addEventListener */ |
| 30594 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]); | 30586 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]); |
| 30595 | 30587 |
| 30596 void alert(String message); | 30588 void alert(String message); |
| 30597 | 30589 |
| 30598 String atob(String string); | 30590 String atob(String string); |
| 30599 | 30591 |
| 30600 void blur(); | 30592 void blur(); |
| 30601 | 30593 |
| 30602 String btoa(String string); | 30594 String btoa(String string); |
| 30603 | 30595 |
| 30604 void captureEvents(); | 30596 void captureEvents(); |
| 30605 | 30597 |
| 30606 void clearInterval(int handle); | 30598 void clearInterval(int handle); |
| 30607 | 30599 |
| 30608 void clearTimeout(int handle); | 30600 void clearTimeout(int handle); |
| 30609 | 30601 |
| 30610 void close(); | 30602 void close(); |
| 30611 | 30603 |
| 30612 bool confirm(String message); | 30604 bool confirm(String message); |
| 30613 | 30605 |
| 30606 /** @domName dispatchEvent */ |
| 30614 bool $dom_dispatchEvent(Event evt); | 30607 bool $dom_dispatchEvent(Event evt); |
| 30615 | 30608 |
| 30616 bool find(String string, bool caseSensitive, bool backwards, bool wrap, bool w
holeWord, bool searchInFrames, bool showDialog); | 30609 bool find(String string, bool caseSensitive, bool backwards, bool wrap, bool w
holeWord, bool searchInFrames, bool showDialog); |
| 30617 | 30610 |
| 30618 void focus(); | 30611 void focus(); |
| 30619 | 30612 |
| 30613 /** @domName getComputedStyle */ |
| 30620 CSSStyleDeclaration $dom_getComputedStyle(Element element, String pseudoElemen
t); | 30614 CSSStyleDeclaration $dom_getComputedStyle(Element element, String pseudoElemen
t); |
| 30621 | 30615 |
| 30622 CSSRuleList getMatchedCSSRules(Element element, String pseudoElement); | 30616 CSSRuleList getMatchedCSSRules(Element element, String pseudoElement); |
| 30623 | 30617 |
| 30624 DOMSelection getSelection(); | 30618 DOMSelection getSelection(); |
| 30625 | 30619 |
| 30626 MediaQueryList matchMedia(String query); | 30620 MediaQueryList matchMedia(String query); |
| 30627 | 30621 |
| 30628 void moveBy(num x, num y); | 30622 void moveBy(num x, num y); |
| 30629 | 30623 |
| 30630 void moveTo(num x, num y); | 30624 void moveTo(num x, num y); |
| 30631 | 30625 |
| 30632 Window open(String url, String name, [String options]); | 30626 Window open(String url, String name, [String options]); |
| 30633 | 30627 |
| 30634 Database openDatabase(String name, String version, String displayName, int est
imatedSize, [DatabaseCallback creationCallback]); | |
| 30635 | |
| 30636 void postMessage(Dynamic message, String targetOrigin, [List messagePorts]); | 30628 void postMessage(Dynamic message, String targetOrigin, [List messagePorts]); |
| 30637 | 30629 |
| 30638 void print(); | 30630 void print(); |
| 30639 | 30631 |
| 30640 String prompt(String message, String defaultValue); | 30632 String prompt(String message, String defaultValue); |
| 30641 | 30633 |
| 30642 void releaseEvents(); | 30634 void releaseEvents(); |
| 30643 | 30635 |
| 30636 /** @domName removeEventListener */ |
| 30644 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]); | 30637 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]); |
| 30645 | 30638 |
| 30646 void resizeBy(num x, num y); | 30639 void resizeBy(num x, num y); |
| 30647 | 30640 |
| 30648 void resizeTo(num width, num height); | 30641 void resizeTo(num width, num height); |
| 30649 | 30642 |
| 30650 void scroll(int x, int y); | 30643 void scroll(int x, int y); |
| 30651 | 30644 |
| 30652 void scrollBy(int x, int y); | 30645 void scrollBy(int x, int y); |
| 30653 | 30646 |
| (...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 30881 void clearInterval(int handle); | 30874 void clearInterval(int handle); |
| 30882 | 30875 |
| 30883 void clearTimeout(int handle); | 30876 void clearTimeout(int handle); |
| 30884 | 30877 |
| 30885 void close(); | 30878 void close(); |
| 30886 | 30879 |
| 30887 bool dispatchEvent(Event evt); | 30880 bool dispatchEvent(Event evt); |
| 30888 | 30881 |
| 30889 void importScripts(); | 30882 void importScripts(); |
| 30890 | 30883 |
| 30891 Database openDatabase(String name, String version, String displayName, int est
imatedSize, [DatabaseCallback creationCallback]); | |
| 30892 | |
| 30893 DatabaseSync openDatabaseSync(String name, String version, String displayName,
int estimatedSize, [DatabaseCallback creationCallback]); | |
| 30894 | |
| 30895 void removeEventListener(String type, EventListener listener, [bool useCapture
]); | 30884 void removeEventListener(String type, EventListener listener, [bool useCapture
]); |
| 30896 | 30885 |
| 30897 int setInterval(TimeoutHandler handler, int timeout); | 30886 int setInterval(TimeoutHandler handler, int timeout); |
| 30898 | 30887 |
| 30899 int setTimeout(TimeoutHandler handler, int timeout); | 30888 int setTimeout(TimeoutHandler handler, int timeout); |
| 30900 | 30889 |
| 30901 void webkitRequestFileSystem(int type, int size, [FileSystemCallback successCa
llback, ErrorCallback errorCallback]); | 30890 void webkitRequestFileSystem(int type, int size, [FileSystemCallback successCa
llback, ErrorCallback errorCallback]); |
| 30902 | 30891 |
| 30903 DOMFileSystemSync webkitRequestFileSystemSync(int type, int size); | 30892 DOMFileSystemSync webkitRequestFileSystemSync(int type, int size); |
| 30904 | 30893 |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 30992 final int status; | 30981 final int status; |
| 30993 | 30982 |
| 30994 final String statusText; | 30983 final String statusText; |
| 30995 | 30984 |
| 30996 final XMLHttpRequestUpload upload; | 30985 final XMLHttpRequestUpload upload; |
| 30997 | 30986 |
| 30998 bool withCredentials; | 30987 bool withCredentials; |
| 30999 | 30988 |
| 31000 void abort(); | 30989 void abort(); |
| 31001 | 30990 |
| 30991 /** @domName addEventListener */ |
| 31002 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]); | 30992 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]); |
| 31003 | 30993 |
| 30994 /** @domName dispatchEvent */ |
| 31004 bool $dom_dispatchEvent(Event evt); | 30995 bool $dom_dispatchEvent(Event evt); |
| 31005 | 30996 |
| 31006 String getAllResponseHeaders(); | 30997 String getAllResponseHeaders(); |
| 31007 | 30998 |
| 31008 String getResponseHeader(String header); | 30999 String getResponseHeader(String header); |
| 31009 | 31000 |
| 31010 void open(String method, String url, [bool async, String user, String password
]); | 31001 void open(String method, String url, [bool async, String user, String password
]); |
| 31011 | 31002 |
| 31012 void overrideMimeType(String override); | 31003 void overrideMimeType(String override); |
| 31013 | 31004 |
| 31005 /** @domName removeEventListener */ |
| 31014 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]); | 31006 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]); |
| 31015 | 31007 |
| 31016 void send([var data]); | 31008 void send([var data]); |
| 31017 | 31009 |
| 31018 void setRequestHeader(String header, String value); | 31010 void setRequestHeader(String header, String value); |
| 31019 } | 31011 } |
| 31020 | 31012 |
| 31021 interface XMLHttpRequestEvents extends Events { | 31013 interface XMLHttpRequestEvents extends Events { |
| 31022 | 31014 |
| 31023 EventListenerList get abort(); | 31015 EventListenerList get abort(); |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 31069 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 31061 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 31070 // for details. All rights reserved. Use of this source code is governed by a | 31062 // for details. All rights reserved. Use of this source code is governed by a |
| 31071 // BSD-style license that can be found in the LICENSE file. | 31063 // BSD-style license that can be found in the LICENSE file. |
| 31072 | 31064 |
| 31073 // WARNING: Do not edit - generated code. | 31065 // WARNING: Do not edit - generated code. |
| 31074 | 31066 |
| 31075 interface XMLHttpRequestUpload extends EventTarget { | 31067 interface XMLHttpRequestUpload extends EventTarget { |
| 31076 | 31068 |
| 31077 XMLHttpRequestUploadEvents get on(); | 31069 XMLHttpRequestUploadEvents get on(); |
| 31078 | 31070 |
| 31071 /** @domName addEventListener */ |
| 31079 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]); | 31072 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]); |
| 31080 | 31073 |
| 31074 /** @domName dispatchEvent */ |
| 31081 bool $dom_dispatchEvent(Event evt); | 31075 bool $dom_dispatchEvent(Event evt); |
| 31082 | 31076 |
| 31077 /** @domName removeEventListener */ |
| 31083 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]); | 31078 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]); |
| 31084 } | 31079 } |
| 31085 | 31080 |
| 31086 interface XMLHttpRequestUploadEvents extends Events { | 31081 interface XMLHttpRequestUploadEvents extends Events { |
| 31087 | 31082 |
| 31088 EventListenerList get abort(); | 31083 EventListenerList get abort(); |
| 31089 | 31084 |
| 31090 EventListenerList get error(); | 31085 EventListenerList get error(); |
| 31091 | 31086 |
| 31092 EventListenerList get load(); | 31087 EventListenerList get load(); |
| (...skipping 1294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 32387 if (length < 0) throw new IllegalArgumentException('length'); | 32382 if (length < 0) throw new IllegalArgumentException('length'); |
| 32388 if (start < 0) throw new IndexOutOfRangeException(start); | 32383 if (start < 0) throw new IndexOutOfRangeException(start); |
| 32389 int end = start + length; | 32384 int end = start + length; |
| 32390 if (end > a.length) throw new IndexOutOfRangeException(end); | 32385 if (end > a.length) throw new IndexOutOfRangeException(end); |
| 32391 for (int i = start; i < end; i++) { | 32386 for (int i = start; i < end; i++) { |
| 32392 accumulator.add(a[i]); | 32387 accumulator.add(a[i]); |
| 32393 } | 32388 } |
| 32394 return accumulator; | 32389 return accumulator; |
| 32395 } | 32390 } |
| 32396 } | 32391 } |
| OLD | NEW |