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

Side by Side Diff: lib/dom/dart2js/dom_dart2js.dart

Issue 10837033: Roll IDL to multivm@733 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 4 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 | « no previous file | lib/dom/dom.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('dart:dom_deprecated'); 1 #library('dart:dom_deprecated');
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 1544 matching lines...) Expand 10 before | Expand all | Expand 10 after
1555 void postMessage(Object message, [List messagePorts]) native; 1555 void postMessage(Object message, [List messagePorts]) native;
1556 1556
1557 void webkitPostMessage(Object message, [List transferList]) native; 1557 void webkitPostMessage(Object message, [List transferList]) native;
1558 } 1558 }
1559 1559
1560 class _DelayNodeJs extends _AudioNodeJs implements DelayNode native "*DelayNode" { 1560 class _DelayNodeJs extends _AudioNodeJs implements DelayNode native "*DelayNode" {
1561 1561
1562 final _AudioParamJs delayTime; 1562 final _AudioParamJs delayTime;
1563 } 1563 }
1564 1564
1565 class _DeprecatedPeerConnectionJs extends _EventTargetJs implements DeprecatedPe erConnection native "*DeprecatedPeerConnection" {
1566
1567 static final int ACTIVE = 2;
1568
1569 static final int CLOSED = 3;
1570
1571 static final int NEGOTIATING = 1;
1572
1573 static final int NEW = 0;
1574
1575 final _MediaStreamListJs localStreams;
1576
1577 final int readyState;
1578
1579 final _MediaStreamListJs remoteStreams;
1580
1581 void addEventListener(String type, EventListener listener, [bool useCapture]) native;
1582
1583 void addStream(_MediaStreamJs stream) native;
1584
1585 void close() native;
1586
1587 bool dispatchEvent(_EventJs event) native;
1588
1589 void processSignalingMessage(String message) native;
1590
1591 void removeEventListener(String type, EventListener listener, [bool useCapture ]) native;
1592
1593 void removeStream(_MediaStreamJs stream) native;
1594
1595 void send(String text) native;
1596 }
1597
1598 class _DeviceMotionEventJs extends _EventJs implements DeviceMotionEvent native "*DeviceMotionEvent" { 1565 class _DeviceMotionEventJs extends _EventJs implements DeviceMotionEvent native "*DeviceMotionEvent" {
1599 1566
1600 final num interval; 1567 final num interval;
1601 } 1568 }
1602 1569
1603 class _DeviceOrientationEventJs extends _EventJs implements DeviceOrientationEve nt native "*DeviceOrientationEvent" { 1570 class _DeviceOrientationEventJs extends _EventJs implements DeviceOrientationEve nt native "*DeviceOrientationEvent" {
1604 1571
1605 final bool absolute; 1572 final bool absolute;
1606 1573
1607 final num alpha; 1574 final num alpha;
(...skipping 2677 matching lines...) Expand 10 before | Expand all | Expand 10 after
4285 4252
4286 final value; 4253 final value;
4287 } 4254 }
4288 4255
4289 class _IDBDatabaseJs extends _EventTargetJs implements IDBDatabase native "*IDBD atabase" { 4256 class _IDBDatabaseJs extends _EventTargetJs implements IDBDatabase native "*IDBD atabase" {
4290 4257
4291 final String name; 4258 final String name;
4292 4259
4293 final List<String> objectStoreNames; 4260 final List<String> objectStoreNames;
4294 4261
4295 final String version; 4262 final version;
4296 4263
4297 void addEventListener(String type, EventListener listener, [bool useCapture]) native; 4264 void addEventListener(String type, EventListener listener, [bool useCapture]) native;
4298 4265
4299 void close() native; 4266 void close() native;
4300 4267
4301 _IDBObjectStoreJs createObjectStore(String name, [Map options]) native; 4268 _IDBObjectStoreJs createObjectStore(String name, [Map options]) native;
4302 4269
4303 void deleteObjectStore(String name) native; 4270 void deleteObjectStore(String name) native;
4304 4271
4305 bool dispatchEvent(_EventJs evt) native; 4272 bool dispatchEvent(_EventJs evt) native;
(...skipping 806 matching lines...) Expand 10 before | Expand all | Expand 10 after
5112 final _MediaStreamJs stream; 5079 final _MediaStreamJs stream;
5113 } 5080 }
5114 5081
5115 class _MediaStreamListJs extends _DOMTypeJs implements MediaStreamList native "* MediaStreamList" { 5082 class _MediaStreamListJs extends _DOMTypeJs implements MediaStreamList native "* MediaStreamList" {
5116 5083
5117 final int length; 5084 final int length;
5118 5085
5119 _MediaStreamJs item(int index) native; 5086 _MediaStreamJs item(int index) native;
5120 } 5087 }
5121 5088
5122 class _MediaStreamTrackJs extends _DOMTypeJs implements MediaStreamTrack native "*MediaStreamTrack" { 5089 class _MediaStreamTrackJs extends _EventTargetJs implements MediaStreamTrack nat ive "*MediaStreamTrack" {
5090
5091 static final int ENDED = 2;
5092
5093 static final int LIVE = 0;
5094
5095 static final int MUTED = 1;
5123 5096
5124 bool enabled; 5097 bool enabled;
5125 5098
5126 final String kind; 5099 final String kind;
5127 5100
5128 final String label; 5101 final String label;
5102
5103 final int readyState;
5104
5105 void addEventListener(String type, EventListener listener, [bool useCapture]) native;
5106
5107 bool dispatchEvent(_EventJs event) native;
5108
5109 void removeEventListener(String type, EventListener listener, [bool useCapture ]) native;
5129 } 5110 }
5130 5111
5131 class _MediaStreamTrackEventJs extends _EventJs implements MediaStreamTrackEvent native "*MediaStreamTrackEvent" { 5112 class _MediaStreamTrackEventJs extends _EventJs implements MediaStreamTrackEvent native "*MediaStreamTrackEvent" {
5132 5113
5133 final _MediaStreamTrackJs track; 5114 final _MediaStreamTrackJs track;
5134 } 5115 }
5135 5116
5136 class _MediaStreamTrackListJs extends _EventTargetJs implements MediaStreamTrack List native "*MediaStreamTrackList" { 5117 class _MediaStreamTrackListJs extends _EventTargetJs implements MediaStreamTrack List native "*MediaStreamTrackList" {
5137 5118
5138 final int length; 5119 final int length;
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
5429 final String productSub; 5410 final String productSub;
5430 5411
5431 final String userAgent; 5412 final String userAgent;
5432 5413
5433 final String vendor; 5414 final String vendor;
5434 5415
5435 final String vendorSub; 5416 final String vendorSub;
5436 5417
5437 final _BatteryManagerJs webkitBattery; 5418 final _BatteryManagerJs webkitBattery;
5438 5419
5439 final _GamepadListJs webkitGamepads;
5440
5441 final _PointerLockJs webkitPointer; 5420 final _PointerLockJs webkitPointer;
5442 5421
5443 void getStorageUpdates() native; 5422 void getStorageUpdates() native;
5444 5423
5445 bool javaEnabled() native; 5424 bool javaEnabled() native;
5446 5425
5426 _GamepadListJs webkitGetGamepads() native;
5427
5447 void webkitGetUserMedia(Map options, NavigatorUserMediaSuccessCallback success Callback, [NavigatorUserMediaErrorCallback errorCallback]) native; 5428 void webkitGetUserMedia(Map options, NavigatorUserMediaSuccessCallback success Callback, [NavigatorUserMediaErrorCallback errorCallback]) native;
5448 } 5429 }
5449 5430
5450 class _NavigatorUserMediaErrorJs extends _DOMTypeJs implements NavigatorUserMedi aError native "*NavigatorUserMediaError" { 5431 class _NavigatorUserMediaErrorJs extends _DOMTypeJs implements NavigatorUserMedi aError native "*NavigatorUserMediaError" {
5451 5432
5452 static final int PERMISSION_DENIED = 1; 5433 static final int PERMISSION_DENIED = 1;
5453 5434
5454 final int code; 5435 final int code;
5455 } 5436 }
5456 5437
(...skipping 4055 matching lines...) Expand 10 before | Expand all | Expand 10 after
9512 class _SharedWorkerJs extends _AbstractWorkerJs implements SharedWorker native " *SharedWorker" { 9493 class _SharedWorkerJs extends _AbstractWorkerJs implements SharedWorker native " *SharedWorker" {
9513 9494
9514 final _MessagePortJs port; 9495 final _MessagePortJs port;
9515 } 9496 }
9516 9497
9517 class _SharedWorkerContextJs extends _WorkerContextJs implements SharedWorkerCon text native "*SharedWorkerContext" { 9498 class _SharedWorkerContextJs extends _WorkerContextJs implements SharedWorkerCon text native "*SharedWorkerContext" {
9518 9499
9519 final String name; 9500 final String name;
9520 } 9501 }
9521 9502
9503 class _SourceBufferJs extends _DOMTypeJs implements SourceBuffer native "*Source Buffer" {
9504
9505 final _TimeRangesJs buffered;
9506
9507 void abort() native;
9508
9509 void append(_Uint8ArrayJs data) native;
9510 }
9511
9512 class _SourceBufferListJs extends _EventTargetJs implements SourceBufferList nat ive "*SourceBufferList" {
9513
9514 final int length;
9515
9516 void addEventListener(String type, EventListener listener, [bool useCapture]) native;
9517
9518 bool dispatchEvent(_EventJs event) native;
9519
9520 _SourceBufferJs item(int index) native;
9521
9522 void removeEventListener(String type, EventListener listener, [bool useCapture ]) native;
9523 }
9524
9522 class _SpeechGrammarJs extends _DOMTypeJs implements SpeechGrammar native "*Spee chGrammar" { 9525 class _SpeechGrammarJs extends _DOMTypeJs implements SpeechGrammar native "*Spee chGrammar" {
9523 9526
9524 String src; 9527 String src;
9525 9528
9526 num weight; 9529 num weight;
9527 } 9530 }
9528 9531
9529 class _SpeechGrammarListJs extends _DOMTypeJs implements SpeechGrammarList nativ e "*SpeechGrammarList" { 9532 class _SpeechGrammarListJs extends _DOMTypeJs implements SpeechGrammarList nativ e "*SpeechGrammarList" {
9530 9533
9531 final int length; 9534 final int length;
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
9615 9618
9616 final _SpeechRecognitionResultJs result; 9619 final _SpeechRecognitionResultJs result;
9617 9620
9618 final _SpeechRecognitionResultListJs resultHistory; 9621 final _SpeechRecognitionResultListJs resultHistory;
9619 9622
9620 final int resultIndex; 9623 final int resultIndex;
9621 } 9624 }
9622 9625
9623 class _SpeechRecognitionResultJs extends _DOMTypeJs implements SpeechRecognition Result native "*SpeechRecognitionResult" { 9626 class _SpeechRecognitionResultJs extends _DOMTypeJs implements SpeechRecognition Result native "*SpeechRecognitionResult" {
9624 9627
9628 final _DocumentJs emma;
9629
9625 bool get finalValue() native "return this.final;"; 9630 bool get finalValue() native "return this.final;";
9626 9631
9627 final int length; 9632 final int length;
9628 9633
9629 _SpeechRecognitionAlternativeJs item(int index) native; 9634 _SpeechRecognitionAlternativeJs item(int index) native;
9630 } 9635 }
9631 9636
9632 class _SpeechRecognitionResultListJs extends _DOMTypeJs implements SpeechRecogni tionResultList native "*SpeechRecognitionResultList" { 9637 class _SpeechRecognitionResultListJs extends _DOMTypeJs implements SpeechRecogni tionResultList native "*SpeechRecognitionResultList" {
9633 9638
9634 final int length; 9639 final int length;
(...skipping 2365 matching lines...) Expand 10 before | Expand all | Expand 10 after
12000 // BSD-style license that can be found in the LICENSE file. 12005 // BSD-style license that can be found in the LICENSE file.
12001 12006
12002 class _DataViewFactoryProvider { 12007 class _DataViewFactoryProvider {
12003 factory DataView(ArrayBuffer buffer, [int byteOffset, int byteLength]) native 12008 factory DataView(ArrayBuffer buffer, [int byteOffset, int byteLength]) native
12004 '''return new DataView(buffer, byteOffset, byteLength);'''; 12009 '''return new DataView(buffer, byteOffset, byteLength);''';
12005 } 12010 }
12006 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 12011 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
12007 // for details. All rights reserved. Use of this source code is governed by a 12012 // for details. All rights reserved. Use of this source code is governed by a
12008 // BSD-style license that can be found in the LICENSE file. 12013 // BSD-style license that can be found in the LICENSE file.
12009 12014
12010 class _DeprecatedPeerConnectionFactoryProvider {
12011 factory DeprecatedPeerConnection(String serverConfiguration, SignalingCallback signalingCallback) native
12012 '''return new DeprecatedPeerConnection(serverConfiguration, signalingCallb ack);''';
12013 }
12014 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
12015 // for details. All rights reserved. Use of this source code is governed by a
12016 // BSD-style license that can be found in the LICENSE file.
12017
12018 class _EventSourceFactoryProvider { 12015 class _EventSourceFactoryProvider {
12019 factory EventSource(String scriptUrl) native 12016 factory EventSource(String scriptUrl) native
12020 '''return new EventSource(scriptUrl);'''; 12017 '''return new EventSource(scriptUrl);''';
12021 } 12018 }
12022 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 12019 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
12023 // for details. All rights reserved. Use of this source code is governed by a 12020 // for details. All rights reserved. Use of this source code is governed by a
12024 // BSD-style license that can be found in the LICENSE file. 12021 // BSD-style license that can be found in the LICENSE file.
12025 12022
12026 class _FileReaderFactoryProvider { 12023 class _FileReaderFactoryProvider {
12027 factory FileReader() native 12024 factory FileReader() native
(...skipping 2078 matching lines...) Expand 10 before | Expand all | Expand 10 after
14106 interface DelayNode extends AudioNode { 14103 interface DelayNode extends AudioNode {
14107 14104
14108 final AudioParam delayTime; 14105 final AudioParam delayTime;
14109 } 14106 }
14110 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 14107 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14111 // for details. All rights reserved. Use of this source code is governed by a 14108 // for details. All rights reserved. Use of this source code is governed by a
14112 // BSD-style license that can be found in the LICENSE file. 14109 // BSD-style license that can be found in the LICENSE file.
14113 14110
14114 // WARNING: Do not edit - generated code. 14111 // WARNING: Do not edit - generated code.
14115 14112
14116 interface DeprecatedPeerConnection extends EventTarget default _DeprecatedPeerCo nnectionFactoryProvider {
14117
14118 DeprecatedPeerConnection(String serverConfiguration, SignalingCallback signali ngCallback);
14119
14120 static final int ACTIVE = 2;
14121
14122 static final int CLOSED = 3;
14123
14124 static final int NEGOTIATING = 1;
14125
14126 static final int NEW = 0;
14127
14128 final MediaStreamList localStreams;
14129
14130 final int readyState;
14131
14132 final MediaStreamList remoteStreams;
14133
14134 void addEventListener(String type, EventListener listener, [bool useCapture]);
14135
14136 void addStream(MediaStream stream);
14137
14138 void close();
14139
14140 bool dispatchEvent(Event event);
14141
14142 void processSignalingMessage(String message);
14143
14144 void removeEventListener(String type, EventListener listener, [bool useCapture ]);
14145
14146 void removeStream(MediaStream stream);
14147
14148 void send(String text);
14149 }
14150 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14151 // for details. All rights reserved. Use of this source code is governed by a
14152 // BSD-style license that can be found in the LICENSE file.
14153
14154 // WARNING: Do not edit - generated code.
14155
14156 interface DeviceMotionEvent extends Event { 14113 interface DeviceMotionEvent extends Event {
14157 14114
14158 final num interval; 14115 final num interval;
14159 } 14116 }
14160 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 14117 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14161 // for details. All rights reserved. Use of this source code is governed by a 14118 // for details. All rights reserved. Use of this source code is governed by a
14162 // BSD-style license that can be found in the LICENSE file. 14119 // BSD-style license that can be found in the LICENSE file.
14163 14120
14164 // WARNING: Do not edit - generated code. 14121 // WARNING: Do not edit - generated code.
14165 14122
(...skipping 3022 matching lines...) Expand 10 before | Expand all | Expand 10 after
17188 // BSD-style license that can be found in the LICENSE file. 17145 // BSD-style license that can be found in the LICENSE file.
17189 17146
17190 // WARNING: Do not edit - generated code. 17147 // WARNING: Do not edit - generated code.
17191 17148
17192 interface IDBDatabase extends EventTarget { 17149 interface IDBDatabase extends EventTarget {
17193 17150
17194 final String name; 17151 final String name;
17195 17152
17196 final List<String> objectStoreNames; 17153 final List<String> objectStoreNames;
17197 17154
17198 final String version; 17155 final /*IDBAny*/ version;
17199 17156
17200 void addEventListener(String type, EventListener listener, [bool useCapture]); 17157 void addEventListener(String type, EventListener listener, [bool useCapture]);
17201 17158
17202 void close(); 17159 void close();
17203 17160
17204 IDBObjectStore createObjectStore(String name, [Map options]); 17161 IDBObjectStore createObjectStore(String name, [Map options]);
17205 17162
17206 void deleteObjectStore(String name); 17163 void deleteObjectStore(String name);
17207 17164
17208 bool dispatchEvent(Event evt); 17165 bool dispatchEvent(Event evt);
(...skipping 666 matching lines...) Expand 10 before | Expand all | Expand 10 after
17875 final int length; 17832 final int length;
17876 17833
17877 MediaStream item(int index); 17834 MediaStream item(int index);
17878 } 17835 }
17879 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 17836 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17880 // for details. All rights reserved. Use of this source code is governed by a 17837 // for details. All rights reserved. Use of this source code is governed by a
17881 // BSD-style license that can be found in the LICENSE file. 17838 // BSD-style license that can be found in the LICENSE file.
17882 17839
17883 // WARNING: Do not edit - generated code. 17840 // WARNING: Do not edit - generated code.
17884 17841
17885 interface MediaStreamTrack { 17842 interface MediaStreamTrack extends EventTarget {
17843
17844 static final int ENDED = 2;
17845
17846 static final int LIVE = 0;
17847
17848 static final int MUTED = 1;
17886 17849
17887 bool enabled; 17850 bool enabled;
17888 17851
17889 final String kind; 17852 final String kind;
17890 17853
17891 final String label; 17854 final String label;
17855
17856 final int readyState;
17857
17858 void addEventListener(String type, EventListener listener, [bool useCapture]);
17859
17860 bool dispatchEvent(Event event);
17861
17862 void removeEventListener(String type, EventListener listener, [bool useCapture ]);
17892 } 17863 }
17893 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 17864 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17894 // for details. All rights reserved. Use of this source code is governed by a 17865 // for details. All rights reserved. Use of this source code is governed by a
17895 // BSD-style license that can be found in the LICENSE file. 17866 // BSD-style license that can be found in the LICENSE file.
17896 17867
17897 // WARNING: Do not edit - generated code. 17868 // WARNING: Do not edit - generated code.
17898 17869
17899 interface MediaStreamTrackEvent extends Event { 17870 interface MediaStreamTrackEvent extends Event {
17900 17871
17901 final MediaStreamTrack track; 17872 final MediaStreamTrack track;
(...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after
18193 final String productSub; 18164 final String productSub;
18194 18165
18195 final String userAgent; 18166 final String userAgent;
18196 18167
18197 final String vendor; 18168 final String vendor;
18198 18169
18199 final String vendorSub; 18170 final String vendorSub;
18200 18171
18201 final BatteryManager webkitBattery; 18172 final BatteryManager webkitBattery;
18202 18173
18203 final GamepadList webkitGamepads;
18204
18205 final PointerLock webkitPointer; 18174 final PointerLock webkitPointer;
18206 18175
18207 void getStorageUpdates(); 18176 void getStorageUpdates();
18208 18177
18209 bool javaEnabled(); 18178 bool javaEnabled();
18210 18179
18180 GamepadList webkitGetGamepads();
18181
18211 void webkitGetUserMedia(Map options, NavigatorUserMediaSuccessCallback success Callback, [NavigatorUserMediaErrorCallback errorCallback]); 18182 void webkitGetUserMedia(Map options, NavigatorUserMediaSuccessCallback success Callback, [NavigatorUserMediaErrorCallback errorCallback]);
18212 } 18183 }
18213 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 18184 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
18214 // for details. All rights reserved. Use of this source code is governed by a 18185 // for details. All rights reserved. Use of this source code is governed by a
18215 // BSD-style license that can be found in the LICENSE file. 18186 // BSD-style license that can be found in the LICENSE file.
18216 18187
18217 // WARNING: Do not edit - generated code. 18188 // WARNING: Do not edit - generated code.
18218 18189
18219 interface NavigatorUserMediaError { 18190 interface NavigatorUserMediaError {
18220 18191
(...skipping 3648 matching lines...) Expand 10 before | Expand all | Expand 10 after
21869 } 21840 }
21870 21841
21871 interface SharedWorkerContext extends SharedWorkerGlobalScope { 21842 interface SharedWorkerContext extends SharedWorkerGlobalScope {
21872 } 21843 }
21873 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 21844 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
21874 // for details. All rights reserved. Use of this source code is governed by a 21845 // for details. All rights reserved. Use of this source code is governed by a
21875 // BSD-style license that can be found in the LICENSE file. 21846 // BSD-style license that can be found in the LICENSE file.
21876 21847
21877 // WARNING: Do not edit - generated code. 21848 // WARNING: Do not edit - generated code.
21878 21849
21879 typedef bool SignalingCallback(String message, DeprecatedPeerConnection source); 21850 interface SourceBuffer {
21851
21852 final TimeRanges buffered;
21853
21854 void abort();
21855
21856 void append(Uint8Array data);
21857 }
21880 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 21858 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
21881 // for details. All rights reserved. Use of this source code is governed by a 21859 // for details. All rights reserved. Use of this source code is governed by a
21882 // BSD-style license that can be found in the LICENSE file. 21860 // BSD-style license that can be found in the LICENSE file.
21861
21862 // WARNING: Do not edit - generated code.
21863
21864 interface SourceBufferList extends EventTarget {
21865
21866 final int length;
21867
21868 void addEventListener(String type, EventListener listener, [bool useCapture]);
21869
21870 bool dispatchEvent(Event event);
21871
21872 SourceBuffer item(int index);
21873
21874 void removeEventListener(String type, EventListener listener, [bool useCapture ]);
21875 }
21876 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
21877 // for details. All rights reserved. Use of this source code is governed by a
21878 // BSD-style license that can be found in the LICENSE file.
21883 21879
21884 // WARNING: Do not edit - generated code. 21880 // WARNING: Do not edit - generated code.
21885 21881
21886 interface SpeechGrammar default _SpeechGrammarFactoryProvider { 21882 interface SpeechGrammar default _SpeechGrammarFactoryProvider {
21887 21883
21888 SpeechGrammar(); 21884 SpeechGrammar();
21889 21885
21890 String src; 21886 String src;
21891 21887
21892 num weight; 21888 num weight;
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
22030 final int resultIndex; 22026 final int resultIndex;
22031 } 22027 }
22032 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 22028 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
22033 // for details. All rights reserved. Use of this source code is governed by a 22029 // for details. All rights reserved. Use of this source code is governed by a
22034 // BSD-style license that can be found in the LICENSE file. 22030 // BSD-style license that can be found in the LICENSE file.
22035 22031
22036 // WARNING: Do not edit - generated code. 22032 // WARNING: Do not edit - generated code.
22037 22033
22038 interface SpeechRecognitionResult { 22034 interface SpeechRecognitionResult {
22039 22035
22036 final Document emma;
22037
22040 final bool finalValue; 22038 final bool finalValue;
22041 22039
22042 final int length; 22040 final int length;
22043 22041
22044 SpeechRecognitionAlternative item(int index); 22042 SpeechRecognitionAlternative item(int index);
22045 } 22043 }
22046 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 22044 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
22047 // for details. All rights reserved. Use of this source code is governed by a 22045 // for details. All rights reserved. Use of this source code is governed by a
22048 // BSD-style license that can be found in the LICENSE file. 22046 // BSD-style license that can be found in the LICENSE file.
22049 22047
(...skipping 3330 matching lines...) Expand 10 before | Expand all | Expand 10 after
25380 if (length < 0) throw new IllegalArgumentException('length'); 25378 if (length < 0) throw new IllegalArgumentException('length');
25381 if (start < 0) throw new IndexOutOfRangeException(start); 25379 if (start < 0) throw new IndexOutOfRangeException(start);
25382 int end = start + length; 25380 int end = start + length;
25383 if (end > a.length) throw new IndexOutOfRangeException(end); 25381 if (end > a.length) throw new IndexOutOfRangeException(end);
25384 for (int i = start; i < end; i++) { 25382 for (int i = start; i < end; i++) {
25385 accumulator.add(a[i]); 25383 accumulator.add(a[i]);
25386 } 25384 }
25387 return accumulator; 25385 return accumulator;
25388 } 25386 }
25389 } 25387 }
OLDNEW
« no previous file with comments | « no previous file | lib/dom/dom.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698