| OLD | NEW |
| 1 #library('html'); | 1 #library('html'); |
| 2 | 2 |
| 3 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 3 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 4 // for details. All rights reserved. Use of this source code is governed by a | 4 // for details. All rights reserved. Use of this source code is governed by a |
| 5 // BSD-style license that can be found in the LICENSE file. | 5 // BSD-style license that can be found in the LICENSE file. |
| 6 | 6 |
| 7 // DO NOT EDIT | 7 // DO NOT EDIT |
| 8 // Auto-generated dart:html library. | 8 // Auto-generated dart:html library. |
| 9 | 9 |
| 10 | 10 |
| (...skipping 4537 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4548 void postMessage(Object message, [List messagePorts = null]) native; | 4548 void postMessage(Object message, [List messagePorts = null]) native; |
| 4549 | 4549 |
| 4550 void webkitPostMessage(Object message, [List transferList = null]) native; | 4550 void webkitPostMessage(Object message, [List transferList = null]) native; |
| 4551 } | 4551 } |
| 4552 | 4552 |
| 4553 class _DelayNodeImpl extends _AudioNodeImpl implements DelayNode native "*DelayN
ode" { | 4553 class _DelayNodeImpl extends _AudioNodeImpl implements DelayNode native "*DelayN
ode" { |
| 4554 | 4554 |
| 4555 final _AudioParamImpl delayTime; | 4555 final _AudioParamImpl delayTime; |
| 4556 } | 4556 } |
| 4557 | 4557 |
| 4558 class _DeprecatedPeerConnectionImpl implements DeprecatedPeerConnection native "
*DeprecatedPeerConnection" { |
| 4559 |
| 4560 static final int ACTIVE = 2; |
| 4561 |
| 4562 static final int CLOSED = 3; |
| 4563 |
| 4564 static final int NEGOTIATING = 1; |
| 4565 |
| 4566 static final int NEW = 0; |
| 4567 |
| 4568 final _MediaStreamListImpl localStreams; |
| 4569 |
| 4570 EventListener onaddstream; |
| 4571 |
| 4572 EventListener onconnecting; |
| 4573 |
| 4574 EventListener onmessage; |
| 4575 |
| 4576 EventListener onopen; |
| 4577 |
| 4578 EventListener onremovestream; |
| 4579 |
| 4580 EventListener onstatechange; |
| 4581 |
| 4582 final int readyState; |
| 4583 |
| 4584 final _MediaStreamListImpl remoteStreams; |
| 4585 |
| 4586 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; |
| 4587 |
| 4588 void addStream(_MediaStreamImpl stream) native; |
| 4589 |
| 4590 void close() native; |
| 4591 |
| 4592 bool dispatchEvent(_EventImpl event) native; |
| 4593 |
| 4594 void processSignalingMessage(String message) native; |
| 4595 |
| 4596 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; |
| 4597 |
| 4598 void removeStream(_MediaStreamImpl stream) native; |
| 4599 |
| 4600 void send(String text) native; |
| 4601 } |
| 4602 |
| 4558 class _DetailsElementImpl extends _ElementImpl implements DetailsElement native
"*HTMLDetailsElement" { | 4603 class _DetailsElementImpl extends _ElementImpl implements DetailsElement native
"*HTMLDetailsElement" { |
| 4559 | 4604 |
| 4560 bool open; | 4605 bool open; |
| 4561 } | 4606 } |
| 4562 | 4607 |
| 4563 class _DeviceMotionEventImpl extends _EventImpl implements DeviceMotionEvent nat
ive "*DeviceMotionEvent" { | 4608 class _DeviceMotionEventImpl extends _EventImpl implements DeviceMotionEvent nat
ive "*DeviceMotionEvent" { |
| 4564 | 4609 |
| 4565 final num interval; | 4610 final num interval; |
| 4566 } | 4611 } |
| 4567 | 4612 |
| (...skipping 4587 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9155 | 9200 |
| 9156 String name; | 9201 String name; |
| 9157 | 9202 |
| 9158 String type; | 9203 String type; |
| 9159 | 9204 |
| 9160 String value; | 9205 String value; |
| 9161 | 9206 |
| 9162 String valueType; | 9207 String valueType; |
| 9163 } | 9208 } |
| 9164 | 9209 |
| 9165 class _PeerConnectionImpl implements PeerConnection native "*PeerConnection" { | |
| 9166 | |
| 9167 static final int ACTIVE = 2; | |
| 9168 | |
| 9169 static final int CLOSED = 3; | |
| 9170 | |
| 9171 static final int NEGOTIATING = 1; | |
| 9172 | |
| 9173 static final int NEW = 0; | |
| 9174 | |
| 9175 final _MediaStreamListImpl localStreams; | |
| 9176 | |
| 9177 EventListener onaddstream; | |
| 9178 | |
| 9179 EventListener onconnecting; | |
| 9180 | |
| 9181 EventListener onmessage; | |
| 9182 | |
| 9183 EventListener onopen; | |
| 9184 | |
| 9185 EventListener onremovestream; | |
| 9186 | |
| 9187 EventListener onstatechange; | |
| 9188 | |
| 9189 final int readyState; | |
| 9190 | |
| 9191 final _MediaStreamListImpl remoteStreams; | |
| 9192 | |
| 9193 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; | |
| 9194 | |
| 9195 void addStream(_MediaStreamImpl stream) native; | |
| 9196 | |
| 9197 void close() native; | |
| 9198 | |
| 9199 bool dispatchEvent(_EventImpl event) native; | |
| 9200 | |
| 9201 void processSignalingMessage(String message) native; | |
| 9202 | |
| 9203 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | |
| 9204 | |
| 9205 void removeStream(_MediaStreamImpl stream) native; | |
| 9206 | |
| 9207 void send(String text) native; | |
| 9208 } | |
| 9209 | |
| 9210 class _PerformanceImpl implements Performance native "*Performance" { | 9210 class _PerformanceImpl implements Performance native "*Performance" { |
| 9211 | 9211 |
| 9212 final _MemoryInfoImpl memory; | 9212 final _MemoryInfoImpl memory; |
| 9213 | 9213 |
| 9214 final _PerformanceNavigationImpl navigation; | 9214 final _PerformanceNavigationImpl navigation; |
| 9215 | 9215 |
| 9216 final _PerformanceTimingImpl timing; | 9216 final _PerformanceTimingImpl timing; |
| 9217 } | 9217 } |
| 9218 | 9218 |
| 9219 class _PerformanceNavigationImpl implements PerformanceNavigation native "*Perfo
rmanceNavigation" { | 9219 class _PerformanceNavigationImpl implements PerformanceNavigation native "*Perfo
rmanceNavigation" { |
| (...skipping 3911 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 13131 String media; | 13131 String media; |
| 13132 | 13132 |
| 13133 String src; | 13133 String src; |
| 13134 | 13134 |
| 13135 String type; | 13135 String type; |
| 13136 } | 13136 } |
| 13137 | 13137 |
| 13138 class _SpanElementImpl extends _ElementImpl implements SpanElement native "*HTML
SpanElement" { | 13138 class _SpanElementImpl extends _ElementImpl implements SpanElement native "*HTML
SpanElement" { |
| 13139 } | 13139 } |
| 13140 | 13140 |
| 13141 class _SpeechGrammarImpl implements SpeechGrammar native "*SpeechGrammar" { |
| 13142 |
| 13143 num weight; |
| 13144 } |
| 13145 |
| 13146 class _SpeechGrammarListImpl implements SpeechGrammarList native "*SpeechGrammar
List" { |
| 13147 |
| 13148 final int length; |
| 13149 |
| 13150 void addFromString(String string, [num weight = null]) native; |
| 13151 |
| 13152 void addFromUri(String src, [num weight = null]) native; |
| 13153 |
| 13154 _SpeechGrammarImpl item(int index) native; |
| 13155 } |
| 13156 |
| 13141 class _SpeechInputEventImpl extends _EventImpl implements SpeechInputEvent nativ
e "*SpeechInputEvent" { | 13157 class _SpeechInputEventImpl extends _EventImpl implements SpeechInputEvent nativ
e "*SpeechInputEvent" { |
| 13142 | 13158 |
| 13143 final _SpeechInputResultListImpl results; | 13159 final _SpeechInputResultListImpl results; |
| 13144 } | 13160 } |
| 13145 | 13161 |
| 13146 class _SpeechInputResultImpl implements SpeechInputResult native "*SpeechInputRe
sult" { | 13162 class _SpeechInputResultImpl implements SpeechInputResult native "*SpeechInputRe
sult" { |
| 13147 | 13163 |
| 13148 final num confidence; | 13164 final num confidence; |
| 13149 | 13165 |
| 13150 final String utterance; | 13166 final String utterance; |
| 13151 } | 13167 } |
| 13152 | 13168 |
| 13153 class _SpeechInputResultListImpl implements SpeechInputResultList native "*Speec
hInputResultList" { | 13169 class _SpeechInputResultListImpl implements SpeechInputResultList native "*Speec
hInputResultList" { |
| 13154 | 13170 |
| 13155 final int length; | 13171 final int length; |
| 13156 | 13172 |
| 13157 _SpeechInputResultImpl item(int index) native; | 13173 _SpeechInputResultImpl item(int index) native; |
| 13158 } | 13174 } |
| 13159 | 13175 |
| 13176 class _SpeechRecognitionAlternativeImpl implements SpeechRecognitionAlternative
native "*SpeechRecognitionAlternative" { |
| 13177 |
| 13178 final num confidence; |
| 13179 |
| 13180 final String transcript; |
| 13181 } |
| 13182 |
| 13183 class _SpeechRecognitionErrorImpl implements SpeechRecognitionError native "*Spe
echRecognitionError" { |
| 13184 |
| 13185 static final int ABORTED = 2; |
| 13186 |
| 13187 static final int AUDIO_CAPTURE = 3; |
| 13188 |
| 13189 static final int BAD_GRAMMAR = 7; |
| 13190 |
| 13191 static final int LANGUAGE_NOT_SUPPORTED = 8; |
| 13192 |
| 13193 static final int NETWORK = 4; |
| 13194 |
| 13195 static final int NOT_ALLOWED = 5; |
| 13196 |
| 13197 static final int NO_SPEECH = 1; |
| 13198 |
| 13199 static final int OTHER = 0; |
| 13200 |
| 13201 static final int SERVICE_NOT_ALLOWED = 6; |
| 13202 |
| 13203 final int code; |
| 13204 |
| 13205 final String message; |
| 13206 } |
| 13207 |
| 13208 class _SpeechRecognitionEventImpl extends _EventImpl implements SpeechRecognitio
nEvent native "*SpeechRecognitionEvent" { |
| 13209 |
| 13210 final _SpeechRecognitionErrorImpl error; |
| 13211 |
| 13212 final _SpeechRecognitionResultImpl result; |
| 13213 |
| 13214 final _SpeechRecognitionResultListImpl resultHistory; |
| 13215 |
| 13216 final int resultIndex; |
| 13217 } |
| 13218 |
| 13219 class _SpeechRecognitionResultImpl implements SpeechRecognitionResult native "*S
peechRecognitionResult" { |
| 13220 |
| 13221 bool get finalValue() native "return this.final;"; |
| 13222 |
| 13223 final int length; |
| 13224 |
| 13225 _SpeechRecognitionAlternativeImpl item(int index) native; |
| 13226 } |
| 13227 |
| 13228 class _SpeechRecognitionResultListImpl implements SpeechRecognitionResultList na
tive "*SpeechRecognitionResultList" { |
| 13229 |
| 13230 final int length; |
| 13231 |
| 13232 _SpeechRecognitionResultImpl item(int index) native; |
| 13233 } |
| 13234 |
| 13160 class _StorageImpl implements Storage native "*Storage" { | 13235 class _StorageImpl implements Storage native "*Storage" { |
| 13161 | 13236 |
| 13162 final int length; | 13237 final int length; |
| 13163 | 13238 |
| 13164 void clear() native; | 13239 void clear() native; |
| 13165 | 13240 |
| 13166 String getItem(String key) native; | 13241 String getItem(String key) native; |
| 13167 | 13242 |
| 13168 String key(int index) native; | 13243 String key(int index) native; |
| 13169 | 13244 |
| (...skipping 2813 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 15983 // BSD-style license that can be found in the LICENSE file. | 16058 // BSD-style license that can be found in the LICENSE file. |
| 15984 | 16059 |
| 15985 class _DOMURLFactoryProvider { | 16060 class _DOMURLFactoryProvider { |
| 15986 factory DOMURL() native | 16061 factory DOMURL() native |
| 15987 '''return new DOMURL();'''; | 16062 '''return new DOMURL();'''; |
| 15988 } | 16063 } |
| 15989 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16064 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 15990 // for details. All rights reserved. Use of this source code is governed by a | 16065 // for details. All rights reserved. Use of this source code is governed by a |
| 15991 // BSD-style license that can be found in the LICENSE file. | 16066 // BSD-style license that can be found in the LICENSE file. |
| 15992 | 16067 |
| 16068 class _DeprecatedPeerConnectionFactoryProvider { |
| 16069 factory DeprecatedPeerConnection(String serverConfiguration, SignalingCallback
signalingCallback) native |
| 16070 '''return new DeprecatedPeerConnection(serverConfiguration, signalingCallb
ack);'''; |
| 16071 } |
| 16072 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16073 // for details. All rights reserved. Use of this source code is governed by a |
| 16074 // BSD-style license that can be found in the LICENSE file. |
| 16075 |
| 15993 class _EventSourceFactoryProvider { | 16076 class _EventSourceFactoryProvider { |
| 15994 factory EventSource(String scriptUrl) native | 16077 factory EventSource(String scriptUrl) native |
| 15995 '''return new EventSource(scriptUrl);'''; | 16078 '''return new EventSource(scriptUrl);'''; |
| 15996 } | 16079 } |
| 15997 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16080 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 15998 // for details. All rights reserved. Use of this source code is governed by a | 16081 // for details. All rights reserved. Use of this source code is governed by a |
| 15999 // BSD-style license that can be found in the LICENSE file. | 16082 // BSD-style license that can be found in the LICENSE file. |
| 16000 | 16083 |
| 16001 class _FileReaderFactoryProvider { | 16084 class _FileReaderFactoryProvider { |
| 16002 factory FileReader() native | 16085 factory FileReader() native |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 16046 if (value == null) return new Option(data); | 16129 if (value == null) return new Option(data); |
| 16047 if (defaultSelected == null) return new Option(data, value); | 16130 if (defaultSelected == null) return new Option(data, value); |
| 16048 if (selected == null) return new Option(data, value, defaultSelected); | 16131 if (selected == null) return new Option(data, value, defaultSelected); |
| 16049 return new Option(data, value, defaultSelected, selected); | 16132 return new Option(data, value, defaultSelected, selected); |
| 16050 '''; | 16133 '''; |
| 16051 } | 16134 } |
| 16052 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16135 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16053 // for details. All rights reserved. Use of this source code is governed by a | 16136 // for details. All rights reserved. Use of this source code is governed by a |
| 16054 // BSD-style license that can be found in the LICENSE file. | 16137 // BSD-style license that can be found in the LICENSE file. |
| 16055 | 16138 |
| 16056 class _PeerConnectionFactoryProvider { | |
| 16057 factory PeerConnection(String serverConfiguration, SignalingCallback signaling
Callback) native | |
| 16058 '''return new PeerConnection(serverConfiguration, signalingCallback);'''; | |
| 16059 } | |
| 16060 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
| 16061 // for details. All rights reserved. Use of this source code is governed by a | |
| 16062 // BSD-style license that can be found in the LICENSE file. | |
| 16063 | |
| 16064 class _ShadowRootFactoryProvider { | 16139 class _ShadowRootFactoryProvider { |
| 16065 factory ShadowRoot(Element host) native | 16140 factory ShadowRoot(Element host) native |
| 16066 '''return new ShadowRoot(host);'''; | 16141 '''return new ShadowRoot(host);'''; |
| 16067 } | 16142 } |
| 16068 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16143 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16069 // for details. All rights reserved. Use of this source code is governed by a | 16144 // for details. All rights reserved. Use of this source code is governed by a |
| 16070 // BSD-style license that can be found in the LICENSE file. | 16145 // BSD-style license that can be found in the LICENSE file. |
| 16071 | 16146 |
| 16072 class _SharedWorkerFactoryProvider { | 16147 class _SharedWorkerFactoryProvider { |
| 16073 factory SharedWorker(String scriptURL, [String name]) native ''' | 16148 factory SharedWorker(String scriptURL, [String name]) native ''' |
| 16074 if (name == null) return new SharedWorker(scriptURL); | 16149 if (name == null) return new SharedWorker(scriptURL); |
| 16075 return new SharedWorker(scriptURL, name); | 16150 return new SharedWorker(scriptURL, name); |
| 16076 '''; | 16151 '''; |
| 16077 } | 16152 } |
| 16078 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16153 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16079 // for details. All rights reserved. Use of this source code is governed by a | 16154 // for details. All rights reserved. Use of this source code is governed by a |
| 16080 // BSD-style license that can be found in the LICENSE file. | 16155 // BSD-style license that can be found in the LICENSE file. |
| 16081 | 16156 |
| 16157 class _SpeechGrammarFactoryProvider { |
| 16158 factory SpeechGrammar() native |
| 16159 '''return new SpeechGrammar();'''; |
| 16160 } |
| 16161 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16162 // for details. All rights reserved. Use of this source code is governed by a |
| 16163 // BSD-style license that can be found in the LICENSE file. |
| 16164 |
| 16165 class _SpeechGrammarListFactoryProvider { |
| 16166 factory SpeechGrammarList() native |
| 16167 '''return new SpeechGrammarList();'''; |
| 16168 } |
| 16169 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16170 // for details. All rights reserved. Use of this source code is governed by a |
| 16171 // BSD-style license that can be found in the LICENSE file. |
| 16172 |
| 16082 class _TextTrackCueFactoryProvider { | 16173 class _TextTrackCueFactoryProvider { |
| 16083 factory TextTrackCue(String id, num startTime, num endTime, String text, | 16174 factory TextTrackCue(String id, num startTime, num endTime, String text, |
| 16084 [String settings, bool pauseOnExit]) native ''' | 16175 [String settings, bool pauseOnExit]) native ''' |
| 16085 if (settings == null) | 16176 if (settings == null) |
| 16086 return new TextTrackCue(id, startTime, endTime, text); | 16177 return new TextTrackCue(id, startTime, endTime, text); |
| 16087 if (pauseOnExit == null) | 16178 if (pauseOnExit == null) |
| 16088 return new TextTrackCue(id, startTime, endTime, text, settings); | 16179 return new TextTrackCue(id, startTime, endTime, text, settings); |
| 16089 return new TextTrackCue(id, startTime, endTime, text, settings, pauseOnExit)
; | 16180 return new TextTrackCue(id, startTime, endTime, text, settings, pauseOnExit)
; |
| 16090 '''; | 16181 '''; |
| 16091 } | 16182 } |
| (...skipping 4008 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 20100 interface DelayNode extends AudioNode { | 20191 interface DelayNode extends AudioNode { |
| 20101 | 20192 |
| 20102 final AudioParam delayTime; | 20193 final AudioParam delayTime; |
| 20103 } | 20194 } |
| 20104 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 20195 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 20105 // for details. All rights reserved. Use of this source code is governed by a | 20196 // for details. All rights reserved. Use of this source code is governed by a |
| 20106 // BSD-style license that can be found in the LICENSE file. | 20197 // BSD-style license that can be found in the LICENSE file. |
| 20107 | 20198 |
| 20108 // WARNING: Do not edit - generated code. | 20199 // WARNING: Do not edit - generated code. |
| 20109 | 20200 |
| 20201 interface DeprecatedPeerConnection default _DeprecatedPeerConnectionFactoryProvi
der { |
| 20202 |
| 20203 DeprecatedPeerConnection(String serverConfiguration, SignalingCallback signali
ngCallback); |
| 20204 |
| 20205 static final int ACTIVE = 2; |
| 20206 |
| 20207 static final int CLOSED = 3; |
| 20208 |
| 20209 static final int NEGOTIATING = 1; |
| 20210 |
| 20211 static final int NEW = 0; |
| 20212 |
| 20213 final MediaStreamList localStreams; |
| 20214 |
| 20215 EventListener onaddstream; |
| 20216 |
| 20217 EventListener onconnecting; |
| 20218 |
| 20219 EventListener onmessage; |
| 20220 |
| 20221 EventListener onopen; |
| 20222 |
| 20223 EventListener onremovestream; |
| 20224 |
| 20225 EventListener onstatechange; |
| 20226 |
| 20227 final int readyState; |
| 20228 |
| 20229 final MediaStreamList remoteStreams; |
| 20230 |
| 20231 void addEventListener(String type, EventListener listener, [bool useCapture]); |
| 20232 |
| 20233 void addStream(MediaStream stream); |
| 20234 |
| 20235 void close(); |
| 20236 |
| 20237 bool dispatchEvent(Event event); |
| 20238 |
| 20239 void processSignalingMessage(String message); |
| 20240 |
| 20241 void removeEventListener(String type, EventListener listener, [bool useCapture
]); |
| 20242 |
| 20243 void removeStream(MediaStream stream); |
| 20244 |
| 20245 void send(String text); |
| 20246 } |
| 20247 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 20248 // for details. All rights reserved. Use of this source code is governed by a |
| 20249 // BSD-style license that can be found in the LICENSE file. |
| 20250 |
| 20251 // WARNING: Do not edit - generated code. |
| 20252 |
| 20110 interface DetailsElement extends Element { | 20253 interface DetailsElement extends Element { |
| 20111 | 20254 |
| 20112 bool open; | 20255 bool open; |
| 20113 } | 20256 } |
| 20114 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 20257 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 20115 // for details. All rights reserved. Use of this source code is governed by a | 20258 // for details. All rights reserved. Use of this source code is governed by a |
| 20116 // BSD-style license that can be found in the LICENSE file. | 20259 // BSD-style license that can be found in the LICENSE file. |
| 20117 | 20260 |
| 20118 // WARNING: Do not edit - generated code. | 20261 // WARNING: Do not edit - generated code. |
| 20119 | 20262 |
| (...skipping 3813 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 23933 String value; | 24076 String value; |
| 23934 | 24077 |
| 23935 String valueType; | 24078 String valueType; |
| 23936 } | 24079 } |
| 23937 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 24080 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23938 // for details. All rights reserved. Use of this source code is governed by a | 24081 // for details. All rights reserved. Use of this source code is governed by a |
| 23939 // BSD-style license that can be found in the LICENSE file. | 24082 // BSD-style license that can be found in the LICENSE file. |
| 23940 | 24083 |
| 23941 // WARNING: Do not edit - generated code. | 24084 // WARNING: Do not edit - generated code. |
| 23942 | 24085 |
| 23943 interface PeerConnection default _PeerConnectionFactoryProvider { | |
| 23944 | |
| 23945 PeerConnection(String serverConfiguration, SignalingCallback signalingCallback
); | |
| 23946 | |
| 23947 static final int ACTIVE = 2; | |
| 23948 | |
| 23949 static final int CLOSED = 3; | |
| 23950 | |
| 23951 static final int NEGOTIATING = 1; | |
| 23952 | |
| 23953 static final int NEW = 0; | |
| 23954 | |
| 23955 final MediaStreamList localStreams; | |
| 23956 | |
| 23957 EventListener onaddstream; | |
| 23958 | |
| 23959 EventListener onconnecting; | |
| 23960 | |
| 23961 EventListener onmessage; | |
| 23962 | |
| 23963 EventListener onopen; | |
| 23964 | |
| 23965 EventListener onremovestream; | |
| 23966 | |
| 23967 EventListener onstatechange; | |
| 23968 | |
| 23969 final int readyState; | |
| 23970 | |
| 23971 final MediaStreamList remoteStreams; | |
| 23972 | |
| 23973 void addEventListener(String type, EventListener listener, [bool useCapture]); | |
| 23974 | |
| 23975 void addStream(MediaStream stream); | |
| 23976 | |
| 23977 void close(); | |
| 23978 | |
| 23979 bool dispatchEvent(Event event); | |
| 23980 | |
| 23981 void processSignalingMessage(String message); | |
| 23982 | |
| 23983 void removeEventListener(String type, EventListener listener, [bool useCapture
]); | |
| 23984 | |
| 23985 void removeStream(MediaStream stream); | |
| 23986 | |
| 23987 void send(String text); | |
| 23988 } | |
| 23989 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
| 23990 // for details. All rights reserved. Use of this source code is governed by a | |
| 23991 // BSD-style license that can be found in the LICENSE file. | |
| 23992 | |
| 23993 // WARNING: Do not edit - generated code. | |
| 23994 | |
| 23995 interface Performance { | 24086 interface Performance { |
| 23996 | 24087 |
| 23997 final MemoryInfo memory; | 24088 final MemoryInfo memory; |
| 23998 | 24089 |
| 23999 final PerformanceNavigation navigation; | 24090 final PerformanceNavigation navigation; |
| 24000 | 24091 |
| 24001 final PerformanceTiming timing; | 24092 final PerformanceTiming timing; |
| 24002 } | 24093 } |
| 24003 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 24094 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24004 // for details. All rights reserved. Use of this source code is governed by a | 24095 // for details. All rights reserved. Use of this source code is governed by a |
| (...skipping 3320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 27325 final String name; | 27416 final String name; |
| 27326 | 27417 |
| 27327 EventListener onconnect; | 27418 EventListener onconnect; |
| 27328 } | 27419 } |
| 27329 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 27420 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 27330 // for details. All rights reserved. Use of this source code is governed by a | 27421 // for details. All rights reserved. Use of this source code is governed by a |
| 27331 // BSD-style license that can be found in the LICENSE file. | 27422 // BSD-style license that can be found in the LICENSE file. |
| 27332 | 27423 |
| 27333 // WARNING: Do not edit - generated code. | 27424 // WARNING: Do not edit - generated code. |
| 27334 | 27425 |
| 27335 typedef bool SignalingCallback(String message, PeerConnection source); | 27426 typedef bool SignalingCallback(String message, DeprecatedPeerConnection source); |
| 27336 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 27427 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 27337 // for details. All rights reserved. Use of this source code is governed by a | 27428 // for details. All rights reserved. Use of this source code is governed by a |
| 27338 // BSD-style license that can be found in the LICENSE file. | 27429 // BSD-style license that can be found in the LICENSE file. |
| 27339 | 27430 |
| 27340 // WARNING: Do not edit - generated code. | 27431 // WARNING: Do not edit - generated code. |
| 27341 | 27432 |
| 27342 interface SourceElement extends Element { | 27433 interface SourceElement extends Element { |
| 27343 | 27434 |
| 27344 String media; | 27435 String media; |
| 27345 | 27436 |
| 27346 String src; | 27437 String src; |
| 27347 | 27438 |
| 27348 String type; | 27439 String type; |
| 27349 } | 27440 } |
| 27350 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 27441 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 27351 // for details. All rights reserved. Use of this source code is governed by a | 27442 // for details. All rights reserved. Use of this source code is governed by a |
| 27352 // BSD-style license that can be found in the LICENSE file. | 27443 // BSD-style license that can be found in the LICENSE file. |
| 27353 | 27444 |
| 27354 // WARNING: Do not edit - generated code. | 27445 // WARNING: Do not edit - generated code. |
| 27355 | 27446 |
| 27356 interface SpanElement extends Element { | 27447 interface SpanElement extends Element { |
| 27357 } | 27448 } |
| 27358 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 27449 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 27359 // for details. All rights reserved. Use of this source code is governed by a | 27450 // for details. All rights reserved. Use of this source code is governed by a |
| 27360 // BSD-style license that can be found in the LICENSE file. | 27451 // BSD-style license that can be found in the LICENSE file. |
| 27361 | 27452 |
| 27362 // WARNING: Do not edit - generated code. | 27453 // WARNING: Do not edit - generated code. |
| 27363 | 27454 |
| 27455 interface SpeechGrammar default _SpeechGrammarFactoryProvider { |
| 27456 |
| 27457 SpeechGrammar(); |
| 27458 |
| 27459 num weight; |
| 27460 } |
| 27461 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 27462 // for details. All rights reserved. Use of this source code is governed by a |
| 27463 // BSD-style license that can be found in the LICENSE file. |
| 27464 |
| 27465 // WARNING: Do not edit - generated code. |
| 27466 |
| 27467 interface SpeechGrammarList default _SpeechGrammarListFactoryProvider { |
| 27468 |
| 27469 SpeechGrammarList(); |
| 27470 |
| 27471 final int length; |
| 27472 |
| 27473 void addFromString(String string, [num weight]); |
| 27474 |
| 27475 void addFromUri(String src, [num weight]); |
| 27476 |
| 27477 SpeechGrammar item(int index); |
| 27478 } |
| 27479 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 27480 // for details. All rights reserved. Use of this source code is governed by a |
| 27481 // BSD-style license that can be found in the LICENSE file. |
| 27482 |
| 27483 // WARNING: Do not edit - generated code. |
| 27484 |
| 27364 interface SpeechInputEvent extends Event { | 27485 interface SpeechInputEvent extends Event { |
| 27365 | 27486 |
| 27366 final SpeechInputResultList results; | 27487 final SpeechInputResultList results; |
| 27367 } | 27488 } |
| 27368 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 27489 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 27369 // for details. All rights reserved. Use of this source code is governed by a | 27490 // for details. All rights reserved. Use of this source code is governed by a |
| 27370 // BSD-style license that can be found in the LICENSE file. | 27491 // BSD-style license that can be found in the LICENSE file. |
| 27371 | 27492 |
| 27372 // WARNING: Do not edit - generated code. | 27493 // WARNING: Do not edit - generated code. |
| 27373 | 27494 |
| (...skipping 14 matching lines...) Expand all Loading... |
| 27388 final int length; | 27509 final int length; |
| 27389 | 27510 |
| 27390 SpeechInputResult item(int index); | 27511 SpeechInputResult item(int index); |
| 27391 } | 27512 } |
| 27392 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 27513 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 27393 // for details. All rights reserved. Use of this source code is governed by a | 27514 // for details. All rights reserved. Use of this source code is governed by a |
| 27394 // BSD-style license that can be found in the LICENSE file. | 27515 // BSD-style license that can be found in the LICENSE file. |
| 27395 | 27516 |
| 27396 // WARNING: Do not edit - generated code. | 27517 // WARNING: Do not edit - generated code. |
| 27397 | 27518 |
| 27519 interface SpeechRecognitionAlternative { |
| 27520 |
| 27521 final num confidence; |
| 27522 |
| 27523 final String transcript; |
| 27524 } |
| 27525 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 27526 // for details. All rights reserved. Use of this source code is governed by a |
| 27527 // BSD-style license that can be found in the LICENSE file. |
| 27528 |
| 27529 // WARNING: Do not edit - generated code. |
| 27530 |
| 27531 interface SpeechRecognitionError { |
| 27532 |
| 27533 static final int ABORTED = 2; |
| 27534 |
| 27535 static final int AUDIO_CAPTURE = 3; |
| 27536 |
| 27537 static final int BAD_GRAMMAR = 7; |
| 27538 |
| 27539 static final int LANGUAGE_NOT_SUPPORTED = 8; |
| 27540 |
| 27541 static final int NETWORK = 4; |
| 27542 |
| 27543 static final int NOT_ALLOWED = 5; |
| 27544 |
| 27545 static final int NO_SPEECH = 1; |
| 27546 |
| 27547 static final int OTHER = 0; |
| 27548 |
| 27549 static final int SERVICE_NOT_ALLOWED = 6; |
| 27550 |
| 27551 final int code; |
| 27552 |
| 27553 final String message; |
| 27554 } |
| 27555 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 27556 // for details. All rights reserved. Use of this source code is governed by a |
| 27557 // BSD-style license that can be found in the LICENSE file. |
| 27558 |
| 27559 // WARNING: Do not edit - generated code. |
| 27560 |
| 27561 interface SpeechRecognitionEvent extends Event { |
| 27562 |
| 27563 final SpeechRecognitionError error; |
| 27564 |
| 27565 final SpeechRecognitionResult result; |
| 27566 |
| 27567 final SpeechRecognitionResultList resultHistory; |
| 27568 |
| 27569 final int resultIndex; |
| 27570 } |
| 27571 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 27572 // for details. All rights reserved. Use of this source code is governed by a |
| 27573 // BSD-style license that can be found in the LICENSE file. |
| 27574 |
| 27575 // WARNING: Do not edit - generated code. |
| 27576 |
| 27577 interface SpeechRecognitionResult { |
| 27578 |
| 27579 final bool finalValue; |
| 27580 |
| 27581 final int length; |
| 27582 |
| 27583 SpeechRecognitionAlternative item(int index); |
| 27584 } |
| 27585 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 27586 // for details. All rights reserved. Use of this source code is governed by a |
| 27587 // BSD-style license that can be found in the LICENSE file. |
| 27588 |
| 27589 // WARNING: Do not edit - generated code. |
| 27590 |
| 27591 interface SpeechRecognitionResultList { |
| 27592 |
| 27593 final int length; |
| 27594 |
| 27595 SpeechRecognitionResult item(int index); |
| 27596 } |
| 27597 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 27598 // for details. All rights reserved. Use of this source code is governed by a |
| 27599 // BSD-style license that can be found in the LICENSE file. |
| 27600 |
| 27601 // WARNING: Do not edit - generated code. |
| 27602 |
| 27398 interface Storage { | 27603 interface Storage { |
| 27399 | 27604 |
| 27400 final int length; | 27605 final int length; |
| 27401 | 27606 |
| 27402 void clear(); | 27607 void clear(); |
| 27403 | 27608 |
| 27404 String getItem(String key); | 27609 String getItem(String key); |
| 27405 | 27610 |
| 27406 String key(int index); | 27611 String key(int index); |
| 27407 | 27612 |
| (...skipping 3934 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 31342 if (length < 0) throw new IllegalArgumentException('length'); | 31547 if (length < 0) throw new IllegalArgumentException('length'); |
| 31343 if (start < 0) throw new IndexOutOfRangeException(start); | 31548 if (start < 0) throw new IndexOutOfRangeException(start); |
| 31344 int end = start + length; | 31549 int end = start + length; |
| 31345 if (end > a.length) throw new IndexOutOfRangeException(end); | 31550 if (end > a.length) throw new IndexOutOfRangeException(end); |
| 31346 for (int i = start; i < end; i++) { | 31551 for (int i = start; i < end; i++) { |
| 31347 accumulator.add(a[i]); | 31552 accumulator.add(a[i]); |
| 31348 } | 31553 } |
| 31349 return accumulator; | 31554 return accumulator; |
| 31350 } | 31555 } |
| 31351 } | 31556 } |
| OLD | NEW |