| OLD | NEW |
| 1 #library('dart:dom_deprecated'); | 1 #library('dart:dom_deprecated'); |
| 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 |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 // 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 |
| 42 // BSD-style license that can be found in the LICENSE file. | 42 // BSD-style license that can be found in the LICENSE file. |
| 43 | 43 |
| 44 class _DataViewFactoryProvider { | 44 class _DataViewFactoryProvider { |
| 45 factory DataView(ArrayBuffer buffer, [int byteOffset, int byteLength]) => _dum
my(); | 45 factory DataView(ArrayBuffer buffer, [int byteOffset, int byteLength]) => _dum
my(); |
| 46 } | 46 } |
| 47 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 47 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 48 // for details. All rights reserved. Use of this source code is governed by a | 48 // for details. All rights reserved. Use of this source code is governed by a |
| 49 // BSD-style license that can be found in the LICENSE file. | 49 // BSD-style license that can be found in the LICENSE file. |
| 50 | 50 |
| 51 class _DeprecatedPeerConnectionFactoryProvider { | |
| 52 factory DeprecatedPeerConnection(String serverConfiguration, SignalingCallback
signalingCallback) => _dummy(); | |
| 53 } | |
| 54 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
| 55 // for details. All rights reserved. Use of this source code is governed by a | |
| 56 // BSD-style license that can be found in the LICENSE file. | |
| 57 | |
| 58 class _EventSourceFactoryProvider { | 51 class _EventSourceFactoryProvider { |
| 59 factory EventSource(String scriptUrl) => _dummy(); | 52 factory EventSource(String scriptUrl) => _dummy(); |
| 60 } | 53 } |
| 61 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 54 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 62 // for details. All rights reserved. Use of this source code is governed by a | 55 // for details. All rights reserved. Use of this source code is governed by a |
| 63 // BSD-style license that can be found in the LICENSE file. | 56 // BSD-style license that can be found in the LICENSE file. |
| 64 | 57 |
| 65 class _FileReaderFactoryProvider { | 58 class _FileReaderFactoryProvider { |
| 66 factory FileReader() => _dummy(); | 59 factory FileReader() => _dummy(); |
| 67 } | 60 } |
| (...skipping 2029 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2097 interface DelayNode extends AudioNode { | 2090 interface DelayNode extends AudioNode { |
| 2098 | 2091 |
| 2099 final AudioParam delayTime; | 2092 final AudioParam delayTime; |
| 2100 } | 2093 } |
| 2101 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 2094 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2102 // for details. All rights reserved. Use of this source code is governed by a | 2095 // for details. All rights reserved. Use of this source code is governed by a |
| 2103 // BSD-style license that can be found in the LICENSE file. | 2096 // BSD-style license that can be found in the LICENSE file. |
| 2104 | 2097 |
| 2105 // WARNING: Do not edit - generated code. | 2098 // WARNING: Do not edit - generated code. |
| 2106 | 2099 |
| 2107 interface DeprecatedPeerConnection extends EventTarget default _DeprecatedPeerCo
nnectionFactoryProvider { | |
| 2108 | |
| 2109 DeprecatedPeerConnection(String serverConfiguration, SignalingCallback signali
ngCallback); | |
| 2110 | |
| 2111 static final int ACTIVE = 2; | |
| 2112 | |
| 2113 static final int CLOSED = 3; | |
| 2114 | |
| 2115 static final int NEGOTIATING = 1; | |
| 2116 | |
| 2117 static final int NEW = 0; | |
| 2118 | |
| 2119 final MediaStreamList localStreams; | |
| 2120 | |
| 2121 final int readyState; | |
| 2122 | |
| 2123 final MediaStreamList remoteStreams; | |
| 2124 | |
| 2125 void addEventListener(String type, EventListener listener, [bool useCapture]); | |
| 2126 | |
| 2127 void addStream(MediaStream stream); | |
| 2128 | |
| 2129 void close(); | |
| 2130 | |
| 2131 bool dispatchEvent(Event event); | |
| 2132 | |
| 2133 void processSignalingMessage(String message); | |
| 2134 | |
| 2135 void removeEventListener(String type, EventListener listener, [bool useCapture
]); | |
| 2136 | |
| 2137 void removeStream(MediaStream stream); | |
| 2138 | |
| 2139 void send(String text); | |
| 2140 } | |
| 2141 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
| 2142 // for details. All rights reserved. Use of this source code is governed by a | |
| 2143 // BSD-style license that can be found in the LICENSE file. | |
| 2144 | |
| 2145 // WARNING: Do not edit - generated code. | |
| 2146 | |
| 2147 interface DeviceMotionEvent extends Event { | 2100 interface DeviceMotionEvent extends Event { |
| 2148 | 2101 |
| 2149 final num interval; | 2102 final num interval; |
| 2150 } | 2103 } |
| 2151 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 2104 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2152 // for details. All rights reserved. Use of this source code is governed by a | 2105 // for details. All rights reserved. Use of this source code is governed by a |
| 2153 // BSD-style license that can be found in the LICENSE file. | 2106 // BSD-style license that can be found in the LICENSE file. |
| 2154 | 2107 |
| 2155 // WARNING: Do not edit - generated code. | 2108 // WARNING: Do not edit - generated code. |
| 2156 | 2109 |
| (...skipping 3022 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5179 // BSD-style license that can be found in the LICENSE file. | 5132 // BSD-style license that can be found in the LICENSE file. |
| 5180 | 5133 |
| 5181 // WARNING: Do not edit - generated code. | 5134 // WARNING: Do not edit - generated code. |
| 5182 | 5135 |
| 5183 interface IDBDatabase extends EventTarget { | 5136 interface IDBDatabase extends EventTarget { |
| 5184 | 5137 |
| 5185 final String name; | 5138 final String name; |
| 5186 | 5139 |
| 5187 final List<String> objectStoreNames; | 5140 final List<String> objectStoreNames; |
| 5188 | 5141 |
| 5189 final String version; | 5142 final /*IDBAny*/ version; |
| 5190 | 5143 |
| 5191 void addEventListener(String type, EventListener listener, [bool useCapture]); | 5144 void addEventListener(String type, EventListener listener, [bool useCapture]); |
| 5192 | 5145 |
| 5193 void close(); | 5146 void close(); |
| 5194 | 5147 |
| 5195 IDBObjectStore createObjectStore(String name, [Map options]); | 5148 IDBObjectStore createObjectStore(String name, [Map options]); |
| 5196 | 5149 |
| 5197 void deleteObjectStore(String name); | 5150 void deleteObjectStore(String name); |
| 5198 | 5151 |
| 5199 bool dispatchEvent(Event evt); | 5152 bool dispatchEvent(Event evt); |
| (...skipping 666 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5866 final int length; | 5819 final int length; |
| 5867 | 5820 |
| 5868 MediaStream item(int index); | 5821 MediaStream item(int index); |
| 5869 } | 5822 } |
| 5870 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5823 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5871 // for details. All rights reserved. Use of this source code is governed by a | 5824 // for details. All rights reserved. Use of this source code is governed by a |
| 5872 // BSD-style license that can be found in the LICENSE file. | 5825 // BSD-style license that can be found in the LICENSE file. |
| 5873 | 5826 |
| 5874 // WARNING: Do not edit - generated code. | 5827 // WARNING: Do not edit - generated code. |
| 5875 | 5828 |
| 5876 interface MediaStreamTrack { | 5829 interface MediaStreamTrack extends EventTarget { |
| 5830 |
| 5831 static final int ENDED = 2; |
| 5832 |
| 5833 static final int LIVE = 0; |
| 5834 |
| 5835 static final int MUTED = 1; |
| 5877 | 5836 |
| 5878 bool enabled; | 5837 bool enabled; |
| 5879 | 5838 |
| 5880 final String kind; | 5839 final String kind; |
| 5881 | 5840 |
| 5882 final String label; | 5841 final String label; |
| 5842 |
| 5843 final int readyState; |
| 5844 |
| 5845 void addEventListener(String type, EventListener listener, [bool useCapture]); |
| 5846 |
| 5847 bool dispatchEvent(Event event); |
| 5848 |
| 5849 void removeEventListener(String type, EventListener listener, [bool useCapture
]); |
| 5883 } | 5850 } |
| 5884 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5851 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5885 // for details. All rights reserved. Use of this source code is governed by a | 5852 // for details. All rights reserved. Use of this source code is governed by a |
| 5886 // BSD-style license that can be found in the LICENSE file. | 5853 // BSD-style license that can be found in the LICENSE file. |
| 5887 | 5854 |
| 5888 // WARNING: Do not edit - generated code. | 5855 // WARNING: Do not edit - generated code. |
| 5889 | 5856 |
| 5890 interface MediaStreamTrackEvent extends Event { | 5857 interface MediaStreamTrackEvent extends Event { |
| 5891 | 5858 |
| 5892 final MediaStreamTrack track; | 5859 final MediaStreamTrack track; |
| (...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6184 final String productSub; | 6151 final String productSub; |
| 6185 | 6152 |
| 6186 final String userAgent; | 6153 final String userAgent; |
| 6187 | 6154 |
| 6188 final String vendor; | 6155 final String vendor; |
| 6189 | 6156 |
| 6190 final String vendorSub; | 6157 final String vendorSub; |
| 6191 | 6158 |
| 6192 final BatteryManager webkitBattery; | 6159 final BatteryManager webkitBattery; |
| 6193 | 6160 |
| 6194 final GamepadList webkitGamepads; | |
| 6195 | |
| 6196 final PointerLock webkitPointer; | 6161 final PointerLock webkitPointer; |
| 6197 | 6162 |
| 6198 void getStorageUpdates(); | 6163 void getStorageUpdates(); |
| 6199 | 6164 |
| 6200 bool javaEnabled(); | 6165 bool javaEnabled(); |
| 6201 | 6166 |
| 6167 GamepadList webkitGetGamepads(); |
| 6168 |
| 6202 void webkitGetUserMedia(Map options, NavigatorUserMediaSuccessCallback success
Callback, [NavigatorUserMediaErrorCallback errorCallback]); | 6169 void webkitGetUserMedia(Map options, NavigatorUserMediaSuccessCallback success
Callback, [NavigatorUserMediaErrorCallback errorCallback]); |
| 6203 } | 6170 } |
| 6204 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6171 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 6205 // for details. All rights reserved. Use of this source code is governed by a | 6172 // for details. All rights reserved. Use of this source code is governed by a |
| 6206 // BSD-style license that can be found in the LICENSE file. | 6173 // BSD-style license that can be found in the LICENSE file. |
| 6207 | 6174 |
| 6208 // WARNING: Do not edit - generated code. | 6175 // WARNING: Do not edit - generated code. |
| 6209 | 6176 |
| 6210 interface NavigatorUserMediaError { | 6177 interface NavigatorUserMediaError { |
| 6211 | 6178 |
| (...skipping 3648 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9860 } | 9827 } |
| 9861 | 9828 |
| 9862 interface SharedWorkerContext extends SharedWorkerGlobalScope { | 9829 interface SharedWorkerContext extends SharedWorkerGlobalScope { |
| 9863 } | 9830 } |
| 9864 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 9831 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 9865 // for details. All rights reserved. Use of this source code is governed by a | 9832 // for details. All rights reserved. Use of this source code is governed by a |
| 9866 // BSD-style license that can be found in the LICENSE file. | 9833 // BSD-style license that can be found in the LICENSE file. |
| 9867 | 9834 |
| 9868 // WARNING: Do not edit - generated code. | 9835 // WARNING: Do not edit - generated code. |
| 9869 | 9836 |
| 9870 typedef bool SignalingCallback(String message, DeprecatedPeerConnection source); | 9837 interface SourceBuffer { |
| 9838 |
| 9839 final TimeRanges buffered; |
| 9840 |
| 9841 void abort(); |
| 9842 |
| 9843 void append(Uint8Array data); |
| 9844 } |
| 9871 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 9845 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 9872 // for details. All rights reserved. Use of this source code is governed by a | 9846 // for details. All rights reserved. Use of this source code is governed by a |
| 9873 // BSD-style license that can be found in the LICENSE file. | 9847 // BSD-style license that can be found in the LICENSE file. |
| 9848 |
| 9849 // WARNING: Do not edit - generated code. |
| 9850 |
| 9851 interface SourceBufferList extends EventTarget { |
| 9852 |
| 9853 final int length; |
| 9854 |
| 9855 void addEventListener(String type, EventListener listener, [bool useCapture]); |
| 9856 |
| 9857 bool dispatchEvent(Event event); |
| 9858 |
| 9859 SourceBuffer item(int index); |
| 9860 |
| 9861 void removeEventListener(String type, EventListener listener, [bool useCapture
]); |
| 9862 } |
| 9863 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 9864 // for details. All rights reserved. Use of this source code is governed by a |
| 9865 // BSD-style license that can be found in the LICENSE file. |
| 9874 | 9866 |
| 9875 // WARNING: Do not edit - generated code. | 9867 // WARNING: Do not edit - generated code. |
| 9876 | 9868 |
| 9877 interface SpeechGrammar default _SpeechGrammarFactoryProvider { | 9869 interface SpeechGrammar default _SpeechGrammarFactoryProvider { |
| 9878 | 9870 |
| 9879 SpeechGrammar(); | 9871 SpeechGrammar(); |
| 9880 | 9872 |
| 9881 String src; | 9873 String src; |
| 9882 | 9874 |
| 9883 num weight; | 9875 num weight; |
| (...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10021 final int resultIndex; | 10013 final int resultIndex; |
| 10022 } | 10014 } |
| 10023 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 10015 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 10024 // for details. All rights reserved. Use of this source code is governed by a | 10016 // for details. All rights reserved. Use of this source code is governed by a |
| 10025 // BSD-style license that can be found in the LICENSE file. | 10017 // BSD-style license that can be found in the LICENSE file. |
| 10026 | 10018 |
| 10027 // WARNING: Do not edit - generated code. | 10019 // WARNING: Do not edit - generated code. |
| 10028 | 10020 |
| 10029 interface SpeechRecognitionResult { | 10021 interface SpeechRecognitionResult { |
| 10030 | 10022 |
| 10023 final Document emma; |
| 10024 |
| 10031 final bool finalValue; | 10025 final bool finalValue; |
| 10032 | 10026 |
| 10033 final int length; | 10027 final int length; |
| 10034 | 10028 |
| 10035 SpeechRecognitionAlternative item(int index); | 10029 SpeechRecognitionAlternative item(int index); |
| 10036 } | 10030 } |
| 10037 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 10031 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 10038 // for details. All rights reserved. Use of this source code is governed by a | 10032 // for details. All rights reserved. Use of this source code is governed by a |
| 10039 // BSD-style license that can be found in the LICENSE file. | 10033 // BSD-style license that can be found in the LICENSE file. |
| 10040 | 10034 |
| (...skipping 3005 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 13046 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 13040 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 13047 // for details. All rights reserved. Use of this source code is governed by a | 13041 // for details. All rights reserved. Use of this source code is governed by a |
| 13048 // BSD-style license that can be found in the LICENSE file. | 13042 // BSD-style license that can be found in the LICENSE file. |
| 13049 | 13043 |
| 13050 Window get window() => _dummy(); | 13044 Window get window() => _dummy(); |
| 13051 | 13045 |
| 13052 // TODO(vsm): Remove when prefixes are supported. | 13046 // TODO(vsm): Remove when prefixes are supported. |
| 13053 Window get dom_window() => _dummy(); | 13047 Window get dom_window() => _dummy(); |
| 13054 | 13048 |
| 13055 Document get document() => _dummy(); | 13049 Document get document() => _dummy(); |
| OLD | NEW |