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

Side by Side Diff: client/dom/dom.dart

Issue 9663027: Remove generated directories with 100s of files. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | client/dom/dom_dummy.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #library('dom');
2
1 // 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
2 // 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
3 // BSD-style license that can be found in the LICENSE file. 5 // BSD-style license that can be found in the LICENSE file.
4 6
5 // DO NOT EDIT 7 // DO NOT EDIT
6 // Auto-generated Dart DOM library with no implementation. 8 // Auto-generated Dart DOM library with no implementation.
7 9
8 #library("dom"); 10
9 #source('generated/src/dummy/RegularFactoryProviders.dart'); 11
10 #source('generated/src/interface/AbstractWorker.dart'); 12 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11 #source('generated/src/interface/ArrayBuffer.dart'); 13 // for details. All rights reserved. Use of this source code is governed by a
12 #source('generated/src/interface/ArrayBufferView.dart'); 14 // BSD-style license that can be found in the LICENSE file.
13 #source('generated/src/interface/Attr.dart'); 15
14 #source('generated/src/interface/AudioBuffer.dart'); 16 class _DOMParserFactoryProvider {
15 #source('generated/src/interface/AudioBufferCallback.dart'); 17 factory DOMParser() => _dummy();
16 #source('generated/src/interface/AudioBufferSourceNode.dart'); 18 }
17 #source('generated/src/interface/AudioChannelMerger.dart'); 19 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
18 #source('generated/src/interface/AudioChannelSplitter.dart'); 20 // for details. All rights reserved. Use of this source code is governed by a
19 #source('generated/src/interface/AudioContext.dart'); 21 // BSD-style license that can be found in the LICENSE file.
20 #source('generated/src/interface/AudioDestinationNode.dart'); 22
21 #source('generated/src/interface/AudioGain.dart'); 23 class _DOMURLFactoryProvider {
22 #source('generated/src/interface/AudioGainNode.dart'); 24 factory DOMURL() => _dummy();
23 #source('generated/src/interface/AudioListener.dart'); 25 }
24 #source('generated/src/interface/AudioNode.dart'); 26 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
25 #source('generated/src/interface/AudioPannerNode.dart'); 27 // for details. All rights reserved. Use of this source code is governed by a
26 #source('generated/src/interface/AudioParam.dart'); 28 // BSD-style license that can be found in the LICENSE file.
27 #source('generated/src/interface/AudioProcessingEvent.dart'); 29
28 #source('generated/src/interface/AudioSourceNode.dart'); 30 class _EventSourceFactoryProvider {
29 #source('generated/src/interface/BarInfo.dart'); 31 factory EventSource(String scriptUrl) => _dummy();
30 #source('generated/src/interface/BeforeLoadEvent.dart'); 32 }
31 #source('generated/src/interface/BiquadFilterNode.dart'); 33 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
32 #source('generated/src/interface/Blob.dart'); 34 // for details. All rights reserved. Use of this source code is governed by a
33 #source('generated/src/interface/CDATASection.dart'); 35 // BSD-style license that can be found in the LICENSE file.
34 #source('generated/src/interface/CSSCharsetRule.dart'); 36
35 #source('generated/src/interface/CSSFontFaceRule.dart'); 37 class _FileReaderFactoryProvider {
36 #source('generated/src/interface/CSSImportRule.dart'); 38 factory FileReader() => _dummy();
37 #source('generated/src/interface/CSSMediaRule.dart'); 39 }
38 #source('generated/src/interface/CSSPageRule.dart'); 40 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
39 #source('generated/src/interface/CSSPrimitiveValue.dart'); 41 // for details. All rights reserved. Use of this source code is governed by a
40 #source('generated/src/interface/CSSRule.dart'); 42 // BSD-style license that can be found in the LICENSE file.
41 #source('generated/src/interface/CSSRuleList.dart'); 43
42 #source('generated/src/interface/CSSStyleDeclaration.dart'); 44 class _FileReaderSyncFactoryProvider {
43 #source('generated/src/interface/CSSStyleRule.dart'); 45 factory FileReaderSync() => _dummy();
44 #source('generated/src/interface/CSSStyleSheet.dart'); 46 }
45 #source('generated/src/interface/CSSUnknownRule.dart'); 47 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
46 #source('generated/src/interface/CSSValue.dart'); 48 // for details. All rights reserved. Use of this source code is governed by a
47 #source('generated/src/interface/CSSValueList.dart'); 49 // BSD-style license that can be found in the LICENSE file.
48 #source('generated/src/interface/CanvasGradient.dart'); 50
49 #source('generated/src/interface/CanvasPattern.dart'); 51 class _HTMLAudioElementFactoryProvider {
50 #source('generated/src/interface/CanvasPixelArray.dart'); 52 factory HTMLAudioElement([String src = null]) => _dummy();
51 #source('generated/src/interface/CanvasRenderingContext.dart'); 53 }
52 #source('generated/src/interface/CanvasRenderingContext2D.dart'); 54 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
53 #source('generated/src/interface/CharacterData.dart'); 55 // for details. All rights reserved. Use of this source code is governed by a
54 #source('generated/src/interface/ClientRect.dart'); 56 // BSD-style license that can be found in the LICENSE file.
55 #source('generated/src/interface/ClientRectList.dart'); 57
56 #source('generated/src/interface/Clipboard.dart'); 58 class _HTMLOptionElementFactoryProvider {
57 #source('generated/src/interface/CloseEvent.dart'); 59 factory HTMLOptionElement([String data = null, String value = null, bool defau ltSelected = null, bool selected = null]) => _dummy();
58 #source('generated/src/interface/Comment.dart'); 60 }
59 #source('generated/src/interface/CompositionEvent.dart'); 61 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
60 #source('generated/src/interface/Console.dart'); 62 // for details. All rights reserved. Use of this source code is governed by a
61 #source('generated/src/interface/ConvolverNode.dart'); 63 // BSD-style license that can be found in the LICENSE file.
62 #source('generated/src/interface/Coordinates.dart'); 64
63 #source('generated/src/interface/Counter.dart'); 65 class _MediaStreamFactoryProvider {
64 #source('generated/src/interface/Crypto.dart'); 66 factory MediaStream(MediaStreamTrackList audioTracks, MediaStreamTrackList vid eoTracks) => _dummy();
65 #source('generated/src/interface/CustomEvent.dart'); 67 }
66 #source('generated/src/interface/DOMApplicationCache.dart'); 68 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
67 #source('generated/src/interface/DOMException.dart'); 69 // for details. All rights reserved. Use of this source code is governed by a
68 #source('generated/src/interface/DOMFileSystem.dart'); 70 // BSD-style license that can be found in the LICENSE file.
69 #source('generated/src/interface/DOMFileSystemSync.dart'); 71
70 #source('generated/src/interface/DOMFormData.dart'); 72 class _MediaControllerFactoryProvider {
71 #source('generated/src/interface/DOMImplementation.dart'); 73 factory MediaController() => _dummy();
72 #source('generated/src/interface/DOMMimeType.dart'); 74 }
73 #source('generated/src/interface/DOMMimeTypeArray.dart'); 75 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
74 #source('generated/src/interface/DOMParser.dart'); 76 // for details. All rights reserved. Use of this source code is governed by a
75 #source('generated/src/interface/DOMPlugin.dart'); 77 // BSD-style license that can be found in the LICENSE file.
76 #source('generated/src/interface/DOMPluginArray.dart'); 78
77 #source('generated/src/interface/DOMSelection.dart'); 79 class _MessageChannelFactoryProvider {
78 #source('generated/src/interface/DOMSettableTokenList.dart'); 80 factory MessageChannel() => _dummy();
79 #source('generated/src/interface/DOMTokenList.dart'); 81 }
80 #source('generated/src/interface/DOMURL.dart'); 82 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
81 #source('generated/src/interface/DOMWindow.dart'); 83 // for details. All rights reserved. Use of this source code is governed by a
82 #source('generated/src/interface/DataTransferItem.dart'); 84 // BSD-style license that can be found in the LICENSE file.
83 #source('generated/src/interface/DataTransferItemList.dart'); 85
84 #source('generated/src/interface/DataView.dart'); 86 class _PeerConnectionFactoryProvider {
85 #source('generated/src/interface/Database.dart'); 87 factory PeerConnection(String serverConfiguration, SignalingCallback signaling Callback) => _dummy();
86 #source('generated/src/interface/DatabaseCallback.dart'); 88 }
87 #source('generated/src/interface/DatabaseSync.dart'); 89 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
88 #source('generated/src/interface/DedicatedWorkerContext.dart'); 90 // for details. All rights reserved. Use of this source code is governed by a
89 #source('generated/src/interface/DelayNode.dart'); 91 // BSD-style license that can be found in the LICENSE file.
90 #source('generated/src/interface/DeviceMotionEvent.dart'); 92
91 #source('generated/src/interface/DeviceOrientationEvent.dart'); 93 class _ShadowRootFactoryProvider {
92 #source('generated/src/interface/DirectoryEntry.dart'); 94 factory ShadowRoot(Element host) => _dummy();
93 #source('generated/src/interface/DirectoryEntrySync.dart'); 95 }
94 #source('generated/src/interface/DirectoryReader.dart'); 96 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
95 #source('generated/src/interface/DirectoryReaderSync.dart'); 97 // for details. All rights reserved. Use of this source code is governed by a
96 #source('generated/src/interface/Document.dart'); 98 // BSD-style license that can be found in the LICENSE file.
97 #source('generated/src/interface/DocumentFragment.dart'); 99
98 #source('generated/src/interface/DocumentType.dart'); 100 class _SharedWorkerFactoryProvider {
99 #source('generated/src/interface/DynamicsCompressorNode.dart'); 101 factory SharedWorker(String scriptURL, [String name = null]) => _dummy();
100 #source('generated/src/interface/Element.dart'); 102 }
101 #source('generated/src/interface/ElementTimeControl.dart'); 103 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
102 #source('generated/src/interface/ElementTraversal.dart'); 104 // for details. All rights reserved. Use of this source code is governed by a
103 #source('generated/src/interface/Entity.dart'); 105 // BSD-style license that can be found in the LICENSE file.
104 #source('generated/src/interface/EntityReference.dart'); 106
105 #source('generated/src/interface/EntriesCallback.dart'); 107 class _TextTrackCueFactoryProvider {
106 #source('generated/src/interface/Entry.dart'); 108 factory TextTrackCue(String id, num startTime, num endTime, String text, [Stri ng settings = null, bool pauseOnExit = null]) => _dummy();
107 #source('generated/src/interface/EntryArray.dart'); 109 }
108 #source('generated/src/interface/EntryArraySync.dart'); 110 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
109 #source('generated/src/interface/EntryCallback.dart'); 111 // for details. All rights reserved. Use of this source code is governed by a
110 #source('generated/src/interface/EntrySync.dart'); 112 // BSD-style license that can be found in the LICENSE file.
111 #source('generated/src/interface/ErrorCallback.dart'); 113
112 #source('generated/src/interface/ErrorEvent.dart'); 114 class _WebKitBlobBuilderFactoryProvider {
113 #source('generated/src/interface/Event.dart'); 115 factory WebKitBlobBuilder() => _dummy();
114 #source('generated/src/interface/EventException.dart'); 116 }
115 #source('generated/src/interface/EventSource.dart'); 117 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
116 #source('generated/src/interface/EventTarget.dart'); 118 // for details. All rights reserved. Use of this source code is governed by a
117 #source('generated/src/interface/File.dart'); 119 // BSD-style license that can be found in the LICENSE file.
118 #source('generated/src/interface/FileCallback.dart'); 120
119 #source('generated/src/interface/FileEntry.dart'); 121 class _WebKitCSSMatrixFactoryProvider {
120 #source('generated/src/interface/FileEntrySync.dart'); 122 factory WebKitCSSMatrix([String cssValue = null]) => _dummy();
121 #source('generated/src/interface/FileError.dart'); 123 }
122 #source('generated/src/interface/FileException.dart'); 124 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
123 #source('generated/src/interface/FileList.dart'); 125 // for details. All rights reserved. Use of this source code is governed by a
124 #source('generated/src/interface/FileReader.dart'); 126 // BSD-style license that can be found in the LICENSE file.
125 #source('generated/src/interface/FileReaderSync.dart'); 127
126 #source('generated/src/interface/FileSystemCallback.dart'); 128 class _WorkerFactoryProvider {
127 #source('generated/src/interface/FileWriter.dart'); 129 factory Worker(String scriptUrl) => _dummy();
128 #source('generated/src/interface/FileWriterCallback.dart'); 130 }
129 #source('generated/src/interface/FileWriterSync.dart'); 131 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
130 #source('generated/src/interface/Float32Array.dart'); 132 // for details. All rights reserved. Use of this source code is governed by a
131 #source('generated/src/interface/Float64Array.dart'); 133 // BSD-style license that can be found in the LICENSE file.
132 #source('generated/src/interface/Geolocation.dart'); 134
133 #source('generated/src/interface/Geoposition.dart'); 135 class _XMLHttpRequestFactoryProvider {
134 #source('generated/src/interface/HTMLAllCollection.dart'); 136 factory XMLHttpRequest() => _dummy();
135 #source('generated/src/interface/HTMLAnchorElement.dart'); 137 }
136 #source('generated/src/interface/HTMLAppletElement.dart'); 138 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
137 #source('generated/src/interface/HTMLAreaElement.dart'); 139 // for details. All rights reserved. Use of this source code is governed by a
138 #source('generated/src/interface/HTMLAudioElement.dart'); 140 // BSD-style license that can be found in the LICENSE file.
139 #source('generated/src/interface/HTMLBRElement.dart'); 141
140 #source('generated/src/interface/HTMLBaseElement.dart'); 142 class _XMLSerializerFactoryProvider {
141 #source('generated/src/interface/HTMLBaseFontElement.dart'); 143 factory XMLSerializer() => _dummy();
142 #source('generated/src/interface/HTMLBodyElement.dart'); 144 }
143 #source('generated/src/interface/HTMLButtonElement.dart'); 145 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
144 #source('generated/src/interface/HTMLCanvasElement.dart'); 146 // for details. All rights reserved. Use of this source code is governed by a
145 #source('generated/src/interface/HTMLCollection.dart'); 147 // BSD-style license that can be found in the LICENSE file.
146 #source('generated/src/interface/HTMLContentElement.dart'); 148
147 #source('generated/src/interface/HTMLDListElement.dart'); 149 class _XPathEvaluatorFactoryProvider {
148 #source('generated/src/interface/HTMLDetailsElement.dart'); 150 factory XPathEvaluator() => _dummy();
149 #source('generated/src/interface/HTMLDirectoryElement.dart'); 151 }
150 #source('generated/src/interface/HTMLDivElement.dart'); 152 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
151 #source('generated/src/interface/HTMLDocument.dart'); 153 // for details. All rights reserved. Use of this source code is governed by a
152 #source('generated/src/interface/HTMLElement.dart'); 154 // BSD-style license that can be found in the LICENSE file.
153 #source('generated/src/interface/HTMLEmbedElement.dart'); 155
154 #source('generated/src/interface/HTMLFieldSetElement.dart'); 156 class _XSLTProcessorFactoryProvider {
155 #source('generated/src/interface/HTMLFontElement.dart'); 157 factory XSLTProcessor() => _dummy();
156 #source('generated/src/interface/HTMLFormElement.dart'); 158 }
157 #source('generated/src/interface/HTMLFrameElement.dart'); 159 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
158 #source('generated/src/interface/HTMLFrameSetElement.dart'); 160 // for details. All rights reserved. Use of this source code is governed by a
159 #source('generated/src/interface/HTMLHRElement.dart'); 161 // BSD-style license that can be found in the LICENSE file.
160 #source('generated/src/interface/HTMLHeadElement.dart'); 162
161 #source('generated/src/interface/HTMLHeadingElement.dart'); 163 // WARNING: Do not edit - generated code.
162 #source('generated/src/interface/HTMLHtmlElement.dart'); 164
163 #source('generated/src/interface/HTMLIFrameElement.dart'); 165 interface AbstractWorker extends EventTarget {
164 #source('generated/src/interface/HTMLImageElement.dart'); 166
165 #source('generated/src/interface/HTMLInputElement.dart'); 167 void addEventListener(String type, EventListener listener, [bool useCapture]);
166 #source('generated/src/interface/HTMLKeygenElement.dart'); 168
167 #source('generated/src/interface/HTMLLIElement.dart'); 169 bool dispatchEvent(Event evt);
168 #source('generated/src/interface/HTMLLabelElement.dart'); 170
169 #source('generated/src/interface/HTMLLegendElement.dart'); 171 void removeEventListener(String type, EventListener listener, [bool useCapture ]);
170 #source('generated/src/interface/HTMLLinkElement.dart'); 172 }
171 #source('generated/src/interface/HTMLMapElement.dart'); 173 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
172 #source('generated/src/interface/HTMLMarqueeElement.dart'); 174 // for details. All rights reserved. Use of this source code is governed by a
173 #source('generated/src/interface/HTMLMediaElement.dart'); 175 // BSD-style license that can be found in the LICENSE file.
174 #source('generated/src/interface/HTMLMenuElement.dart'); 176
175 #source('generated/src/interface/HTMLMetaElement.dart'); 177 // WARNING: Do not edit - generated code.
176 #source('generated/src/interface/HTMLMeterElement.dart'); 178
177 #source('generated/src/interface/HTMLModElement.dart'); 179 interface ArrayBuffer {
178 #source('generated/src/interface/HTMLOListElement.dart'); 180
179 #source('generated/src/interface/HTMLObjectElement.dart'); 181 final int byteLength;
180 #source('generated/src/interface/HTMLOptGroupElement.dart'); 182
181 #source('generated/src/interface/HTMLOptionElement.dart'); 183 ArrayBuffer slice(int begin, [int end]);
182 #source('generated/src/interface/HTMLOptionsCollection.dart'); 184 }
183 #source('generated/src/interface/HTMLOutputElement.dart'); 185 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
184 #source('generated/src/interface/HTMLParagraphElement.dart'); 186 // for details. All rights reserved. Use of this source code is governed by a
185 #source('generated/src/interface/HTMLParamElement.dart'); 187 // BSD-style license that can be found in the LICENSE file.
186 #source('generated/src/interface/HTMLPreElement.dart'); 188
187 #source('generated/src/interface/HTMLProgressElement.dart'); 189 // WARNING: Do not edit - generated code.
188 #source('generated/src/interface/HTMLQuoteElement.dart'); 190
189 #source('generated/src/interface/HTMLScriptElement.dart'); 191 interface ArrayBufferView {
190 #source('generated/src/interface/HTMLSelectElement.dart'); 192
191 #source('generated/src/interface/HTMLShadowElement.dart'); 193 final ArrayBuffer buffer;
192 #source('generated/src/interface/HTMLSourceElement.dart'); 194
193 #source('generated/src/interface/HTMLSpanElement.dart'); 195 final int byteLength;
194 #source('generated/src/interface/HTMLStyleElement.dart'); 196
195 #source('generated/src/interface/HTMLTableCaptionElement.dart'); 197 final int byteOffset;
196 #source('generated/src/interface/HTMLTableCellElement.dart'); 198 }
197 #source('generated/src/interface/HTMLTableColElement.dart'); 199 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
198 #source('generated/src/interface/HTMLTableElement.dart'); 200 // for details. All rights reserved. Use of this source code is governed by a
199 #source('generated/src/interface/HTMLTableRowElement.dart'); 201 // BSD-style license that can be found in the LICENSE file.
200 #source('generated/src/interface/HTMLTableSectionElement.dart'); 202
201 #source('generated/src/interface/HTMLTextAreaElement.dart'); 203 // WARNING: Do not edit - generated code.
202 #source('generated/src/interface/HTMLTitleElement.dart'); 204
203 #source('generated/src/interface/HTMLTrackElement.dart'); 205 interface Attr extends Node {
204 #source('generated/src/interface/HTMLUListElement.dart'); 206
205 #source('generated/src/interface/HTMLUnknownElement.dart'); 207 final bool isId;
206 #source('generated/src/interface/HTMLVideoElement.dart'); 208
207 #source('generated/src/interface/HashChangeEvent.dart'); 209 final String name;
208 #source('generated/src/interface/HighPass2FilterNode.dart'); 210
209 #source('generated/src/interface/History.dart'); 211 final Element ownerElement;
210 #source('generated/src/interface/IDBAny.dart'); 212
211 #source('generated/src/interface/IDBCursor.dart'); 213 final bool specified;
212 #source('generated/src/interface/IDBCursorWithValue.dart'); 214
213 #source('generated/src/interface/IDBDatabase.dart'); 215 String value;
214 #source('generated/src/interface/IDBDatabaseError.dart'); 216 }
215 #source('generated/src/interface/IDBDatabaseException.dart'); 217 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
216 #source('generated/src/interface/IDBFactory.dart'); 218 // for details. All rights reserved. Use of this source code is governed by a
217 #source('generated/src/interface/IDBIndex.dart'); 219 // BSD-style license that can be found in the LICENSE file.
218 #source('generated/src/interface/IDBKey.dart'); 220
219 #source('generated/src/interface/IDBKeyRange.dart'); 221 // WARNING: Do not edit - generated code.
220 #source('generated/src/interface/IDBObjectStore.dart'); 222
221 #source('generated/src/interface/IDBRequest.dart'); 223 interface AudioBuffer {
222 #source('generated/src/interface/IDBTransaction.dart'); 224
223 #source('generated/src/interface/IDBVersionChangeEvent.dart'); 225 final num duration;
224 #source('generated/src/interface/IDBVersionChangeRequest.dart'); 226
225 #source('generated/src/interface/ImageData.dart'); 227 num gain;
226 #source('generated/src/interface/Int16Array.dart'); 228
227 #source('generated/src/interface/Int32Array.dart'); 229 final int length;
228 #source('generated/src/interface/Int8Array.dart'); 230
229 #source('generated/src/interface/JavaScriptAudioNode.dart'); 231 final int numberOfChannels;
230 #source('generated/src/interface/JavaScriptCallFrame.dart'); 232
231 #source('generated/src/interface/KeyboardEvent.dart'); 233 final num sampleRate;
232 #source('generated/src/interface/LocalMediaStream.dart'); 234
233 #source('generated/src/interface/Location.dart'); 235 Float32Array getChannelData(int channelIndex);
234 #source('generated/src/interface/LowPass2FilterNode.dart'); 236 }
235 #source('generated/src/interface/MediaController.dart'); 237 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
236 #source('generated/src/interface/MediaElementAudioSourceNode.dart'); 238 // for details. All rights reserved. Use of this source code is governed by a
237 #source('generated/src/interface/MediaError.dart'); 239 // BSD-style license that can be found in the LICENSE file.
238 #source('generated/src/interface/MediaList.dart'); 240
239 #source('generated/src/interface/MediaQueryList.dart'); 241 // WARNING: Do not edit - generated code.
240 #source('generated/src/interface/MediaQueryListListener.dart'); 242
241 #source('generated/src/interface/MediaStream.dart'); 243 typedef bool AudioBufferCallback(AudioBuffer audioBuffer);
242 #source('generated/src/interface/MediaStreamEvent.dart'); 244 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
243 #source('generated/src/interface/MediaStreamList.dart'); 245 // for details. All rights reserved. Use of this source code is governed by a
244 #source('generated/src/interface/MediaStreamTrack.dart'); 246 // BSD-style license that can be found in the LICENSE file.
245 #source('generated/src/interface/MediaStreamTrackList.dart'); 247
246 #source('generated/src/interface/MemoryInfo.dart'); 248 // WARNING: Do not edit - generated code.
247 #source('generated/src/interface/MessageChannel.dart'); 249
248 #source('generated/src/interface/MessageEvent.dart'); 250 interface AudioBufferSourceNode extends AudioSourceNode {
249 #source('generated/src/interface/MessagePort.dart'); 251
250 #source('generated/src/interface/Metadata.dart'); 252 AudioBuffer buffer;
251 #source('generated/src/interface/MetadataCallback.dart'); 253
252 #source('generated/src/interface/MouseEvent.dart'); 254 final AudioGain gain;
253 #source('generated/src/interface/MutationEvent.dart'); 255
254 #source('generated/src/interface/NamedNodeMap.dart'); 256 bool loop;
255 #source('generated/src/interface/Navigator.dart'); 257
256 #source('generated/src/interface/NavigatorUserMediaError.dart'); 258 bool looping;
257 #source('generated/src/interface/NavigatorUserMediaErrorCallback.dart'); 259
258 #source('generated/src/interface/NavigatorUserMediaSuccessCallback.dart'); 260 final AudioParam playbackRate;
259 #source('generated/src/interface/Node.dart'); 261
260 #source('generated/src/interface/NodeFilter.dart'); 262 void noteGrainOn(num when, num grainOffset, num grainDuration);
261 #source('generated/src/interface/NodeIterator.dart'); 263
262 #source('generated/src/interface/NodeList.dart'); 264 void noteOff(num when);
263 #source('generated/src/interface/NodeSelector.dart'); 265
264 #source('generated/src/interface/Notation.dart'); 266 void noteOn(num when);
265 #source('generated/src/interface/Notification.dart'); 267 }
266 #source('generated/src/interface/NotificationCenter.dart'); 268 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
267 #source('generated/src/interface/OESStandardDerivatives.dart'); 269 // for details. All rights reserved. Use of this source code is governed by a
268 #source('generated/src/interface/OESTextureFloat.dart'); 270 // BSD-style license that can be found in the LICENSE file.
269 #source('generated/src/interface/OESVertexArrayObject.dart'); 271
270 #source('generated/src/interface/OfflineAudioCompletionEvent.dart'); 272 // WARNING: Do not edit - generated code.
271 #source('generated/src/interface/OperationNotAllowedException.dart'); 273
272 #source('generated/src/interface/OverflowEvent.dart'); 274 interface AudioChannelMerger extends AudioNode {
273 #source('generated/src/interface/PageTransitionEvent.dart'); 275 }
274 #source('generated/src/interface/PeerConnection.dart'); 276 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
275 #source('generated/src/interface/Performance.dart'); 277 // for details. All rights reserved. Use of this source code is governed by a
276 #source('generated/src/interface/PerformanceNavigation.dart'); 278 // BSD-style license that can be found in the LICENSE file.
277 #source('generated/src/interface/PerformanceTiming.dart'); 279
278 #source('generated/src/interface/PopStateEvent.dart'); 280 // WARNING: Do not edit - generated code.
279 #source('generated/src/interface/PositionCallback.dart'); 281
280 #source('generated/src/interface/PositionError.dart'); 282 interface AudioChannelSplitter extends AudioNode {
281 #source('generated/src/interface/PositionErrorCallback.dart'); 283 }
282 #source('generated/src/interface/ProcessingInstruction.dart'); 284 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
283 #source('generated/src/interface/ProgressEvent.dart'); 285 // for details. All rights reserved. Use of this source code is governed by a
284 #source('generated/src/interface/RGBColor.dart'); 286 // BSD-style license that can be found in the LICENSE file.
285 #source('generated/src/interface/Range.dart'); 287
286 #source('generated/src/interface/RangeException.dart'); 288 // WARNING: Do not edit - generated code.
287 #source('generated/src/interface/RealtimeAnalyserNode.dart'); 289
288 #source('generated/src/interface/Rect.dart'); 290 interface AudioContext default _AudioContextFactoryProvider {
289 #source('generated/src/interface/RequestAnimationFrameCallback.dart'); 291
290 #source('generated/src/interface/SQLError.dart'); 292 AudioContext();
291 #source('generated/src/interface/SQLException.dart'); 293
292 #source('generated/src/interface/SQLResultSet.dart'); 294 final num currentTime;
293 #source('generated/src/interface/SQLResultSetRowList.dart'); 295
294 #source('generated/src/interface/SQLStatementCallback.dart'); 296 final AudioDestinationNode destination;
295 #source('generated/src/interface/SQLStatementErrorCallback.dart'); 297
296 #source('generated/src/interface/SQLTransaction.dart'); 298 final AudioListener listener;
297 #source('generated/src/interface/SQLTransactionCallback.dart'); 299
298 #source('generated/src/interface/SQLTransactionErrorCallback.dart'); 300 EventListener oncomplete;
299 #source('generated/src/interface/SQLTransactionSync.dart'); 301
300 #source('generated/src/interface/SQLTransactionSyncCallback.dart'); 302 final num sampleRate;
301 #source('generated/src/interface/SVGAElement.dart'); 303
302 #source('generated/src/interface/SVGAltGlyphDefElement.dart'); 304 RealtimeAnalyserNode createAnalyser();
303 #source('generated/src/interface/SVGAltGlyphElement.dart'); 305
304 #source('generated/src/interface/SVGAltGlyphItemElement.dart'); 306 BiquadFilterNode createBiquadFilter();
305 #source('generated/src/interface/SVGAngle.dart'); 307
306 #source('generated/src/interface/SVGAnimateColorElement.dart'); 308 AudioBuffer createBuffer(var buffer_OR_numberOfChannels, var mixToMono_OR_numb erOfFrames, [num sampleRate]);
307 #source('generated/src/interface/SVGAnimateElement.dart'); 309
308 #source('generated/src/interface/SVGAnimateMotionElement.dart'); 310 AudioBufferSourceNode createBufferSource();
309 #source('generated/src/interface/SVGAnimateTransformElement.dart'); 311
310 #source('generated/src/interface/SVGAnimatedAngle.dart'); 312 AudioChannelMerger createChannelMerger();
311 #source('generated/src/interface/SVGAnimatedBoolean.dart'); 313
312 #source('generated/src/interface/SVGAnimatedEnumeration.dart'); 314 AudioChannelSplitter createChannelSplitter();
313 #source('generated/src/interface/SVGAnimatedInteger.dart'); 315
314 #source('generated/src/interface/SVGAnimatedLength.dart'); 316 ConvolverNode createConvolver();
315 #source('generated/src/interface/SVGAnimatedLengthList.dart'); 317
316 #source('generated/src/interface/SVGAnimatedNumber.dart'); 318 DelayNode createDelayNode([num maxDelayTime]);
317 #source('generated/src/interface/SVGAnimatedNumberList.dart'); 319
318 #source('generated/src/interface/SVGAnimatedPreserveAspectRatio.dart'); 320 DynamicsCompressorNode createDynamicsCompressor();
319 #source('generated/src/interface/SVGAnimatedRect.dart'); 321
320 #source('generated/src/interface/SVGAnimatedString.dart'); 322 AudioGainNode createGainNode();
321 #source('generated/src/interface/SVGAnimatedTransformList.dart'); 323
322 #source('generated/src/interface/SVGAnimationElement.dart'); 324 HighPass2FilterNode createHighPass2Filter();
323 #source('generated/src/interface/SVGCircleElement.dart'); 325
324 #source('generated/src/interface/SVGClipPathElement.dart'); 326 JavaScriptAudioNode createJavaScriptNode(int bufferSize);
325 #source('generated/src/interface/SVGColor.dart'); 327
326 #source('generated/src/interface/SVGComponentTransferFunctionElement.dart'); 328 LowPass2FilterNode createLowPass2Filter();
327 #source('generated/src/interface/SVGCursorElement.dart'); 329
328 #source('generated/src/interface/SVGDefsElement.dart'); 330 MediaElementAudioSourceNode createMediaElementSource(HTMLMediaElement mediaEle ment);
329 #source('generated/src/interface/SVGDescElement.dart'); 331
330 #source('generated/src/interface/SVGDocument.dart'); 332 AudioPannerNode createPanner();
331 #source('generated/src/interface/SVGElement.dart'); 333
332 #source('generated/src/interface/SVGElementInstance.dart'); 334 WaveShaperNode createWaveShaper();
333 #source('generated/src/interface/SVGElementInstanceList.dart'); 335
334 #source('generated/src/interface/SVGEllipseElement.dart'); 336 void decodeAudioData(ArrayBuffer audioData, AudioBufferCallback successCallbac k, [AudioBufferCallback errorCallback]);
335 #source('generated/src/interface/SVGException.dart'); 337
336 #source('generated/src/interface/SVGExternalResourcesRequired.dart'); 338 void startRendering();
337 #source('generated/src/interface/SVGFEBlendElement.dart'); 339 }
338 #source('generated/src/interface/SVGFEColorMatrixElement.dart'); 340 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
339 #source('generated/src/interface/SVGFEComponentTransferElement.dart'); 341 // for details. All rights reserved. Use of this source code is governed by a
340 #source('generated/src/interface/SVGFECompositeElement.dart'); 342 // BSD-style license that can be found in the LICENSE file.
341 #source('generated/src/interface/SVGFEConvolveMatrixElement.dart'); 343
342 #source('generated/src/interface/SVGFEDiffuseLightingElement.dart'); 344 // WARNING: Do not edit - generated code.
343 #source('generated/src/interface/SVGFEDisplacementMapElement.dart'); 345
344 #source('generated/src/interface/SVGFEDistantLightElement.dart'); 346 interface AudioDestinationNode extends AudioNode {
345 #source('generated/src/interface/SVGFEDropShadowElement.dart'); 347
346 #source('generated/src/interface/SVGFEFloodElement.dart'); 348 final int numberOfChannels;
347 #source('generated/src/interface/SVGFEFuncAElement.dart'); 349 }
348 #source('generated/src/interface/SVGFEFuncBElement.dart'); 350 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
349 #source('generated/src/interface/SVGFEFuncGElement.dart'); 351 // for details. All rights reserved. Use of this source code is governed by a
350 #source('generated/src/interface/SVGFEFuncRElement.dart'); 352 // BSD-style license that can be found in the LICENSE file.
351 #source('generated/src/interface/SVGFEGaussianBlurElement.dart'); 353
352 #source('generated/src/interface/SVGFEImageElement.dart'); 354 // WARNING: Do not edit - generated code.
353 #source('generated/src/interface/SVGFEMergeElement.dart'); 355
354 #source('generated/src/interface/SVGFEMergeNodeElement.dart'); 356 interface AudioGain extends AudioParam {
355 #source('generated/src/interface/SVGFEMorphologyElement.dart'); 357 }
356 #source('generated/src/interface/SVGFEOffsetElement.dart'); 358 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
357 #source('generated/src/interface/SVGFEPointLightElement.dart'); 359 // for details. All rights reserved. Use of this source code is governed by a
358 #source('generated/src/interface/SVGFESpecularLightingElement.dart'); 360 // BSD-style license that can be found in the LICENSE file.
359 #source('generated/src/interface/SVGFESpotLightElement.dart'); 361
360 #source('generated/src/interface/SVGFETileElement.dart'); 362 // WARNING: Do not edit - generated code.
361 #source('generated/src/interface/SVGFETurbulenceElement.dart'); 363
362 #source('generated/src/interface/SVGFilterElement.dart'); 364 interface AudioGainNode extends AudioNode {
363 #source('generated/src/interface/SVGFilterPrimitiveStandardAttributes.dart'); 365
364 #source('generated/src/interface/SVGFitToViewBox.dart'); 366 final AudioGain gain;
365 #source('generated/src/interface/SVGFontElement.dart'); 367 }
366 #source('generated/src/interface/SVGFontFaceElement.dart'); 368 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
367 #source('generated/src/interface/SVGFontFaceFormatElement.dart'); 369 // for details. All rights reserved. Use of this source code is governed by a
368 #source('generated/src/interface/SVGFontFaceNameElement.dart'); 370 // BSD-style license that can be found in the LICENSE file.
369 #source('generated/src/interface/SVGFontFaceSrcElement.dart'); 371
370 #source('generated/src/interface/SVGFontFaceUriElement.dart'); 372 // WARNING: Do not edit - generated code.
371 #source('generated/src/interface/SVGForeignObjectElement.dart'); 373
372 #source('generated/src/interface/SVGGElement.dart'); 374 interface AudioListener {
373 #source('generated/src/interface/SVGGlyphElement.dart'); 375
374 #source('generated/src/interface/SVGGlyphRefElement.dart'); 376 num dopplerFactor;
375 #source('generated/src/interface/SVGGradientElement.dart'); 377
376 #source('generated/src/interface/SVGHKernElement.dart'); 378 num speedOfSound;
377 #source('generated/src/interface/SVGImageElement.dart'); 379
378 #source('generated/src/interface/SVGLangSpace.dart'); 380 void setOrientation(num x, num y, num z, num xUp, num yUp, num zUp);
379 #source('generated/src/interface/SVGLength.dart'); 381
380 #source('generated/src/interface/SVGLengthList.dart'); 382 void setPosition(num x, num y, num z);
381 #source('generated/src/interface/SVGLineElement.dart'); 383
382 #source('generated/src/interface/SVGLinearGradientElement.dart'); 384 void setVelocity(num x, num y, num z);
383 #source('generated/src/interface/SVGLocatable.dart'); 385 }
384 #source('generated/src/interface/SVGMPathElement.dart'); 386 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
385 #source('generated/src/interface/SVGMarkerElement.dart'); 387 // for details. All rights reserved. Use of this source code is governed by a
386 #source('generated/src/interface/SVGMaskElement.dart'); 388 // BSD-style license that can be found in the LICENSE file.
387 #source('generated/src/interface/SVGMatrix.dart'); 389
388 #source('generated/src/interface/SVGMetadataElement.dart'); 390 // WARNING: Do not edit - generated code.
389 #source('generated/src/interface/SVGMissingGlyphElement.dart'); 391
390 #source('generated/src/interface/SVGNumber.dart'); 392 interface AudioNode {
391 #source('generated/src/interface/SVGNumberList.dart'); 393
392 #source('generated/src/interface/SVGPaint.dart'); 394 final AudioContext context;
393 #source('generated/src/interface/SVGPathElement.dart'); 395
394 #source('generated/src/interface/SVGPathSeg.dart'); 396 final int numberOfInputs;
395 #source('generated/src/interface/SVGPathSegArcAbs.dart'); 397
396 #source('generated/src/interface/SVGPathSegArcRel.dart'); 398 final int numberOfOutputs;
397 #source('generated/src/interface/SVGPathSegClosePath.dart'); 399
398 #source('generated/src/interface/SVGPathSegCurvetoCubicAbs.dart'); 400 void connect(AudioNode destination, int output, int input);
399 #source('generated/src/interface/SVGPathSegCurvetoCubicRel.dart'); 401
400 #source('generated/src/interface/SVGPathSegCurvetoCubicSmoothAbs.dart'); 402 void disconnect(int output);
401 #source('generated/src/interface/SVGPathSegCurvetoCubicSmoothRel.dart'); 403 }
402 #source('generated/src/interface/SVGPathSegCurvetoQuadraticAbs.dart'); 404 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
403 #source('generated/src/interface/SVGPathSegCurvetoQuadraticRel.dart'); 405 // for details. All rights reserved. Use of this source code is governed by a
404 #source('generated/src/interface/SVGPathSegCurvetoQuadraticSmoothAbs.dart'); 406 // BSD-style license that can be found in the LICENSE file.
405 #source('generated/src/interface/SVGPathSegCurvetoQuadraticSmoothRel.dart'); 407
406 #source('generated/src/interface/SVGPathSegLinetoAbs.dart'); 408 // WARNING: Do not edit - generated code.
407 #source('generated/src/interface/SVGPathSegLinetoHorizontalAbs.dart'); 409
408 #source('generated/src/interface/SVGPathSegLinetoHorizontalRel.dart'); 410 interface AudioPannerNode extends AudioNode {
409 #source('generated/src/interface/SVGPathSegLinetoRel.dart'); 411
410 #source('generated/src/interface/SVGPathSegLinetoVerticalAbs.dart'); 412 static final int EQUALPOWER = 0;
411 #source('generated/src/interface/SVGPathSegLinetoVerticalRel.dart'); 413
412 #source('generated/src/interface/SVGPathSegList.dart'); 414 static final int EXPONENTIAL_DISTANCE = 2;
413 #source('generated/src/interface/SVGPathSegMovetoAbs.dart'); 415
414 #source('generated/src/interface/SVGPathSegMovetoRel.dart'); 416 static final int HRTF = 1;
415 #source('generated/src/interface/SVGPatternElement.dart'); 417
416 #source('generated/src/interface/SVGPoint.dart'); 418 static final int INVERSE_DISTANCE = 1;
417 #source('generated/src/interface/SVGPointList.dart'); 419
418 #source('generated/src/interface/SVGPolygonElement.dart'); 420 static final int LINEAR_DISTANCE = 0;
419 #source('generated/src/interface/SVGPolylineElement.dart'); 421
420 #source('generated/src/interface/SVGPreserveAspectRatio.dart'); 422 static final int SOUNDFIELD = 2;
421 #source('generated/src/interface/SVGRadialGradientElement.dart'); 423
422 #source('generated/src/interface/SVGRect.dart'); 424 final AudioGain coneGain;
423 #source('generated/src/interface/SVGRectElement.dart'); 425
424 #source('generated/src/interface/SVGRenderingIntent.dart'); 426 num coneInnerAngle;
425 #source('generated/src/interface/SVGSVGElement.dart'); 427
426 #source('generated/src/interface/SVGScriptElement.dart'); 428 num coneOuterAngle;
427 #source('generated/src/interface/SVGSetElement.dart'); 429
428 #source('generated/src/interface/SVGStopElement.dart'); 430 num coneOuterGain;
429 #source('generated/src/interface/SVGStringList.dart'); 431
430 #source('generated/src/interface/SVGStylable.dart'); 432 final AudioGain distanceGain;
431 #source('generated/src/interface/SVGStyleElement.dart'); 433
432 #source('generated/src/interface/SVGSwitchElement.dart'); 434 int distanceModel;
433 #source('generated/src/interface/SVGSymbolElement.dart'); 435
434 #source('generated/src/interface/SVGTRefElement.dart'); 436 num maxDistance;
435 #source('generated/src/interface/SVGTSpanElement.dart'); 437
436 #source('generated/src/interface/SVGTests.dart'); 438 int panningModel;
437 #source('generated/src/interface/SVGTextContentElement.dart'); 439
438 #source('generated/src/interface/SVGTextElement.dart'); 440 num refDistance;
439 #source('generated/src/interface/SVGTextPathElement.dart'); 441
440 #source('generated/src/interface/SVGTextPositioningElement.dart'); 442 num rolloffFactor;
441 #source('generated/src/interface/SVGTitleElement.dart'); 443
442 #source('generated/src/interface/SVGTransform.dart'); 444 void setOrientation(num x, num y, num z);
443 #source('generated/src/interface/SVGTransformList.dart'); 445
444 #source('generated/src/interface/SVGTransformable.dart'); 446 void setPosition(num x, num y, num z);
445 #source('generated/src/interface/SVGURIReference.dart'); 447
446 #source('generated/src/interface/SVGUnitTypes.dart'); 448 void setVelocity(num x, num y, num z);
447 #source('generated/src/interface/SVGUseElement.dart'); 449 }
448 #source('generated/src/interface/SVGVKernElement.dart'); 450 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
449 #source('generated/src/interface/SVGViewElement.dart'); 451 // for details. All rights reserved. Use of this source code is governed by a
450 #source('generated/src/interface/SVGViewSpec.dart'); 452 // BSD-style license that can be found in the LICENSE file.
451 #source('generated/src/interface/SVGZoomAndPan.dart'); 453
452 #source('generated/src/interface/SVGZoomEvent.dart'); 454 // WARNING: Do not edit - generated code.
453 #source('generated/src/interface/Screen.dart'); 455
454 #source('generated/src/interface/ScriptProfile.dart'); 456 interface AudioParam {
455 #source('generated/src/interface/ScriptProfileNode.dart'); 457
456 #source('generated/src/interface/ShadowRoot.dart'); 458 final num defaultValue;
457 #source('generated/src/interface/SharedWorker.dart'); 459
458 #source('generated/src/interface/SharedWorkerContext.dart'); 460 final num maxValue;
459 #source('generated/src/interface/SignalingCallback.dart'); 461
460 #source('generated/src/interface/SpeechInputEvent.dart'); 462 final num minValue;
461 #source('generated/src/interface/SpeechInputResult.dart'); 463
462 #source('generated/src/interface/SpeechInputResultList.dart'); 464 final String name;
463 #source('generated/src/interface/Storage.dart'); 465
464 #source('generated/src/interface/StorageEvent.dart'); 466 final int units;
465 #source('generated/src/interface/StorageInfo.dart'); 467
466 #source('generated/src/interface/StorageInfoErrorCallback.dart'); 468 num value;
467 #source('generated/src/interface/StorageInfoQuotaCallback.dart'); 469
468 #source('generated/src/interface/StorageInfoUsageCallback.dart'); 470 void cancelScheduledValues(num startTime);
469 #source('generated/src/interface/StringCallback.dart'); 471
470 #source('generated/src/interface/StyleMedia.dart'); 472 void exponentialRampToValueAtTime(num value, num time);
471 #source('generated/src/interface/StyleSheet.dart'); 473
472 #source('generated/src/interface/StyleSheetList.dart'); 474 void linearRampToValueAtTime(num value, num time);
473 #source('generated/src/interface/Text.dart'); 475
474 #source('generated/src/interface/TextEvent.dart'); 476 void setTargetValueAtTime(num targetValue, num time, num timeConstant);
475 #source('generated/src/interface/TextMetrics.dart'); 477
476 #source('generated/src/interface/TextTrack.dart'); 478 void setValueAtTime(num value, num time);
477 #source('generated/src/interface/TextTrackCue.dart'); 479
478 #source('generated/src/interface/TextTrackCueList.dart'); 480 void setValueCurveAtTime(Float32Array values, num time, num duration);
479 #source('generated/src/interface/TextTrackList.dart'); 481 }
480 #source('generated/src/interface/TimeRanges.dart'); 482 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
481 #source('generated/src/interface/Touch.dart'); 483 // for details. All rights reserved. Use of this source code is governed by a
482 #source('generated/src/interface/TouchEvent.dart'); 484 // BSD-style license that can be found in the LICENSE file.
483 #source('generated/src/interface/TouchList.dart'); 485
484 #source('generated/src/interface/TrackEvent.dart'); 486 // WARNING: Do not edit - generated code.
485 #source('generated/src/interface/TreeWalker.dart'); 487
486 #source('generated/src/interface/UIEvent.dart'); 488 interface AudioProcessingEvent extends Event {
487 #source('generated/src/interface/Uint16Array.dart'); 489
488 #source('generated/src/interface/Uint32Array.dart'); 490 final AudioBuffer inputBuffer;
489 #source('generated/src/interface/Uint8Array.dart'); 491
490 #source('generated/src/interface/Uint8ClampedArray.dart'); 492 final AudioBuffer outputBuffer;
491 #source('generated/src/interface/ValidityState.dart'); 493 }
492 #source('generated/src/interface/VoidCallback.dart'); 494 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
493 #source('generated/src/interface/WaveShaperNode.dart'); 495 // for details. All rights reserved. Use of this source code is governed by a
494 #source('generated/src/interface/WebGLActiveInfo.dart'); 496 // BSD-style license that can be found in the LICENSE file.
495 #source('generated/src/interface/WebGLBuffer.dart'); 497
496 #source('generated/src/interface/WebGLCompressedTextureS3TC.dart'); 498 // WARNING: Do not edit - generated code.
497 #source('generated/src/interface/WebGLContextAttributes.dart'); 499
498 #source('generated/src/interface/WebGLContextEvent.dart'); 500 interface AudioSourceNode extends AudioNode {
499 #source('generated/src/interface/WebGLDebugRendererInfo.dart'); 501 }
500 #source('generated/src/interface/WebGLDebugShaders.dart'); 502 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
501 #source('generated/src/interface/WebGLFramebuffer.dart'); 503 // for details. All rights reserved. Use of this source code is governed by a
502 #source('generated/src/interface/WebGLLoseContext.dart'); 504 // BSD-style license that can be found in the LICENSE file.
503 #source('generated/src/interface/WebGLProgram.dart'); 505
504 #source('generated/src/interface/WebGLRenderbuffer.dart'); 506 // WARNING: Do not edit - generated code.
505 #source('generated/src/interface/WebGLRenderingContext.dart'); 507
506 #source('generated/src/interface/WebGLShader.dart'); 508 interface BarProp {
507 #source('generated/src/interface/WebGLTexture.dart'); 509
508 #source('generated/src/interface/WebGLUniformLocation.dart'); 510 final bool visible;
509 #source('generated/src/interface/WebGLVertexArrayObjectOES.dart'); 511 }
510 #source('generated/src/interface/WebKitAnimation.dart'); 512
511 #source('generated/src/interface/WebKitAnimationEvent.dart'); 513 interface BarInfo extends BarProp {
512 #source('generated/src/interface/WebKitAnimationList.dart'); 514 }
513 #source('generated/src/interface/WebKitBlobBuilder.dart'); 515 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
514 #source('generated/src/interface/WebKitCSSKeyframeRule.dart'); 516 // for details. All rights reserved. Use of this source code is governed by a
515 #source('generated/src/interface/WebKitCSSKeyframesRule.dart'); 517 // BSD-style license that can be found in the LICENSE file.
516 #source('generated/src/interface/WebKitCSSMatrix.dart'); 518
517 #source('generated/src/interface/WebKitCSSRegionRule.dart'); 519 // WARNING: Do not edit - generated code.
518 #source('generated/src/interface/WebKitCSSTransformValue.dart'); 520
519 #source('generated/src/interface/WebKitNamedFlow.dart'); 521 interface BeforeLoadEvent extends Event {
520 #source('generated/src/interface/WebKitPoint.dart'); 522
521 #source('generated/src/interface/WebKitTransitionEvent.dart'); 523 final String url;
522 #source('generated/src/interface/WebSocket.dart'); 524 }
523 #source('generated/src/interface/WheelEvent.dart'); 525 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
524 #source('generated/src/interface/Worker.dart'); 526 // for details. All rights reserved. Use of this source code is governed by a
525 #source('generated/src/interface/WorkerContext.dart'); 527 // BSD-style license that can be found in the LICENSE file.
526 #source('generated/src/interface/WorkerLocation.dart'); 528
527 #source('generated/src/interface/WorkerNavigator.dart'); 529 // WARNING: Do not edit - generated code.
528 #source('generated/src/interface/XMLHttpRequest.dart'); 530
529 #source('generated/src/interface/XMLHttpRequestException.dart'); 531 interface BiquadFilterNode extends AudioNode {
530 #source('generated/src/interface/XMLHttpRequestProgressEvent.dart'); 532
531 #source('generated/src/interface/XMLHttpRequestUpload.dart'); 533 static final int ALLPASS = 7;
532 #source('generated/src/interface/XMLSerializer.dart'); 534
533 #source('generated/src/interface/XPathEvaluator.dart'); 535 static final int BANDPASS = 2;
534 #source('generated/src/interface/XPathException.dart'); 536
535 #source('generated/src/interface/XPathExpression.dart'); 537 static final int HIGHPASS = 1;
536 #source('generated/src/interface/XPathNSResolver.dart'); 538
537 #source('generated/src/interface/XPathResult.dart'); 539 static final int HIGHSHELF = 4;
538 #source('generated/src/interface/XSLTProcessor.dart'); 540
539 541 static final int LOWPASS = 0;
540 542
541 #source('src/DOMType.dart'); 543 static final int LOWSHELF = 3;
542 #source('src/EventListener.dart'); 544
543 #source('src/KeyLocation.dart'); 545 static final int NOTCH = 6;
544 #source('src/KeyName.dart'); 546
545 #source('src/ReadyState.dart'); 547 static final int PEAKING = 5;
546 #source('src/TimeoutHandler.dart'); 548
547 #source('src/dummy_FactoryProviders.dart'); 549 final AudioParam Q;
548 #source('src/dummy_GlobalProperties.dart'); 550
551 final AudioParam frequency;
552
553 final AudioParam gain;
554
555 int type;
556
557 void getFrequencyResponse(Float32Array frequencyHz, Float32Array magResponse, Float32Array phaseResponse);
558 }
559 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
560 // for details. All rights reserved. Use of this source code is governed by a
561 // BSD-style license that can be found in the LICENSE file.
562
563 // WARNING: Do not edit - generated code.
564
565 interface Blob {
566
567 final int size;
568
569 final String type;
570
571 Blob webkitSlice([int start, int end, String contentType]);
572 }
573 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
574 // for details. All rights reserved. Use of this source code is governed by a
575 // BSD-style license that can be found in the LICENSE file.
576
577 // WARNING: Do not edit - generated code.
578
579 interface CDATASection extends Text {
580 }
581 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
582 // for details. All rights reserved. Use of this source code is governed by a
583 // BSD-style license that can be found in the LICENSE file.
584
585 // WARNING: Do not edit - generated code.
586
587 interface CSSCharsetRule extends CSSRule {
588
589 String encoding;
590 }
591 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
592 // for details. All rights reserved. Use of this source code is governed by a
593 // BSD-style license that can be found in the LICENSE file.
594
595 // WARNING: Do not edit - generated code.
596
597 interface CSSFontFaceRule extends CSSRule {
598
599 final CSSStyleDeclaration style;
600 }
601 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
602 // for details. All rights reserved. Use of this source code is governed by a
603 // BSD-style license that can be found in the LICENSE file.
604
605 // WARNING: Do not edit - generated code.
606
607 interface CSSImportRule extends CSSRule {
608
609 final String href;
610
611 final MediaList media;
612
613 final CSSStyleSheet styleSheet;
614 }
615 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
616 // for details. All rights reserved. Use of this source code is governed by a
617 // BSD-style license that can be found in the LICENSE file.
618
619 // WARNING: Do not edit - generated code.
620
621 interface CSSMediaRule extends CSSRule {
622
623 final CSSRuleList cssRules;
624
625 final MediaList media;
626
627 void deleteRule(int index);
628
629 int insertRule(String rule, int index);
630 }
631 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
632 // for details. All rights reserved. Use of this source code is governed by a
633 // BSD-style license that can be found in the LICENSE file.
634
635 // WARNING: Do not edit - generated code.
636
637 interface CSSPageRule extends CSSRule {
638
639 String selectorText;
640
641 final CSSStyleDeclaration style;
642 }
643 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
644 // for details. All rights reserved. Use of this source code is governed by a
645 // BSD-style license that can be found in the LICENSE file.
646
647 // WARNING: Do not edit - generated code.
648
649 interface CSSPrimitiveValue extends CSSValue {
650
651 static final int CSS_ATTR = 22;
652
653 static final int CSS_CM = 6;
654
655 static final int CSS_COUNTER = 23;
656
657 static final int CSS_DEG = 11;
658
659 static final int CSS_DIMENSION = 18;
660
661 static final int CSS_EMS = 3;
662
663 static final int CSS_EXS = 4;
664
665 static final int CSS_GRAD = 13;
666
667 static final int CSS_HZ = 16;
668
669 static final int CSS_IDENT = 21;
670
671 static final int CSS_IN = 8;
672
673 static final int CSS_KHZ = 17;
674
675 static final int CSS_MM = 7;
676
677 static final int CSS_MS = 14;
678
679 static final int CSS_NUMBER = 1;
680
681 static final int CSS_PC = 10;
682
683 static final int CSS_PERCENTAGE = 2;
684
685 static final int CSS_PT = 9;
686
687 static final int CSS_PX = 5;
688
689 static final int CSS_RAD = 12;
690
691 static final int CSS_RECT = 24;
692
693 static final int CSS_RGBCOLOR = 25;
694
695 static final int CSS_S = 15;
696
697 static final int CSS_STRING = 19;
698
699 static final int CSS_UNKNOWN = 0;
700
701 static final int CSS_URI = 20;
702
703 static final int CSS_VH = 27;
704
705 static final int CSS_VMIN = 28;
706
707 static final int CSS_VW = 26;
708
709 final int primitiveType;
710
711 Counter getCounterValue();
712
713 num getFloatValue(int unitType);
714
715 RGBColor getRGBColorValue();
716
717 Rect getRectValue();
718
719 String getStringValue();
720
721 void setFloatValue(int unitType, num floatValue);
722
723 void setStringValue(int stringType, String stringValue);
724 }
725 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
726 // for details. All rights reserved. Use of this source code is governed by a
727 // BSD-style license that can be found in the LICENSE file.
728
729 // WARNING: Do not edit - generated code.
730
731 interface CSSRule {
732
733 static final int CHARSET_RULE = 2;
734
735 static final int FONT_FACE_RULE = 5;
736
737 static final int IMPORT_RULE = 3;
738
739 static final int MEDIA_RULE = 4;
740
741 static final int PAGE_RULE = 6;
742
743 static final int STYLE_RULE = 1;
744
745 static final int UNKNOWN_RULE = 0;
746
747 static final int WEBKIT_KEYFRAMES_RULE = 7;
748
749 static final int WEBKIT_KEYFRAME_RULE = 8;
750
751 static final int WEBKIT_REGION_RULE = 10;
752
753 String cssText;
754
755 final CSSRule parentRule;
756
757 final CSSStyleSheet parentStyleSheet;
758
759 final int type;
760 }
761 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
762 // for details. All rights reserved. Use of this source code is governed by a
763 // BSD-style license that can be found in the LICENSE file.
764
765 // WARNING: Do not edit - generated code.
766
767 interface CSSRuleList {
768
769 final int length;
770
771 CSSRule item(int index);
772 }
773 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
774 // for details. All rights reserved. Use of this source code is governed by a
775 // BSD-style license that can be found in the LICENSE file.
776
777 // WARNING: Do not edit - generated code.
778
779 interface CSSStyleDeclaration {
780
781 String cssText;
782
783 final int length;
784
785 final CSSRule parentRule;
786
787 CSSValue getPropertyCSSValue(String propertyName);
788
789 String getPropertyPriority(String propertyName);
790
791 String getPropertyShorthand(String propertyName);
792
793 String getPropertyValue(String propertyName);
794
795 bool isPropertyImplicit(String propertyName);
796
797 String item(int index);
798
799 String removeProperty(String propertyName);
800
801 void setProperty(String propertyName, String value, [String priority]);
802 }
803 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
804 // for details. All rights reserved. Use of this source code is governed by a
805 // BSD-style license that can be found in the LICENSE file.
806
807 // WARNING: Do not edit - generated code.
808
809 interface CSSStyleRule extends CSSRule {
810
811 String selectorText;
812
813 final CSSStyleDeclaration style;
814 }
815 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
816 // for details. All rights reserved. Use of this source code is governed by a
817 // BSD-style license that can be found in the LICENSE file.
818
819 // WARNING: Do not edit - generated code.
820
821 interface CSSStyleSheet extends StyleSheet {
822
823 final CSSRuleList cssRules;
824
825 final CSSRule ownerRule;
826
827 final CSSRuleList rules;
828
829 int addRule(String selector, String style, [int index]);
830
831 void deleteRule(int index);
832
833 int insertRule(String rule, int index);
834
835 void removeRule(int index);
836 }
837 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
838 // for details. All rights reserved. Use of this source code is governed by a
839 // BSD-style license that can be found in the LICENSE file.
840
841 // WARNING: Do not edit - generated code.
842
843 interface CSSUnknownRule extends CSSRule {
844 }
845 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
846 // for details. All rights reserved. Use of this source code is governed by a
847 // BSD-style license that can be found in the LICENSE file.
848
849 // WARNING: Do not edit - generated code.
850
851 interface CSSValue {
852
853 static final int CSS_CUSTOM = 3;
854
855 static final int CSS_INHERIT = 0;
856
857 static final int CSS_PRIMITIVE_VALUE = 1;
858
859 static final int CSS_VALUE_LIST = 2;
860
861 String cssText;
862
863 final int cssValueType;
864 }
865 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
866 // for details. All rights reserved. Use of this source code is governed by a
867 // BSD-style license that can be found in the LICENSE file.
868
869 // WARNING: Do not edit - generated code.
870
871 interface CSSValueList extends CSSValue {
872
873 final int length;
874
875 CSSValue item(int index);
876 }
877 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
878 // for details. All rights reserved. Use of this source code is governed by a
879 // BSD-style license that can be found in the LICENSE file.
880
881 // WARNING: Do not edit - generated code.
882
883 interface CanvasGradient {
884
885 void addColorStop(num offset, String color);
886 }
887 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
888 // for details. All rights reserved. Use of this source code is governed by a
889 // BSD-style license that can be found in the LICENSE file.
890
891 // WARNING: Do not edit - generated code.
892
893 interface CanvasPattern {
894 }
895 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
896 // for details. All rights reserved. Use of this source code is governed by a
897 // BSD-style license that can be found in the LICENSE file.
898
899 // WARNING: Do not edit - generated code.
900
901 interface CanvasPixelArray extends List<int> {
902
903 final int length;
904 }
905 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
906 // for details. All rights reserved. Use of this source code is governed by a
907 // BSD-style license that can be found in the LICENSE file.
908
909 // WARNING: Do not edit - generated code.
910
911 interface CanvasRenderingContext {
912
913 final HTMLCanvasElement canvas;
914 }
915 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
916 // for details. All rights reserved. Use of this source code is governed by a
917 // BSD-style license that can be found in the LICENSE file.
918
919 // WARNING: Do not edit - generated code.
920
921 interface CanvasRenderingContext2D extends CanvasRenderingContext {
922
923 Dynamic fillStyle;
924
925 String font;
926
927 num globalAlpha;
928
929 String globalCompositeOperation;
930
931 String lineCap;
932
933 String lineJoin;
934
935 num lineWidth;
936
937 num miterLimit;
938
939 num shadowBlur;
940
941 String shadowColor;
942
943 num shadowOffsetX;
944
945 num shadowOffsetY;
946
947 Dynamic strokeStyle;
948
949 String textAlign;
950
951 String textBaseline;
952
953 List webkitLineDash;
954
955 num webkitLineDashOffset;
956
957 void arc(num x, num y, num radius, num startAngle, num endAngle, bool anticloc kwise);
958
959 void arcTo(num x1, num y1, num x2, num y2, num radius);
960
961 void beginPath();
962
963 void bezierCurveTo(num cp1x, num cp1y, num cp2x, num cp2y, num x, num y);
964
965 void clearRect(num x, num y, num width, num height);
966
967 void clearShadow();
968
969 void clip();
970
971 void closePath();
972
973 ImageData createImageData(var imagedata_OR_sw, [num sh]);
974
975 CanvasGradient createLinearGradient(num x0, num y0, num x1, num y1);
976
977 CanvasPattern createPattern(var canvas_OR_image, String repetitionType);
978
979 CanvasGradient createRadialGradient(num x0, num y0, num r0, num x1, num y1, nu m r1);
980
981 void drawImage(var canvas_OR_image_OR_video, num sx_OR_x, num sy_OR_y, [num sw _OR_width, num height_OR_sh, num dx, num dy, num dw, num dh]);
982
983 void drawImageFromRect(HTMLImageElement image, [num sx, num sy, num sw, num sh , num dx, num dy, num dw, num dh, String compositeOperation]);
984
985 void fill();
986
987 void fillRect(num x, num y, num width, num height);
988
989 void fillText(String text, num x, num y, [num maxWidth]);
990
991 ImageData getImageData(num sx, num sy, num sw, num sh);
992
993 bool isPointInPath(num x, num y);
994
995 void lineTo(num x, num y);
996
997 TextMetrics measureText(String text);
998
999 void moveTo(num x, num y);
1000
1001 void putImageData(ImageData imagedata, num dx, num dy, [num dirtyX, num dirtyY , num dirtyWidth, num dirtyHeight]);
1002
1003 void quadraticCurveTo(num cpx, num cpy, num x, num y);
1004
1005 void rect(num x, num y, num width, num height);
1006
1007 void restore();
1008
1009 void rotate(num angle);
1010
1011 void save();
1012
1013 void scale(num sx, num sy);
1014
1015 void setAlpha(num alpha);
1016
1017 void setCompositeOperation(String compositeOperation);
1018
1019 void setFillColor(var c_OR_color_OR_grayLevel_OR_r, [num alpha_OR_g_OR_m, num b_OR_y, num a_OR_k, num a]);
1020
1021 void setLineCap(String cap);
1022
1023 void setLineJoin(String join);
1024
1025 void setLineWidth(num width);
1026
1027 void setMiterLimit(num limit);
1028
1029 void setShadow(num width, num height, num blur, [var c_OR_color_OR_grayLevel_O R_r, num alpha_OR_g_OR_m, num b_OR_y, num a_OR_k, num a]);
1030
1031 void setStrokeColor(var c_OR_color_OR_grayLevel_OR_r, [num alpha_OR_g_OR_m, nu m b_OR_y, num a_OR_k, num a]);
1032
1033 void setTransform(num m11, num m12, num m21, num m22, num dx, num dy);
1034
1035 void stroke();
1036
1037 void strokeRect(num x, num y, num width, num height, [num lineWidth]);
1038
1039 void strokeText(String text, num x, num y, [num maxWidth]);
1040
1041 void transform(num m11, num m12, num m21, num m22, num dx, num dy);
1042
1043 void translate(num tx, num ty);
1044 }
1045 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1046 // for details. All rights reserved. Use of this source code is governed by a
1047 // BSD-style license that can be found in the LICENSE file.
1048
1049 // WARNING: Do not edit - generated code.
1050
1051 interface CharacterData extends Node {
1052
1053 String data;
1054
1055 final int length;
1056
1057 void appendData(String data);
1058
1059 void deleteData(int offset, int length);
1060
1061 void insertData(int offset, String data);
1062
1063 void replaceData(int offset, int length, String data);
1064
1065 String substringData(int offset, int length);
1066 }
1067 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1068 // for details. All rights reserved. Use of this source code is governed by a
1069 // BSD-style license that can be found in the LICENSE file.
1070
1071 // WARNING: Do not edit - generated code.
1072
1073 interface ClientRect {
1074
1075 final num bottom;
1076
1077 final num height;
1078
1079 final num left;
1080
1081 final num right;
1082
1083 final num top;
1084
1085 final num width;
1086 }
1087 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1088 // for details. All rights reserved. Use of this source code is governed by a
1089 // BSD-style license that can be found in the LICENSE file.
1090
1091 // WARNING: Do not edit - generated code.
1092
1093 interface ClientRectList {
1094
1095 final int length;
1096
1097 ClientRect item(int index);
1098 }
1099 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1100 // for details. All rights reserved. Use of this source code is governed by a
1101 // BSD-style license that can be found in the LICENSE file.
1102
1103 // WARNING: Do not edit - generated code.
1104
1105 interface Clipboard {
1106
1107 String dropEffect;
1108
1109 String effectAllowed;
1110
1111 final FileList files;
1112
1113 final DataTransferItemList items;
1114
1115 final List types;
1116
1117 void clearData([String type]);
1118
1119 String getData(String type);
1120
1121 bool setData(String type, String data);
1122
1123 void setDragImage(HTMLImageElement image, int x, int y);
1124 }
1125 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1126 // for details. All rights reserved. Use of this source code is governed by a
1127 // BSD-style license that can be found in the LICENSE file.
1128
1129 // WARNING: Do not edit - generated code.
1130
1131 interface CloseEvent extends Event {
1132
1133 final int code;
1134
1135 final String reason;
1136
1137 final bool wasClean;
1138 }
1139 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1140 // for details. All rights reserved. Use of this source code is governed by a
1141 // BSD-style license that can be found in the LICENSE file.
1142
1143 // WARNING: Do not edit - generated code.
1144
1145 interface Comment extends CharacterData {
1146 }
1147 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1148 // for details. All rights reserved. Use of this source code is governed by a
1149 // BSD-style license that can be found in the LICENSE file.
1150
1151 // WARNING: Do not edit - generated code.
1152
1153 interface CompositionEvent extends UIEvent {
1154
1155 final String data;
1156
1157 void initCompositionEvent(String typeArg, bool canBubbleArg, bool cancelableAr g, DOMWindow viewArg, String dataArg);
1158 }
1159 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1160 // for details. All rights reserved. Use of this source code is governed by a
1161 // BSD-style license that can be found in the LICENSE file.
1162
1163 // WARNING: Do not edit - generated code.
1164
1165 interface Console {
1166
1167 final MemoryInfo memory;
1168
1169 final List profiles;
1170
1171 void assertCondition(bool condition, Object arg);
1172
1173 void count();
1174
1175 void debug(Object arg);
1176
1177 void dir();
1178
1179 void dirxml();
1180
1181 void error(Object arg);
1182
1183 void group(Object arg);
1184
1185 void groupCollapsed(Object arg);
1186
1187 void groupEnd();
1188
1189 void info(Object arg);
1190
1191 void log(Object arg);
1192
1193 void markTimeline();
1194
1195 void profile(String title);
1196
1197 void profileEnd(String title);
1198
1199 void time(String title);
1200
1201 void timeEnd(String title, Object arg);
1202
1203 void timeStamp(Object arg);
1204
1205 void trace(Object arg);
1206
1207 void warn(Object arg);
1208 }
1209 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1210 // for details. All rights reserved. Use of this source code is governed by a
1211 // BSD-style license that can be found in the LICENSE file.
1212
1213 // WARNING: Do not edit - generated code.
1214
1215 interface ConvolverNode extends AudioNode {
1216
1217 AudioBuffer buffer;
1218
1219 bool normalize;
1220 }
1221 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1222 // for details. All rights reserved. Use of this source code is governed by a
1223 // BSD-style license that can be found in the LICENSE file.
1224
1225 // WARNING: Do not edit - generated code.
1226
1227 interface Coordinates {
1228
1229 final num accuracy;
1230
1231 final num altitude;
1232
1233 final num altitudeAccuracy;
1234
1235 final num heading;
1236
1237 final num latitude;
1238
1239 final num longitude;
1240
1241 final num speed;
1242 }
1243 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1244 // for details. All rights reserved. Use of this source code is governed by a
1245 // BSD-style license that can be found in the LICENSE file.
1246
1247 // WARNING: Do not edit - generated code.
1248
1249 interface Counter {
1250
1251 final String identifier;
1252
1253 final String listStyle;
1254
1255 final String separator;
1256 }
1257 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1258 // for details. All rights reserved. Use of this source code is governed by a
1259 // BSD-style license that can be found in the LICENSE file.
1260
1261 // WARNING: Do not edit - generated code.
1262
1263 interface Crypto {
1264
1265 void getRandomValues(ArrayBufferView array);
1266 }
1267 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1268 // for details. All rights reserved. Use of this source code is governed by a
1269 // BSD-style license that can be found in the LICENSE file.
1270
1271 // WARNING: Do not edit - generated code.
1272
1273 interface CustomEvent extends Event {
1274
1275 final Object detail;
1276
1277 void initCustomEvent(String typeArg, bool canBubbleArg, bool cancelableArg, Ob ject detailArg);
1278 }
1279 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1280 // for details. All rights reserved. Use of this source code is governed by a
1281 // BSD-style license that can be found in the LICENSE file.
1282
1283 // WARNING: Do not edit - generated code.
1284
1285 interface ApplicationCache extends EventTarget {
1286
1287 final int status;
1288
1289 void abort();
1290
1291 void addEventListener(String type, EventListener listener, [bool useCapture]);
1292
1293 bool dispatchEvent(Event evt);
1294
1295 void removeEventListener(String type, EventListener listener, [bool useCapture ]);
1296
1297 void swapCache();
1298
1299 void update();
1300 }
1301
1302 interface DOMApplicationCache extends ApplicationCache {
1303
1304 static final int CHECKING = 2;
1305
1306 static final int DOWNLOADING = 3;
1307
1308 static final int IDLE = 1;
1309
1310 static final int OBSOLETE = 5;
1311
1312 static final int UNCACHED = 0;
1313
1314 static final int UPDATEREADY = 4;
1315 }
1316 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1317 // for details. All rights reserved. Use of this source code is governed by a
1318 // BSD-style license that can be found in the LICENSE file.
1319
1320 // WARNING: Do not edit - generated code.
1321
1322 interface DOMException {
1323
1324 static final int ABORT_ERR = 20;
1325
1326 static final int DATA_CLONE_ERR = 25;
1327
1328 static final int DOMSTRING_SIZE_ERR = 2;
1329
1330 static final int HIERARCHY_REQUEST_ERR = 3;
1331
1332 static final int INDEX_SIZE_ERR = 1;
1333
1334 static final int INUSE_ATTRIBUTE_ERR = 10;
1335
1336 static final int INVALID_ACCESS_ERR = 15;
1337
1338 static final int INVALID_CHARACTER_ERR = 5;
1339
1340 static final int INVALID_MODIFICATION_ERR = 13;
1341
1342 static final int INVALID_NODE_TYPE_ERR = 24;
1343
1344 static final int INVALID_STATE_ERR = 11;
1345
1346 static final int NAMESPACE_ERR = 14;
1347
1348 static final int NETWORK_ERR = 19;
1349
1350 static final int NOT_FOUND_ERR = 8;
1351
1352 static final int NOT_SUPPORTED_ERR = 9;
1353
1354 static final int NO_DATA_ALLOWED_ERR = 6;
1355
1356 static final int NO_MODIFICATION_ALLOWED_ERR = 7;
1357
1358 static final int QUOTA_EXCEEDED_ERR = 22;
1359
1360 static final int SECURITY_ERR = 18;
1361
1362 static final int SYNTAX_ERR = 12;
1363
1364 static final int TIMEOUT_ERR = 23;
1365
1366 static final int TYPE_MISMATCH_ERR = 17;
1367
1368 static final int URL_MISMATCH_ERR = 21;
1369
1370 static final int VALIDATION_ERR = 16;
1371
1372 static final int WRONG_DOCUMENT_ERR = 4;
1373
1374 final int code;
1375
1376 final String message;
1377
1378 final String name;
1379
1380 String toString();
1381 }
1382 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1383 // for details. All rights reserved. Use of this source code is governed by a
1384 // BSD-style license that can be found in the LICENSE file.
1385
1386 // WARNING: Do not edit - generated code.
1387
1388 interface DOMFileSystem {
1389
1390 final String name;
1391
1392 final DirectoryEntry root;
1393 }
1394 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1395 // for details. All rights reserved. Use of this source code is governed by a
1396 // BSD-style license that can be found in the LICENSE file.
1397
1398 // WARNING: Do not edit - generated code.
1399
1400 interface DOMFileSystemSync {
1401
1402 final String name;
1403
1404 final DirectoryEntrySync root;
1405 }
1406 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1407 // for details. All rights reserved. Use of this source code is governed by a
1408 // BSD-style license that can be found in the LICENSE file.
1409
1410 // WARNING: Do not edit - generated code.
1411
1412 interface FormData {
1413
1414 void append(String name, String value, String filename);
1415 }
1416
1417 interface DOMFormData extends FormData {
1418 }
1419 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1420 // for details. All rights reserved. Use of this source code is governed by a
1421 // BSD-style license that can be found in the LICENSE file.
1422
1423 // WARNING: Do not edit - generated code.
1424
1425 interface DOMImplementation {
1426
1427 CSSStyleSheet createCSSStyleSheet(String title, String media);
1428
1429 Document createDocument(String namespaceURI, String qualifiedName, DocumentTyp e doctype);
1430
1431 DocumentType createDocumentType(String qualifiedName, String publicId, String systemId);
1432
1433 HTMLDocument createHTMLDocument(String title);
1434
1435 bool hasFeature(String feature, String version);
1436 }
1437 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1438 // for details. All rights reserved. Use of this source code is governed by a
1439 // BSD-style license that can be found in the LICENSE file.
1440
1441 // WARNING: Do not edit - generated code.
1442
1443 interface DOMMimeType {
1444
1445 final String description;
1446
1447 final DOMPlugin enabledPlugin;
1448
1449 final String suffixes;
1450
1451 final String type;
1452 }
1453 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1454 // for details. All rights reserved. Use of this source code is governed by a
1455 // BSD-style license that can be found in the LICENSE file.
1456
1457 // WARNING: Do not edit - generated code.
1458
1459 interface DOMMimeTypeArray {
1460
1461 final int length;
1462
1463 DOMMimeType item(int index);
1464
1465 DOMMimeType namedItem(String name);
1466 }
1467 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1468 // for details. All rights reserved. Use of this source code is governed by a
1469 // BSD-style license that can be found in the LICENSE file.
1470
1471 // WARNING: Do not edit - generated code.
1472
1473 interface DOMParser default _DOMParserFactoryProvider {
1474
1475 DOMParser();
1476
1477 Document parseFromString(String str, String contentType);
1478 }
1479 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1480 // for details. All rights reserved. Use of this source code is governed by a
1481 // BSD-style license that can be found in the LICENSE file.
1482
1483 // WARNING: Do not edit - generated code.
1484
1485 interface DOMPlugin {
1486
1487 final String description;
1488
1489 final String filename;
1490
1491 final int length;
1492
1493 final String name;
1494
1495 DOMMimeType item(int index);
1496
1497 DOMMimeType namedItem(String name);
1498 }
1499 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1500 // for details. All rights reserved. Use of this source code is governed by a
1501 // BSD-style license that can be found in the LICENSE file.
1502
1503 // WARNING: Do not edit - generated code.
1504
1505 interface DOMPluginArray {
1506
1507 final int length;
1508
1509 DOMPlugin item(int index);
1510
1511 DOMPlugin namedItem(String name);
1512
1513 void refresh(bool reload);
1514 }
1515 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1516 // for details. All rights reserved. Use of this source code is governed by a
1517 // BSD-style license that can be found in the LICENSE file.
1518
1519 // WARNING: Do not edit - generated code.
1520
1521 interface Selection {
1522
1523 final Node anchorNode;
1524
1525 final int anchorOffset;
1526
1527 final Node baseNode;
1528
1529 final int baseOffset;
1530
1531 final Node extentNode;
1532
1533 final int extentOffset;
1534
1535 final Node focusNode;
1536
1537 final int focusOffset;
1538
1539 final bool isCollapsed;
1540
1541 final int rangeCount;
1542
1543 final String type;
1544
1545 void addRange(Range range);
1546
1547 void collapse(Node node, int index);
1548
1549 void collapseToEnd();
1550
1551 void collapseToStart();
1552
1553 bool containsNode(Node node, bool allowPartial);
1554
1555 void deleteFromDocument();
1556
1557 void empty();
1558
1559 void extend(Node node, int offset);
1560
1561 Range getRangeAt(int index);
1562
1563 void modify(String alter, String direction, String granularity);
1564
1565 void removeAllRanges();
1566
1567 void selectAllChildren(Node node);
1568
1569 void setBaseAndExtent(Node baseNode, int baseOffset, Node extentNode, int exte ntOffset);
1570
1571 void setPosition(Node node, int offset);
1572
1573 String toString();
1574 }
1575
1576 interface DOMSelection extends Selection {
1577 }
1578 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1579 // for details. All rights reserved. Use of this source code is governed by a
1580 // BSD-style license that can be found in the LICENSE file.
1581
1582 // WARNING: Do not edit - generated code.
1583
1584 interface DOMSettableTokenList extends DOMTokenList {
1585
1586 String value;
1587 }
1588 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1589 // for details. All rights reserved. Use of this source code is governed by a
1590 // BSD-style license that can be found in the LICENSE file.
1591
1592 // WARNING: Do not edit - generated code.
1593
1594 interface DOMTokenList {
1595
1596 final int length;
1597
1598 void add(String token);
1599
1600 bool contains(String token);
1601
1602 String item(int index);
1603
1604 void remove(String token);
1605
1606 String toString();
1607
1608 bool toggle(String token);
1609 }
1610 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1611 // for details. All rights reserved. Use of this source code is governed by a
1612 // BSD-style license that can be found in the LICENSE file.
1613
1614 // WARNING: Do not edit - generated code.
1615
1616 interface DOMURL default _DOMURLFactoryProvider {
1617
1618 DOMURL();
1619
1620 String createObjectURL(var blob_OR_stream);
1621
1622 void revokeObjectURL(String url);
1623 }
1624 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1625 // for details. All rights reserved. Use of this source code is governed by a
1626 // BSD-style license that can be found in the LICENSE file.
1627
1628 // WARNING: Do not edit - generated code.
1629
1630 interface Window extends EventTarget {
1631
1632 final DOMApplicationCache applicationCache;
1633
1634 final Navigator clientInformation;
1635
1636 final bool closed;
1637
1638 final Console console;
1639
1640 final Crypto crypto;
1641
1642 String defaultStatus;
1643
1644 String defaultstatus;
1645
1646 final num devicePixelRatio;
1647
1648 final Document document;
1649
1650 final Event event;
1651
1652 final Element frameElement;
1653
1654 final DOMWindow frames;
1655
1656 final History history;
1657
1658 final int innerHeight;
1659
1660 final int innerWidth;
1661
1662 final int length;
1663
1664 final Storage localStorage;
1665
1666 Location location;
1667
1668 final BarInfo locationbar;
1669
1670 final BarInfo menubar;
1671
1672 String name;
1673
1674 final Navigator navigator;
1675
1676 final bool offscreenBuffering;
1677
1678 final DOMWindow opener;
1679
1680 final int outerHeight;
1681
1682 final int outerWidth;
1683
1684 final int pageXOffset;
1685
1686 final int pageYOffset;
1687
1688 final DOMWindow parent;
1689
1690 final Performance performance;
1691
1692 final BarInfo personalbar;
1693
1694 final Screen screen;
1695
1696 final int screenLeft;
1697
1698 final int screenTop;
1699
1700 final int screenX;
1701
1702 final int screenY;
1703
1704 final int scrollX;
1705
1706 final int scrollY;
1707
1708 final BarInfo scrollbars;
1709
1710 final DOMWindow self;
1711
1712 final Storage sessionStorage;
1713
1714 String status;
1715
1716 final BarInfo statusbar;
1717
1718 final StyleMedia styleMedia;
1719
1720 final BarInfo toolbar;
1721
1722 final DOMWindow top;
1723
1724 final IDBFactory webkitIndexedDB;
1725
1726 final NotificationCenter webkitNotifications;
1727
1728 final StorageInfo webkitStorageInfo;
1729
1730 final DOMWindow window;
1731
1732 void addEventListener(String type, EventListener listener, [bool useCapture]);
1733
1734 void alert(String message);
1735
1736 String atob(String string);
1737
1738 void blur();
1739
1740 String btoa(String string);
1741
1742 void captureEvents();
1743
1744 void clearInterval(int handle);
1745
1746 void clearTimeout(int handle);
1747
1748 void close();
1749
1750 bool confirm(String message);
1751
1752 bool dispatchEvent(Event evt);
1753
1754 bool find(String string, bool caseSensitive, bool backwards, bool wrap, bool w holeWord, bool searchInFrames, bool showDialog);
1755
1756 void focus();
1757
1758 CSSStyleDeclaration getComputedStyle(Element element, String pseudoElement);
1759
1760 CSSRuleList getMatchedCSSRules(Element element, String pseudoElement);
1761
1762 DOMSelection getSelection();
1763
1764 MediaQueryList matchMedia(String query);
1765
1766 void moveBy(num x, num y);
1767
1768 void moveTo(num x, num y);
1769
1770 DOMWindow open(String url, String name, [String options]);
1771
1772 Database openDatabase(String name, String version, String displayName, int est imatedSize, [DatabaseCallback creationCallback]);
1773
1774 void postMessage(Dynamic message, String targetOrigin, [List messagePorts]);
1775
1776 void print();
1777
1778 String prompt(String message, String defaultValue);
1779
1780 void releaseEvents();
1781
1782 void removeEventListener(String type, EventListener listener, [bool useCapture ]);
1783
1784 void resizeBy(num x, num y);
1785
1786 void resizeTo(num width, num height);
1787
1788 void scroll(int x, int y);
1789
1790 void scrollBy(int x, int y);
1791
1792 void scrollTo(int x, int y);
1793
1794 int setInterval(TimeoutHandler handler, int timeout);
1795
1796 int setTimeout(TimeoutHandler handler, int timeout);
1797
1798 Object showModalDialog(String url, [Object dialogArgs, String featureArgs]);
1799
1800 void stop();
1801
1802 void webkitCancelAnimationFrame(int id);
1803
1804 void webkitCancelRequestAnimationFrame(int id);
1805
1806 WebKitPoint webkitConvertPointFromNodeToPage(Node node, WebKitPoint p);
1807
1808 WebKitPoint webkitConvertPointFromPageToNode(Node node, WebKitPoint p);
1809
1810 void webkitPostMessage(Dynamic message, String targetOrigin, [List transferLis t]);
1811
1812 int webkitRequestAnimationFrame(RequestAnimationFrameCallback callback, Elemen t element);
1813
1814 void webkitRequestFileSystem(int type, int size, FileSystemCallback successCal lback, [ErrorCallback errorCallback]);
1815
1816 void webkitResolveLocalFileSystemURL(String url, [EntryCallback successCallbac k, ErrorCallback errorCallback]);
1817 }
1818
1819 interface DOMWindow extends Window {
1820
1821 static final int PERSISTENT = 1;
1822
1823 static final int TEMPORARY = 0;
1824 }
1825 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1826 // for details. All rights reserved. Use of this source code is governed by a
1827 // BSD-style license that can be found in the LICENSE file.
1828
1829 // WARNING: Do not edit - generated code.
1830
1831 interface DataTransferItem {
1832
1833 final String kind;
1834
1835 final String type;
1836
1837 Blob getAsFile();
1838
1839 void getAsString([StringCallback callback]);
1840 }
1841 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1842 // for details. All rights reserved. Use of this source code is governed by a
1843 // BSD-style license that can be found in the LICENSE file.
1844
1845 // WARNING: Do not edit - generated code.
1846
1847 interface DataTransferItemList {
1848
1849 final int length;
1850
1851 void add(var data_OR_file, [String type]);
1852
1853 void clear();
1854
1855 DataTransferItem item(int index);
1856 }
1857 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1858 // for details. All rights reserved. Use of this source code is governed by a
1859 // BSD-style license that can be found in the LICENSE file.
1860
1861 // WARNING: Do not edit - generated code.
1862
1863 interface DataView extends ArrayBufferView {
1864
1865 num getFloat32(int byteOffset, [bool littleEndian]);
1866
1867 num getFloat64(int byteOffset, [bool littleEndian]);
1868
1869 int getInt16(int byteOffset, [bool littleEndian]);
1870
1871 int getInt32(int byteOffset, [bool littleEndian]);
1872
1873 Object getInt8();
1874
1875 int getUint16(int byteOffset, [bool littleEndian]);
1876
1877 int getUint32(int byteOffset, [bool littleEndian]);
1878
1879 Object getUint8();
1880
1881 void setFloat32(int byteOffset, num value, [bool littleEndian]);
1882
1883 void setFloat64(int byteOffset, num value, [bool littleEndian]);
1884
1885 void setInt16(int byteOffset, int value, [bool littleEndian]);
1886
1887 void setInt32(int byteOffset, int value, [bool littleEndian]);
1888
1889 void setInt8();
1890
1891 void setUint16(int byteOffset, int value, [bool littleEndian]);
1892
1893 void setUint32(int byteOffset, int value, [bool littleEndian]);
1894
1895 void setUint8();
1896 }
1897 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1898 // for details. All rights reserved. Use of this source code is governed by a
1899 // BSD-style license that can be found in the LICENSE file.
1900
1901 // WARNING: Do not edit - generated code.
1902
1903 interface Database {
1904
1905 final String version;
1906
1907 void changeVersion(String oldVersion, String newVersion, [SQLTransactionCallba ck callback, SQLTransactionErrorCallback errorCallback, VoidCallback successCall back]);
1908
1909 void readTransaction(SQLTransactionCallback callback, [SQLTransactionErrorCall back errorCallback, VoidCallback successCallback]);
1910
1911 void transaction(SQLTransactionCallback callback, [SQLTransactionErrorCallback errorCallback, VoidCallback successCallback]);
1912 }
1913 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
1914 // for details. All rights reserved. Use of this source code is governed by a
1915 // BSD-style license that can be found in the LICENSE file.
1916
1917 // WARNING: Do not edit - generated code.
1918
1919 typedef bool DatabaseCallback(var database);
1920 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1921 // for details. All rights reserved. Use of this source code is governed by a
1922 // BSD-style license that can be found in the LICENSE file.
1923
1924 // WARNING: Do not edit - generated code.
1925
1926 interface DatabaseSync {
1927
1928 final String lastErrorMessage;
1929
1930 final String version;
1931
1932 void changeVersion(String oldVersion, String newVersion, [SQLTransactionSyncCa llback callback]);
1933
1934 void readTransaction(SQLTransactionSyncCallback callback);
1935
1936 void transaction(SQLTransactionSyncCallback callback);
1937 }
1938 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1939 // for details. All rights reserved. Use of this source code is governed by a
1940 // BSD-style license that can be found in the LICENSE file.
1941
1942 // WARNING: Do not edit - generated code.
1943
1944 interface DedicatedWorkerGlobalScope extends WorkerContext {
1945
1946 EventListener onmessage;
1947
1948 void postMessage(Object message, [List messagePorts]);
1949
1950 void webkitPostMessage(Object message, [List transferList]);
1951 }
1952
1953 interface DedicatedWorkerContext extends DedicatedWorkerGlobalScope {
1954 }
1955 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1956 // for details. All rights reserved. Use of this source code is governed by a
1957 // BSD-style license that can be found in the LICENSE file.
1958
1959 // WARNING: Do not edit - generated code.
1960
1961 interface DelayNode extends AudioNode {
1962
1963 final AudioParam delayTime;
1964 }
1965 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1966 // for details. All rights reserved. Use of this source code is governed by a
1967 // BSD-style license that can be found in the LICENSE file.
1968
1969 // WARNING: Do not edit - generated code.
1970
1971 interface DeviceMotionEvent extends Event {
1972
1973 final num interval;
1974 }
1975 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1976 // for details. All rights reserved. Use of this source code is governed by a
1977 // BSD-style license that can be found in the LICENSE file.
1978
1979 // WARNING: Do not edit - generated code.
1980
1981 interface DeviceOrientationEvent extends Event {
1982
1983 final bool absolute;
1984
1985 final num alpha;
1986
1987 final num beta;
1988
1989 final num gamma;
1990
1991 void initDeviceOrientationEvent(String type, bool bubbles, bool cancelable, nu m alpha, num beta, num gamma, bool absolute);
1992 }
1993 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1994 // for details. All rights reserved. Use of this source code is governed by a
1995 // BSD-style license that can be found in the LICENSE file.
1996
1997 // WARNING: Do not edit - generated code.
1998
1999 interface DirectoryEntry extends Entry {
2000
2001 DirectoryReader createReader();
2002
2003 void getDirectory(String path, [Object flags, EntryCallback successCallback, E rrorCallback errorCallback]);
2004
2005 void getFile(String path, [Object flags, EntryCallback successCallback, ErrorC allback errorCallback]);
2006
2007 void removeRecursively(VoidCallback successCallback, [ErrorCallback errorCallb ack]);
2008 }
2009 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2010 // for details. All rights reserved. Use of this source code is governed by a
2011 // BSD-style license that can be found in the LICENSE file.
2012
2013 // WARNING: Do not edit - generated code.
2014
2015 interface DirectoryEntrySync extends EntrySync {
2016
2017 DirectoryReaderSync createReader();
2018
2019 DirectoryEntrySync getDirectory(String path, Object flags);
2020
2021 FileEntrySync getFile(String path, Object flags);
2022
2023 void removeRecursively();
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
2031 interface DirectoryReader {
2032
2033 void readEntries(EntriesCallback successCallback, [ErrorCallback errorCallback ]);
2034 }
2035 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2036 // for details. All rights reserved. Use of this source code is governed by a
2037 // BSD-style license that can be found in the LICENSE file.
2038
2039 // WARNING: Do not edit - generated code.
2040
2041 interface DirectoryReaderSync {
2042
2043 EntryArraySync readEntries();
2044 }
2045 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2046 // for details. All rights reserved. Use of this source code is governed by a
2047 // BSD-style license that can be found in the LICENSE file.
2048
2049 // WARNING: Do not edit - generated code.
2050
2051 interface Document extends Node, NodeSelector {
2052
2053 final String URL;
2054
2055 final HTMLCollection anchors;
2056
2057 final HTMLCollection applets;
2058
2059 HTMLElement body;
2060
2061 final String characterSet;
2062
2063 String charset;
2064
2065 final String compatMode;
2066
2067 String cookie;
2068
2069 final String defaultCharset;
2070
2071 final DOMWindow defaultView;
2072
2073 final DocumentType doctype;
2074
2075 final Element documentElement;
2076
2077 String documentURI;
2078
2079 String domain;
2080
2081 final HTMLCollection forms;
2082
2083 final HTMLHeadElement head;
2084
2085 final HTMLCollection images;
2086
2087 final DOMImplementation implementation;
2088
2089 final String inputEncoding;
2090
2091 final String lastModified;
2092
2093 final HTMLCollection links;
2094
2095 Location location;
2096
2097 final String preferredStylesheetSet;
2098
2099 final String readyState;
2100
2101 final String referrer;
2102
2103 String selectedStylesheetSet;
2104
2105 final StyleSheetList styleSheets;
2106
2107 String title;
2108
2109 final Element webkitCurrentFullScreenElement;
2110
2111 final bool webkitFullScreenKeyboardInputAllowed;
2112
2113 final bool webkitHidden;
2114
2115 final bool webkitIsFullScreen;
2116
2117 final String webkitVisibilityState;
2118
2119 final String xmlEncoding;
2120
2121 bool xmlStandalone;
2122
2123 String xmlVersion;
2124
2125 Node adoptNode(Node source);
2126
2127 Range caretRangeFromPoint(int x, int y);
2128
2129 Attr createAttribute(String name);
2130
2131 Attr createAttributeNS(String namespaceURI, String qualifiedName);
2132
2133 CDATASection createCDATASection(String data);
2134
2135 Comment createComment(String data);
2136
2137 DocumentFragment createDocumentFragment();
2138
2139 Element createElement(String tagName);
2140
2141 Element createElementNS(String namespaceURI, String qualifiedName);
2142
2143 EntityReference createEntityReference(String name);
2144
2145 Event createEvent(String eventType);
2146
2147 XPathExpression createExpression(String expression, XPathNSResolver resolver);
2148
2149 XPathNSResolver createNSResolver(Node nodeResolver);
2150
2151 NodeIterator createNodeIterator(Node root, int whatToShow, NodeFilter filter, bool expandEntityReferences);
2152
2153 ProcessingInstruction createProcessingInstruction(String target, String data);
2154
2155 Range createRange();
2156
2157 Text createTextNode(String data);
2158
2159 Touch createTouch(DOMWindow window, EventTarget target, int identifier, int pa geX, int pageY, int screenX, int screenY, int webkitRadiusX, int webkitRadiusY, num webkitRotationAngle, num webkitForce);
2160
2161 TouchList createTouchList();
2162
2163 TreeWalker createTreeWalker(Node root, int whatToShow, NodeFilter filter, bool expandEntityReferences);
2164
2165 Element elementFromPoint(int x, int y);
2166
2167 XPathResult evaluate(String expression, Node contextNode, XPathNSResolver reso lver, int type, XPathResult inResult);
2168
2169 bool execCommand(String command, bool userInterface, String value);
2170
2171 CanvasRenderingContext getCSSCanvasContext(String contextId, String name, int width, int height);
2172
2173 Element getElementById(String elementId);
2174
2175 NodeList getElementsByClassName(String tagname);
2176
2177 NodeList getElementsByName(String elementName);
2178
2179 NodeList getElementsByTagName(String tagname);
2180
2181 NodeList getElementsByTagNameNS(String namespaceURI, String localName);
2182
2183 CSSStyleDeclaration getOverrideStyle(Element element, String pseudoElement);
2184
2185 DOMSelection getSelection();
2186
2187 Node importNode(Node importedNode, [bool deep]);
2188
2189 bool queryCommandEnabled(String command);
2190
2191 bool queryCommandIndeterm(String command);
2192
2193 bool queryCommandState(String command);
2194
2195 bool queryCommandSupported(String command);
2196
2197 String queryCommandValue(String command);
2198
2199 Element querySelector(String selectors);
2200
2201 NodeList querySelectorAll(String selectors);
2202
2203 void webkitCancelFullScreen();
2204
2205 WebKitNamedFlow webkitGetFlowByName(String name);
2206 }
2207 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2208 // for details. All rights reserved. Use of this source code is governed by a
2209 // BSD-style license that can be found in the LICENSE file.
2210
2211 // WARNING: Do not edit - generated code.
2212
2213 interface DocumentFragment extends Node, NodeSelector {
2214
2215 Element querySelector(String selectors);
2216
2217 NodeList querySelectorAll(String selectors);
2218 }
2219 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2220 // for details. All rights reserved. Use of this source code is governed by a
2221 // BSD-style license that can be found in the LICENSE file.
2222
2223 // WARNING: Do not edit - generated code.
2224
2225 interface DocumentType extends Node {
2226
2227 final NamedNodeMap entities;
2228
2229 final String internalSubset;
2230
2231 final String name;
2232
2233 final NamedNodeMap notations;
2234
2235 final String publicId;
2236
2237 final String systemId;
2238 }
2239 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2240 // for details. All rights reserved. Use of this source code is governed by a
2241 // BSD-style license that can be found in the LICENSE file.
2242
2243 // WARNING: Do not edit - generated code.
2244
2245 interface DynamicsCompressorNode extends AudioNode {
2246
2247 final AudioParam knee;
2248
2249 final AudioParam ratio;
2250
2251 final AudioParam reduction;
2252
2253 final AudioParam threshold;
2254 }
2255 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2256 // for details. All rights reserved. Use of this source code is governed by a
2257 // BSD-style license that can be found in the LICENSE file.
2258
2259 // WARNING: Do not edit - generated code.
2260
2261 interface Element extends Node, NodeSelector, ElementTraversal {
2262
2263 static final int ALLOW_KEYBOARD_INPUT = 1;
2264
2265 final int childElementCount;
2266
2267 final int clientHeight;
2268
2269 final int clientLeft;
2270
2271 final int clientTop;
2272
2273 final int clientWidth;
2274
2275 final Element firstElementChild;
2276
2277 final Element lastElementChild;
2278
2279 final Element nextElementSibling;
2280
2281 final int offsetHeight;
2282
2283 final int offsetLeft;
2284
2285 final Element offsetParent;
2286
2287 final int offsetTop;
2288
2289 final int offsetWidth;
2290
2291 final Element previousElementSibling;
2292
2293 final int scrollHeight;
2294
2295 int scrollLeft;
2296
2297 int scrollTop;
2298
2299 final int scrollWidth;
2300
2301 final CSSStyleDeclaration style;
2302
2303 final String tagName;
2304
2305 final String webkitRegionOverflow;
2306
2307 void blur();
2308
2309 void focus();
2310
2311 String getAttribute(String name);
2312
2313 String getAttributeNS(String namespaceURI, String localName);
2314
2315 Attr getAttributeNode(String name);
2316
2317 Attr getAttributeNodeNS(String namespaceURI, String localName);
2318
2319 ClientRect getBoundingClientRect();
2320
2321 ClientRectList getClientRects();
2322
2323 NodeList getElementsByClassName(String name);
2324
2325 NodeList getElementsByTagName(String name);
2326
2327 NodeList getElementsByTagNameNS(String namespaceURI, String localName);
2328
2329 bool hasAttribute(String name);
2330
2331 bool hasAttributeNS(String namespaceURI, String localName);
2332
2333 Element querySelector(String selectors);
2334
2335 NodeList querySelectorAll(String selectors);
2336
2337 void removeAttribute(String name);
2338
2339 void removeAttributeNS(String namespaceURI, String localName);
2340
2341 Attr removeAttributeNode(Attr oldAttr);
2342
2343 void scrollByLines(int lines);
2344
2345 void scrollByPages(int pages);
2346
2347 void scrollIntoView([bool alignWithTop]);
2348
2349 void scrollIntoViewIfNeeded([bool centerIfNeeded]);
2350
2351 void setAttribute(String name, String value);
2352
2353 void setAttributeNS(String namespaceURI, String qualifiedName, String value);
2354
2355 Attr setAttributeNode(Attr newAttr);
2356
2357 Attr setAttributeNodeNS(Attr newAttr);
2358
2359 bool webkitMatchesSelector(String selectors);
2360
2361 void webkitRequestFullScreen(int flags);
2362 }
2363 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2364 // for details. All rights reserved. Use of this source code is governed by a
2365 // BSD-style license that can be found in the LICENSE file.
2366
2367 // WARNING: Do not edit - generated code.
2368
2369 interface ElementTimeControl {
2370
2371 void beginElement();
2372
2373 void beginElementAt(num offset);
2374
2375 void endElement();
2376
2377 void endElementAt(num offset);
2378 }
2379 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2380 // for details. All rights reserved. Use of this source code is governed by a
2381 // BSD-style license that can be found in the LICENSE file.
2382
2383 // WARNING: Do not edit - generated code.
2384
2385 interface ElementTraversal {
2386
2387 final int childElementCount;
2388
2389 final Element firstElementChild;
2390
2391 final Element lastElementChild;
2392
2393 final Element nextElementSibling;
2394
2395 final Element previousElementSibling;
2396 }
2397 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2398 // for details. All rights reserved. Use of this source code is governed by a
2399 // BSD-style license that can be found in the LICENSE file.
2400
2401 // WARNING: Do not edit - generated code.
2402
2403 interface Entity extends Node {
2404
2405 final String notationName;
2406
2407 final String publicId;
2408
2409 final String systemId;
2410 }
2411 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2412 // for details. All rights reserved. Use of this source code is governed by a
2413 // BSD-style license that can be found in the LICENSE file.
2414
2415 // WARNING: Do not edit - generated code.
2416
2417 interface EntityReference extends Node {
2418 }
2419 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2420 // for details. All rights reserved. Use of this source code is governed by a
2421 // BSD-style license that can be found in the LICENSE file.
2422
2423 // WARNING: Do not edit - generated code.
2424
2425 typedef bool EntriesCallback(EntryArray entries);
2426 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2427 // for details. All rights reserved. Use of this source code is governed by a
2428 // BSD-style license that can be found in the LICENSE file.
2429
2430 // WARNING: Do not edit - generated code.
2431
2432 interface Entry {
2433
2434 final DOMFileSystem filesystem;
2435
2436 final String fullPath;
2437
2438 final bool isDirectory;
2439
2440 final bool isFile;
2441
2442 final String name;
2443
2444 void copyTo(DirectoryEntry parent, [String name, EntryCallback successCallback , ErrorCallback errorCallback]);
2445
2446 void getMetadata(MetadataCallback successCallback, [ErrorCallback errorCallbac k]);
2447
2448 void getParent([EntryCallback successCallback, ErrorCallback errorCallback]);
2449
2450 void moveTo(DirectoryEntry parent, [String name, EntryCallback successCallback , ErrorCallback errorCallback]);
2451
2452 void remove(VoidCallback successCallback, [ErrorCallback errorCallback]);
2453
2454 String toURL();
2455 }
2456 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2457 // for details. All rights reserved. Use of this source code is governed by a
2458 // BSD-style license that can be found in the LICENSE file.
2459
2460 // WARNING: Do not edit - generated code.
2461
2462 interface EntryArray {
2463
2464 final int length;
2465
2466 Entry item(int index);
2467 }
2468 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2469 // for details. All rights reserved. Use of this source code is governed by a
2470 // BSD-style license that can be found in the LICENSE file.
2471
2472 // WARNING: Do not edit - generated code.
2473
2474 interface EntryArraySync {
2475
2476 final int length;
2477
2478 EntrySync item(int index);
2479 }
2480 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2481 // for details. All rights reserved. Use of this source code is governed by a
2482 // BSD-style license that can be found in the LICENSE file.
2483
2484 // WARNING: Do not edit - generated code.
2485
2486 typedef bool EntryCallback(Entry entry);
2487 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2488 // for details. All rights reserved. Use of this source code is governed by a
2489 // BSD-style license that can be found in the LICENSE file.
2490
2491 // WARNING: Do not edit - generated code.
2492
2493 interface EntrySync {
2494
2495 final DOMFileSystemSync filesystem;
2496
2497 final String fullPath;
2498
2499 final bool isDirectory;
2500
2501 final bool isFile;
2502
2503 final String name;
2504
2505 EntrySync copyTo(DirectoryEntrySync parent, String name);
2506
2507 Metadata getMetadata();
2508
2509 DirectoryEntrySync getParent();
2510
2511 EntrySync moveTo(DirectoryEntrySync parent, String name);
2512
2513 void remove();
2514
2515 String toURL();
2516 }
2517 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2518 // for details. All rights reserved. Use of this source code is governed by a
2519 // BSD-style license that can be found in the LICENSE file.
2520
2521 // WARNING: Do not edit - generated code.
2522
2523 typedef bool ErrorCallback(FileError error);
2524 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2525 // for details. All rights reserved. Use of this source code is governed by a
2526 // BSD-style license that can be found in the LICENSE file.
2527
2528 // WARNING: Do not edit - generated code.
2529
2530 interface ErrorEvent extends Event {
2531
2532 final String filename;
2533
2534 final int lineno;
2535
2536 final String message;
2537 }
2538 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2539 // for details. All rights reserved. Use of this source code is governed by a
2540 // BSD-style license that can be found in the LICENSE file.
2541
2542 // WARNING: Do not edit - generated code.
2543
2544 interface Event {
2545
2546 static final int AT_TARGET = 2;
2547
2548 static final int BLUR = 8192;
2549
2550 static final int BUBBLING_PHASE = 3;
2551
2552 static final int CAPTURING_PHASE = 1;
2553
2554 static final int CHANGE = 32768;
2555
2556 static final int CLICK = 64;
2557
2558 static final int DBLCLICK = 128;
2559
2560 static final int DRAGDROP = 2048;
2561
2562 static final int FOCUS = 4096;
2563
2564 static final int KEYDOWN = 256;
2565
2566 static final int KEYPRESS = 1024;
2567
2568 static final int KEYUP = 512;
2569
2570 static final int MOUSEDOWN = 1;
2571
2572 static final int MOUSEDRAG = 32;
2573
2574 static final int MOUSEMOVE = 16;
2575
2576 static final int MOUSEOUT = 8;
2577
2578 static final int MOUSEOVER = 4;
2579
2580 static final int MOUSEUP = 2;
2581
2582 static final int SELECT = 16384;
2583
2584 final bool bubbles;
2585
2586 bool cancelBubble;
2587
2588 final bool cancelable;
2589
2590 final Clipboard clipboardData;
2591
2592 final EventTarget currentTarget;
2593
2594 final bool defaultPrevented;
2595
2596 final int eventPhase;
2597
2598 bool returnValue;
2599
2600 final EventTarget srcElement;
2601
2602 final EventTarget target;
2603
2604 final int timeStamp;
2605
2606 final String type;
2607
2608 void initEvent(String eventTypeArg, bool canBubbleArg, bool cancelableArg);
2609
2610 void preventDefault();
2611
2612 void stopImmediatePropagation();
2613
2614 void stopPropagation();
2615 }
2616 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2617 // for details. All rights reserved. Use of this source code is governed by a
2618 // BSD-style license that can be found in the LICENSE file.
2619
2620 // WARNING: Do not edit - generated code.
2621
2622 interface EventException {
2623
2624 static final int DISPATCH_REQUEST_ERR = 1;
2625
2626 static final int UNSPECIFIED_EVENT_TYPE_ERR = 0;
2627
2628 final int code;
2629
2630 final String message;
2631
2632 final String name;
2633
2634 String toString();
2635 }
2636 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2637 // for details. All rights reserved. Use of this source code is governed by a
2638 // BSD-style license that can be found in the LICENSE file.
2639
2640 // WARNING: Do not edit - generated code.
2641
2642 interface EventSource extends EventTarget default _EventSourceFactoryProvider {
2643
2644 EventSource(String scriptUrl);
2645
2646 static final int CLOSED = 2;
2647
2648 static final int CONNECTING = 0;
2649
2650 static final int OPEN = 1;
2651
2652 final String URL;
2653
2654 final int readyState;
2655
2656 final String url;
2657
2658 void addEventListener(String type, EventListener listener, [bool useCapture]);
2659
2660 void close();
2661
2662 bool dispatchEvent(Event evt);
2663
2664 void removeEventListener(String type, EventListener listener, [bool useCapture ]);
2665 }
2666 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2667 // for details. All rights reserved. Use of this source code is governed by a
2668 // BSD-style license that can be found in the LICENSE file.
2669
2670 // WARNING: Do not edit - generated code.
2671
2672 interface EventTarget {
2673
2674 void addEventListener(String type, EventListener listener, [bool useCapture]);
2675
2676 bool dispatchEvent(Event event);
2677
2678 void removeEventListener(String type, EventListener listener, [bool useCapture ]);
2679 }
2680 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2681 // for details. All rights reserved. Use of this source code is governed by a
2682 // BSD-style license that can be found in the LICENSE file.
2683
2684 // WARNING: Do not edit - generated code.
2685
2686 interface File extends Blob {
2687
2688 final String fileName;
2689
2690 final int fileSize;
2691
2692 final Date lastModifiedDate;
2693
2694 final String name;
2695
2696 final String webkitRelativePath;
2697 }
2698 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2699 // for details. All rights reserved. Use of this source code is governed by a
2700 // BSD-style license that can be found in the LICENSE file.
2701
2702 // WARNING: Do not edit - generated code.
2703
2704 typedef bool FileCallback(File file);
2705 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2706 // for details. All rights reserved. Use of this source code is governed by a
2707 // BSD-style license that can be found in the LICENSE file.
2708
2709 // WARNING: Do not edit - generated code.
2710
2711 interface FileEntry extends Entry {
2712
2713 void createWriter(FileWriterCallback successCallback, [ErrorCallback errorCall back]);
2714
2715 void file(FileCallback successCallback, [ErrorCallback errorCallback]);
2716 }
2717 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2718 // for details. All rights reserved. Use of this source code is governed by a
2719 // BSD-style license that can be found in the LICENSE file.
2720
2721 // WARNING: Do not edit - generated code.
2722
2723 interface FileEntrySync extends EntrySync {
2724
2725 FileWriterSync createWriter();
2726
2727 File file();
2728 }
2729 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2730 // for details. All rights reserved. Use of this source code is governed by a
2731 // BSD-style license that can be found in the LICENSE file.
2732
2733 // WARNING: Do not edit - generated code.
2734
2735 interface FileError {
2736
2737 static final int ABORT_ERR = 3;
2738
2739 static final int ENCODING_ERR = 5;
2740
2741 static final int INVALID_MODIFICATION_ERR = 9;
2742
2743 static final int INVALID_STATE_ERR = 7;
2744
2745 static final int NOT_FOUND_ERR = 1;
2746
2747 static final int NOT_READABLE_ERR = 4;
2748
2749 static final int NO_MODIFICATION_ALLOWED_ERR = 6;
2750
2751 static final int PATH_EXISTS_ERR = 12;
2752
2753 static final int QUOTA_EXCEEDED_ERR = 10;
2754
2755 static final int SECURITY_ERR = 2;
2756
2757 static final int SYNTAX_ERR = 8;
2758
2759 static final int TYPE_MISMATCH_ERR = 11;
2760
2761 final int code;
2762 }
2763 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2764 // for details. All rights reserved. Use of this source code is governed by a
2765 // BSD-style license that can be found in the LICENSE file.
2766
2767 // WARNING: Do not edit - generated code.
2768
2769 interface FileException {
2770
2771 static final int ABORT_ERR = 3;
2772
2773 static final int ENCODING_ERR = 5;
2774
2775 static final int INVALID_MODIFICATION_ERR = 9;
2776
2777 static final int INVALID_STATE_ERR = 7;
2778
2779 static final int NOT_FOUND_ERR = 1;
2780
2781 static final int NOT_READABLE_ERR = 4;
2782
2783 static final int NO_MODIFICATION_ALLOWED_ERR = 6;
2784
2785 static final int PATH_EXISTS_ERR = 12;
2786
2787 static final int QUOTA_EXCEEDED_ERR = 10;
2788
2789 static final int SECURITY_ERR = 2;
2790
2791 static final int SYNTAX_ERR = 8;
2792
2793 static final int TYPE_MISMATCH_ERR = 11;
2794
2795 final int code;
2796
2797 final String message;
2798
2799 final String name;
2800
2801 String toString();
2802 }
2803 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2804 // for details. All rights reserved. Use of this source code is governed by a
2805 // BSD-style license that can be found in the LICENSE file.
2806
2807 // WARNING: Do not edit - generated code.
2808
2809 interface FileList {
2810
2811 final int length;
2812
2813 File item(int index);
2814 }
2815 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2816 // for details. All rights reserved. Use of this source code is governed by a
2817 // BSD-style license that can be found in the LICENSE file.
2818
2819 // WARNING: Do not edit - generated code.
2820
2821 interface FileReader default _FileReaderFactoryProvider {
2822
2823 FileReader();
2824
2825 static final int DONE = 2;
2826
2827 static final int EMPTY = 0;
2828
2829 static final int LOADING = 1;
2830
2831 final FileError error;
2832
2833 EventListener onabort;
2834
2835 EventListener onerror;
2836
2837 EventListener onload;
2838
2839 EventListener onloadend;
2840
2841 EventListener onloadstart;
2842
2843 EventListener onprogress;
2844
2845 final int readyState;
2846
2847 final Object result;
2848
2849 void abort();
2850
2851 void addEventListener(String type, EventListener listener, [bool useCapture]);
2852
2853 bool dispatchEvent(Event evt);
2854
2855 void readAsArrayBuffer(Blob blob);
2856
2857 void readAsBinaryString(Blob blob);
2858
2859 void readAsDataURL(Blob blob);
2860
2861 void readAsText(Blob blob, [String encoding]);
2862
2863 void removeEventListener(String type, EventListener listener, [bool useCapture ]);
2864 }
2865 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2866 // for details. All rights reserved. Use of this source code is governed by a
2867 // BSD-style license that can be found in the LICENSE file.
2868
2869 // WARNING: Do not edit - generated code.
2870
2871 interface FileReaderSync default _FileReaderSyncFactoryProvider {
2872
2873 FileReaderSync();
2874
2875 ArrayBuffer readAsArrayBuffer(Blob blob);
2876
2877 String readAsBinaryString(Blob blob);
2878
2879 String readAsDataURL(Blob blob);
2880
2881 String readAsText(Blob blob, [String encoding]);
2882 }
2883 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2884 // for details. All rights reserved. Use of this source code is governed by a
2885 // BSD-style license that can be found in the LICENSE file.
2886
2887 // WARNING: Do not edit - generated code.
2888
2889 typedef bool FileSystemCallback(DOMFileSystem fileSystem);
2890 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2891 // for details. All rights reserved. Use of this source code is governed by a
2892 // BSD-style license that can be found in the LICENSE file.
2893
2894 // WARNING: Do not edit - generated code.
2895
2896 interface FileWriter {
2897
2898 static final int DONE = 2;
2899
2900 static final int INIT = 0;
2901
2902 static final int WRITING = 1;
2903
2904 final FileError error;
2905
2906 final int length;
2907
2908 EventListener onabort;
2909
2910 EventListener onerror;
2911
2912 EventListener onprogress;
2913
2914 EventListener onwrite;
2915
2916 EventListener onwriteend;
2917
2918 EventListener onwritestart;
2919
2920 final int position;
2921
2922 final int readyState;
2923
2924 void abort();
2925
2926 void seek(int position);
2927
2928 void truncate(int size);
2929
2930 void write(Blob data);
2931 }
2932 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2933 // for details. All rights reserved. Use of this source code is governed by a
2934 // BSD-style license that can be found in the LICENSE file.
2935
2936 // WARNING: Do not edit - generated code.
2937
2938 typedef bool FileWriterCallback(FileWriter fileWriter);
2939 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2940 // for details. All rights reserved. Use of this source code is governed by a
2941 // BSD-style license that can be found in the LICENSE file.
2942
2943 // WARNING: Do not edit - generated code.
2944
2945 interface FileWriterSync {
2946
2947 final int length;
2948
2949 final int position;
2950
2951 void seek(int position);
2952
2953 void truncate(int size);
2954
2955 void write(Blob data);
2956 }
2957 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2958 // for details. All rights reserved. Use of this source code is governed by a
2959 // BSD-style license that can be found in the LICENSE file.
2960
2961 // WARNING: Do not edit - generated code.
2962
2963 interface Float32Array extends ArrayBufferView, List<num> default _TypedArrayFac toryProvider {
2964
2965 Float32Array(int length);
2966
2967 Float32Array.fromList(List<num> list);
2968
2969 Float32Array.fromBuffer(ArrayBuffer buffer);
2970
2971 static final int BYTES_PER_ELEMENT = 4;
2972
2973 final int length;
2974
2975 void setElements(Object array, [int offset]);
2976
2977 Float32Array subarray(int start, [int end]);
2978 }
2979 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2980 // for details. All rights reserved. Use of this source code is governed by a
2981 // BSD-style license that can be found in the LICENSE file.
2982
2983 // WARNING: Do not edit - generated code.
2984
2985 interface Float64Array extends ArrayBufferView, List<num> default _TypedArrayFac toryProvider {
2986
2987 Float64Array(int length);
2988
2989 Float64Array.fromList(List<num> list);
2990
2991 Float64Array.fromBuffer(ArrayBuffer buffer);
2992
2993 static final int BYTES_PER_ELEMENT = 8;
2994
2995 final int length;
2996
2997 void setElements(Object array, [int offset]);
2998
2999 Float64Array subarray(int start, [int end]);
3000 }
3001 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3002 // for details. All rights reserved. Use of this source code is governed by a
3003 // BSD-style license that can be found in the LICENSE file.
3004
3005 // WARNING: Do not edit - generated code.
3006
3007 interface Geolocation {
3008
3009 void clearWatch(int watchId);
3010
3011 void getCurrentPosition(PositionCallback successCallback, [PositionErrorCallba ck errorCallback]);
3012
3013 int watchPosition(PositionCallback successCallback, [PositionErrorCallback err orCallback]);
3014 }
3015 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3016 // for details. All rights reserved. Use of this source code is governed by a
3017 // BSD-style license that can be found in the LICENSE file.
3018
3019 // WARNING: Do not edit - generated code.
3020
3021 interface Geoposition {
3022
3023 final Coordinates coords;
3024
3025 final int timestamp;
3026 }
3027 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3028 // for details. All rights reserved. Use of this source code is governed by a
3029 // BSD-style license that can be found in the LICENSE file.
3030
3031 // WARNING: Do not edit - generated code.
3032
3033 interface HTMLAllCollection {
3034
3035 final int length;
3036
3037 Node item(int index);
3038
3039 Node namedItem(String name);
3040
3041 NodeList tags(String name);
3042 }
3043 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3044 // for details. All rights reserved. Use of this source code is governed by a
3045 // BSD-style license that can be found in the LICENSE file.
3046
3047 // WARNING: Do not edit - generated code.
3048
3049 interface HTMLAnchorElement extends HTMLElement {
3050
3051 String charset;
3052
3053 String coords;
3054
3055 String download;
3056
3057 String hash;
3058
3059 String host;
3060
3061 String hostname;
3062
3063 String href;
3064
3065 String hreflang;
3066
3067 String name;
3068
3069 final String origin;
3070
3071 String pathname;
3072
3073 String ping;
3074
3075 String port;
3076
3077 String protocol;
3078
3079 String rel;
3080
3081 String rev;
3082
3083 String search;
3084
3085 String shape;
3086
3087 String target;
3088
3089 final String text;
3090
3091 String type;
3092
3093 String toString();
3094 }
3095 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3096 // for details. All rights reserved. Use of this source code is governed by a
3097 // BSD-style license that can be found in the LICENSE file.
3098
3099 // WARNING: Do not edit - generated code.
3100
3101 interface HTMLAppletElement extends HTMLElement {
3102
3103 String align;
3104
3105 String alt;
3106
3107 String archive;
3108
3109 String code;
3110
3111 String codeBase;
3112
3113 String height;
3114
3115 String hspace;
3116
3117 String name;
3118
3119 String object;
3120
3121 String vspace;
3122
3123 String width;
3124 }
3125 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3126 // for details. All rights reserved. Use of this source code is governed by a
3127 // BSD-style license that can be found in the LICENSE file.
3128
3129 // WARNING: Do not edit - generated code.
3130
3131 interface HTMLAreaElement extends HTMLElement {
3132
3133 String alt;
3134
3135 String coords;
3136
3137 final String hash;
3138
3139 final String host;
3140
3141 final String hostname;
3142
3143 String href;
3144
3145 bool noHref;
3146
3147 final String pathname;
3148
3149 String ping;
3150
3151 final String port;
3152
3153 final String protocol;
3154
3155 final String search;
3156
3157 String shape;
3158
3159 String target;
3160 }
3161 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3162 // for details. All rights reserved. Use of this source code is governed by a
3163 // BSD-style license that can be found in the LICENSE file.
3164
3165 // WARNING: Do not edit - generated code.
3166
3167 interface HTMLAudioElement extends HTMLMediaElement default _HTMLAudioElementFac toryProvider {
3168
3169 HTMLAudioElement([String src]);
3170 }
3171 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3172 // for details. All rights reserved. Use of this source code is governed by a
3173 // BSD-style license that can be found in the LICENSE file.
3174
3175 // WARNING: Do not edit - generated code.
3176
3177 interface HTMLBRElement extends HTMLElement {
3178
3179 String clear;
3180 }
3181 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3182 // for details. All rights reserved. Use of this source code is governed by a
3183 // BSD-style license that can be found in the LICENSE file.
3184
3185 // WARNING: Do not edit - generated code.
3186
3187 interface HTMLBaseElement extends HTMLElement {
3188
3189 String href;
3190
3191 String target;
3192 }
3193 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3194 // for details. All rights reserved. Use of this source code is governed by a
3195 // BSD-style license that can be found in the LICENSE file.
3196
3197 // WARNING: Do not edit - generated code.
3198
3199 interface HTMLBaseFontElement extends HTMLElement {
3200
3201 String color;
3202
3203 String face;
3204
3205 int size;
3206 }
3207 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3208 // for details. All rights reserved. Use of this source code is governed by a
3209 // BSD-style license that can be found in the LICENSE file.
3210
3211 // WARNING: Do not edit - generated code.
3212
3213 interface HTMLBodyElement extends HTMLElement {
3214
3215 String aLink;
3216
3217 String background;
3218
3219 String bgColor;
3220
3221 String link;
3222
3223 String text;
3224
3225 String vLink;
3226 }
3227 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3228 // for details. All rights reserved. Use of this source code is governed by a
3229 // BSD-style license that can be found in the LICENSE file.
3230
3231 // WARNING: Do not edit - generated code.
3232
3233 interface HTMLButtonElement extends HTMLElement {
3234
3235 bool autofocus;
3236
3237 bool disabled;
3238
3239 final HTMLFormElement form;
3240
3241 String formAction;
3242
3243 String formEnctype;
3244
3245 String formMethod;
3246
3247 bool formNoValidate;
3248
3249 String formTarget;
3250
3251 final NodeList labels;
3252
3253 String name;
3254
3255 final String type;
3256
3257 final String validationMessage;
3258
3259 final ValidityState validity;
3260
3261 String value;
3262
3263 final bool willValidate;
3264
3265 bool checkValidity();
3266
3267 void setCustomValidity(String error);
3268 }
3269 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3270 // for details. All rights reserved. Use of this source code is governed by a
3271 // BSD-style license that can be found in the LICENSE file.
3272
3273 // WARNING: Do not edit - generated code.
3274
3275 interface HTMLCanvasElement extends HTMLElement {
3276
3277 int height;
3278
3279 int width;
3280
3281 Object getContext(String contextId);
3282
3283 String toDataURL(String type);
3284 }
3285 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3286 // for details. All rights reserved. Use of this source code is governed by a
3287 // BSD-style license that can be found in the LICENSE file.
3288
3289 // WARNING: Do not edit - generated code.
3290
3291 interface HTMLCollection extends List<Node> {
3292
3293 final int length;
3294
3295 Node item(int index);
3296
3297 Node namedItem(String name);
3298 }
3299 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3300 // for details. All rights reserved. Use of this source code is governed by a
3301 // BSD-style license that can be found in the LICENSE file.
3302
3303 // WARNING: Do not edit - generated code.
3304
3305 interface HTMLContentElement extends HTMLElement {
3306
3307 String select;
3308 }
3309 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3310 // for details. All rights reserved. Use of this source code is governed by a
3311 // BSD-style license that can be found in the LICENSE file.
3312
3313 // WARNING: Do not edit - generated code.
3314
3315 interface HTMLDListElement extends HTMLElement {
3316
3317 bool compact;
3318 }
3319 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3320 // for details. All rights reserved. Use of this source code is governed by a
3321 // BSD-style license that can be found in the LICENSE file.
3322
3323 // WARNING: Do not edit - generated code.
3324
3325 interface HTMLDetailsElement extends HTMLElement {
3326
3327 bool open;
3328 }
3329 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3330 // for details. All rights reserved. Use of this source code is governed by a
3331 // BSD-style license that can be found in the LICENSE file.
3332
3333 // WARNING: Do not edit - generated code.
3334
3335 interface HTMLDirectoryElement extends HTMLElement {
3336
3337 bool compact;
3338 }
3339 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3340 // for details. All rights reserved. Use of this source code is governed by a
3341 // BSD-style license that can be found in the LICENSE file.
3342
3343 // WARNING: Do not edit - generated code.
3344
3345 interface HTMLDivElement extends HTMLElement {
3346
3347 String align;
3348 }
3349 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3350 // for details. All rights reserved. Use of this source code is governed by a
3351 // BSD-style license that can be found in the LICENSE file.
3352
3353 // WARNING: Do not edit - generated code.
3354
3355 interface HTMLDocument extends Document {
3356
3357 final Element activeElement;
3358
3359 String alinkColor;
3360
3361 HTMLAllCollection all;
3362
3363 String bgColor;
3364
3365 final String compatMode;
3366
3367 String designMode;
3368
3369 String dir;
3370
3371 final HTMLCollection embeds;
3372
3373 String fgColor;
3374
3375 String linkColor;
3376
3377 final HTMLCollection plugins;
3378
3379 final HTMLCollection scripts;
3380
3381 String vlinkColor;
3382
3383 void captureEvents();
3384
3385 void clear();
3386
3387 void close();
3388
3389 bool hasFocus();
3390
3391 void open();
3392
3393 void releaseEvents();
3394
3395 void write(String text);
3396
3397 void writeln(String text);
3398 }
3399 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3400 // for details. All rights reserved. Use of this source code is governed by a
3401 // BSD-style license that can be found in the LICENSE file.
3402
3403 // WARNING: Do not edit - generated code.
3404
3405 interface HTMLElement extends Element {
3406
3407 String accessKey;
3408
3409 final HTMLCollection children;
3410
3411 final DOMTokenList classList;
3412
3413 String className;
3414
3415 String contentEditable;
3416
3417 String dir;
3418
3419 bool draggable;
3420
3421 bool hidden;
3422
3423 String id;
3424
3425 String innerHTML;
3426
3427 String innerText;
3428
3429 final bool isContentEditable;
3430
3431 String lang;
3432
3433 String outerHTML;
3434
3435 String outerText;
3436
3437 bool spellcheck;
3438
3439 int tabIndex;
3440
3441 String title;
3442
3443 bool translate;
3444
3445 String webkitdropzone;
3446
3447 void click();
3448
3449 Element insertAdjacentElement(String where, Element element);
3450
3451 void insertAdjacentHTML(String where, String html);
3452
3453 void insertAdjacentText(String where, String text);
3454 }
3455 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3456 // for details. All rights reserved. Use of this source code is governed by a
3457 // BSD-style license that can be found in the LICENSE file.
3458
3459 // WARNING: Do not edit - generated code.
3460
3461 interface HTMLEmbedElement extends HTMLElement {
3462
3463 String align;
3464
3465 String height;
3466
3467 String name;
3468
3469 String src;
3470
3471 String type;
3472
3473 String width;
3474
3475 SVGDocument getSVGDocument();
3476 }
3477 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3478 // for details. All rights reserved. Use of this source code is governed by a
3479 // BSD-style license that can be found in the LICENSE file.
3480
3481 // WARNING: Do not edit - generated code.
3482
3483 interface HTMLFieldSetElement extends HTMLElement {
3484
3485 final HTMLFormElement form;
3486
3487 final String validationMessage;
3488
3489 final ValidityState validity;
3490
3491 final bool willValidate;
3492
3493 bool checkValidity();
3494
3495 void setCustomValidity(String error);
3496 }
3497 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3498 // for details. All rights reserved. Use of this source code is governed by a
3499 // BSD-style license that can be found in the LICENSE file.
3500
3501 // WARNING: Do not edit - generated code.
3502
3503 interface HTMLFontElement extends HTMLElement {
3504
3505 String color;
3506
3507 String face;
3508
3509 String size;
3510 }
3511 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3512 // for details. All rights reserved. Use of this source code is governed by a
3513 // BSD-style license that can be found in the LICENSE file.
3514
3515 // WARNING: Do not edit - generated code.
3516
3517 interface HTMLFormElement extends HTMLElement {
3518
3519 String acceptCharset;
3520
3521 String action;
3522
3523 String autocomplete;
3524
3525 final HTMLCollection elements;
3526
3527 String encoding;
3528
3529 String enctype;
3530
3531 final int length;
3532
3533 String method;
3534
3535 String name;
3536
3537 bool noValidate;
3538
3539 String target;
3540
3541 bool checkValidity();
3542
3543 void reset();
3544
3545 void submit();
3546 }
3547 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3548 // for details. All rights reserved. Use of this source code is governed by a
3549 // BSD-style license that can be found in the LICENSE file.
3550
3551 // WARNING: Do not edit - generated code.
3552
3553 interface HTMLFrameElement extends HTMLElement {
3554
3555 final Document contentDocument;
3556
3557 final DOMWindow contentWindow;
3558
3559 String frameBorder;
3560
3561 final int height;
3562
3563 String location;
3564
3565 String longDesc;
3566
3567 String marginHeight;
3568
3569 String marginWidth;
3570
3571 String name;
3572
3573 bool noResize;
3574
3575 String scrolling;
3576
3577 String src;
3578
3579 final int width;
3580
3581 SVGDocument getSVGDocument();
3582 }
3583 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3584 // for details. All rights reserved. Use of this source code is governed by a
3585 // BSD-style license that can be found in the LICENSE file.
3586
3587 // WARNING: Do not edit - generated code.
3588
3589 interface HTMLFrameSetElement extends HTMLElement {
3590
3591 String cols;
3592
3593 String rows;
3594 }
3595 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3596 // for details. All rights reserved. Use of this source code is governed by a
3597 // BSD-style license that can be found in the LICENSE file.
3598
3599 // WARNING: Do not edit - generated code.
3600
3601 interface HTMLHRElement extends HTMLElement {
3602
3603 String align;
3604
3605 bool noShade;
3606
3607 String size;
3608
3609 String width;
3610 }
3611 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3612 // for details. All rights reserved. Use of this source code is governed by a
3613 // BSD-style license that can be found in the LICENSE file.
3614
3615 // WARNING: Do not edit - generated code.
3616
3617 interface HTMLHeadElement extends HTMLElement {
3618
3619 String profile;
3620 }
3621 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3622 // for details. All rights reserved. Use of this source code is governed by a
3623 // BSD-style license that can be found in the LICENSE file.
3624
3625 // WARNING: Do not edit - generated code.
3626
3627 interface HTMLHeadingElement extends HTMLElement {
3628
3629 String align;
3630 }
3631 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3632 // for details. All rights reserved. Use of this source code is governed by a
3633 // BSD-style license that can be found in the LICENSE file.
3634
3635 // WARNING: Do not edit - generated code.
3636
3637 interface HTMLHtmlElement extends HTMLElement {
3638
3639 String manifest;
3640
3641 String version;
3642 }
3643 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3644 // for details. All rights reserved. Use of this source code is governed by a
3645 // BSD-style license that can be found in the LICENSE file.
3646
3647 // WARNING: Do not edit - generated code.
3648
3649 interface HTMLIFrameElement extends HTMLElement {
3650
3651 String align;
3652
3653 final Document contentDocument;
3654
3655 final DOMWindow contentWindow;
3656
3657 String frameBorder;
3658
3659 String height;
3660
3661 String longDesc;
3662
3663 String marginHeight;
3664
3665 String marginWidth;
3666
3667 String name;
3668
3669 String sandbox;
3670
3671 String scrolling;
3672
3673 String src;
3674
3675 String width;
3676
3677 SVGDocument getSVGDocument();
3678 }
3679 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3680 // for details. All rights reserved. Use of this source code is governed by a
3681 // BSD-style license that can be found in the LICENSE file.
3682
3683 // WARNING: Do not edit - generated code.
3684
3685 interface HTMLImageElement extends HTMLElement {
3686
3687 String align;
3688
3689 String alt;
3690
3691 String border;
3692
3693 final bool complete;
3694
3695 String crossOrigin;
3696
3697 int height;
3698
3699 int hspace;
3700
3701 bool isMap;
3702
3703 String longDesc;
3704
3705 String lowsrc;
3706
3707 String name;
3708
3709 final int naturalHeight;
3710
3711 final int naturalWidth;
3712
3713 String src;
3714
3715 String useMap;
3716
3717 int vspace;
3718
3719 int width;
3720
3721 final int x;
3722
3723 final int y;
3724 }
3725 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3726 // for details. All rights reserved. Use of this source code is governed by a
3727 // BSD-style license that can be found in the LICENSE file.
3728
3729 // WARNING: Do not edit - generated code.
3730
3731 interface HTMLInputElement extends HTMLElement {
3732
3733 String accept;
3734
3735 String align;
3736
3737 String alt;
3738
3739 String autocomplete;
3740
3741 bool autofocus;
3742
3743 bool checked;
3744
3745 bool defaultChecked;
3746
3747 String defaultValue;
3748
3749 String dirName;
3750
3751 bool disabled;
3752
3753 final FileList files;
3754
3755 final HTMLFormElement form;
3756
3757 String formAction;
3758
3759 String formEnctype;
3760
3761 String formMethod;
3762
3763 bool formNoValidate;
3764
3765 String formTarget;
3766
3767 bool incremental;
3768
3769 bool indeterminate;
3770
3771 final NodeList labels;
3772
3773 String max;
3774
3775 int maxLength;
3776
3777 String min;
3778
3779 bool multiple;
3780
3781 String name;
3782
3783 String pattern;
3784
3785 String placeholder;
3786
3787 bool readOnly;
3788
3789 bool required;
3790
3791 String selectionDirection;
3792
3793 int selectionEnd;
3794
3795 int selectionStart;
3796
3797 int size;
3798
3799 String src;
3800
3801 String step;
3802
3803 String type;
3804
3805 String useMap;
3806
3807 final String validationMessage;
3808
3809 final ValidityState validity;
3810
3811 String value;
3812
3813 Date valueAsDate;
3814
3815 num valueAsNumber;
3816
3817 bool webkitGrammar;
3818
3819 bool webkitSpeech;
3820
3821 bool webkitdirectory;
3822
3823 final bool willValidate;
3824
3825 bool checkValidity();
3826
3827 void select();
3828
3829 void setCustomValidity(String error);
3830
3831 void setSelectionRange(int start, int end, [String direction]);
3832
3833 void stepDown([int n]);
3834
3835 void stepUp([int n]);
3836 }
3837 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3838 // for details. All rights reserved. Use of this source code is governed by a
3839 // BSD-style license that can be found in the LICENSE file.
3840
3841 // WARNING: Do not edit - generated code.
3842
3843 interface HTMLKeygenElement extends HTMLElement {
3844
3845 bool autofocus;
3846
3847 String challenge;
3848
3849 bool disabled;
3850
3851 final HTMLFormElement form;
3852
3853 String keytype;
3854
3855 final NodeList labels;
3856
3857 String name;
3858
3859 final String type;
3860
3861 final String validationMessage;
3862
3863 final ValidityState validity;
3864
3865 final bool willValidate;
3866
3867 bool checkValidity();
3868
3869 void setCustomValidity(String error);
3870 }
3871 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3872 // for details. All rights reserved. Use of this source code is governed by a
3873 // BSD-style license that can be found in the LICENSE file.
3874
3875 // WARNING: Do not edit - generated code.
3876
3877 interface HTMLLIElement extends HTMLElement {
3878
3879 String type;
3880
3881 int value;
3882 }
3883 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3884 // for details. All rights reserved. Use of this source code is governed by a
3885 // BSD-style license that can be found in the LICENSE file.
3886
3887 // WARNING: Do not edit - generated code.
3888
3889 interface HTMLLabelElement extends HTMLElement {
3890
3891 final HTMLElement control;
3892
3893 final HTMLFormElement form;
3894
3895 String htmlFor;
3896 }
3897 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3898 // for details. All rights reserved. Use of this source code is governed by a
3899 // BSD-style license that can be found in the LICENSE file.
3900
3901 // WARNING: Do not edit - generated code.
3902
3903 interface HTMLLegendElement extends HTMLElement {
3904
3905 String align;
3906
3907 final HTMLFormElement form;
3908 }
3909 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3910 // for details. All rights reserved. Use of this source code is governed by a
3911 // BSD-style license that can be found in the LICENSE file.
3912
3913 // WARNING: Do not edit - generated code.
3914
3915 interface HTMLLinkElement extends HTMLElement {
3916
3917 String charset;
3918
3919 bool disabled;
3920
3921 String href;
3922
3923 String hreflang;
3924
3925 String media;
3926
3927 String rel;
3928
3929 String rev;
3930
3931 final StyleSheet sheet;
3932
3933 DOMSettableTokenList sizes;
3934
3935 String target;
3936
3937 String type;
3938 }
3939 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3940 // for details. All rights reserved. Use of this source code is governed by a
3941 // BSD-style license that can be found in the LICENSE file.
3942
3943 // WARNING: Do not edit - generated code.
3944
3945 interface HTMLMapElement extends HTMLElement {
3946
3947 final HTMLCollection areas;
3948
3949 String name;
3950 }
3951 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3952 // for details. All rights reserved. Use of this source code is governed by a
3953 // BSD-style license that can be found in the LICENSE file.
3954
3955 // WARNING: Do not edit - generated code.
3956
3957 interface HTMLMarqueeElement extends HTMLElement {
3958
3959 String behavior;
3960
3961 String bgColor;
3962
3963 String direction;
3964
3965 String height;
3966
3967 int hspace;
3968
3969 int loop;
3970
3971 int scrollAmount;
3972
3973 int scrollDelay;
3974
3975 bool trueSpeed;
3976
3977 int vspace;
3978
3979 String width;
3980
3981 void start();
3982
3983 void stop();
3984 }
3985 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3986 // for details. All rights reserved. Use of this source code is governed by a
3987 // BSD-style license that can be found in the LICENSE file.
3988
3989 // WARNING: Do not edit - generated code.
3990
3991 interface HTMLMediaElement extends HTMLElement {
3992
3993 static final int EOS_DECODE_ERR = 2;
3994
3995 static final int EOS_NETWORK_ERR = 1;
3996
3997 static final int EOS_NO_ERROR = 0;
3998
3999 static final int HAVE_CURRENT_DATA = 2;
4000
4001 static final int HAVE_ENOUGH_DATA = 4;
4002
4003 static final int HAVE_FUTURE_DATA = 3;
4004
4005 static final int HAVE_METADATA = 1;
4006
4007 static final int HAVE_NOTHING = 0;
4008
4009 static final int NETWORK_EMPTY = 0;
4010
4011 static final int NETWORK_IDLE = 1;
4012
4013 static final int NETWORK_LOADING = 2;
4014
4015 static final int NETWORK_NO_SOURCE = 3;
4016
4017 static final int SOURCE_CLOSED = 0;
4018
4019 static final int SOURCE_ENDED = 2;
4020
4021 static final int SOURCE_OPEN = 1;
4022
4023 bool autoplay;
4024
4025 final TimeRanges buffered;
4026
4027 MediaController controller;
4028
4029 bool controls;
4030
4031 final String currentSrc;
4032
4033 num currentTime;
4034
4035 bool defaultMuted;
4036
4037 num defaultPlaybackRate;
4038
4039 final num duration;
4040
4041 final bool ended;
4042
4043 final MediaError error;
4044
4045 final num initialTime;
4046
4047 bool loop;
4048
4049 String mediaGroup;
4050
4051 bool muted;
4052
4053 final int networkState;
4054
4055 final bool paused;
4056
4057 num playbackRate;
4058
4059 final TimeRanges played;
4060
4061 String preload;
4062
4063 final int readyState;
4064
4065 final TimeRanges seekable;
4066
4067 final bool seeking;
4068
4069 String src;
4070
4071 final num startTime;
4072
4073 final TextTrackList textTracks;
4074
4075 num volume;
4076
4077 final int webkitAudioDecodedByteCount;
4078
4079 bool webkitClosedCaptionsVisible;
4080
4081 final bool webkitHasClosedCaptions;
4082
4083 final String webkitMediaSourceURL;
4084
4085 bool webkitPreservesPitch;
4086
4087 final int webkitSourceState;
4088
4089 final int webkitVideoDecodedByteCount;
4090
4091 TextTrack addTextTrack(String kind, [String label, String language]);
4092
4093 String canPlayType(String type);
4094
4095 void load();
4096
4097 void pause();
4098
4099 void play();
4100
4101 void webkitSourceAppend(Uint8Array data);
4102
4103 void webkitSourceEndOfStream(int status);
4104 }
4105 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4106 // for details. All rights reserved. Use of this source code is governed by a
4107 // BSD-style license that can be found in the LICENSE file.
4108
4109 // WARNING: Do not edit - generated code.
4110
4111 interface HTMLMenuElement extends HTMLElement {
4112
4113 bool compact;
4114 }
4115 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4116 // for details. All rights reserved. Use of this source code is governed by a
4117 // BSD-style license that can be found in the LICENSE file.
4118
4119 // WARNING: Do not edit - generated code.
4120
4121 interface HTMLMetaElement extends HTMLElement {
4122
4123 String content;
4124
4125 String httpEquiv;
4126
4127 String name;
4128
4129 String scheme;
4130 }
4131 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4132 // for details. All rights reserved. Use of this source code is governed by a
4133 // BSD-style license that can be found in the LICENSE file.
4134
4135 // WARNING: Do not edit - generated code.
4136
4137 interface HTMLMeterElement extends HTMLElement {
4138
4139 final HTMLFormElement form;
4140
4141 num high;
4142
4143 final NodeList labels;
4144
4145 num low;
4146
4147 num max;
4148
4149 num min;
4150
4151 num optimum;
4152
4153 num value;
4154 }
4155 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4156 // for details. All rights reserved. Use of this source code is governed by a
4157 // BSD-style license that can be found in the LICENSE file.
4158
4159 // WARNING: Do not edit - generated code.
4160
4161 interface HTMLModElement extends HTMLElement {
4162
4163 String cite;
4164
4165 String dateTime;
4166 }
4167 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4168 // for details. All rights reserved. Use of this source code is governed by a
4169 // BSD-style license that can be found in the LICENSE file.
4170
4171 // WARNING: Do not edit - generated code.
4172
4173 interface HTMLOListElement extends HTMLElement {
4174
4175 bool compact;
4176
4177 bool reversed;
4178
4179 int start;
4180
4181 String type;
4182 }
4183 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4184 // for details. All rights reserved. Use of this source code is governed by a
4185 // BSD-style license that can be found in the LICENSE file.
4186
4187 // WARNING: Do not edit - generated code.
4188
4189 interface HTMLObjectElement extends HTMLElement {
4190
4191 String align;
4192
4193 String archive;
4194
4195 String border;
4196
4197 String code;
4198
4199 String codeBase;
4200
4201 String codeType;
4202
4203 final Document contentDocument;
4204
4205 String data;
4206
4207 bool declare;
4208
4209 final HTMLFormElement form;
4210
4211 String height;
4212
4213 int hspace;
4214
4215 String name;
4216
4217 String standby;
4218
4219 String type;
4220
4221 String useMap;
4222
4223 final String validationMessage;
4224
4225 final ValidityState validity;
4226
4227 int vspace;
4228
4229 String width;
4230
4231 final bool willValidate;
4232
4233 bool checkValidity();
4234
4235 SVGDocument getSVGDocument();
4236
4237 void setCustomValidity(String error);
4238 }
4239 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4240 // for details. All rights reserved. Use of this source code is governed by a
4241 // BSD-style license that can be found in the LICENSE file.
4242
4243 // WARNING: Do not edit - generated code.
4244
4245 interface HTMLOptGroupElement extends HTMLElement {
4246
4247 bool disabled;
4248
4249 String label;
4250 }
4251 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4252 // for details. All rights reserved. Use of this source code is governed by a
4253 // BSD-style license that can be found in the LICENSE file.
4254
4255 // WARNING: Do not edit - generated code.
4256
4257 interface HTMLOptionElement extends HTMLElement default _HTMLOptionElementFactor yProvider {
4258
4259 HTMLOptionElement([String data, String value, bool defaultSelected, bool selec ted]);
4260
4261 bool defaultSelected;
4262
4263 bool disabled;
4264
4265 final HTMLFormElement form;
4266
4267 final int index;
4268
4269 String label;
4270
4271 bool selected;
4272
4273 String text;
4274
4275 String value;
4276 }
4277 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4278 // for details. All rights reserved. Use of this source code is governed by a
4279 // BSD-style license that can be found in the LICENSE file.
4280
4281 // WARNING: Do not edit - generated code.
4282
4283 interface HTMLOptionsCollection extends HTMLCollection {
4284
4285 int length;
4286
4287 int selectedIndex;
4288
4289 void remove(int index);
4290 }
4291 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4292 // for details. All rights reserved. Use of this source code is governed by a
4293 // BSD-style license that can be found in the LICENSE file.
4294
4295 // WARNING: Do not edit - generated code.
4296
4297 interface HTMLOutputElement extends HTMLElement {
4298
4299 String defaultValue;
4300
4301 final HTMLFormElement form;
4302
4303 DOMSettableTokenList htmlFor;
4304
4305 final NodeList labels;
4306
4307 String name;
4308
4309 final String type;
4310
4311 final String validationMessage;
4312
4313 final ValidityState validity;
4314
4315 String value;
4316
4317 final bool willValidate;
4318
4319 bool checkValidity();
4320
4321 void setCustomValidity(String error);
4322 }
4323 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4324 // for details. All rights reserved. Use of this source code is governed by a
4325 // BSD-style license that can be found in the LICENSE file.
4326
4327 // WARNING: Do not edit - generated code.
4328
4329 interface HTMLParagraphElement extends HTMLElement {
4330
4331 String align;
4332 }
4333 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4334 // for details. All rights reserved. Use of this source code is governed by a
4335 // BSD-style license that can be found in the LICENSE file.
4336
4337 // WARNING: Do not edit - generated code.
4338
4339 interface HTMLParamElement extends HTMLElement {
4340
4341 String name;
4342
4343 String type;
4344
4345 String value;
4346
4347 String valueType;
4348 }
4349 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4350 // for details. All rights reserved. Use of this source code is governed by a
4351 // BSD-style license that can be found in the LICENSE file.
4352
4353 // WARNING: Do not edit - generated code.
4354
4355 interface HTMLPreElement extends HTMLElement {
4356
4357 int width;
4358
4359 bool wrap;
4360 }
4361 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4362 // for details. All rights reserved. Use of this source code is governed by a
4363 // BSD-style license that can be found in the LICENSE file.
4364
4365 // WARNING: Do not edit - generated code.
4366
4367 interface HTMLProgressElement extends HTMLElement {
4368
4369 final HTMLFormElement form;
4370
4371 final NodeList labels;
4372
4373 num max;
4374
4375 final num position;
4376
4377 num value;
4378 }
4379 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4380 // for details. All rights reserved. Use of this source code is governed by a
4381 // BSD-style license that can be found in the LICENSE file.
4382
4383 // WARNING: Do not edit - generated code.
4384
4385 interface HTMLQuoteElement extends HTMLElement {
4386
4387 String cite;
4388 }
4389 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4390 // for details. All rights reserved. Use of this source code is governed by a
4391 // BSD-style license that can be found in the LICENSE file.
4392
4393 // WARNING: Do not edit - generated code.
4394
4395 interface HTMLScriptElement extends HTMLElement {
4396
4397 bool async;
4398
4399 String charset;
4400
4401 bool defer;
4402
4403 String event;
4404
4405 String htmlFor;
4406
4407 String src;
4408
4409 String text;
4410
4411 String type;
4412 }
4413 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4414 // for details. All rights reserved. Use of this source code is governed by a
4415 // BSD-style license that can be found in the LICENSE file.
4416
4417 // WARNING: Do not edit - generated code.
4418
4419 interface HTMLSelectElement extends HTMLElement {
4420
4421 bool autofocus;
4422
4423 bool disabled;
4424
4425 final HTMLFormElement form;
4426
4427 final NodeList labels;
4428
4429 int length;
4430
4431 bool multiple;
4432
4433 String name;
4434
4435 final HTMLOptionsCollection options;
4436
4437 bool required;
4438
4439 int selectedIndex;
4440
4441 int size;
4442
4443 final String type;
4444
4445 final String validationMessage;
4446
4447 final ValidityState validity;
4448
4449 String value;
4450
4451 final bool willValidate;
4452
4453 void add(HTMLElement element, HTMLElement before);
4454
4455 bool checkValidity();
4456
4457 Node item(int index);
4458
4459 Node namedItem(String name);
4460
4461 void remove(var index_OR_option);
4462
4463 void setCustomValidity(String error);
4464 }
4465 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4466 // for details. All rights reserved. Use of this source code is governed by a
4467 // BSD-style license that can be found in the LICENSE file.
4468
4469 // WARNING: Do not edit - generated code.
4470
4471 interface HTMLShadowElement extends HTMLElement {
4472 }
4473 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4474 // for details. All rights reserved. Use of this source code is governed by a
4475 // BSD-style license that can be found in the LICENSE file.
4476
4477 // WARNING: Do not edit - generated code.
4478
4479 interface HTMLSourceElement extends HTMLElement {
4480
4481 String media;
4482
4483 String src;
4484
4485 String type;
4486 }
4487 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4488 // for details. All rights reserved. Use of this source code is governed by a
4489 // BSD-style license that can be found in the LICENSE file.
4490
4491 // WARNING: Do not edit - generated code.
4492
4493 interface HTMLSpanElement extends HTMLElement {
4494 }
4495 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4496 // for details. All rights reserved. Use of this source code is governed by a
4497 // BSD-style license that can be found in the LICENSE file.
4498
4499 // WARNING: Do not edit - generated code.
4500
4501 interface HTMLStyleElement extends HTMLElement {
4502
4503 bool disabled;
4504
4505 String media;
4506
4507 final StyleSheet sheet;
4508
4509 String type;
4510 }
4511 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4512 // for details. All rights reserved. Use of this source code is governed by a
4513 // BSD-style license that can be found in the LICENSE file.
4514
4515 // WARNING: Do not edit - generated code.
4516
4517 interface HTMLTableCaptionElement extends HTMLElement {
4518
4519 String align;
4520 }
4521 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4522 // for details. All rights reserved. Use of this source code is governed by a
4523 // BSD-style license that can be found in the LICENSE file.
4524
4525 // WARNING: Do not edit - generated code.
4526
4527 interface HTMLTableCellElement extends HTMLElement {
4528
4529 String abbr;
4530
4531 String align;
4532
4533 String axis;
4534
4535 String bgColor;
4536
4537 final int cellIndex;
4538
4539 String ch;
4540
4541 String chOff;
4542
4543 int colSpan;
4544
4545 String headers;
4546
4547 String height;
4548
4549 bool noWrap;
4550
4551 int rowSpan;
4552
4553 String scope;
4554
4555 String vAlign;
4556
4557 String width;
4558 }
4559 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4560 // for details. All rights reserved. Use of this source code is governed by a
4561 // BSD-style license that can be found in the LICENSE file.
4562
4563 // WARNING: Do not edit - generated code.
4564
4565 interface HTMLTableColElement extends HTMLElement {
4566
4567 String align;
4568
4569 String ch;
4570
4571 String chOff;
4572
4573 int span;
4574
4575 String vAlign;
4576
4577 String width;
4578 }
4579 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4580 // for details. All rights reserved. Use of this source code is governed by a
4581 // BSD-style license that can be found in the LICENSE file.
4582
4583 // WARNING: Do not edit - generated code.
4584
4585 interface HTMLTableElement extends HTMLElement {
4586
4587 String align;
4588
4589 String bgColor;
4590
4591 String border;
4592
4593 HTMLTableCaptionElement caption;
4594
4595 String cellPadding;
4596
4597 String cellSpacing;
4598
4599 String frame;
4600
4601 final HTMLCollection rows;
4602
4603 String rules;
4604
4605 String summary;
4606
4607 final HTMLCollection tBodies;
4608
4609 HTMLTableSectionElement tFoot;
4610
4611 HTMLTableSectionElement tHead;
4612
4613 String width;
4614
4615 HTMLElement createCaption();
4616
4617 HTMLElement createTFoot();
4618
4619 HTMLElement createTHead();
4620
4621 void deleteCaption();
4622
4623 void deleteRow(int index);
4624
4625 void deleteTFoot();
4626
4627 void deleteTHead();
4628
4629 HTMLElement insertRow(int index);
4630 }
4631 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4632 // for details. All rights reserved. Use of this source code is governed by a
4633 // BSD-style license that can be found in the LICENSE file.
4634
4635 // WARNING: Do not edit - generated code.
4636
4637 interface HTMLTableRowElement extends HTMLElement {
4638
4639 String align;
4640
4641 String bgColor;
4642
4643 final HTMLCollection cells;
4644
4645 String ch;
4646
4647 String chOff;
4648
4649 final int rowIndex;
4650
4651 final int sectionRowIndex;
4652
4653 String vAlign;
4654
4655 void deleteCell(int index);
4656
4657 HTMLElement insertCell(int index);
4658 }
4659 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4660 // for details. All rights reserved. Use of this source code is governed by a
4661 // BSD-style license that can be found in the LICENSE file.
4662
4663 // WARNING: Do not edit - generated code.
4664
4665 interface HTMLTableSectionElement extends HTMLElement {
4666
4667 String align;
4668
4669 String ch;
4670
4671 String chOff;
4672
4673 final HTMLCollection rows;
4674
4675 String vAlign;
4676
4677 void deleteRow(int index);
4678
4679 HTMLElement insertRow(int index);
4680 }
4681 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4682 // for details. All rights reserved. Use of this source code is governed by a
4683 // BSD-style license that can be found in the LICENSE file.
4684
4685 // WARNING: Do not edit - generated code.
4686
4687 interface HTMLTextAreaElement extends HTMLElement {
4688
4689 bool autofocus;
4690
4691 int cols;
4692
4693 String defaultValue;
4694
4695 String dirName;
4696
4697 bool disabled;
4698
4699 final HTMLFormElement form;
4700
4701 final NodeList labels;
4702
4703 int maxLength;
4704
4705 String name;
4706
4707 String placeholder;
4708
4709 bool readOnly;
4710
4711 bool required;
4712
4713 int rows;
4714
4715 String selectionDirection;
4716
4717 int selectionEnd;
4718
4719 int selectionStart;
4720
4721 final int textLength;
4722
4723 final String type;
4724
4725 final String validationMessage;
4726
4727 final ValidityState validity;
4728
4729 String value;
4730
4731 final bool willValidate;
4732
4733 String wrap;
4734
4735 bool checkValidity();
4736
4737 void select();
4738
4739 void setCustomValidity(String error);
4740
4741 void setSelectionRange(int start, int end, [String direction]);
4742 }
4743 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4744 // for details. All rights reserved. Use of this source code is governed by a
4745 // BSD-style license that can be found in the LICENSE file.
4746
4747 // WARNING: Do not edit - generated code.
4748
4749 interface HTMLTitleElement extends HTMLElement {
4750
4751 String text;
4752 }
4753 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4754 // for details. All rights reserved. Use of this source code is governed by a
4755 // BSD-style license that can be found in the LICENSE file.
4756
4757 // WARNING: Do not edit - generated code.
4758
4759 interface HTMLTrackElement extends HTMLElement {
4760
4761 static final int ERROR = 3;
4762
4763 static final int LOADED = 2;
4764
4765 static final int LOADING = 1;
4766
4767 static final int NONE = 0;
4768
4769 bool isDefault;
4770
4771 String kind;
4772
4773 String label;
4774
4775 final int readyState;
4776
4777 String src;
4778
4779 String srclang;
4780
4781 final TextTrack track;
4782 }
4783 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4784 // for details. All rights reserved. Use of this source code is governed by a
4785 // BSD-style license that can be found in the LICENSE file.
4786
4787 // WARNING: Do not edit - generated code.
4788
4789 interface HTMLUListElement extends HTMLElement {
4790
4791 bool compact;
4792
4793 String type;
4794 }
4795 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4796 // for details. All rights reserved. Use of this source code is governed by a
4797 // BSD-style license that can be found in the LICENSE file.
4798
4799 // WARNING: Do not edit - generated code.
4800
4801 interface HTMLUnknownElement extends HTMLElement {
4802 }
4803 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4804 // for details. All rights reserved. Use of this source code is governed by a
4805 // BSD-style license that can be found in the LICENSE file.
4806
4807 // WARNING: Do not edit - generated code.
4808
4809 interface HTMLVideoElement extends HTMLMediaElement {
4810
4811 int height;
4812
4813 String poster;
4814
4815 final int videoHeight;
4816
4817 final int videoWidth;
4818
4819 final int webkitDecodedFrameCount;
4820
4821 final bool webkitDisplayingFullscreen;
4822
4823 final int webkitDroppedFrameCount;
4824
4825 final bool webkitSupportsFullscreen;
4826
4827 int width;
4828
4829 void webkitEnterFullScreen();
4830
4831 void webkitEnterFullscreen();
4832
4833 void webkitExitFullScreen();
4834
4835 void webkitExitFullscreen();
4836 }
4837 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4838 // for details. All rights reserved. Use of this source code is governed by a
4839 // BSD-style license that can be found in the LICENSE file.
4840
4841 // WARNING: Do not edit - generated code.
4842
4843 interface HashChangeEvent extends Event {
4844
4845 final String newURL;
4846
4847 final String oldURL;
4848
4849 void initHashChangeEvent(String type, bool canBubble, bool cancelable, String oldURL, String newURL);
4850 }
4851 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4852 // for details. All rights reserved. Use of this source code is governed by a
4853 // BSD-style license that can be found in the LICENSE file.
4854
4855 // WARNING: Do not edit - generated code.
4856
4857 interface HighPass2FilterNode extends AudioNode {
4858
4859 final AudioParam cutoff;
4860
4861 final AudioParam resonance;
4862 }
4863 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4864 // for details. All rights reserved. Use of this source code is governed by a
4865 // BSD-style license that can be found in the LICENSE file.
4866
4867 // WARNING: Do not edit - generated code.
4868
4869 interface History {
4870
4871 final int length;
4872
4873 final Dynamic state;
4874
4875 void back();
4876
4877 void forward();
4878
4879 void go(int distance);
4880
4881 void pushState(Object data, String title, [String url]);
4882
4883 void replaceState(Object data, String title, [String url]);
4884 }
4885 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4886 // for details. All rights reserved. Use of this source code is governed by a
4887 // BSD-style license that can be found in the LICENSE file.
4888
4889 // WARNING: Do not edit - generated code.
4890
4891 interface IDBAny {
4892 }
4893 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4894 // for details. All rights reserved. Use of this source code is governed by a
4895 // BSD-style license that can be found in the LICENSE file.
4896
4897 // WARNING: Do not edit - generated code.
4898
4899 interface IDBCursor {
4900
4901 static final int NEXT = 0;
4902
4903 static final int NEXT_NO_DUPLICATE = 1;
4904
4905 static final int PREV = 2;
4906
4907 static final int PREV_NO_DUPLICATE = 3;
4908
4909 final int direction;
4910
4911 final IDBKey key;
4912
4913 final IDBKey primaryKey;
4914
4915 final IDBAny source;
4916
4917 void continueFunction([IDBKey key]);
4918
4919 IDBRequest delete();
4920
4921 IDBRequest update(Dynamic value);
4922 }
4923 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4924 // for details. All rights reserved. Use of this source code is governed by a
4925 // BSD-style license that can be found in the LICENSE file.
4926
4927 // WARNING: Do not edit - generated code.
4928
4929 interface IDBCursorWithValue extends IDBCursor {
4930
4931 final IDBAny value;
4932 }
4933 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4934 // for details. All rights reserved. Use of this source code is governed by a
4935 // BSD-style license that can be found in the LICENSE file.
4936
4937 // WARNING: Do not edit - generated code.
4938
4939 interface IDBDatabase {
4940
4941 final String name;
4942
4943 final List<String> objectStoreNames;
4944
4945 EventListener onabort;
4946
4947 EventListener onerror;
4948
4949 EventListener onversionchange;
4950
4951 final String version;
4952
4953 void addEventListener(String type, EventListener listener, [bool useCapture]);
4954
4955 void close();
4956
4957 IDBObjectStore createObjectStore(String name);
4958
4959 void deleteObjectStore(String name);
4960
4961 bool dispatchEvent(Event evt);
4962
4963 void removeEventListener(String type, EventListener listener, [bool useCapture ]);
4964
4965 IDBVersionChangeRequest setVersion(String version);
4966
4967 IDBTransaction transaction(var storeName_OR_storeNames, [int mode]);
4968 }
4969 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4970 // for details. All rights reserved. Use of this source code is governed by a
4971 // BSD-style license that can be found in the LICENSE file.
4972
4973 // WARNING: Do not edit - generated code.
4974
4975 interface IDBDatabaseError {
4976
4977 int code;
4978
4979 String message;
4980 }
4981 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4982 // for details. All rights reserved. Use of this source code is governed by a
4983 // BSD-style license that can be found in the LICENSE file.
4984
4985 // WARNING: Do not edit - generated code.
4986
4987 interface IDBDatabaseException {
4988
4989 static final int ABORT_ERR = 8;
4990
4991 static final int CONSTRAINT_ERR = 4;
4992
4993 static final int DATA_ERR = 5;
4994
4995 static final int NON_TRANSIENT_ERR = 2;
4996
4997 static final int NOT_ALLOWED_ERR = 6;
4998
4999 static final int NOT_FOUND_ERR = 3;
5000
5001 static final int NO_ERR = 0;
5002
5003 static final int QUOTA_ERR = 11;
5004
5005 static final int READ_ONLY_ERR = 9;
5006
5007 static final int TIMEOUT_ERR = 10;
5008
5009 static final int TRANSACTION_INACTIVE_ERR = 7;
5010
5011 static final int UNKNOWN_ERR = 1;
5012
5013 static final int VER_ERR = 12;
5014
5015 final int code;
5016
5017 final String message;
5018
5019 final String name;
5020
5021 String toString();
5022 }
5023 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5024 // for details. All rights reserved. Use of this source code is governed by a
5025 // BSD-style license that can be found in the LICENSE file.
5026
5027 // WARNING: Do not edit - generated code.
5028
5029 interface IDBFactory {
5030
5031 int cmp(IDBKey first, IDBKey second);
5032
5033 IDBVersionChangeRequest deleteDatabase(String name);
5034
5035 IDBRequest getDatabaseNames();
5036
5037 IDBRequest open(String name);
5038 }
5039 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5040 // for details. All rights reserved. Use of this source code is governed by a
5041 // BSD-style license that can be found in the LICENSE file.
5042
5043 // WARNING: Do not edit - generated code.
5044
5045 interface IDBIndex {
5046
5047 final String keyPath;
5048
5049 final bool multiEntry;
5050
5051 final String name;
5052
5053 final IDBObjectStore objectStore;
5054
5055 final bool unique;
5056
5057 IDBRequest count([var key_OR_range]);
5058
5059 IDBRequest getObject(IDBKey key);
5060
5061 IDBRequest getKey(IDBKey key);
5062
5063 IDBRequest openCursor([IDBKeyRange range, int direction]);
5064
5065 IDBRequest openKeyCursor([IDBKeyRange range, int direction]);
5066 }
5067 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5068 // for details. All rights reserved. Use of this source code is governed by a
5069 // BSD-style license that can be found in the LICENSE file.
5070
5071 // WARNING: Do not edit - generated code.
5072
5073 interface IDBKey {
5074 }
5075 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5076 // for details. All rights reserved. Use of this source code is governed by a
5077 // BSD-style license that can be found in the LICENSE file.
5078
5079 // WARNING: Do not edit - generated code.
5080
5081 interface IDBKeyRange {
5082
5083 final IDBKey lower;
5084
5085 final bool lowerOpen;
5086
5087 final IDBKey upper;
5088
5089 final bool upperOpen;
5090
5091 IDBKeyRange bound(IDBKey lower, IDBKey upper, [bool lowerOpen, bool upperOpen] );
5092
5093 IDBKeyRange lowerBound(IDBKey bound, [bool open]);
5094
5095 IDBKeyRange only(IDBKey value);
5096
5097 IDBKeyRange upperBound(IDBKey bound, [bool open]);
5098 }
5099 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5100 // for details. All rights reserved. Use of this source code is governed by a
5101 // BSD-style license that can be found in the LICENSE file.
5102
5103 // WARNING: Do not edit - generated code.
5104
5105 interface IDBObjectStore {
5106
5107 final List<String> indexNames;
5108
5109 final String keyPath;
5110
5111 final String name;
5112
5113 final IDBTransaction transaction;
5114
5115 IDBRequest add(Dynamic value, [IDBKey key]);
5116
5117 IDBRequest clear();
5118
5119 IDBRequest count([var key_OR_range]);
5120
5121 IDBIndex createIndex(String name, String keyPath);
5122
5123 IDBRequest delete(var key_OR_keyRange);
5124
5125 void deleteIndex(String name);
5126
5127 IDBRequest getObject(IDBKey key);
5128
5129 IDBIndex index(String name);
5130
5131 IDBRequest openCursor([IDBKeyRange range, int direction]);
5132
5133 IDBRequest put(Dynamic value, [IDBKey key]);
5134 }
5135 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5136 // for details. All rights reserved. Use of this source code is governed by a
5137 // BSD-style license that can be found in the LICENSE file.
5138
5139 // WARNING: Do not edit - generated code.
5140
5141 interface IDBRequest {
5142
5143 static final int DONE = 2;
5144
5145 static final int LOADING = 1;
5146
5147 final int errorCode;
5148
5149 EventListener onerror;
5150
5151 EventListener onsuccess;
5152
5153 final int readyState;
5154
5155 final IDBAny result;
5156
5157 final IDBAny source;
5158
5159 final IDBTransaction transaction;
5160
5161 final String webkitErrorMessage;
5162
5163 void addEventListener(String type, EventListener listener, [bool useCapture]);
5164
5165 bool dispatchEvent(Event evt);
5166
5167 void removeEventListener(String type, EventListener listener, [bool useCapture ]);
5168 }
5169 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5170 // for details. All rights reserved. Use of this source code is governed by a
5171 // BSD-style license that can be found in the LICENSE file.
5172
5173 // WARNING: Do not edit - generated code.
5174
5175 interface IDBTransaction {
5176
5177 static final int READ_ONLY = 0;
5178
5179 static final int READ_WRITE = 1;
5180
5181 static final int VERSION_CHANGE = 2;
5182
5183 final IDBDatabase db;
5184
5185 final int mode;
5186
5187 EventListener onabort;
5188
5189 EventListener oncomplete;
5190
5191 EventListener onerror;
5192
5193 void abort();
5194
5195 void addEventListener(String type, EventListener listener, [bool useCapture]);
5196
5197 bool dispatchEvent(Event evt);
5198
5199 IDBObjectStore objectStore(String name);
5200
5201 void removeEventListener(String type, EventListener listener, [bool useCapture ]);
5202 }
5203 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5204 // for details. All rights reserved. Use of this source code is governed by a
5205 // BSD-style license that can be found in the LICENSE file.
5206
5207 // WARNING: Do not edit - generated code.
5208
5209 interface IDBVersionChangeEvent extends Event {
5210
5211 final String version;
5212 }
5213 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5214 // for details. All rights reserved. Use of this source code is governed by a
5215 // BSD-style license that can be found in the LICENSE file.
5216
5217 // WARNING: Do not edit - generated code.
5218
5219 interface IDBVersionChangeRequest extends IDBRequest {
5220
5221 EventListener onblocked;
5222 }
5223 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5224 // for details. All rights reserved. Use of this source code is governed by a
5225 // BSD-style license that can be found in the LICENSE file.
5226
5227 // WARNING: Do not edit - generated code.
5228
5229 interface ImageData {
5230
5231 final CanvasPixelArray data;
5232
5233 final int height;
5234
5235 final int width;
5236 }
5237 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5238 // for details. All rights reserved. Use of this source code is governed by a
5239 // BSD-style license that can be found in the LICENSE file.
5240
5241 // WARNING: Do not edit - generated code.
5242
5243 interface Int16Array extends ArrayBufferView, List<int> default _TypedArrayFacto ryProvider {
5244
5245 Int16Array(int length);
5246
5247 Int16Array.fromList(List<int> list);
5248
5249 Int16Array.fromBuffer(ArrayBuffer buffer);
5250
5251 static final int BYTES_PER_ELEMENT = 2;
5252
5253 final int length;
5254
5255 void setElements(Object array, [int offset]);
5256
5257 Int16Array subarray(int start, [int end]);
5258 }
5259 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5260 // for details. All rights reserved. Use of this source code is governed by a
5261 // BSD-style license that can be found in the LICENSE file.
5262
5263 // WARNING: Do not edit - generated code.
5264
5265 interface Int32Array extends ArrayBufferView, List<int> default _TypedArrayFacto ryProvider {
5266
5267 Int32Array(int length);
5268
5269 Int32Array.fromList(List<int> list);
5270
5271 Int32Array.fromBuffer(ArrayBuffer buffer);
5272
5273 static final int BYTES_PER_ELEMENT = 4;
5274
5275 final int length;
5276
5277 void setElements(Object array, [int offset]);
5278
5279 Int32Array subarray(int start, [int end]);
5280 }
5281 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5282 // for details. All rights reserved. Use of this source code is governed by a
5283 // BSD-style license that can be found in the LICENSE file.
5284
5285 // WARNING: Do not edit - generated code.
5286
5287 interface Int8Array extends ArrayBufferView, List<int> default _TypedArrayFactor yProvider {
5288
5289 Int8Array(int length);
5290
5291 Int8Array.fromList(List<int> list);
5292
5293 Int8Array.fromBuffer(ArrayBuffer buffer);
5294
5295 static final int BYTES_PER_ELEMENT = 1;
5296
5297 final int length;
5298
5299 void setElements(Object array, [int offset]);
5300
5301 Int8Array subarray(int start, [int end]);
5302 }
5303 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5304 // for details. All rights reserved. Use of this source code is governed by a
5305 // BSD-style license that can be found in the LICENSE file.
5306
5307 // WARNING: Do not edit - generated code.
5308
5309 interface JavaScriptAudioNode extends AudioNode {
5310
5311 final int bufferSize;
5312
5313 EventListener onaudioprocess;
5314 }
5315 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5316 // for details. All rights reserved. Use of this source code is governed by a
5317 // BSD-style license that can be found in the LICENSE file.
5318
5319 // WARNING: Do not edit - generated code.
5320
5321 interface JavaScriptCallFrame {
5322
5323 static final int CATCH_SCOPE = 4;
5324
5325 static final int CLOSURE_SCOPE = 3;
5326
5327 static final int GLOBAL_SCOPE = 0;
5328
5329 static final int LOCAL_SCOPE = 1;
5330
5331 static final int WITH_SCOPE = 2;
5332
5333 final JavaScriptCallFrame caller;
5334
5335 final int column;
5336
5337 final String functionName;
5338
5339 final int line;
5340
5341 final List scopeChain;
5342
5343 final int sourceID;
5344
5345 final Object thisObject;
5346
5347 final String type;
5348
5349 void evaluate(String script);
5350
5351 int scopeType(int scopeIndex);
5352 }
5353 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5354 // for details. All rights reserved. Use of this source code is governed by a
5355 // BSD-style license that can be found in the LICENSE file.
5356
5357 // WARNING: Do not edit - generated code.
5358
5359 interface KeyboardEvent extends UIEvent {
5360
5361 final bool altGraphKey;
5362
5363 final bool altKey;
5364
5365 final bool ctrlKey;
5366
5367 final String keyIdentifier;
5368
5369 final int keyLocation;
5370
5371 final bool metaKey;
5372
5373 final bool shiftKey;
5374
5375 void initKeyboardEvent(String type, bool canBubble, bool cancelable, DOMWindow view, String keyIdentifier, int keyLocation, bool ctrlKey, bool altKey, bool sh iftKey, bool metaKey, bool altGraphKey);
5376 }
5377 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5378 // for details. All rights reserved. Use of this source code is governed by a
5379 // BSD-style license that can be found in the LICENSE file.
5380
5381 // WARNING: Do not edit - generated code.
5382
5383 interface LocalMediaStream extends MediaStream {
5384
5385 void stop();
5386 }
5387 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5388 // for details. All rights reserved. Use of this source code is governed by a
5389 // BSD-style license that can be found in the LICENSE file.
5390
5391 // WARNING: Do not edit - generated code.
5392
5393 interface Location {
5394
5395 String hash;
5396
5397 String host;
5398
5399 String hostname;
5400
5401 String href;
5402
5403 final String origin;
5404
5405 String pathname;
5406
5407 String port;
5408
5409 String protocol;
5410
5411 String search;
5412
5413 void assign(String url);
5414
5415 void reload();
5416
5417 void replace(String url);
5418
5419 String toString();
5420 }
5421 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5422 // for details. All rights reserved. Use of this source code is governed by a
5423 // BSD-style license that can be found in the LICENSE file.
5424
5425 // WARNING: Do not edit - generated code.
5426
5427 interface LowPass2FilterNode extends AudioNode {
5428
5429 final AudioParam cutoff;
5430
5431 final AudioParam resonance;
5432 }
5433 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5434 // for details. All rights reserved. Use of this source code is governed by a
5435 // BSD-style license that can be found in the LICENSE file.
5436
5437 // WARNING: Do not edit - generated code.
5438
5439 interface MediaController default _MediaControllerFactoryProvider {
5440
5441 MediaController();
5442
5443 final TimeRanges buffered;
5444
5445 num currentTime;
5446
5447 num defaultPlaybackRate;
5448
5449 final num duration;
5450
5451 bool muted;
5452
5453 final bool paused;
5454
5455 num playbackRate;
5456
5457 final TimeRanges played;
5458
5459 final TimeRanges seekable;
5460
5461 num volume;
5462
5463 void addEventListener(String type, EventListener listener, [bool useCapture]);
5464
5465 bool dispatchEvent(Event evt);
5466
5467 void pause();
5468
5469 void play();
5470
5471 void removeEventListener(String type, EventListener listener, [bool useCapture ]);
5472 }
5473 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5474 // for details. All rights reserved. Use of this source code is governed by a
5475 // BSD-style license that can be found in the LICENSE file.
5476
5477 // WARNING: Do not edit - generated code.
5478
5479 interface MediaElementAudioSourceNode extends AudioSourceNode {
5480
5481 final HTMLMediaElement mediaElement;
5482 }
5483 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5484 // for details. All rights reserved. Use of this source code is governed by a
5485 // BSD-style license that can be found in the LICENSE file.
5486
5487 // WARNING: Do not edit - generated code.
5488
5489 interface MediaError {
5490
5491 static final int MEDIA_ERR_ABORTED = 1;
5492
5493 static final int MEDIA_ERR_DECODE = 3;
5494
5495 static final int MEDIA_ERR_NETWORK = 2;
5496
5497 static final int MEDIA_ERR_SRC_NOT_SUPPORTED = 4;
5498
5499 final int code;
5500 }
5501 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5502 // for details. All rights reserved. Use of this source code is governed by a
5503 // BSD-style license that can be found in the LICENSE file.
5504
5505 // WARNING: Do not edit - generated code.
5506
5507 interface MediaList extends List<String> {
5508
5509 final int length;
5510
5511 String mediaText;
5512
5513 void appendMedium(String newMedium);
5514
5515 void deleteMedium(String oldMedium);
5516
5517 String item(int index);
5518 }
5519 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5520 // for details. All rights reserved. Use of this source code is governed by a
5521 // BSD-style license that can be found in the LICENSE file.
5522
5523 // WARNING: Do not edit - generated code.
5524
5525 interface MediaQueryList {
5526
5527 final bool matches;
5528
5529 final String media;
5530
5531 void addListener(MediaQueryListListener listener);
5532
5533 void removeListener(MediaQueryListListener listener);
5534 }
5535 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5536 // for details. All rights reserved. Use of this source code is governed by a
5537 // BSD-style license that can be found in the LICENSE file.
5538
5539 // WARNING: Do not edit - generated code.
5540
5541 interface MediaQueryListListener {
5542
5543 void queryChanged(MediaQueryList list);
5544 }
5545 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5546 // for details. All rights reserved. Use of this source code is governed by a
5547 // BSD-style license that can be found in the LICENSE file.
5548
5549 // WARNING: Do not edit - generated code.
5550
5551 interface MediaStream default _MediaStreamFactoryProvider {
5552
5553 MediaStream(MediaStreamTrackList audioTracks, MediaStreamTrackList videoTracks );
5554
5555 static final int ENDED = 2;
5556
5557 static final int LIVE = 1;
5558
5559 final MediaStreamTrackList audioTracks;
5560
5561 final String label;
5562
5563 EventListener onended;
5564
5565 final int readyState;
5566
5567 final MediaStreamTrackList videoTracks;
5568
5569 void addEventListener(String type, EventListener listener, [bool useCapture]);
5570
5571 bool dispatchEvent(Event event);
5572
5573 void removeEventListener(String type, EventListener listener, [bool useCapture ]);
5574 }
5575 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5576 // for details. All rights reserved. Use of this source code is governed by a
5577 // BSD-style license that can be found in the LICENSE file.
5578
5579 // WARNING: Do not edit - generated code.
5580
5581 interface MediaStreamEvent extends Event {
5582
5583 final MediaStream stream;
5584 }
5585 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5586 // for details. All rights reserved. Use of this source code is governed by a
5587 // BSD-style license that can be found in the LICENSE file.
5588
5589 // WARNING: Do not edit - generated code.
5590
5591 interface MediaStreamList {
5592
5593 final int length;
5594
5595 MediaStream item(int index);
5596 }
5597 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5598 // for details. All rights reserved. Use of this source code is governed by a
5599 // BSD-style license that can be found in the LICENSE file.
5600
5601 // WARNING: Do not edit - generated code.
5602
5603 interface MediaStreamTrack {
5604
5605 bool enabled;
5606
5607 final String kind;
5608
5609 final String label;
5610 }
5611 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5612 // for details. All rights reserved. Use of this source code is governed by a
5613 // BSD-style license that can be found in the LICENSE file.
5614
5615 // WARNING: Do not edit - generated code.
5616
5617 interface MediaStreamTrackList {
5618
5619 final int length;
5620
5621 MediaStreamTrack item(int index);
5622 }
5623 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5624 // for details. All rights reserved. Use of this source code is governed by a
5625 // BSD-style license that can be found in the LICENSE file.
5626
5627 // WARNING: Do not edit - generated code.
5628
5629 interface MemoryInfo {
5630
5631 final int jsHeapSizeLimit;
5632
5633 final int totalJSHeapSize;
5634
5635 final int usedJSHeapSize;
5636 }
5637 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5638 // for details. All rights reserved. Use of this source code is governed by a
5639 // BSD-style license that can be found in the LICENSE file.
5640
5641 // WARNING: Do not edit - generated code.
5642
5643 interface MessageChannel default _MessageChannelFactoryProvider {
5644
5645 MessageChannel();
5646
5647 final MessagePort port1;
5648
5649 final MessagePort port2;
5650 }
5651 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5652 // for details. All rights reserved. Use of this source code is governed by a
5653 // BSD-style license that can be found in the LICENSE file.
5654
5655 // WARNING: Do not edit - generated code.
5656
5657 interface MessageEvent extends Event {
5658
5659 final Object data;
5660
5661 final String lastEventId;
5662
5663 final String origin;
5664
5665 final List ports;
5666
5667 final DOMWindow source;
5668
5669 void initMessageEvent(String typeArg, bool canBubbleArg, bool cancelableArg, O bject dataArg, String originArg, String lastEventIdArg, DOMWindow sourceArg, Lis t messagePorts);
5670
5671 void webkitInitMessageEvent(String typeArg, bool canBubbleArg, bool cancelable Arg, Object dataArg, String originArg, String lastEventIdArg, DOMWindow sourceAr g, List transferables);
5672 }
5673 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5674 // for details. All rights reserved. Use of this source code is governed by a
5675 // BSD-style license that can be found in the LICENSE file.
5676
5677 // WARNING: Do not edit - generated code.
5678
5679 interface MessagePort extends EventTarget {
5680
5681 void addEventListener(String type, EventListener listener, [bool useCapture]);
5682
5683 void close();
5684
5685 bool dispatchEvent(Event evt);
5686
5687 void postMessage(String message, [List messagePorts]);
5688
5689 void removeEventListener(String type, EventListener listener, [bool useCapture ]);
5690
5691 void start();
5692
5693 void webkitPostMessage(String message, [List transfer]);
5694 }
5695 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5696 // for details. All rights reserved. Use of this source code is governed by a
5697 // BSD-style license that can be found in the LICENSE file.
5698
5699 // WARNING: Do not edit - generated code.
5700
5701 interface Metadata {
5702
5703 final Date modificationTime;
5704
5705 final int size;
5706 }
5707 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
5708 // for details. All rights reserved. Use of this source code is governed by a
5709 // BSD-style license that can be found in the LICENSE file.
5710
5711 // WARNING: Do not edit - generated code.
5712
5713 typedef bool MetadataCallback(Metadata metadata);
5714 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5715 // for details. All rights reserved. Use of this source code is governed by a
5716 // BSD-style license that can be found in the LICENSE file.
5717
5718 // WARNING: Do not edit - generated code.
5719
5720 interface MouseEvent extends UIEvent {
5721
5722 final bool altKey;
5723
5724 final int button;
5725
5726 final int clientX;
5727
5728 final int clientY;
5729
5730 final bool ctrlKey;
5731
5732 final Clipboard dataTransfer;
5733
5734 final Node fromElement;
5735
5736 final bool metaKey;
5737
5738 final int offsetX;
5739
5740 final int offsetY;
5741
5742 final EventTarget relatedTarget;
5743
5744 final int screenX;
5745
5746 final int screenY;
5747
5748 final bool shiftKey;
5749
5750 final Node toElement;
5751
5752 final int x;
5753
5754 final int y;
5755
5756 void initMouseEvent(String type, bool canBubble, bool cancelable, DOMWindow vi ew, int detail, int screenX, int screenY, int clientX, int clientY, bool ctrlKey , bool altKey, bool shiftKey, bool metaKey, int button, EventTarget relatedTarge t);
5757 }
5758 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5759 // for details. All rights reserved. Use of this source code is governed by a
5760 // BSD-style license that can be found in the LICENSE file.
5761
5762 // WARNING: Do not edit - generated code.
5763
5764 interface MutationEvent extends Event {
5765
5766 static final int ADDITION = 2;
5767
5768 static final int MODIFICATION = 1;
5769
5770 static final int REMOVAL = 3;
5771
5772 final int attrChange;
5773
5774 final String attrName;
5775
5776 final String newValue;
5777
5778 final String prevValue;
5779
5780 final Node relatedNode;
5781
5782 void initMutationEvent(String type, bool canBubble, bool cancelable, Node rela tedNode, String prevValue, String newValue, String attrName, int attrChange);
5783 }
5784 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5785 // for details. All rights reserved. Use of this source code is governed by a
5786 // BSD-style license that can be found in the LICENSE file.
5787
5788 // WARNING: Do not edit - generated code.
5789
5790 interface NamedNodeMap extends List<Node> {
5791
5792 final int length;
5793
5794 Node getNamedItem(String name);
5795
5796 Node getNamedItemNS(String namespaceURI, String localName);
5797
5798 Node item(int index);
5799
5800 Node removeNamedItem(String name);
5801
5802 Node removeNamedItemNS(String namespaceURI, String localName);
5803
5804 Node setNamedItem(Node node);
5805
5806 Node setNamedItemNS(Node node);
5807 }
5808 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5809 // for details. All rights reserved. Use of this source code is governed by a
5810 // BSD-style license that can be found in the LICENSE file.
5811
5812 // WARNING: Do not edit - generated code.
5813
5814 interface Navigator {
5815
5816 final String appCodeName;
5817
5818 final String appName;
5819
5820 final String appVersion;
5821
5822 final bool cookieEnabled;
5823
5824 final Geolocation geolocation;
5825
5826 final String language;
5827
5828 final DOMMimeTypeArray mimeTypes;
5829
5830 final bool onLine;
5831
5832 final String platform;
5833
5834 final DOMPluginArray plugins;
5835
5836 final String product;
5837
5838 final String productSub;
5839
5840 final String userAgent;
5841
5842 final String vendor;
5843
5844 final String vendorSub;
5845
5846 void getStorageUpdates();
5847
5848 bool javaEnabled();
5849
5850 void registerProtocolHandler(String scheme, String url, String title);
5851
5852 void webkitGetUserMedia(String options, NavigatorUserMediaSuccessCallback succ essCallback, [NavigatorUserMediaErrorCallback errorCallback]);
5853 }
5854 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5855 // for details. All rights reserved. Use of this source code is governed by a
5856 // BSD-style license that can be found in the LICENSE file.
5857
5858 // WARNING: Do not edit - generated code.
5859
5860 interface NavigatorUserMediaError {
5861
5862 static final int PERMISSION_DENIED = 1;
5863
5864 final int code;
5865 }
5866 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
5867 // for details. All rights reserved. Use of this source code is governed by a
5868 // BSD-style license that can be found in the LICENSE file.
5869
5870 // WARNING: Do not edit - generated code.
5871
5872 typedef bool NavigatorUserMediaErrorCallback(NavigatorUserMediaError error);
5873 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
5874 // for details. All rights reserved. Use of this source code is governed by a
5875 // BSD-style license that can be found in the LICENSE file.
5876
5877 // WARNING: Do not edit - generated code.
5878
5879 typedef bool NavigatorUserMediaSuccessCallback(LocalMediaStream stream);
5880 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5881 // for details. All rights reserved. Use of this source code is governed by a
5882 // BSD-style license that can be found in the LICENSE file.
5883
5884 // WARNING: Do not edit - generated code.
5885
5886 interface Node extends EventTarget {
5887
5888 static final int ATTRIBUTE_NODE = 2;
5889
5890 static final int CDATA_SECTION_NODE = 4;
5891
5892 static final int COMMENT_NODE = 8;
5893
5894 static final int DOCUMENT_FRAGMENT_NODE = 11;
5895
5896 static final int DOCUMENT_NODE = 9;
5897
5898 static final int DOCUMENT_POSITION_CONTAINED_BY = 0x10;
5899
5900 static final int DOCUMENT_POSITION_CONTAINS = 0x08;
5901
5902 static final int DOCUMENT_POSITION_DISCONNECTED = 0x01;
5903
5904 static final int DOCUMENT_POSITION_FOLLOWING = 0x04;
5905
5906 static final int DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = 0x20;
5907
5908 static final int DOCUMENT_POSITION_PRECEDING = 0x02;
5909
5910 static final int DOCUMENT_TYPE_NODE = 10;
5911
5912 static final int ELEMENT_NODE = 1;
5913
5914 static final int ENTITY_NODE = 6;
5915
5916 static final int ENTITY_REFERENCE_NODE = 5;
5917
5918 static final int NOTATION_NODE = 12;
5919
5920 static final int PROCESSING_INSTRUCTION_NODE = 7;
5921
5922 static final int TEXT_NODE = 3;
5923
5924 final NamedNodeMap attributes;
5925
5926 final String baseURI;
5927
5928 final NodeList childNodes;
5929
5930 final Node firstChild;
5931
5932 final Node lastChild;
5933
5934 final String localName;
5935
5936 final String namespaceURI;
5937
5938 final Node nextSibling;
5939
5940 final String nodeName;
5941
5942 final int nodeType;
5943
5944 String nodeValue;
5945
5946 final Document ownerDocument;
5947
5948 final Element parentElement;
5949
5950 final Node parentNode;
5951
5952 String prefix;
5953
5954 final Node previousSibling;
5955
5956 String textContent;
5957
5958 void addEventListener(String type, EventListener listener, [bool useCapture]);
5959
5960 Node appendChild(Node newChild);
5961
5962 Node cloneNode(bool deep);
5963
5964 int compareDocumentPosition(Node other);
5965
5966 bool contains(Node other);
5967
5968 bool dispatchEvent(Event event);
5969
5970 bool hasAttributes();
5971
5972 bool hasChildNodes();
5973
5974 Node insertBefore(Node newChild, Node refChild);
5975
5976 bool isDefaultNamespace(String namespaceURI);
5977
5978 bool isEqualNode(Node other);
5979
5980 bool isSameNode(Node other);
5981
5982 bool isSupported(String feature, String version);
5983
5984 String lookupNamespaceURI(String prefix);
5985
5986 String lookupPrefix(String namespaceURI);
5987
5988 void normalize();
5989
5990 Node removeChild(Node oldChild);
5991
5992 void removeEventListener(String type, EventListener listener, [bool useCapture ]);
5993
5994 Node replaceChild(Node newChild, Node oldChild);
5995 }
5996 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5997 // for details. All rights reserved. Use of this source code is governed by a
5998 // BSD-style license that can be found in the LICENSE file.
5999
6000 // WARNING: Do not edit - generated code.
6001
6002 interface NodeFilter {
6003
6004 static final int FILTER_ACCEPT = 1;
6005
6006 static final int FILTER_REJECT = 2;
6007
6008 static final int FILTER_SKIP = 3;
6009
6010 static final int SHOW_ALL = 0xFFFFFFFF;
6011
6012 static final int SHOW_ATTRIBUTE = 0x00000002;
6013
6014 static final int SHOW_CDATA_SECTION = 0x00000008;
6015
6016 static final int SHOW_COMMENT = 0x00000080;
6017
6018 static final int SHOW_DOCUMENT = 0x00000100;
6019
6020 static final int SHOW_DOCUMENT_FRAGMENT = 0x00000400;
6021
6022 static final int SHOW_DOCUMENT_TYPE = 0x00000200;
6023
6024 static final int SHOW_ELEMENT = 0x00000001;
6025
6026 static final int SHOW_ENTITY = 0x00000020;
6027
6028 static final int SHOW_ENTITY_REFERENCE = 0x00000010;
6029
6030 static final int SHOW_NOTATION = 0x00000800;
6031
6032 static final int SHOW_PROCESSING_INSTRUCTION = 0x00000040;
6033
6034 static final int SHOW_TEXT = 0x00000004;
6035
6036 int acceptNode(Node n);
6037 }
6038 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6039 // for details. All rights reserved. Use of this source code is governed by a
6040 // BSD-style license that can be found in the LICENSE file.
6041
6042 // WARNING: Do not edit - generated code.
6043
6044 interface NodeIterator {
6045
6046 final bool expandEntityReferences;
6047
6048 final NodeFilter filter;
6049
6050 final bool pointerBeforeReferenceNode;
6051
6052 final Node referenceNode;
6053
6054 final Node root;
6055
6056 final int whatToShow;
6057
6058 void detach();
6059
6060 Node nextNode();
6061
6062 Node previousNode();
6063 }
6064 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6065 // for details. All rights reserved. Use of this source code is governed by a
6066 // BSD-style license that can be found in the LICENSE file.
6067
6068 // WARNING: Do not edit - generated code.
6069
6070 interface NodeList extends List<Node> {
6071
6072 final int length;
6073
6074 Node item(int index);
6075 }
6076 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6077 // for details. All rights reserved. Use of this source code is governed by a
6078 // BSD-style license that can be found in the LICENSE file.
6079
6080 // WARNING: Do not edit - generated code.
6081
6082 interface NodeSelector {
6083
6084 Element querySelector(String selectors);
6085
6086 NodeList querySelectorAll(String selectors);
6087 }
6088 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6089 // for details. All rights reserved. Use of this source code is governed by a
6090 // BSD-style license that can be found in the LICENSE file.
6091
6092 // WARNING: Do not edit - generated code.
6093
6094 interface Notation extends Node {
6095
6096 final String publicId;
6097
6098 final String systemId;
6099 }
6100 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6101 // for details. All rights reserved. Use of this source code is governed by a
6102 // BSD-style license that can be found in the LICENSE file.
6103
6104 // WARNING: Do not edit - generated code.
6105
6106 interface Notification extends EventTarget {
6107
6108 String dir;
6109
6110 String replaceId;
6111
6112 void addEventListener(String type, EventListener listener, [bool useCapture]);
6113
6114 void cancel();
6115
6116 bool dispatchEvent(Event evt);
6117
6118 void removeEventListener(String type, EventListener listener, [bool useCapture ]);
6119
6120 void show();
6121 }
6122 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6123 // for details. All rights reserved. Use of this source code is governed by a
6124 // BSD-style license that can be found in the LICENSE file.
6125
6126 // WARNING: Do not edit - generated code.
6127
6128 interface NotificationCenter {
6129
6130 int checkPermission();
6131
6132 Notification createHTMLNotification(String url);
6133
6134 Notification createNotification(String iconUrl, String title, String body);
6135
6136 void requestPermission(VoidCallback callback);
6137 }
6138 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6139 // for details. All rights reserved. Use of this source code is governed by a
6140 // BSD-style license that can be found in the LICENSE file.
6141
6142 // WARNING: Do not edit - generated code.
6143
6144 interface OESStandardDerivatives {
6145
6146 static final int FRAGMENT_SHADER_DERIVATIVE_HINT_OES = 0x8B8B;
6147 }
6148 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6149 // for details. All rights reserved. Use of this source code is governed by a
6150 // BSD-style license that can be found in the LICENSE file.
6151
6152 // WARNING: Do not edit - generated code.
6153
6154 interface OESTextureFloat {
6155 }
6156 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6157 // for details. All rights reserved. Use of this source code is governed by a
6158 // BSD-style license that can be found in the LICENSE file.
6159
6160 // WARNING: Do not edit - generated code.
6161
6162 interface OESVertexArrayObject {
6163
6164 static final int VERTEX_ARRAY_BINDING_OES = 0x85B5;
6165
6166 void bindVertexArrayOES(WebGLVertexArrayObjectOES arrayObject);
6167
6168 WebGLVertexArrayObjectOES createVertexArrayOES();
6169
6170 void deleteVertexArrayOES(WebGLVertexArrayObjectOES arrayObject);
6171
6172 bool isVertexArrayOES(WebGLVertexArrayObjectOES arrayObject);
6173 }
6174 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6175 // for details. All rights reserved. Use of this source code is governed by a
6176 // BSD-style license that can be found in the LICENSE file.
6177
6178 // WARNING: Do not edit - generated code.
6179
6180 interface OfflineAudioCompletionEvent extends Event {
6181
6182 final AudioBuffer renderedBuffer;
6183 }
6184 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6185 // for details. All rights reserved. Use of this source code is governed by a
6186 // BSD-style license that can be found in the LICENSE file.
6187
6188 // WARNING: Do not edit - generated code.
6189
6190 interface OperationNotAllowedException {
6191
6192 static final int NOT_ALLOWED_ERR = 1;
6193
6194 final int code;
6195
6196 final String message;
6197
6198 final String name;
6199
6200 String toString();
6201 }
6202 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6203 // for details. All rights reserved. Use of this source code is governed by a
6204 // BSD-style license that can be found in the LICENSE file.
6205
6206 // WARNING: Do not edit - generated code.
6207
6208 interface OverflowEvent extends Event {
6209
6210 static final int BOTH = 2;
6211
6212 static final int HORIZONTAL = 0;
6213
6214 static final int VERTICAL = 1;
6215
6216 final bool horizontalOverflow;
6217
6218 final int orient;
6219
6220 final bool verticalOverflow;
6221 }
6222 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6223 // for details. All rights reserved. Use of this source code is governed by a
6224 // BSD-style license that can be found in the LICENSE file.
6225
6226 // WARNING: Do not edit - generated code.
6227
6228 interface PageTransitionEvent extends Event {
6229
6230 final bool persisted;
6231 }
6232 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6233 // for details. All rights reserved. Use of this source code is governed by a
6234 // BSD-style license that can be found in the LICENSE file.
6235
6236 // WARNING: Do not edit - generated code.
6237
6238 interface PeerConnection default _PeerConnectionFactoryProvider {
6239
6240 PeerConnection(String serverConfiguration, SignalingCallback signalingCallback );
6241
6242 static final int ACTIVE = 2;
6243
6244 static final int CLOSED = 3;
6245
6246 static final int NEGOTIATING = 1;
6247
6248 static final int NEW = 0;
6249
6250 final MediaStreamList localStreams;
6251
6252 EventListener onaddstream;
6253
6254 EventListener onconnecting;
6255
6256 EventListener onmessage;
6257
6258 EventListener onopen;
6259
6260 EventListener onremovestream;
6261
6262 EventListener onstatechange;
6263
6264 final int readyState;
6265
6266 final MediaStreamList remoteStreams;
6267
6268 void addEventListener(String type, EventListener listener, [bool useCapture]);
6269
6270 void addStream(MediaStream stream);
6271
6272 void close();
6273
6274 bool dispatchEvent(Event event);
6275
6276 void processSignalingMessage(String message);
6277
6278 void removeEventListener(String type, EventListener listener, [bool useCapture ]);
6279
6280 void removeStream(MediaStream stream);
6281
6282 void send(String text);
6283 }
6284 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6285 // for details. All rights reserved. Use of this source code is governed by a
6286 // BSD-style license that can be found in the LICENSE file.
6287
6288 // WARNING: Do not edit - generated code.
6289
6290 interface Performance {
6291
6292 final MemoryInfo memory;
6293
6294 final PerformanceNavigation navigation;
6295
6296 final PerformanceTiming timing;
6297 }
6298 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6299 // for details. All rights reserved. Use of this source code is governed by a
6300 // BSD-style license that can be found in the LICENSE file.
6301
6302 // WARNING: Do not edit - generated code.
6303
6304 interface PerformanceNavigation {
6305
6306 static final int TYPE_BACK_FORWARD = 2;
6307
6308 static final int TYPE_NAVIGATE = 0;
6309
6310 static final int TYPE_RELOAD = 1;
6311
6312 static final int TYPE_RESERVED = 255;
6313
6314 final int redirectCount;
6315
6316 final int type;
6317 }
6318 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6319 // for details. All rights reserved. Use of this source code is governed by a
6320 // BSD-style license that can be found in the LICENSE file.
6321
6322 // WARNING: Do not edit - generated code.
6323
6324 interface PerformanceTiming {
6325
6326 final int connectEnd;
6327
6328 final int connectStart;
6329
6330 final int domComplete;
6331
6332 final int domContentLoadedEventEnd;
6333
6334 final int domContentLoadedEventStart;
6335
6336 final int domInteractive;
6337
6338 final int domLoading;
6339
6340 final int domainLookupEnd;
6341
6342 final int domainLookupStart;
6343
6344 final int fetchStart;
6345
6346 final int loadEventEnd;
6347
6348 final int loadEventStart;
6349
6350 final int navigationStart;
6351
6352 final int redirectEnd;
6353
6354 final int redirectStart;
6355
6356 final int requestStart;
6357
6358 final int responseEnd;
6359
6360 final int responseStart;
6361
6362 final int secureConnectionStart;
6363
6364 final int unloadEventEnd;
6365
6366 final int unloadEventStart;
6367 }
6368 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6369 // for details. All rights reserved. Use of this source code is governed by a
6370 // BSD-style license that can be found in the LICENSE file.
6371
6372 // WARNING: Do not edit - generated code.
6373
6374 interface PopStateEvent extends Event {
6375
6376 final Object state;
6377 }
6378 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
6379 // for details. All rights reserved. Use of this source code is governed by a
6380 // BSD-style license that can be found in the LICENSE file.
6381
6382 // WARNING: Do not edit - generated code.
6383
6384 typedef bool PositionCallback(Geoposition position);
6385 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6386 // for details. All rights reserved. Use of this source code is governed by a
6387 // BSD-style license that can be found in the LICENSE file.
6388
6389 // WARNING: Do not edit - generated code.
6390
6391 interface PositionError {
6392
6393 static final int PERMISSION_DENIED = 1;
6394
6395 static final int POSITION_UNAVAILABLE = 2;
6396
6397 static final int TIMEOUT = 3;
6398
6399 final int code;
6400
6401 final String message;
6402 }
6403 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
6404 // for details. All rights reserved. Use of this source code is governed by a
6405 // BSD-style license that can be found in the LICENSE file.
6406
6407 // WARNING: Do not edit - generated code.
6408
6409 typedef bool PositionErrorCallback(PositionError error);
6410 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6411 // for details. All rights reserved. Use of this source code is governed by a
6412 // BSD-style license that can be found in the LICENSE file.
6413
6414 // WARNING: Do not edit - generated code.
6415
6416 interface ProcessingInstruction extends Node {
6417
6418 String data;
6419
6420 final StyleSheet sheet;
6421
6422 final String target;
6423 }
6424 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6425 // for details. All rights reserved. Use of this source code is governed by a
6426 // BSD-style license that can be found in the LICENSE file.
6427
6428 // WARNING: Do not edit - generated code.
6429
6430 interface ProgressEvent extends Event {
6431
6432 final bool lengthComputable;
6433
6434 final int loaded;
6435
6436 final int total;
6437 }
6438 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6439 // for details. All rights reserved. Use of this source code is governed by a
6440 // BSD-style license that can be found in the LICENSE file.
6441
6442 // WARNING: Do not edit - generated code.
6443
6444 interface RGBColor {
6445
6446 final CSSPrimitiveValue blue;
6447
6448 final CSSPrimitiveValue green;
6449
6450 final CSSPrimitiveValue red;
6451 }
6452 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6453 // for details. All rights reserved. Use of this source code is governed by a
6454 // BSD-style license that can be found in the LICENSE file.
6455
6456 // WARNING: Do not edit - generated code.
6457
6458 interface Range {
6459
6460 static final int END_TO_END = 2;
6461
6462 static final int END_TO_START = 3;
6463
6464 static final int NODE_AFTER = 1;
6465
6466 static final int NODE_BEFORE = 0;
6467
6468 static final int NODE_BEFORE_AND_AFTER = 2;
6469
6470 static final int NODE_INSIDE = 3;
6471
6472 static final int START_TO_END = 1;
6473
6474 static final int START_TO_START = 0;
6475
6476 final bool collapsed;
6477
6478 final Node commonAncestorContainer;
6479
6480 final Node endContainer;
6481
6482 final int endOffset;
6483
6484 final Node startContainer;
6485
6486 final int startOffset;
6487
6488 DocumentFragment cloneContents();
6489
6490 Range cloneRange();
6491
6492 void collapse(bool toStart);
6493
6494 int compareNode(Node refNode);
6495
6496 int comparePoint(Node refNode, int offset);
6497
6498 DocumentFragment createContextualFragment(String html);
6499
6500 void deleteContents();
6501
6502 void detach();
6503
6504 void expand(String unit);
6505
6506 DocumentFragment extractContents();
6507
6508 ClientRect getBoundingClientRect();
6509
6510 ClientRectList getClientRects();
6511
6512 void insertNode(Node newNode);
6513
6514 bool intersectsNode(Node refNode);
6515
6516 bool isPointInRange(Node refNode, int offset);
6517
6518 void selectNode(Node refNode);
6519
6520 void selectNodeContents(Node refNode);
6521
6522 void setEnd(Node refNode, int offset);
6523
6524 void setEndAfter(Node refNode);
6525
6526 void setEndBefore(Node refNode);
6527
6528 void setStart(Node refNode, int offset);
6529
6530 void setStartAfter(Node refNode);
6531
6532 void setStartBefore(Node refNode);
6533
6534 void surroundContents(Node newParent);
6535
6536 String toString();
6537 }
6538 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6539 // for details. All rights reserved. Use of this source code is governed by a
6540 // BSD-style license that can be found in the LICENSE file.
6541
6542 // WARNING: Do not edit - generated code.
6543
6544 interface RangeException {
6545
6546 static final int BAD_BOUNDARYPOINTS_ERR = 1;
6547
6548 static final int INVALID_NODE_TYPE_ERR = 2;
6549
6550 final int code;
6551
6552 final String message;
6553
6554 final String name;
6555
6556 String toString();
6557 }
6558 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6559 // for details. All rights reserved. Use of this source code is governed by a
6560 // BSD-style license that can be found in the LICENSE file.
6561
6562 // WARNING: Do not edit - generated code.
6563
6564 interface RealtimeAnalyserNode extends AudioNode {
6565
6566 int fftSize;
6567
6568 final int frequencyBinCount;
6569
6570 num maxDecibels;
6571
6572 num minDecibels;
6573
6574 num smoothingTimeConstant;
6575
6576 void getByteFrequencyData(Uint8Array array);
6577
6578 void getByteTimeDomainData(Uint8Array array);
6579
6580 void getFloatFrequencyData(Float32Array array);
6581 }
6582 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6583 // for details. All rights reserved. Use of this source code is governed by a
6584 // BSD-style license that can be found in the LICENSE file.
6585
6586 // WARNING: Do not edit - generated code.
6587
6588 interface Rect {
6589
6590 final CSSPrimitiveValue bottom;
6591
6592 final CSSPrimitiveValue left;
6593
6594 final CSSPrimitiveValue right;
6595
6596 final CSSPrimitiveValue top;
6597 }
6598 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
6599 // for details. All rights reserved. Use of this source code is governed by a
6600 // BSD-style license that can be found in the LICENSE file.
6601
6602 // WARNING: Do not edit - generated code.
6603
6604 typedef bool RequestAnimationFrameCallback(int time);
6605 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6606 // for details. All rights reserved. Use of this source code is governed by a
6607 // BSD-style license that can be found in the LICENSE file.
6608
6609 // WARNING: Do not edit - generated code.
6610
6611 interface SQLError {
6612
6613 static final int CONSTRAINT_ERR = 6;
6614
6615 static final int DATABASE_ERR = 1;
6616
6617 static final int QUOTA_ERR = 4;
6618
6619 static final int SYNTAX_ERR = 5;
6620
6621 static final int TIMEOUT_ERR = 7;
6622
6623 static final int TOO_LARGE_ERR = 3;
6624
6625 static final int UNKNOWN_ERR = 0;
6626
6627 static final int VERSION_ERR = 2;
6628
6629 final int code;
6630
6631 final String message;
6632 }
6633 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6634 // for details. All rights reserved. Use of this source code is governed by a
6635 // BSD-style license that can be found in the LICENSE file.
6636
6637 // WARNING: Do not edit - generated code.
6638
6639 interface SQLException {
6640
6641 static final int CONSTRAINT_ERR = 6;
6642
6643 static final int DATABASE_ERR = 1;
6644
6645 static final int QUOTA_ERR = 4;
6646
6647 static final int SYNTAX_ERR = 5;
6648
6649 static final int TIMEOUT_ERR = 7;
6650
6651 static final int TOO_LARGE_ERR = 3;
6652
6653 static final int UNKNOWN_ERR = 0;
6654
6655 static final int VERSION_ERR = 2;
6656
6657 final int code;
6658
6659 final String message;
6660 }
6661 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6662 // for details. All rights reserved. Use of this source code is governed by a
6663 // BSD-style license that can be found in the LICENSE file.
6664
6665 // WARNING: Do not edit - generated code.
6666
6667 interface SQLResultSet {
6668
6669 final int insertId;
6670
6671 final SQLResultSetRowList rows;
6672
6673 final int rowsAffected;
6674 }
6675 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6676 // for details. All rights reserved. Use of this source code is governed by a
6677 // BSD-style license that can be found in the LICENSE file.
6678
6679 // WARNING: Do not edit - generated code.
6680
6681 interface SQLResultSetRowList {
6682
6683 final int length;
6684
6685 Object item(int index);
6686 }
6687 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
6688 // for details. All rights reserved. Use of this source code is governed by a
6689 // BSD-style license that can be found in the LICENSE file.
6690
6691 // WARNING: Do not edit - generated code.
6692
6693 typedef bool SQLStatementCallback(SQLTransaction transaction, SQLResultSet resul tSet);
6694 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
6695 // for details. All rights reserved. Use of this source code is governed by a
6696 // BSD-style license that can be found in the LICENSE file.
6697
6698 // WARNING: Do not edit - generated code.
6699
6700 typedef bool SQLStatementErrorCallback(SQLTransaction transaction, SQLError erro r);
6701 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6702 // for details. All rights reserved. Use of this source code is governed by a
6703 // BSD-style license that can be found in the LICENSE file.
6704
6705 // WARNING: Do not edit - generated code.
6706
6707 interface SQLTransaction {
6708 }
6709 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
6710 // for details. All rights reserved. Use of this source code is governed by a
6711 // BSD-style license that can be found in the LICENSE file.
6712
6713 // WARNING: Do not edit - generated code.
6714
6715 typedef bool SQLTransactionCallback(SQLTransaction transaction);
6716 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
6717 // for details. All rights reserved. Use of this source code is governed by a
6718 // BSD-style license that can be found in the LICENSE file.
6719
6720 // WARNING: Do not edit - generated code.
6721
6722 typedef bool SQLTransactionErrorCallback(SQLError error);
6723 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6724 // for details. All rights reserved. Use of this source code is governed by a
6725 // BSD-style license that can be found in the LICENSE file.
6726
6727 // WARNING: Do not edit - generated code.
6728
6729 interface SQLTransactionSync {
6730 }
6731 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
6732 // for details. All rights reserved. Use of this source code is governed by a
6733 // BSD-style license that can be found in the LICENSE file.
6734
6735 // WARNING: Do not edit - generated code.
6736
6737 typedef bool SQLTransactionSyncCallback(SQLTransactionSync transaction);
6738 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6739 // for details. All rights reserved. Use of this source code is governed by a
6740 // BSD-style license that can be found in the LICENSE file.
6741
6742 // WARNING: Do not edit - generated code.
6743
6744 interface SVGAElement extends SVGElement, SVGURIReference, SVGTests, SVGLangSpac e, SVGExternalResourcesRequired, SVGStylable, SVGTransformable {
6745
6746 final SVGAnimatedString target;
6747 }
6748 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6749 // for details. All rights reserved. Use of this source code is governed by a
6750 // BSD-style license that can be found in the LICENSE file.
6751
6752 // WARNING: Do not edit - generated code.
6753
6754 interface SVGAltGlyphDefElement extends SVGElement {
6755 }
6756 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6757 // for details. All rights reserved. Use of this source code is governed by a
6758 // BSD-style license that can be found in the LICENSE file.
6759
6760 // WARNING: Do not edit - generated code.
6761
6762 interface SVGAltGlyphElement extends SVGTextPositioningElement, SVGURIReference {
6763
6764 String format;
6765
6766 String glyphRef;
6767 }
6768 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6769 // for details. All rights reserved. Use of this source code is governed by a
6770 // BSD-style license that can be found in the LICENSE file.
6771
6772 // WARNING: Do not edit - generated code.
6773
6774 interface SVGAltGlyphItemElement extends SVGElement {
6775 }
6776 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6777 // for details. All rights reserved. Use of this source code is governed by a
6778 // BSD-style license that can be found in the LICENSE file.
6779
6780 // WARNING: Do not edit - generated code.
6781
6782 interface SVGAngle {
6783
6784 static final int SVG_ANGLETYPE_DEG = 2;
6785
6786 static final int SVG_ANGLETYPE_GRAD = 4;
6787
6788 static final int SVG_ANGLETYPE_RAD = 3;
6789
6790 static final int SVG_ANGLETYPE_UNKNOWN = 0;
6791
6792 static final int SVG_ANGLETYPE_UNSPECIFIED = 1;
6793
6794 final int unitType;
6795
6796 num value;
6797
6798 String valueAsString;
6799
6800 num valueInSpecifiedUnits;
6801
6802 void convertToSpecifiedUnits(int unitType);
6803
6804 void newValueSpecifiedUnits(int unitType, num valueInSpecifiedUnits);
6805 }
6806 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6807 // for details. All rights reserved. Use of this source code is governed by a
6808 // BSD-style license that can be found in the LICENSE file.
6809
6810 // WARNING: Do not edit - generated code.
6811
6812 interface SVGAnimateColorElement extends SVGAnimationElement {
6813 }
6814 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6815 // for details. All rights reserved. Use of this source code is governed by a
6816 // BSD-style license that can be found in the LICENSE file.
6817
6818 // WARNING: Do not edit - generated code.
6819
6820 interface SVGAnimateElement extends SVGAnimationElement {
6821 }
6822 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6823 // for details. All rights reserved. Use of this source code is governed by a
6824 // BSD-style license that can be found in the LICENSE file.
6825
6826 // WARNING: Do not edit - generated code.
6827
6828 interface SVGAnimateMotionElement extends SVGAnimationElement {
6829 }
6830 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6831 // for details. All rights reserved. Use of this source code is governed by a
6832 // BSD-style license that can be found in the LICENSE file.
6833
6834 // WARNING: Do not edit - generated code.
6835
6836 interface SVGAnimateTransformElement extends SVGAnimationElement {
6837 }
6838 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6839 // for details. All rights reserved. Use of this source code is governed by a
6840 // BSD-style license that can be found in the LICENSE file.
6841
6842 // WARNING: Do not edit - generated code.
6843
6844 interface SVGAnimatedAngle {
6845
6846 final SVGAngle animVal;
6847
6848 final SVGAngle baseVal;
6849 }
6850 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6851 // for details. All rights reserved. Use of this source code is governed by a
6852 // BSD-style license that can be found in the LICENSE file.
6853
6854 // WARNING: Do not edit - generated code.
6855
6856 interface SVGAnimatedBoolean {
6857
6858 final bool animVal;
6859
6860 bool baseVal;
6861 }
6862 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6863 // for details. All rights reserved. Use of this source code is governed by a
6864 // BSD-style license that can be found in the LICENSE file.
6865
6866 // WARNING: Do not edit - generated code.
6867
6868 interface SVGAnimatedEnumeration {
6869
6870 final int animVal;
6871
6872 int baseVal;
6873 }
6874 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6875 // for details. All rights reserved. Use of this source code is governed by a
6876 // BSD-style license that can be found in the LICENSE file.
6877
6878 // WARNING: Do not edit - generated code.
6879
6880 interface SVGAnimatedInteger {
6881
6882 final int animVal;
6883
6884 int baseVal;
6885 }
6886 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6887 // for details. All rights reserved. Use of this source code is governed by a
6888 // BSD-style license that can be found in the LICENSE file.
6889
6890 // WARNING: Do not edit - generated code.
6891
6892 interface SVGAnimatedLength {
6893
6894 final SVGLength animVal;
6895
6896 final SVGLength baseVal;
6897 }
6898 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6899 // for details. All rights reserved. Use of this source code is governed by a
6900 // BSD-style license that can be found in the LICENSE file.
6901
6902 // WARNING: Do not edit - generated code.
6903
6904 interface SVGAnimatedLengthList {
6905
6906 final SVGLengthList animVal;
6907
6908 final SVGLengthList baseVal;
6909 }
6910 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6911 // for details. All rights reserved. Use of this source code is governed by a
6912 // BSD-style license that can be found in the LICENSE file.
6913
6914 // WARNING: Do not edit - generated code.
6915
6916 interface SVGAnimatedNumber {
6917
6918 final num animVal;
6919
6920 num baseVal;
6921 }
6922 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6923 // for details. All rights reserved. Use of this source code is governed by a
6924 // BSD-style license that can be found in the LICENSE file.
6925
6926 // WARNING: Do not edit - generated code.
6927
6928 interface SVGAnimatedNumberList {
6929
6930 final SVGNumberList animVal;
6931
6932 final SVGNumberList baseVal;
6933 }
6934 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6935 // for details. All rights reserved. Use of this source code is governed by a
6936 // BSD-style license that can be found in the LICENSE file.
6937
6938 // WARNING: Do not edit - generated code.
6939
6940 interface SVGAnimatedPreserveAspectRatio {
6941
6942 final SVGPreserveAspectRatio animVal;
6943
6944 final SVGPreserveAspectRatio baseVal;
6945 }
6946 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6947 // for details. All rights reserved. Use of this source code is governed by a
6948 // BSD-style license that can be found in the LICENSE file.
6949
6950 // WARNING: Do not edit - generated code.
6951
6952 interface SVGAnimatedRect {
6953
6954 final SVGRect animVal;
6955
6956 final SVGRect baseVal;
6957 }
6958 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6959 // for details. All rights reserved. Use of this source code is governed by a
6960 // BSD-style license that can be found in the LICENSE file.
6961
6962 // WARNING: Do not edit - generated code.
6963
6964 interface SVGAnimatedString {
6965
6966 final String animVal;
6967
6968 String baseVal;
6969 }
6970 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6971 // for details. All rights reserved. Use of this source code is governed by a
6972 // BSD-style license that can be found in the LICENSE file.
6973
6974 // WARNING: Do not edit - generated code.
6975
6976 interface SVGAnimatedTransformList {
6977
6978 final SVGTransformList animVal;
6979
6980 final SVGTransformList baseVal;
6981 }
6982 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6983 // for details. All rights reserved. Use of this source code is governed by a
6984 // BSD-style license that can be found in the LICENSE file.
6985
6986 // WARNING: Do not edit - generated code.
6987
6988 interface SVGAnimationElement extends SVGElement, SVGTests, SVGExternalResources Required, ElementTimeControl {
6989
6990 final SVGElement targetElement;
6991
6992 num getCurrentTime();
6993
6994 num getSimpleDuration();
6995
6996 num getStartTime();
6997 }
6998 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6999 // for details. All rights reserved. Use of this source code is governed by a
7000 // BSD-style license that can be found in the LICENSE file.
7001
7002 // WARNING: Do not edit - generated code.
7003
7004 interface SVGCircleElement extends SVGElement, SVGTests, SVGLangSpace, SVGExtern alResourcesRequired, SVGStylable, SVGTransformable {
7005
7006 final SVGAnimatedLength cx;
7007
7008 final SVGAnimatedLength cy;
7009
7010 final SVGAnimatedLength r;
7011 }
7012 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7013 // for details. All rights reserved. Use of this source code is governed by a
7014 // BSD-style license that can be found in the LICENSE file.
7015
7016 // WARNING: Do not edit - generated code.
7017
7018 interface SVGClipPathElement extends SVGElement, SVGTests, SVGLangSpace, SVGExte rnalResourcesRequired, SVGStylable, SVGTransformable {
7019
7020 final SVGAnimatedEnumeration clipPathUnits;
7021 }
7022 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7023 // for details. All rights reserved. Use of this source code is governed by a
7024 // BSD-style license that can be found in the LICENSE file.
7025
7026 // WARNING: Do not edit - generated code.
7027
7028 interface SVGColor extends CSSValue {
7029
7030 static final int SVG_COLORTYPE_CURRENTCOLOR = 3;
7031
7032 static final int SVG_COLORTYPE_RGBCOLOR = 1;
7033
7034 static final int SVG_COLORTYPE_RGBCOLOR_ICCCOLOR = 2;
7035
7036 static final int SVG_COLORTYPE_UNKNOWN = 0;
7037
7038 final int colorType;
7039
7040 final RGBColor rgbColor;
7041
7042 void setColor(int colorType, String rgbColor, String iccColor);
7043
7044 void setRGBColor(String rgbColor);
7045
7046 void setRGBColorICCColor(String rgbColor, String iccColor);
7047 }
7048 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7049 // for details. All rights reserved. Use of this source code is governed by a
7050 // BSD-style license that can be found in the LICENSE file.
7051
7052 // WARNING: Do not edit - generated code.
7053
7054 interface SVGComponentTransferFunctionElement extends SVGElement {
7055
7056 static final int SVG_FECOMPONENTTRANSFER_TYPE_DISCRETE = 3;
7057
7058 static final int SVG_FECOMPONENTTRANSFER_TYPE_GAMMA = 5;
7059
7060 static final int SVG_FECOMPONENTTRANSFER_TYPE_IDENTITY = 1;
7061
7062 static final int SVG_FECOMPONENTTRANSFER_TYPE_LINEAR = 4;
7063
7064 static final int SVG_FECOMPONENTTRANSFER_TYPE_TABLE = 2;
7065
7066 static final int SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN = 0;
7067
7068 final SVGAnimatedNumber amplitude;
7069
7070 final SVGAnimatedNumber exponent;
7071
7072 final SVGAnimatedNumber intercept;
7073
7074 final SVGAnimatedNumber offset;
7075
7076 final SVGAnimatedNumber slope;
7077
7078 final SVGAnimatedNumberList tableValues;
7079
7080 final SVGAnimatedEnumeration type;
7081 }
7082 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7083 // for details. All rights reserved. Use of this source code is governed by a
7084 // BSD-style license that can be found in the LICENSE file.
7085
7086 // WARNING: Do not edit - generated code.
7087
7088 interface SVGCursorElement extends SVGElement, SVGURIReference, SVGTests, SVGExt ernalResourcesRequired {
7089
7090 final SVGAnimatedLength x;
7091
7092 final SVGAnimatedLength y;
7093 }
7094 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7095 // for details. All rights reserved. Use of this source code is governed by a
7096 // BSD-style license that can be found in the LICENSE file.
7097
7098 // WARNING: Do not edit - generated code.
7099
7100 interface SVGDefsElement extends SVGElement, SVGTests, SVGLangSpace, SVGExternal ResourcesRequired, SVGStylable, SVGTransformable {
7101 }
7102 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7103 // for details. All rights reserved. Use of this source code is governed by a
7104 // BSD-style license that can be found in the LICENSE file.
7105
7106 // WARNING: Do not edit - generated code.
7107
7108 interface SVGDescElement extends SVGElement, SVGLangSpace, SVGStylable {
7109 }
7110 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7111 // for details. All rights reserved. Use of this source code is governed by a
7112 // BSD-style license that can be found in the LICENSE file.
7113
7114 // WARNING: Do not edit - generated code.
7115
7116 interface SVGDocument extends Document {
7117
7118 final SVGSVGElement rootElement;
7119
7120 Event createEvent(String eventType);
7121 }
7122 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7123 // for details. All rights reserved. Use of this source code is governed by a
7124 // BSD-style license that can be found in the LICENSE file.
7125
7126 // WARNING: Do not edit - generated code.
7127
7128 interface SVGElement extends Element {
7129
7130 String id;
7131
7132 final SVGSVGElement ownerSVGElement;
7133
7134 final SVGElement viewportElement;
7135
7136 String xmlbase;
7137 }
7138 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7139 // for details. All rights reserved. Use of this source code is governed by a
7140 // BSD-style license that can be found in the LICENSE file.
7141
7142 // WARNING: Do not edit - generated code.
7143
7144 interface SVGElementInstance extends EventTarget {
7145
7146 final SVGElementInstanceList childNodes;
7147
7148 final SVGElement correspondingElement;
7149
7150 final SVGUseElement correspondingUseElement;
7151
7152 final SVGElementInstance firstChild;
7153
7154 final SVGElementInstance lastChild;
7155
7156 final SVGElementInstance nextSibling;
7157
7158 final SVGElementInstance parentNode;
7159
7160 final SVGElementInstance previousSibling;
7161
7162 void addEventListener(String type, EventListener listener, [bool useCapture]);
7163
7164 bool dispatchEvent(Event event);
7165
7166 void removeEventListener(String type, EventListener listener, [bool useCapture ]);
7167 }
7168 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7169 // for details. All rights reserved. Use of this source code is governed by a
7170 // BSD-style license that can be found in the LICENSE file.
7171
7172 // WARNING: Do not edit - generated code.
7173
7174 interface SVGElementInstanceList {
7175
7176 final int length;
7177
7178 SVGElementInstance item(int index);
7179 }
7180 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7181 // for details. All rights reserved. Use of this source code is governed by a
7182 // BSD-style license that can be found in the LICENSE file.
7183
7184 // WARNING: Do not edit - generated code.
7185
7186 interface SVGEllipseElement extends SVGElement, SVGTests, SVGLangSpace, SVGExter nalResourcesRequired, SVGStylable, SVGTransformable {
7187
7188 final SVGAnimatedLength cx;
7189
7190 final SVGAnimatedLength cy;
7191
7192 final SVGAnimatedLength rx;
7193
7194 final SVGAnimatedLength ry;
7195 }
7196 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7197 // for details. All rights reserved. Use of this source code is governed by a
7198 // BSD-style license that can be found in the LICENSE file.
7199
7200 // WARNING: Do not edit - generated code.
7201
7202 interface SVGException {
7203
7204 static final int SVG_INVALID_VALUE_ERR = 1;
7205
7206 static final int SVG_MATRIX_NOT_INVERTABLE = 2;
7207
7208 static final int SVG_WRONG_TYPE_ERR = 0;
7209
7210 final int code;
7211
7212 final String message;
7213
7214 final String name;
7215
7216 String toString();
7217 }
7218 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7219 // for details. All rights reserved. Use of this source code is governed by a
7220 // BSD-style license that can be found in the LICENSE file.
7221
7222 // WARNING: Do not edit - generated code.
7223
7224 interface SVGExternalResourcesRequired {
7225
7226 final SVGAnimatedBoolean externalResourcesRequired;
7227 }
7228 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7229 // for details. All rights reserved. Use of this source code is governed by a
7230 // BSD-style license that can be found in the LICENSE file.
7231
7232 // WARNING: Do not edit - generated code.
7233
7234 interface SVGFEBlendElement extends SVGElement, SVGFilterPrimitiveStandardAttrib utes {
7235
7236 static final int SVG_FEBLEND_MODE_DARKEN = 4;
7237
7238 static final int SVG_FEBLEND_MODE_LIGHTEN = 5;
7239
7240 static final int SVG_FEBLEND_MODE_MULTIPLY = 2;
7241
7242 static final int SVG_FEBLEND_MODE_NORMAL = 1;
7243
7244 static final int SVG_FEBLEND_MODE_SCREEN = 3;
7245
7246 static final int SVG_FEBLEND_MODE_UNKNOWN = 0;
7247
7248 final SVGAnimatedString in1;
7249
7250 final SVGAnimatedString in2;
7251
7252 final SVGAnimatedEnumeration mode;
7253 }
7254 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7255 // for details. All rights reserved. Use of this source code is governed by a
7256 // BSD-style license that can be found in the LICENSE file.
7257
7258 // WARNING: Do not edit - generated code.
7259
7260 interface SVGFEColorMatrixElement extends SVGElement, SVGFilterPrimitiveStandard Attributes {
7261
7262 static final int SVG_FECOLORMATRIX_TYPE_HUEROTATE = 3;
7263
7264 static final int SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA = 4;
7265
7266 static final int SVG_FECOLORMATRIX_TYPE_MATRIX = 1;
7267
7268 static final int SVG_FECOLORMATRIX_TYPE_SATURATE = 2;
7269
7270 static final int SVG_FECOLORMATRIX_TYPE_UNKNOWN = 0;
7271
7272 final SVGAnimatedString in1;
7273
7274 final SVGAnimatedEnumeration type;
7275
7276 final SVGAnimatedNumberList values;
7277 }
7278 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7279 // for details. All rights reserved. Use of this source code is governed by a
7280 // BSD-style license that can be found in the LICENSE file.
7281
7282 // WARNING: Do not edit - generated code.
7283
7284 interface SVGFEComponentTransferElement extends SVGElement, SVGFilterPrimitiveSt andardAttributes {
7285
7286 final SVGAnimatedString in1;
7287 }
7288 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7289 // for details. All rights reserved. Use of this source code is governed by a
7290 // BSD-style license that can be found in the LICENSE file.
7291
7292 // WARNING: Do not edit - generated code.
7293
7294 interface SVGFECompositeElement extends SVGElement, SVGFilterPrimitiveStandardAt tributes {
7295
7296 static final int SVG_FECOMPOSITE_OPERATOR_ARITHMETIC = 6;
7297
7298 static final int SVG_FECOMPOSITE_OPERATOR_ATOP = 4;
7299
7300 static final int SVG_FECOMPOSITE_OPERATOR_IN = 2;
7301
7302 static final int SVG_FECOMPOSITE_OPERATOR_OUT = 3;
7303
7304 static final int SVG_FECOMPOSITE_OPERATOR_OVER = 1;
7305
7306 static final int SVG_FECOMPOSITE_OPERATOR_UNKNOWN = 0;
7307
7308 static final int SVG_FECOMPOSITE_OPERATOR_XOR = 5;
7309
7310 final SVGAnimatedString in1;
7311
7312 final SVGAnimatedString in2;
7313
7314 final SVGAnimatedNumber k1;
7315
7316 final SVGAnimatedNumber k2;
7317
7318 final SVGAnimatedNumber k3;
7319
7320 final SVGAnimatedNumber k4;
7321
7322 final SVGAnimatedEnumeration operator;
7323 }
7324 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7325 // for details. All rights reserved. Use of this source code is governed by a
7326 // BSD-style license that can be found in the LICENSE file.
7327
7328 // WARNING: Do not edit - generated code.
7329
7330 interface SVGFEConvolveMatrixElement extends SVGElement, SVGFilterPrimitiveStand ardAttributes {
7331
7332 static final int SVG_EDGEMODE_DUPLICATE = 1;
7333
7334 static final int SVG_EDGEMODE_NONE = 3;
7335
7336 static final int SVG_EDGEMODE_UNKNOWN = 0;
7337
7338 static final int SVG_EDGEMODE_WRAP = 2;
7339
7340 final SVGAnimatedNumber bias;
7341
7342 final SVGAnimatedNumber divisor;
7343
7344 final SVGAnimatedEnumeration edgeMode;
7345
7346 final SVGAnimatedString in1;
7347
7348 final SVGAnimatedNumberList kernelMatrix;
7349
7350 final SVGAnimatedNumber kernelUnitLengthX;
7351
7352 final SVGAnimatedNumber kernelUnitLengthY;
7353
7354 final SVGAnimatedInteger orderX;
7355
7356 final SVGAnimatedInteger orderY;
7357
7358 final SVGAnimatedBoolean preserveAlpha;
7359
7360 final SVGAnimatedInteger targetX;
7361
7362 final SVGAnimatedInteger targetY;
7363 }
7364 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7365 // for details. All rights reserved. Use of this source code is governed by a
7366 // BSD-style license that can be found in the LICENSE file.
7367
7368 // WARNING: Do not edit - generated code.
7369
7370 interface SVGFEDiffuseLightingElement extends SVGElement, SVGFilterPrimitiveStan dardAttributes {
7371
7372 final SVGAnimatedNumber diffuseConstant;
7373
7374 final SVGAnimatedString in1;
7375
7376 final SVGAnimatedNumber kernelUnitLengthX;
7377
7378 final SVGAnimatedNumber kernelUnitLengthY;
7379
7380 final SVGAnimatedNumber surfaceScale;
7381 }
7382 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7383 // for details. All rights reserved. Use of this source code is governed by a
7384 // BSD-style license that can be found in the LICENSE file.
7385
7386 // WARNING: Do not edit - generated code.
7387
7388 interface SVGFEDisplacementMapElement extends SVGElement, SVGFilterPrimitiveStan dardAttributes {
7389
7390 static final int SVG_CHANNEL_A = 4;
7391
7392 static final int SVG_CHANNEL_B = 3;
7393
7394 static final int SVG_CHANNEL_G = 2;
7395
7396 static final int SVG_CHANNEL_R = 1;
7397
7398 static final int SVG_CHANNEL_UNKNOWN = 0;
7399
7400 final SVGAnimatedString in1;
7401
7402 final SVGAnimatedString in2;
7403
7404 final SVGAnimatedNumber scale;
7405
7406 final SVGAnimatedEnumeration xChannelSelector;
7407
7408 final SVGAnimatedEnumeration yChannelSelector;
7409 }
7410 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7411 // for details. All rights reserved. Use of this source code is governed by a
7412 // BSD-style license that can be found in the LICENSE file.
7413
7414 // WARNING: Do not edit - generated code.
7415
7416 interface SVGFEDistantLightElement extends SVGElement {
7417
7418 final SVGAnimatedNumber azimuth;
7419
7420 final SVGAnimatedNumber elevation;
7421 }
7422 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7423 // for details. All rights reserved. Use of this source code is governed by a
7424 // BSD-style license that can be found in the LICENSE file.
7425
7426 // WARNING: Do not edit - generated code.
7427
7428 interface SVGFEDropShadowElement extends SVGElement, SVGFilterPrimitiveStandardA ttributes {
7429
7430 final SVGAnimatedNumber dx;
7431
7432 final SVGAnimatedNumber dy;
7433
7434 final SVGAnimatedString in1;
7435
7436 final SVGAnimatedNumber stdDeviationX;
7437
7438 final SVGAnimatedNumber stdDeviationY;
7439
7440 void setStdDeviation(num stdDeviationX, num stdDeviationY);
7441 }
7442 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7443 // for details. All rights reserved. Use of this source code is governed by a
7444 // BSD-style license that can be found in the LICENSE file.
7445
7446 // WARNING: Do not edit - generated code.
7447
7448 interface SVGFEFloodElement extends SVGElement, SVGFilterPrimitiveStandardAttrib utes {
7449 }
7450 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7451 // for details. All rights reserved. Use of this source code is governed by a
7452 // BSD-style license that can be found in the LICENSE file.
7453
7454 // WARNING: Do not edit - generated code.
7455
7456 interface SVGFEFuncAElement extends SVGComponentTransferFunctionElement {
7457 }
7458 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7459 // for details. All rights reserved. Use of this source code is governed by a
7460 // BSD-style license that can be found in the LICENSE file.
7461
7462 // WARNING: Do not edit - generated code.
7463
7464 interface SVGFEFuncBElement extends SVGComponentTransferFunctionElement {
7465 }
7466 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7467 // for details. All rights reserved. Use of this source code is governed by a
7468 // BSD-style license that can be found in the LICENSE file.
7469
7470 // WARNING: Do not edit - generated code.
7471
7472 interface SVGFEFuncGElement extends SVGComponentTransferFunctionElement {
7473 }
7474 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7475 // for details. All rights reserved. Use of this source code is governed by a
7476 // BSD-style license that can be found in the LICENSE file.
7477
7478 // WARNING: Do not edit - generated code.
7479
7480 interface SVGFEFuncRElement extends SVGComponentTransferFunctionElement {
7481 }
7482 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7483 // for details. All rights reserved. Use of this source code is governed by a
7484 // BSD-style license that can be found in the LICENSE file.
7485
7486 // WARNING: Do not edit - generated code.
7487
7488 interface SVGFEGaussianBlurElement extends SVGElement, SVGFilterPrimitiveStandar dAttributes {
7489
7490 final SVGAnimatedString in1;
7491
7492 final SVGAnimatedNumber stdDeviationX;
7493
7494 final SVGAnimatedNumber stdDeviationY;
7495
7496 void setStdDeviation(num stdDeviationX, num stdDeviationY);
7497 }
7498 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7499 // for details. All rights reserved. Use of this source code is governed by a
7500 // BSD-style license that can be found in the LICENSE file.
7501
7502 // WARNING: Do not edit - generated code.
7503
7504 interface SVGFEImageElement extends SVGElement, SVGURIReference, SVGLangSpace, S VGExternalResourcesRequired, SVGFilterPrimitiveStandardAttributes {
7505
7506 final SVGAnimatedPreserveAspectRatio preserveAspectRatio;
7507 }
7508 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7509 // for details. All rights reserved. Use of this source code is governed by a
7510 // BSD-style license that can be found in the LICENSE file.
7511
7512 // WARNING: Do not edit - generated code.
7513
7514 interface SVGFEMergeElement extends SVGElement, SVGFilterPrimitiveStandardAttrib utes {
7515 }
7516 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7517 // for details. All rights reserved. Use of this source code is governed by a
7518 // BSD-style license that can be found in the LICENSE file.
7519
7520 // WARNING: Do not edit - generated code.
7521
7522 interface SVGFEMergeNodeElement extends SVGElement {
7523
7524 final SVGAnimatedString in1;
7525 }
7526 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7527 // for details. All rights reserved. Use of this source code is governed by a
7528 // BSD-style license that can be found in the LICENSE file.
7529
7530 // WARNING: Do not edit - generated code.
7531
7532 interface SVGFEMorphologyElement extends SVGElement, SVGFilterPrimitiveStandardA ttributes {
7533
7534 static final int SVG_MORPHOLOGY_OPERATOR_DILATE = 2;
7535
7536 static final int SVG_MORPHOLOGY_OPERATOR_ERODE = 1;
7537
7538 static final int SVG_MORPHOLOGY_OPERATOR_UNKNOWN = 0;
7539
7540 final SVGAnimatedString in1;
7541
7542 final SVGAnimatedEnumeration operator;
7543
7544 final SVGAnimatedNumber radiusX;
7545
7546 final SVGAnimatedNumber radiusY;
7547
7548 void setRadius(num radiusX, num radiusY);
7549 }
7550 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7551 // for details. All rights reserved. Use of this source code is governed by a
7552 // BSD-style license that can be found in the LICENSE file.
7553
7554 // WARNING: Do not edit - generated code.
7555
7556 interface SVGFEOffsetElement extends SVGElement, SVGFilterPrimitiveStandardAttri butes {
7557
7558 final SVGAnimatedNumber dx;
7559
7560 final SVGAnimatedNumber dy;
7561
7562 final SVGAnimatedString in1;
7563 }
7564 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7565 // for details. All rights reserved. Use of this source code is governed by a
7566 // BSD-style license that can be found in the LICENSE file.
7567
7568 // WARNING: Do not edit - generated code.
7569
7570 interface SVGFEPointLightElement extends SVGElement {
7571
7572 final SVGAnimatedNumber x;
7573
7574 final SVGAnimatedNumber y;
7575
7576 final SVGAnimatedNumber z;
7577 }
7578 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7579 // for details. All rights reserved. Use of this source code is governed by a
7580 // BSD-style license that can be found in the LICENSE file.
7581
7582 // WARNING: Do not edit - generated code.
7583
7584 interface SVGFESpecularLightingElement extends SVGElement, SVGFilterPrimitiveSta ndardAttributes {
7585
7586 final SVGAnimatedString in1;
7587
7588 final SVGAnimatedNumber specularConstant;
7589
7590 final SVGAnimatedNumber specularExponent;
7591
7592 final SVGAnimatedNumber surfaceScale;
7593 }
7594 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7595 // for details. All rights reserved. Use of this source code is governed by a
7596 // BSD-style license that can be found in the LICENSE file.
7597
7598 // WARNING: Do not edit - generated code.
7599
7600 interface SVGFESpotLightElement extends SVGElement {
7601
7602 final SVGAnimatedNumber limitingConeAngle;
7603
7604 final SVGAnimatedNumber pointsAtX;
7605
7606 final SVGAnimatedNumber pointsAtY;
7607
7608 final SVGAnimatedNumber pointsAtZ;
7609
7610 final SVGAnimatedNumber specularExponent;
7611
7612 final SVGAnimatedNumber x;
7613
7614 final SVGAnimatedNumber y;
7615
7616 final SVGAnimatedNumber z;
7617 }
7618 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7619 // for details. All rights reserved. Use of this source code is governed by a
7620 // BSD-style license that can be found in the LICENSE file.
7621
7622 // WARNING: Do not edit - generated code.
7623
7624 interface SVGFETileElement extends SVGElement, SVGFilterPrimitiveStandardAttribu tes {
7625
7626 final SVGAnimatedString in1;
7627 }
7628 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7629 // for details. All rights reserved. Use of this source code is governed by a
7630 // BSD-style license that can be found in the LICENSE file.
7631
7632 // WARNING: Do not edit - generated code.
7633
7634 interface SVGFETurbulenceElement extends SVGElement, SVGFilterPrimitiveStandardA ttributes {
7635
7636 static final int SVG_STITCHTYPE_NOSTITCH = 2;
7637
7638 static final int SVG_STITCHTYPE_STITCH = 1;
7639
7640 static final int SVG_STITCHTYPE_UNKNOWN = 0;
7641
7642 static final int SVG_TURBULENCE_TYPE_FRACTALNOISE = 1;
7643
7644 static final int SVG_TURBULENCE_TYPE_TURBULENCE = 2;
7645
7646 static final int SVG_TURBULENCE_TYPE_UNKNOWN = 0;
7647
7648 final SVGAnimatedNumber baseFrequencyX;
7649
7650 final SVGAnimatedNumber baseFrequencyY;
7651
7652 final SVGAnimatedInteger numOctaves;
7653
7654 final SVGAnimatedNumber seed;
7655
7656 final SVGAnimatedEnumeration stitchTiles;
7657
7658 final SVGAnimatedEnumeration type;
7659 }
7660 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7661 // for details. All rights reserved. Use of this source code is governed by a
7662 // BSD-style license that can be found in the LICENSE file.
7663
7664 // WARNING: Do not edit - generated code.
7665
7666 interface SVGFilterElement extends SVGElement, SVGURIReference, SVGLangSpace, SV GExternalResourcesRequired, SVGStylable {
7667
7668 final SVGAnimatedInteger filterResX;
7669
7670 final SVGAnimatedInteger filterResY;
7671
7672 final SVGAnimatedEnumeration filterUnits;
7673
7674 final SVGAnimatedLength height;
7675
7676 final SVGAnimatedEnumeration primitiveUnits;
7677
7678 final SVGAnimatedLength width;
7679
7680 final SVGAnimatedLength x;
7681
7682 final SVGAnimatedLength y;
7683
7684 void setFilterRes(int filterResX, int filterResY);
7685 }
7686 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7687 // for details. All rights reserved. Use of this source code is governed by a
7688 // BSD-style license that can be found in the LICENSE file.
7689
7690 // WARNING: Do not edit - generated code.
7691
7692 interface SVGFilterPrimitiveStandardAttributes extends SVGStylable {
7693
7694 final SVGAnimatedLength height;
7695
7696 final SVGAnimatedString result;
7697
7698 final SVGAnimatedLength width;
7699
7700 final SVGAnimatedLength x;
7701
7702 final SVGAnimatedLength y;
7703 }
7704 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7705 // for details. All rights reserved. Use of this source code is governed by a
7706 // BSD-style license that can be found in the LICENSE file.
7707
7708 // WARNING: Do not edit - generated code.
7709
7710 interface SVGFitToViewBox {
7711
7712 final SVGAnimatedPreserveAspectRatio preserveAspectRatio;
7713
7714 final SVGAnimatedRect viewBox;
7715 }
7716 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7717 // for details. All rights reserved. Use of this source code is governed by a
7718 // BSD-style license that can be found in the LICENSE file.
7719
7720 // WARNING: Do not edit - generated code.
7721
7722 interface SVGFontElement extends SVGElement {
7723 }
7724 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7725 // for details. All rights reserved. Use of this source code is governed by a
7726 // BSD-style license that can be found in the LICENSE file.
7727
7728 // WARNING: Do not edit - generated code.
7729
7730 interface SVGFontFaceElement extends SVGElement {
7731 }
7732 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7733 // for details. All rights reserved. Use of this source code is governed by a
7734 // BSD-style license that can be found in the LICENSE file.
7735
7736 // WARNING: Do not edit - generated code.
7737
7738 interface SVGFontFaceFormatElement extends SVGElement {
7739 }
7740 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7741 // for details. All rights reserved. Use of this source code is governed by a
7742 // BSD-style license that can be found in the LICENSE file.
7743
7744 // WARNING: Do not edit - generated code.
7745
7746 interface SVGFontFaceNameElement extends SVGElement {
7747 }
7748 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7749 // for details. All rights reserved. Use of this source code is governed by a
7750 // BSD-style license that can be found in the LICENSE file.
7751
7752 // WARNING: Do not edit - generated code.
7753
7754 interface SVGFontFaceSrcElement extends SVGElement {
7755 }
7756 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7757 // for details. All rights reserved. Use of this source code is governed by a
7758 // BSD-style license that can be found in the LICENSE file.
7759
7760 // WARNING: Do not edit - generated code.
7761
7762 interface SVGFontFaceUriElement extends SVGElement {
7763 }
7764 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7765 // for details. All rights reserved. Use of this source code is governed by a
7766 // BSD-style license that can be found in the LICENSE file.
7767
7768 // WARNING: Do not edit - generated code.
7769
7770 interface SVGForeignObjectElement extends SVGElement, SVGTests, SVGLangSpace, SV GExternalResourcesRequired, SVGStylable, SVGTransformable {
7771
7772 final SVGAnimatedLength height;
7773
7774 final SVGAnimatedLength width;
7775
7776 final SVGAnimatedLength x;
7777
7778 final SVGAnimatedLength y;
7779 }
7780 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7781 // for details. All rights reserved. Use of this source code is governed by a
7782 // BSD-style license that can be found in the LICENSE file.
7783
7784 // WARNING: Do not edit - generated code.
7785
7786 interface SVGGElement extends SVGElement, SVGTests, SVGLangSpace, SVGExternalRes ourcesRequired, SVGStylable, SVGTransformable {
7787 }
7788 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7789 // for details. All rights reserved. Use of this source code is governed by a
7790 // BSD-style license that can be found in the LICENSE file.
7791
7792 // WARNING: Do not edit - generated code.
7793
7794 interface SVGGlyphElement extends SVGElement {
7795 }
7796 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7797 // for details. All rights reserved. Use of this source code is governed by a
7798 // BSD-style license that can be found in the LICENSE file.
7799
7800 // WARNING: Do not edit - generated code.
7801
7802 interface SVGGlyphRefElement extends SVGElement, SVGURIReference, SVGStylable {
7803
7804 num dx;
7805
7806 num dy;
7807
7808 String format;
7809
7810 String glyphRef;
7811
7812 num x;
7813
7814 num y;
7815 }
7816 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7817 // for details. All rights reserved. Use of this source code is governed by a
7818 // BSD-style license that can be found in the LICENSE file.
7819
7820 // WARNING: Do not edit - generated code.
7821
7822 interface SVGGradientElement extends SVGElement, SVGURIReference, SVGExternalRes ourcesRequired, SVGStylable {
7823
7824 static final int SVG_SPREADMETHOD_PAD = 1;
7825
7826 static final int SVG_SPREADMETHOD_REFLECT = 2;
7827
7828 static final int SVG_SPREADMETHOD_REPEAT = 3;
7829
7830 static final int SVG_SPREADMETHOD_UNKNOWN = 0;
7831
7832 final SVGAnimatedTransformList gradientTransform;
7833
7834 final SVGAnimatedEnumeration gradientUnits;
7835
7836 final SVGAnimatedEnumeration spreadMethod;
7837 }
7838 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7839 // for details. All rights reserved. Use of this source code is governed by a
7840 // BSD-style license that can be found in the LICENSE file.
7841
7842 // WARNING: Do not edit - generated code.
7843
7844 interface SVGHKernElement extends SVGElement {
7845 }
7846 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7847 // for details. All rights reserved. Use of this source code is governed by a
7848 // BSD-style license that can be found in the LICENSE file.
7849
7850 // WARNING: Do not edit - generated code.
7851
7852 interface SVGImageElement extends SVGElement, SVGURIReference, SVGTests, SVGLang Space, SVGExternalResourcesRequired, SVGStylable, SVGTransformable {
7853
7854 final SVGAnimatedLength height;
7855
7856 final SVGAnimatedPreserveAspectRatio preserveAspectRatio;
7857
7858 final SVGAnimatedLength width;
7859
7860 final SVGAnimatedLength x;
7861
7862 final SVGAnimatedLength y;
7863 }
7864 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7865 // for details. All rights reserved. Use of this source code is governed by a
7866 // BSD-style license that can be found in the LICENSE file.
7867
7868 // WARNING: Do not edit - generated code.
7869
7870 interface SVGLangSpace {
7871
7872 String xmllang;
7873
7874 String xmlspace;
7875 }
7876 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7877 // for details. All rights reserved. Use of this source code is governed by a
7878 // BSD-style license that can be found in the LICENSE file.
7879
7880 // WARNING: Do not edit - generated code.
7881
7882 interface SVGLength {
7883
7884 static final int SVG_LENGTHTYPE_CM = 6;
7885
7886 static final int SVG_LENGTHTYPE_EMS = 3;
7887
7888 static final int SVG_LENGTHTYPE_EXS = 4;
7889
7890 static final int SVG_LENGTHTYPE_IN = 8;
7891
7892 static final int SVG_LENGTHTYPE_MM = 7;
7893
7894 static final int SVG_LENGTHTYPE_NUMBER = 1;
7895
7896 static final int SVG_LENGTHTYPE_PC = 10;
7897
7898 static final int SVG_LENGTHTYPE_PERCENTAGE = 2;
7899
7900 static final int SVG_LENGTHTYPE_PT = 9;
7901
7902 static final int SVG_LENGTHTYPE_PX = 5;
7903
7904 static final int SVG_LENGTHTYPE_UNKNOWN = 0;
7905
7906 final int unitType;
7907
7908 num value;
7909
7910 String valueAsString;
7911
7912 num valueInSpecifiedUnits;
7913
7914 void convertToSpecifiedUnits(int unitType);
7915
7916 void newValueSpecifiedUnits(int unitType, num valueInSpecifiedUnits);
7917 }
7918 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7919 // for details. All rights reserved. Use of this source code is governed by a
7920 // BSD-style license that can be found in the LICENSE file.
7921
7922 // WARNING: Do not edit - generated code.
7923
7924 interface SVGLengthList {
7925
7926 final int numberOfItems;
7927
7928 SVGLength appendItem(SVGLength item);
7929
7930 void clear();
7931
7932 SVGLength getItem(int index);
7933
7934 SVGLength initialize(SVGLength item);
7935
7936 SVGLength insertItemBefore(SVGLength item, int index);
7937
7938 SVGLength removeItem(int index);
7939
7940 SVGLength replaceItem(SVGLength item, int index);
7941 }
7942 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7943 // for details. All rights reserved. Use of this source code is governed by a
7944 // BSD-style license that can be found in the LICENSE file.
7945
7946 // WARNING: Do not edit - generated code.
7947
7948 interface SVGLineElement extends SVGElement, SVGTests, SVGLangSpace, SVGExternal ResourcesRequired, SVGStylable, SVGTransformable {
7949
7950 final SVGAnimatedLength x1;
7951
7952 final SVGAnimatedLength x2;
7953
7954 final SVGAnimatedLength y1;
7955
7956 final SVGAnimatedLength y2;
7957 }
7958 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7959 // for details. All rights reserved. Use of this source code is governed by a
7960 // BSD-style license that can be found in the LICENSE file.
7961
7962 // WARNING: Do not edit - generated code.
7963
7964 interface SVGLinearGradientElement extends SVGGradientElement {
7965
7966 final SVGAnimatedLength x1;
7967
7968 final SVGAnimatedLength x2;
7969
7970 final SVGAnimatedLength y1;
7971
7972 final SVGAnimatedLength y2;
7973 }
7974 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7975 // for details. All rights reserved. Use of this source code is governed by a
7976 // BSD-style license that can be found in the LICENSE file.
7977
7978 // WARNING: Do not edit - generated code.
7979
7980 interface SVGLocatable {
7981
7982 final SVGElement farthestViewportElement;
7983
7984 final SVGElement nearestViewportElement;
7985
7986 SVGRect getBBox();
7987
7988 SVGMatrix getCTM();
7989
7990 SVGMatrix getScreenCTM();
7991
7992 SVGMatrix getTransformToElement(SVGElement element);
7993 }
7994 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7995 // for details. All rights reserved. Use of this source code is governed by a
7996 // BSD-style license that can be found in the LICENSE file.
7997
7998 // WARNING: Do not edit - generated code.
7999
8000 interface SVGMPathElement extends SVGElement, SVGURIReference, SVGExternalResour cesRequired {
8001 }
8002 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8003 // for details. All rights reserved. Use of this source code is governed by a
8004 // BSD-style license that can be found in the LICENSE file.
8005
8006 // WARNING: Do not edit - generated code.
8007
8008 interface SVGMarkerElement extends SVGElement, SVGLangSpace, SVGExternalResource sRequired, SVGStylable, SVGFitToViewBox {
8009
8010 static final int SVG_MARKERUNITS_STROKEWIDTH = 2;
8011
8012 static final int SVG_MARKERUNITS_UNKNOWN = 0;
8013
8014 static final int SVG_MARKERUNITS_USERSPACEONUSE = 1;
8015
8016 static final int SVG_MARKER_ORIENT_ANGLE = 2;
8017
8018 static final int SVG_MARKER_ORIENT_AUTO = 1;
8019
8020 static final int SVG_MARKER_ORIENT_UNKNOWN = 0;
8021
8022 final SVGAnimatedLength markerHeight;
8023
8024 final SVGAnimatedEnumeration markerUnits;
8025
8026 final SVGAnimatedLength markerWidth;
8027
8028 final SVGAnimatedAngle orientAngle;
8029
8030 final SVGAnimatedEnumeration orientType;
8031
8032 final SVGAnimatedLength refX;
8033
8034 final SVGAnimatedLength refY;
8035
8036 void setOrientToAngle(SVGAngle angle);
8037
8038 void setOrientToAuto();
8039 }
8040 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8041 // for details. All rights reserved. Use of this source code is governed by a
8042 // BSD-style license that can be found in the LICENSE file.
8043
8044 // WARNING: Do not edit - generated code.
8045
8046 interface SVGMaskElement extends SVGElement, SVGTests, SVGLangSpace, SVGExternal ResourcesRequired, SVGStylable {
8047
8048 final SVGAnimatedLength height;
8049
8050 final SVGAnimatedEnumeration maskContentUnits;
8051
8052 final SVGAnimatedEnumeration maskUnits;
8053
8054 final SVGAnimatedLength width;
8055
8056 final SVGAnimatedLength x;
8057
8058 final SVGAnimatedLength y;
8059 }
8060 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8061 // for details. All rights reserved. Use of this source code is governed by a
8062 // BSD-style license that can be found in the LICENSE file.
8063
8064 // WARNING: Do not edit - generated code.
8065
8066 interface SVGMatrix {
8067
8068 num a;
8069
8070 num b;
8071
8072 num c;
8073
8074 num d;
8075
8076 num e;
8077
8078 num f;
8079
8080 SVGMatrix flipX();
8081
8082 SVGMatrix flipY();
8083
8084 SVGMatrix inverse();
8085
8086 SVGMatrix multiply(SVGMatrix secondMatrix);
8087
8088 SVGMatrix rotate(num angle);
8089
8090 SVGMatrix rotateFromVector(num x, num y);
8091
8092 SVGMatrix scale(num scaleFactor);
8093
8094 SVGMatrix scaleNonUniform(num scaleFactorX, num scaleFactorY);
8095
8096 SVGMatrix skewX(num angle);
8097
8098 SVGMatrix skewY(num angle);
8099
8100 SVGMatrix translate(num x, num y);
8101 }
8102 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8103 // for details. All rights reserved. Use of this source code is governed by a
8104 // BSD-style license that can be found in the LICENSE file.
8105
8106 // WARNING: Do not edit - generated code.
8107
8108 interface SVGMetadataElement extends SVGElement {
8109 }
8110 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8111 // for details. All rights reserved. Use of this source code is governed by a
8112 // BSD-style license that can be found in the LICENSE file.
8113
8114 // WARNING: Do not edit - generated code.
8115
8116 interface SVGMissingGlyphElement extends SVGElement {
8117 }
8118 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8119 // for details. All rights reserved. Use of this source code is governed by a
8120 // BSD-style license that can be found in the LICENSE file.
8121
8122 // WARNING: Do not edit - generated code.
8123
8124 interface SVGNumber {
8125
8126 num value;
8127 }
8128 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8129 // for details. All rights reserved. Use of this source code is governed by a
8130 // BSD-style license that can be found in the LICENSE file.
8131
8132 // WARNING: Do not edit - generated code.
8133
8134 interface SVGNumberList {
8135
8136 final int numberOfItems;
8137
8138 SVGNumber appendItem(SVGNumber item);
8139
8140 void clear();
8141
8142 SVGNumber getItem(int index);
8143
8144 SVGNumber initialize(SVGNumber item);
8145
8146 SVGNumber insertItemBefore(SVGNumber item, int index);
8147
8148 SVGNumber removeItem(int index);
8149
8150 SVGNumber replaceItem(SVGNumber item, int index);
8151 }
8152 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8153 // for details. All rights reserved. Use of this source code is governed by a
8154 // BSD-style license that can be found in the LICENSE file.
8155
8156 // WARNING: Do not edit - generated code.
8157
8158 interface SVGPaint extends SVGColor {
8159
8160 static final int SVG_PAINTTYPE_CURRENTCOLOR = 102;
8161
8162 static final int SVG_PAINTTYPE_NONE = 101;
8163
8164 static final int SVG_PAINTTYPE_RGBCOLOR = 1;
8165
8166 static final int SVG_PAINTTYPE_RGBCOLOR_ICCCOLOR = 2;
8167
8168 static final int SVG_PAINTTYPE_UNKNOWN = 0;
8169
8170 static final int SVG_PAINTTYPE_URI = 107;
8171
8172 static final int SVG_PAINTTYPE_URI_CURRENTCOLOR = 104;
8173
8174 static final int SVG_PAINTTYPE_URI_NONE = 103;
8175
8176 static final int SVG_PAINTTYPE_URI_RGBCOLOR = 105;
8177
8178 static final int SVG_PAINTTYPE_URI_RGBCOLOR_ICCCOLOR = 106;
8179
8180 final int paintType;
8181
8182 final String uri;
8183
8184 void setPaint(int paintType, String uri, String rgbColor, String iccColor);
8185
8186 void setUri(String uri);
8187 }
8188 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8189 // for details. All rights reserved. Use of this source code is governed by a
8190 // BSD-style license that can be found in the LICENSE file.
8191
8192 // WARNING: Do not edit - generated code.
8193
8194 interface SVGPathElement extends SVGElement, SVGTests, SVGLangSpace, SVGExternal ResourcesRequired, SVGStylable, SVGTransformable {
8195
8196 final SVGPathSegList animatedNormalizedPathSegList;
8197
8198 final SVGPathSegList animatedPathSegList;
8199
8200 final SVGPathSegList normalizedPathSegList;
8201
8202 final SVGAnimatedNumber pathLength;
8203
8204 final SVGPathSegList pathSegList;
8205
8206 SVGPathSegArcAbs createSVGPathSegArcAbs(num x, num y, num r1, num r2, num angl e, bool largeArcFlag, bool sweepFlag);
8207
8208 SVGPathSegArcRel createSVGPathSegArcRel(num x, num y, num r1, num r2, num angl e, bool largeArcFlag, bool sweepFlag);
8209
8210 SVGPathSegClosePath createSVGPathSegClosePath();
8211
8212 SVGPathSegCurvetoCubicAbs createSVGPathSegCurvetoCubicAbs(num x, num y, num x1 , num y1, num x2, num y2);
8213
8214 SVGPathSegCurvetoCubicRel createSVGPathSegCurvetoCubicRel(num x, num y, num x1 , num y1, num x2, num y2);
8215
8216 SVGPathSegCurvetoCubicSmoothAbs createSVGPathSegCurvetoCubicSmoothAbs(num x, n um y, num x2, num y2);
8217
8218 SVGPathSegCurvetoCubicSmoothRel createSVGPathSegCurvetoCubicSmoothRel(num x, n um y, num x2, num y2);
8219
8220 SVGPathSegCurvetoQuadraticAbs createSVGPathSegCurvetoQuadraticAbs(num x, num y , num x1, num y1);
8221
8222 SVGPathSegCurvetoQuadraticRel createSVGPathSegCurvetoQuadraticRel(num x, num y , num x1, num y1);
8223
8224 SVGPathSegCurvetoQuadraticSmoothAbs createSVGPathSegCurvetoQuadraticSmoothAbs( num x, num y);
8225
8226 SVGPathSegCurvetoQuadraticSmoothRel createSVGPathSegCurvetoQuadraticSmoothRel( num x, num y);
8227
8228 SVGPathSegLinetoAbs createSVGPathSegLinetoAbs(num x, num y);
8229
8230 SVGPathSegLinetoHorizontalAbs createSVGPathSegLinetoHorizontalAbs(num x);
8231
8232 SVGPathSegLinetoHorizontalRel createSVGPathSegLinetoHorizontalRel(num x);
8233
8234 SVGPathSegLinetoRel createSVGPathSegLinetoRel(num x, num y);
8235
8236 SVGPathSegLinetoVerticalAbs createSVGPathSegLinetoVerticalAbs(num y);
8237
8238 SVGPathSegLinetoVerticalRel createSVGPathSegLinetoVerticalRel(num y);
8239
8240 SVGPathSegMovetoAbs createSVGPathSegMovetoAbs(num x, num y);
8241
8242 SVGPathSegMovetoRel createSVGPathSegMovetoRel(num x, num y);
8243
8244 int getPathSegAtLength(num distance);
8245
8246 SVGPoint getPointAtLength(num distance);
8247
8248 num getTotalLength();
8249 }
8250 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8251 // for details. All rights reserved. Use of this source code is governed by a
8252 // BSD-style license that can be found in the LICENSE file.
8253
8254 // WARNING: Do not edit - generated code.
8255
8256 interface SVGPathSeg {
8257
8258 static final int PATHSEG_ARC_ABS = 10;
8259
8260 static final int PATHSEG_ARC_REL = 11;
8261
8262 static final int PATHSEG_CLOSEPATH = 1;
8263
8264 static final int PATHSEG_CURVETO_CUBIC_ABS = 6;
8265
8266 static final int PATHSEG_CURVETO_CUBIC_REL = 7;
8267
8268 static final int PATHSEG_CURVETO_CUBIC_SMOOTH_ABS = 16;
8269
8270 static final int PATHSEG_CURVETO_CUBIC_SMOOTH_REL = 17;
8271
8272 static final int PATHSEG_CURVETO_QUADRATIC_ABS = 8;
8273
8274 static final int PATHSEG_CURVETO_QUADRATIC_REL = 9;
8275
8276 static final int PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS = 18;
8277
8278 static final int PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL = 19;
8279
8280 static final int PATHSEG_LINETO_ABS = 4;
8281
8282 static final int PATHSEG_LINETO_HORIZONTAL_ABS = 12;
8283
8284 static final int PATHSEG_LINETO_HORIZONTAL_REL = 13;
8285
8286 static final int PATHSEG_LINETO_REL = 5;
8287
8288 static final int PATHSEG_LINETO_VERTICAL_ABS = 14;
8289
8290 static final int PATHSEG_LINETO_VERTICAL_REL = 15;
8291
8292 static final int PATHSEG_MOVETO_ABS = 2;
8293
8294 static final int PATHSEG_MOVETO_REL = 3;
8295
8296 static final int PATHSEG_UNKNOWN = 0;
8297
8298 final int pathSegType;
8299
8300 final String pathSegTypeAsLetter;
8301 }
8302 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8303 // for details. All rights reserved. Use of this source code is governed by a
8304 // BSD-style license that can be found in the LICENSE file.
8305
8306 // WARNING: Do not edit - generated code.
8307
8308 interface SVGPathSegArcAbs extends SVGPathSeg {
8309
8310 num angle;
8311
8312 bool largeArcFlag;
8313
8314 num r1;
8315
8316 num r2;
8317
8318 bool sweepFlag;
8319
8320 num x;
8321
8322 num y;
8323 }
8324 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8325 // for details. All rights reserved. Use of this source code is governed by a
8326 // BSD-style license that can be found in the LICENSE file.
8327
8328 // WARNING: Do not edit - generated code.
8329
8330 interface SVGPathSegArcRel extends SVGPathSeg {
8331
8332 num angle;
8333
8334 bool largeArcFlag;
8335
8336 num r1;
8337
8338 num r2;
8339
8340 bool sweepFlag;
8341
8342 num x;
8343
8344 num y;
8345 }
8346 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8347 // for details. All rights reserved. Use of this source code is governed by a
8348 // BSD-style license that can be found in the LICENSE file.
8349
8350 // WARNING: Do not edit - generated code.
8351
8352 interface SVGPathSegClosePath extends SVGPathSeg {
8353 }
8354 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8355 // for details. All rights reserved. Use of this source code is governed by a
8356 // BSD-style license that can be found in the LICENSE file.
8357
8358 // WARNING: Do not edit - generated code.
8359
8360 interface SVGPathSegCurvetoCubicAbs extends SVGPathSeg {
8361
8362 num x;
8363
8364 num x1;
8365
8366 num x2;
8367
8368 num y;
8369
8370 num y1;
8371
8372 num y2;
8373 }
8374 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8375 // for details. All rights reserved. Use of this source code is governed by a
8376 // BSD-style license that can be found in the LICENSE file.
8377
8378 // WARNING: Do not edit - generated code.
8379
8380 interface SVGPathSegCurvetoCubicRel extends SVGPathSeg {
8381
8382 num x;
8383
8384 num x1;
8385
8386 num x2;
8387
8388 num y;
8389
8390 num y1;
8391
8392 num y2;
8393 }
8394 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8395 // for details. All rights reserved. Use of this source code is governed by a
8396 // BSD-style license that can be found in the LICENSE file.
8397
8398 // WARNING: Do not edit - generated code.
8399
8400 interface SVGPathSegCurvetoCubicSmoothAbs extends SVGPathSeg {
8401
8402 num x;
8403
8404 num x2;
8405
8406 num y;
8407
8408 num y2;
8409 }
8410 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8411 // for details. All rights reserved. Use of this source code is governed by a
8412 // BSD-style license that can be found in the LICENSE file.
8413
8414 // WARNING: Do not edit - generated code.
8415
8416 interface SVGPathSegCurvetoCubicSmoothRel extends SVGPathSeg {
8417
8418 num x;
8419
8420 num x2;
8421
8422 num y;
8423
8424 num y2;
8425 }
8426 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8427 // for details. All rights reserved. Use of this source code is governed by a
8428 // BSD-style license that can be found in the LICENSE file.
8429
8430 // WARNING: Do not edit - generated code.
8431
8432 interface SVGPathSegCurvetoQuadraticAbs extends SVGPathSeg {
8433
8434 num x;
8435
8436 num x1;
8437
8438 num y;
8439
8440 num y1;
8441 }
8442 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8443 // for details. All rights reserved. Use of this source code is governed by a
8444 // BSD-style license that can be found in the LICENSE file.
8445
8446 // WARNING: Do not edit - generated code.
8447
8448 interface SVGPathSegCurvetoQuadraticRel extends SVGPathSeg {
8449
8450 num x;
8451
8452 num x1;
8453
8454 num y;
8455
8456 num y1;
8457 }
8458 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8459 // for details. All rights reserved. Use of this source code is governed by a
8460 // BSD-style license that can be found in the LICENSE file.
8461
8462 // WARNING: Do not edit - generated code.
8463
8464 interface SVGPathSegCurvetoQuadraticSmoothAbs extends SVGPathSeg {
8465
8466 num x;
8467
8468 num y;
8469 }
8470 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8471 // for details. All rights reserved. Use of this source code is governed by a
8472 // BSD-style license that can be found in the LICENSE file.
8473
8474 // WARNING: Do not edit - generated code.
8475
8476 interface SVGPathSegCurvetoQuadraticSmoothRel extends SVGPathSeg {
8477
8478 num x;
8479
8480 num y;
8481 }
8482 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8483 // for details. All rights reserved. Use of this source code is governed by a
8484 // BSD-style license that can be found in the LICENSE file.
8485
8486 // WARNING: Do not edit - generated code.
8487
8488 interface SVGPathSegLinetoAbs extends SVGPathSeg {
8489
8490 num x;
8491
8492 num y;
8493 }
8494 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8495 // for details. All rights reserved. Use of this source code is governed by a
8496 // BSD-style license that can be found in the LICENSE file.
8497
8498 // WARNING: Do not edit - generated code.
8499
8500 interface SVGPathSegLinetoHorizontalAbs extends SVGPathSeg {
8501
8502 num x;
8503 }
8504 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8505 // for details. All rights reserved. Use of this source code is governed by a
8506 // BSD-style license that can be found in the LICENSE file.
8507
8508 // WARNING: Do not edit - generated code.
8509
8510 interface SVGPathSegLinetoHorizontalRel extends SVGPathSeg {
8511
8512 num x;
8513 }
8514 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8515 // for details. All rights reserved. Use of this source code is governed by a
8516 // BSD-style license that can be found in the LICENSE file.
8517
8518 // WARNING: Do not edit - generated code.
8519
8520 interface SVGPathSegLinetoRel extends SVGPathSeg {
8521
8522 num x;
8523
8524 num y;
8525 }
8526 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8527 // for details. All rights reserved. Use of this source code is governed by a
8528 // BSD-style license that can be found in the LICENSE file.
8529
8530 // WARNING: Do not edit - generated code.
8531
8532 interface SVGPathSegLinetoVerticalAbs extends SVGPathSeg {
8533
8534 num y;
8535 }
8536 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8537 // for details. All rights reserved. Use of this source code is governed by a
8538 // BSD-style license that can be found in the LICENSE file.
8539
8540 // WARNING: Do not edit - generated code.
8541
8542 interface SVGPathSegLinetoVerticalRel extends SVGPathSeg {
8543
8544 num y;
8545 }
8546 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8547 // for details. All rights reserved. Use of this source code is governed by a
8548 // BSD-style license that can be found in the LICENSE file.
8549
8550 // WARNING: Do not edit - generated code.
8551
8552 interface SVGPathSegList {
8553
8554 final int numberOfItems;
8555
8556 SVGPathSeg appendItem(SVGPathSeg newItem);
8557
8558 void clear();
8559
8560 SVGPathSeg getItem(int index);
8561
8562 SVGPathSeg initialize(SVGPathSeg newItem);
8563
8564 SVGPathSeg insertItemBefore(SVGPathSeg newItem, int index);
8565
8566 SVGPathSeg removeItem(int index);
8567
8568 SVGPathSeg replaceItem(SVGPathSeg newItem, int index);
8569 }
8570 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8571 // for details. All rights reserved. Use of this source code is governed by a
8572 // BSD-style license that can be found in the LICENSE file.
8573
8574 // WARNING: Do not edit - generated code.
8575
8576 interface SVGPathSegMovetoAbs extends SVGPathSeg {
8577
8578 num x;
8579
8580 num y;
8581 }
8582 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8583 // for details. All rights reserved. Use of this source code is governed by a
8584 // BSD-style license that can be found in the LICENSE file.
8585
8586 // WARNING: Do not edit - generated code.
8587
8588 interface SVGPathSegMovetoRel extends SVGPathSeg {
8589
8590 num x;
8591
8592 num y;
8593 }
8594 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8595 // for details. All rights reserved. Use of this source code is governed by a
8596 // BSD-style license that can be found in the LICENSE file.
8597
8598 // WARNING: Do not edit - generated code.
8599
8600 interface SVGPatternElement extends SVGElement, SVGURIReference, SVGTests, SVGLa ngSpace, SVGExternalResourcesRequired, SVGStylable, SVGFitToViewBox {
8601
8602 final SVGAnimatedLength height;
8603
8604 final SVGAnimatedEnumeration patternContentUnits;
8605
8606 final SVGAnimatedTransformList patternTransform;
8607
8608 final SVGAnimatedEnumeration patternUnits;
8609
8610 final SVGAnimatedLength width;
8611
8612 final SVGAnimatedLength x;
8613
8614 final SVGAnimatedLength y;
8615 }
8616 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8617 // for details. All rights reserved. Use of this source code is governed by a
8618 // BSD-style license that can be found in the LICENSE file.
8619
8620 // WARNING: Do not edit - generated code.
8621
8622 interface SVGPoint {
8623
8624 num x;
8625
8626 num y;
8627
8628 SVGPoint matrixTransform(SVGMatrix matrix);
8629 }
8630 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8631 // for details. All rights reserved. Use of this source code is governed by a
8632 // BSD-style license that can be found in the LICENSE file.
8633
8634 // WARNING: Do not edit - generated code.
8635
8636 interface SVGPointList {
8637
8638 final int numberOfItems;
8639
8640 SVGPoint appendItem(SVGPoint item);
8641
8642 void clear();
8643
8644 SVGPoint getItem(int index);
8645
8646 SVGPoint initialize(SVGPoint item);
8647
8648 SVGPoint insertItemBefore(SVGPoint item, int index);
8649
8650 SVGPoint removeItem(int index);
8651
8652 SVGPoint replaceItem(SVGPoint item, int index);
8653 }
8654 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8655 // for details. All rights reserved. Use of this source code is governed by a
8656 // BSD-style license that can be found in the LICENSE file.
8657
8658 // WARNING: Do not edit - generated code.
8659
8660 interface SVGPolygonElement extends SVGElement, SVGTests, SVGLangSpace, SVGExter nalResourcesRequired, SVGStylable, SVGTransformable {
8661
8662 final SVGPointList animatedPoints;
8663
8664 final SVGPointList points;
8665 }
8666 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8667 // for details. All rights reserved. Use of this source code is governed by a
8668 // BSD-style license that can be found in the LICENSE file.
8669
8670 // WARNING: Do not edit - generated code.
8671
8672 interface SVGPolylineElement extends SVGElement, SVGTests, SVGLangSpace, SVGExte rnalResourcesRequired, SVGStylable, SVGTransformable {
8673
8674 final SVGPointList animatedPoints;
8675
8676 final SVGPointList points;
8677 }
8678 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8679 // for details. All rights reserved. Use of this source code is governed by a
8680 // BSD-style license that can be found in the LICENSE file.
8681
8682 // WARNING: Do not edit - generated code.
8683
8684 interface SVGPreserveAspectRatio {
8685
8686 static final int SVG_MEETORSLICE_MEET = 1;
8687
8688 static final int SVG_MEETORSLICE_SLICE = 2;
8689
8690 static final int SVG_MEETORSLICE_UNKNOWN = 0;
8691
8692 static final int SVG_PRESERVEASPECTRATIO_NONE = 1;
8693
8694 static final int SVG_PRESERVEASPECTRATIO_UNKNOWN = 0;
8695
8696 static final int SVG_PRESERVEASPECTRATIO_XMAXYMAX = 10;
8697
8698 static final int SVG_PRESERVEASPECTRATIO_XMAXYMID = 7;
8699
8700 static final int SVG_PRESERVEASPECTRATIO_XMAXYMIN = 4;
8701
8702 static final int SVG_PRESERVEASPECTRATIO_XMIDYMAX = 9;
8703
8704 static final int SVG_PRESERVEASPECTRATIO_XMIDYMID = 6;
8705
8706 static final int SVG_PRESERVEASPECTRATIO_XMIDYMIN = 3;
8707
8708 static final int SVG_PRESERVEASPECTRATIO_XMINYMAX = 8;
8709
8710 static final int SVG_PRESERVEASPECTRATIO_XMINYMID = 5;
8711
8712 static final int SVG_PRESERVEASPECTRATIO_XMINYMIN = 2;
8713
8714 int align;
8715
8716 int meetOrSlice;
8717 }
8718 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8719 // for details. All rights reserved. Use of this source code is governed by a
8720 // BSD-style license that can be found in the LICENSE file.
8721
8722 // WARNING: Do not edit - generated code.
8723
8724 interface SVGRadialGradientElement extends SVGGradientElement {
8725
8726 final SVGAnimatedLength cx;
8727
8728 final SVGAnimatedLength cy;
8729
8730 final SVGAnimatedLength fx;
8731
8732 final SVGAnimatedLength fy;
8733
8734 final SVGAnimatedLength r;
8735 }
8736 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8737 // for details. All rights reserved. Use of this source code is governed by a
8738 // BSD-style license that can be found in the LICENSE file.
8739
8740 // WARNING: Do not edit - generated code.
8741
8742 interface SVGRect {
8743
8744 num height;
8745
8746 num width;
8747
8748 num x;
8749
8750 num y;
8751 }
8752 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8753 // for details. All rights reserved. Use of this source code is governed by a
8754 // BSD-style license that can be found in the LICENSE file.
8755
8756 // WARNING: Do not edit - generated code.
8757
8758 interface SVGRectElement extends SVGElement, SVGTests, SVGLangSpace, SVGExternal ResourcesRequired, SVGStylable, SVGTransformable {
8759
8760 final SVGAnimatedLength height;
8761
8762 final SVGAnimatedLength rx;
8763
8764 final SVGAnimatedLength ry;
8765
8766 final SVGAnimatedLength width;
8767
8768 final SVGAnimatedLength x;
8769
8770 final SVGAnimatedLength y;
8771 }
8772 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8773 // for details. All rights reserved. Use of this source code is governed by a
8774 // BSD-style license that can be found in the LICENSE file.
8775
8776 // WARNING: Do not edit - generated code.
8777
8778 interface SVGRenderingIntent {
8779
8780 static final int RENDERING_INTENT_ABSOLUTE_COLORIMETRIC = 5;
8781
8782 static final int RENDERING_INTENT_AUTO = 1;
8783
8784 static final int RENDERING_INTENT_PERCEPTUAL = 2;
8785
8786 static final int RENDERING_INTENT_RELATIVE_COLORIMETRIC = 3;
8787
8788 static final int RENDERING_INTENT_SATURATION = 4;
8789
8790 static final int RENDERING_INTENT_UNKNOWN = 0;
8791 }
8792 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8793 // for details. All rights reserved. Use of this source code is governed by a
8794 // BSD-style license that can be found in the LICENSE file.
8795
8796 // WARNING: Do not edit - generated code.
8797
8798 interface SVGSVGElement extends SVGElement, SVGTests, SVGLangSpace, SVGExternalR esourcesRequired, SVGStylable, SVGLocatable, SVGFitToViewBox, SVGZoomAndPan {
8799
8800 String contentScriptType;
8801
8802 String contentStyleType;
8803
8804 num currentScale;
8805
8806 final SVGPoint currentTranslate;
8807
8808 final SVGAnimatedLength height;
8809
8810 final num pixelUnitToMillimeterX;
8811
8812 final num pixelUnitToMillimeterY;
8813
8814 final num screenPixelToMillimeterX;
8815
8816 final num screenPixelToMillimeterY;
8817
8818 bool useCurrentView;
8819
8820 final SVGRect viewport;
8821
8822 final SVGAnimatedLength width;
8823
8824 final SVGAnimatedLength x;
8825
8826 final SVGAnimatedLength y;
8827
8828 bool animationsPaused();
8829
8830 bool checkEnclosure(SVGElement element, SVGRect rect);
8831
8832 bool checkIntersection(SVGElement element, SVGRect rect);
8833
8834 SVGAngle createSVGAngle();
8835
8836 SVGLength createSVGLength();
8837
8838 SVGMatrix createSVGMatrix();
8839
8840 SVGNumber createSVGNumber();
8841
8842 SVGPoint createSVGPoint();
8843
8844 SVGRect createSVGRect();
8845
8846 SVGTransform createSVGTransform();
8847
8848 SVGTransform createSVGTransformFromMatrix(SVGMatrix matrix);
8849
8850 void deselectAll();
8851
8852 void forceRedraw();
8853
8854 num getCurrentTime();
8855
8856 Element getElementById(String elementId);
8857
8858 NodeList getEnclosureList(SVGRect rect, SVGElement referenceElement);
8859
8860 NodeList getIntersectionList(SVGRect rect, SVGElement referenceElement);
8861
8862 void pauseAnimations();
8863
8864 void setCurrentTime(num seconds);
8865
8866 int suspendRedraw(int maxWaitMilliseconds);
8867
8868 void unpauseAnimations();
8869
8870 void unsuspendRedraw(int suspendHandleId);
8871
8872 void unsuspendRedrawAll();
8873 }
8874 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8875 // for details. All rights reserved. Use of this source code is governed by a
8876 // BSD-style license that can be found in the LICENSE file.
8877
8878 // WARNING: Do not edit - generated code.
8879
8880 interface SVGScriptElement extends SVGElement, SVGURIReference, SVGExternalResou rcesRequired {
8881
8882 String type;
8883 }
8884 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8885 // for details. All rights reserved. Use of this source code is governed by a
8886 // BSD-style license that can be found in the LICENSE file.
8887
8888 // WARNING: Do not edit - generated code.
8889
8890 interface SVGSetElement extends SVGAnimationElement {
8891 }
8892 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8893 // for details. All rights reserved. Use of this source code is governed by a
8894 // BSD-style license that can be found in the LICENSE file.
8895
8896 // WARNING: Do not edit - generated code.
8897
8898 interface SVGStopElement extends SVGElement, SVGStylable {
8899
8900 final SVGAnimatedNumber offset;
8901 }
8902 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8903 // for details. All rights reserved. Use of this source code is governed by a
8904 // BSD-style license that can be found in the LICENSE file.
8905
8906 // WARNING: Do not edit - generated code.
8907
8908 interface SVGStringList {
8909
8910 final int numberOfItems;
8911
8912 String appendItem(String item);
8913
8914 void clear();
8915
8916 String getItem(int index);
8917
8918 String initialize(String item);
8919
8920 String insertItemBefore(String item, int index);
8921
8922 String removeItem(int index);
8923
8924 String replaceItem(String item, int index);
8925 }
8926 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8927 // for details. All rights reserved. Use of this source code is governed by a
8928 // BSD-style license that can be found in the LICENSE file.
8929
8930 // WARNING: Do not edit - generated code.
8931
8932 interface SVGStylable {
8933
8934 final SVGAnimatedString className;
8935
8936 final CSSStyleDeclaration style;
8937
8938 CSSValue getPresentationAttribute(String name);
8939 }
8940 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8941 // for details. All rights reserved. Use of this source code is governed by a
8942 // BSD-style license that can be found in the LICENSE file.
8943
8944 // WARNING: Do not edit - generated code.
8945
8946 interface SVGStyleElement extends SVGElement, SVGLangSpace {
8947
8948 bool disabled;
8949
8950 String media;
8951
8952 String title;
8953
8954 String type;
8955 }
8956 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8957 // for details. All rights reserved. Use of this source code is governed by a
8958 // BSD-style license that can be found in the LICENSE file.
8959
8960 // WARNING: Do not edit - generated code.
8961
8962 interface SVGSwitchElement extends SVGElement, SVGTests, SVGLangSpace, SVGExtern alResourcesRequired, SVGStylable, SVGTransformable {
8963 }
8964 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8965 // for details. All rights reserved. Use of this source code is governed by a
8966 // BSD-style license that can be found in the LICENSE file.
8967
8968 // WARNING: Do not edit - generated code.
8969
8970 interface SVGSymbolElement extends SVGElement, SVGLangSpace, SVGExternalResource sRequired, SVGStylable, SVGFitToViewBox {
8971 }
8972 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8973 // for details. All rights reserved. Use of this source code is governed by a
8974 // BSD-style license that can be found in the LICENSE file.
8975
8976 // WARNING: Do not edit - generated code.
8977
8978 interface SVGTRefElement extends SVGTextPositioningElement, SVGURIReference {
8979 }
8980 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8981 // for details. All rights reserved. Use of this source code is governed by a
8982 // BSD-style license that can be found in the LICENSE file.
8983
8984 // WARNING: Do not edit - generated code.
8985
8986 interface SVGTSpanElement extends SVGTextPositioningElement {
8987 }
8988 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8989 // for details. All rights reserved. Use of this source code is governed by a
8990 // BSD-style license that can be found in the LICENSE file.
8991
8992 // WARNING: Do not edit - generated code.
8993
8994 interface SVGTests {
8995
8996 final SVGStringList requiredExtensions;
8997
8998 final SVGStringList requiredFeatures;
8999
9000 final SVGStringList systemLanguage;
9001
9002 bool hasExtension(String extension);
9003 }
9004 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9005 // for details. All rights reserved. Use of this source code is governed by a
9006 // BSD-style license that can be found in the LICENSE file.
9007
9008 // WARNING: Do not edit - generated code.
9009
9010 interface SVGTextContentElement extends SVGElement, SVGTests, SVGLangSpace, SVGE xternalResourcesRequired, SVGStylable {
9011
9012 static final int LENGTHADJUST_SPACING = 1;
9013
9014 static final int LENGTHADJUST_SPACINGANDGLYPHS = 2;
9015
9016 static final int LENGTHADJUST_UNKNOWN = 0;
9017
9018 final SVGAnimatedEnumeration lengthAdjust;
9019
9020 final SVGAnimatedLength textLength;
9021
9022 int getCharNumAtPosition(SVGPoint point);
9023
9024 num getComputedTextLength();
9025
9026 SVGPoint getEndPositionOfChar(int offset);
9027
9028 SVGRect getExtentOfChar(int offset);
9029
9030 int getNumberOfChars();
9031
9032 num getRotationOfChar(int offset);
9033
9034 SVGPoint getStartPositionOfChar(int offset);
9035
9036 num getSubStringLength(int offset, int length);
9037
9038 void selectSubString(int offset, int length);
9039 }
9040 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9041 // for details. All rights reserved. Use of this source code is governed by a
9042 // BSD-style license that can be found in the LICENSE file.
9043
9044 // WARNING: Do not edit - generated code.
9045
9046 interface SVGTextElement extends SVGTextPositioningElement, SVGTransformable {
9047 }
9048 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9049 // for details. All rights reserved. Use of this source code is governed by a
9050 // BSD-style license that can be found in the LICENSE file.
9051
9052 // WARNING: Do not edit - generated code.
9053
9054 interface SVGTextPathElement extends SVGTextContentElement, SVGURIReference {
9055
9056 static final int TEXTPATH_METHODTYPE_ALIGN = 1;
9057
9058 static final int TEXTPATH_METHODTYPE_STRETCH = 2;
9059
9060 static final int TEXTPATH_METHODTYPE_UNKNOWN = 0;
9061
9062 static final int TEXTPATH_SPACINGTYPE_AUTO = 1;
9063
9064 static final int TEXTPATH_SPACINGTYPE_EXACT = 2;
9065
9066 static final int TEXTPATH_SPACINGTYPE_UNKNOWN = 0;
9067
9068 final SVGAnimatedEnumeration method;
9069
9070 final SVGAnimatedEnumeration spacing;
9071
9072 final SVGAnimatedLength startOffset;
9073 }
9074 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9075 // for details. All rights reserved. Use of this source code is governed by a
9076 // BSD-style license that can be found in the LICENSE file.
9077
9078 // WARNING: Do not edit - generated code.
9079
9080 interface SVGTextPositioningElement extends SVGTextContentElement {
9081
9082 final SVGAnimatedLengthList dx;
9083
9084 final SVGAnimatedLengthList dy;
9085
9086 final SVGAnimatedNumberList rotate;
9087
9088 final SVGAnimatedLengthList x;
9089
9090 final SVGAnimatedLengthList y;
9091 }
9092 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9093 // for details. All rights reserved. Use of this source code is governed by a
9094 // BSD-style license that can be found in the LICENSE file.
9095
9096 // WARNING: Do not edit - generated code.
9097
9098 interface SVGTitleElement extends SVGElement, SVGLangSpace, SVGStylable {
9099 }
9100 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9101 // for details. All rights reserved. Use of this source code is governed by a
9102 // BSD-style license that can be found in the LICENSE file.
9103
9104 // WARNING: Do not edit - generated code.
9105
9106 interface SVGTransform {
9107
9108 static final int SVG_TRANSFORM_MATRIX = 1;
9109
9110 static final int SVG_TRANSFORM_ROTATE = 4;
9111
9112 static final int SVG_TRANSFORM_SCALE = 3;
9113
9114 static final int SVG_TRANSFORM_SKEWX = 5;
9115
9116 static final int SVG_TRANSFORM_SKEWY = 6;
9117
9118 static final int SVG_TRANSFORM_TRANSLATE = 2;
9119
9120 static final int SVG_TRANSFORM_UNKNOWN = 0;
9121
9122 final num angle;
9123
9124 final SVGMatrix matrix;
9125
9126 final int type;
9127
9128 void setMatrix(SVGMatrix matrix);
9129
9130 void setRotate(num angle, num cx, num cy);
9131
9132 void setScale(num sx, num sy);
9133
9134 void setSkewX(num angle);
9135
9136 void setSkewY(num angle);
9137
9138 void setTranslate(num tx, num ty);
9139 }
9140 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9141 // for details. All rights reserved. Use of this source code is governed by a
9142 // BSD-style license that can be found in the LICENSE file.
9143
9144 // WARNING: Do not edit - generated code.
9145
9146 interface SVGTransformList {
9147
9148 final int numberOfItems;
9149
9150 SVGTransform appendItem(SVGTransform item);
9151
9152 void clear();
9153
9154 SVGTransform consolidate();
9155
9156 SVGTransform createSVGTransformFromMatrix(SVGMatrix matrix);
9157
9158 SVGTransform getItem(int index);
9159
9160 SVGTransform initialize(SVGTransform item);
9161
9162 SVGTransform insertItemBefore(SVGTransform item, int index);
9163
9164 SVGTransform removeItem(int index);
9165
9166 SVGTransform replaceItem(SVGTransform item, int index);
9167 }
9168 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9169 // for details. All rights reserved. Use of this source code is governed by a
9170 // BSD-style license that can be found in the LICENSE file.
9171
9172 // WARNING: Do not edit - generated code.
9173
9174 interface SVGTransformable extends SVGLocatable {
9175
9176 final SVGAnimatedTransformList transform;
9177 }
9178 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9179 // for details. All rights reserved. Use of this source code is governed by a
9180 // BSD-style license that can be found in the LICENSE file.
9181
9182 // WARNING: Do not edit - generated code.
9183
9184 interface SVGURIReference {
9185
9186 final SVGAnimatedString href;
9187 }
9188 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9189 // for details. All rights reserved. Use of this source code is governed by a
9190 // BSD-style license that can be found in the LICENSE file.
9191
9192 // WARNING: Do not edit - generated code.
9193
9194 interface SVGUnitTypes {
9195
9196 static final int SVG_UNIT_TYPE_OBJECTBOUNDINGBOX = 2;
9197
9198 static final int SVG_UNIT_TYPE_UNKNOWN = 0;
9199
9200 static final int SVG_UNIT_TYPE_USERSPACEONUSE = 1;
9201 }
9202 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9203 // for details. All rights reserved. Use of this source code is governed by a
9204 // BSD-style license that can be found in the LICENSE file.
9205
9206 // WARNING: Do not edit - generated code.
9207
9208 interface SVGUseElement extends SVGElement, SVGURIReference, SVGTests, SVGLangSp ace, SVGExternalResourcesRequired, SVGStylable, SVGTransformable {
9209
9210 final SVGElementInstance animatedInstanceRoot;
9211
9212 final SVGAnimatedLength height;
9213
9214 final SVGElementInstance instanceRoot;
9215
9216 final SVGAnimatedLength width;
9217
9218 final SVGAnimatedLength x;
9219
9220 final SVGAnimatedLength y;
9221 }
9222 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9223 // for details. All rights reserved. Use of this source code is governed by a
9224 // BSD-style license that can be found in the LICENSE file.
9225
9226 // WARNING: Do not edit - generated code.
9227
9228 interface SVGVKernElement extends SVGElement {
9229 }
9230 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9231 // for details. All rights reserved. Use of this source code is governed by a
9232 // BSD-style license that can be found in the LICENSE file.
9233
9234 // WARNING: Do not edit - generated code.
9235
9236 interface SVGViewElement extends SVGElement, SVGExternalResourcesRequired, SVGFi tToViewBox, SVGZoomAndPan {
9237
9238 final SVGStringList viewTarget;
9239 }
9240 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9241 // for details. All rights reserved. Use of this source code is governed by a
9242 // BSD-style license that can be found in the LICENSE file.
9243
9244 // WARNING: Do not edit - generated code.
9245
9246 interface SVGViewSpec extends SVGZoomAndPan, SVGFitToViewBox {
9247
9248 final String preserveAspectRatioString;
9249
9250 final SVGTransformList transform;
9251
9252 final String transformString;
9253
9254 final String viewBoxString;
9255
9256 final SVGElement viewTarget;
9257
9258 final String viewTargetString;
9259 }
9260 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9261 // for details. All rights reserved. Use of this source code is governed by a
9262 // BSD-style license that can be found in the LICENSE file.
9263
9264 // WARNING: Do not edit - generated code.
9265
9266 interface SVGZoomAndPan {
9267
9268 static final int SVG_ZOOMANDPAN_DISABLE = 1;
9269
9270 static final int SVG_ZOOMANDPAN_MAGNIFY = 2;
9271
9272 static final int SVG_ZOOMANDPAN_UNKNOWN = 0;
9273
9274 int zoomAndPan;
9275 }
9276 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9277 // for details. All rights reserved. Use of this source code is governed by a
9278 // BSD-style license that can be found in the LICENSE file.
9279
9280 // WARNING: Do not edit - generated code.
9281
9282 interface SVGZoomEvent extends UIEvent {
9283
9284 final num newScale;
9285
9286 final SVGPoint newTranslate;
9287
9288 final num previousScale;
9289
9290 final SVGPoint previousTranslate;
9291
9292 final SVGRect zoomRectScreen;
9293 }
9294 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9295 // for details. All rights reserved. Use of this source code is governed by a
9296 // BSD-style license that can be found in the LICENSE file.
9297
9298 // WARNING: Do not edit - generated code.
9299
9300 interface Screen {
9301
9302 final int availHeight;
9303
9304 final int availLeft;
9305
9306 final int availTop;
9307
9308 final int availWidth;
9309
9310 final int colorDepth;
9311
9312 final int height;
9313
9314 final int pixelDepth;
9315
9316 final int width;
9317 }
9318 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9319 // for details. All rights reserved. Use of this source code is governed by a
9320 // BSD-style license that can be found in the LICENSE file.
9321
9322 // WARNING: Do not edit - generated code.
9323
9324 interface ScriptProfile {
9325
9326 final ScriptProfileNode head;
9327
9328 final String title;
9329
9330 final int uid;
9331 }
9332 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9333 // for details. All rights reserved. Use of this source code is governed by a
9334 // BSD-style license that can be found in the LICENSE file.
9335
9336 // WARNING: Do not edit - generated code.
9337
9338 interface ScriptProfileNode {
9339
9340 final int callUID;
9341
9342 final List children;
9343
9344 final String functionName;
9345
9346 final int lineNumber;
9347
9348 final int numberOfCalls;
9349
9350 final num selfTime;
9351
9352 final num totalTime;
9353
9354 final String url;
9355
9356 final bool visible;
9357 }
9358 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9359 // for details. All rights reserved. Use of this source code is governed by a
9360 // BSD-style license that can be found in the LICENSE file.
9361
9362 // WARNING: Do not edit - generated code.
9363
9364 interface ShadowRoot extends DocumentFragment default _ShadowRootFactoryProvider {
9365
9366 ShadowRoot(Element host);
9367
9368 final Element host;
9369
9370 String innerHTML;
9371
9372 Element getElementById(String elementId);
9373
9374 NodeList getElementsByClassName(String className);
9375
9376 NodeList getElementsByTagName(String tagName);
9377
9378 NodeList getElementsByTagNameNS(String namespaceURI, String localName);
9379 }
9380 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9381 // for details. All rights reserved. Use of this source code is governed by a
9382 // BSD-style license that can be found in the LICENSE file.
9383
9384 // WARNING: Do not edit - generated code.
9385
9386 interface SharedWorker extends AbstractWorker default _SharedWorkerFactoryProvid er {
9387
9388 SharedWorker(String scriptURL, [String name]);
9389
9390 final MessagePort port;
9391 }
9392 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9393 // for details. All rights reserved. Use of this source code is governed by a
9394 // BSD-style license that can be found in the LICENSE file.
9395
9396 // WARNING: Do not edit - generated code.
9397
9398 interface SharedWorkerGlobalScope extends WorkerContext {
9399
9400 final String name;
9401
9402 EventListener onconnect;
9403 }
9404
9405 interface SharedWorkerContext extends SharedWorkerGlobalScope {
9406 }
9407 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
9408 // for details. All rights reserved. Use of this source code is governed by a
9409 // BSD-style license that can be found in the LICENSE file.
9410
9411 // WARNING: Do not edit - generated code.
9412
9413 typedef bool SignalingCallback(String message, PeerConnection source);
9414 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9415 // for details. All rights reserved. Use of this source code is governed by a
9416 // BSD-style license that can be found in the LICENSE file.
9417
9418 // WARNING: Do not edit - generated code.
9419
9420 interface SpeechInputEvent extends Event {
9421
9422 final SpeechInputResultList results;
9423 }
9424 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9425 // for details. All rights reserved. Use of this source code is governed by a
9426 // BSD-style license that can be found in the LICENSE file.
9427
9428 // WARNING: Do not edit - generated code.
9429
9430 interface SpeechInputResult {
9431
9432 final num confidence;
9433
9434 final String utterance;
9435 }
9436 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9437 // for details. All rights reserved. Use of this source code is governed by a
9438 // BSD-style license that can be found in the LICENSE file.
9439
9440 // WARNING: Do not edit - generated code.
9441
9442 interface SpeechInputResultList {
9443
9444 final int length;
9445
9446 SpeechInputResult item(int index);
9447 }
9448 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9449 // for details. All rights reserved. Use of this source code is governed by a
9450 // BSD-style license that can be found in the LICENSE file.
9451
9452 // WARNING: Do not edit - generated code.
9453
9454 interface Storage {
9455
9456 final int length;
9457
9458 void clear();
9459
9460 String getItem(String key);
9461
9462 String key(int index);
9463
9464 void removeItem(String key);
9465
9466 void setItem(String key, String data);
9467 }
9468 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9469 // for details. All rights reserved. Use of this source code is governed by a
9470 // BSD-style license that can be found in the LICENSE file.
9471
9472 // WARNING: Do not edit - generated code.
9473
9474 interface StorageEvent extends Event {
9475
9476 final String key;
9477
9478 final String newValue;
9479
9480 final String oldValue;
9481
9482 final Storage storageArea;
9483
9484 final String url;
9485
9486 void initStorageEvent(String typeArg, bool canBubbleArg, bool cancelableArg, S tring keyArg, String oldValueArg, String newValueArg, String urlArg, Storage sto rageAreaArg);
9487 }
9488 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9489 // for details. All rights reserved. Use of this source code is governed by a
9490 // BSD-style license that can be found in the LICENSE file.
9491
9492 // WARNING: Do not edit - generated code.
9493
9494 interface StorageInfo {
9495
9496 static final int PERSISTENT = 1;
9497
9498 static final int TEMPORARY = 0;
9499
9500 void queryUsageAndQuota(int storageType, [StorageInfoUsageCallback usageCallba ck, StorageInfoErrorCallback errorCallback]);
9501
9502 void requestQuota(int storageType, int newQuotaInBytes, [StorageInfoQuotaCallb ack quotaCallback, StorageInfoErrorCallback errorCallback]);
9503 }
9504 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
9505 // for details. All rights reserved. Use of this source code is governed by a
9506 // BSD-style license that can be found in the LICENSE file.
9507
9508 // WARNING: Do not edit - generated code.
9509
9510 typedef bool StorageInfoErrorCallback(DOMException error);
9511 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
9512 // for details. All rights reserved. Use of this source code is governed by a
9513 // BSD-style license that can be found in the LICENSE file.
9514
9515 // WARNING: Do not edit - generated code.
9516
9517 typedef bool StorageInfoQuotaCallback(int grantedQuotaInBytes);
9518 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
9519 // for details. All rights reserved. Use of this source code is governed by a
9520 // BSD-style license that can be found in the LICENSE file.
9521
9522 // WARNING: Do not edit - generated code.
9523
9524 typedef bool StorageInfoUsageCallback(int currentUsageInBytes, int currentQuotaI nBytes);
9525 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
9526 // for details. All rights reserved. Use of this source code is governed by a
9527 // BSD-style license that can be found in the LICENSE file.
9528
9529 // WARNING: Do not edit - generated code.
9530
9531 typedef bool StringCallback(String data);
9532 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9533 // for details. All rights reserved. Use of this source code is governed by a
9534 // BSD-style license that can be found in the LICENSE file.
9535
9536 // WARNING: Do not edit - generated code.
9537
9538 interface StyleMedia {
9539
9540 final String type;
9541
9542 bool matchMedium(String mediaquery);
9543 }
9544 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9545 // for details. All rights reserved. Use of this source code is governed by a
9546 // BSD-style license that can be found in the LICENSE file.
9547
9548 // WARNING: Do not edit - generated code.
9549
9550 interface StyleSheet {
9551
9552 bool disabled;
9553
9554 final String href;
9555
9556 final MediaList media;
9557
9558 final Node ownerNode;
9559
9560 final StyleSheet parentStyleSheet;
9561
9562 final String title;
9563
9564 final String type;
9565 }
9566 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9567 // for details. All rights reserved. Use of this source code is governed by a
9568 // BSD-style license that can be found in the LICENSE file.
9569
9570 // WARNING: Do not edit - generated code.
9571
9572 interface StyleSheetList extends List<StyleSheet> {
9573
9574 final int length;
9575
9576 StyleSheet item(int index);
9577 }
9578 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9579 // for details. All rights reserved. Use of this source code is governed by a
9580 // BSD-style license that can be found in the LICENSE file.
9581
9582 // WARNING: Do not edit - generated code.
9583
9584 interface Text extends CharacterData {
9585
9586 final String wholeText;
9587
9588 Text replaceWholeText(String content);
9589
9590 Text splitText(int offset);
9591 }
9592 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9593 // for details. All rights reserved. Use of this source code is governed by a
9594 // BSD-style license that can be found in the LICENSE file.
9595
9596 // WARNING: Do not edit - generated code.
9597
9598 interface TextEvent extends UIEvent {
9599
9600 final String data;
9601
9602 void initTextEvent(String typeArg, bool canBubbleArg, bool cancelableArg, DOMW indow viewArg, String dataArg);
9603 }
9604 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9605 // for details. All rights reserved. Use of this source code is governed by a
9606 // BSD-style license that can be found in the LICENSE file.
9607
9608 // WARNING: Do not edit - generated code.
9609
9610 interface TextMetrics {
9611
9612 final num width;
9613 }
9614 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9615 // for details. All rights reserved. Use of this source code is governed by a
9616 // BSD-style license that can be found in the LICENSE file.
9617
9618 // WARNING: Do not edit - generated code.
9619
9620 interface TextTrack {
9621
9622 static final int DISABLED = 0;
9623
9624 static final int HIDDEN = 1;
9625
9626 static final int SHOWING = 2;
9627
9628 final TextTrackCueList activeCues;
9629
9630 final TextTrackCueList cues;
9631
9632 final String kind;
9633
9634 final String label;
9635
9636 final String language;
9637
9638 int mode;
9639
9640 EventListener oncuechange;
9641
9642 void addCue(TextTrackCue cue);
9643
9644 void addEventListener(String type, EventListener listener, [bool useCapture]);
9645
9646 bool dispatchEvent(Event evt);
9647
9648 void removeCue(TextTrackCue cue);
9649
9650 void removeEventListener(String type, EventListener listener, [bool useCapture ]);
9651 }
9652 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9653 // for details. All rights reserved. Use of this source code is governed by a
9654 // BSD-style license that can be found in the LICENSE file.
9655
9656 // WARNING: Do not edit - generated code.
9657
9658 interface TextTrackCue default _TextTrackCueFactoryProvider {
9659
9660 TextTrackCue(String id, num startTime, num endTime, String text, [String setti ngs, bool pauseOnExit]);
9661
9662 String align;
9663
9664 num endTime;
9665
9666 String id;
9667
9668 int line;
9669
9670 EventListener onenter;
9671
9672 EventListener onexit;
9673
9674 bool pauseOnExit;
9675
9676 int position;
9677
9678 int size;
9679
9680 bool snapToLines;
9681
9682 num startTime;
9683
9684 String text;
9685
9686 final TextTrack track;
9687
9688 String vertical;
9689
9690 void addEventListener(String type, EventListener listener, [bool useCapture]);
9691
9692 bool dispatchEvent(Event evt);
9693
9694 DocumentFragment getCueAsHTML();
9695
9696 void removeEventListener(String type, EventListener listener, [bool useCapture ]);
9697 }
9698 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9699 // for details. All rights reserved. Use of this source code is governed by a
9700 // BSD-style license that can be found in the LICENSE file.
9701
9702 // WARNING: Do not edit - generated code.
9703
9704 interface TextTrackCueList {
9705
9706 final int length;
9707
9708 TextTrackCue getCueById(String id);
9709
9710 TextTrackCue item(int index);
9711 }
9712 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9713 // for details. All rights reserved. Use of this source code is governed by a
9714 // BSD-style license that can be found in the LICENSE file.
9715
9716 // WARNING: Do not edit - generated code.
9717
9718 interface TextTrackList {
9719
9720 final int length;
9721
9722 EventListener onaddtrack;
9723
9724 void addEventListener(String type, EventListener listener, [bool useCapture]);
9725
9726 bool dispatchEvent(Event evt);
9727
9728 TextTrack item(int index);
9729
9730 void removeEventListener(String type, EventListener listener, [bool useCapture ]);
9731 }
9732 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9733 // for details. All rights reserved. Use of this source code is governed by a
9734 // BSD-style license that can be found in the LICENSE file.
9735
9736 // WARNING: Do not edit - generated code.
9737
9738 interface TimeRanges {
9739
9740 final int length;
9741
9742 num end(int index);
9743
9744 num start(int index);
9745 }
9746 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9747 // for details. All rights reserved. Use of this source code is governed by a
9748 // BSD-style license that can be found in the LICENSE file.
9749
9750 // WARNING: Do not edit - generated code.
9751
9752 interface Touch {
9753
9754 final int clientX;
9755
9756 final int clientY;
9757
9758 final int identifier;
9759
9760 final int pageX;
9761
9762 final int pageY;
9763
9764 final int screenX;
9765
9766 final int screenY;
9767
9768 final EventTarget target;
9769
9770 final num webkitForce;
9771
9772 final int webkitRadiusX;
9773
9774 final int webkitRadiusY;
9775
9776 final num webkitRotationAngle;
9777 }
9778 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9779 // for details. All rights reserved. Use of this source code is governed by a
9780 // BSD-style license that can be found in the LICENSE file.
9781
9782 // WARNING: Do not edit - generated code.
9783
9784 interface TouchEvent extends UIEvent {
9785
9786 final bool altKey;
9787
9788 final TouchList changedTouches;
9789
9790 final bool ctrlKey;
9791
9792 final bool metaKey;
9793
9794 final bool shiftKey;
9795
9796 final TouchList targetTouches;
9797
9798 final TouchList touches;
9799
9800 void initTouchEvent(TouchList touches, TouchList targetTouches, TouchList chan gedTouches, String type, DOMWindow view, int screenX, int screenY, int clientX, int clientY, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey);
9801 }
9802 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9803 // for details. All rights reserved. Use of this source code is governed by a
9804 // BSD-style license that can be found in the LICENSE file.
9805
9806 // WARNING: Do not edit - generated code.
9807
9808 interface TouchList extends List<Touch> {
9809
9810 final int length;
9811
9812 Touch item(int index);
9813 }
9814 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9815 // for details. All rights reserved. Use of this source code is governed by a
9816 // BSD-style license that can be found in the LICENSE file.
9817
9818 // WARNING: Do not edit - generated code.
9819
9820 interface TrackEvent extends Event {
9821
9822 final Object track;
9823 }
9824 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9825 // for details. All rights reserved. Use of this source code is governed by a
9826 // BSD-style license that can be found in the LICENSE file.
9827
9828 // WARNING: Do not edit - generated code.
9829
9830 interface TreeWalker {
9831
9832 Node currentNode;
9833
9834 final bool expandEntityReferences;
9835
9836 final NodeFilter filter;
9837
9838 final Node root;
9839
9840 final int whatToShow;
9841
9842 Node firstChild();
9843
9844 Node lastChild();
9845
9846 Node nextNode();
9847
9848 Node nextSibling();
9849
9850 Node parentNode();
9851
9852 Node previousNode();
9853
9854 Node previousSibling();
9855 }
9856 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9857 // for details. All rights reserved. Use of this source code is governed by a
9858 // BSD-style license that can be found in the LICENSE file.
9859
9860 // WARNING: Do not edit - generated code.
9861
9862 interface UIEvent extends Event {
9863
9864 final int charCode;
9865
9866 final int detail;
9867
9868 final int keyCode;
9869
9870 final int layerX;
9871
9872 final int layerY;
9873
9874 final int pageX;
9875
9876 final int pageY;
9877
9878 final DOMWindow view;
9879
9880 final int which;
9881
9882 void initUIEvent(String type, bool canBubble, bool cancelable, DOMWindow view, int detail);
9883 }
9884 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9885 // for details. All rights reserved. Use of this source code is governed by a
9886 // BSD-style license that can be found in the LICENSE file.
9887
9888 // WARNING: Do not edit - generated code.
9889
9890 interface Uint16Array extends ArrayBufferView, List<int> default _TypedArrayFact oryProvider {
9891
9892 Uint16Array(int length);
9893
9894 Uint16Array.fromList(List<int> list);
9895
9896 Uint16Array.fromBuffer(ArrayBuffer buffer);
9897
9898 static final int BYTES_PER_ELEMENT = 2;
9899
9900 final int length;
9901
9902 void setElements(Object array, [int offset]);
9903
9904 Uint16Array subarray(int start, [int end]);
9905 }
9906 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9907 // for details. All rights reserved. Use of this source code is governed by a
9908 // BSD-style license that can be found in the LICENSE file.
9909
9910 // WARNING: Do not edit - generated code.
9911
9912 interface Uint32Array extends ArrayBufferView, List<int> default _TypedArrayFact oryProvider {
9913
9914 Uint32Array(int length);
9915
9916 Uint32Array.fromList(List<int> list);
9917
9918 Uint32Array.fromBuffer(ArrayBuffer buffer);
9919
9920 static final int BYTES_PER_ELEMENT = 4;
9921
9922 final int length;
9923
9924 void setElements(Object array, [int offset]);
9925
9926 Uint32Array subarray(int start, [int end]);
9927 }
9928 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9929 // for details. All rights reserved. Use of this source code is governed by a
9930 // BSD-style license that can be found in the LICENSE file.
9931
9932 // WARNING: Do not edit - generated code.
9933
9934 interface Uint8Array extends ArrayBufferView, List<int> default _TypedArrayFacto ryProvider {
9935
9936 Uint8Array(int length);
9937
9938 Uint8Array.fromList(List<int> list);
9939
9940 Uint8Array.fromBuffer(ArrayBuffer buffer);
9941
9942 static final int BYTES_PER_ELEMENT = 1;
9943
9944 final int length;
9945
9946 void setElements(Object array, [int offset]);
9947
9948 Uint8Array subarray(int start, [int end]);
9949 }
9950 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9951 // for details. All rights reserved. Use of this source code is governed by a
9952 // BSD-style license that can be found in the LICENSE file.
9953
9954 // WARNING: Do not edit - generated code.
9955
9956 interface Uint8ClampedArray extends Uint8Array default _TypedArrayFactoryProvide r {
9957
9958 Uint8ClampedArray(int length);
9959
9960 Uint8ClampedArray.fromList(List<int> list);
9961
9962 Uint8ClampedArray.fromBuffer(ArrayBuffer buffer);
9963
9964 final int length;
9965
9966 void setElements(Object array, [int offset]);
9967
9968 Uint8ClampedArray subarray(int start, [int end]);
9969 }
9970 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9971 // for details. All rights reserved. Use of this source code is governed by a
9972 // BSD-style license that can be found in the LICENSE file.
9973
9974 // WARNING: Do not edit - generated code.
9975
9976 interface ValidityState {
9977
9978 final bool customError;
9979
9980 final bool patternMismatch;
9981
9982 final bool rangeOverflow;
9983
9984 final bool rangeUnderflow;
9985
9986 final bool stepMismatch;
9987
9988 final bool tooLong;
9989
9990 final bool typeMismatch;
9991
9992 final bool valid;
9993
9994 final bool valueMissing;
9995 }
9996 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
9997 // for details. All rights reserved. Use of this source code is governed by a
9998 // BSD-style license that can be found in the LICENSE file.
9999
10000 // WARNING: Do not edit - generated code.
10001
10002 typedef void VoidCallback();
10003 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
10004 // for details. All rights reserved. Use of this source code is governed by a
10005 // BSD-style license that can be found in the LICENSE file.
10006
10007 // WARNING: Do not edit - generated code.
10008
10009 interface WaveShaperNode extends AudioNode {
10010
10011 Float32Array curve;
10012 }
10013 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
10014 // for details. All rights reserved. Use of this source code is governed by a
10015 // BSD-style license that can be found in the LICENSE file.
10016
10017 // WARNING: Do not edit - generated code.
10018
10019 interface WebGLActiveInfo {
10020
10021 final String name;
10022
10023 final int size;
10024
10025 final int type;
10026 }
10027 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
10028 // for details. All rights reserved. Use of this source code is governed by a
10029 // BSD-style license that can be found in the LICENSE file.
10030
10031 // WARNING: Do not edit - generated code.
10032
10033 interface WebGLBuffer {
10034 }
10035 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
10036 // for details. All rights reserved. Use of this source code is governed by a
10037 // BSD-style license that can be found in the LICENSE file.
10038
10039 // WARNING: Do not edit - generated code.
10040
10041 interface WebGLCompressedTextureS3TC {
10042
10043 static final int COMPRESSED_RGBA_S3TC_DXT1_EXT = 0x83F1;
10044
10045 static final int COMPRESSED_RGBA_S3TC_DXT3_EXT = 0x83F2;
10046
10047 static final int COMPRESSED_RGBA_S3TC_DXT5_EXT = 0x83F3;
10048
10049 static final int COMPRESSED_RGB_S3TC_DXT1_EXT = 0x83F0;
10050 }
10051 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
10052 // for details. All rights reserved. Use of this source code is governed by a
10053 // BSD-style license that can be found in the LICENSE file.
10054
10055 // WARNING: Do not edit - generated code.
10056
10057 interface WebGLContextAttributes {
10058
10059 bool alpha;
10060
10061 bool antialias;
10062
10063 bool depth;
10064
10065 bool premultipliedAlpha;
10066
10067 bool preserveDrawingBuffer;
10068
10069 bool stencil;
10070 }
10071 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
10072 // for details. All rights reserved. Use of this source code is governed by a
10073 // BSD-style license that can be found in the LICENSE file.
10074
10075 // WARNING: Do not edit - generated code.
10076
10077 interface WebGLContextEvent extends Event {
10078
10079 final String statusMessage;
10080 }
10081 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
10082 // for details. All rights reserved. Use of this source code is governed by a
10083 // BSD-style license that can be found in the LICENSE file.
10084
10085 // WARNING: Do not edit - generated code.
10086
10087 interface WebGLDebugRendererInfo {
10088
10089 static final int UNMASKED_RENDERER_WEBGL = 0x9246;
10090
10091 static final int UNMASKED_VENDOR_WEBGL = 0x9245;
10092 }
10093 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
10094 // for details. All rights reserved. Use of this source code is governed by a
10095 // BSD-style license that can be found in the LICENSE file.
10096
10097 // WARNING: Do not edit - generated code.
10098
10099 interface WebGLDebugShaders {
10100
10101 String getTranslatedShaderSource(WebGLShader shader);
10102 }
10103 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
10104 // for details. All rights reserved. Use of this source code is governed by a
10105 // BSD-style license that can be found in the LICENSE file.
10106
10107 // WARNING: Do not edit - generated code.
10108
10109 interface WebGLFramebuffer {
10110 }
10111 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
10112 // for details. All rights reserved. Use of this source code is governed by a
10113 // BSD-style license that can be found in the LICENSE file.
10114
10115 // WARNING: Do not edit - generated code.
10116
10117 interface WebGLLoseContext {
10118
10119 void loseContext();
10120
10121 void restoreContext();
10122 }
10123 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
10124 // for details. All rights reserved. Use of this source code is governed by a
10125 // BSD-style license that can be found in the LICENSE file.
10126
10127 // WARNING: Do not edit - generated code.
10128
10129 interface WebGLProgram {
10130 }
10131 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
10132 // for details. All rights reserved. Use of this source code is governed by a
10133 // BSD-style license that can be found in the LICENSE file.
10134
10135 // WARNING: Do not edit - generated code.
10136
10137 interface WebGLRenderbuffer {
10138 }
10139 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
10140 // for details. All rights reserved. Use of this source code is governed by a
10141 // BSD-style license that can be found in the LICENSE file.
10142
10143 // WARNING: Do not edit - generated code.
10144
10145 interface WebGLRenderingContext extends CanvasRenderingContext {
10146
10147 static final int ACTIVE_ATTRIBUTES = 0x8B89;
10148
10149 static final int ACTIVE_TEXTURE = 0x84E0;
10150
10151 static final int ACTIVE_UNIFORMS = 0x8B86;
10152
10153 static final int ALIASED_LINE_WIDTH_RANGE = 0x846E;
10154
10155 static final int ALIASED_POINT_SIZE_RANGE = 0x846D;
10156
10157 static final int ALPHA = 0x1906;
10158
10159 static final int ALPHA_BITS = 0x0D55;
10160
10161 static final int ALWAYS = 0x0207;
10162
10163 static final int ARRAY_BUFFER = 0x8892;
10164
10165 static final int ARRAY_BUFFER_BINDING = 0x8894;
10166
10167 static final int ATTACHED_SHADERS = 0x8B85;
10168
10169 static final int BACK = 0x0405;
10170
10171 static final int BLEND = 0x0BE2;
10172
10173 static final int BLEND_COLOR = 0x8005;
10174
10175 static final int BLEND_DST_ALPHA = 0x80CA;
10176
10177 static final int BLEND_DST_RGB = 0x80C8;
10178
10179 static final int BLEND_EQUATION = 0x8009;
10180
10181 static final int BLEND_EQUATION_ALPHA = 0x883D;
10182
10183 static final int BLEND_EQUATION_RGB = 0x8009;
10184
10185 static final int BLEND_SRC_ALPHA = 0x80CB;
10186
10187 static final int BLEND_SRC_RGB = 0x80C9;
10188
10189 static final int BLUE_BITS = 0x0D54;
10190
10191 static final int BOOL = 0x8B56;
10192
10193 static final int BOOL_VEC2 = 0x8B57;
10194
10195 static final int BOOL_VEC3 = 0x8B58;
10196
10197 static final int BOOL_VEC4 = 0x8B59;
10198
10199 static final int BROWSER_DEFAULT_WEBGL = 0x9244;
10200
10201 static final int BUFFER_SIZE = 0x8764;
10202
10203 static final int BUFFER_USAGE = 0x8765;
10204
10205 static final int BYTE = 0x1400;
10206
10207 static final int CCW = 0x0901;
10208
10209 static final int CLAMP_TO_EDGE = 0x812F;
10210
10211 static final int COLOR_ATTACHMENT0 = 0x8CE0;
10212
10213 static final int COLOR_BUFFER_BIT = 0x00004000;
10214
10215 static final int COLOR_CLEAR_VALUE = 0x0C22;
10216
10217 static final int COLOR_WRITEMASK = 0x0C23;
10218
10219 static final int COMPILE_STATUS = 0x8B81;
10220
10221 static final int COMPRESSED_TEXTURE_FORMATS = 0x86A3;
10222
10223 static final int CONSTANT_ALPHA = 0x8003;
10224
10225 static final int CONSTANT_COLOR = 0x8001;
10226
10227 static final int CONTEXT_LOST_WEBGL = 0x9242;
10228
10229 static final int CULL_FACE = 0x0B44;
10230
10231 static final int CULL_FACE_MODE = 0x0B45;
10232
10233 static final int CURRENT_PROGRAM = 0x8B8D;
10234
10235 static final int CURRENT_VERTEX_ATTRIB = 0x8626;
10236
10237 static final int CW = 0x0900;
10238
10239 static final int DECR = 0x1E03;
10240
10241 static final int DECR_WRAP = 0x8508;
10242
10243 static final int DELETE_STATUS = 0x8B80;
10244
10245 static final int DEPTH_ATTACHMENT = 0x8D00;
10246
10247 static final int DEPTH_BITS = 0x0D56;
10248
10249 static final int DEPTH_BUFFER_BIT = 0x00000100;
10250
10251 static final int DEPTH_CLEAR_VALUE = 0x0B73;
10252
10253 static final int DEPTH_COMPONENT = 0x1902;
10254
10255 static final int DEPTH_COMPONENT16 = 0x81A5;
10256
10257 static final int DEPTH_FUNC = 0x0B74;
10258
10259 static final int DEPTH_RANGE = 0x0B70;
10260
10261 static final int DEPTH_STENCIL = 0x84F9;
10262
10263 static final int DEPTH_STENCIL_ATTACHMENT = 0x821A;
10264
10265 static final int DEPTH_TEST = 0x0B71;
10266
10267 static final int DEPTH_WRITEMASK = 0x0B72;
10268
10269 static final int DITHER = 0x0BD0;
10270
10271 static final int DONT_CARE = 0x1100;
10272
10273 static final int DST_ALPHA = 0x0304;
10274
10275 static final int DST_COLOR = 0x0306;
10276
10277 static final int DYNAMIC_DRAW = 0x88E8;
10278
10279 static final int ELEMENT_ARRAY_BUFFER = 0x8893;
10280
10281 static final int ELEMENT_ARRAY_BUFFER_BINDING = 0x8895;
10282
10283 static final int EQUAL = 0x0202;
10284
10285 static final int FASTEST = 0x1101;
10286
10287 static final int FLOAT = 0x1406;
10288
10289 static final int FLOAT_MAT2 = 0x8B5A;
10290
10291 static final int FLOAT_MAT3 = 0x8B5B;
10292
10293 static final int FLOAT_MAT4 = 0x8B5C;
10294
10295 static final int FLOAT_VEC2 = 0x8B50;
10296
10297 static final int FLOAT_VEC3 = 0x8B51;
10298
10299 static final int FLOAT_VEC4 = 0x8B52;
10300
10301 static final int FRAGMENT_SHADER = 0x8B30;
10302
10303 static final int FRAMEBUFFER = 0x8D40;
10304
10305 static final int FRAMEBUFFER_ATTACHMENT_OBJECT_NAME = 0x8CD1;
10306
10307 static final int FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE = 0x8CD0;
10308
10309 static final int FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE = 0x8CD3;
10310
10311 static final int FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL = 0x8CD2;
10312
10313 static final int FRAMEBUFFER_BINDING = 0x8CA6;
10314
10315 static final int FRAMEBUFFER_COMPLETE = 0x8CD5;
10316
10317 static final int FRAMEBUFFER_INCOMPLETE_ATTACHMENT = 0x8CD6;
10318
10319 static final int FRAMEBUFFER_INCOMPLETE_DIMENSIONS = 0x8CD9;
10320
10321 static final int FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT = 0x8CD7;
10322
10323 static final int FRAMEBUFFER_UNSUPPORTED = 0x8CDD;
10324
10325 static final int FRONT = 0x0404;
10326
10327 static final int FRONT_AND_BACK = 0x0408;
10328
10329 static final int FRONT_FACE = 0x0B46;
10330
10331 static final int FUNC_ADD = 0x8006;
10332
10333 static final int FUNC_REVERSE_SUBTRACT = 0x800B;
10334
10335 static final int FUNC_SUBTRACT = 0x800A;
10336
10337 static final int GENERATE_MIPMAP_HINT = 0x8192;
10338
10339 static final int GEQUAL = 0x0206;
10340
10341 static final int GREATER = 0x0204;
10342
10343 static final int GREEN_BITS = 0x0D53;
10344
10345 static final int HIGH_FLOAT = 0x8DF2;
10346
10347 static final int HIGH_INT = 0x8DF5;
10348
10349 static final int INCR = 0x1E02;
10350
10351 static final int INCR_WRAP = 0x8507;
10352
10353 static final int INT = 0x1404;
10354
10355 static final int INT_VEC2 = 0x8B53;
10356
10357 static final int INT_VEC3 = 0x8B54;
10358
10359 static final int INT_VEC4 = 0x8B55;
10360
10361 static final int INVALID_ENUM = 0x0500;
10362
10363 static final int INVALID_FRAMEBUFFER_OPERATION = 0x0506;
10364
10365 static final int INVALID_OPERATION = 0x0502;
10366
10367 static final int INVALID_VALUE = 0x0501;
10368
10369 static final int INVERT = 0x150A;
10370
10371 static final int KEEP = 0x1E00;
10372
10373 static final int LEQUAL = 0x0203;
10374
10375 static final int LESS = 0x0201;
10376
10377 static final int LINEAR = 0x2601;
10378
10379 static final int LINEAR_MIPMAP_LINEAR = 0x2703;
10380
10381 static final int LINEAR_MIPMAP_NEAREST = 0x2701;
10382
10383 static final int LINES = 0x0001;
10384
10385 static final int LINE_LOOP = 0x0002;
10386
10387 static final int LINE_STRIP = 0x0003;
10388
10389 static final int LINE_WIDTH = 0x0B21;
10390
10391 static final int LINK_STATUS = 0x8B82;
10392
10393 static final int LOW_FLOAT = 0x8DF0;
10394
10395 static final int LOW_INT = 0x8DF3;
10396
10397 static final int LUMINANCE = 0x1909;
10398
10399 static final int LUMINANCE_ALPHA = 0x190A;
10400
10401 static final int MAX_COMBINED_TEXTURE_IMAGE_UNITS = 0x8B4D;
10402
10403 static final int MAX_CUBE_MAP_TEXTURE_SIZE = 0x851C;
10404
10405 static final int MAX_FRAGMENT_UNIFORM_VECTORS = 0x8DFD;
10406
10407 static final int MAX_RENDERBUFFER_SIZE = 0x84E8;
10408
10409 static final int MAX_TEXTURE_IMAGE_UNITS = 0x8872;
10410
10411 static final int MAX_TEXTURE_SIZE = 0x0D33;
10412
10413 static final int MAX_VARYING_VECTORS = 0x8DFC;
10414
10415 static final int MAX_VERTEX_ATTRIBS = 0x8869;
10416
10417 static final int MAX_VERTEX_TEXTURE_IMAGE_UNITS = 0x8B4C;
10418
10419 static final int MAX_VERTEX_UNIFORM_VECTORS = 0x8DFB;
10420
10421 static final int MAX_VIEWPORT_DIMS = 0x0D3A;
10422
10423 static final int MEDIUM_FLOAT = 0x8DF1;
10424
10425 static final int MEDIUM_INT = 0x8DF4;
10426
10427 static final int MIRRORED_REPEAT = 0x8370;
10428
10429 static final int NEAREST = 0x2600;
10430
10431 static final int NEAREST_MIPMAP_LINEAR = 0x2702;
10432
10433 static final int NEAREST_MIPMAP_NEAREST = 0x2700;
10434
10435 static final int NEVER = 0x0200;
10436
10437 static final int NICEST = 0x1102;
10438
10439 static final int NONE = 0;
10440
10441 static final int NOTEQUAL = 0x0205;
10442
10443 static final int NO_ERROR = 0;
10444
10445 static final int ONE = 1;
10446
10447 static final int ONE_MINUS_CONSTANT_ALPHA = 0x8004;
10448
10449 static final int ONE_MINUS_CONSTANT_COLOR = 0x8002;
10450
10451 static final int ONE_MINUS_DST_ALPHA = 0x0305;
10452
10453 static final int ONE_MINUS_DST_COLOR = 0x0307;
10454
10455 static final int ONE_MINUS_SRC_ALPHA = 0x0303;
10456
10457 static final int ONE_MINUS_SRC_COLOR = 0x0301;
10458
10459 static final int OUT_OF_MEMORY = 0x0505;
10460
10461 static final int PACK_ALIGNMENT = 0x0D05;
10462
10463 static final int POINTS = 0x0000;
10464
10465 static final int POLYGON_OFFSET_FACTOR = 0x8038;
10466
10467 static final int POLYGON_OFFSET_FILL = 0x8037;
10468
10469 static final int POLYGON_OFFSET_UNITS = 0x2A00;
10470
10471 static final int RED_BITS = 0x0D52;
10472
10473 static final int RENDERBUFFER = 0x8D41;
10474
10475 static final int RENDERBUFFER_ALPHA_SIZE = 0x8D53;
10476
10477 static final int RENDERBUFFER_BINDING = 0x8CA7;
10478
10479 static final int RENDERBUFFER_BLUE_SIZE = 0x8D52;
10480
10481 static final int RENDERBUFFER_DEPTH_SIZE = 0x8D54;
10482
10483 static final int RENDERBUFFER_GREEN_SIZE = 0x8D51;
10484
10485 static final int RENDERBUFFER_HEIGHT = 0x8D43;
10486
10487 static final int RENDERBUFFER_INTERNAL_FORMAT = 0x8D44;
10488
10489 static final int RENDERBUFFER_RED_SIZE = 0x8D50;
10490
10491 static final int RENDERBUFFER_STENCIL_SIZE = 0x8D55;
10492
10493 static final int RENDERBUFFER_WIDTH = 0x8D42;
10494
10495 static final int RENDERER = 0x1F01;
10496
10497 static final int REPEAT = 0x2901;
10498
10499 static final int REPLACE = 0x1E01;
10500
10501 static final int RGB = 0x1907;
10502
10503 static final int RGB565 = 0x8D62;
10504
10505 static final int RGB5_A1 = 0x8057;
10506
10507 static final int RGBA = 0x1908;
10508
10509 static final int RGBA4 = 0x8056;
10510
10511 static final int SAMPLER_2D = 0x8B5E;
10512
10513 static final int SAMPLER_CUBE = 0x8B60;
10514
10515 static final int SAMPLES = 0x80A9;
10516
10517 static final int SAMPLE_ALPHA_TO_COVERAGE = 0x809E;
10518
10519 static final int SAMPLE_BUFFERS = 0x80A8;
10520
10521 static final int SAMPLE_COVERAGE = 0x80A0;
10522
10523 static final int SAMPLE_COVERAGE_INVERT = 0x80AB;
10524
10525 static final int SAMPLE_COVERAGE_VALUE = 0x80AA;
10526
10527 static final int SCISSOR_BOX = 0x0C10;
10528
10529 static final int SCISSOR_TEST = 0x0C11;
10530
10531 static final int SHADER_COMPILER = 0x8DFA;
10532
10533 static final int SHADER_TYPE = 0x8B4F;
10534
10535 static final int SHADING_LANGUAGE_VERSION = 0x8B8C;
10536
10537 static final int SHORT = 0x1402;
10538
10539 static final int SRC_ALPHA = 0x0302;
10540
10541 static final int SRC_ALPHA_SATURATE = 0x0308;
10542
10543 static final int SRC_COLOR = 0x0300;
10544
10545 static final int STATIC_DRAW = 0x88E4;
10546
10547 static final int STENCIL_ATTACHMENT = 0x8D20;
10548
10549 static final int STENCIL_BACK_FAIL = 0x8801;
10550
10551 static final int STENCIL_BACK_FUNC = 0x8800;
10552
10553 static final int STENCIL_BACK_PASS_DEPTH_FAIL = 0x8802;
10554
10555 static final int STENCIL_BACK_PASS_DEPTH_PASS = 0x8803;
10556
10557 static final int STENCIL_BACK_REF = 0x8CA3;
10558
10559 static final int STENCIL_BACK_VALUE_MASK = 0x8CA4;
10560
10561 static final int STENCIL_BACK_WRITEMASK = 0x8CA5;
10562
10563 static final int STENCIL_BITS = 0x0D57;
10564
10565 static final int STENCIL_BUFFER_BIT = 0x00000400;
10566
10567 static final int STENCIL_CLEAR_VALUE = 0x0B91;
10568
10569 static final int STENCIL_FAIL = 0x0B94;
10570
10571 static final int STENCIL_FUNC = 0x0B92;
10572
10573 static final int STENCIL_INDEX = 0x1901;
10574
10575 static final int STENCIL_INDEX8 = 0x8D48;
10576
10577 static final int STENCIL_PASS_DEPTH_FAIL = 0x0B95;
10578
10579 static final int STENCIL_PASS_DEPTH_PASS = 0x0B96;
10580
10581 static final int STENCIL_REF = 0x0B97;
10582
10583 static final int STENCIL_TEST = 0x0B90;
10584
10585 static final int STENCIL_VALUE_MASK = 0x0B93;
10586
10587 static final int STENCIL_WRITEMASK = 0x0B98;
10588
10589 static final int STREAM_DRAW = 0x88E0;
10590
10591 static final int SUBPIXEL_BITS = 0x0D50;
10592
10593 static final int TEXTURE = 0x1702;
10594
10595 static final int TEXTURE0 = 0x84C0;
10596
10597 static final int TEXTURE1 = 0x84C1;
10598
10599 static final int TEXTURE10 = 0x84CA;
10600
10601 static final int TEXTURE11 = 0x84CB;
10602
10603 static final int TEXTURE12 = 0x84CC;
10604
10605 static final int TEXTURE13 = 0x84CD;
10606
10607 static final int TEXTURE14 = 0x84CE;
10608
10609 static final int TEXTURE15 = 0x84CF;
10610
10611 static final int TEXTURE16 = 0x84D0;
10612
10613 static final int TEXTURE17 = 0x84D1;
10614
10615 static final int TEXTURE18 = 0x84D2;
10616
10617 static final int TEXTURE19 = 0x84D3;
10618
10619 static final int TEXTURE2 = 0x84C2;
10620
10621 static final int TEXTURE20 = 0x84D4;
10622
10623 static final int TEXTURE21 = 0x84D5;
10624
10625 static final int TEXTURE22 = 0x84D6;
10626
10627 static final int TEXTURE23 = 0x84D7;
10628
10629 static final int TEXTURE24 = 0x84D8;
10630
10631 static final int TEXTURE25 = 0x84D9;
10632
10633 static final int TEXTURE26 = 0x84DA;
10634
10635 static final int TEXTURE27 = 0x84DB;
10636
10637 static final int TEXTURE28 = 0x84DC;
10638
10639 static final int TEXTURE29 = 0x84DD;
10640
10641 static final int TEXTURE3 = 0x84C3;
10642
10643 static final int TEXTURE30 = 0x84DE;
10644
10645 static final int TEXTURE31 = 0x84DF;
10646
10647 static final int TEXTURE4 = 0x84C4;
10648
10649 static final int TEXTURE5 = 0x84C5;
10650
10651 static final int TEXTURE6 = 0x84C6;
10652
10653 static final int TEXTURE7 = 0x84C7;
10654
10655 static final int TEXTURE8 = 0x84C8;
10656
10657 static final int TEXTURE9 = 0x84C9;
10658
10659 static final int TEXTURE_2D = 0x0DE1;
10660
10661 static final int TEXTURE_BINDING_2D = 0x8069;
10662
10663 static final int TEXTURE_BINDING_CUBE_MAP = 0x8514;
10664
10665 static final int TEXTURE_CUBE_MAP = 0x8513;
10666
10667 static final int TEXTURE_CUBE_MAP_NEGATIVE_X = 0x8516;
10668
10669 static final int TEXTURE_CUBE_MAP_NEGATIVE_Y = 0x8518;
10670
10671 static final int TEXTURE_CUBE_MAP_NEGATIVE_Z = 0x851A;
10672
10673 static final int TEXTURE_CUBE_MAP_POSITIVE_X = 0x8515;
10674
10675 static final int TEXTURE_CUBE_MAP_POSITIVE_Y = 0x8517;
10676
10677 static final int TEXTURE_CUBE_MAP_POSITIVE_Z = 0x8519;
10678
10679 static final int TEXTURE_MAG_FILTER = 0x2800;
10680
10681 static final int TEXTURE_MIN_FILTER = 0x2801;
10682
10683 static final int TEXTURE_WRAP_S = 0x2802;
10684
10685 static final int TEXTURE_WRAP_T = 0x2803;
10686
10687 static final int TRIANGLES = 0x0004;
10688
10689 static final int TRIANGLE_FAN = 0x0006;
10690
10691 static final int TRIANGLE_STRIP = 0x0005;
10692
10693 static final int UNPACK_ALIGNMENT = 0x0CF5;
10694
10695 static final int UNPACK_COLORSPACE_CONVERSION_WEBGL = 0x9243;
10696
10697 static final int UNPACK_FLIP_Y_WEBGL = 0x9240;
10698
10699 static final int UNPACK_PREMULTIPLY_ALPHA_WEBGL = 0x9241;
10700
10701 static final int UNSIGNED_BYTE = 0x1401;
10702
10703 static final int UNSIGNED_INT = 0x1405;
10704
10705 static final int UNSIGNED_SHORT = 0x1403;
10706
10707 static final int UNSIGNED_SHORT_4_4_4_4 = 0x8033;
10708
10709 static final int UNSIGNED_SHORT_5_5_5_1 = 0x8034;
10710
10711 static final int UNSIGNED_SHORT_5_6_5 = 0x8363;
10712
10713 static final int VALIDATE_STATUS = 0x8B83;
10714
10715 static final int VENDOR = 0x1F00;
10716
10717 static final int VERSION = 0x1F02;
10718
10719 static final int VERTEX_ATTRIB_ARRAY_BUFFER_BINDING = 0x889F;
10720
10721 static final int VERTEX_ATTRIB_ARRAY_ENABLED = 0x8622;
10722
10723 static final int VERTEX_ATTRIB_ARRAY_NORMALIZED = 0x886A;
10724
10725 static final int VERTEX_ATTRIB_ARRAY_POINTER = 0x8645;
10726
10727 static final int VERTEX_ATTRIB_ARRAY_SIZE = 0x8623;
10728
10729 static final int VERTEX_ATTRIB_ARRAY_STRIDE = 0x8624;
10730
10731 static final int VERTEX_ATTRIB_ARRAY_TYPE = 0x8625;
10732
10733 static final int VERTEX_SHADER = 0x8B31;
10734
10735 static final int VIEWPORT = 0x0BA2;
10736
10737 static final int ZERO = 0;
10738
10739 final int drawingBufferHeight;
10740
10741 final int drawingBufferWidth;
10742
10743 void activeTexture(int texture);
10744
10745 void attachShader(WebGLProgram program, WebGLShader shader);
10746
10747 void bindAttribLocation(WebGLProgram program, int index, String name);
10748
10749 void bindBuffer(int target, WebGLBuffer buffer);
10750
10751 void bindFramebuffer(int target, WebGLFramebuffer framebuffer);
10752
10753 void bindRenderbuffer(int target, WebGLRenderbuffer renderbuffer);
10754
10755 void bindTexture(int target, WebGLTexture texture);
10756
10757 void blendColor(num red, num green, num blue, num alpha);
10758
10759 void blendEquation(int mode);
10760
10761 void blendEquationSeparate(int modeRGB, int modeAlpha);
10762
10763 void blendFunc(int sfactor, int dfactor);
10764
10765 void blendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha);
10766
10767 void bufferData(int target, var data_OR_size, int usage);
10768
10769 void bufferSubData(int target, int offset, var data);
10770
10771 int checkFramebufferStatus(int target);
10772
10773 void clear(int mask);
10774
10775 void clearColor(num red, num green, num blue, num alpha);
10776
10777 void clearDepth(num depth);
10778
10779 void clearStencil(int s);
10780
10781 void colorMask(bool red, bool green, bool blue, bool alpha);
10782
10783 void compileShader(WebGLShader shader);
10784
10785 void compressedTexImage2D(int target, int level, int internalformat, int width , int height, int border, ArrayBufferView data);
10786
10787 void compressedTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, ArrayBufferView data);
10788
10789 void copyTexImage2D(int target, int level, int internalformat, int x, int y, i nt width, int height, int border);
10790
10791 void copyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x, int y, int width, int height);
10792
10793 WebGLBuffer createBuffer();
10794
10795 WebGLFramebuffer createFramebuffer();
10796
10797 WebGLProgram createProgram();
10798
10799 WebGLRenderbuffer createRenderbuffer();
10800
10801 WebGLShader createShader(int type);
10802
10803 WebGLTexture createTexture();
10804
10805 void cullFace(int mode);
10806
10807 void deleteBuffer(WebGLBuffer buffer);
10808
10809 void deleteFramebuffer(WebGLFramebuffer framebuffer);
10810
10811 void deleteProgram(WebGLProgram program);
10812
10813 void deleteRenderbuffer(WebGLRenderbuffer renderbuffer);
10814
10815 void deleteShader(WebGLShader shader);
10816
10817 void deleteTexture(WebGLTexture texture);
10818
10819 void depthFunc(int func);
10820
10821 void depthMask(bool flag);
10822
10823 void depthRange(num zNear, num zFar);
10824
10825 void detachShader(WebGLProgram program, WebGLShader shader);
10826
10827 void disable(int cap);
10828
10829 void disableVertexAttribArray(int index);
10830
10831 void drawArrays(int mode, int first, int count);
10832
10833 void drawElements(int mode, int count, int type, int offset);
10834
10835 void enable(int cap);
10836
10837 void enableVertexAttribArray(int index);
10838
10839 void finish();
10840
10841 void flush();
10842
10843 void framebufferRenderbuffer(int target, int attachment, int renderbuffertarge t, WebGLRenderbuffer renderbuffer);
10844
10845 void framebufferTexture2D(int target, int attachment, int textarget, WebGLText ure texture, int level);
10846
10847 void frontFace(int mode);
10848
10849 void generateMipmap(int target);
10850
10851 WebGLActiveInfo getActiveAttrib(WebGLProgram program, int index);
10852
10853 WebGLActiveInfo getActiveUniform(WebGLProgram program, int index);
10854
10855 List getAttachedShaders(WebGLProgram program);
10856
10857 int getAttribLocation(WebGLProgram program, String name);
10858
10859 Object getBufferParameter(int target, int pname);
10860
10861 WebGLContextAttributes getContextAttributes();
10862
10863 int getError();
10864
10865 Object getExtension(String name);
10866
10867 Object getFramebufferAttachmentParameter(int target, int attachment, int pname );
10868
10869 Object getParameter(int pname);
10870
10871 String getProgramInfoLog(WebGLProgram program);
10872
10873 Object getProgramParameter(WebGLProgram program, int pname);
10874
10875 Object getRenderbufferParameter(int target, int pname);
10876
10877 String getShaderInfoLog(WebGLShader shader);
10878
10879 Object getShaderParameter(WebGLShader shader, int pname);
10880
10881 String getShaderSource(WebGLShader shader);
10882
10883 Object getTexParameter(int target, int pname);
10884
10885 Object getUniform(WebGLProgram program, WebGLUniformLocation location);
10886
10887 WebGLUniformLocation getUniformLocation(WebGLProgram program, String name);
10888
10889 Object getVertexAttrib(int index, int pname);
10890
10891 int getVertexAttribOffset(int index, int pname);
10892
10893 void hint(int target, int mode);
10894
10895 bool isBuffer(WebGLBuffer buffer);
10896
10897 bool isContextLost();
10898
10899 bool isEnabled(int cap);
10900
10901 bool isFramebuffer(WebGLFramebuffer framebuffer);
10902
10903 bool isProgram(WebGLProgram program);
10904
10905 bool isRenderbuffer(WebGLRenderbuffer renderbuffer);
10906
10907 bool isShader(WebGLShader shader);
10908
10909 bool isTexture(WebGLTexture texture);
10910
10911 void lineWidth(num width);
10912
10913 void linkProgram(WebGLProgram program);
10914
10915 void pixelStorei(int pname, int param);
10916
10917 void polygonOffset(num factor, num units);
10918
10919 void readPixels(int x, int y, int width, int height, int format, int type, Arr ayBufferView pixels);
10920
10921 void releaseShaderCompiler();
10922
10923 void renderbufferStorage(int target, int internalformat, int width, int height );
10924
10925 void sampleCoverage(num value, bool invert);
10926
10927 void scissor(int x, int y, int width, int height);
10928
10929 void shaderSource(WebGLShader shader, String string);
10930
10931 void stencilFunc(int func, int ref, int mask);
10932
10933 void stencilFuncSeparate(int face, int func, int ref, int mask);
10934
10935 void stencilMask(int mask);
10936
10937 void stencilMaskSeparate(int face, int mask);
10938
10939 void stencilOp(int fail, int zfail, int zpass);
10940
10941 void stencilOpSeparate(int face, int fail, int zfail, int zpass);
10942
10943 void texImage2D(int target, int level, int internalformat, int format_OR_width , int height_OR_type, var border_OR_canvas_OR_image_OR_pixels_OR_video, [int for mat, int type, ArrayBufferView pixels]);
10944
10945 void texParameterf(int target, int pname, num param);
10946
10947 void texParameteri(int target, int pname, int param);
10948
10949 void texSubImage2D(int target, int level, int xoffset, int yoffset, int format _OR_width, int height_OR_type, var canvas_OR_format_OR_image_OR_pixels_OR_video, [int type, ArrayBufferView pixels]);
10950
10951 void uniform1f(WebGLUniformLocation location, num x);
10952
10953 void uniform1fv(WebGLUniformLocation location, Float32Array v);
10954
10955 void uniform1i(WebGLUniformLocation location, int x);
10956
10957 void uniform1iv(WebGLUniformLocation location, Int32Array v);
10958
10959 void uniform2f(WebGLUniformLocation location, num x, num y);
10960
10961 void uniform2fv(WebGLUniformLocation location, Float32Array v);
10962
10963 void uniform2i(WebGLUniformLocation location, int x, int y);
10964
10965 void uniform2iv(WebGLUniformLocation location, Int32Array v);
10966
10967 void uniform3f(WebGLUniformLocation location, num x, num y, num z);
10968
10969 void uniform3fv(WebGLUniformLocation location, Float32Array v);
10970
10971 void uniform3i(WebGLUniformLocation location, int x, int y, int z);
10972
10973 void uniform3iv(WebGLUniformLocation location, Int32Array v);
10974
10975 void uniform4f(WebGLUniformLocation location, num x, num y, num z, num w);
10976
10977 void uniform4fv(WebGLUniformLocation location, Float32Array v);
10978
10979 void uniform4i(WebGLUniformLocation location, int x, int y, int z, int w);
10980
10981 void uniform4iv(WebGLUniformLocation location, Int32Array v);
10982
10983 void uniformMatrix2fv(WebGLUniformLocation location, bool transpose, Float32Ar ray array);
10984
10985 void uniformMatrix3fv(WebGLUniformLocation location, bool transpose, Float32Ar ray array);
10986
10987 void uniformMatrix4fv(WebGLUniformLocation location, bool transpose, Float32Ar ray array);
10988
10989 void useProgram(WebGLProgram program);
10990
10991 void validateProgram(WebGLProgram program);
10992
10993 void vertexAttrib1f(int indx, num x);
10994
10995 void vertexAttrib1fv(int indx, Float32Array values);
10996
10997 void vertexAttrib2f(int indx, num x, num y);
10998
10999 void vertexAttrib2fv(int indx, Float32Array values);
11000
11001 void vertexAttrib3f(int indx, num x, num y, num z);
11002
11003 void vertexAttrib3fv(int indx, Float32Array values);
11004
11005 void vertexAttrib4f(int indx, num x, num y, num z, num w);
11006
11007 void vertexAttrib4fv(int indx, Float32Array values);
11008
11009 void vertexAttribPointer(int indx, int size, int type, bool normalized, int st ride, int offset);
11010
11011 void viewport(int x, int y, int width, int height);
11012 }
11013 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11014 // for details. All rights reserved. Use of this source code is governed by a
11015 // BSD-style license that can be found in the LICENSE file.
11016
11017 // WARNING: Do not edit - generated code.
11018
11019 interface WebGLShader {
11020 }
11021 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11022 // for details. All rights reserved. Use of this source code is governed by a
11023 // BSD-style license that can be found in the LICENSE file.
11024
11025 // WARNING: Do not edit - generated code.
11026
11027 interface WebGLTexture {
11028 }
11029 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11030 // for details. All rights reserved. Use of this source code is governed by a
11031 // BSD-style license that can be found in the LICENSE file.
11032
11033 // WARNING: Do not edit - generated code.
11034
11035 interface WebGLUniformLocation {
11036 }
11037 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11038 // for details. All rights reserved. Use of this source code is governed by a
11039 // BSD-style license that can be found in the LICENSE file.
11040
11041 // WARNING: Do not edit - generated code.
11042
11043 interface WebGLVertexArrayObjectOES {
11044 }
11045 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11046 // for details. All rights reserved. Use of this source code is governed by a
11047 // BSD-style license that can be found in the LICENSE file.
11048
11049 // WARNING: Do not edit - generated code.
11050
11051 interface WebKitAnimation {
11052
11053 static final int DIRECTION_ALTERNATE = 1;
11054
11055 static final int DIRECTION_NORMAL = 0;
11056
11057 static final int FILL_BACKWARDS = 1;
11058
11059 static final int FILL_BOTH = 3;
11060
11061 static final int FILL_FORWARDS = 2;
11062
11063 static final int FILL_NONE = 0;
11064
11065 final num delay;
11066
11067 final int direction;
11068
11069 final num duration;
11070
11071 num elapsedTime;
11072
11073 final bool ended;
11074
11075 final int fillMode;
11076
11077 final int iterationCount;
11078
11079 final String name;
11080
11081 final bool paused;
11082
11083 void pause();
11084
11085 void play();
11086 }
11087 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11088 // for details. All rights reserved. Use of this source code is governed by a
11089 // BSD-style license that can be found in the LICENSE file.
11090
11091 // WARNING: Do not edit - generated code.
11092
11093 interface WebKitAnimationEvent extends Event {
11094
11095 final String animationName;
11096
11097 final num elapsedTime;
11098 }
11099 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11100 // for details. All rights reserved. Use of this source code is governed by a
11101 // BSD-style license that can be found in the LICENSE file.
11102
11103 // WARNING: Do not edit - generated code.
11104
11105 interface WebKitAnimationList {
11106
11107 final int length;
11108
11109 WebKitAnimation item(int index);
11110 }
11111 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11112 // for details. All rights reserved. Use of this source code is governed by a
11113 // BSD-style license that can be found in the LICENSE file.
11114
11115 // WARNING: Do not edit - generated code.
11116
11117 interface WebKitBlobBuilder default _WebKitBlobBuilderFactoryProvider {
11118
11119 WebKitBlobBuilder();
11120
11121 void append(var arrayBuffer_OR_blob_OR_value, [String endings]);
11122
11123 Blob getBlob([String contentType]);
11124 }
11125 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11126 // for details. All rights reserved. Use of this source code is governed by a
11127 // BSD-style license that can be found in the LICENSE file.
11128
11129 // WARNING: Do not edit - generated code.
11130
11131 interface WebKitCSSKeyframeRule extends CSSRule {
11132
11133 String keyText;
11134
11135 final CSSStyleDeclaration style;
11136 }
11137 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11138 // for details. All rights reserved. Use of this source code is governed by a
11139 // BSD-style license that can be found in the LICENSE file.
11140
11141 // WARNING: Do not edit - generated code.
11142
11143 interface WebKitCSSKeyframesRule extends CSSRule {
11144
11145 final CSSRuleList cssRules;
11146
11147 String name;
11148
11149 void deleteRule(String key);
11150
11151 WebKitCSSKeyframeRule findRule(String key);
11152
11153 void insertRule(String rule);
11154 }
11155 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11156 // for details. All rights reserved. Use of this source code is governed by a
11157 // BSD-style license that can be found in the LICENSE file.
11158
11159 // WARNING: Do not edit - generated code.
11160
11161 interface WebKitCSSMatrix default _WebKitCSSMatrixFactoryProvider {
11162
11163 WebKitCSSMatrix([String cssValue]);
11164
11165 num a;
11166
11167 num b;
11168
11169 num c;
11170
11171 num d;
11172
11173 num e;
11174
11175 num f;
11176
11177 num m11;
11178
11179 num m12;
11180
11181 num m13;
11182
11183 num m14;
11184
11185 num m21;
11186
11187 num m22;
11188
11189 num m23;
11190
11191 num m24;
11192
11193 num m31;
11194
11195 num m32;
11196
11197 num m33;
11198
11199 num m34;
11200
11201 num m41;
11202
11203 num m42;
11204
11205 num m43;
11206
11207 num m44;
11208
11209 WebKitCSSMatrix inverse();
11210
11211 WebKitCSSMatrix multiply(WebKitCSSMatrix secondMatrix);
11212
11213 WebKitCSSMatrix rotate(num rotX, num rotY, num rotZ);
11214
11215 WebKitCSSMatrix rotateAxisAngle(num x, num y, num z, num angle);
11216
11217 WebKitCSSMatrix scale(num scaleX, num scaleY, num scaleZ);
11218
11219 void setMatrixValue(String string);
11220
11221 WebKitCSSMatrix skewX(num angle);
11222
11223 WebKitCSSMatrix skewY(num angle);
11224
11225 String toString();
11226
11227 WebKitCSSMatrix translate(num x, num y, num z);
11228 }
11229 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11230 // for details. All rights reserved. Use of this source code is governed by a
11231 // BSD-style license that can be found in the LICENSE file.
11232
11233 // WARNING: Do not edit - generated code.
11234
11235 interface WebKitCSSRegionRule extends CSSRule {
11236
11237 final CSSRuleList cssRules;
11238 }
11239 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11240 // for details. All rights reserved. Use of this source code is governed by a
11241 // BSD-style license that can be found in the LICENSE file.
11242
11243 // WARNING: Do not edit - generated code.
11244
11245 interface WebKitCSSTransformValue extends CSSValueList {
11246
11247 static final int CSS_MATRIX = 11;
11248
11249 static final int CSS_MATRIX3D = 21;
11250
11251 static final int CSS_PERSPECTIVE = 20;
11252
11253 static final int CSS_ROTATE = 4;
11254
11255 static final int CSS_ROTATE3D = 17;
11256
11257 static final int CSS_ROTATEX = 14;
11258
11259 static final int CSS_ROTATEY = 15;
11260
11261 static final int CSS_ROTATEZ = 16;
11262
11263 static final int CSS_SCALE = 5;
11264
11265 static final int CSS_SCALE3D = 19;
11266
11267 static final int CSS_SCALEX = 6;
11268
11269 static final int CSS_SCALEY = 7;
11270
11271 static final int CSS_SCALEZ = 18;
11272
11273 static final int CSS_SKEW = 8;
11274
11275 static final int CSS_SKEWX = 9;
11276
11277 static final int CSS_SKEWY = 10;
11278
11279 static final int CSS_TRANSLATE = 1;
11280
11281 static final int CSS_TRANSLATE3D = 13;
11282
11283 static final int CSS_TRANSLATEX = 2;
11284
11285 static final int CSS_TRANSLATEY = 3;
11286
11287 static final int CSS_TRANSLATEZ = 12;
11288
11289 final int operationType;
11290 }
11291 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11292 // for details. All rights reserved. Use of this source code is governed by a
11293 // BSD-style license that can be found in the LICENSE file.
11294
11295 // WARNING: Do not edit - generated code.
11296
11297 interface WebKitNamedFlow {
11298
11299 final bool overflow;
11300
11301 NodeList getRegionsByContentNode(Node contentNode);
11302 }
11303 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11304 // for details. All rights reserved. Use of this source code is governed by a
11305 // BSD-style license that can be found in the LICENSE file.
11306
11307 // WARNING: Do not edit - generated code.
11308
11309 interface WebKitPoint default _WebKitPointFactoryProvider {
11310
11311 WebKitPoint(num x, num y);
11312
11313 num x;
11314
11315 num y;
11316 }
11317 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11318 // for details. All rights reserved. Use of this source code is governed by a
11319 // BSD-style license that can be found in the LICENSE file.
11320
11321 // WARNING: Do not edit - generated code.
11322
11323 interface WebKitTransitionEvent extends Event {
11324
11325 final num elapsedTime;
11326
11327 final String propertyName;
11328 }
11329 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11330 // for details. All rights reserved. Use of this source code is governed by a
11331 // BSD-style license that can be found in the LICENSE file.
11332
11333 // WARNING: Do not edit - generated code.
11334
11335 interface WebSocket extends EventTarget default _WebSocketFactoryProvider {
11336
11337 WebSocket(String url);
11338
11339 static final int CLOSED = 3;
11340
11341 static final int CLOSING = 2;
11342
11343 static final int CONNECTING = 0;
11344
11345 static final int OPEN = 1;
11346
11347 final String URL;
11348
11349 String binaryType;
11350
11351 final int bufferedAmount;
11352
11353 final String extensions;
11354
11355 final String protocol;
11356
11357 final int readyState;
11358
11359 final String url;
11360
11361 void addEventListener(String type, EventListener listener, [bool useCapture]);
11362
11363 void close([int code, String reason]);
11364
11365 bool dispatchEvent(Event evt);
11366
11367 void removeEventListener(String type, EventListener listener, [bool useCapture ]);
11368
11369 bool send(String data);
11370 }
11371 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11372 // for details. All rights reserved. Use of this source code is governed by a
11373 // BSD-style license that can be found in the LICENSE file.
11374
11375 // WARNING: Do not edit - generated code.
11376
11377 interface WheelEvent extends UIEvent {
11378
11379 final bool altKey;
11380
11381 final int clientX;
11382
11383 final int clientY;
11384
11385 final bool ctrlKey;
11386
11387 final bool metaKey;
11388
11389 final int offsetX;
11390
11391 final int offsetY;
11392
11393 final int screenX;
11394
11395 final int screenY;
11396
11397 final bool shiftKey;
11398
11399 final bool webkitDirectionInvertedFromDevice;
11400
11401 final int wheelDelta;
11402
11403 final int wheelDeltaX;
11404
11405 final int wheelDeltaY;
11406
11407 final int x;
11408
11409 final int y;
11410
11411 void initWebKitWheelEvent(int wheelDeltaX, int wheelDeltaY, DOMWindow view, in t screenX, int screenY, int clientX, int clientY, bool ctrlKey, bool altKey, boo l shiftKey, bool metaKey);
11412 }
11413 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11414 // for details. All rights reserved. Use of this source code is governed by a
11415 // BSD-style license that can be found in the LICENSE file.
11416
11417 // WARNING: Do not edit - generated code.
11418
11419 interface Worker extends AbstractWorker default _WorkerFactoryProvider {
11420
11421 Worker(String scriptUrl);
11422
11423 void postMessage(Dynamic message, [List messagePorts]);
11424
11425 void terminate();
11426
11427 void webkitPostMessage(Dynamic message, [List messagePorts]);
11428 }
11429 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11430 // for details. All rights reserved. Use of this source code is governed by a
11431 // BSD-style license that can be found in the LICENSE file.
11432
11433 // WARNING: Do not edit - generated code.
11434
11435 interface WorkerGlobalScope {
11436
11437 final WorkerLocation location;
11438
11439 final WorkerNavigator navigator;
11440
11441 EventListener onerror;
11442
11443 final WorkerContext self;
11444
11445 final IDBFactory webkitIndexedDB;
11446
11447 final NotificationCenter webkitNotifications;
11448
11449 void addEventListener(String type, EventListener listener, [bool useCapture]);
11450
11451 void clearInterval(int handle);
11452
11453 void clearTimeout(int handle);
11454
11455 void close();
11456
11457 bool dispatchEvent(Event evt);
11458
11459 void importScripts();
11460
11461 Database openDatabase(String name, String version, String displayName, int est imatedSize, [DatabaseCallback creationCallback]);
11462
11463 DatabaseSync openDatabaseSync(String name, String version, String displayName, int estimatedSize, [DatabaseCallback creationCallback]);
11464
11465 void removeEventListener(String type, EventListener listener, [bool useCapture ]);
11466
11467 int setInterval(TimeoutHandler handler, int timeout);
11468
11469 int setTimeout(TimeoutHandler handler, int timeout);
11470
11471 void webkitRequestFileSystem(int type, int size, [FileSystemCallback successCa llback, ErrorCallback errorCallback]);
11472
11473 DOMFileSystemSync webkitRequestFileSystemSync(int type, int size);
11474
11475 EntrySync webkitResolveLocalFileSystemSyncURL(String url);
11476
11477 void webkitResolveLocalFileSystemURL(String url, [EntryCallback successCallbac k, ErrorCallback errorCallback]);
11478 }
11479
11480 interface WorkerContext extends WorkerGlobalScope {
11481
11482 static final int PERSISTENT = 1;
11483
11484 static final int TEMPORARY = 0;
11485 }
11486 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11487 // for details. All rights reserved. Use of this source code is governed by a
11488 // BSD-style license that can be found in the LICENSE file.
11489
11490 // WARNING: Do not edit - generated code.
11491
11492 interface WorkerLocation {
11493
11494 final String hash;
11495
11496 final String host;
11497
11498 final String hostname;
11499
11500 final String href;
11501
11502 final String pathname;
11503
11504 final String port;
11505
11506 final String protocol;
11507
11508 final String search;
11509
11510 String toString();
11511 }
11512 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11513 // for details. All rights reserved. Use of this source code is governed by a
11514 // BSD-style license that can be found in the LICENSE file.
11515
11516 // WARNING: Do not edit - generated code.
11517
11518 interface WorkerNavigator {
11519
11520 final String appName;
11521
11522 final String appVersion;
11523
11524 final bool onLine;
11525
11526 final String platform;
11527
11528 final String userAgent;
11529 }
11530 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11531 // for details. All rights reserved. Use of this source code is governed by a
11532 // BSD-style license that can be found in the LICENSE file.
11533
11534 // WARNING: Do not edit - generated code.
11535
11536 interface XMLHttpRequest extends EventTarget default _XMLHttpRequestFactoryProvi der {
11537
11538 XMLHttpRequest();
11539
11540 static final int DONE = 4;
11541
11542 static final int HEADERS_RECEIVED = 2;
11543
11544 static final int LOADING = 3;
11545
11546 static final int OPENED = 1;
11547
11548 static final int UNSENT = 0;
11549
11550 bool asBlob;
11551
11552 final int readyState;
11553
11554 final Object response;
11555
11556 final Blob responseBlob;
11557
11558 final String responseText;
11559
11560 String responseType;
11561
11562 final Document responseXML;
11563
11564 final int status;
11565
11566 final String statusText;
11567
11568 final XMLHttpRequestUpload upload;
11569
11570 bool withCredentials;
11571
11572 void abort();
11573
11574 void addEventListener(String type, EventListener listener, [bool useCapture]);
11575
11576 bool dispatchEvent(Event evt);
11577
11578 String getAllResponseHeaders();
11579
11580 String getResponseHeader(String header);
11581
11582 void open(String method, String url, [bool async, String user, String password ]);
11583
11584 void overrideMimeType(String override);
11585
11586 void removeEventListener(String type, EventListener listener, [bool useCapture ]);
11587
11588 void send([var data]);
11589
11590 void setRequestHeader(String header, String value);
11591 }
11592 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11593 // for details. All rights reserved. Use of this source code is governed by a
11594 // BSD-style license that can be found in the LICENSE file.
11595
11596 // WARNING: Do not edit - generated code.
11597
11598 interface XMLHttpRequestException {
11599
11600 static final int ABORT_ERR = 102;
11601
11602 static final int NETWORK_ERR = 101;
11603
11604 final int code;
11605
11606 final String message;
11607
11608 final String name;
11609
11610 String toString();
11611 }
11612 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11613 // for details. All rights reserved. Use of this source code is governed by a
11614 // BSD-style license that can be found in the LICENSE file.
11615
11616 // WARNING: Do not edit - generated code.
11617
11618 interface XMLHttpRequestProgressEvent extends ProgressEvent {
11619
11620 final int position;
11621
11622 final int totalSize;
11623 }
11624 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11625 // for details. All rights reserved. Use of this source code is governed by a
11626 // BSD-style license that can be found in the LICENSE file.
11627
11628 // WARNING: Do not edit - generated code.
11629
11630 interface XMLHttpRequestUpload extends EventTarget {
11631
11632 void addEventListener(String type, EventListener listener, [bool useCapture]);
11633
11634 bool dispatchEvent(Event evt);
11635
11636 void removeEventListener(String type, EventListener listener, [bool useCapture ]);
11637 }
11638 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11639 // for details. All rights reserved. Use of this source code is governed by a
11640 // BSD-style license that can be found in the LICENSE file.
11641
11642 // WARNING: Do not edit - generated code.
11643
11644 interface XMLSerializer default _XMLSerializerFactoryProvider {
11645
11646 XMLSerializer();
11647
11648 String serializeToString(Node node);
11649 }
11650 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11651 // for details. All rights reserved. Use of this source code is governed by a
11652 // BSD-style license that can be found in the LICENSE file.
11653
11654 // WARNING: Do not edit - generated code.
11655
11656 interface XPathEvaluator default _XPathEvaluatorFactoryProvider {
11657
11658 XPathEvaluator();
11659
11660 XPathExpression createExpression(String expression, XPathNSResolver resolver);
11661
11662 XPathNSResolver createNSResolver(Node nodeResolver);
11663
11664 XPathResult evaluate(String expression, Node contextNode, XPathNSResolver reso lver, int type, XPathResult inResult);
11665 }
11666 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11667 // for details. All rights reserved. Use of this source code is governed by a
11668 // BSD-style license that can be found in the LICENSE file.
11669
11670 // WARNING: Do not edit - generated code.
11671
11672 interface XPathException {
11673
11674 static final int INVALID_EXPRESSION_ERR = 51;
11675
11676 static final int TYPE_ERR = 52;
11677
11678 final int code;
11679
11680 final String message;
11681
11682 final String name;
11683
11684 String toString();
11685 }
11686 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11687 // for details. All rights reserved. Use of this source code is governed by a
11688 // BSD-style license that can be found in the LICENSE file.
11689
11690 // WARNING: Do not edit - generated code.
11691
11692 interface XPathExpression {
11693
11694 XPathResult evaluate(Node contextNode, int type, XPathResult inResult);
11695 }
11696 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11697 // for details. All rights reserved. Use of this source code is governed by a
11698 // BSD-style license that can be found in the LICENSE file.
11699
11700 // WARNING: Do not edit - generated code.
11701
11702 interface XPathNSResolver {
11703
11704 String lookupNamespaceURI(String prefix);
11705 }
11706 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11707 // for details. All rights reserved. Use of this source code is governed by a
11708 // BSD-style license that can be found in the LICENSE file.
11709
11710 // WARNING: Do not edit - generated code.
11711
11712 interface XPathResult {
11713
11714 static final int ANY_TYPE = 0;
11715
11716 static final int ANY_UNORDERED_NODE_TYPE = 8;
11717
11718 static final int BOOLEAN_TYPE = 3;
11719
11720 static final int FIRST_ORDERED_NODE_TYPE = 9;
11721
11722 static final int NUMBER_TYPE = 1;
11723
11724 static final int ORDERED_NODE_ITERATOR_TYPE = 5;
11725
11726 static final int ORDERED_NODE_SNAPSHOT_TYPE = 7;
11727
11728 static final int STRING_TYPE = 2;
11729
11730 static final int UNORDERED_NODE_ITERATOR_TYPE = 4;
11731
11732 static final int UNORDERED_NODE_SNAPSHOT_TYPE = 6;
11733
11734 final bool booleanValue;
11735
11736 final bool invalidIteratorState;
11737
11738 final num numberValue;
11739
11740 final int resultType;
11741
11742 final Node singleNodeValue;
11743
11744 final int snapshotLength;
11745
11746 final String stringValue;
11747
11748 Node iterateNext();
11749
11750 Node snapshotItem(int index);
11751 }
11752 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11753 // for details. All rights reserved. Use of this source code is governed by a
11754 // BSD-style license that can be found in the LICENSE file.
11755
11756 // WARNING: Do not edit - generated code.
11757
11758 interface XSLTProcessor default _XSLTProcessorFactoryProvider {
11759
11760 XSLTProcessor();
11761
11762 void clearParameters();
11763
11764 String getParameter(String namespaceURI, String localName);
11765
11766 void importStylesheet(Node stylesheet);
11767
11768 void removeParameter(String namespaceURI, String localName);
11769
11770 void reset();
11771
11772 void setParameter(String namespaceURI, String localName, String value);
11773
11774 Document transformToDocument(Node source);
11775
11776 DocumentFragment transformToFragment(Node source, Document docVal);
11777 }
11778 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
11779 // for details. All rights reserved. Use of this source code is governed by a
11780 // BSD-style license that can be found in the LICENSE file.
11781
11782 interface DOMType {
11783 // TODO(vsm): Remove if/when Dart supports OLS for all objects.
11784 var dartObjectLocalStorage;
11785
11786 String get typeName();
11787 }
11788 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
11789 // for details. All rights reserved. Use of this source code is governed by a
11790 // BSD-style license that can be found in the LICENSE file.
11791
11792 typedef void EventListener(Event event);
11793 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
11794 // for details. All rights reserved. Use of this source code is governed by a
11795 // BSD-style license that can be found in the LICENSE file.
11796
11797 /**
11798 * Defines the standard key locations returned by
11799 * KeyboardEvent.getKeyLocation.
11800 */
11801 interface KeyLocation {
11802
11803 /**
11804 * The event key is not distinguished as the left or right version
11805 * of the key, and did not originate from the numeric keypad (or did not
11806 * originate with a virtual key corresponding to the numeric keypad).
11807 */
11808 static final int STANDARD = 0;
11809
11810 /**
11811 * The event key is in the left key location.
11812 */
11813 static final int LEFT = 1;
11814
11815 /**
11816 * The event key is in the right key location.
11817 */
11818 static final int RIGHT = 2;
11819
11820 /**
11821 * The event key originated on the numeric keypad or with a virtual key
11822 * corresponding to the numeric keypad.
11823 */
11824 static final int NUMPAD = 3;
11825
11826 /**
11827 * The event key originated on a mobile device, either on a physical
11828 * keypad or a virtual keyboard.
11829 */
11830 static final int MOBILE = 4;
11831
11832 /**
11833 * The event key originated on a game controller or a joystick on a mobile
11834 * device.
11835 */
11836 static final int JOYSTICK = 5;
11837 }
11838 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
11839 // for details. All rights reserved. Use of this source code is governed by a
11840 // BSD-style license that can be found in the LICENSE file.
11841
11842 /**
11843 * Defines the standard keyboard identifier names for keys that are returned
11844 * by KeyEvent.getKeyboardIdentifier when the key does not have a direct
11845 * unicode mapping.
11846 */
11847 interface KeyName {
11848
11849 /** The Accept (Commit, OK) key */
11850 static final String ACCEPT = "Accept";
11851
11852 /** The Add key */
11853 static final String ADD = "Add";
11854
11855 /** The Again key */
11856 static final String AGAIN = "Again";
11857
11858 /** The All Candidates key */
11859 static final String ALL_CANDIDATES = "AllCandidates";
11860
11861 /** The Alphanumeric key */
11862 static final String ALPHANUMERIC = "Alphanumeric";
11863
11864 /** The Alt (Menu) key */
11865 static final String ALT = "Alt";
11866
11867 /** The Alt-Graph key */
11868 static final String ALT_GRAPH = "AltGraph";
11869
11870 /** The Application key */
11871 static final String APPS = "Apps";
11872
11873 /** The ATTN key */
11874 static final String ATTN = "Attn";
11875
11876 /** The Browser Back key */
11877 static final String BROWSER_BACK = "BrowserBack";
11878
11879 /** The Browser Favorites key */
11880 static final String BROWSER_FAVORTIES = "BrowserFavorites";
11881
11882 /** The Browser Forward key */
11883 static final String BROWSER_FORWARD = "BrowserForward";
11884
11885 /** The Browser Home key */
11886 static final String BROWSER_NAME = "BrowserHome";
11887
11888 /** The Browser Refresh key */
11889 static final String BROWSER_REFRESH = "BrowserRefresh";
11890
11891 /** The Browser Search key */
11892 static final String BROWSER_SEARCH = "BrowserSearch";
11893
11894 /** The Browser Stop key */
11895 static final String BROWSER_STOP = "BrowserStop";
11896
11897 /** The Camera key */
11898 static final String CAMERA = "Camera";
11899
11900 /** The Caps Lock (Capital) key */
11901 static final String CAPS_LOCK = "CapsLock";
11902
11903 /** The Clear key */
11904 static final String CLEAR = "Clear";
11905
11906 /** The Code Input key */
11907 static final String CODE_INPUT = "CodeInput";
11908
11909 /** The Compose key */
11910 static final String COMPOSE = "Compose";
11911
11912 /** The Control (Ctrl) key */
11913 static final String CONTROL = "Control";
11914
11915 /** The Crsel key */
11916 static final String CRSEL = "Crsel";
11917
11918 /** The Convert key */
11919 static final String CONVERT = "Convert";
11920
11921 /** The Copy key */
11922 static final String COPY = "Copy";
11923
11924 /** The Cut key */
11925 static final String CUT = "Cut";
11926
11927 /** The Decimal key */
11928 static final String DECIMAL = "Decimal";
11929
11930 /** The Divide key */
11931 static final String DIVIDE = "Divide";
11932
11933 /** The Down Arrow key */
11934 static final String DOWN = "Down";
11935
11936 /** The diagonal Down-Left Arrow key */
11937 static final String DOWN_LEFT = "DownLeft";
11938
11939 /** The diagonal Down-Right Arrow key */
11940 static final String DOWN_RIGHT = "DownRight";
11941
11942 /** The Eject key */
11943 static final String EJECT = "Eject";
11944
11945 /** The End key */
11946 static final String END = "End";
11947
11948 /**
11949 * The Enter key. Note: This key value must also be used for the Return
11950 * (Macintosh numpad) key
11951 */
11952 static final String ENTER = "Enter";
11953
11954 /** The Erase EOF key */
11955 static final String ERASE_EOF= "EraseEof";
11956
11957 /** The Execute key */
11958 static final String EXECUTE = "Execute";
11959
11960 /** The Exsel key */
11961 static final String EXSEL = "Exsel";
11962
11963 /** The Function switch key */
11964 static final String FN = "Fn";
11965
11966 /** The F1 key */
11967 static final String F1 = "F1";
11968
11969 /** The F2 key */
11970 static final String F2 = "F2";
11971
11972 /** The F3 key */
11973 static final String F3 = "F3";
11974
11975 /** The F4 key */
11976 static final String F4 = "F4";
11977
11978 /** The F5 key */
11979 static final String F5 = "F5";
11980
11981 /** The F6 key */
11982 static final String F6 = "F6";
11983
11984 /** The F7 key */
11985 static final String F7 = "F7";
11986
11987 /** The F8 key */
11988 static final String F8 = "F8";
11989
11990 /** The F9 key */
11991 static final String F9 = "F9";
11992
11993 /** The F10 key */
11994 static final String F10 = "F10";
11995
11996 /** The F11 key */
11997 static final String F11 = "F11";
11998
11999 /** The F12 key */
12000 static final String F12 = "F12";
12001
12002 /** The F13 key */
12003 static final String F13 = "F13";
12004
12005 /** The F14 key */
12006 static final String F14 = "F14";
12007
12008 /** The F15 key */
12009 static final String F15 = "F15";
12010
12011 /** The F16 key */
12012 static final String F16 = "F16";
12013
12014 /** The F17 key */
12015 static final String F17 = "F17";
12016
12017 /** The F18 key */
12018 static final String F18 = "F18";
12019
12020 /** The F19 key */
12021 static final String F19 = "F19";
12022
12023 /** The F20 key */
12024 static final String F20 = "F20";
12025
12026 /** The F21 key */
12027 static final String F21 = "F21";
12028
12029 /** The F22 key */
12030 static final String F22 = "F22";
12031
12032 /** The F23 key */
12033 static final String F23 = "F23";
12034
12035 /** The F24 key */
12036 static final String F24 = "F24";
12037
12038 /** The Final Mode (Final) key used on some asian keyboards */
12039 static final String FINAL_MODE = "FinalMode";
12040
12041 /** The Find key */
12042 static final String FIND = "Find";
12043
12044 /** The Full-Width Characters key */
12045 static final String FULL_WIDTH = "FullWidth";
12046
12047 /** The Half-Width Characters key */
12048 static final String HALF_WIDTH = "HalfWidth";
12049
12050 /** The Hangul (Korean characters) Mode key */
12051 static final String HANGUL_MODE = "HangulMode";
12052
12053 /** The Hanja (Korean characters) Mode key */
12054 static final String HANJA_MODE = "HanjaMode";
12055
12056 /** The Help key */
12057 static final String HELP = "Help";
12058
12059 /** The Hiragana (Japanese Kana characters) key */
12060 static final String HIRAGANA = "Hiragana";
12061
12062 /** The Home key */
12063 static final String HOME = "Home";
12064
12065 /** The Insert (Ins) key */
12066 static final String INSERT = "Insert";
12067
12068 /** The Japanese-Hiragana key */
12069 static final String JAPANESE_HIRAGANA = "JapaneseHiragana";
12070
12071 /** The Japanese-Katakana key */
12072 static final String JAPANESE_KATAKANA = "JapaneseKatakana";
12073
12074 /** The Japanese-Romaji key */
12075 static final String JAPANESE_ROMAJI = "JapaneseRomaji";
12076
12077 /** The Junja Mode key */
12078 static final String JUNJA_MODE = "JunjaMode";
12079
12080 /** The Kana Mode (Kana Lock) key */
12081 static final String KANA_MODE = "KanaMode";
12082
12083 /**
12084 * The Kanji (Japanese name for ideographic characters of Chinese origin)
12085 * Mode key
12086 */
12087 static final String KANJI_MODE = "KanjiMode";
12088
12089 /** The Katakana (Japanese Kana characters) key */
12090 static final String KATAKANA = "Katakana";
12091
12092 /** The Start Application One key */
12093 static final String LAUNCH_APPLICATION_1 = "LaunchApplication1";
12094
12095 /** The Start Application Two key */
12096 static final String LAUNCH_APPLICATION_2 = "LaunchApplication2";
12097
12098 /** The Start Mail key */
12099 static final String LAUNCH_MAIL = "LaunchMail";
12100
12101 /** The Left Arrow key */
12102 static final String LEFT = "Left";
12103
12104 /** The Menu key */
12105 static final String MENU = "Menu";
12106
12107 /**
12108 * The Meta key. Note: This key value shall be also used for the Apple
12109 * Command key
12110 */
12111 static final String META = "Meta";
12112
12113 /** The Media Next Track key */
12114 static final String MEDIA_NEXT_TRACK = "MediaNextTrack";
12115
12116 /** The Media Play Pause key */
12117 static final String MEDIA_PAUSE_PLAY = "MediaPlayPause";
12118
12119 /** The Media Previous Track key */
12120 static final String MEDIA_PREVIOUS_TRACK = "MediaPreviousTrack";
12121
12122 /** The Media Stop key */
12123 static final String MEDIA_STOP = "MediaStop";
12124
12125 /** The Mode Change key */
12126 static final String MODE_CHANGE = "ModeChange";
12127
12128 /** The Next Candidate function key */
12129 static final String NEXT_CANDIDATE = "NextCandidate";
12130
12131 /** The Nonconvert (Don't Convert) key */
12132 static final String NON_CONVERT = "Nonconvert";
12133
12134 /** The Number Lock key */
12135 static final String NUM_LOCK = "NumLock";
12136
12137 /** The Page Down (Next) key */
12138 static final String PAGE_DOWN = "PageDown";
12139
12140 /** The Page Up key */
12141 static final String PAGE_UP = "PageUp";
12142
12143 /** The Paste key */
12144 static final String PASTE = "Paste";
12145
12146 /** The Pause key */
12147 static final String PAUSE = "Pause";
12148
12149 /** The Play key */
12150 static final String PLAY = "Play";
12151
12152 /**
12153 * The Power key. Note: Some devices may not expose this key to the
12154 * operating environment
12155 */
12156 static final String POWER = "Power";
12157
12158 /** The Previous Candidate function key */
12159 static final String PREVIOUS_CANDIDATE = "PreviousCandidate";
12160
12161 /** The Print Screen (PrintScrn, SnapShot) key */
12162 static final String PRINT_SCREEN = "PrintScreen";
12163
12164 /** The Process key */
12165 static final String PROCESS = "Process";
12166
12167 /** The Props key */
12168 static final String PROPS = "Props";
12169
12170 /** The Right Arrow key */
12171 static final String RIGHT = "Right";
12172
12173 /** The Roman Characters function key */
12174 static final String ROMAN_CHARACTERS = "RomanCharacters";
12175
12176 /** The Scroll Lock key */
12177 static final String SCROLL = "Scroll";
12178
12179 /** The Select key */
12180 static final String SELECT = "Select";
12181
12182 /** The Select Media key */
12183 static final String SELECT_MEDIA = "SelectMedia";
12184
12185 /** The Separator key */
12186 static final String SEPARATOR = "Separator";
12187
12188 /** The Shift key */
12189 static final String SHIFT = "Shift";
12190
12191 /** The Soft1 key */
12192 static final String SOFT_1 = "Soft1";
12193
12194 /** The Soft2 key */
12195 static final String SOFT_2 = "Soft2";
12196
12197 /** The Soft3 key */
12198 static final String SOFT_3 = "Soft3";
12199
12200 /** The Soft4 key */
12201 static final String SOFT_4 = "Soft4";
12202
12203 /** The Stop key */
12204 static final String STOP = "Stop";
12205
12206 /** The Subtract key */
12207 static final String SUBTRACT = "Subtract";
12208
12209 /** The Symbol Lock key */
12210 static final String SYMBOL_LOCK = "SymbolLock";
12211
12212 /** The Up Arrow key */
12213 static final String UP = "Up";
12214
12215 /** The diagonal Up-Left Arrow key */
12216 static final String UP_LEFT = "UpLeft";
12217
12218 /** The diagonal Up-Right Arrow key */
12219 static final String UP_RIGHT = "UpRight";
12220
12221 /** The Undo key */
12222 static final String UNDO = "Undo";
12223
12224 /** The Volume Down key */
12225 static final String VOLUME_DOWN = "VolumeDown";
12226
12227 /** The Volume Mute key */
12228 static final String VOLUMN_MUTE = "VolumeMute";
12229
12230 /** The Volume Up key */
12231 static final String VOLUMN_UP = "VolumeUp";
12232
12233 /** The Windows Logo key */
12234 static final String WIN = "Win";
12235
12236 /** The Zoom key */
12237 static final String ZOOM = "Zoom";
12238
12239 /**
12240 * The Backspace (Back) key. Note: This key value shall be also used for the
12241 * key labeled 'delete' MacOS keyboards when not modified by the 'Fn' key
12242 */
12243 static final String BACKSPACE = "Backspace";
12244
12245 /** The Horizontal Tabulation (Tab) key */
12246 static final String TAB = "Tab";
12247
12248 /** The Cancel key */
12249 static final String CANCEL = "Cancel";
12250
12251 /** The Escape (Esc) key */
12252 static final String ESC = "Esc";
12253
12254 /** The Space (Spacebar) key: */
12255 static final String SPACEBAR = "Spacebar";
12256
12257 /**
12258 * The Delete (Del) Key. Note: This key value shall be also used for the key
12259 * labeled 'delete' MacOS keyboards when modified by the 'Fn' key
12260 */
12261 static final String DEL = "Del";
12262
12263 /** The Combining Grave Accent (Greek Varia, Dead Grave) key */
12264 static final String DEAD_GRAVE = "DeadGrave";
12265
12266 /**
12267 * The Combining Acute Accent (Stress Mark, Greek Oxia, Tonos, Dead Eacute)
12268 * key
12269 */
12270 static final String DEAD_EACUTE = "DeadEacute";
12271
12272 /** The Combining Circumflex Accent (Hat, Dead Circumflex) key */
12273 static final String DEAD_CIRCUMFLEX = "DeadCircumflex";
12274
12275 /** The Combining Tilde (Dead Tilde) key */
12276 static final String DEAD_TILDE = "DeadTilde";
12277
12278 /** The Combining Macron (Long, Dead Macron) key */
12279 static final String DEAD_MACRON = "DeadMacron";
12280
12281 /** The Combining Breve (Short, Dead Breve) key */
12282 static final String DEAD_BREVE = "DeadBreve";
12283
12284 /** The Combining Dot Above (Derivative, Dead Above Dot) key */
12285 static final String DEAD_ABOVE_DOT = "DeadAboveDot";
12286
12287 /**
12288 * The Combining Diaeresis (Double Dot Abode, Umlaut, Greek Dialytika,
12289 * Double Derivative, Dead Diaeresis) key
12290 */
12291 static final String DEAD_UMLAUT = "DeadUmlaut";
12292
12293 /** The Combining Ring Above (Dead Above Ring) key */
12294 static final String DEAD_ABOVE_RING = "DeadAboveRing";
12295
12296 /** The Combining Double Acute Accent (Dead Doubleacute) key */
12297 static final String DEAD_DOUBLEACUTE = "DeadDoubleacute";
12298
12299 /** The Combining Caron (Hacek, V Above, Dead Caron) key */
12300 static final String DEAD_CARON = "DeadCaron";
12301
12302 /** The Combining Cedilla (Dead Cedilla) key */
12303 static final String DEAD_CEDILLA = "DeadCedilla";
12304
12305 /** The Combining Ogonek (Nasal Hook, Dead Ogonek) key */
12306 static final String DEAD_OGONEK = "DeadOgonek";
12307
12308 /**
12309 * The Combining Greek Ypogegrammeni (Greek Non-Spacing Iota Below, Iota
12310 * Subscript, Dead Iota) key
12311 */
12312 static final String DEAD_IOTA = "DeadIota";
12313
12314 /**
12315 * The Combining Katakana-Hiragana Voiced Sound Mark (Dead Voiced Sound) key
12316 */
12317 static final String DEAD_VOICED_SOUND = "DeadVoicedSound";
12318
12319 /**
12320 * The Combining Katakana-Hiragana Semi-Voiced Sound Mark (Dead Semivoiced
12321 * Sound) key
12322 */
12323 static final String DEC_SEMIVOICED_SOUND= "DeadSemivoicedSound";
12324
12325 /**
12326 * Key value used when an implementation is unable to identify another key
12327 * value, due to either hardware, platform, or software constraints
12328 */
12329 static final String UNIDENTIFIED = "Unidentified";
12330 }
12331 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
12332 // for details. All rights reserved. Use of this source code is governed by a
12333 // BSD-style license that can be found in the LICENSE file.
12334
12335 /**
12336 * Contains the set of standard values returned by HTMLDocument.getReadyState.
12337 */
12338 interface ReadyState {
12339 /**
12340 * Indicates the document is still loading and parsing.
12341 */
12342 static final String LOADING = "loading";
12343
12344 /**
12345 * Indicates the document is finished parsing but is still loading
12346 * subresources.
12347 */
12348 static final String INTERACTIVE = "interactive";
12349
12350 /**
12351 * Indicates the document and all subresources have been loaded.
12352 */
12353 static final String COMPLETE = "complete";
12354 }
12355 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
12356 // for details. All rights reserved. Use of this source code is governed by a
12357 // BSD-style license that can be found in the LICENSE file.
12358
12359 typedef void TimeoutHandler();
12360 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
12361 // for details. All rights reserved. Use of this source code is governed by a
12362 // BSD-style license that can be found in the LICENSE file.
12363
12364
12365 _dummy() {
12366 throw const NotImplementedException();
12367 }
12368
12369 class _AudioContextFactoryProvider {
12370
12371 factory AudioContext() => _dummy();
12372 }
12373
12374 class _TypedArrayFactoryProvider {
12375
12376 factory Float32Array(int length) => _dummy();
12377 factory Float32Array.fromList(List<num> list) => _dummy();
12378 factory Float32Array.fromBuffer(ArrayBuffer buffer) => _dummy();
12379
12380 factory Float64Array(int length) => _dummy();
12381 factory Float64Array.fromList(List<num> list) => _dummy();
12382 factory Float64Array.fromBuffer(ArrayBuffer buffer) => _dummy();
12383
12384 factory Int8Array(int length) => _dummy();
12385 factory Int8Array.fromList(List<num> list) => _dummy();
12386 factory Int8Array.fromBuffer(ArrayBuffer buffer) => _dummy();
12387
12388 factory Int16Array(int length) => _dummy();
12389 factory Int16Array.fromList(List<num> list) => _dummy();
12390 factory Int16Array.fromBuffer(ArrayBuffer buffer) => _dummy();
12391
12392 factory Int32Array(int length) => _dummy();
12393 factory Int32Array.fromList(List<num> list) => _dummy();
12394 factory Int32Array.fromBuffer(ArrayBuffer buffer) => _dummy();
12395
12396 factory Uint8Array(int length) => _dummy();
12397 factory Uint8Array.fromList(List<num> list) => _dummy();
12398 factory Uint8Array.fromBuffer(ArrayBuffer buffer) => _dummy();
12399
12400 factory Uint16Array(int length) => _dummy();
12401 factory Uint16Array.fromList(List<num> list) => _dummy();
12402 factory Uint16Array.fromBuffer(ArrayBuffer buffer) => _dummy();
12403
12404 factory Uint32Array(int length) => _dummy();
12405 factory Uint32Array.fromList(List<num> list) => _dummy();
12406 factory Uint32Array.fromBuffer(ArrayBuffer buffer) => _dummy();
12407
12408 factory Uint8ClampedArray(int length) => _dummy();
12409 factory Uint8ClampedArray.fromList(List<num> list) => _dummy();
12410 factory Uint8ClampedArray.fromBuffer(ArrayBuffer buffer) => _dummy();
12411 }
12412
12413 class _WebKitPointFactoryProvider {
12414
12415 factory WebKitPoint(num x, num y) => _dummy();
12416 }
12417
12418 class _WebSocketFactoryProvider {
12419
12420 factory WebSocket(String url) => _dummy();
12421 }
12422 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
12423 // for details. All rights reserved. Use of this source code is governed by a
12424 // BSD-style license that can be found in the LICENSE file.
12425
12426 Window get window() => _dummy();
12427
12428 // TODO(vsm): Remove when prefixes are supported.
12429 Window get dom_window() => _dummy();
12430
12431 Document get document() => _dummy();
OLDNEW
« no previous file with comments | « no previous file | client/dom/dom_dummy.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698