Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(355)

Side by Side Diff: lib/dom/frog/dom_frog.dart

Issue 10117028: Roll WebCore IDL to multivm@418 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « lib/dom/dom.dart ('k') | lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #library('dom'); 1 #library('dom');
2 2
3 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 3 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
4 // for details. All rights reserved. Use of this source code is governed by a 4 // for details. All rights reserved. Use of this source code is governed by a
5 // BSD-style license that can be found in the LICENSE file. 5 // BSD-style license that can be found in the LICENSE file.
6 6
7 // DO NOT EDIT 7 // DO NOT EDIT
8 // Auto-generated Dart DOM library. 8 // Auto-generated Dart DOM library.
9 9
10 10
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 final num sampleRate; 117 final num sampleRate;
118 118
119 _RealtimeAnalyserNodeJs createAnalyser() native; 119 _RealtimeAnalyserNodeJs createAnalyser() native;
120 120
121 _BiquadFilterNodeJs createBiquadFilter() native; 121 _BiquadFilterNodeJs createBiquadFilter() native;
122 122
123 _AudioBufferJs createBuffer(buffer_OR_numberOfChannels, mixToMono_OR_numberOfF rames, [num sampleRate = null]) native; 123 _AudioBufferJs createBuffer(buffer_OR_numberOfChannels, mixToMono_OR_numberOfF rames, [num sampleRate = null]) native;
124 124
125 _AudioBufferSourceNodeJs createBufferSource() native; 125 _AudioBufferSourceNodeJs createBufferSource() native;
126 126
127 _AudioChannelMergerJs createChannelMerger() native; 127 _AudioChannelMergerJs createChannelMerger([int numberOfInputs = null]) native;
128 128
129 _AudioChannelSplitterJs createChannelSplitter() native; 129 _AudioChannelSplitterJs createChannelSplitter([int numberOfOutputs = null]) na tive;
130 130
131 _ConvolverNodeJs createConvolver() native; 131 _ConvolverNodeJs createConvolver() native;
132 132
133 _DelayNodeJs createDelayNode([num maxDelayTime = null]) native; 133 _DelayNodeJs createDelayNode([num maxDelayTime = null]) native;
134 134
135 _DynamicsCompressorNodeJs createDynamicsCompressor() native; 135 _DynamicsCompressorNodeJs createDynamicsCompressor() native;
136 136
137 _AudioGainNodeJs createGainNode() native; 137 _AudioGainNodeJs createGainNode() native;
138 138
139 _JavaScriptAudioNodeJs createJavaScriptNode(int bufferSize) native; 139 _JavaScriptAudioNodeJs createJavaScriptNode(int bufferSize, [int numberOfInput Channels = null, int numberOfOutputChannels = null]) native;
140 140
141 _MediaElementAudioSourceNodeJs createMediaElementSource(_HTMLMediaElementJs me diaElement) native; 141 _MediaElementAudioSourceNodeJs createMediaElementSource(_HTMLMediaElementJs me diaElement) native;
142 142
143 _OscillatorJs createOscillator() native; 143 _OscillatorJs createOscillator() native;
144 144
145 _AudioPannerNodeJs createPanner() native; 145 _AudioPannerNodeJs createPanner() native;
146 146
147 _WaveShaperNodeJs createWaveShaper() native; 147 _WaveShaperNodeJs createWaveShaper() native;
148 148
149 _WaveTableJs createWaveTable(_Float32ArrayJs real, _Float32ArrayJs imag) nativ e; 149 _WaveTableJs createWaveTable(_Float32ArrayJs real, _Float32ArrayJs imag) nativ e;
(...skipping 30 matching lines...) Expand all
180 } 180 }
181 181
182 class _AudioNodeJs extends _DOMTypeJs implements AudioNode native "*AudioNode" { 182 class _AudioNodeJs extends _DOMTypeJs implements AudioNode native "*AudioNode" {
183 183
184 final _AudioContextJs context; 184 final _AudioContextJs context;
185 185
186 final int numberOfInputs; 186 final int numberOfInputs;
187 187
188 final int numberOfOutputs; 188 final int numberOfOutputs;
189 189
190 void connect(_AudioNodeJs destination, int output, int input) native; 190 void connect(destination, int output, [int input = null]) native;
191 191
192 void disconnect(int output) native; 192 void disconnect(int output) native;
193 } 193 }
194 194
195 class _AudioPannerNodeJs extends _AudioNodeJs implements AudioPannerNode native "*AudioPannerNode" { 195 class _AudioPannerNodeJs extends _AudioNodeJs implements AudioPannerNode native "*AudioPannerNode" {
196 196
197 static final int EQUALPOWER = 0; 197 static final int EQUALPOWER = 0;
198 198
199 static final int EXPONENTIAL_DISTANCE = 2; 199 static final int EXPONENTIAL_DISTANCE = 2;
200 200
(...skipping 469 matching lines...) Expand 10 before | Expand all | Expand 10 after
670 num shadowOffsetX; 670 num shadowOffsetX;
671 671
672 num shadowOffsetY; 672 num shadowOffsetY;
673 673
674 var strokeStyle; 674 var strokeStyle;
675 675
676 String textAlign; 676 String textAlign;
677 677
678 String textBaseline; 678 String textBaseline;
679 679
680 final num webkitBackingStorePixelRatio;
681
680 List webkitLineDash; 682 List webkitLineDash;
681 683
682 num webkitLineDashOffset; 684 num webkitLineDashOffset;
683 685
684 void arc(num x, num y, num radius, num startAngle, num endAngle, bool anticloc kwise) native; 686 void arc(num x, num y, num radius, num startAngle, num endAngle, bool anticloc kwise) native;
685 687
686 void arcTo(num x1, num y1, num x2, num y2, num radius) native; 688 void arcTo(num x1, num y1, num x2, num y2, num radius) native;
687 689
688 void beginPath() native; 690 void beginPath() native;
689 691
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
761 763
762 void stroke() native; 764 void stroke() native;
763 765
764 void strokeRect(num x, num y, num width, num height, [num lineWidth = null]) n ative; 766 void strokeRect(num x, num y, num width, num height, [num lineWidth = null]) n ative;
765 767
766 void strokeText(String text, num x, num y, [num maxWidth = null]) native; 768 void strokeText(String text, num x, num y, [num maxWidth = null]) native;
767 769
768 void transform(num m11, num m12, num m21, num m22, num dx, num dy) native; 770 void transform(num m11, num m12, num m21, num m22, num dx, num dy) native;
769 771
770 void translate(num tx, num ty) native; 772 void translate(num tx, num ty) native;
773
774 _ImageDataJs webkitGetImageDataHD(num sx, num sy, num sw, num sh) native;
775
776 void webkitPutImageDataHD(_ImageDataJs imagedata, num dx, num dy, [num dirtyX = null, num dirtyY = null, num dirtyWidth = null, num dirtyHeight = null]) nativ e;
771 } 777 }
772 778
773 class _CharacterDataJs extends _NodeJs implements CharacterData native "*Charact erData" { 779 class _CharacterDataJs extends _NodeJs implements CharacterData native "*Charact erData" {
774 780
775 String data; 781 String data;
776 782
777 final int length; 783 final int length;
778 784
779 void appendData(String data) native; 785 void appendData(String data) native;
780 786
(...skipping 1490 matching lines...) Expand 10 before | Expand all | Expand 10 after
2271 final _FileErrorJs error; 2277 final _FileErrorJs error;
2272 2278
2273 final int length; 2279 final int length;
2274 2280
2275 final int position; 2281 final int position;
2276 2282
2277 final int readyState; 2283 final int readyState;
2278 2284
2279 void abort() native; 2285 void abort() native;
2280 2286
2287 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
2288
2289 bool dispatchEvent(_EventJs evt) native;
2290
2291 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
2292
2281 void seek(int position) native; 2293 void seek(int position) native;
2282 2294
2283 void truncate(int size) native; 2295 void truncate(int size) native;
2284 2296
2285 void write(_BlobJs data) native; 2297 void write(_BlobJs data) native;
2286 } 2298 }
2287 2299
2288 class _FileWriterSyncJs extends _DOMTypeJs implements FileWriterSync native "*Fi leWriterSync" { 2300 class _FileWriterSyncJs extends _DOMTypeJs implements FileWriterSync native "*Fi leWriterSync" {
2289 2301
2290 final int length; 2302 final int length;
(...skipping 1171 matching lines...) Expand 10 before | Expand all | Expand 10 after
3462 _TextTrackJs addTextTrack(String kind, [String label = null, String language = null]) native; 3474 _TextTrackJs addTextTrack(String kind, [String label = null, String language = null]) native;
3463 3475
3464 String canPlayType(String type) native; 3476 String canPlayType(String type) native;
3465 3477
3466 void load() native; 3478 void load() native;
3467 3479
3468 void pause() native; 3480 void pause() native;
3469 3481
3470 void play() native; 3482 void play() native;
3471 3483
3484 void webkitSourceAddId(String id, String type) native;
3485
3472 void webkitSourceAppend(_Uint8ArrayJs data) native; 3486 void webkitSourceAppend(_Uint8ArrayJs data) native;
3473 3487
3474 void webkitSourceEndOfStream(int status) native; 3488 void webkitSourceEndOfStream(int status) native;
3489
3490 void webkitSourceRemoveId(String id) native;
3475 } 3491 }
3476 3492
3477 class _HTMLMenuElementJs extends _HTMLElementJs implements HTMLMenuElement nativ e "*HTMLMenuElement" { 3493 class _HTMLMenuElementJs extends _HTMLElementJs implements HTMLMenuElement nativ e "*HTMLMenuElement" {
3478 3494
3479 bool compact; 3495 bool compact;
3480 } 3496 }
3481 3497
3482 class _HTMLMetaElementJs extends _HTMLElementJs implements HTMLMetaElement nativ e "*HTMLMetaElement" { 3498 class _HTMLMetaElementJs extends _HTMLElementJs implements HTMLMetaElement nativ e "*HTMLMetaElement" {
3483 3499
3484 String content; 3500 String content;
(...skipping 1184 matching lines...) Expand 10 before | Expand all | Expand 10 after
4669 final bool metaKey; 4685 final bool metaKey;
4670 4686
4671 final bool shiftKey; 4687 final bool shiftKey;
4672 4688
4673 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; 4689 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;
4674 } 4690 }
4675 4691
4676 class _LocalMediaStreamJs extends _MediaStreamJs implements LocalMediaStream nat ive "*LocalMediaStream" { 4692 class _LocalMediaStreamJs extends _MediaStreamJs implements LocalMediaStream nat ive "*LocalMediaStream" {
4677 4693
4678 void stop() native; 4694 void stop() native;
4679
4680 // From EventTarget
4681
4682 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
4683
4684 bool dispatchEvent(_EventJs event) native;
4685
4686 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
4687 } 4695 }
4688 4696
4689 class _LocationJs extends _DOMTypeJs implements Location native "*Location" { 4697 class _LocationJs extends _DOMTypeJs implements Location native "*Location" {
4690 4698
4699 final List<String> ancestorOrigins;
4700
4691 String hash; 4701 String hash;
4692 4702
4693 String host; 4703 String host;
4694 4704
4695 String hostname; 4705 String hostname;
4696 4706
4697 String href; 4707 String href;
4698 4708
4699 final String origin; 4709 final String origin;
4700 4710
(...skipping 4636 matching lines...) Expand 10 before | Expand all | Expand 10 after
9337 } 9347 }
9338 9348
9339 class _ShadowRootJs extends _DocumentFragmentJs implements ShadowRoot native "*S hadowRoot" { 9349 class _ShadowRootJs extends _DocumentFragmentJs implements ShadowRoot native "*S hadowRoot" {
9340 9350
9341 final _ElementJs activeElement; 9351 final _ElementJs activeElement;
9342 9352
9343 final _ElementJs host; 9353 final _ElementJs host;
9344 9354
9345 String innerHTML; 9355 String innerHTML;
9346 9356
9357 final _DOMSelectionJs selection;
9358
9347 _ElementJs getElementById(String elementId) native; 9359 _ElementJs getElementById(String elementId) native;
9348 9360
9349 _NodeListJs getElementsByClassName(String className) native; 9361 _NodeListJs getElementsByClassName(String className) native;
9350 9362
9351 _NodeListJs getElementsByTagName(String tagName) native; 9363 _NodeListJs getElementsByTagName(String tagName) native;
9352 9364
9353 _NodeListJs getElementsByTagNameNS(String namespaceURI, String localName) nati ve; 9365 _NodeListJs getElementsByTagNameNS(String namespaceURI, String localName) nati ve;
9354 } 9366 }
9355 9367
9356 class _SharedWorkerJs extends _AbstractWorkerJs implements SharedWorker native " *SharedWorker" { 9368 class _SharedWorkerJs extends _AbstractWorkerJs implements SharedWorker native " *SharedWorker" {
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
9403 class _SpeechRecognitionJs extends _EventTargetJs implements SpeechRecognition n ative "*SpeechRecognition" { 9415 class _SpeechRecognitionJs extends _EventTargetJs implements SpeechRecognition n ative "*SpeechRecognition" {
9404 9416
9405 bool continuous; 9417 bool continuous;
9406 9418
9407 _SpeechGrammarListJs grammars; 9419 _SpeechGrammarListJs grammars;
9408 9420
9409 String lang; 9421 String lang;
9410 9422
9411 void abort() native; 9423 void abort() native;
9412 9424
9425 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
9426
9427 bool dispatchEvent(_EventJs evt) native;
9428
9429 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
9430
9413 void start() native; 9431 void start() native;
9414 9432
9415 void stop() native; 9433 void stop() native;
9416 } 9434 }
9417 9435
9418 class _SpeechRecognitionAlternativeJs extends _DOMTypeJs implements SpeechRecogn itionAlternative native "*SpeechRecognitionAlternative" { 9436 class _SpeechRecognitionAlternativeJs extends _DOMTypeJs implements SpeechRecogn itionAlternative native "*SpeechRecognitionAlternative" {
9419 9437
9420 final num confidence; 9438 final num confidence;
9421 9439
9422 final String transcript; 9440 final String transcript;
(...skipping 2042 matching lines...) Expand 10 before | Expand all | Expand 10 after
11465 11483
11466 class _WebKitMutationObserverJs extends _DOMTypeJs implements WebKitMutationObse rver native "*WebKitMutationObserver" { 11484 class _WebKitMutationObserverJs extends _DOMTypeJs implements WebKitMutationObse rver native "*WebKitMutationObserver" {
11467 11485
11468 void disconnect() native; 11486 void disconnect() native;
11469 11487
11470 List<MutationRecord> takeRecords() native; 11488 List<MutationRecord> takeRecords() native;
11471 } 11489 }
11472 11490
11473 class _WebKitNamedFlowJs extends _DOMTypeJs implements WebKitNamedFlow native "* WebKitNamedFlow" { 11491 class _WebKitNamedFlowJs extends _DOMTypeJs implements WebKitNamedFlow native "* WebKitNamedFlow" {
11474 11492
11493 final _NodeListJs contentNodes;
11494
11475 final bool overflow; 11495 final bool overflow;
11476 11496
11477 _NodeListJs getRegionsByContentNode(_NodeJs contentNode) native; 11497 _NodeListJs getRegionsByContentNode(_NodeJs contentNode) native;
11478 } 11498 }
11479 11499
11480 class _WebKitPointJs extends _DOMTypeJs implements WebKitPoint native "*WebKitPo int" { 11500 class _WebKitPointJs extends _DOMTypeJs implements WebKitPoint native "*WebKitPo int" {
11481 11501
11482 num x; 11502 num x;
11483 11503
11484 num y; 11504 num y;
(...skipping 748 matching lines...) Expand 10 before | Expand all | Expand 10 after
12233 final num sampleRate; 12253 final num sampleRate;
12234 12254
12235 RealtimeAnalyserNode createAnalyser(); 12255 RealtimeAnalyserNode createAnalyser();
12236 12256
12237 BiquadFilterNode createBiquadFilter(); 12257 BiquadFilterNode createBiquadFilter();
12238 12258
12239 AudioBuffer createBuffer(buffer_OR_numberOfChannels, mixToMono_OR_numberOfFram es, [num sampleRate]); 12259 AudioBuffer createBuffer(buffer_OR_numberOfChannels, mixToMono_OR_numberOfFram es, [num sampleRate]);
12240 12260
12241 AudioBufferSourceNode createBufferSource(); 12261 AudioBufferSourceNode createBufferSource();
12242 12262
12243 AudioChannelMerger createChannelMerger(); 12263 AudioChannelMerger createChannelMerger([int numberOfInputs]);
12244 12264
12245 AudioChannelSplitter createChannelSplitter(); 12265 AudioChannelSplitter createChannelSplitter([int numberOfOutputs]);
12246 12266
12247 ConvolverNode createConvolver(); 12267 ConvolverNode createConvolver();
12248 12268
12249 DelayNode createDelayNode([num maxDelayTime]); 12269 DelayNode createDelayNode([num maxDelayTime]);
12250 12270
12251 DynamicsCompressorNode createDynamicsCompressor(); 12271 DynamicsCompressorNode createDynamicsCompressor();
12252 12272
12253 AudioGainNode createGainNode(); 12273 AudioGainNode createGainNode();
12254 12274
12255 JavaScriptAudioNode createJavaScriptNode(int bufferSize); 12275 JavaScriptAudioNode createJavaScriptNode(int bufferSize, [int numberOfInputCha nnels, int numberOfOutputChannels]);
12256 12276
12257 MediaElementAudioSourceNode createMediaElementSource(HTMLMediaElement mediaEle ment); 12277 MediaElementAudioSourceNode createMediaElementSource(HTMLMediaElement mediaEle ment);
12258 12278
12259 Oscillator createOscillator(); 12279 Oscillator createOscillator();
12260 12280
12261 AudioPannerNode createPanner(); 12281 AudioPannerNode createPanner();
12262 12282
12263 WaveShaperNode createWaveShaper(); 12283 WaveShaperNode createWaveShaper();
12264 12284
12265 WaveTable createWaveTable(Float32Array real, Float32Array imag); 12285 WaveTable createWaveTable(Float32Array real, Float32Array imag);
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
12321 // WARNING: Do not edit - generated code. 12341 // WARNING: Do not edit - generated code.
12322 12342
12323 interface AudioNode { 12343 interface AudioNode {
12324 12344
12325 final AudioContext context; 12345 final AudioContext context;
12326 12346
12327 final int numberOfInputs; 12347 final int numberOfInputs;
12328 12348
12329 final int numberOfOutputs; 12349 final int numberOfOutputs;
12330 12350
12331 void connect(AudioNode destination, int output, int input); 12351 void connect(destination, int output, [int input]);
12332 12352
12333 void disconnect(int output); 12353 void disconnect(int output);
12334 } 12354 }
12335 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 12355 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
12336 // for details. All rights reserved. Use of this source code is governed by a 12356 // for details. All rights reserved. Use of this source code is governed by a
12337 // BSD-style license that can be found in the LICENSE file. 12357 // BSD-style license that can be found in the LICENSE file.
12338 12358
12339 // WARNING: Do not edit - generated code. 12359 // WARNING: Do not edit - generated code.
12340 12360
12341 interface AudioPannerNode extends AudioNode { 12361 interface AudioPannerNode extends AudioNode {
(...skipping 532 matching lines...) Expand 10 before | Expand all | Expand 10 after
12874 num shadowOffsetX; 12894 num shadowOffsetX;
12875 12895
12876 num shadowOffsetY; 12896 num shadowOffsetY;
12877 12897
12878 var /*custom*/ strokeStyle; 12898 var /*custom*/ strokeStyle;
12879 12899
12880 String textAlign; 12900 String textAlign;
12881 12901
12882 String textBaseline; 12902 String textBaseline;
12883 12903
12904 final num webkitBackingStorePixelRatio;
12905
12884 List webkitLineDash; 12906 List webkitLineDash;
12885 12907
12886 num webkitLineDashOffset; 12908 num webkitLineDashOffset;
12887 12909
12888 void arc(num x, num y, num radius, num startAngle, num endAngle, bool anticloc kwise); 12910 void arc(num x, num y, num radius, num startAngle, num endAngle, bool anticloc kwise);
12889 12911
12890 void arcTo(num x1, num y1, num x2, num y2, num radius); 12912 void arcTo(num x1, num y1, num x2, num y2, num radius);
12891 12913
12892 void beginPath(); 12914 void beginPath();
12893 12915
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
12965 12987
12966 void stroke(); 12988 void stroke();
12967 12989
12968 void strokeRect(num x, num y, num width, num height, [num lineWidth]); 12990 void strokeRect(num x, num y, num width, num height, [num lineWidth]);
12969 12991
12970 void strokeText(String text, num x, num y, [num maxWidth]); 12992 void strokeText(String text, num x, num y, [num maxWidth]);
12971 12993
12972 void transform(num m11, num m12, num m21, num m22, num dx, num dy); 12994 void transform(num m11, num m12, num m21, num m22, num dx, num dy);
12973 12995
12974 void translate(num tx, num ty); 12996 void translate(num tx, num ty);
12997
12998 ImageData webkitGetImageDataHD(num sx, num sy, num sw, num sh);
12999
13000 void webkitPutImageDataHD(ImageData imagedata, num dx, num dy, [num dirtyX, nu m dirtyY, num dirtyWidth, num dirtyHeight]);
12975 } 13001 }
12976 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 13002 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
12977 // for details. All rights reserved. Use of this source code is governed by a 13003 // for details. All rights reserved. Use of this source code is governed by a
12978 // BSD-style license that can be found in the LICENSE file. 13004 // BSD-style license that can be found in the LICENSE file.
12979 13005
12980 // WARNING: Do not edit - generated code. 13006 // WARNING: Do not edit - generated code.
12981 13007
12982 interface CharacterData extends Node { 13008 interface CharacterData extends Node {
12983 13009
12984 String data; 13010 String data;
(...skipping 1896 matching lines...) Expand 10 before | Expand all | Expand 10 after
14881 final FileError error; 14907 final FileError error;
14882 14908
14883 final int length; 14909 final int length;
14884 14910
14885 final int position; 14911 final int position;
14886 14912
14887 final int readyState; 14913 final int readyState;
14888 14914
14889 void abort(); 14915 void abort();
14890 14916
14917 void addEventListener(String type, EventListener listener, [bool useCapture]);
14918
14919 bool dispatchEvent(Event evt);
14920
14921 void removeEventListener(String type, EventListener listener, [bool useCapture ]);
14922
14891 void seek(int position); 14923 void seek(int position);
14892 14924
14893 void truncate(int size); 14925 void truncate(int size);
14894 14926
14895 void write(Blob data); 14927 void write(Blob data);
14896 } 14928 }
14897 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 14929 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
14898 // for details. All rights reserved. Use of this source code is governed by a 14930 // for details. All rights reserved. Use of this source code is governed by a
14899 // BSD-style license that can be found in the LICENSE file. 14931 // BSD-style license that can be found in the LICENSE file.
14900 14932
(...skipping 1167 matching lines...) Expand 10 before | Expand all | Expand 10 after
16068 TextTrack addTextTrack(String kind, [String label, String language]); 16100 TextTrack addTextTrack(String kind, [String label, String language]);
16069 16101
16070 String canPlayType(String type); 16102 String canPlayType(String type);
16071 16103
16072 void load(); 16104 void load();
16073 16105
16074 void pause(); 16106 void pause();
16075 16107
16076 void play(); 16108 void play();
16077 16109
16110 void webkitSourceAddId(String id, String type);
16111
16078 void webkitSourceAppend(Uint8Array data); 16112 void webkitSourceAppend(Uint8Array data);
16079 16113
16080 void webkitSourceEndOfStream(int status); 16114 void webkitSourceEndOfStream(int status);
16115
16116 void webkitSourceRemoveId(String id);
16081 } 16117 }
16082 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 16118 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16083 // for details. All rights reserved. Use of this source code is governed by a 16119 // for details. All rights reserved. Use of this source code is governed by a
16084 // BSD-style license that can be found in the LICENSE file. 16120 // BSD-style license that can be found in the LICENSE file.
16085 16121
16086 // WARNING: Do not edit - generated code. 16122 // WARNING: Do not edit - generated code.
16087 16123
16088 interface HTMLMenuElement extends HTMLElement { 16124 interface HTMLMenuElement extends HTMLElement {
16089 16125
16090 bool compact; 16126 bool compact;
(...skipping 1238 matching lines...) Expand 10 before | Expand all | Expand 10 after
17329 final bool shiftKey; 17365 final bool shiftKey;
17330 17366
17331 void initKeyboardEvent(String type, bool canBubble, bool cancelable, DOMWindow view, String keyIdentifier, int keyLocation, bool ctrlKey, bool altKey, bool sh iftKey, bool metaKey, bool altGraphKey); 17367 void initKeyboardEvent(String type, bool canBubble, bool cancelable, DOMWindow view, String keyIdentifier, int keyLocation, bool ctrlKey, bool altKey, bool sh iftKey, bool metaKey, bool altGraphKey);
17332 } 17368 }
17333 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 17369 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17334 // for details. All rights reserved. Use of this source code is governed by a 17370 // for details. All rights reserved. Use of this source code is governed by a
17335 // BSD-style license that can be found in the LICENSE file. 17371 // BSD-style license that can be found in the LICENSE file.
17336 17372
17337 // WARNING: Do not edit - generated code. 17373 // WARNING: Do not edit - generated code.
17338 17374
17339 interface LocalMediaStream extends MediaStream, EventTarget { 17375 interface LocalMediaStream extends MediaStream {
17340 17376
17341 void stop(); 17377 void stop();
17342 } 17378 }
17343 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 17379 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17344 // for details. All rights reserved. Use of this source code is governed by a 17380 // for details. All rights reserved. Use of this source code is governed by a
17345 // BSD-style license that can be found in the LICENSE file. 17381 // BSD-style license that can be found in the LICENSE file.
17346 17382
17347 // WARNING: Do not edit - generated code. 17383 // WARNING: Do not edit - generated code.
17348 17384
17349 interface Location { 17385 interface Location {
17350 17386
17387 final List<String> ancestorOrigins;
17388
17351 String hash; 17389 String hash;
17352 17390
17353 String host; 17391 String host;
17354 17392
17355 String hostname; 17393 String hostname;
17356 17394
17357 String href; 17395 String href;
17358 17396
17359 final String origin; 17397 final String origin;
17360 17398
(...skipping 4065 matching lines...) Expand 10 before | Expand all | Expand 10 after
21426 interface ShadowRoot extends DocumentFragment default _ShadowRootFactoryProvider { 21464 interface ShadowRoot extends DocumentFragment default _ShadowRootFactoryProvider {
21427 21465
21428 ShadowRoot(Element host); 21466 ShadowRoot(Element host);
21429 21467
21430 final Element activeElement; 21468 final Element activeElement;
21431 21469
21432 final Element host; 21470 final Element host;
21433 21471
21434 String innerHTML; 21472 String innerHTML;
21435 21473
21474 final DOMSelection selection;
21475
21436 Element getElementById(String elementId); 21476 Element getElementById(String elementId);
21437 21477
21438 NodeList getElementsByClassName(String className); 21478 NodeList getElementsByClassName(String className);
21439 21479
21440 NodeList getElementsByTagName(String tagName); 21480 NodeList getElementsByTagName(String tagName);
21441 21481
21442 NodeList getElementsByTagNameNS(String namespaceURI, String localName); 21482 NodeList getElementsByTagNameNS(String namespaceURI, String localName);
21443 } 21483 }
21444 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 21484 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
21445 // for details. All rights reserved. Use of this source code is governed by a 21485 // for details. All rights reserved. Use of this source code is governed by a
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
21550 SpeechRecognition(); 21590 SpeechRecognition();
21551 21591
21552 bool continuous; 21592 bool continuous;
21553 21593
21554 SpeechGrammarList grammars; 21594 SpeechGrammarList grammars;
21555 21595
21556 String lang; 21596 String lang;
21557 21597
21558 void abort(); 21598 void abort();
21559 21599
21600 void addEventListener(String type, EventListener listener, [bool useCapture]);
21601
21602 bool dispatchEvent(Event evt);
21603
21604 void removeEventListener(String type, EventListener listener, [bool useCapture ]);
21605
21560 void start(); 21606 void start();
21561 21607
21562 void stop(); 21608 void stop();
21563 } 21609 }
21564 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 21610 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
21565 // for details. All rights reserved. Use of this source code is governed by a 21611 // for details. All rights reserved. Use of this source code is governed by a
21566 // BSD-style license that can be found in the LICENSE file. 21612 // BSD-style license that can be found in the LICENSE file.
21567 21613
21568 // WARNING: Do not edit - generated code. 21614 // WARNING: Do not edit - generated code.
21569 21615
(...skipping 1988 matching lines...) Expand 10 before | Expand all | Expand 10 after
23558 List<MutationRecord> takeRecords(); 23604 List<MutationRecord> takeRecords();
23559 } 23605 }
23560 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 23606 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
23561 // for details. All rights reserved. Use of this source code is governed by a 23607 // for details. All rights reserved. Use of this source code is governed by a
23562 // BSD-style license that can be found in the LICENSE file. 23608 // BSD-style license that can be found in the LICENSE file.
23563 23609
23564 // WARNING: Do not edit - generated code. 23610 // WARNING: Do not edit - generated code.
23565 23611
23566 interface WebKitNamedFlow { 23612 interface WebKitNamedFlow {
23567 23613
23614 final NodeList contentNodes;
23615
23568 final bool overflow; 23616 final bool overflow;
23569 23617
23570 NodeList getRegionsByContentNode(Node contentNode); 23618 NodeList getRegionsByContentNode(Node contentNode);
23571 } 23619 }
23572 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 23620 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
23573 // for details. All rights reserved. Use of this source code is governed by a 23621 // for details. All rights reserved. Use of this source code is governed by a
23574 // BSD-style license that can be found in the LICENSE file. 23622 // BSD-style license that can be found in the LICENSE file.
23575 23623
23576 // WARNING: Do not edit - generated code. 23624 // WARNING: Do not edit - generated code.
23577 23625
(...skipping 1382 matching lines...) Expand 10 before | Expand all | Expand 10 after
24960 if (length < 0) throw new IllegalArgumentException('length'); 25008 if (length < 0) throw new IllegalArgumentException('length');
24961 if (start < 0) throw new IndexOutOfRangeException(start); 25009 if (start < 0) throw new IndexOutOfRangeException(start);
24962 int end = start + length; 25010 int end = start + length;
24963 if (end > a.length) throw new IndexOutOfRangeException(end); 25011 if (end > a.length) throw new IndexOutOfRangeException(end);
24964 for (int i = start; i < end; i++) { 25012 for (int i = start; i < end; i++) {
24965 accumulator.add(a[i]); 25013 accumulator.add(a[i]);
24966 } 25014 }
24967 return accumulator; 25015 return accumulator;
24968 } 25016 }
24969 } 25017 }
OLDNEW
« no previous file with comments | « lib/dom/dom.dart ('k') | lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698