OLD | NEW |
1 #library('dom'); | 1 #library('dom'); |
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 DOM library with no implementation. | 8 // Auto-generated Dart DOM library with no implementation. |
9 | 9 |
10 | 10 |
11 | 11 |
12 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 12 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
13 // for details. All rights reserved. Use of this source code is governed by a | 13 // for details. All rights reserved. Use of this source code is governed by a |
14 // BSD-style license that can be found in the LICENSE file. | 14 // BSD-style license that can be found in the LICENSE file. |
15 | 15 |
16 class _DOMParserFactoryProvider { | 16 class _DOMParserFactoryProvider { |
17 factory DOMParser() => _dummy(); | 17 factory DOMParser() => _dummy(); |
18 } | 18 } |
19 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 19 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
20 // for details. All rights reserved. Use of this source code is governed by a | 20 // for details. All rights reserved. Use of this source code is governed by a |
21 // BSD-style license that can be found in the LICENSE file. | 21 // BSD-style license that can be found in the LICENSE file. |
22 | 22 |
23 class _DOMURLFactoryProvider { | 23 class _DOMURLFactoryProvider { |
24 factory DOMURL() => _dummy(); | 24 factory DOMURL() => _dummy(); |
25 } | 25 } |
26 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 26 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
27 // for details. All rights reserved. Use of this source code is governed by a | 27 // for details. All rights reserved. Use of this source code is governed by a |
28 // BSD-style license that can be found in the LICENSE file. | 28 // BSD-style license that can be found in the LICENSE file. |
29 | 29 |
| 30 class _DeprecatedPeerConnectionFactoryProvider { |
| 31 factory DeprecatedPeerConnection(String serverConfiguration, SignalingCallback
signalingCallback) => _dummy(); |
| 32 } |
| 33 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 34 // for details. All rights reserved. Use of this source code is governed by a |
| 35 // BSD-style license that can be found in the LICENSE file. |
| 36 |
30 class _EventSourceFactoryProvider { | 37 class _EventSourceFactoryProvider { |
31 factory EventSource(String scriptUrl) => _dummy(); | 38 factory EventSource(String scriptUrl) => _dummy(); |
32 } | 39 } |
33 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 40 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
34 // for details. All rights reserved. Use of this source code is governed by a | 41 // for details. All rights reserved. Use of this source code is governed by a |
35 // BSD-style license that can be found in the LICENSE file. | 42 // BSD-style license that can be found in the LICENSE file. |
36 | 43 |
37 class _FileReaderFactoryProvider { | 44 class _FileReaderFactoryProvider { |
38 factory FileReader() => _dummy(); | 45 factory FileReader() => _dummy(); |
39 } | 46 } |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 // for details. All rights reserved. Use of this source code is governed by a | 83 // for details. All rights reserved. Use of this source code is governed by a |
77 // BSD-style license that can be found in the LICENSE file. | 84 // BSD-style license that can be found in the LICENSE file. |
78 | 85 |
79 class _MessageChannelFactoryProvider { | 86 class _MessageChannelFactoryProvider { |
80 factory MessageChannel() => _dummy(); | 87 factory MessageChannel() => _dummy(); |
81 } | 88 } |
82 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 89 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
83 // for details. All rights reserved. Use of this source code is governed by a | 90 // for details. All rights reserved. Use of this source code is governed by a |
84 // BSD-style license that can be found in the LICENSE file. | 91 // BSD-style license that can be found in the LICENSE file. |
85 | 92 |
86 class _PeerConnectionFactoryProvider { | |
87 factory PeerConnection(String serverConfiguration, SignalingCallback signaling
Callback) => _dummy(); | |
88 } | |
89 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
90 // for details. All rights reserved. Use of this source code is governed by a | |
91 // BSD-style license that can be found in the LICENSE file. | |
92 | |
93 class _ShadowRootFactoryProvider { | 93 class _ShadowRootFactoryProvider { |
94 factory ShadowRoot(Element host) => _dummy(); | 94 factory ShadowRoot(Element host) => _dummy(); |
95 } | 95 } |
96 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 96 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
97 // for details. All rights reserved. Use of this source code is governed by a | 97 // for details. All rights reserved. Use of this source code is governed by a |
98 // BSD-style license that can be found in the LICENSE file. | 98 // BSD-style license that can be found in the LICENSE file. |
99 | 99 |
100 class _SharedWorkerFactoryProvider { | 100 class _SharedWorkerFactoryProvider { |
101 factory SharedWorker(String scriptURL, [String name = null]) => _dummy(); | 101 factory SharedWorker(String scriptURL, [String name = null]) => _dummy(); |
102 } | 102 } |
103 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 103 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
104 // for details. All rights reserved. Use of this source code is governed by a | 104 // for details. All rights reserved. Use of this source code is governed by a |
| 105 // BSD-style license that can be found in the LICENSE file. |
| 106 |
| 107 class _SpeechGrammarFactoryProvider { |
| 108 factory SpeechGrammar() => _dummy(); |
| 109 } |
| 110 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 111 // for details. All rights reserved. Use of this source code is governed by a |
| 112 // BSD-style license that can be found in the LICENSE file. |
| 113 |
| 114 class _SpeechGrammarListFactoryProvider { |
| 115 factory SpeechGrammarList() => _dummy(); |
| 116 } |
| 117 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 118 // for details. All rights reserved. Use of this source code is governed by a |
105 // BSD-style license that can be found in the LICENSE file. | 119 // BSD-style license that can be found in the LICENSE file. |
106 | 120 |
107 class _TextTrackCueFactoryProvider { | 121 class _TextTrackCueFactoryProvider { |
108 factory TextTrackCue(String id, num startTime, num endTime, String text, [Stri
ng settings = null, bool pauseOnExit = null]) => _dummy(); | 122 factory TextTrackCue(String id, num startTime, num endTime, String text, [Stri
ng settings = null, bool pauseOnExit = null]) => _dummy(); |
109 } | 123 } |
110 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 124 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
111 // for details. All rights reserved. Use of this source code is governed by a | 125 // for details. All rights reserved. Use of this source code is governed by a |
112 // BSD-style license that can be found in the LICENSE file. | 126 // BSD-style license that can be found in the LICENSE file. |
113 | 127 |
114 class _WebKitBlobBuilderFactoryProvider { | 128 class _WebKitBlobBuilderFactoryProvider { |
(...skipping 1840 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1955 interface DelayNode extends AudioNode { | 1969 interface DelayNode extends AudioNode { |
1956 | 1970 |
1957 final AudioParam delayTime; | 1971 final AudioParam delayTime; |
1958 } | 1972 } |
1959 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1973 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
1960 // for details. All rights reserved. Use of this source code is governed by a | 1974 // for details. All rights reserved. Use of this source code is governed by a |
1961 // BSD-style license that can be found in the LICENSE file. | 1975 // BSD-style license that can be found in the LICENSE file. |
1962 | 1976 |
1963 // WARNING: Do not edit - generated code. | 1977 // WARNING: Do not edit - generated code. |
1964 | 1978 |
| 1979 interface DeprecatedPeerConnection default _DeprecatedPeerConnectionFactoryProvi
der { |
| 1980 |
| 1981 DeprecatedPeerConnection(String serverConfiguration, SignalingCallback signali
ngCallback); |
| 1982 |
| 1983 static final int ACTIVE = 2; |
| 1984 |
| 1985 static final int CLOSED = 3; |
| 1986 |
| 1987 static final int NEGOTIATING = 1; |
| 1988 |
| 1989 static final int NEW = 0; |
| 1990 |
| 1991 final MediaStreamList localStreams; |
| 1992 |
| 1993 EventListener onaddstream; |
| 1994 |
| 1995 EventListener onconnecting; |
| 1996 |
| 1997 EventListener onmessage; |
| 1998 |
| 1999 EventListener onopen; |
| 2000 |
| 2001 EventListener onremovestream; |
| 2002 |
| 2003 EventListener onstatechange; |
| 2004 |
| 2005 final int readyState; |
| 2006 |
| 2007 final MediaStreamList remoteStreams; |
| 2008 |
| 2009 void addEventListener(String type, EventListener listener, [bool useCapture]); |
| 2010 |
| 2011 void addStream(MediaStream stream); |
| 2012 |
| 2013 void close(); |
| 2014 |
| 2015 bool dispatchEvent(Event event); |
| 2016 |
| 2017 void processSignalingMessage(String message); |
| 2018 |
| 2019 void removeEventListener(String type, EventListener listener, [bool useCapture
]); |
| 2020 |
| 2021 void removeStream(MediaStream stream); |
| 2022 |
| 2023 void send(String text); |
| 2024 } |
| 2025 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2026 // for details. All rights reserved. Use of this source code is governed by a |
| 2027 // BSD-style license that can be found in the LICENSE file. |
| 2028 |
| 2029 // WARNING: Do not edit - generated code. |
| 2030 |
1965 interface DeviceMotionEvent extends Event { | 2031 interface DeviceMotionEvent extends Event { |
1966 | 2032 |
1967 final num interval; | 2033 final num interval; |
1968 } | 2034 } |
1969 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 2035 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
1970 // for details. All rights reserved. Use of this source code is governed by a | 2036 // for details. All rights reserved. Use of this source code is governed by a |
1971 // BSD-style license that can be found in the LICENSE file. | 2037 // BSD-style license that can be found in the LICENSE file. |
1972 | 2038 |
1973 // WARNING: Do not edit - generated code. | 2039 // WARNING: Do not edit - generated code. |
1974 | 2040 |
(...skipping 4269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6244 interface PageTransitionEvent extends Event { | 6310 interface PageTransitionEvent extends Event { |
6245 | 6311 |
6246 final bool persisted; | 6312 final bool persisted; |
6247 } | 6313 } |
6248 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6314 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
6249 // for details. All rights reserved. Use of this source code is governed by a | 6315 // for details. All rights reserved. Use of this source code is governed by a |
6250 // BSD-style license that can be found in the LICENSE file. | 6316 // BSD-style license that can be found in the LICENSE file. |
6251 | 6317 |
6252 // WARNING: Do not edit - generated code. | 6318 // WARNING: Do not edit - generated code. |
6253 | 6319 |
6254 interface PeerConnection default _PeerConnectionFactoryProvider { | |
6255 | |
6256 PeerConnection(String serverConfiguration, SignalingCallback signalingCallback
); | |
6257 | |
6258 static final int ACTIVE = 2; | |
6259 | |
6260 static final int CLOSED = 3; | |
6261 | |
6262 static final int NEGOTIATING = 1; | |
6263 | |
6264 static final int NEW = 0; | |
6265 | |
6266 final MediaStreamList localStreams; | |
6267 | |
6268 EventListener onaddstream; | |
6269 | |
6270 EventListener onconnecting; | |
6271 | |
6272 EventListener onmessage; | |
6273 | |
6274 EventListener onopen; | |
6275 | |
6276 EventListener onremovestream; | |
6277 | |
6278 EventListener onstatechange; | |
6279 | |
6280 final int readyState; | |
6281 | |
6282 final MediaStreamList remoteStreams; | |
6283 | |
6284 void addEventListener(String type, EventListener listener, [bool useCapture]); | |
6285 | |
6286 void addStream(MediaStream stream); | |
6287 | |
6288 void close(); | |
6289 | |
6290 bool dispatchEvent(Event event); | |
6291 | |
6292 void processSignalingMessage(String message); | |
6293 | |
6294 void removeEventListener(String type, EventListener listener, [bool useCapture
]); | |
6295 | |
6296 void removeStream(MediaStream stream); | |
6297 | |
6298 void send(String text); | |
6299 } | |
6300 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
6301 // for details. All rights reserved. Use of this source code is governed by a | |
6302 // BSD-style license that can be found in the LICENSE file. | |
6303 | |
6304 // WARNING: Do not edit - generated code. | |
6305 | |
6306 interface Performance { | 6320 interface Performance { |
6307 | 6321 |
6308 final MemoryInfo memory; | 6322 final MemoryInfo memory; |
6309 | 6323 |
6310 final PerformanceNavigation navigation; | 6324 final PerformanceNavigation navigation; |
6311 | 6325 |
6312 final PerformanceTiming timing; | 6326 final PerformanceTiming timing; |
6313 } | 6327 } |
6314 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6328 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
6315 // for details. All rights reserved. Use of this source code is governed by a | 6329 // for details. All rights reserved. Use of this source code is governed by a |
(...skipping 3105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9421 } | 9435 } |
9422 | 9436 |
9423 interface SharedWorkerContext extends SharedWorkerGlobalScope { | 9437 interface SharedWorkerContext extends SharedWorkerGlobalScope { |
9424 } | 9438 } |
9425 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 9439 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
9426 // for details. All rights reserved. Use of this source code is governed by a | 9440 // for details. All rights reserved. Use of this source code is governed by a |
9427 // BSD-style license that can be found in the LICENSE file. | 9441 // BSD-style license that can be found in the LICENSE file. |
9428 | 9442 |
9429 // WARNING: Do not edit - generated code. | 9443 // WARNING: Do not edit - generated code. |
9430 | 9444 |
9431 typedef bool SignalingCallback(String message, PeerConnection source); | 9445 typedef bool SignalingCallback(String message, DeprecatedPeerConnection source); |
9432 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 9446 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
9433 // for details. All rights reserved. Use of this source code is governed by a | 9447 // for details. All rights reserved. Use of this source code is governed by a |
9434 // BSD-style license that can be found in the LICENSE file. | 9448 // BSD-style license that can be found in the LICENSE file. |
| 9449 |
| 9450 // WARNING: Do not edit - generated code. |
| 9451 |
| 9452 interface SpeechGrammar default _SpeechGrammarFactoryProvider { |
| 9453 |
| 9454 SpeechGrammar(); |
| 9455 |
| 9456 num weight; |
| 9457 } |
| 9458 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 9459 // for details. All rights reserved. Use of this source code is governed by a |
| 9460 // BSD-style license that can be found in the LICENSE file. |
| 9461 |
| 9462 // WARNING: Do not edit - generated code. |
| 9463 |
| 9464 interface SpeechGrammarList default _SpeechGrammarListFactoryProvider { |
| 9465 |
| 9466 SpeechGrammarList(); |
| 9467 |
| 9468 final int length; |
| 9469 |
| 9470 void addFromString(String string, [num weight]); |
| 9471 |
| 9472 void addFromUri(String src, [num weight]); |
| 9473 |
| 9474 SpeechGrammar item(int index); |
| 9475 } |
| 9476 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 9477 // for details. All rights reserved. Use of this source code is governed by a |
| 9478 // BSD-style license that can be found in the LICENSE file. |
9435 | 9479 |
9436 // WARNING: Do not edit - generated code. | 9480 // WARNING: Do not edit - generated code. |
9437 | 9481 |
9438 interface SpeechInputEvent extends Event { | 9482 interface SpeechInputEvent extends Event { |
9439 | 9483 |
9440 final SpeechInputResultList results; | 9484 final SpeechInputResultList results; |
9441 } | 9485 } |
9442 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 9486 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
9443 // for details. All rights reserved. Use of this source code is governed by a | 9487 // for details. All rights reserved. Use of this source code is governed by a |
9444 // BSD-style license that can be found in the LICENSE file. | 9488 // BSD-style license that can be found in the LICENSE file. |
(...skipping 17 matching lines...) Expand all Loading... |
9462 final int length; | 9506 final int length; |
9463 | 9507 |
9464 SpeechInputResult item(int index); | 9508 SpeechInputResult item(int index); |
9465 } | 9509 } |
9466 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 9510 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
9467 // for details. All rights reserved. Use of this source code is governed by a | 9511 // for details. All rights reserved. Use of this source code is governed by a |
9468 // BSD-style license that can be found in the LICENSE file. | 9512 // BSD-style license that can be found in the LICENSE file. |
9469 | 9513 |
9470 // WARNING: Do not edit - generated code. | 9514 // WARNING: Do not edit - generated code. |
9471 | 9515 |
| 9516 interface SpeechRecognitionAlternative { |
| 9517 |
| 9518 final num confidence; |
| 9519 |
| 9520 final String transcript; |
| 9521 } |
| 9522 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 9523 // for details. All rights reserved. Use of this source code is governed by a |
| 9524 // BSD-style license that can be found in the LICENSE file. |
| 9525 |
| 9526 // WARNING: Do not edit - generated code. |
| 9527 |
| 9528 interface SpeechRecognitionError { |
| 9529 |
| 9530 static final int ABORTED = 2; |
| 9531 |
| 9532 static final int AUDIO_CAPTURE = 3; |
| 9533 |
| 9534 static final int BAD_GRAMMAR = 7; |
| 9535 |
| 9536 static final int LANGUAGE_NOT_SUPPORTED = 8; |
| 9537 |
| 9538 static final int NETWORK = 4; |
| 9539 |
| 9540 static final int NOT_ALLOWED = 5; |
| 9541 |
| 9542 static final int NO_SPEECH = 1; |
| 9543 |
| 9544 static final int OTHER = 0; |
| 9545 |
| 9546 static final int SERVICE_NOT_ALLOWED = 6; |
| 9547 |
| 9548 final int code; |
| 9549 |
| 9550 final String message; |
| 9551 } |
| 9552 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 9553 // for details. All rights reserved. Use of this source code is governed by a |
| 9554 // BSD-style license that can be found in the LICENSE file. |
| 9555 |
| 9556 // WARNING: Do not edit - generated code. |
| 9557 |
| 9558 interface SpeechRecognitionEvent extends Event { |
| 9559 |
| 9560 final SpeechRecognitionError error; |
| 9561 |
| 9562 final SpeechRecognitionResult result; |
| 9563 |
| 9564 final SpeechRecognitionResultList resultHistory; |
| 9565 |
| 9566 final int resultIndex; |
| 9567 } |
| 9568 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 9569 // for details. All rights reserved. Use of this source code is governed by a |
| 9570 // BSD-style license that can be found in the LICENSE file. |
| 9571 |
| 9572 // WARNING: Do not edit - generated code. |
| 9573 |
| 9574 interface SpeechRecognitionResult { |
| 9575 |
| 9576 final bool finalValue; |
| 9577 |
| 9578 final int length; |
| 9579 |
| 9580 SpeechRecognitionAlternative item(int index); |
| 9581 } |
| 9582 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 9583 // for details. All rights reserved. Use of this source code is governed by a |
| 9584 // BSD-style license that can be found in the LICENSE file. |
| 9585 |
| 9586 // WARNING: Do not edit - generated code. |
| 9587 |
| 9588 interface SpeechRecognitionResultList { |
| 9589 |
| 9590 final int length; |
| 9591 |
| 9592 SpeechRecognitionResult item(int index); |
| 9593 } |
| 9594 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 9595 // for details. All rights reserved. Use of this source code is governed by a |
| 9596 // BSD-style license that can be found in the LICENSE file. |
| 9597 |
| 9598 // WARNING: Do not edit - generated code. |
| 9599 |
9472 interface Storage { | 9600 interface Storage { |
9473 | 9601 |
9474 final int length; | 9602 final int length; |
9475 | 9603 |
9476 void clear(); | 9604 void clear(); |
9477 | 9605 |
9478 String getItem(String key); | 9606 String getItem(String key); |
9479 | 9607 |
9480 String key(int index); | 9608 String key(int index); |
9481 | 9609 |
(...skipping 2958 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
12440 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 12568 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
12441 // for details. All rights reserved. Use of this source code is governed by a | 12569 // for details. All rights reserved. Use of this source code is governed by a |
12442 // BSD-style license that can be found in the LICENSE file. | 12570 // BSD-style license that can be found in the LICENSE file. |
12443 | 12571 |
12444 Window get window() => _dummy(); | 12572 Window get window() => _dummy(); |
12445 | 12573 |
12446 // TODO(vsm): Remove when prefixes are supported. | 12574 // TODO(vsm): Remove when prefixes are supported. |
12447 Window get dom_window() => _dummy(); | 12575 Window get dom_window() => _dummy(); |
12448 | 12576 |
12449 Document get document() => _dummy(); | 12577 Document get document() => _dummy(); |
OLD | NEW |