| 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 |
| 11 | 11 |
| 12 | 12 |
| 13 // TODO(sra): What 'window' do we get in a worker? Perhaps this | 13 // TODO(sra): What 'window' do we get in a worker? Perhaps this |
| 14 // should return the interface type. | 14 // should return the interface type. |
| 15 DOMWindow get window() native "return window;"; | 15 DOMWindow get window() native "return window;"; |
| 16 | 16 |
| 17 HTMLDocument get document() native "return document;"; | 17 HTMLDocument get document() native "return document;"; |
| 18 | 18 |
| 19 // TODO(vsm): Implement these. | 19 // TODO(vsm): Implement these. |
| 20 interface LayoutTestController {} | 20 interface LayoutTestController {} |
| 21 LayoutTestController layoutTestController; | 21 LayoutTestController layoutTestController; |
| 22 | 22 |
| 23 spawnDomIsolate(Window targetWindow, String entryPoint) { | 23 spawnDomIsolate(Window targetWindow, String entryPoint) { |
| 24 throw const NotImplementedException(); | 24 throw const NotImplementedException(); |
| 25 } | 25 } |
| 26 | 26 |
| 27 class _AbstractWorkerJs extends _EventTargetJs implements AbstractWorker native
"*AbstractWorker" { | 27 class _AbstractWorkerJs extends _EventTargetJs implements AbstractWorker native
"*AbstractWorker" { |
| 28 | 28 |
| 29 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; | 29 void addEventListener(String type, EventListener listener, [bool useCapture])
native; |
| 30 | 30 |
| 31 bool dispatchEvent(_EventJs evt) native; | 31 bool dispatchEvent(_EventJs evt) native; |
| 32 | 32 |
| 33 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | 33 void removeEventListener(String type, EventListener listener, [bool useCapture
]) native; |
| 34 } | 34 } |
| 35 | 35 |
| 36 class _ArrayBufferJs extends _DOMTypeJs implements ArrayBuffer native "*ArrayBuf
fer" { | 36 class _ArrayBufferJs extends _DOMTypeJs implements ArrayBuffer native "*ArrayBuf
fer" { |
| 37 | 37 |
| 38 final int byteLength; | 38 final int byteLength; |
| 39 | 39 |
| 40 _ArrayBufferJs slice(int begin, [int end = null]) native; | 40 _ArrayBufferJs slice(int begin, [int end]) native; |
| 41 } | 41 } |
| 42 | 42 |
| 43 class _ArrayBufferViewJs extends _DOMTypeJs implements ArrayBufferView native "*
ArrayBufferView" { | 43 class _ArrayBufferViewJs extends _DOMTypeJs implements ArrayBufferView native "*
ArrayBufferView" { |
| 44 | 44 |
| 45 final _ArrayBufferJs buffer; | 45 final _ArrayBufferJs buffer; |
| 46 | 46 |
| 47 final int byteLength; | 47 final int byteLength; |
| 48 | 48 |
| 49 final int byteOffset; | 49 final int byteOffset; |
| 50 } | 50 } |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 final _AudioDestinationNodeJs destination; | 121 final _AudioDestinationNodeJs destination; |
| 122 | 122 |
| 123 final _AudioListenerJs listener; | 123 final _AudioListenerJs listener; |
| 124 | 124 |
| 125 final num sampleRate; | 125 final num sampleRate; |
| 126 | 126 |
| 127 _RealtimeAnalyserNodeJs createAnalyser() native; | 127 _RealtimeAnalyserNodeJs createAnalyser() native; |
| 128 | 128 |
| 129 _BiquadFilterNodeJs createBiquadFilter() native; | 129 _BiquadFilterNodeJs createBiquadFilter() native; |
| 130 | 130 |
| 131 _AudioBufferJs createBuffer(buffer_OR_numberOfChannels, mixToMono_OR_numberOfF
rames, [num sampleRate = null]) native; | 131 _AudioBufferJs createBuffer(buffer_OR_numberOfChannels, mixToMono_OR_numberOfF
rames, [num sampleRate]) native; |
| 132 | 132 |
| 133 _AudioBufferSourceNodeJs createBufferSource() native; | 133 _AudioBufferSourceNodeJs createBufferSource() native; |
| 134 | 134 |
| 135 _AudioChannelMergerJs createChannelMerger([int numberOfInputs = null]) native; | 135 _AudioChannelMergerJs createChannelMerger([int numberOfInputs]) native; |
| 136 | 136 |
| 137 _AudioChannelSplitterJs createChannelSplitter([int numberOfOutputs = null]) na
tive; | 137 _AudioChannelSplitterJs createChannelSplitter([int numberOfOutputs]) native; |
| 138 | 138 |
| 139 _ConvolverNodeJs createConvolver() native; | 139 _ConvolverNodeJs createConvolver() native; |
| 140 | 140 |
| 141 _DelayNodeJs createDelayNode([num maxDelayTime = null]) native; | 141 _DelayNodeJs createDelayNode([num maxDelayTime]) native; |
| 142 | 142 |
| 143 _DynamicsCompressorNodeJs createDynamicsCompressor() native; | 143 _DynamicsCompressorNodeJs createDynamicsCompressor() native; |
| 144 | 144 |
| 145 _AudioGainNodeJs createGainNode() native; | 145 _AudioGainNodeJs createGainNode() native; |
| 146 | 146 |
| 147 _JavaScriptAudioNodeJs createJavaScriptNode(int bufferSize, [int numberOfInput
Channels = null, int numberOfOutputChannels = null]) native; | 147 _JavaScriptAudioNodeJs createJavaScriptNode(int bufferSize, [int numberOfInput
Channels, int numberOfOutputChannels]) native; |
| 148 | 148 |
| 149 _MediaElementAudioSourceNodeJs createMediaElementSource(_HTMLMediaElementJs me
diaElement) native; | 149 _MediaElementAudioSourceNodeJs createMediaElementSource(_HTMLMediaElementJs me
diaElement) native; |
| 150 | 150 |
| 151 _OscillatorJs createOscillator() native; | 151 _OscillatorJs createOscillator() native; |
| 152 | 152 |
| 153 _AudioPannerNodeJs createPanner() native; | 153 _AudioPannerNodeJs createPanner() native; |
| 154 | 154 |
| 155 _WaveShaperNodeJs createWaveShaper() native; | 155 _WaveShaperNodeJs createWaveShaper() native; |
| 156 | 156 |
| 157 _WaveTableJs createWaveTable(_Float32ArrayJs real, _Float32ArrayJs imag) nativ
e; | 157 _WaveTableJs createWaveTable(_Float32ArrayJs real, _Float32ArrayJs imag) nativ
e; |
| 158 | 158 |
| 159 void decodeAudioData(_ArrayBufferJs audioData, AudioBufferCallback successCall
back, [AudioBufferCallback errorCallback = null]) native; | 159 void decodeAudioData(_ArrayBufferJs audioData, AudioBufferCallback successCall
back, [AudioBufferCallback errorCallback]) native; |
| 160 | 160 |
| 161 void startRendering() native; | 161 void startRendering() native; |
| 162 } | 162 } |
| 163 | 163 |
| 164 class _AudioDestinationNodeJs extends _AudioNodeJs implements AudioDestinationNo
de native "*AudioDestinationNode" { | 164 class _AudioDestinationNodeJs extends _AudioNodeJs implements AudioDestinationNo
de native "*AudioDestinationNode" { |
| 165 | 165 |
| 166 final int numberOfChannels; | 166 final int numberOfChannels; |
| 167 } | 167 } |
| 168 | 168 |
| 169 class _AudioGainJs extends _AudioParamJs implements AudioGain native "*AudioGain
" { | 169 class _AudioGainJs extends _AudioParamJs implements AudioGain native "*AudioGain
" { |
| (...skipping 18 matching lines...) Expand all Loading... |
| 188 } | 188 } |
| 189 | 189 |
| 190 class _AudioNodeJs extends _DOMTypeJs implements AudioNode native "*AudioNode" { | 190 class _AudioNodeJs extends _DOMTypeJs implements AudioNode native "*AudioNode" { |
| 191 | 191 |
| 192 final _AudioContextJs context; | 192 final _AudioContextJs context; |
| 193 | 193 |
| 194 final int numberOfInputs; | 194 final int numberOfInputs; |
| 195 | 195 |
| 196 final int numberOfOutputs; | 196 final int numberOfOutputs; |
| 197 | 197 |
| 198 void connect(destination, int output, [int input = null]) native; | 198 void connect(destination, int output, [int input]) native; |
| 199 | 199 |
| 200 void disconnect(int output) native; | 200 void disconnect(int output) native; |
| 201 } | 201 } |
| 202 | 202 |
| 203 class _AudioPannerNodeJs extends _AudioNodeJs implements AudioPannerNode native
"*AudioPannerNode" { | 203 class _AudioPannerNodeJs extends _AudioNodeJs implements AudioPannerNode native
"*AudioPannerNode" { |
| 204 | 204 |
| 205 static final int EQUALPOWER = 0; | 205 static final int EQUALPOWER = 0; |
| 206 | 206 |
| 207 static final int EXPONENTIAL_DISTANCE = 2; | 207 static final int EXPONENTIAL_DISTANCE = 2; |
| 208 | 208 |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 286 class _BatteryManagerJs extends _EventTargetJs implements BatteryManager native
"*BatteryManager" { | 286 class _BatteryManagerJs extends _EventTargetJs implements BatteryManager native
"*BatteryManager" { |
| 287 | 287 |
| 288 final bool charging; | 288 final bool charging; |
| 289 | 289 |
| 290 final num chargingTime; | 290 final num chargingTime; |
| 291 | 291 |
| 292 final num dischargingTime; | 292 final num dischargingTime; |
| 293 | 293 |
| 294 final num level; | 294 final num level; |
| 295 | 295 |
| 296 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; | 296 void addEventListener(String type, EventListener listener, [bool useCapture])
native; |
| 297 | 297 |
| 298 bool dispatchEvent(_EventJs evt) native; | 298 bool dispatchEvent(_EventJs evt) native; |
| 299 | 299 |
| 300 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | 300 void removeEventListener(String type, EventListener listener, [bool useCapture
]) native; |
| 301 } | 301 } |
| 302 | 302 |
| 303 class _BeforeLoadEventJs extends _EventJs implements BeforeLoadEvent native "*Be
foreLoadEvent" { | 303 class _BeforeLoadEventJs extends _EventJs implements BeforeLoadEvent native "*Be
foreLoadEvent" { |
| 304 | 304 |
| 305 final String url; | 305 final String url; |
| 306 } | 306 } |
| 307 | 307 |
| 308 class _BiquadFilterNodeJs extends _AudioNodeJs implements BiquadFilterNode nativ
e "*BiquadFilterNode" { | 308 class _BiquadFilterNodeJs extends _AudioNodeJs implements BiquadFilterNode nativ
e "*BiquadFilterNode" { |
| 309 | 309 |
| 310 static final int ALLPASS = 7; | 310 static final int ALLPASS = 7; |
| (...skipping 22 matching lines...) Expand all Loading... |
| 333 | 333 |
| 334 void getFrequencyResponse(_Float32ArrayJs frequencyHz, _Float32ArrayJs magResp
onse, _Float32ArrayJs phaseResponse) native; | 334 void getFrequencyResponse(_Float32ArrayJs frequencyHz, _Float32ArrayJs magResp
onse, _Float32ArrayJs phaseResponse) native; |
| 335 } | 335 } |
| 336 | 336 |
| 337 class _BlobJs extends _DOMTypeJs implements Blob native "*Blob" { | 337 class _BlobJs extends _DOMTypeJs implements Blob native "*Blob" { |
| 338 | 338 |
| 339 final int size; | 339 final int size; |
| 340 | 340 |
| 341 final String type; | 341 final String type; |
| 342 | 342 |
| 343 _BlobJs slice([int start = null, int end = null, String contentType = null]) n
ative; | 343 _BlobJs slice([int start, int end, String contentType]) native; |
| 344 | 344 |
| 345 _BlobJs webkitSlice([int start = null, int end = null, String contentType = nu
ll]) native; | 345 _BlobJs webkitSlice([int start, int end, String contentType]) native; |
| 346 } | 346 } |
| 347 | 347 |
| 348 class _CDATASectionJs extends _TextJs implements CDATASection native "*CDATASect
ion" { | 348 class _CDATASectionJs extends _TextJs implements CDATASection native "*CDATASect
ion" { |
| 349 } | 349 } |
| 350 | 350 |
| 351 class _CSSCharsetRuleJs extends _CSSRuleJs implements CSSCharsetRule native "*CS
SCharsetRule" { | 351 class _CSSCharsetRuleJs extends _CSSRuleJs implements CSSCharsetRule native "*CS
SCharsetRule" { |
| 352 | 352 |
| 353 String encoding; | 353 String encoding; |
| 354 } | 354 } |
| 355 | 355 |
| (...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 513 String getPropertyShorthand(String propertyName) native; | 513 String getPropertyShorthand(String propertyName) native; |
| 514 | 514 |
| 515 String getPropertyValue(String propertyName) native; | 515 String getPropertyValue(String propertyName) native; |
| 516 | 516 |
| 517 bool isPropertyImplicit(String propertyName) native; | 517 bool isPropertyImplicit(String propertyName) native; |
| 518 | 518 |
| 519 String item(int index) native; | 519 String item(int index) native; |
| 520 | 520 |
| 521 String removeProperty(String propertyName) native; | 521 String removeProperty(String propertyName) native; |
| 522 | 522 |
| 523 void setProperty(String propertyName, String value, [String priority = null])
native; | 523 void setProperty(String propertyName, String value, [String priority]) native; |
| 524 } | 524 } |
| 525 | 525 |
| 526 class _CSSStyleRuleJs extends _CSSRuleJs implements CSSStyleRule native "*CSSSty
leRule" { | 526 class _CSSStyleRuleJs extends _CSSRuleJs implements CSSStyleRule native "*CSSSty
leRule" { |
| 527 | 527 |
| 528 String selectorText; | 528 String selectorText; |
| 529 | 529 |
| 530 final _CSSStyleDeclarationJs style; | 530 final _CSSStyleDeclarationJs style; |
| 531 } | 531 } |
| 532 | 532 |
| 533 class _CSSStyleSheetJs extends _StyleSheetJs implements CSSStyleSheet native "*C
SSStyleSheet" { | 533 class _CSSStyleSheetJs extends _StyleSheetJs implements CSSStyleSheet native "*C
SSStyleSheet" { |
| 534 | 534 |
| 535 final _CSSRuleListJs cssRules; | 535 final _CSSRuleListJs cssRules; |
| 536 | 536 |
| 537 final _CSSRuleJs ownerRule; | 537 final _CSSRuleJs ownerRule; |
| 538 | 538 |
| 539 final _CSSRuleListJs rules; | 539 final _CSSRuleListJs rules; |
| 540 | 540 |
| 541 int addRule(String selector, String style, [int index = null]) native; | 541 int addRule(String selector, String style, [int index]) native; |
| 542 | 542 |
| 543 void deleteRule(int index) native; | 543 void deleteRule(int index) native; |
| 544 | 544 |
| 545 int insertRule(String rule, int index) native; | 545 int insertRule(String rule, int index) native; |
| 546 | 546 |
| 547 void removeRule(int index) native; | 547 void removeRule(int index) native; |
| 548 } | 548 } |
| 549 | 549 |
| 550 class _CSSUnknownRuleJs extends _CSSRuleJs implements CSSUnknownRule native "*CS
SUnknownRule" { | 550 class _CSSUnknownRuleJs extends _CSSRuleJs implements CSSUnknownRule native "*CS
SUnknownRule" { |
| 551 } | 551 } |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 634 void bezierCurveTo(num cp1x, num cp1y, num cp2x, num cp2y, num x, num y) nativ
e; | 634 void bezierCurveTo(num cp1x, num cp1y, num cp2x, num cp2y, num x, num y) nativ
e; |
| 635 | 635 |
| 636 void clearRect(num x, num y, num width, num height) native; | 636 void clearRect(num x, num y, num width, num height) native; |
| 637 | 637 |
| 638 void clearShadow() native; | 638 void clearShadow() native; |
| 639 | 639 |
| 640 void clip() native; | 640 void clip() native; |
| 641 | 641 |
| 642 void closePath() native; | 642 void closePath() native; |
| 643 | 643 |
| 644 _ImageDataJs createImageData(imagedata_OR_sw, [num sh = null]) native; | 644 _ImageDataJs createImageData(imagedata_OR_sw, [num sh]) native; |
| 645 | 645 |
| 646 _CanvasGradientJs createLinearGradient(num x0, num y0, num x1, num y1) native; | 646 _CanvasGradientJs createLinearGradient(num x0, num y0, num x1, num y1) native; |
| 647 | 647 |
| 648 _CanvasPatternJs createPattern(canvas_OR_image, String repetitionType) native; | 648 _CanvasPatternJs createPattern(canvas_OR_image, String repetitionType) native; |
| 649 | 649 |
| 650 _CanvasGradientJs createRadialGradient(num x0, num y0, num r0, num x1, num y1,
num r1) native; | 650 _CanvasGradientJs createRadialGradient(num x0, num y0, num r0, num x1, num y1,
num r1) native; |
| 651 | 651 |
| 652 void drawImage(canvas_OR_image_OR_video, num sx_OR_x, num sy_OR_y, [num sw_OR_
width = null, num height_OR_sh = null, num dx = null, num dy = null, num dw = nu
ll, num dh = null]) native; | 652 void drawImage(canvas_OR_image_OR_video, num sx_OR_x, num sy_OR_y, [num sw_OR_
width, num height_OR_sh, num dx, num dy, num dw, num dh]) native; |
| 653 | 653 |
| 654 void drawImageFromRect(_HTMLImageElementJs image, [num sx = null, num sy = nul
l, num sw = null, num sh = null, num dx = null, num dy = null, num dw = null, nu
m dh = null, String compositeOperation = null]) native; | 654 void drawImageFromRect(_HTMLImageElementJs image, [num sx, num sy, num sw, num
sh, num dx, num dy, num dw, num dh, String compositeOperation]) native; |
| 655 | 655 |
| 656 void fill() native; | 656 void fill() native; |
| 657 | 657 |
| 658 void fillRect(num x, num y, num width, num height) native; | 658 void fillRect(num x, num y, num width, num height) native; |
| 659 | 659 |
| 660 void fillText(String text, num x, num y, [num maxWidth = null]) native; | 660 void fillText(String text, num x, num y, [num maxWidth]) native; |
| 661 | 661 |
| 662 _ImageDataJs getImageData(num sx, num sy, num sw, num sh) native; | 662 _ImageDataJs getImageData(num sx, num sy, num sw, num sh) native; |
| 663 | 663 |
| 664 bool isPointInPath(num x, num y) native; | 664 bool isPointInPath(num x, num y) native; |
| 665 | 665 |
| 666 void lineTo(num x, num y) native; | 666 void lineTo(num x, num y) native; |
| 667 | 667 |
| 668 _TextMetricsJs measureText(String text) native; | 668 _TextMetricsJs measureText(String text) native; |
| 669 | 669 |
| 670 void moveTo(num x, num y) native; | 670 void moveTo(num x, num y) native; |
| 671 | 671 |
| 672 void putImageData(_ImageDataJs imagedata, num dx, num dy, [num dirtyX = null,
num dirtyY = null, num dirtyWidth = null, num dirtyHeight = null]) native; | 672 void putImageData(_ImageDataJs imagedata, num dx, num dy, [num dirtyX, num dir
tyY, num dirtyWidth, num dirtyHeight]) native; |
| 673 | 673 |
| 674 void quadraticCurveTo(num cpx, num cpy, num x, num y) native; | 674 void quadraticCurveTo(num cpx, num cpy, num x, num y) native; |
| 675 | 675 |
| 676 void rect(num x, num y, num width, num height) native; | 676 void rect(num x, num y, num width, num height) native; |
| 677 | 677 |
| 678 void restore() native; | 678 void restore() native; |
| 679 | 679 |
| 680 void rotate(num angle) native; | 680 void rotate(num angle) native; |
| 681 | 681 |
| 682 void save() native; | 682 void save() native; |
| 683 | 683 |
| 684 void scale(num sx, num sy) native; | 684 void scale(num sx, num sy) native; |
| 685 | 685 |
| 686 void setAlpha(num alpha) native; | 686 void setAlpha(num alpha) native; |
| 687 | 687 |
| 688 void setCompositeOperation(String compositeOperation) native; | 688 void setCompositeOperation(String compositeOperation) native; |
| 689 | 689 |
| 690 void setFillColor(c_OR_color_OR_grayLevel_OR_r, [num alpha_OR_g_OR_m = null, n
um b_OR_y = null, num a_OR_k = null, num a = null]) native; | 690 void setFillColor(c_OR_color_OR_grayLevel_OR_r, [num alpha_OR_g_OR_m, num b_OR
_y, num a_OR_k, num a]) native; |
| 691 | 691 |
| 692 void setLineCap(String cap) native; | 692 void setLineCap(String cap) native; |
| 693 | 693 |
| 694 void setLineJoin(String join) native; | 694 void setLineJoin(String join) native; |
| 695 | 695 |
| 696 void setLineWidth(num width) native; | 696 void setLineWidth(num width) native; |
| 697 | 697 |
| 698 void setMiterLimit(num limit) native; | 698 void setMiterLimit(num limit) native; |
| 699 | 699 |
| 700 void setShadow(num width, num height, num blur, [c_OR_color_OR_grayLevel_OR_r
= null, num alpha_OR_g_OR_m = null, num b_OR_y = null, num a_OR_k = null, num a
= null]) native; | 700 void setShadow(num width, num height, num blur, [c_OR_color_OR_grayLevel_OR_r,
num alpha_OR_g_OR_m, num b_OR_y, num a_OR_k, num a]) native; |
| 701 | 701 |
| 702 void setStrokeColor(c_OR_color_OR_grayLevel_OR_r, [num alpha_OR_g_OR_m = null,
num b_OR_y = null, num a_OR_k = null, num a = null]) native; | 702 void setStrokeColor(c_OR_color_OR_grayLevel_OR_r, [num alpha_OR_g_OR_m, num b_
OR_y, num a_OR_k, num a]) native; |
| 703 | 703 |
| 704 void setTransform(num m11, num m12, num m21, num m22, num dx, num dy) native; | 704 void setTransform(num m11, num m12, num m21, num m22, num dx, num dy) native; |
| 705 | 705 |
| 706 void stroke() native; | 706 void stroke() native; |
| 707 | 707 |
| 708 void strokeRect(num x, num y, num width, num height, [num lineWidth = null]) n
ative; | 708 void strokeRect(num x, num y, num width, num height, [num lineWidth]) native; |
| 709 | 709 |
| 710 void strokeText(String text, num x, num y, [num maxWidth = null]) native; | 710 void strokeText(String text, num x, num y, [num maxWidth]) native; |
| 711 | 711 |
| 712 void transform(num m11, num m12, num m21, num m22, num dx, num dy) native; | 712 void transform(num m11, num m12, num m21, num m22, num dx, num dy) native; |
| 713 | 713 |
| 714 void translate(num tx, num ty) native; | 714 void translate(num tx, num ty) native; |
| 715 | 715 |
| 716 _ImageDataJs webkitGetImageDataHD(num sx, num sy, num sw, num sh) native; | 716 _ImageDataJs webkitGetImageDataHD(num sx, num sy, num sw, num sh) native; |
| 717 | 717 |
| 718 void webkitPutImageDataHD(_ImageDataJs imagedata, num dx, num dy, [num dirtyX
= null, num dirtyY = null, num dirtyWidth = null, num dirtyHeight = null]) nativ
e; | 718 void webkitPutImageDataHD(_ImageDataJs imagedata, num dx, num dy, [num dirtyX,
num dirtyY, num dirtyWidth, num dirtyHeight]) native; |
| 719 } | 719 } |
| 720 | 720 |
| 721 class _CharacterDataJs extends _NodeJs implements CharacterData native "*Charact
erData" { | 721 class _CharacterDataJs extends _NodeJs implements CharacterData native "*Charact
erData" { |
| 722 | 722 |
| 723 String data; | 723 String data; |
| 724 | 724 |
| 725 final int length; | 725 final int length; |
| 726 | 726 |
| 727 void appendData(String data) native; | 727 void appendData(String data) native; |
| 728 | 728 |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 762 String dropEffect; | 762 String dropEffect; |
| 763 | 763 |
| 764 String effectAllowed; | 764 String effectAllowed; |
| 765 | 765 |
| 766 final _FileListJs files; | 766 final _FileListJs files; |
| 767 | 767 |
| 768 final _DataTransferItemListJs items; | 768 final _DataTransferItemListJs items; |
| 769 | 769 |
| 770 final List types; | 770 final List types; |
| 771 | 771 |
| 772 void clearData([String type = null]) native; | 772 void clearData([String type]) native; |
| 773 | 773 |
| 774 String getData(String type) native; | 774 String getData(String type) native; |
| 775 | 775 |
| 776 bool setData(String type, String data) native; | 776 bool setData(String type, String data) native; |
| 777 | 777 |
| 778 void setDragImage(_HTMLImageElementJs image, int x, int y) native; | 778 void setDragImage(_HTMLImageElementJs image, int x, int y) native; |
| 779 } | 779 } |
| 780 | 780 |
| 781 class _CloseEventJs extends _EventJs implements CloseEvent native "*CloseEvent"
{ | 781 class _CloseEventJs extends _EventJs implements CloseEvent native "*CloseEvent"
{ |
| 782 | 782 |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 909 static final int OBSOLETE = 5; | 909 static final int OBSOLETE = 5; |
| 910 | 910 |
| 911 static final int UNCACHED = 0; | 911 static final int UNCACHED = 0; |
| 912 | 912 |
| 913 static final int UPDATEREADY = 4; | 913 static final int UPDATEREADY = 4; |
| 914 | 914 |
| 915 final int status; | 915 final int status; |
| 916 | 916 |
| 917 void abort() native; | 917 void abort() native; |
| 918 | 918 |
| 919 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; | 919 void addEventListener(String type, EventListener listener, [bool useCapture])
native; |
| 920 | 920 |
| 921 bool dispatchEvent(_EventJs evt) native; | 921 bool dispatchEvent(_EventJs evt) native; |
| 922 | 922 |
| 923 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | 923 void removeEventListener(String type, EventListener listener, [bool useCapture
]) native; |
| 924 | 924 |
| 925 void swapCache() native; | 925 void swapCache() native; |
| 926 | 926 |
| 927 void update() native; | 927 void update() native; |
| 928 } | 928 } |
| 929 | 929 |
| 930 class _DOMErrorJs extends _DOMTypeJs implements DOMError native "*DOMError" { | 930 class _DOMErrorJs extends _DOMTypeJs implements DOMError native "*DOMError" { |
| 931 | 931 |
| 932 final String name; | 932 final String name; |
| 933 } | 933 } |
| (...skipping 434 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1368 final _StyleMediaJs styleMedia; | 1368 final _StyleMediaJs styleMedia; |
| 1369 | 1369 |
| 1370 final _BarInfoJs toolbar; | 1370 final _BarInfoJs toolbar; |
| 1371 | 1371 |
| 1372 final _IDBFactoryJs webkitIndexedDB; | 1372 final _IDBFactoryJs webkitIndexedDB; |
| 1373 | 1373 |
| 1374 final _NotificationCenterJs webkitNotifications; | 1374 final _NotificationCenterJs webkitNotifications; |
| 1375 | 1375 |
| 1376 final _DOMWindowJs window; | 1376 final _DOMWindowJs window; |
| 1377 | 1377 |
| 1378 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; | 1378 void addEventListener(String type, EventListener listener, [bool useCapture])
native; |
| 1379 | 1379 |
| 1380 void alert(String message) native; | 1380 void alert(String message) native; |
| 1381 | 1381 |
| 1382 String atob(String string) native; | 1382 String atob(String string) native; |
| 1383 | 1383 |
| 1384 void blur() native; | 1384 void blur() native; |
| 1385 | 1385 |
| 1386 String btoa(String string) native; | 1386 String btoa(String string) native; |
| 1387 | 1387 |
| 1388 void captureEvents() native; | 1388 void captureEvents() native; |
| (...skipping 17 matching lines...) Expand all Loading... |
| 1406 _CSSRuleListJs getMatchedCSSRules(_ElementJs element, String pseudoElement) na
tive; | 1406 _CSSRuleListJs getMatchedCSSRules(_ElementJs element, String pseudoElement) na
tive; |
| 1407 | 1407 |
| 1408 _DOMSelectionJs getSelection() native; | 1408 _DOMSelectionJs getSelection() native; |
| 1409 | 1409 |
| 1410 _MediaQueryListJs matchMedia(String query) native; | 1410 _MediaQueryListJs matchMedia(String query) native; |
| 1411 | 1411 |
| 1412 void moveBy(num x, num y) native; | 1412 void moveBy(num x, num y) native; |
| 1413 | 1413 |
| 1414 void moveTo(num x, num y) native; | 1414 void moveTo(num x, num y) native; |
| 1415 | 1415 |
| 1416 _DOMWindowJs open(String url, String name, [String options = null]) native; | 1416 _DOMWindowJs open(String url, String name, [String options]) native; |
| 1417 | 1417 |
| 1418 _DatabaseJs openDatabase(String name, String version, String displayName, int
estimatedSize, [DatabaseCallback creationCallback = null]) native; | 1418 _DatabaseJs openDatabase(String name, String version, String displayName, int
estimatedSize, [DatabaseCallback creationCallback]) native; |
| 1419 | 1419 |
| 1420 void postMessage(message, String targetOrigin, [List messagePorts = null]) nat
ive; | 1420 void postMessage(message, String targetOrigin, [List messagePorts]) native; |
| 1421 | 1421 |
| 1422 void print() native; | 1422 void print() native; |
| 1423 | 1423 |
| 1424 String prompt(String message, String defaultValue) native; | 1424 String prompt(String message, String defaultValue) native; |
| 1425 | 1425 |
| 1426 void releaseEvents() native; | 1426 void releaseEvents() native; |
| 1427 | 1427 |
| 1428 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | 1428 void removeEventListener(String type, EventListener listener, [bool useCapture
]) native; |
| 1429 | 1429 |
| 1430 void resizeBy(num x, num y) native; | 1430 void resizeBy(num x, num y) native; |
| 1431 | 1431 |
| 1432 void resizeTo(num width, num height) native; | 1432 void resizeTo(num width, num height) native; |
| 1433 | 1433 |
| 1434 void scroll(int x, int y) native; | 1434 void scroll(int x, int y) native; |
| 1435 | 1435 |
| 1436 void scrollBy(int x, int y) native; | 1436 void scrollBy(int x, int y) native; |
| 1437 | 1437 |
| 1438 void scrollTo(int x, int y) native; | 1438 void scrollTo(int x, int y) native; |
| 1439 | 1439 |
| 1440 int setInterval(TimeoutHandler handler, int timeout) native; | 1440 int setInterval(TimeoutHandler handler, int timeout) native; |
| 1441 | 1441 |
| 1442 int setTimeout(TimeoutHandler handler, int timeout) native; | 1442 int setTimeout(TimeoutHandler handler, int timeout) native; |
| 1443 | 1443 |
| 1444 Object showModalDialog(String url, [Object dialogArgs = null, String featureAr
gs = null]) native; | 1444 Object showModalDialog(String url, [Object dialogArgs, String featureArgs]) na
tive; |
| 1445 | 1445 |
| 1446 void stop() native; | 1446 void stop() native; |
| 1447 | 1447 |
| 1448 void webkitCancelAnimationFrame(int id) native; | 1448 void webkitCancelAnimationFrame(int id) native; |
| 1449 | 1449 |
| 1450 void webkitCancelRequestAnimationFrame(int id) native; | 1450 void webkitCancelRequestAnimationFrame(int id) native; |
| 1451 | 1451 |
| 1452 _WebKitPointJs webkitConvertPointFromNodeToPage(_NodeJs node, _WebKitPointJs p
) native; | 1452 _WebKitPointJs webkitConvertPointFromNodeToPage(_NodeJs node, _WebKitPointJs p
) native; |
| 1453 | 1453 |
| 1454 _WebKitPointJs webkitConvertPointFromPageToNode(_NodeJs node, _WebKitPointJs p
) native; | 1454 _WebKitPointJs webkitConvertPointFromPageToNode(_NodeJs node, _WebKitPointJs p
) native; |
| 1455 | 1455 |
| 1456 void webkitPostMessage(message, String targetOrigin, [List transferList = null
]) native; | 1456 void webkitPostMessage(message, String targetOrigin, [List transferList]) nati
ve; |
| 1457 | 1457 |
| 1458 int webkitRequestAnimationFrame(RequestAnimationFrameCallback callback) native
; | 1458 int webkitRequestAnimationFrame(RequestAnimationFrameCallback callback) native
; |
| 1459 | 1459 |
| 1460 void webkitRequestFileSystem(int type, int size, FileSystemCallback successCal
lback, [ErrorCallback errorCallback = null]) native; | 1460 void webkitRequestFileSystem(int type, int size, FileSystemCallback successCal
lback, [ErrorCallback errorCallback]) native; |
| 1461 | 1461 |
| 1462 void webkitResolveLocalFileSystemURL(String url, [EntryCallback successCallbac
k = null, ErrorCallback errorCallback = null]) native; | 1462 void webkitResolveLocalFileSystemURL(String url, [EntryCallback successCallbac
k, ErrorCallback errorCallback]) native; |
| 1463 | 1463 |
| 1464 } | 1464 } |
| 1465 | 1465 |
| 1466 class _DataTransferItemJs extends _DOMTypeJs implements DataTransferItem native
"*DataTransferItem" { | 1466 class _DataTransferItemJs extends _DOMTypeJs implements DataTransferItem native
"*DataTransferItem" { |
| 1467 | 1467 |
| 1468 final String kind; | 1468 final String kind; |
| 1469 | 1469 |
| 1470 final String type; | 1470 final String type; |
| 1471 | 1471 |
| 1472 _BlobJs getAsFile() native; | 1472 _BlobJs getAsFile() native; |
| 1473 | 1473 |
| 1474 void getAsString([StringCallback callback = null]) native; | 1474 void getAsString([StringCallback callback]) native; |
| 1475 | 1475 |
| 1476 _EntryJs webkitGetAsEntry() native; | 1476 _EntryJs webkitGetAsEntry() native; |
| 1477 } | 1477 } |
| 1478 | 1478 |
| 1479 class _DataTransferItemListJs extends _DOMTypeJs implements DataTransferItemList
native "*DataTransferItemList" { | 1479 class _DataTransferItemListJs extends _DOMTypeJs implements DataTransferItemList
native "*DataTransferItemList" { |
| 1480 | 1480 |
| 1481 final int length; | 1481 final int length; |
| 1482 | 1482 |
| 1483 void add(data_OR_file, [String type = null]) native; | 1483 void add(data_OR_file, [String type]) native; |
| 1484 | 1484 |
| 1485 void clear() native; | 1485 void clear() native; |
| 1486 | 1486 |
| 1487 _DataTransferItemJs item(int index) native; | 1487 _DataTransferItemJs item(int index) native; |
| 1488 } | 1488 } |
| 1489 | 1489 |
| 1490 class _DataViewJs extends _ArrayBufferViewJs implements DataView native "*DataVi
ew" { | 1490 class _DataViewJs extends _ArrayBufferViewJs implements DataView native "*DataVi
ew" { |
| 1491 | 1491 |
| 1492 num getFloat32(int byteOffset, [bool littleEndian = null]) native; | 1492 num getFloat32(int byteOffset, [bool littleEndian]) native; |
| 1493 | 1493 |
| 1494 num getFloat64(int byteOffset, [bool littleEndian = null]) native; | 1494 num getFloat64(int byteOffset, [bool littleEndian]) native; |
| 1495 | 1495 |
| 1496 int getInt16(int byteOffset, [bool littleEndian = null]) native; | 1496 int getInt16(int byteOffset, [bool littleEndian]) native; |
| 1497 | 1497 |
| 1498 int getInt32(int byteOffset, [bool littleEndian = null]) native; | 1498 int getInt32(int byteOffset, [bool littleEndian]) native; |
| 1499 | 1499 |
| 1500 int getInt8(int byteOffset) native; | 1500 int getInt8(int byteOffset) native; |
| 1501 | 1501 |
| 1502 int getUint16(int byteOffset, [bool littleEndian = null]) native; | 1502 int getUint16(int byteOffset, [bool littleEndian]) native; |
| 1503 | 1503 |
| 1504 int getUint32(int byteOffset, [bool littleEndian = null]) native; | 1504 int getUint32(int byteOffset, [bool littleEndian]) native; |
| 1505 | 1505 |
| 1506 int getUint8(int byteOffset) native; | 1506 int getUint8(int byteOffset) native; |
| 1507 | 1507 |
| 1508 void setFloat32(int byteOffset, num value, [bool littleEndian = null]) native; | 1508 void setFloat32(int byteOffset, num value, [bool littleEndian]) native; |
| 1509 | 1509 |
| 1510 void setFloat64(int byteOffset, num value, [bool littleEndian = null]) native; | 1510 void setFloat64(int byteOffset, num value, [bool littleEndian]) native; |
| 1511 | 1511 |
| 1512 void setInt16(int byteOffset, int value, [bool littleEndian = null]) native; | 1512 void setInt16(int byteOffset, int value, [bool littleEndian]) native; |
| 1513 | 1513 |
| 1514 void setInt32(int byteOffset, int value, [bool littleEndian = null]) native; | 1514 void setInt32(int byteOffset, int value, [bool littleEndian]) native; |
| 1515 | 1515 |
| 1516 void setInt8(int byteOffset, int value) native; | 1516 void setInt8(int byteOffset, int value) native; |
| 1517 | 1517 |
| 1518 void setUint16(int byteOffset, int value, [bool littleEndian = null]) native; | 1518 void setUint16(int byteOffset, int value, [bool littleEndian]) native; |
| 1519 | 1519 |
| 1520 void setUint32(int byteOffset, int value, [bool littleEndian = null]) native; | 1520 void setUint32(int byteOffset, int value, [bool littleEndian]) native; |
| 1521 | 1521 |
| 1522 void setUint8(int byteOffset, int value) native; | 1522 void setUint8(int byteOffset, int value) native; |
| 1523 } | 1523 } |
| 1524 | 1524 |
| 1525 class _DatabaseJs extends _DOMTypeJs implements Database native "*Database" { | 1525 class _DatabaseJs extends _DOMTypeJs implements Database native "*Database" { |
| 1526 | 1526 |
| 1527 final String version; | 1527 final String version; |
| 1528 | 1528 |
| 1529 void changeVersion(String oldVersion, String newVersion, [SQLTransactionCallba
ck callback = null, SQLTransactionErrorCallback errorCallback = null, VoidCallba
ck successCallback = null]) native; | 1529 void changeVersion(String oldVersion, String newVersion, [SQLTransactionCallba
ck callback, SQLTransactionErrorCallback errorCallback, VoidCallback successCall
back]) native; |
| 1530 | 1530 |
| 1531 void readTransaction(SQLTransactionCallback callback, [SQLTransactionErrorCall
back errorCallback = null, VoidCallback successCallback = null]) native; | 1531 void readTransaction(SQLTransactionCallback callback, [SQLTransactionErrorCall
back errorCallback, VoidCallback successCallback]) native; |
| 1532 | 1532 |
| 1533 void transaction(SQLTransactionCallback callback, [SQLTransactionErrorCallback
errorCallback = null, VoidCallback successCallback = null]) native; | 1533 void transaction(SQLTransactionCallback callback, [SQLTransactionErrorCallback
errorCallback, VoidCallback successCallback]) native; |
| 1534 } | 1534 } |
| 1535 | 1535 |
| 1536 class _DatabaseSyncJs extends _DOMTypeJs implements DatabaseSync native "*Databa
seSync" { | 1536 class _DatabaseSyncJs extends _DOMTypeJs implements DatabaseSync native "*Databa
seSync" { |
| 1537 | 1537 |
| 1538 final String lastErrorMessage; | 1538 final String lastErrorMessage; |
| 1539 | 1539 |
| 1540 final String version; | 1540 final String version; |
| 1541 | 1541 |
| 1542 void changeVersion(String oldVersion, String newVersion, [SQLTransactionSyncCa
llback callback = null]) native; | 1542 void changeVersion(String oldVersion, String newVersion, [SQLTransactionSyncCa
llback callback]) native; |
| 1543 | 1543 |
| 1544 void readTransaction(SQLTransactionSyncCallback callback) native; | 1544 void readTransaction(SQLTransactionSyncCallback callback) native; |
| 1545 | 1545 |
| 1546 void transaction(SQLTransactionSyncCallback callback) native; | 1546 void transaction(SQLTransactionSyncCallback callback) native; |
| 1547 } | 1547 } |
| 1548 | 1548 |
| 1549 class _DedicatedWorkerContextJs extends _WorkerContextJs implements DedicatedWor
kerContext native "*DedicatedWorkerContext" { | 1549 class _DedicatedWorkerContextJs extends _WorkerContextJs implements DedicatedWor
kerContext native "*DedicatedWorkerContext" { |
| 1550 | 1550 |
| 1551 void postMessage(Object message, [List messagePorts = null]) native; | 1551 void postMessage(Object message, [List messagePorts]) native; |
| 1552 | 1552 |
| 1553 void webkitPostMessage(Object message, [List transferList = null]) native; | 1553 void webkitPostMessage(Object message, [List transferList]) native; |
| 1554 } | 1554 } |
| 1555 | 1555 |
| 1556 class _DelayNodeJs extends _AudioNodeJs implements DelayNode native "*DelayNode"
{ | 1556 class _DelayNodeJs extends _AudioNodeJs implements DelayNode native "*DelayNode"
{ |
| 1557 | 1557 |
| 1558 final _AudioParamJs delayTime; | 1558 final _AudioParamJs delayTime; |
| 1559 } | 1559 } |
| 1560 | 1560 |
| 1561 class _DeprecatedPeerConnectionJs extends _EventTargetJs implements DeprecatedPe
erConnection native "*DeprecatedPeerConnection" { | 1561 class _DeprecatedPeerConnectionJs extends _EventTargetJs implements DeprecatedPe
erConnection native "*DeprecatedPeerConnection" { |
| 1562 | 1562 |
| 1563 static final int ACTIVE = 2; | 1563 static final int ACTIVE = 2; |
| 1564 | 1564 |
| 1565 static final int CLOSED = 3; | 1565 static final int CLOSED = 3; |
| 1566 | 1566 |
| 1567 static final int NEGOTIATING = 1; | 1567 static final int NEGOTIATING = 1; |
| 1568 | 1568 |
| 1569 static final int NEW = 0; | 1569 static final int NEW = 0; |
| 1570 | 1570 |
| 1571 final _MediaStreamListJs localStreams; | 1571 final _MediaStreamListJs localStreams; |
| 1572 | 1572 |
| 1573 final int readyState; | 1573 final int readyState; |
| 1574 | 1574 |
| 1575 final _MediaStreamListJs remoteStreams; | 1575 final _MediaStreamListJs remoteStreams; |
| 1576 | 1576 |
| 1577 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; | 1577 void addEventListener(String type, EventListener listener, [bool useCapture])
native; |
| 1578 | 1578 |
| 1579 void addStream(_MediaStreamJs stream) native; | 1579 void addStream(_MediaStreamJs stream) native; |
| 1580 | 1580 |
| 1581 void close() native; | 1581 void close() native; |
| 1582 | 1582 |
| 1583 bool dispatchEvent(_EventJs event) native; | 1583 bool dispatchEvent(_EventJs event) native; |
| 1584 | 1584 |
| 1585 void processSignalingMessage(String message) native; | 1585 void processSignalingMessage(String message) native; |
| 1586 | 1586 |
| 1587 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | 1587 void removeEventListener(String type, EventListener listener, [bool useCapture
]) native; |
| 1588 | 1588 |
| 1589 void removeStream(_MediaStreamJs stream) native; | 1589 void removeStream(_MediaStreamJs stream) native; |
| 1590 | 1590 |
| 1591 void send(String text) native; | 1591 void send(String text) native; |
| 1592 } | 1592 } |
| 1593 | 1593 |
| 1594 class _DeviceMotionEventJs extends _EventJs implements DeviceMotionEvent native
"*DeviceMotionEvent" { | 1594 class _DeviceMotionEventJs extends _EventJs implements DeviceMotionEvent native
"*DeviceMotionEvent" { |
| 1595 | 1595 |
| 1596 final num interval; | 1596 final num interval; |
| 1597 } | 1597 } |
| 1598 | 1598 |
| 1599 class _DeviceOrientationEventJs extends _EventJs implements DeviceOrientationEve
nt native "*DeviceOrientationEvent" { | 1599 class _DeviceOrientationEventJs extends _EventJs implements DeviceOrientationEve
nt native "*DeviceOrientationEvent" { |
| 1600 | 1600 |
| 1601 final bool absolute; | 1601 final bool absolute; |
| 1602 | 1602 |
| 1603 final num alpha; | 1603 final num alpha; |
| 1604 | 1604 |
| 1605 final num beta; | 1605 final num beta; |
| 1606 | 1606 |
| 1607 final num gamma; | 1607 final num gamma; |
| 1608 | 1608 |
| 1609 void initDeviceOrientationEvent(String type, bool bubbles, bool cancelable, nu
m alpha, num beta, num gamma, bool absolute) native; | 1609 void initDeviceOrientationEvent(String type, bool bubbles, bool cancelable, nu
m alpha, num beta, num gamma, bool absolute) native; |
| 1610 } | 1610 } |
| 1611 | 1611 |
| 1612 class _DirectoryEntryJs extends _EntryJs implements DirectoryEntry native "*Dire
ctoryEntry" { | 1612 class _DirectoryEntryJs extends _EntryJs implements DirectoryEntry native "*Dire
ctoryEntry" { |
| 1613 | 1613 |
| 1614 _DirectoryReaderJs createReader() native; | 1614 _DirectoryReaderJs createReader() native; |
| 1615 | 1615 |
| 1616 void getDirectory(String path, [Object flags = null, EntryCallback successCall
back = null, ErrorCallback errorCallback = null]) native; | 1616 void getDirectory(String path, [Object flags, EntryCallback successCallback, E
rrorCallback errorCallback]) native; |
| 1617 | 1617 |
| 1618 void getFile(String path, [Object flags = null, EntryCallback successCallback
= null, ErrorCallback errorCallback = null]) native; | 1618 void getFile(String path, [Object flags, EntryCallback successCallback, ErrorC
allback errorCallback]) native; |
| 1619 | 1619 |
| 1620 void removeRecursively(VoidCallback successCallback, [ErrorCallback errorCallb
ack = null]) native; | 1620 void removeRecursively(VoidCallback successCallback, [ErrorCallback errorCallb
ack]) native; |
| 1621 } | 1621 } |
| 1622 | 1622 |
| 1623 class _DirectoryEntrySyncJs extends _EntrySyncJs implements DirectoryEntrySync n
ative "*DirectoryEntrySync" { | 1623 class _DirectoryEntrySyncJs extends _EntrySyncJs implements DirectoryEntrySync n
ative "*DirectoryEntrySync" { |
| 1624 | 1624 |
| 1625 _DirectoryReaderSyncJs createReader() native; | 1625 _DirectoryReaderSyncJs createReader() native; |
| 1626 | 1626 |
| 1627 _DirectoryEntrySyncJs getDirectory(String path, Object flags) native; | 1627 _DirectoryEntrySyncJs getDirectory(String path, Object flags) native; |
| 1628 | 1628 |
| 1629 _FileEntrySyncJs getFile(String path, Object flags) native; | 1629 _FileEntrySyncJs getFile(String path, Object flags) native; |
| 1630 | 1630 |
| 1631 void removeRecursively() native; | 1631 void removeRecursively() native; |
| 1632 } | 1632 } |
| 1633 | 1633 |
| 1634 class _DirectoryReaderJs extends _DOMTypeJs implements DirectoryReader native "*
DirectoryReader" { | 1634 class _DirectoryReaderJs extends _DOMTypeJs implements DirectoryReader native "*
DirectoryReader" { |
| 1635 | 1635 |
| 1636 void readEntries(EntriesCallback successCallback, [ErrorCallback errorCallback
= null]) native; | 1636 void readEntries(EntriesCallback successCallback, [ErrorCallback errorCallback
]) native; |
| 1637 } | 1637 } |
| 1638 | 1638 |
| 1639 class _DirectoryReaderSyncJs extends _DOMTypeJs implements DirectoryReaderSync n
ative "*DirectoryReaderSync" { | 1639 class _DirectoryReaderSyncJs extends _DOMTypeJs implements DirectoryReaderSync n
ative "*DirectoryReaderSync" { |
| 1640 | 1640 |
| 1641 _EntryArraySyncJs readEntries() native; | 1641 _EntryArraySyncJs readEntries() native; |
| 1642 } | 1642 } |
| 1643 | 1643 |
| 1644 class _DocumentJs extends _NodeJs implements Document native "*Document" { | 1644 class _DocumentJs extends _NodeJs implements Document native "*Document" { |
| 1645 | 1645 |
| 1646 final String URL; | 1646 final String URL; |
| (...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1776 _NodeListJs getElementsByName(String elementName) native; | 1776 _NodeListJs getElementsByName(String elementName) native; |
| 1777 | 1777 |
| 1778 _NodeListJs getElementsByTagName(String tagname) native; | 1778 _NodeListJs getElementsByTagName(String tagname) native; |
| 1779 | 1779 |
| 1780 _NodeListJs getElementsByTagNameNS(String namespaceURI, String localName) nati
ve; | 1780 _NodeListJs getElementsByTagNameNS(String namespaceURI, String localName) nati
ve; |
| 1781 | 1781 |
| 1782 _CSSStyleDeclarationJs getOverrideStyle(_ElementJs element, String pseudoEleme
nt) native; | 1782 _CSSStyleDeclarationJs getOverrideStyle(_ElementJs element, String pseudoEleme
nt) native; |
| 1783 | 1783 |
| 1784 _DOMSelectionJs getSelection() native; | 1784 _DOMSelectionJs getSelection() native; |
| 1785 | 1785 |
| 1786 _NodeJs importNode(_NodeJs importedNode, [bool deep = null]) native; | 1786 _NodeJs importNode(_NodeJs importedNode, [bool deep]) native; |
| 1787 | 1787 |
| 1788 bool queryCommandEnabled(String command) native; | 1788 bool queryCommandEnabled(String command) native; |
| 1789 | 1789 |
| 1790 bool queryCommandIndeterm(String command) native; | 1790 bool queryCommandIndeterm(String command) native; |
| 1791 | 1791 |
| 1792 bool queryCommandState(String command) native; | 1792 bool queryCommandState(String command) native; |
| 1793 | 1793 |
| 1794 bool queryCommandSupported(String command) native; | 1794 bool queryCommandSupported(String command) native; |
| 1795 | 1795 |
| 1796 String queryCommandValue(String command) native; | 1796 String queryCommandValue(String command) native; |
| (...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1931 void removeAttribute(String name) native; | 1931 void removeAttribute(String name) native; |
| 1932 | 1932 |
| 1933 void removeAttributeNS(String namespaceURI, String localName) native; | 1933 void removeAttributeNS(String namespaceURI, String localName) native; |
| 1934 | 1934 |
| 1935 _AttrJs removeAttributeNode(_AttrJs oldAttr) native; | 1935 _AttrJs removeAttributeNode(_AttrJs oldAttr) native; |
| 1936 | 1936 |
| 1937 void scrollByLines(int lines) native; | 1937 void scrollByLines(int lines) native; |
| 1938 | 1938 |
| 1939 void scrollByPages(int pages) native; | 1939 void scrollByPages(int pages) native; |
| 1940 | 1940 |
| 1941 void scrollIntoView([bool alignWithTop = null]) native; | 1941 void scrollIntoView([bool alignWithTop]) native; |
| 1942 | 1942 |
| 1943 void scrollIntoViewIfNeeded([bool centerIfNeeded = null]) native; | 1943 void scrollIntoViewIfNeeded([bool centerIfNeeded]) native; |
| 1944 | 1944 |
| 1945 void setAttribute(String name, String value) native; | 1945 void setAttribute(String name, String value) native; |
| 1946 | 1946 |
| 1947 void setAttributeNS(String namespaceURI, String qualifiedName, String value) n
ative; | 1947 void setAttributeNS(String namespaceURI, String qualifiedName, String value) n
ative; |
| 1948 | 1948 |
| 1949 _AttrJs setAttributeNode(_AttrJs newAttr) native; | 1949 _AttrJs setAttributeNode(_AttrJs newAttr) native; |
| 1950 | 1950 |
| 1951 _AttrJs setAttributeNodeNS(_AttrJs newAttr) native; | 1951 _AttrJs setAttributeNodeNS(_AttrJs newAttr) native; |
| 1952 | 1952 |
| 1953 bool webkitMatchesSelector(String selectors) native; | 1953 bool webkitMatchesSelector(String selectors) native; |
| (...skipping 22 matching lines...) Expand all Loading... |
| 1976 final _DOMFileSystemJs filesystem; | 1976 final _DOMFileSystemJs filesystem; |
| 1977 | 1977 |
| 1978 final String fullPath; | 1978 final String fullPath; |
| 1979 | 1979 |
| 1980 final bool isDirectory; | 1980 final bool isDirectory; |
| 1981 | 1981 |
| 1982 final bool isFile; | 1982 final bool isFile; |
| 1983 | 1983 |
| 1984 final String name; | 1984 final String name; |
| 1985 | 1985 |
| 1986 void copyTo(_DirectoryEntryJs parent, [String name = null, EntryCallback succe
ssCallback = null, ErrorCallback errorCallback = null]) native; | 1986 void copyTo(_DirectoryEntryJs parent, [String name, EntryCallback successCallb
ack, ErrorCallback errorCallback]) native; |
| 1987 | 1987 |
| 1988 void getMetadata(MetadataCallback successCallback, [ErrorCallback errorCallbac
k = null]) native; | 1988 void getMetadata(MetadataCallback successCallback, [ErrorCallback errorCallbac
k]) native; |
| 1989 | 1989 |
| 1990 void getParent([EntryCallback successCallback = null, ErrorCallback errorCallb
ack = null]) native; | 1990 void getParent([EntryCallback successCallback, ErrorCallback errorCallback]) n
ative; |
| 1991 | 1991 |
| 1992 void moveTo(_DirectoryEntryJs parent, [String name = null, EntryCallback succe
ssCallback = null, ErrorCallback errorCallback = null]) native; | 1992 void moveTo(_DirectoryEntryJs parent, [String name, EntryCallback successCallb
ack, ErrorCallback errorCallback]) native; |
| 1993 | 1993 |
| 1994 void remove(VoidCallback successCallback, [ErrorCallback errorCallback = null]
) native; | 1994 void remove(VoidCallback successCallback, [ErrorCallback errorCallback]) nativ
e; |
| 1995 | 1995 |
| 1996 String toURL() native; | 1996 String toURL() native; |
| 1997 } | 1997 } |
| 1998 | 1998 |
| 1999 class _EntryArrayJs extends _DOMTypeJs implements EntryArray native "*EntryArray
" { | 1999 class _EntryArrayJs extends _DOMTypeJs implements EntryArray native "*EntryArray
" { |
| 2000 | 2000 |
| 2001 final int length; | 2001 final int length; |
| 2002 | 2002 |
| 2003 _EntryJs item(int index) native; | 2003 _EntryJs item(int index) native; |
| 2004 } | 2004 } |
| (...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2141 static final int CONNECTING = 0; | 2141 static final int CONNECTING = 0; |
| 2142 | 2142 |
| 2143 static final int OPEN = 1; | 2143 static final int OPEN = 1; |
| 2144 | 2144 |
| 2145 final String URL; | 2145 final String URL; |
| 2146 | 2146 |
| 2147 final int readyState; | 2147 final int readyState; |
| 2148 | 2148 |
| 2149 final String url; | 2149 final String url; |
| 2150 | 2150 |
| 2151 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; | 2151 void addEventListener(String type, EventListener listener, [bool useCapture])
native; |
| 2152 | 2152 |
| 2153 void close() native; | 2153 void close() native; |
| 2154 | 2154 |
| 2155 bool dispatchEvent(_EventJs evt) native; | 2155 bool dispatchEvent(_EventJs evt) native; |
| 2156 | 2156 |
| 2157 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | 2157 void removeEventListener(String type, EventListener listener, [bool useCapture
]) native; |
| 2158 } | 2158 } |
| 2159 | 2159 |
| 2160 class _EventTargetJs extends _DOMTypeJs implements EventTarget native "*EventTar
get" { | 2160 class _EventTargetJs extends _DOMTypeJs implements EventTarget native "*EventTar
get" { |
| 2161 | 2161 |
| 2162 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; | 2162 void addEventListener(String type, EventListener listener, [bool useCapture])
native; |
| 2163 | 2163 |
| 2164 bool dispatchEvent(_EventJs event) native; | 2164 bool dispatchEvent(_EventJs event) native; |
| 2165 | 2165 |
| 2166 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | 2166 void removeEventListener(String type, EventListener listener, [bool useCapture
]) native; |
| 2167 } | 2167 } |
| 2168 | 2168 |
| 2169 class _FileJs extends _BlobJs implements File native "*File" { | 2169 class _FileJs extends _BlobJs implements File native "*File" { |
| 2170 | 2170 |
| 2171 final Date lastModifiedDate; | 2171 final Date lastModifiedDate; |
| 2172 | 2172 |
| 2173 final String name; | 2173 final String name; |
| 2174 | 2174 |
| 2175 final String webkitRelativePath; | 2175 final String webkitRelativePath; |
| 2176 } | 2176 } |
| 2177 | 2177 |
| 2178 class _FileEntryJs extends _EntryJs implements FileEntry native "*FileEntry" { | 2178 class _FileEntryJs extends _EntryJs implements FileEntry native "*FileEntry" { |
| 2179 | 2179 |
| 2180 void createWriter(FileWriterCallback successCallback, [ErrorCallback errorCall
back = null]) native; | 2180 void createWriter(FileWriterCallback successCallback, [ErrorCallback errorCall
back]) native; |
| 2181 | 2181 |
| 2182 void file(FileCallback successCallback, [ErrorCallback errorCallback = null])
native; | 2182 void file(FileCallback successCallback, [ErrorCallback errorCallback]) native; |
| 2183 } | 2183 } |
| 2184 | 2184 |
| 2185 class _FileEntrySyncJs extends _EntrySyncJs implements FileEntrySync native "*Fi
leEntrySync" { | 2185 class _FileEntrySyncJs extends _EntrySyncJs implements FileEntrySync native "*Fi
leEntrySync" { |
| 2186 | 2186 |
| 2187 _FileWriterSyncJs createWriter() native; | 2187 _FileWriterSyncJs createWriter() native; |
| 2188 | 2188 |
| 2189 _FileJs file() native; | 2189 _FileJs file() native; |
| 2190 } | 2190 } |
| 2191 | 2191 |
| 2192 class _FileErrorJs extends _DOMTypeJs implements FileError native "*FileError" { | 2192 class _FileErrorJs extends _DOMTypeJs implements FileError native "*FileError" { |
| (...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2351 static final int LOADING = 1; | 2351 static final int LOADING = 1; |
| 2352 | 2352 |
| 2353 final _FileErrorJs error; | 2353 final _FileErrorJs error; |
| 2354 | 2354 |
| 2355 final int readyState; | 2355 final int readyState; |
| 2356 | 2356 |
| 2357 final Object result; | 2357 final Object result; |
| 2358 | 2358 |
| 2359 void abort() native; | 2359 void abort() native; |
| 2360 | 2360 |
| 2361 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; | 2361 void addEventListener(String type, EventListener listener, [bool useCapture])
native; |
| 2362 | 2362 |
| 2363 bool dispatchEvent(_EventJs evt) native; | 2363 bool dispatchEvent(_EventJs evt) native; |
| 2364 | 2364 |
| 2365 void readAsArrayBuffer(_BlobJs blob) native; | 2365 void readAsArrayBuffer(_BlobJs blob) native; |
| 2366 | 2366 |
| 2367 void readAsBinaryString(_BlobJs blob) native; | 2367 void readAsBinaryString(_BlobJs blob) native; |
| 2368 | 2368 |
| 2369 void readAsDataURL(_BlobJs blob) native; | 2369 void readAsDataURL(_BlobJs blob) native; |
| 2370 | 2370 |
| 2371 void readAsText(_BlobJs blob, [String encoding = null]) native; | 2371 void readAsText(_BlobJs blob, [String encoding]) native; |
| 2372 | 2372 |
| 2373 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | 2373 void removeEventListener(String type, EventListener listener, [bool useCapture
]) native; |
| 2374 } | 2374 } |
| 2375 | 2375 |
| 2376 class _FileReaderSyncJs extends _DOMTypeJs implements FileReaderSync native "*Fi
leReaderSync" { | 2376 class _FileReaderSyncJs extends _DOMTypeJs implements FileReaderSync native "*Fi
leReaderSync" { |
| 2377 | 2377 |
| 2378 _ArrayBufferJs readAsArrayBuffer(_BlobJs blob) native; | 2378 _ArrayBufferJs readAsArrayBuffer(_BlobJs blob) native; |
| 2379 | 2379 |
| 2380 String readAsBinaryString(_BlobJs blob) native; | 2380 String readAsBinaryString(_BlobJs blob) native; |
| 2381 | 2381 |
| 2382 String readAsDataURL(_BlobJs blob) native; | 2382 String readAsDataURL(_BlobJs blob) native; |
| 2383 | 2383 |
| 2384 String readAsText(_BlobJs blob, [String encoding = null]) native; | 2384 String readAsText(_BlobJs blob, [String encoding]) native; |
| 2385 } | 2385 } |
| 2386 | 2386 |
| 2387 class _FileWriterJs extends _EventTargetJs implements FileWriter native "*FileWr
iter" { | 2387 class _FileWriterJs extends _EventTargetJs implements FileWriter native "*FileWr
iter" { |
| 2388 | 2388 |
| 2389 static final int DONE = 2; | 2389 static final int DONE = 2; |
| 2390 | 2390 |
| 2391 static final int INIT = 0; | 2391 static final int INIT = 0; |
| 2392 | 2392 |
| 2393 static final int WRITING = 1; | 2393 static final int WRITING = 1; |
| 2394 | 2394 |
| 2395 final _FileErrorJs error; | 2395 final _FileErrorJs error; |
| 2396 | 2396 |
| 2397 final int length; | 2397 final int length; |
| 2398 | 2398 |
| 2399 final int position; | 2399 final int position; |
| 2400 | 2400 |
| 2401 final int readyState; | 2401 final int readyState; |
| 2402 | 2402 |
| 2403 void abort() native; | 2403 void abort() native; |
| 2404 | 2404 |
| 2405 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; | 2405 void addEventListener(String type, EventListener listener, [bool useCapture])
native; |
| 2406 | 2406 |
| 2407 bool dispatchEvent(_EventJs evt) native; | 2407 bool dispatchEvent(_EventJs evt) native; |
| 2408 | 2408 |
| 2409 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | 2409 void removeEventListener(String type, EventListener listener, [bool useCapture
]) native; |
| 2410 | 2410 |
| 2411 void seek(int position) native; | 2411 void seek(int position) native; |
| 2412 | 2412 |
| 2413 void truncate(int size) native; | 2413 void truncate(int size) native; |
| 2414 | 2414 |
| 2415 void write(_BlobJs data) native; | 2415 void write(_BlobJs data) native; |
| 2416 } | 2416 } |
| 2417 | 2417 |
| 2418 class _FileWriterSyncJs extends _DOMTypeJs implements FileWriterSync native "*Fi
leWriterSync" { | 2418 class _FileWriterSyncJs extends _DOMTypeJs implements FileWriterSync native "*Fi
leWriterSync" { |
| 2419 | 2419 |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2507 | 2507 |
| 2508 void insertRange(int start, int rangeLength, [num initialValue]) { | 2508 void insertRange(int start, int rangeLength, [num initialValue]) { |
| 2509 throw new UnsupportedOperationException("Cannot insertRange on immutable Lis
t."); | 2509 throw new UnsupportedOperationException("Cannot insertRange on immutable Lis
t."); |
| 2510 } | 2510 } |
| 2511 | 2511 |
| 2512 List<num> getRange(int start, int rangeLength) => | 2512 List<num> getRange(int start, int rangeLength) => |
| 2513 _Lists.getRange(this, start, rangeLength, <num>[]); | 2513 _Lists.getRange(this, start, rangeLength, <num>[]); |
| 2514 | 2514 |
| 2515 // -- end List<num> mixins. | 2515 // -- end List<num> mixins. |
| 2516 | 2516 |
| 2517 void setElements(Object array, [int offset = null]) native 'set'; | 2517 void setElements(Object array, [int offset]) native 'set'; |
| 2518 | 2518 |
| 2519 _Float32ArrayJs subarray(int start, [int end = null]) native; | 2519 _Float32ArrayJs subarray(int start, [int end]) native; |
| 2520 } | 2520 } |
| 2521 | 2521 |
| 2522 class _Float64ArrayJs extends _ArrayBufferViewJs implements Float64Array, List<n
um> native "*Float64Array" { | 2522 class _Float64ArrayJs extends _ArrayBufferViewJs implements Float64Array, List<n
um> native "*Float64Array" { |
| 2523 | 2523 |
| 2524 static final int BYTES_PER_ELEMENT = 8; | 2524 static final int BYTES_PER_ELEMENT = 8; |
| 2525 | 2525 |
| 2526 final int length; | 2526 final int length; |
| 2527 | 2527 |
| 2528 num operator[](int index) native "return this[index];"; | 2528 num operator[](int index) native "return this[index];"; |
| 2529 | 2529 |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2598 | 2598 |
| 2599 void insertRange(int start, int rangeLength, [num initialValue]) { | 2599 void insertRange(int start, int rangeLength, [num initialValue]) { |
| 2600 throw new UnsupportedOperationException("Cannot insertRange on immutable Lis
t."); | 2600 throw new UnsupportedOperationException("Cannot insertRange on immutable Lis
t."); |
| 2601 } | 2601 } |
| 2602 | 2602 |
| 2603 List<num> getRange(int start, int rangeLength) => | 2603 List<num> getRange(int start, int rangeLength) => |
| 2604 _Lists.getRange(this, start, rangeLength, <num>[]); | 2604 _Lists.getRange(this, start, rangeLength, <num>[]); |
| 2605 | 2605 |
| 2606 // -- end List<num> mixins. | 2606 // -- end List<num> mixins. |
| 2607 | 2607 |
| 2608 void setElements(Object array, [int offset = null]) native 'set'; | 2608 void setElements(Object array, [int offset]) native 'set'; |
| 2609 | 2609 |
| 2610 _Float64ArrayJs subarray(int start, [int end = null]) native; | 2610 _Float64ArrayJs subarray(int start, [int end]) native; |
| 2611 } | 2611 } |
| 2612 | 2612 |
| 2613 class _GeolocationJs extends _DOMTypeJs implements Geolocation native "*Geolocat
ion" { | 2613 class _GeolocationJs extends _DOMTypeJs implements Geolocation native "*Geolocat
ion" { |
| 2614 | 2614 |
| 2615 void clearWatch(int watchId) native; | 2615 void clearWatch(int watchId) native; |
| 2616 | 2616 |
| 2617 void getCurrentPosition(PositionCallback successCallback, [PositionErrorCallba
ck errorCallback = null, Object options = null]) native; | 2617 void getCurrentPosition(PositionCallback successCallback, [PositionErrorCallba
ck errorCallback, Object options]) native; |
| 2618 | 2618 |
| 2619 int watchPosition(PositionCallback successCallback, [PositionErrorCallback err
orCallback = null, Object options = null]) native; | 2619 int watchPosition(PositionCallback successCallback, [PositionErrorCallback err
orCallback, Object options]) native; |
| 2620 } | 2620 } |
| 2621 | 2621 |
| 2622 class _GeopositionJs extends _DOMTypeJs implements Geoposition native "*Geoposit
ion" { | 2622 class _GeopositionJs extends _DOMTypeJs implements Geoposition native "*Geoposit
ion" { |
| 2623 | 2623 |
| 2624 final _CoordinatesJs coords; | 2624 final _CoordinatesJs coords; |
| 2625 | 2625 |
| 2626 final int timestamp; | 2626 final int timestamp; |
| 2627 } | 2627 } |
| 2628 | 2628 |
| 2629 class _HTMLAllCollectionJs extends _DOMTypeJs implements HTMLAllCollection nativ
e "*HTMLAllCollection" { | 2629 class _HTMLAllCollectionJs extends _DOMTypeJs implements HTMLAllCollection nativ
e "*HTMLAllCollection" { |
| (...skipping 740 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3370 int width; | 3370 int width; |
| 3371 | 3371 |
| 3372 final bool willValidate; | 3372 final bool willValidate; |
| 3373 | 3373 |
| 3374 bool checkValidity() native; | 3374 bool checkValidity() native; |
| 3375 | 3375 |
| 3376 void select() native; | 3376 void select() native; |
| 3377 | 3377 |
| 3378 void setCustomValidity(String error) native; | 3378 void setCustomValidity(String error) native; |
| 3379 | 3379 |
| 3380 void setSelectionRange(int start, int end, [String direction = null]) native; | 3380 void setSelectionRange(int start, int end, [String direction]) native; |
| 3381 | 3381 |
| 3382 void stepDown([int n = null]) native; | 3382 void stepDown([int n]) native; |
| 3383 | 3383 |
| 3384 void stepUp([int n = null]) native; | 3384 void stepUp([int n]) native; |
| 3385 } | 3385 } |
| 3386 | 3386 |
| 3387 class _HTMLKeygenElementJs extends _HTMLElementJs implements HTMLKeygenElement n
ative "*HTMLKeygenElement" { | 3387 class _HTMLKeygenElementJs extends _HTMLElementJs implements HTMLKeygenElement n
ative "*HTMLKeygenElement" { |
| 3388 | 3388 |
| 3389 bool autofocus; | 3389 bool autofocus; |
| 3390 | 3390 |
| 3391 String challenge; | 3391 String challenge; |
| 3392 | 3392 |
| 3393 bool disabled; | 3393 bool disabled; |
| 3394 | 3394 |
| (...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3590 final bool webkitHasClosedCaptions; | 3590 final bool webkitHasClosedCaptions; |
| 3591 | 3591 |
| 3592 final String webkitMediaSourceURL; | 3592 final String webkitMediaSourceURL; |
| 3593 | 3593 |
| 3594 bool webkitPreservesPitch; | 3594 bool webkitPreservesPitch; |
| 3595 | 3595 |
| 3596 final int webkitSourceState; | 3596 final int webkitSourceState; |
| 3597 | 3597 |
| 3598 final int webkitVideoDecodedByteCount; | 3598 final int webkitVideoDecodedByteCount; |
| 3599 | 3599 |
| 3600 _TextTrackJs addTextTrack(String kind, [String label = null, String language =
null]) native; | 3600 _TextTrackJs addTextTrack(String kind, [String label, String language]) native
; |
| 3601 | 3601 |
| 3602 String canPlayType(String type, String keySystem) native; | 3602 String canPlayType(String type, String keySystem) native; |
| 3603 | 3603 |
| 3604 void load() native; | 3604 void load() native; |
| 3605 | 3605 |
| 3606 void pause() native; | 3606 void pause() native; |
| 3607 | 3607 |
| 3608 void play() native; | 3608 void play() native; |
| 3609 | 3609 |
| 3610 void webkitAddKey(String keySystem, _Uint8ArrayJs key, [_Uint8ArrayJs initData
= null, String sessionId = null]) native; | 3610 void webkitAddKey(String keySystem, _Uint8ArrayJs key, [_Uint8ArrayJs initData
, String sessionId]) native; |
| 3611 | 3611 |
| 3612 void webkitCancelKeyRequest(String keySystem, String sessionId) native; | 3612 void webkitCancelKeyRequest(String keySystem, String sessionId) native; |
| 3613 | 3613 |
| 3614 void webkitGenerateKeyRequest(String keySystem, [_Uint8ArrayJs initData = null
]) native; | 3614 void webkitGenerateKeyRequest(String keySystem, [_Uint8ArrayJs initData]) nati
ve; |
| 3615 | 3615 |
| 3616 void webkitSourceAbort(String id) native; | 3616 void webkitSourceAbort(String id) native; |
| 3617 | 3617 |
| 3618 void webkitSourceAddId(String id, String type) native; | 3618 void webkitSourceAddId(String id, String type) native; |
| 3619 | 3619 |
| 3620 void webkitSourceAppend(String id, _Uint8ArrayJs data) native; | 3620 void webkitSourceAppend(String id, _Uint8ArrayJs data) native; |
| 3621 | 3621 |
| 3622 _TimeRangesJs webkitSourceBuffered(String id) native; | 3622 _TimeRangesJs webkitSourceBuffered(String id) native; |
| 3623 | 3623 |
| 3624 void webkitSourceEndOfStream(int status) native; | 3624 void webkitSourceEndOfStream(int status) native; |
| (...skipping 491 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4116 final bool willValidate; | 4116 final bool willValidate; |
| 4117 | 4117 |
| 4118 String wrap; | 4118 String wrap; |
| 4119 | 4119 |
| 4120 bool checkValidity() native; | 4120 bool checkValidity() native; |
| 4121 | 4121 |
| 4122 void select() native; | 4122 void select() native; |
| 4123 | 4123 |
| 4124 void setCustomValidity(String error) native; | 4124 void setCustomValidity(String error) native; |
| 4125 | 4125 |
| 4126 void setSelectionRange(int start, int end, [String direction = null]) native; | 4126 void setSelectionRange(int start, int end, [String direction]) native; |
| 4127 } | 4127 } |
| 4128 | 4128 |
| 4129 class _HTMLTitleElementJs extends _HTMLElementJs implements HTMLTitleElement nat
ive "*HTMLTitleElement" { | 4129 class _HTMLTitleElementJs extends _HTMLElementJs implements HTMLTitleElement nat
ive "*HTMLTitleElement" { |
| 4130 | 4130 |
| 4131 String text; | 4131 String text; |
| 4132 } | 4132 } |
| 4133 | 4133 |
| 4134 class _HTMLTrackElementJs extends _HTMLElementJs implements HTMLTrackElement nat
ive "*HTMLTrackElement" { | 4134 class _HTMLTrackElementJs extends _HTMLElementJs implements HTMLTrackElement nat
ive "*HTMLTrackElement" { |
| 4135 | 4135 |
| 4136 static final int ERROR = 3; | 4136 static final int ERROR = 3; |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4210 final int length; | 4210 final int length; |
| 4211 | 4211 |
| 4212 final state; | 4212 final state; |
| 4213 | 4213 |
| 4214 void back() native; | 4214 void back() native; |
| 4215 | 4215 |
| 4216 void forward() native; | 4216 void forward() native; |
| 4217 | 4217 |
| 4218 void go(int distance) native; | 4218 void go(int distance) native; |
| 4219 | 4219 |
| 4220 void pushState(Object data, String title, [String url = null]) native; | 4220 void pushState(Object data, String title, [String url]) native; |
| 4221 | 4221 |
| 4222 void replaceState(Object data, String title, [String url = null]) native; | 4222 void replaceState(Object data, String title, [String url]) native; |
| 4223 } | 4223 } |
| 4224 | 4224 |
| 4225 class _IDBAnyJs extends _DOMTypeJs implements IDBAny native "*IDBAny" { | 4225 class _IDBAnyJs extends _DOMTypeJs implements IDBAny native "*IDBAny" { |
| 4226 } | 4226 } |
| 4227 | 4227 |
| 4228 class _IDBCursorJs extends _DOMTypeJs implements IDBCursor native "*IDBCursor" { | 4228 class _IDBCursorJs extends _DOMTypeJs implements IDBCursor native "*IDBCursor" { |
| 4229 | 4229 |
| 4230 static final int NEXT = 0; | 4230 static final int NEXT = 0; |
| 4231 | 4231 |
| 4232 static final int NEXT_NO_DUPLICATE = 1; | 4232 static final int NEXT_NO_DUPLICATE = 1; |
| 4233 | 4233 |
| 4234 static final int PREV = 2; | 4234 static final int PREV = 2; |
| 4235 | 4235 |
| 4236 static final int PREV_NO_DUPLICATE = 3; | 4236 static final int PREV_NO_DUPLICATE = 3; |
| 4237 | 4237 |
| 4238 final String direction; | 4238 final String direction; |
| 4239 | 4239 |
| 4240 final key; | 4240 final key; |
| 4241 | 4241 |
| 4242 final primaryKey; | 4242 final primaryKey; |
| 4243 | 4243 |
| 4244 final source; | 4244 final source; |
| 4245 | 4245 |
| 4246 void advance(int count) native; | 4246 void advance(int count) native; |
| 4247 | 4247 |
| 4248 void continueFunction([key = null]) native ''' | 4248 void continueFunction([key]) native ''' |
| 4249 if (key == null) return this['continue'](); | 4249 if (key == null) return this['continue'](); |
| 4250 return this['continue'](key); | 4250 return this['continue'](key); |
| 4251 '''; | 4251 '''; |
| 4252 | 4252 |
| 4253 _IDBRequestJs delete() native; | 4253 _IDBRequestJs delete() native; |
| 4254 | 4254 |
| 4255 _IDBRequestJs update(value) native; | 4255 _IDBRequestJs update(value) native; |
| 4256 } | 4256 } |
| 4257 | 4257 |
| 4258 class _IDBCursorWithValueJs extends _IDBCursorJs implements IDBCursorWithValue n
ative "*IDBCursorWithValue" { | 4258 class _IDBCursorWithValueJs extends _IDBCursorJs implements IDBCursorWithValue n
ative "*IDBCursorWithValue" { |
| 4259 | 4259 |
| 4260 final value; | 4260 final value; |
| 4261 } | 4261 } |
| 4262 | 4262 |
| 4263 class _IDBDatabaseJs extends _EventTargetJs implements IDBDatabase native "*IDBD
atabase" { | 4263 class _IDBDatabaseJs extends _EventTargetJs implements IDBDatabase native "*IDBD
atabase" { |
| 4264 | 4264 |
| 4265 final String name; | 4265 final String name; |
| 4266 | 4266 |
| 4267 final List<String> objectStoreNames; | 4267 final List<String> objectStoreNames; |
| 4268 | 4268 |
| 4269 final String version; | 4269 final String version; |
| 4270 | 4270 |
| 4271 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; | 4271 void addEventListener(String type, EventListener listener, [bool useCapture])
native; |
| 4272 | 4272 |
| 4273 void close() native; | 4273 void close() native; |
| 4274 | 4274 |
| 4275 _IDBObjectStoreJs createObjectStore(String name, [Map options = null]) native; | 4275 _IDBObjectStoreJs createObjectStore(String name, [Map options]) native; |
| 4276 | 4276 |
| 4277 void deleteObjectStore(String name) native; | 4277 void deleteObjectStore(String name) native; |
| 4278 | 4278 |
| 4279 bool dispatchEvent(_EventJs evt) native; | 4279 bool dispatchEvent(_EventJs evt) native; |
| 4280 | 4280 |
| 4281 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | 4281 void removeEventListener(String type, EventListener listener, [bool useCapture
]) native; |
| 4282 | 4282 |
| 4283 _IDBVersionChangeRequestJs setVersion(String version) native; | 4283 _IDBVersionChangeRequestJs setVersion(String version) native; |
| 4284 | 4284 |
| 4285 _IDBTransactionJs transaction(storeName_OR_storeNames, String mode) native; | 4285 _IDBTransactionJs transaction(storeName_OR_storeNames, String mode) native; |
| 4286 } | 4286 } |
| 4287 | 4287 |
| 4288 class _IDBDatabaseExceptionJs extends _DOMTypeJs implements IDBDatabaseException
native "*IDBDatabaseException" { | 4288 class _IDBDatabaseExceptionJs extends _DOMTypeJs implements IDBDatabaseException
native "*IDBDatabaseException" { |
| 4289 | 4289 |
| 4290 static final int ABORT_ERR = 20; | 4290 static final int ABORT_ERR = 20; |
| 4291 | 4291 |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4340 final keyPath; | 4340 final keyPath; |
| 4341 | 4341 |
| 4342 final bool multiEntry; | 4342 final bool multiEntry; |
| 4343 | 4343 |
| 4344 final String name; | 4344 final String name; |
| 4345 | 4345 |
| 4346 final _IDBObjectStoreJs objectStore; | 4346 final _IDBObjectStoreJs objectStore; |
| 4347 | 4347 |
| 4348 final bool unique; | 4348 final bool unique; |
| 4349 | 4349 |
| 4350 _IDBRequestJs count([key_OR_range = null]) native; | 4350 _IDBRequestJs count([key_OR_range]) native; |
| 4351 | 4351 |
| 4352 _IDBRequestJs get(key) native; | 4352 _IDBRequestJs get(key) native; |
| 4353 | 4353 |
| 4354 _IDBRequestJs getKey(key) native; | 4354 _IDBRequestJs getKey(key) native; |
| 4355 | 4355 |
| 4356 _IDBRequestJs openCursor([key_OR_range = null, direction = null]) native; | 4356 _IDBRequestJs openCursor([key_OR_range, direction]) native; |
| 4357 | 4357 |
| 4358 _IDBRequestJs openKeyCursor([key_OR_range = null, direction = null]) native; | 4358 _IDBRequestJs openKeyCursor([key_OR_range, direction]) native; |
| 4359 } | 4359 } |
| 4360 | 4360 |
| 4361 class _IDBKeyJs extends _DOMTypeJs implements IDBKey native "*IDBKey" { | 4361 class _IDBKeyJs extends _DOMTypeJs implements IDBKey native "*IDBKey" { |
| 4362 } | 4362 } |
| 4363 | 4363 |
| 4364 class _IDBKeyRangeJs extends _DOMTypeJs implements IDBKeyRange native "*IDBKeyRa
nge" { | 4364 class _IDBKeyRangeJs extends _DOMTypeJs implements IDBKeyRange native "*IDBKeyRa
nge" { |
| 4365 | 4365 |
| 4366 final lower; | 4366 final lower; |
| 4367 | 4367 |
| 4368 final bool lowerOpen; | 4368 final bool lowerOpen; |
| 4369 | 4369 |
| 4370 final upper; | 4370 final upper; |
| 4371 | 4371 |
| 4372 final bool upperOpen; | 4372 final bool upperOpen; |
| 4373 } | 4373 } |
| 4374 | 4374 |
| 4375 class _IDBObjectStoreJs extends _DOMTypeJs implements IDBObjectStore native "*ID
BObjectStore" { | 4375 class _IDBObjectStoreJs extends _DOMTypeJs implements IDBObjectStore native "*ID
BObjectStore" { |
| 4376 | 4376 |
| 4377 final bool autoIncrement; | 4377 final bool autoIncrement; |
| 4378 | 4378 |
| 4379 final List<String> indexNames; | 4379 final List<String> indexNames; |
| 4380 | 4380 |
| 4381 final keyPath; | 4381 final keyPath; |
| 4382 | 4382 |
| 4383 final String name; | 4383 final String name; |
| 4384 | 4384 |
| 4385 final _IDBTransactionJs transaction; | 4385 final _IDBTransactionJs transaction; |
| 4386 | 4386 |
| 4387 _IDBRequestJs add(value, [key = null]) native; | 4387 _IDBRequestJs add(value, [key]) native; |
| 4388 | 4388 |
| 4389 _IDBRequestJs clear() native; | 4389 _IDBRequestJs clear() native; |
| 4390 | 4390 |
| 4391 _IDBRequestJs count([key_OR_range = null]) native; | 4391 _IDBRequestJs count([key_OR_range]) native; |
| 4392 | 4392 |
| 4393 _IDBIndexJs createIndex(String name, keyPath, [Map options = null]) native; | 4393 _IDBIndexJs createIndex(String name, keyPath, [Map options]) native; |
| 4394 | 4394 |
| 4395 _IDBRequestJs delete(key_OR_keyRange) native; | 4395 _IDBRequestJs delete(key_OR_keyRange) native; |
| 4396 | 4396 |
| 4397 void deleteIndex(String name) native; | 4397 void deleteIndex(String name) native; |
| 4398 | 4398 |
| 4399 _IDBRequestJs getObject(key) native 'get'; | 4399 _IDBRequestJs getObject(key) native 'get'; |
| 4400 | 4400 |
| 4401 _IDBIndexJs index(String name) native; | 4401 _IDBIndexJs index(String name) native; |
| 4402 | 4402 |
| 4403 _IDBRequestJs openCursor([key_OR_range = null, direction = null]) native; | 4403 _IDBRequestJs openCursor([key_OR_range, direction]) native; |
| 4404 | 4404 |
| 4405 _IDBRequestJs put(value, [key = null]) native; | 4405 _IDBRequestJs put(value, [key]) native; |
| 4406 } | 4406 } |
| 4407 | 4407 |
| 4408 class _IDBRequestJs extends _EventTargetJs implements IDBRequest native "*IDBReq
uest" { | 4408 class _IDBRequestJs extends _EventTargetJs implements IDBRequest native "*IDBReq
uest" { |
| 4409 | 4409 |
| 4410 final _DOMErrorJs error; | 4410 final _DOMErrorJs error; |
| 4411 | 4411 |
| 4412 final int errorCode; | 4412 final int errorCode; |
| 4413 | 4413 |
| 4414 final String readyState; | 4414 final String readyState; |
| 4415 | 4415 |
| 4416 final result; | 4416 final result; |
| 4417 | 4417 |
| 4418 final source; | 4418 final source; |
| 4419 | 4419 |
| 4420 final _IDBTransactionJs transaction; | 4420 final _IDBTransactionJs transaction; |
| 4421 | 4421 |
| 4422 final String webkitErrorMessage; | 4422 final String webkitErrorMessage; |
| 4423 | 4423 |
| 4424 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; | 4424 void addEventListener(String type, EventListener listener, [bool useCapture])
native; |
| 4425 | 4425 |
| 4426 bool dispatchEvent(_EventJs evt) native; | 4426 bool dispatchEvent(_EventJs evt) native; |
| 4427 | 4427 |
| 4428 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | 4428 void removeEventListener(String type, EventListener listener, [bool useCapture
]) native; |
| 4429 } | 4429 } |
| 4430 | 4430 |
| 4431 class _IDBTransactionJs extends _EventTargetJs implements IDBTransaction native
"*IDBTransaction" { | 4431 class _IDBTransactionJs extends _EventTargetJs implements IDBTransaction native
"*IDBTransaction" { |
| 4432 | 4432 |
| 4433 static final int READ_ONLY = 0; | 4433 static final int READ_ONLY = 0; |
| 4434 | 4434 |
| 4435 static final int READ_WRITE = 1; | 4435 static final int READ_WRITE = 1; |
| 4436 | 4436 |
| 4437 static final int VERSION_CHANGE = 2; | 4437 static final int VERSION_CHANGE = 2; |
| 4438 | 4438 |
| 4439 final _IDBDatabaseJs db; | 4439 final _IDBDatabaseJs db; |
| 4440 | 4440 |
| 4441 final _DOMErrorJs error; | 4441 final _DOMErrorJs error; |
| 4442 | 4442 |
| 4443 final String mode; | 4443 final String mode; |
| 4444 | 4444 |
| 4445 void abort() native; | 4445 void abort() native; |
| 4446 | 4446 |
| 4447 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; | 4447 void addEventListener(String type, EventListener listener, [bool useCapture])
native; |
| 4448 | 4448 |
| 4449 bool dispatchEvent(_EventJs evt) native; | 4449 bool dispatchEvent(_EventJs evt) native; |
| 4450 | 4450 |
| 4451 _IDBObjectStoreJs objectStore(String name) native; | 4451 _IDBObjectStoreJs objectStore(String name) native; |
| 4452 | 4452 |
| 4453 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | 4453 void removeEventListener(String type, EventListener listener, [bool useCapture
]) native; |
| 4454 } | 4454 } |
| 4455 | 4455 |
| 4456 class _IDBVersionChangeEventJs extends _EventJs implements IDBVersionChangeEvent
native "*IDBVersionChangeEvent" { | 4456 class _IDBVersionChangeEventJs extends _EventJs implements IDBVersionChangeEvent
native "*IDBVersionChangeEvent" { |
| 4457 | 4457 |
| 4458 final String version; | 4458 final String version; |
| 4459 } | 4459 } |
| 4460 | 4460 |
| 4461 class _IDBVersionChangeRequestJs extends _IDBRequestJs implements IDBVersionChan
geRequest native "*IDBVersionChangeRequest" { | 4461 class _IDBVersionChangeRequestJs extends _IDBRequestJs implements IDBVersionChan
geRequest native "*IDBVersionChangeRequest" { |
| 4462 | 4462 |
| 4463 // From EventTarget | 4463 // From EventTarget |
| 4464 | 4464 |
| 4465 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; | 4465 void addEventListener(String type, EventListener listener, [bool useCapture])
native; |
| 4466 | 4466 |
| 4467 bool dispatchEvent(_EventJs event) native; | 4467 bool dispatchEvent(_EventJs event) native; |
| 4468 | 4468 |
| 4469 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | 4469 void removeEventListener(String type, EventListener listener, [bool useCapture
]) native; |
| 4470 } | 4470 } |
| 4471 | 4471 |
| 4472 class _IceCandidateJs extends _DOMTypeJs implements IceCandidate native "*IceCan
didate" { | 4472 class _IceCandidateJs extends _DOMTypeJs implements IceCandidate native "*IceCan
didate" { |
| 4473 | 4473 |
| 4474 final String label; | 4474 final String label; |
| 4475 | 4475 |
| 4476 String toSdp() native; | 4476 String toSdp() native; |
| 4477 } | 4477 } |
| 4478 | 4478 |
| 4479 class _ImageDataJs extends _DOMTypeJs implements ImageData native "*ImageData" { | 4479 class _ImageDataJs extends _DOMTypeJs implements ImageData native "*ImageData" { |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4564 | 4564 |
| 4565 void insertRange(int start, int rangeLength, [int initialValue]) { | 4565 void insertRange(int start, int rangeLength, [int initialValue]) { |
| 4566 throw new UnsupportedOperationException("Cannot insertRange on immutable Lis
t."); | 4566 throw new UnsupportedOperationException("Cannot insertRange on immutable Lis
t."); |
| 4567 } | 4567 } |
| 4568 | 4568 |
| 4569 List<int> getRange(int start, int rangeLength) => | 4569 List<int> getRange(int start, int rangeLength) => |
| 4570 _Lists.getRange(this, start, rangeLength, <int>[]); | 4570 _Lists.getRange(this, start, rangeLength, <int>[]); |
| 4571 | 4571 |
| 4572 // -- end List<int> mixins. | 4572 // -- end List<int> mixins. |
| 4573 | 4573 |
| 4574 void setElements(Object array, [int offset = null]) native 'set'; | 4574 void setElements(Object array, [int offset]) native 'set'; |
| 4575 | 4575 |
| 4576 _Int16ArrayJs subarray(int start, [int end = null]) native; | 4576 _Int16ArrayJs subarray(int start, [int end]) native; |
| 4577 } | 4577 } |
| 4578 | 4578 |
| 4579 class _Int32ArrayJs extends _ArrayBufferViewJs implements Int32Array, List<int>
native "*Int32Array" { | 4579 class _Int32ArrayJs extends _ArrayBufferViewJs implements Int32Array, List<int>
native "*Int32Array" { |
| 4580 | 4580 |
| 4581 static final int BYTES_PER_ELEMENT = 4; | 4581 static final int BYTES_PER_ELEMENT = 4; |
| 4582 | 4582 |
| 4583 final int length; | 4583 final int length; |
| 4584 | 4584 |
| 4585 int operator[](int index) native "return this[index];"; | 4585 int operator[](int index) native "return this[index];"; |
| 4586 | 4586 |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4655 | 4655 |
| 4656 void insertRange(int start, int rangeLength, [int initialValue]) { | 4656 void insertRange(int start, int rangeLength, [int initialValue]) { |
| 4657 throw new UnsupportedOperationException("Cannot insertRange on immutable Lis
t."); | 4657 throw new UnsupportedOperationException("Cannot insertRange on immutable Lis
t."); |
| 4658 } | 4658 } |
| 4659 | 4659 |
| 4660 List<int> getRange(int start, int rangeLength) => | 4660 List<int> getRange(int start, int rangeLength) => |
| 4661 _Lists.getRange(this, start, rangeLength, <int>[]); | 4661 _Lists.getRange(this, start, rangeLength, <int>[]); |
| 4662 | 4662 |
| 4663 // -- end List<int> mixins. | 4663 // -- end List<int> mixins. |
| 4664 | 4664 |
| 4665 void setElements(Object array, [int offset = null]) native 'set'; | 4665 void setElements(Object array, [int offset]) native 'set'; |
| 4666 | 4666 |
| 4667 _Int32ArrayJs subarray(int start, [int end = null]) native; | 4667 _Int32ArrayJs subarray(int start, [int end]) native; |
| 4668 } | 4668 } |
| 4669 | 4669 |
| 4670 class _Int8ArrayJs extends _ArrayBufferViewJs implements Int8Array, List<int> na
tive "*Int8Array" { | 4670 class _Int8ArrayJs extends _ArrayBufferViewJs implements Int8Array, List<int> na
tive "*Int8Array" { |
| 4671 | 4671 |
| 4672 static final int BYTES_PER_ELEMENT = 1; | 4672 static final int BYTES_PER_ELEMENT = 1; |
| 4673 | 4673 |
| 4674 final int length; | 4674 final int length; |
| 4675 | 4675 |
| 4676 int operator[](int index) native "return this[index];"; | 4676 int operator[](int index) native "return this[index];"; |
| 4677 | 4677 |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4746 | 4746 |
| 4747 void insertRange(int start, int rangeLength, [int initialValue]) { | 4747 void insertRange(int start, int rangeLength, [int initialValue]) { |
| 4748 throw new UnsupportedOperationException("Cannot insertRange on immutable Lis
t."); | 4748 throw new UnsupportedOperationException("Cannot insertRange on immutable Lis
t."); |
| 4749 } | 4749 } |
| 4750 | 4750 |
| 4751 List<int> getRange(int start, int rangeLength) => | 4751 List<int> getRange(int start, int rangeLength) => |
| 4752 _Lists.getRange(this, start, rangeLength, <int>[]); | 4752 _Lists.getRange(this, start, rangeLength, <int>[]); |
| 4753 | 4753 |
| 4754 // -- end List<int> mixins. | 4754 // -- end List<int> mixins. |
| 4755 | 4755 |
| 4756 void setElements(Object array, [int offset = null]) native 'set'; | 4756 void setElements(Object array, [int offset]) native 'set'; |
| 4757 | 4757 |
| 4758 _Int8ArrayJs subarray(int start, [int end = null]) native; | 4758 _Int8ArrayJs subarray(int start, [int end]) native; |
| 4759 } | 4759 } |
| 4760 | 4760 |
| 4761 class _JavaScriptAudioNodeJs extends _AudioNodeJs implements JavaScriptAudioNode
native "*JavaScriptAudioNode" { | 4761 class _JavaScriptAudioNodeJs extends _AudioNodeJs implements JavaScriptAudioNode
native "*JavaScriptAudioNode" { |
| 4762 | 4762 |
| 4763 final int bufferSize; | 4763 final int bufferSize; |
| 4764 | 4764 |
| 4765 // From EventTarget | 4765 // From EventTarget |
| 4766 | 4766 |
| 4767 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; | 4767 void addEventListener(String type, EventListener listener, [bool useCapture])
native; |
| 4768 | 4768 |
| 4769 bool dispatchEvent(_EventJs event) native; | 4769 bool dispatchEvent(_EventJs event) native; |
| 4770 | 4770 |
| 4771 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | 4771 void removeEventListener(String type, EventListener listener, [bool useCapture
]) native; |
| 4772 } | 4772 } |
| 4773 | 4773 |
| 4774 class _JavaScriptCallFrameJs extends _DOMTypeJs implements JavaScriptCallFrame n
ative "*JavaScriptCallFrame" { | 4774 class _JavaScriptCallFrameJs extends _DOMTypeJs implements JavaScriptCallFrame n
ative "*JavaScriptCallFrame" { |
| 4775 | 4775 |
| 4776 static final int CATCH_SCOPE = 4; | 4776 static final int CATCH_SCOPE = 4; |
| 4777 | 4777 |
| 4778 static final int CLOSURE_SCOPE = 3; | 4778 static final int CLOSURE_SCOPE = 3; |
| 4779 | 4779 |
| 4780 static final int GLOBAL_SCOPE = 0; | 4780 static final int GLOBAL_SCOPE = 0; |
| 4781 | 4781 |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4822 | 4822 |
| 4823 void initKeyboardEvent(String type, bool canBubble, bool cancelable, _DOMWindo
wJs view, String keyIdentifier, int keyLocation, bool ctrlKey, bool altKey, bool
shiftKey, bool metaKey, bool altGraphKey) native; | 4823 void initKeyboardEvent(String type, bool canBubble, bool cancelable, _DOMWindo
wJs view, String keyIdentifier, int keyLocation, bool ctrlKey, bool altKey, bool
shiftKey, bool metaKey, bool altGraphKey) native; |
| 4824 } | 4824 } |
| 4825 | 4825 |
| 4826 class _LocalMediaStreamJs extends _MediaStreamJs implements LocalMediaStream nat
ive "*LocalMediaStream" { | 4826 class _LocalMediaStreamJs extends _MediaStreamJs implements LocalMediaStream nat
ive "*LocalMediaStream" { |
| 4827 | 4827 |
| 4828 void stop() native; | 4828 void stop() native; |
| 4829 | 4829 |
| 4830 // From EventTarget | 4830 // From EventTarget |
| 4831 | 4831 |
| 4832 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; | 4832 void addEventListener(String type, EventListener listener, [bool useCapture])
native; |
| 4833 | 4833 |
| 4834 bool dispatchEvent(_EventJs event) native; | 4834 bool dispatchEvent(_EventJs event) native; |
| 4835 | 4835 |
| 4836 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | 4836 void removeEventListener(String type, EventListener listener, [bool useCapture
]) native; |
| 4837 } | 4837 } |
| 4838 | 4838 |
| 4839 class _LocationJs extends _DOMTypeJs implements Location native "*Location" { | 4839 class _LocationJs extends _DOMTypeJs implements Location native "*Location" { |
| 4840 | 4840 |
| 4841 final List<String> ancestorOrigins; | 4841 final List<String> ancestorOrigins; |
| 4842 | 4842 |
| 4843 String hash; | 4843 String hash; |
| 4844 | 4844 |
| 4845 String host; | 4845 String host; |
| 4846 | 4846 |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4882 final bool paused; | 4882 final bool paused; |
| 4883 | 4883 |
| 4884 num playbackRate; | 4884 num playbackRate; |
| 4885 | 4885 |
| 4886 final _TimeRangesJs played; | 4886 final _TimeRangesJs played; |
| 4887 | 4887 |
| 4888 final _TimeRangesJs seekable; | 4888 final _TimeRangesJs seekable; |
| 4889 | 4889 |
| 4890 num volume; | 4890 num volume; |
| 4891 | 4891 |
| 4892 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; | 4892 void addEventListener(String type, EventListener listener, [bool useCapture])
native; |
| 4893 | 4893 |
| 4894 bool dispatchEvent(_EventJs evt) native; | 4894 bool dispatchEvent(_EventJs evt) native; |
| 4895 | 4895 |
| 4896 void pause() native; | 4896 void pause() native; |
| 4897 | 4897 |
| 4898 void play() native; | 4898 void play() native; |
| 4899 | 4899 |
| 4900 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | 4900 void removeEventListener(String type, EventListener listener, [bool useCapture
]) native; |
| 4901 } | 4901 } |
| 4902 | 4902 |
| 4903 class _MediaElementAudioSourceNodeJs extends _AudioSourceNodeJs implements Media
ElementAudioSourceNode native "*MediaElementAudioSourceNode" { | 4903 class _MediaElementAudioSourceNodeJs extends _AudioSourceNodeJs implements Media
ElementAudioSourceNode native "*MediaElementAudioSourceNode" { |
| 4904 | 4904 |
| 4905 final _HTMLMediaElementJs mediaElement; | 4905 final _HTMLMediaElementJs mediaElement; |
| 4906 } | 4906 } |
| 4907 | 4907 |
| 4908 class _MediaErrorJs extends _DOMTypeJs implements MediaError native "*MediaError
" { | 4908 class _MediaErrorJs extends _DOMTypeJs implements MediaError native "*MediaError
" { |
| 4909 | 4909 |
| 4910 static final int MEDIA_ERR_ABORTED = 1; | 4910 static final int MEDIA_ERR_ABORTED = 1; |
| (...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5067 static final int LIVE = 1; | 5067 static final int LIVE = 1; |
| 5068 | 5068 |
| 5069 final _MediaStreamTrackListJs audioTracks; | 5069 final _MediaStreamTrackListJs audioTracks; |
| 5070 | 5070 |
| 5071 final String label; | 5071 final String label; |
| 5072 | 5072 |
| 5073 final int readyState; | 5073 final int readyState; |
| 5074 | 5074 |
| 5075 final _MediaStreamTrackListJs videoTracks; | 5075 final _MediaStreamTrackListJs videoTracks; |
| 5076 | 5076 |
| 5077 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; | 5077 void addEventListener(String type, EventListener listener, [bool useCapture])
native; |
| 5078 | 5078 |
| 5079 bool dispatchEvent(_EventJs event) native; | 5079 bool dispatchEvent(_EventJs event) native; |
| 5080 | 5080 |
| 5081 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | 5081 void removeEventListener(String type, EventListener listener, [bool useCapture
]) native; |
| 5082 } | 5082 } |
| 5083 | 5083 |
| 5084 class _MediaStreamEventJs extends _EventJs implements MediaStreamEvent native "*
MediaStreamEvent" { | 5084 class _MediaStreamEventJs extends _EventJs implements MediaStreamEvent native "*
MediaStreamEvent" { |
| 5085 | 5085 |
| 5086 final _MediaStreamJs stream; | 5086 final _MediaStreamJs stream; |
| 5087 } | 5087 } |
| 5088 | 5088 |
| 5089 class _MediaStreamListJs extends _DOMTypeJs implements MediaStreamList native "*
MediaStreamList" { | 5089 class _MediaStreamListJs extends _DOMTypeJs implements MediaStreamList native "*
MediaStreamList" { |
| 5090 | 5090 |
| 5091 final int length; | 5091 final int length; |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5137 | 5137 |
| 5138 final _DOMWindowJs source; | 5138 final _DOMWindowJs source; |
| 5139 | 5139 |
| 5140 void initMessageEvent(String typeArg, bool canBubbleArg, bool cancelableArg, O
bject dataArg, String originArg, String lastEventIdArg, _DOMWindowJs sourceArg,
List messagePorts) native; | 5140 void initMessageEvent(String typeArg, bool canBubbleArg, bool cancelableArg, O
bject dataArg, String originArg, String lastEventIdArg, _DOMWindowJs sourceArg,
List messagePorts) native; |
| 5141 | 5141 |
| 5142 void webkitInitMessageEvent(String typeArg, bool canBubbleArg, bool cancelable
Arg, Object dataArg, String originArg, String lastEventIdArg, _DOMWindowJs sourc
eArg, List transferables) native; | 5142 void webkitInitMessageEvent(String typeArg, bool canBubbleArg, bool cancelable
Arg, Object dataArg, String originArg, String lastEventIdArg, _DOMWindowJs sourc
eArg, List transferables) native; |
| 5143 } | 5143 } |
| 5144 | 5144 |
| 5145 class _MessagePortJs extends _EventTargetJs implements MessagePort native "*Mess
agePort" { | 5145 class _MessagePortJs extends _EventTargetJs implements MessagePort native "*Mess
agePort" { |
| 5146 | 5146 |
| 5147 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; | 5147 void addEventListener(String type, EventListener listener, [bool useCapture])
native; |
| 5148 | 5148 |
| 5149 void close() native; | 5149 void close() native; |
| 5150 | 5150 |
| 5151 bool dispatchEvent(_EventJs evt) native; | 5151 bool dispatchEvent(_EventJs evt) native; |
| 5152 | 5152 |
| 5153 void postMessage(String message, [List messagePorts = null]) native; | 5153 void postMessage(String message, [List messagePorts]) native; |
| 5154 | 5154 |
| 5155 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | 5155 void removeEventListener(String type, EventListener listener, [bool useCapture
]) native; |
| 5156 | 5156 |
| 5157 void start() native; | 5157 void start() native; |
| 5158 | 5158 |
| 5159 void webkitPostMessage(String message, [List transfer = null]) native; | 5159 void webkitPostMessage(String message, [List transfer]) native; |
| 5160 } | 5160 } |
| 5161 | 5161 |
| 5162 class _MetadataJs extends _DOMTypeJs implements Metadata native "*Metadata" { | 5162 class _MetadataJs extends _DOMTypeJs implements Metadata native "*Metadata" { |
| 5163 | 5163 |
| 5164 final Date modificationTime; | 5164 final Date modificationTime; |
| 5165 | 5165 |
| 5166 final int size; | 5166 final int size; |
| 5167 } | 5167 } |
| 5168 | 5168 |
| 5169 class _MouseEventJs extends _UIEventJs implements MouseEvent native "*MouseEvent
" { | 5169 class _MouseEventJs extends _UIEventJs implements MouseEvent native "*MouseEvent
" { |
| (...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5390 final _BatteryManagerJs webkitBattery; | 5390 final _BatteryManagerJs webkitBattery; |
| 5391 | 5391 |
| 5392 final _PointerLockJs webkitPointer; | 5392 final _PointerLockJs webkitPointer; |
| 5393 | 5393 |
| 5394 void getStorageUpdates() native; | 5394 void getStorageUpdates() native; |
| 5395 | 5395 |
| 5396 bool javaEnabled() native; | 5396 bool javaEnabled() native; |
| 5397 | 5397 |
| 5398 void registerProtocolHandler(String scheme, String url, String title) native; | 5398 void registerProtocolHandler(String scheme, String url, String title) native; |
| 5399 | 5399 |
| 5400 void webkitGetUserMedia(Map options, NavigatorUserMediaSuccessCallback success
Callback, [NavigatorUserMediaErrorCallback errorCallback = null]) native; | 5400 void webkitGetUserMedia(Map options, NavigatorUserMediaSuccessCallback success
Callback, [NavigatorUserMediaErrorCallback errorCallback]) native; |
| 5401 } | 5401 } |
| 5402 | 5402 |
| 5403 class _NavigatorUserMediaErrorJs extends _DOMTypeJs implements NavigatorUserMedi
aError native "*NavigatorUserMediaError" { | 5403 class _NavigatorUserMediaErrorJs extends _DOMTypeJs implements NavigatorUserMedi
aError native "*NavigatorUserMediaError" { |
| 5404 | 5404 |
| 5405 static final int PERMISSION_DENIED = 1; | 5405 static final int PERMISSION_DENIED = 1; |
| 5406 | 5406 |
| 5407 final int code; | 5407 final int code; |
| 5408 } | 5408 } |
| 5409 | 5409 |
| 5410 class _NodeJs extends _EventTargetJs implements Node native "*Node" { | 5410 class _NodeJs extends _EventTargetJs implements Node native "*Node" { |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5472 final _ElementJs parentElement; | 5472 final _ElementJs parentElement; |
| 5473 | 5473 |
| 5474 final _NodeJs parentNode; | 5474 final _NodeJs parentNode; |
| 5475 | 5475 |
| 5476 String prefix; | 5476 String prefix; |
| 5477 | 5477 |
| 5478 final _NodeJs previousSibling; | 5478 final _NodeJs previousSibling; |
| 5479 | 5479 |
| 5480 String textContent; | 5480 String textContent; |
| 5481 | 5481 |
| 5482 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; | 5482 void addEventListener(String type, EventListener listener, [bool useCapture])
native; |
| 5483 | 5483 |
| 5484 _NodeJs appendChild(_NodeJs newChild) native; | 5484 _NodeJs appendChild(_NodeJs newChild) native; |
| 5485 | 5485 |
| 5486 _NodeJs cloneNode(bool deep) native; | 5486 _NodeJs cloneNode(bool deep) native; |
| 5487 | 5487 |
| 5488 int compareDocumentPosition(_NodeJs other) native; | 5488 int compareDocumentPosition(_NodeJs other) native; |
| 5489 | 5489 |
| 5490 bool contains(_NodeJs other) native; | 5490 bool contains(_NodeJs other) native; |
| 5491 | 5491 |
| 5492 bool dispatchEvent(_EventJs event) native; | 5492 bool dispatchEvent(_EventJs event) native; |
| (...skipping 13 matching lines...) Expand all Loading... |
| 5506 bool isSupported(String feature, String version) native; | 5506 bool isSupported(String feature, String version) native; |
| 5507 | 5507 |
| 5508 String lookupNamespaceURI(String prefix) native; | 5508 String lookupNamespaceURI(String prefix) native; |
| 5509 | 5509 |
| 5510 String lookupPrefix(String namespaceURI) native; | 5510 String lookupPrefix(String namespaceURI) native; |
| 5511 | 5511 |
| 5512 void normalize() native; | 5512 void normalize() native; |
| 5513 | 5513 |
| 5514 _NodeJs removeChild(_NodeJs oldChild) native; | 5514 _NodeJs removeChild(_NodeJs oldChild) native; |
| 5515 | 5515 |
| 5516 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | 5516 void removeEventListener(String type, EventListener listener, [bool useCapture
]) native; |
| 5517 | 5517 |
| 5518 _NodeJs replaceChild(_NodeJs newChild, _NodeJs oldChild) native; | 5518 _NodeJs replaceChild(_NodeJs newChild, _NodeJs oldChild) native; |
| 5519 } | 5519 } |
| 5520 | 5520 |
| 5521 class _NodeFilterJs extends _DOMTypeJs implements NodeFilter native "*NodeFilter
" { | 5521 class _NodeFilterJs extends _DOMTypeJs implements NodeFilter native "*NodeFilter
" { |
| 5522 | 5522 |
| 5523 static final int FILTER_ACCEPT = 1; | 5523 static final int FILTER_ACCEPT = 1; |
| 5524 | 5524 |
| 5525 static final int FILTER_REJECT = 2; | 5525 static final int FILTER_REJECT = 2; |
| 5526 | 5526 |
| (...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5673 } | 5673 } |
| 5674 | 5674 |
| 5675 class _NotificationJs extends _EventTargetJs implements Notification native "*No
tification" { | 5675 class _NotificationJs extends _EventTargetJs implements Notification native "*No
tification" { |
| 5676 | 5676 |
| 5677 String dir; | 5677 String dir; |
| 5678 | 5678 |
| 5679 String replaceId; | 5679 String replaceId; |
| 5680 | 5680 |
| 5681 String tag; | 5681 String tag; |
| 5682 | 5682 |
| 5683 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; | 5683 void addEventListener(String type, EventListener listener, [bool useCapture])
native; |
| 5684 | 5684 |
| 5685 void cancel() native; | 5685 void cancel() native; |
| 5686 | 5686 |
| 5687 void close() native; | 5687 void close() native; |
| 5688 | 5688 |
| 5689 bool dispatchEvent(_EventJs evt) native; | 5689 bool dispatchEvent(_EventJs evt) native; |
| 5690 | 5690 |
| 5691 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | 5691 void removeEventListener(String type, EventListener listener, [bool useCapture
]) native; |
| 5692 | 5692 |
| 5693 void show() native; | 5693 void show() native; |
| 5694 } | 5694 } |
| 5695 | 5695 |
| 5696 class _NotificationCenterJs extends _DOMTypeJs implements NotificationCenter nat
ive "*NotificationCenter" { | 5696 class _NotificationCenterJs extends _DOMTypeJs implements NotificationCenter nat
ive "*NotificationCenter" { |
| 5697 | 5697 |
| 5698 int checkPermission() native; | 5698 int checkPermission() native; |
| 5699 | 5699 |
| 5700 _NotificationJs createHTMLNotification(String url) native; | 5700 _NotificationJs createHTMLNotification(String url) native; |
| 5701 | 5701 |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5825 final _SessionDescriptionJs localDescription; | 5825 final _SessionDescriptionJs localDescription; |
| 5826 | 5826 |
| 5827 final _MediaStreamListJs localStreams; | 5827 final _MediaStreamListJs localStreams; |
| 5828 | 5828 |
| 5829 final int readyState; | 5829 final int readyState; |
| 5830 | 5830 |
| 5831 final _SessionDescriptionJs remoteDescription; | 5831 final _SessionDescriptionJs remoteDescription; |
| 5832 | 5832 |
| 5833 final _MediaStreamListJs remoteStreams; | 5833 final _MediaStreamListJs remoteStreams; |
| 5834 | 5834 |
| 5835 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; | 5835 void addEventListener(String type, EventListener listener, [bool useCapture])
native; |
| 5836 | 5836 |
| 5837 void addStream(_MediaStreamJs stream, [Map mediaStreamHints = null]) native; | 5837 void addStream(_MediaStreamJs stream, [Map mediaStreamHints]) native; |
| 5838 | 5838 |
| 5839 void close() native; | 5839 void close() native; |
| 5840 | 5840 |
| 5841 _SessionDescriptionJs createAnswer(String offer, [Map mediaHints = null]) nati
ve; | 5841 _SessionDescriptionJs createAnswer(String offer, [Map mediaHints]) native; |
| 5842 | 5842 |
| 5843 _SessionDescriptionJs createOffer([Map mediaHints = null]) native; | 5843 _SessionDescriptionJs createOffer([Map mediaHints]) native; |
| 5844 | 5844 |
| 5845 bool dispatchEvent(_EventJs event) native; | 5845 bool dispatchEvent(_EventJs event) native; |
| 5846 | 5846 |
| 5847 void processIceMessage(_IceCandidateJs candidate) native; | 5847 void processIceMessage(_IceCandidateJs candidate) native; |
| 5848 | 5848 |
| 5849 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | 5849 void removeEventListener(String type, EventListener listener, [bool useCapture
]) native; |
| 5850 | 5850 |
| 5851 void removeStream(_MediaStreamJs stream) native; | 5851 void removeStream(_MediaStreamJs stream) native; |
| 5852 | 5852 |
| 5853 void setLocalDescription(int action, _SessionDescriptionJs desc) native; | 5853 void setLocalDescription(int action, _SessionDescriptionJs desc) native; |
| 5854 | 5854 |
| 5855 void setRemoteDescription(int action, _SessionDescriptionJs desc) native; | 5855 void setRemoteDescription(int action, _SessionDescriptionJs desc) native; |
| 5856 | 5856 |
| 5857 void startIce([Map iceOptions = null]) native; | 5857 void startIce([Map iceOptions]) native; |
| 5858 } | 5858 } |
| 5859 | 5859 |
| 5860 class _PerformanceJs extends _DOMTypeJs implements Performance native "*Performa
nce" { | 5860 class _PerformanceJs extends _DOMTypeJs implements Performance native "*Performa
nce" { |
| 5861 | 5861 |
| 5862 final _MemoryInfoJs memory; | 5862 final _MemoryInfoJs memory; |
| 5863 | 5863 |
| 5864 final _PerformanceNavigationJs navigation; | 5864 final _PerformanceNavigationJs navigation; |
| 5865 | 5865 |
| 5866 final _PerformanceTimingJs timing; | 5866 final _PerformanceTimingJs timing; |
| 5867 | 5867 |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5925 | 5925 |
| 5926 final int unloadEventEnd; | 5926 final int unloadEventEnd; |
| 5927 | 5927 |
| 5928 final int unloadEventStart; | 5928 final int unloadEventStart; |
| 5929 } | 5929 } |
| 5930 | 5930 |
| 5931 class _PointerLockJs extends _DOMTypeJs implements PointerLock native "*PointerL
ock" { | 5931 class _PointerLockJs extends _DOMTypeJs implements PointerLock native "*PointerL
ock" { |
| 5932 | 5932 |
| 5933 final bool isLocked; | 5933 final bool isLocked; |
| 5934 | 5934 |
| 5935 void lock(_ElementJs target, [VoidCallback successCallback = null, VoidCallbac
k failureCallback = null]) native; | 5935 void lock(_ElementJs target, [VoidCallback successCallback, VoidCallback failu
reCallback]) native; |
| 5936 | 5936 |
| 5937 void unlock() native; | 5937 void unlock() native; |
| 5938 } | 5938 } |
| 5939 | 5939 |
| 5940 class _PopStateEventJs extends _EventJs implements PopStateEvent native "*PopSta
teEvent" { | 5940 class _PopStateEventJs extends _EventJs implements PopStateEvent native "*PopSta
teEvent" { |
| 5941 | 5941 |
| 5942 final Object state; | 5942 final Object state; |
| 5943 } | 5943 } |
| 5944 | 5944 |
| 5945 class _PositionErrorJs extends _DOMTypeJs implements PositionError native "*Posi
tionError" { | 5945 class _PositionErrorJs extends _DOMTypeJs implements PositionError native "*Posi
tionError" { |
| (...skipping 744 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6690 final _SVGElementInstanceJs firstChild; | 6690 final _SVGElementInstanceJs firstChild; |
| 6691 | 6691 |
| 6692 final _SVGElementInstanceJs lastChild; | 6692 final _SVGElementInstanceJs lastChild; |
| 6693 | 6693 |
| 6694 final _SVGElementInstanceJs nextSibling; | 6694 final _SVGElementInstanceJs nextSibling; |
| 6695 | 6695 |
| 6696 final _SVGElementInstanceJs parentNode; | 6696 final _SVGElementInstanceJs parentNode; |
| 6697 | 6697 |
| 6698 final _SVGElementInstanceJs previousSibling; | 6698 final _SVGElementInstanceJs previousSibling; |
| 6699 | 6699 |
| 6700 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; | 6700 void addEventListener(String type, EventListener listener, [bool useCapture])
native; |
| 6701 | 6701 |
| 6702 bool dispatchEvent(_EventJs event) native; | 6702 bool dispatchEvent(_EventJs event) native; |
| 6703 | 6703 |
| 6704 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | 6704 void removeEventListener(String type, EventListener listener, [bool useCapture
]) native; |
| 6705 } | 6705 } |
| 6706 | 6706 |
| 6707 class _SVGElementInstanceListJs extends _DOMTypeJs implements SVGElementInstance
List native "*SVGElementInstanceList" { | 6707 class _SVGElementInstanceListJs extends _DOMTypeJs implements SVGElementInstance
List native "*SVGElementInstanceList" { |
| 6708 | 6708 |
| 6709 final int length; | 6709 final int length; |
| 6710 | 6710 |
| 6711 _SVGElementInstanceJs item(int index) native; | 6711 _SVGElementInstanceJs item(int index) native; |
| 6712 } | 6712 } |
| 6713 | 6713 |
| 6714 class _SVGEllipseElementJs extends _SVGElementJs implements SVGEllipseElement na
tive "*SVGEllipseElement" { | 6714 class _SVGEllipseElementJs extends _SVGElementJs implements SVGEllipseElement na
tive "*SVGEllipseElement" { |
| (...skipping 2763 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9478 | 9478 |
| 9479 String src; | 9479 String src; |
| 9480 | 9480 |
| 9481 num weight; | 9481 num weight; |
| 9482 } | 9482 } |
| 9483 | 9483 |
| 9484 class _SpeechGrammarListJs extends _DOMTypeJs implements SpeechGrammarList nativ
e "*SpeechGrammarList" { | 9484 class _SpeechGrammarListJs extends _DOMTypeJs implements SpeechGrammarList nativ
e "*SpeechGrammarList" { |
| 9485 | 9485 |
| 9486 final int length; | 9486 final int length; |
| 9487 | 9487 |
| 9488 void addFromString(String string, [num weight = null]) native; | 9488 void addFromString(String string, [num weight]) native; |
| 9489 | 9489 |
| 9490 void addFromUri(String src, [num weight = null]) native; | 9490 void addFromUri(String src, [num weight]) native; |
| 9491 | 9491 |
| 9492 _SpeechGrammarJs item(int index) native; | 9492 _SpeechGrammarJs item(int index) native; |
| 9493 } | 9493 } |
| 9494 | 9494 |
| 9495 class _SpeechInputEventJs extends _EventJs implements SpeechInputEvent native "*
SpeechInputEvent" { | 9495 class _SpeechInputEventJs extends _EventJs implements SpeechInputEvent native "*
SpeechInputEvent" { |
| 9496 | 9496 |
| 9497 final _SpeechInputResultListJs results; | 9497 final _SpeechInputResultListJs results; |
| 9498 } | 9498 } |
| 9499 | 9499 |
| 9500 class _SpeechInputResultJs extends _DOMTypeJs implements SpeechInputResult nativ
e "*SpeechInputResult" { | 9500 class _SpeechInputResultJs extends _DOMTypeJs implements SpeechInputResult nativ
e "*SpeechInputResult" { |
| (...skipping 13 matching lines...) Expand all Loading... |
| 9514 class _SpeechRecognitionJs extends _EventTargetJs implements SpeechRecognition n
ative "*SpeechRecognition" { | 9514 class _SpeechRecognitionJs extends _EventTargetJs implements SpeechRecognition n
ative "*SpeechRecognition" { |
| 9515 | 9515 |
| 9516 bool continuous; | 9516 bool continuous; |
| 9517 | 9517 |
| 9518 _SpeechGrammarListJs grammars; | 9518 _SpeechGrammarListJs grammars; |
| 9519 | 9519 |
| 9520 String lang; | 9520 String lang; |
| 9521 | 9521 |
| 9522 void abort() native; | 9522 void abort() native; |
| 9523 | 9523 |
| 9524 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; | 9524 void addEventListener(String type, EventListener listener, [bool useCapture])
native; |
| 9525 | 9525 |
| 9526 bool dispatchEvent(_EventJs evt) native; | 9526 bool dispatchEvent(_EventJs evt) native; |
| 9527 | 9527 |
| 9528 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | 9528 void removeEventListener(String type, EventListener listener, [bool useCapture
]) native; |
| 9529 | 9529 |
| 9530 void start() native; | 9530 void start() native; |
| 9531 | 9531 |
| 9532 void stop() native; | 9532 void stop() native; |
| 9533 } | 9533 } |
| 9534 | 9534 |
| 9535 class _SpeechRecognitionAlternativeJs extends _DOMTypeJs implements SpeechRecogn
itionAlternative native "*SpeechRecognitionAlternative" { | 9535 class _SpeechRecognitionAlternativeJs extends _DOMTypeJs implements SpeechRecogn
itionAlternative native "*SpeechRecognitionAlternative" { |
| 9536 | 9536 |
| 9537 final num confidence; | 9537 final num confidence; |
| 9538 | 9538 |
| (...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9794 final String kind; | 9794 final String kind; |
| 9795 | 9795 |
| 9796 final String label; | 9796 final String label; |
| 9797 | 9797 |
| 9798 final String language; | 9798 final String language; |
| 9799 | 9799 |
| 9800 int mode; | 9800 int mode; |
| 9801 | 9801 |
| 9802 void addCue(_TextTrackCueJs cue) native; | 9802 void addCue(_TextTrackCueJs cue) native; |
| 9803 | 9803 |
| 9804 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; | 9804 void addEventListener(String type, EventListener listener, [bool useCapture])
native; |
| 9805 | 9805 |
| 9806 bool dispatchEvent(_EventJs evt) native; | 9806 bool dispatchEvent(_EventJs evt) native; |
| 9807 | 9807 |
| 9808 void removeCue(_TextTrackCueJs cue) native; | 9808 void removeCue(_TextTrackCueJs cue) native; |
| 9809 | 9809 |
| 9810 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | 9810 void removeEventListener(String type, EventListener listener, [bool useCapture
]) native; |
| 9811 } | 9811 } |
| 9812 | 9812 |
| 9813 class _TextTrackCueJs extends _EventTargetJs implements TextTrackCue native "*Te
xtTrackCue" { | 9813 class _TextTrackCueJs extends _EventTargetJs implements TextTrackCue native "*Te
xtTrackCue" { |
| 9814 | 9814 |
| 9815 String align; | 9815 String align; |
| 9816 | 9816 |
| 9817 num endTime; | 9817 num endTime; |
| 9818 | 9818 |
| 9819 String id; | 9819 String id; |
| 9820 | 9820 |
| 9821 int line; | 9821 int line; |
| 9822 | 9822 |
| 9823 bool pauseOnExit; | 9823 bool pauseOnExit; |
| 9824 | 9824 |
| 9825 int position; | 9825 int position; |
| 9826 | 9826 |
| 9827 int size; | 9827 int size; |
| 9828 | 9828 |
| 9829 bool snapToLines; | 9829 bool snapToLines; |
| 9830 | 9830 |
| 9831 num startTime; | 9831 num startTime; |
| 9832 | 9832 |
| 9833 String text; | 9833 String text; |
| 9834 | 9834 |
| 9835 final _TextTrackJs track; | 9835 final _TextTrackJs track; |
| 9836 | 9836 |
| 9837 String vertical; | 9837 String vertical; |
| 9838 | 9838 |
| 9839 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; | 9839 void addEventListener(String type, EventListener listener, [bool useCapture])
native; |
| 9840 | 9840 |
| 9841 bool dispatchEvent(_EventJs evt) native; | 9841 bool dispatchEvent(_EventJs evt) native; |
| 9842 | 9842 |
| 9843 _DocumentFragmentJs getCueAsHTML() native; | 9843 _DocumentFragmentJs getCueAsHTML() native; |
| 9844 | 9844 |
| 9845 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | 9845 void removeEventListener(String type, EventListener listener, [bool useCapture
]) native; |
| 9846 } | 9846 } |
| 9847 | 9847 |
| 9848 class _TextTrackCueListJs extends _DOMTypeJs implements TextTrackCueList native
"*TextTrackCueList" { | 9848 class _TextTrackCueListJs extends _DOMTypeJs implements TextTrackCueList native
"*TextTrackCueList" { |
| 9849 | 9849 |
| 9850 final int length; | 9850 final int length; |
| 9851 | 9851 |
| 9852 _TextTrackCueJs getCueById(String id) native; | 9852 _TextTrackCueJs getCueById(String id) native; |
| 9853 | 9853 |
| 9854 _TextTrackCueJs item(int index) native; | 9854 _TextTrackCueJs item(int index) native; |
| 9855 } | 9855 } |
| 9856 | 9856 |
| 9857 class _TextTrackListJs extends _EventTargetJs implements TextTrackList native "*
TextTrackList" { | 9857 class _TextTrackListJs extends _EventTargetJs implements TextTrackList native "*
TextTrackList" { |
| 9858 | 9858 |
| 9859 final int length; | 9859 final int length; |
| 9860 | 9860 |
| 9861 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; | 9861 void addEventListener(String type, EventListener listener, [bool useCapture])
native; |
| 9862 | 9862 |
| 9863 bool dispatchEvent(_EventJs evt) native; | 9863 bool dispatchEvent(_EventJs evt) native; |
| 9864 | 9864 |
| 9865 _TextTrackJs item(int index) native; | 9865 _TextTrackJs item(int index) native; |
| 9866 | 9866 |
| 9867 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | 9867 void removeEventListener(String type, EventListener listener, [bool useCapture
]) native; |
| 9868 } | 9868 } |
| 9869 | 9869 |
| 9870 class _TimeRangesJs extends _DOMTypeJs implements TimeRanges native "*TimeRanges
" { | 9870 class _TimeRangesJs extends _DOMTypeJs implements TimeRanges native "*TimeRanges
" { |
| 9871 | 9871 |
| 9872 final int length; | 9872 final int length; |
| 9873 | 9873 |
| 9874 num end(int index) native; | 9874 num end(int index) native; |
| 9875 | 9875 |
| 9876 num start(int index) native; | 9876 num start(int index) native; |
| 9877 } | 9877 } |
| (...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10145 | 10145 |
| 10146 void insertRange(int start, int rangeLength, [int initialValue]) { | 10146 void insertRange(int start, int rangeLength, [int initialValue]) { |
| 10147 throw new UnsupportedOperationException("Cannot insertRange on immutable Lis
t."); | 10147 throw new UnsupportedOperationException("Cannot insertRange on immutable Lis
t."); |
| 10148 } | 10148 } |
| 10149 | 10149 |
| 10150 List<int> getRange(int start, int rangeLength) => | 10150 List<int> getRange(int start, int rangeLength) => |
| 10151 _Lists.getRange(this, start, rangeLength, <int>[]); | 10151 _Lists.getRange(this, start, rangeLength, <int>[]); |
| 10152 | 10152 |
| 10153 // -- end List<int> mixins. | 10153 // -- end List<int> mixins. |
| 10154 | 10154 |
| 10155 void setElements(Object array, [int offset = null]) native 'set'; | 10155 void setElements(Object array, [int offset]) native 'set'; |
| 10156 | 10156 |
| 10157 _Uint16ArrayJs subarray(int start, [int end = null]) native; | 10157 _Uint16ArrayJs subarray(int start, [int end]) native; |
| 10158 } | 10158 } |
| 10159 | 10159 |
| 10160 class _Uint32ArrayJs extends _ArrayBufferViewJs implements Uint32Array, List<int
> native "*Uint32Array" { | 10160 class _Uint32ArrayJs extends _ArrayBufferViewJs implements Uint32Array, List<int
> native "*Uint32Array" { |
| 10161 | 10161 |
| 10162 static final int BYTES_PER_ELEMENT = 4; | 10162 static final int BYTES_PER_ELEMENT = 4; |
| 10163 | 10163 |
| 10164 final int length; | 10164 final int length; |
| 10165 | 10165 |
| 10166 int operator[](int index) native "return this[index];"; | 10166 int operator[](int index) native "return this[index];"; |
| 10167 | 10167 |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10236 | 10236 |
| 10237 void insertRange(int start, int rangeLength, [int initialValue]) { | 10237 void insertRange(int start, int rangeLength, [int initialValue]) { |
| 10238 throw new UnsupportedOperationException("Cannot insertRange on immutable Lis
t."); | 10238 throw new UnsupportedOperationException("Cannot insertRange on immutable Lis
t."); |
| 10239 } | 10239 } |
| 10240 | 10240 |
| 10241 List<int> getRange(int start, int rangeLength) => | 10241 List<int> getRange(int start, int rangeLength) => |
| 10242 _Lists.getRange(this, start, rangeLength, <int>[]); | 10242 _Lists.getRange(this, start, rangeLength, <int>[]); |
| 10243 | 10243 |
| 10244 // -- end List<int> mixins. | 10244 // -- end List<int> mixins. |
| 10245 | 10245 |
| 10246 void setElements(Object array, [int offset = null]) native 'set'; | 10246 void setElements(Object array, [int offset]) native 'set'; |
| 10247 | 10247 |
| 10248 _Uint32ArrayJs subarray(int start, [int end = null]) native; | 10248 _Uint32ArrayJs subarray(int start, [int end]) native; |
| 10249 } | 10249 } |
| 10250 | 10250 |
| 10251 class _Uint8ArrayJs extends _ArrayBufferViewJs implements Uint8Array, List<int>
native "*Uint8Array" { | 10251 class _Uint8ArrayJs extends _ArrayBufferViewJs implements Uint8Array, List<int>
native "*Uint8Array" { |
| 10252 | 10252 |
| 10253 static final int BYTES_PER_ELEMENT = 1; | 10253 static final int BYTES_PER_ELEMENT = 1; |
| 10254 | 10254 |
| 10255 final int length; | 10255 final int length; |
| 10256 | 10256 |
| 10257 int operator[](int index) native "return this[index];"; | 10257 int operator[](int index) native "return this[index];"; |
| 10258 | 10258 |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10327 | 10327 |
| 10328 void insertRange(int start, int rangeLength, [int initialValue]) { | 10328 void insertRange(int start, int rangeLength, [int initialValue]) { |
| 10329 throw new UnsupportedOperationException("Cannot insertRange on immutable Lis
t."); | 10329 throw new UnsupportedOperationException("Cannot insertRange on immutable Lis
t."); |
| 10330 } | 10330 } |
| 10331 | 10331 |
| 10332 List<int> getRange(int start, int rangeLength) => | 10332 List<int> getRange(int start, int rangeLength) => |
| 10333 _Lists.getRange(this, start, rangeLength, <int>[]); | 10333 _Lists.getRange(this, start, rangeLength, <int>[]); |
| 10334 | 10334 |
| 10335 // -- end List<int> mixins. | 10335 // -- end List<int> mixins. |
| 10336 | 10336 |
| 10337 void setElements(Object array, [int offset = null]) native 'set'; | 10337 void setElements(Object array, [int offset]) native 'set'; |
| 10338 | 10338 |
| 10339 _Uint8ArrayJs subarray(int start, [int end = null]) native; | 10339 _Uint8ArrayJs subarray(int start, [int end]) native; |
| 10340 } | 10340 } |
| 10341 | 10341 |
| 10342 class _Uint8ClampedArrayJs extends _Uint8ArrayJs implements Uint8ClampedArray na
tive "*Uint8ClampedArray" { | 10342 class _Uint8ClampedArrayJs extends _Uint8ArrayJs implements Uint8ClampedArray na
tive "*Uint8ClampedArray" { |
| 10343 | 10343 |
| 10344 // Use implementation from Uint8Array. | 10344 // Use implementation from Uint8Array. |
| 10345 // final int length; | 10345 // final int length; |
| 10346 | 10346 |
| 10347 void setElements(Object array, [int offset = null]) native 'set'; | 10347 void setElements(Object array, [int offset]) native 'set'; |
| 10348 | 10348 |
| 10349 _Uint8ClampedArrayJs subarray(int start, [int end = null]) native; | 10349 _Uint8ClampedArrayJs subarray(int start, [int end]) native; |
| 10350 } | 10350 } |
| 10351 | 10351 |
| 10352 class _ValidityStateJs extends _DOMTypeJs implements ValidityState native "*Vali
dityState" { | 10352 class _ValidityStateJs extends _DOMTypeJs implements ValidityState native "*Vali
dityState" { |
| 10353 | 10353 |
| 10354 final bool customError; | 10354 final bool customError; |
| 10355 | 10355 |
| 10356 final bool patternMismatch; | 10356 final bool patternMismatch; |
| 10357 | 10357 |
| 10358 final bool rangeOverflow; | 10358 final bool rangeOverflow; |
| 10359 | 10359 |
| (...skipping 885 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11245 void stencilFuncSeparate(int face, int func, int ref, int mask) native; | 11245 void stencilFuncSeparate(int face, int func, int ref, int mask) native; |
| 11246 | 11246 |
| 11247 void stencilMask(int mask) native; | 11247 void stencilMask(int mask) native; |
| 11248 | 11248 |
| 11249 void stencilMaskSeparate(int face, int mask) native; | 11249 void stencilMaskSeparate(int face, int mask) native; |
| 11250 | 11250 |
| 11251 void stencilOp(int fail, int zfail, int zpass) native; | 11251 void stencilOp(int fail, int zfail, int zpass) native; |
| 11252 | 11252 |
| 11253 void stencilOpSeparate(int face, int fail, int zfail, int zpass) native; | 11253 void stencilOpSeparate(int face, int fail, int zfail, int zpass) native; |
| 11254 | 11254 |
| 11255 void texImage2D(int target, int level, int internalformat, int format_OR_width
, int height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video, [int format
= null, int type = null, _ArrayBufferViewJs pixels = null]) native; | 11255 void texImage2D(int target, int level, int internalformat, int format_OR_width
, int height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video, [int format,
int type, _ArrayBufferViewJs pixels]) native; |
| 11256 | 11256 |
| 11257 void texParameterf(int target, int pname, num param) native; | 11257 void texParameterf(int target, int pname, num param) native; |
| 11258 | 11258 |
| 11259 void texParameteri(int target, int pname, int param) native; | 11259 void texParameteri(int target, int pname, int param) native; |
| 11260 | 11260 |
| 11261 void texSubImage2D(int target, int level, int xoffset, int yoffset, int format
_OR_width, int height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video, [in
t type = null, _ArrayBufferViewJs pixels = null]) native; | 11261 void texSubImage2D(int target, int level, int xoffset, int yoffset, int format
_OR_width, int height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video, [in
t type, _ArrayBufferViewJs pixels]) native; |
| 11262 | 11262 |
| 11263 void uniform1f(_WebGLUniformLocationJs location, num x) native; | 11263 void uniform1f(_WebGLUniformLocationJs location, num x) native; |
| 11264 | 11264 |
| 11265 void uniform1fv(_WebGLUniformLocationJs location, _Float32ArrayJs v) native; | 11265 void uniform1fv(_WebGLUniformLocationJs location, _Float32ArrayJs v) native; |
| 11266 | 11266 |
| 11267 void uniform1i(_WebGLUniformLocationJs location, int x) native; | 11267 void uniform1i(_WebGLUniformLocationJs location, int x) native; |
| 11268 | 11268 |
| 11269 void uniform1iv(_WebGLUniformLocationJs location, _Int32ArrayJs v) native; | 11269 void uniform1iv(_WebGLUniformLocationJs location, _Int32ArrayJs v) native; |
| 11270 | 11270 |
| 11271 void uniform2f(_WebGLUniformLocationJs location, num x, num y) native; | 11271 void uniform2f(_WebGLUniformLocationJs location, num x, num y) native; |
| (...skipping 335 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11607 final int bufferedAmount; | 11607 final int bufferedAmount; |
| 11608 | 11608 |
| 11609 final String extensions; | 11609 final String extensions; |
| 11610 | 11610 |
| 11611 final String protocol; | 11611 final String protocol; |
| 11612 | 11612 |
| 11613 final int readyState; | 11613 final int readyState; |
| 11614 | 11614 |
| 11615 final String url; | 11615 final String url; |
| 11616 | 11616 |
| 11617 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; | 11617 void addEventListener(String type, EventListener listener, [bool useCapture])
native; |
| 11618 | 11618 |
| 11619 void close([int code = null, String reason = null]) native; | 11619 void close([int code, String reason]) native; |
| 11620 | 11620 |
| 11621 bool dispatchEvent(_EventJs evt) native; | 11621 bool dispatchEvent(_EventJs evt) native; |
| 11622 | 11622 |
| 11623 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | 11623 void removeEventListener(String type, EventListener listener, [bool useCapture
]) native; |
| 11624 | 11624 |
| 11625 bool send(String data) native; | 11625 bool send(String data) native; |
| 11626 } | 11626 } |
| 11627 | 11627 |
| 11628 class _WheelEventJs extends _UIEventJs implements WheelEvent native "*WheelEvent
" { | 11628 class _WheelEventJs extends _UIEventJs implements WheelEvent native "*WheelEvent
" { |
| 11629 | 11629 |
| 11630 final bool altKey; | 11630 final bool altKey; |
| 11631 | 11631 |
| 11632 final int clientX; | 11632 final int clientX; |
| 11633 | 11633 |
| (...skipping 23 matching lines...) Expand all Loading... |
| 11657 | 11657 |
| 11658 final int x; | 11658 final int x; |
| 11659 | 11659 |
| 11660 final int y; | 11660 final int y; |
| 11661 | 11661 |
| 11662 void initWebKitWheelEvent(int wheelDeltaX, int wheelDeltaY, _DOMWindowJs view,
int screenX, int screenY, int clientX, int clientY, bool ctrlKey, bool altKey,
bool shiftKey, bool metaKey) native; | 11662 void initWebKitWheelEvent(int wheelDeltaX, int wheelDeltaY, _DOMWindowJs view,
int screenX, int screenY, int clientX, int clientY, bool ctrlKey, bool altKey,
bool shiftKey, bool metaKey) native; |
| 11663 } | 11663 } |
| 11664 | 11664 |
| 11665 class _WorkerJs extends _AbstractWorkerJs implements Worker native "*Worker" { | 11665 class _WorkerJs extends _AbstractWorkerJs implements Worker native "*Worker" { |
| 11666 | 11666 |
| 11667 void postMessage(message, [List messagePorts = null]) native; | 11667 void postMessage(message, [List messagePorts]) native; |
| 11668 | 11668 |
| 11669 void terminate() native; | 11669 void terminate() native; |
| 11670 | 11670 |
| 11671 void webkitPostMessage(message, [List messagePorts = null]) native; | 11671 void webkitPostMessage(message, [List messagePorts]) native; |
| 11672 } | 11672 } |
| 11673 | 11673 |
| 11674 class _WorkerContextJs extends _EventTargetJs implements WorkerContext native "*
WorkerContext" { | 11674 class _WorkerContextJs extends _EventTargetJs implements WorkerContext native "*
WorkerContext" { |
| 11675 | 11675 |
| 11676 static final int PERSISTENT = 1; | 11676 static final int PERSISTENT = 1; |
| 11677 | 11677 |
| 11678 static final int TEMPORARY = 0; | 11678 static final int TEMPORARY = 0; |
| 11679 | 11679 |
| 11680 final _WorkerLocationJs location; | 11680 final _WorkerLocationJs location; |
| 11681 | 11681 |
| 11682 final _WorkerNavigatorJs navigator; | 11682 final _WorkerNavigatorJs navigator; |
| 11683 | 11683 |
| 11684 final _WorkerContextJs self; | 11684 final _WorkerContextJs self; |
| 11685 | 11685 |
| 11686 final _IDBFactoryJs webkitIndexedDB; | 11686 final _IDBFactoryJs webkitIndexedDB; |
| 11687 | 11687 |
| 11688 final _NotificationCenterJs webkitNotifications; | 11688 final _NotificationCenterJs webkitNotifications; |
| 11689 | 11689 |
| 11690 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; | 11690 void addEventListener(String type, EventListener listener, [bool useCapture])
native; |
| 11691 | 11691 |
| 11692 void clearInterval(int handle) native; | 11692 void clearInterval(int handle) native; |
| 11693 | 11693 |
| 11694 void clearTimeout(int handle) native; | 11694 void clearTimeout(int handle) native; |
| 11695 | 11695 |
| 11696 void close() native; | 11696 void close() native; |
| 11697 | 11697 |
| 11698 bool dispatchEvent(_EventJs evt) native; | 11698 bool dispatchEvent(_EventJs evt) native; |
| 11699 | 11699 |
| 11700 void importScripts() native; | 11700 void importScripts() native; |
| 11701 | 11701 |
| 11702 _DatabaseJs openDatabase(String name, String version, String displayName, int
estimatedSize, [DatabaseCallback creationCallback = null]) native; | 11702 _DatabaseJs openDatabase(String name, String version, String displayName, int
estimatedSize, [DatabaseCallback creationCallback]) native; |
| 11703 | 11703 |
| 11704 _DatabaseSyncJs openDatabaseSync(String name, String version, String displayNa
me, int estimatedSize, [DatabaseCallback creationCallback = null]) native; | 11704 _DatabaseSyncJs openDatabaseSync(String name, String version, String displayNa
me, int estimatedSize, [DatabaseCallback creationCallback]) native; |
| 11705 | 11705 |
| 11706 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | 11706 void removeEventListener(String type, EventListener listener, [bool useCapture
]) native; |
| 11707 | 11707 |
| 11708 int setInterval(TimeoutHandler handler, int timeout) native; | 11708 int setInterval(TimeoutHandler handler, int timeout) native; |
| 11709 | 11709 |
| 11710 int setTimeout(TimeoutHandler handler, int timeout) native; | 11710 int setTimeout(TimeoutHandler handler, int timeout) native; |
| 11711 | 11711 |
| 11712 void webkitRequestFileSystem(int type, int size, [FileSystemCallback successCa
llback = null, ErrorCallback errorCallback = null]) native; | 11712 void webkitRequestFileSystem(int type, int size, [FileSystemCallback successCa
llback, ErrorCallback errorCallback]) native; |
| 11713 | 11713 |
| 11714 _DOMFileSystemSyncJs webkitRequestFileSystemSync(int type, int size) native; | 11714 _DOMFileSystemSyncJs webkitRequestFileSystemSync(int type, int size) native; |
| 11715 | 11715 |
| 11716 _EntrySyncJs webkitResolveLocalFileSystemSyncURL(String url) native; | 11716 _EntrySyncJs webkitResolveLocalFileSystemSyncURL(String url) native; |
| 11717 | 11717 |
| 11718 void webkitResolveLocalFileSystemURL(String url, [EntryCallback successCallbac
k = null, ErrorCallback errorCallback = null]) native; | 11718 void webkitResolveLocalFileSystemURL(String url, [EntryCallback successCallbac
k, ErrorCallback errorCallback]) native; |
| 11719 } | 11719 } |
| 11720 | 11720 |
| 11721 class _WorkerLocationJs extends _DOMTypeJs implements WorkerLocation native "*Wo
rkerLocation" { | 11721 class _WorkerLocationJs extends _DOMTypeJs implements WorkerLocation native "*Wo
rkerLocation" { |
| 11722 | 11722 |
| 11723 final String hash; | 11723 final String hash; |
| 11724 | 11724 |
| 11725 final String host; | 11725 final String host; |
| 11726 | 11726 |
| 11727 final String hostname; | 11727 final String hostname; |
| 11728 | 11728 |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11779 final int status; | 11779 final int status; |
| 11780 | 11780 |
| 11781 final String statusText; | 11781 final String statusText; |
| 11782 | 11782 |
| 11783 final _XMLHttpRequestUploadJs upload; | 11783 final _XMLHttpRequestUploadJs upload; |
| 11784 | 11784 |
| 11785 bool withCredentials; | 11785 bool withCredentials; |
| 11786 | 11786 |
| 11787 void abort() native; | 11787 void abort() native; |
| 11788 | 11788 |
| 11789 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; | 11789 void addEventListener(String type, EventListener listener, [bool useCapture])
native; |
| 11790 | 11790 |
| 11791 bool dispatchEvent(_EventJs evt) native; | 11791 bool dispatchEvent(_EventJs evt) native; |
| 11792 | 11792 |
| 11793 String getAllResponseHeaders() native; | 11793 String getAllResponseHeaders() native; |
| 11794 | 11794 |
| 11795 String getResponseHeader(String header) native; | 11795 String getResponseHeader(String header) native; |
| 11796 | 11796 |
| 11797 void open(String method, String url, [bool async = null, String user = null, S
tring password = null]) native; | 11797 void open(String method, String url, [bool async, String user, String password
]) native; |
| 11798 | 11798 |
| 11799 void overrideMimeType(String override) native; | 11799 void overrideMimeType(String override) native; |
| 11800 | 11800 |
| 11801 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | 11801 void removeEventListener(String type, EventListener listener, [bool useCapture
]) native; |
| 11802 | 11802 |
| 11803 void send([data = null]) native; | 11803 void send([data]) native; |
| 11804 | 11804 |
| 11805 void setRequestHeader(String header, String value) native; | 11805 void setRequestHeader(String header, String value) native; |
| 11806 } | 11806 } |
| 11807 | 11807 |
| 11808 class _XMLHttpRequestExceptionJs extends _DOMTypeJs implements XMLHttpRequestExc
eption native "*XMLHttpRequestException" { | 11808 class _XMLHttpRequestExceptionJs extends _DOMTypeJs implements XMLHttpRequestExc
eption native "*XMLHttpRequestException" { |
| 11809 | 11809 |
| 11810 static final int ABORT_ERR = 102; | 11810 static final int ABORT_ERR = 102; |
| 11811 | 11811 |
| 11812 static final int NETWORK_ERR = 101; | 11812 static final int NETWORK_ERR = 101; |
| 11813 | 11813 |
| 11814 final int code; | 11814 final int code; |
| 11815 | 11815 |
| 11816 final String message; | 11816 final String message; |
| 11817 | 11817 |
| 11818 final String name; | 11818 final String name; |
| 11819 | 11819 |
| 11820 String toString() native; | 11820 String toString() native; |
| 11821 } | 11821 } |
| 11822 | 11822 |
| 11823 class _XMLHttpRequestProgressEventJs extends _ProgressEventJs implements XMLHttp
RequestProgressEvent native "*XMLHttpRequestProgressEvent" { | 11823 class _XMLHttpRequestProgressEventJs extends _ProgressEventJs implements XMLHttp
RequestProgressEvent native "*XMLHttpRequestProgressEvent" { |
| 11824 | 11824 |
| 11825 final int position; | 11825 final int position; |
| 11826 | 11826 |
| 11827 final int totalSize; | 11827 final int totalSize; |
| 11828 } | 11828 } |
| 11829 | 11829 |
| 11830 class _XMLHttpRequestUploadJs extends _EventTargetJs implements XMLHttpRequestUp
load native "*XMLHttpRequestUpload" { | 11830 class _XMLHttpRequestUploadJs extends _EventTargetJs implements XMLHttpRequestUp
load native "*XMLHttpRequestUpload" { |
| 11831 | 11831 |
| 11832 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; | 11832 void addEventListener(String type, EventListener listener, [bool useCapture])
native; |
| 11833 | 11833 |
| 11834 bool dispatchEvent(_EventJs evt) native; | 11834 bool dispatchEvent(_EventJs evt) native; |
| 11835 | 11835 |
| 11836 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | 11836 void removeEventListener(String type, EventListener listener, [bool useCapture
]) native; |
| 11837 } | 11837 } |
| 11838 | 11838 |
| 11839 class _XMLSerializerJs extends _DOMTypeJs implements XMLSerializer native "*XMLS
erializer" { | 11839 class _XMLSerializerJs extends _DOMTypeJs implements XMLSerializer native "*XMLS
erializer" { |
| 11840 | 11840 |
| 11841 String serializeToString(_NodeJs node) native; | 11841 String serializeToString(_NodeJs node) native; |
| 11842 } | 11842 } |
| 11843 | 11843 |
| 11844 class _XPathEvaluatorJs extends _DOMTypeJs implements XPathEvaluator native "*XP
athEvaluator" { | 11844 class _XPathEvaluatorJs extends _DOMTypeJs implements XPathEvaluator native "*XP
athEvaluator" { |
| 11845 | 11845 |
| 11846 _XPathExpressionJs createExpression(String expression, _XPathNSResolverJs reso
lver) native; | 11846 _XPathExpressionJs createExpression(String expression, _XPathNSResolverJs reso
lver) native; |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11932 | 11932 |
| 11933 _DocumentJs transformToDocument(_NodeJs source) native; | 11933 _DocumentJs transformToDocument(_NodeJs source) native; |
| 11934 | 11934 |
| 11935 _DocumentFragmentJs transformToFragment(_NodeJs source, _DocumentJs docVal) na
tive; | 11935 _DocumentFragmentJs transformToFragment(_NodeJs source, _DocumentJs docVal) na
tive; |
| 11936 } | 11936 } |
| 11937 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 11937 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 11938 // for details. All rights reserved. Use of this source code is governed by a | 11938 // for details. All rights reserved. Use of this source code is governed by a |
| 11939 // BSD-style license that can be found in the LICENSE file. | 11939 // BSD-style license that can be found in the LICENSE file. |
| 11940 | 11940 |
| 11941 class _BlobFactoryProvider { | 11941 class _BlobFactoryProvider { |
| 11942 factory Blob(List blobParts, [String type = null, String endings = null]) nati
ve | 11942 factory Blob(List blobParts, [String type, String endings]) native |
| 11943 '''return new Blob(blobParts, type, endings);'''; | 11943 '''return new Blob(blobParts, type, endings);'''; |
| 11944 } | 11944 } |
| 11945 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 11945 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 11946 // for details. All rights reserved. Use of this source code is governed by a | 11946 // for details. All rights reserved. Use of this source code is governed by a |
| 11947 // BSD-style license that can be found in the LICENSE file. | 11947 // BSD-style license that can be found in the LICENSE file. |
| 11948 | 11948 |
| 11949 class _DOMParserFactoryProvider { | 11949 class _DOMParserFactoryProvider { |
| 11950 factory DOMParser() native | 11950 factory DOMParser() native |
| 11951 '''return new DOMParser();'''; | 11951 '''return new DOMParser();'''; |
| 11952 } | 11952 } |
| 11953 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 11953 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 11954 // for details. All rights reserved. Use of this source code is governed by a | 11954 // for details. All rights reserved. Use of this source code is governed by a |
| 11955 // BSD-style license that can be found in the LICENSE file. | 11955 // BSD-style license that can be found in the LICENSE file. |
| 11956 | 11956 |
| 11957 class _DOMURLFactoryProvider { | 11957 class _DOMURLFactoryProvider { |
| 11958 factory DOMURL() native | 11958 factory DOMURL() native |
| 11959 '''return new DOMURL();'''; | 11959 '''return new DOMURL();'''; |
| 11960 } | 11960 } |
| 11961 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 11961 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 11962 // for details. All rights reserved. Use of this source code is governed by a | 11962 // for details. All rights reserved. Use of this source code is governed by a |
| 11963 // BSD-style license that can be found in the LICENSE file. | 11963 // BSD-style license that can be found in the LICENSE file. |
| 11964 | 11964 |
| 11965 class _DataViewFactoryProvider { | 11965 class _DataViewFactoryProvider { |
| 11966 factory DataView(ArrayBuffer buffer, [int byteOffset = null, int byteLength =
null]) native | 11966 factory DataView(ArrayBuffer buffer, [int byteOffset, int byteLength]) native |
| 11967 '''return new DataView(buffer, byteOffset, byteLength);'''; | 11967 '''return new DataView(buffer, byteOffset, byteLength);'''; |
| 11968 } | 11968 } |
| 11969 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 11969 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 11970 // for details. All rights reserved. Use of this source code is governed by a | 11970 // for details. All rights reserved. Use of this source code is governed by a |
| 11971 // BSD-style license that can be found in the LICENSE file. | 11971 // BSD-style license that can be found in the LICENSE file. |
| 11972 | 11972 |
| 11973 class _DeprecatedPeerConnectionFactoryProvider { | 11973 class _DeprecatedPeerConnectionFactoryProvider { |
| 11974 factory DeprecatedPeerConnection(String serverConfiguration, SignalingCallback
signalingCallback) native | 11974 factory DeprecatedPeerConnection(String serverConfiguration, SignalingCallback
signalingCallback) native |
| 11975 '''return new DeprecatedPeerConnection(serverConfiguration, signalingCallb
ack);'''; | 11975 '''return new DeprecatedPeerConnection(serverConfiguration, signalingCallb
ack);'''; |
| 11976 } | 11976 } |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 12055 | 12055 |
| 12056 class _MessageChannelFactoryProvider { | 12056 class _MessageChannelFactoryProvider { |
| 12057 factory MessageChannel() native | 12057 factory MessageChannel() native |
| 12058 '''return new MessageChannel();'''; | 12058 '''return new MessageChannel();'''; |
| 12059 } | 12059 } |
| 12060 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 12060 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 12061 // for details. All rights reserved. Use of this source code is governed by a | 12061 // for details. All rights reserved. Use of this source code is governed by a |
| 12062 // BSD-style license that can be found in the LICENSE file. | 12062 // BSD-style license that can be found in the LICENSE file. |
| 12063 | 12063 |
| 12064 class _NotificationFactoryProvider { | 12064 class _NotificationFactoryProvider { |
| 12065 factory Notification(String title, [Map options = null]) native | 12065 factory Notification(String title, [Map options]) native |
| 12066 '''return new Notification(title, options);'''; | 12066 '''return new Notification(title, options);'''; |
| 12067 } | 12067 } |
| 12068 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 12068 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 12069 // for details. All rights reserved. Use of this source code is governed by a | 12069 // for details. All rights reserved. Use of this source code is governed by a |
| 12070 // BSD-style license that can be found in the LICENSE file. | 12070 // BSD-style license that can be found in the LICENSE file. |
| 12071 | 12071 |
| 12072 class _PeerConnection00FactoryProvider { | 12072 class _PeerConnection00FactoryProvider { |
| 12073 factory PeerConnection00(String serverConfiguration, IceCallback iceCallback)
native | 12073 factory PeerConnection00(String serverConfiguration, IceCallback iceCallback)
native |
| 12074 '''return new PeerConnection00(serverConfiguration, iceCallback);'''; | 12074 '''return new PeerConnection00(serverConfiguration, iceCallback);'''; |
| 12075 } | 12075 } |
| (...skipping 13183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 25259 if (length < 0) throw new IllegalArgumentException('length'); | 25259 if (length < 0) throw new IllegalArgumentException('length'); |
| 25260 if (start < 0) throw new IndexOutOfRangeException(start); | 25260 if (start < 0) throw new IndexOutOfRangeException(start); |
| 25261 int end = start + length; | 25261 int end = start + length; |
| 25262 if (end > a.length) throw new IndexOutOfRangeException(end); | 25262 if (end > a.length) throw new IndexOutOfRangeException(end); |
| 25263 for (int i = start; i < end; i++) { | 25263 for (int i = start; i < end; i++) { |
| 25264 accumulator.add(a[i]); | 25264 accumulator.add(a[i]); |
| 25265 } | 25265 } |
| 25266 return accumulator; | 25266 return accumulator; |
| 25267 } | 25267 } |
| 25268 } | 25268 } |
| OLD | NEW |