| 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 4071 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4082 // for details. All rights reserved. Use of this source code is governed by a | 4082 // for details. All rights reserved. Use of this source code is governed by a |
| 4083 // BSD-style license that can be found in the LICENSE file. | 4083 // BSD-style license that can be found in the LICENSE file. |
| 4084 | 4084 |
| 4085 class _ConsoleImpl | 4085 class _ConsoleImpl |
| 4086 // Console is sometimes a singleton bag-of-properties without a prototype. | 4086 // Console is sometimes a singleton bag-of-properties without a prototype. |
| 4087 implements Console | 4087 implements Console |
| 4088 native "=(typeof console == 'undefined' ? {} : console)" { | 4088 native "=(typeof console == 'undefined' ? {} : console)" { |
| 4089 | 4089 |
| 4090 final _MemoryInfoImpl memory; | 4090 final _MemoryInfoImpl memory; |
| 4091 | 4091 |
| 4092 final List<ScriptProfile> profiles; |
| 4093 |
| 4092 void assertCondition(bool condition, Object arg) native; | 4094 void assertCondition(bool condition, Object arg) native; |
| 4093 | 4095 |
| 4094 void count() native; | 4096 void count() native; |
| 4095 | 4097 |
| 4096 void debug(Object arg) native; | 4098 void debug(Object arg) native; |
| 4097 | 4099 |
| 4098 void dir() native; | 4100 void dir() native; |
| 4099 | 4101 |
| 4100 void dirxml() native; | 4102 void dirxml() native; |
| 4101 | 4103 |
| (...skipping 5116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9218 | 9220 |
| 9219 String name; | 9221 String name; |
| 9220 | 9222 |
| 9221 String type; | 9223 String type; |
| 9222 | 9224 |
| 9223 String value; | 9225 String value; |
| 9224 | 9226 |
| 9225 String valueType; | 9227 String valueType; |
| 9226 } | 9228 } |
| 9227 | 9229 |
| 9230 class _PeerConnection00Impl implements PeerConnection00 native "*PeerConnection0
0" { |
| 9231 |
| 9232 static final int ACTIVE = 2; |
| 9233 |
| 9234 static final int CLOSED = 3; |
| 9235 |
| 9236 static final int ICE_CHECKING = 0x300; |
| 9237 |
| 9238 static final int ICE_CLOSED = 0x700; |
| 9239 |
| 9240 static final int ICE_COMPLETED = 0x500; |
| 9241 |
| 9242 static final int ICE_CONNECTED = 0x400; |
| 9243 |
| 9244 static final int ICE_FAILED = 0x600; |
| 9245 |
| 9246 static final int ICE_GATHERING = 0x100; |
| 9247 |
| 9248 static final int ICE_WAITING = 0x200; |
| 9249 |
| 9250 static final int NEGOTIATING = 1; |
| 9251 |
| 9252 static final int NEW = 0; |
| 9253 |
| 9254 static final int SDP_ANSWER = 0x300; |
| 9255 |
| 9256 static final int SDP_OFFER = 0x100; |
| 9257 |
| 9258 static final int SDP_PRANSWER = 0x200; |
| 9259 |
| 9260 final int iceState; |
| 9261 |
| 9262 final _SessionDescriptionImpl localDescription; |
| 9263 |
| 9264 final _MediaStreamListImpl localStreams; |
| 9265 |
| 9266 EventListener onaddstream; |
| 9267 |
| 9268 EventListener onconnecting; |
| 9269 |
| 9270 EventListener onopen; |
| 9271 |
| 9272 EventListener onremovestream; |
| 9273 |
| 9274 EventListener onstatechange; |
| 9275 |
| 9276 final int readyState; |
| 9277 |
| 9278 final _SessionDescriptionImpl remoteDescription; |
| 9279 |
| 9280 final _MediaStreamListImpl remoteStreams; |
| 9281 |
| 9282 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; |
| 9283 |
| 9284 void addStream(_MediaStreamImpl stream, [String mediaStreamHints = null]) nati
ve; |
| 9285 |
| 9286 void close() native; |
| 9287 |
| 9288 _SessionDescriptionImpl createAnswer(String offer, [String mediaHints = null])
native; |
| 9289 |
| 9290 _SessionDescriptionImpl createOffer([String mediaHints = null]) native; |
| 9291 |
| 9292 bool dispatchEvent(_EventImpl event) native; |
| 9293 |
| 9294 void processIceMessage(_IceCandidateImpl candidate) native; |
| 9295 |
| 9296 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; |
| 9297 |
| 9298 void removeStream(_MediaStreamImpl stream) native; |
| 9299 |
| 9300 void setLocalDescription(int action, _SessionDescriptionImpl desc) native; |
| 9301 |
| 9302 void setRemoteDescription(int action, _SessionDescriptionImpl desc) native; |
| 9303 |
| 9304 void startIce([String iceOptions = null]) native; |
| 9305 } |
| 9306 |
| 9228 class _PerformanceImpl implements Performance native "*Performance" { | 9307 class _PerformanceImpl implements Performance native "*Performance" { |
| 9229 | 9308 |
| 9230 final _MemoryInfoImpl memory; | 9309 final _MemoryInfoImpl memory; |
| 9231 | 9310 |
| 9232 final _PerformanceNavigationImpl navigation; | 9311 final _PerformanceNavigationImpl navigation; |
| 9233 | 9312 |
| 9234 final _PerformanceTimingImpl timing; | 9313 final _PerformanceTimingImpl timing; |
| 9235 } | 9314 } |
| 9236 | 9315 |
| 9237 class _PerformanceNavigationImpl implements PerformanceNavigation native "*Perfo
rmanceNavigation" { | 9316 class _PerformanceNavigationImpl implements PerformanceNavigation native "*Perfo
rmanceNavigation" { |
| (...skipping 3803 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 13041 | 13120 |
| 13042 final String title; | 13121 final String title; |
| 13043 | 13122 |
| 13044 final int uid; | 13123 final int uid; |
| 13045 } | 13124 } |
| 13046 | 13125 |
| 13047 class _ScriptProfileNodeImpl implements ScriptProfileNode native "*ScriptProfile
Node" { | 13126 class _ScriptProfileNodeImpl implements ScriptProfileNode native "*ScriptProfile
Node" { |
| 13048 | 13127 |
| 13049 final int callUID; | 13128 final int callUID; |
| 13050 | 13129 |
| 13051 final List children; | 13130 final List<ScriptProfileNode> children; |
| 13052 | 13131 |
| 13053 final String functionName; | 13132 final String functionName; |
| 13054 | 13133 |
| 13055 final int lineNumber; | 13134 final int lineNumber; |
| 13056 | 13135 |
| 13057 final int numberOfCalls; | 13136 final int numberOfCalls; |
| 13058 | 13137 |
| 13059 final num selfTime; | 13138 final num selfTime; |
| 13060 | 13139 |
| 13061 final num totalTime; | 13140 final num totalTime; |
| (...skipping 3141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 16203 if (value == null) return new Option(data); | 16282 if (value == null) return new Option(data); |
| 16204 if (defaultSelected == null) return new Option(data, value); | 16283 if (defaultSelected == null) return new Option(data, value); |
| 16205 if (selected == null) return new Option(data, value, defaultSelected); | 16284 if (selected == null) return new Option(data, value, defaultSelected); |
| 16206 return new Option(data, value, defaultSelected, selected); | 16285 return new Option(data, value, defaultSelected, selected); |
| 16207 '''; | 16286 '''; |
| 16208 } | 16287 } |
| 16209 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16288 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16210 // for details. All rights reserved. Use of this source code is governed by a | 16289 // for details. All rights reserved. Use of this source code is governed by a |
| 16211 // BSD-style license that can be found in the LICENSE file. | 16290 // BSD-style license that can be found in the LICENSE file. |
| 16212 | 16291 |
| 16292 class _PeerConnection00FactoryProvider { |
| 16293 factory PeerConnection00(String serverConfiguration, IceCallback iceCallback)
native |
| 16294 '''return new PeerConnection00(serverConfiguration, iceCallback);'''; |
| 16295 } |
| 16296 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16297 // for details. All rights reserved. Use of this source code is governed by a |
| 16298 // BSD-style license that can be found in the LICENSE file. |
| 16299 |
| 16213 class _SessionDescriptionFactoryProvider { | 16300 class _SessionDescriptionFactoryProvider { |
| 16214 factory SessionDescription(String sdp) native | 16301 factory SessionDescription(String sdp) native |
| 16215 '''return new SessionDescription(sdp);'''; | 16302 '''return new SessionDescription(sdp);'''; |
| 16216 } | 16303 } |
| 16217 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16304 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16218 // for details. All rights reserved. Use of this source code is governed by a | 16305 // for details. All rights reserved. Use of this source code is governed by a |
| 16219 // BSD-style license that can be found in the LICENSE file. | 16306 // BSD-style license that can be found in the LICENSE file. |
| 16220 | 16307 |
| 16221 class _ShadowRootFactoryProvider { | 16308 class _ShadowRootFactoryProvider { |
| 16222 factory ShadowRoot(Element host) native | 16309 factory ShadowRoot(Element host) native |
| (...skipping 3446 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 19669 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 19756 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19670 // for details. All rights reserved. Use of this source code is governed by a | 19757 // for details. All rights reserved. Use of this source code is governed by a |
| 19671 // BSD-style license that can be found in the LICENSE file. | 19758 // BSD-style license that can be found in the LICENSE file. |
| 19672 | 19759 |
| 19673 // WARNING: Do not edit - generated code. | 19760 // WARNING: Do not edit - generated code. |
| 19674 | 19761 |
| 19675 interface Console { | 19762 interface Console { |
| 19676 | 19763 |
| 19677 final MemoryInfo memory; | 19764 final MemoryInfo memory; |
| 19678 | 19765 |
| 19766 final List<ScriptProfile> profiles; |
| 19767 |
| 19679 void assertCondition(bool condition, Object arg); | 19768 void assertCondition(bool condition, Object arg); |
| 19680 | 19769 |
| 19681 void count(); | 19770 void count(); |
| 19682 | 19771 |
| 19683 void debug(Object arg); | 19772 void debug(Object arg); |
| 19684 | 19773 |
| 19685 void dir(); | 19774 void dir(); |
| 19686 | 19775 |
| 19687 void dirxml(); | 19776 void dirxml(); |
| 19688 | 19777 |
| (...skipping 2841 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 22530 String sandbox; | 22619 String sandbox; |
| 22531 | 22620 |
| 22532 String scrolling; | 22621 String scrolling; |
| 22533 | 22622 |
| 22534 String src; | 22623 String src; |
| 22535 | 22624 |
| 22536 String width; | 22625 String width; |
| 22537 | 22626 |
| 22538 SVGDocument getSVGDocument(); | 22627 SVGDocument getSVGDocument(); |
| 22539 } | 22628 } |
| 22629 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 22630 // for details. All rights reserved. Use of this source code is governed by a |
| 22631 // BSD-style license that can be found in the LICENSE file. |
| 22632 |
| 22633 // WARNING: Do not edit - generated code. |
| 22634 |
| 22635 typedef bool IceCallback(IceCandidate candidate, bool moreToFollow, PeerConnecti
on00 source); |
| 22540 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 22636 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22541 // for details. All rights reserved. Use of this source code is governed by a | 22637 // for details. All rights reserved. Use of this source code is governed by a |
| 22542 // BSD-style license that can be found in the LICENSE file. | 22638 // BSD-style license that can be found in the LICENSE file. |
| 22543 | 22639 |
| 22544 // WARNING: Do not edit - generated code. | 22640 // WARNING: Do not edit - generated code. |
| 22545 | 22641 |
| 22546 interface IceCandidate default _IceCandidateFactoryProvider { | 22642 interface IceCandidate default _IceCandidateFactoryProvider { |
| 22547 | 22643 |
| 22548 IceCandidate(String label, String candidateLine); | 22644 IceCandidate(String label, String candidateLine); |
| 22549 | 22645 |
| (...skipping 1640 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 24190 String value; | 24286 String value; |
| 24191 | 24287 |
| 24192 String valueType; | 24288 String valueType; |
| 24193 } | 24289 } |
| 24194 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 24290 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24195 // for details. All rights reserved. Use of this source code is governed by a | 24291 // for details. All rights reserved. Use of this source code is governed by a |
| 24196 // BSD-style license that can be found in the LICENSE file. | 24292 // BSD-style license that can be found in the LICENSE file. |
| 24197 | 24293 |
| 24198 // WARNING: Do not edit - generated code. | 24294 // WARNING: Do not edit - generated code. |
| 24199 | 24295 |
| 24296 interface PeerConnection00 default _PeerConnection00FactoryProvider { |
| 24297 |
| 24298 PeerConnection00(String serverConfiguration, IceCallback iceCallback); |
| 24299 |
| 24300 static final int ACTIVE = 2; |
| 24301 |
| 24302 static final int CLOSED = 3; |
| 24303 |
| 24304 static final int ICE_CHECKING = 0x300; |
| 24305 |
| 24306 static final int ICE_CLOSED = 0x700; |
| 24307 |
| 24308 static final int ICE_COMPLETED = 0x500; |
| 24309 |
| 24310 static final int ICE_CONNECTED = 0x400; |
| 24311 |
| 24312 static final int ICE_FAILED = 0x600; |
| 24313 |
| 24314 static final int ICE_GATHERING = 0x100; |
| 24315 |
| 24316 static final int ICE_WAITING = 0x200; |
| 24317 |
| 24318 static final int NEGOTIATING = 1; |
| 24319 |
| 24320 static final int NEW = 0; |
| 24321 |
| 24322 static final int SDP_ANSWER = 0x300; |
| 24323 |
| 24324 static final int SDP_OFFER = 0x100; |
| 24325 |
| 24326 static final int SDP_PRANSWER = 0x200; |
| 24327 |
| 24328 final int iceState; |
| 24329 |
| 24330 final SessionDescription localDescription; |
| 24331 |
| 24332 final MediaStreamList localStreams; |
| 24333 |
| 24334 EventListener onaddstream; |
| 24335 |
| 24336 EventListener onconnecting; |
| 24337 |
| 24338 EventListener onopen; |
| 24339 |
| 24340 EventListener onremovestream; |
| 24341 |
| 24342 EventListener onstatechange; |
| 24343 |
| 24344 final int readyState; |
| 24345 |
| 24346 final SessionDescription remoteDescription; |
| 24347 |
| 24348 final MediaStreamList remoteStreams; |
| 24349 |
| 24350 void addEventListener(String type, EventListener listener, [bool useCapture]); |
| 24351 |
| 24352 void addStream(MediaStream stream, [String mediaStreamHints]); |
| 24353 |
| 24354 void close(); |
| 24355 |
| 24356 SessionDescription createAnswer(String offer, [String mediaHints]); |
| 24357 |
| 24358 SessionDescription createOffer([String mediaHints]); |
| 24359 |
| 24360 bool dispatchEvent(Event event); |
| 24361 |
| 24362 void processIceMessage(IceCandidate candidate); |
| 24363 |
| 24364 void removeEventListener(String type, EventListener listener, [bool useCapture
]); |
| 24365 |
| 24366 void removeStream(MediaStream stream); |
| 24367 |
| 24368 void setLocalDescription(int action, SessionDescription desc); |
| 24369 |
| 24370 void setRemoteDescription(int action, SessionDescription desc); |
| 24371 |
| 24372 void startIce([String iceOptions]); |
| 24373 } |
| 24374 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24375 // for details. All rights reserved. Use of this source code is governed by a |
| 24376 // BSD-style license that can be found in the LICENSE file. |
| 24377 |
| 24378 // WARNING: Do not edit - generated code. |
| 24379 |
| 24200 interface Performance { | 24380 interface Performance { |
| 24201 | 24381 |
| 24202 final MemoryInfo memory; | 24382 final MemoryInfo memory; |
| 24203 | 24383 |
| 24204 final PerformanceNavigation navigation; | 24384 final PerformanceNavigation navigation; |
| 24205 | 24385 |
| 24206 final PerformanceTiming timing; | 24386 final PerformanceTiming timing; |
| 24207 } | 24387 } |
| 24208 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 24388 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 24209 // for details. All rights reserved. Use of this source code is governed by a | 24389 // for details. All rights reserved. Use of this source code is governed by a |
| (...skipping 3190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 27400 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 27580 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 27401 // for details. All rights reserved. Use of this source code is governed by a | 27581 // for details. All rights reserved. Use of this source code is governed by a |
| 27402 // BSD-style license that can be found in the LICENSE file. | 27582 // BSD-style license that can be found in the LICENSE file. |
| 27403 | 27583 |
| 27404 // WARNING: Do not edit - generated code. | 27584 // WARNING: Do not edit - generated code. |
| 27405 | 27585 |
| 27406 interface ScriptProfileNode { | 27586 interface ScriptProfileNode { |
| 27407 | 27587 |
| 27408 final int callUID; | 27588 final int callUID; |
| 27409 | 27589 |
| 27410 final List children; | 27590 final List<ScriptProfileNode> children; |
| 27411 | 27591 |
| 27412 final String functionName; | 27592 final String functionName; |
| 27413 | 27593 |
| 27414 final int lineNumber; | 27594 final int lineNumber; |
| 27415 | 27595 |
| 27416 final int numberOfCalls; | 27596 final int numberOfCalls; |
| 27417 | 27597 |
| 27418 final num selfTime; | 27598 final num selfTime; |
| 27419 | 27599 |
| 27420 final num totalTime; | 27600 final num totalTime; |
| (...skipping 4302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 31723 if (length < 0) throw new IllegalArgumentException('length'); | 31903 if (length < 0) throw new IllegalArgumentException('length'); |
| 31724 if (start < 0) throw new IndexOutOfRangeException(start); | 31904 if (start < 0) throw new IndexOutOfRangeException(start); |
| 31725 int end = start + length; | 31905 int end = start + length; |
| 31726 if (end > a.length) throw new IndexOutOfRangeException(end); | 31906 if (end > a.length) throw new IndexOutOfRangeException(end); |
| 31727 for (int i = start; i < end; i++) { | 31907 for (int i = start; i < end; i++) { |
| 31728 accumulator.add(a[i]); | 31908 accumulator.add(a[i]); |
| 31729 } | 31909 } |
| 31730 return accumulator; | 31910 return accumulator; |
| 31731 } | 31911 } |
| 31732 } | 31912 } |
| OLD | NEW |