1 <?xml version="1.0" encoding="UTF-8"?>
\r
2 <!DOCTYPE Definitions SYSTEM "widlprocxml.dtd">
\r
4 <Module name="W3CWidget" id="::W3CWidget">
\r
5 <webidl>module W3CWidget
\r
8 interface W3CWidget {
\r
9 readonly attribute DOMString author;
\r
10 readonly attribute DOMString authorEmail;
\r
11 readonly attribute DOMString authorHref;
\r
12 readonly attribute DOMString description;
\r
13 readonly attribute DOMString id;
\r
14 readonly attribute DOMString name;
\r
15 readonly attribute DOMString shortName;
\r
16 readonly attribute <ref>Storage</ref> preferences;
\r
17 readonly attribute DOMString version;
\r
18 readonly attribute unsigned long height;
\r
19 readonly attribute unsigned long width;
\r
22 [Supplemental, NoInterfaceObject]
\r
23 interface WindowWidget {
\r
24 readonly attribute <ref>W3CWidget</ref> widget;
\r
27 <ref>Window</ref> implements <ref>WindowWidget</ref>;
\r
29 <Interface name="W3CWidget" id="::W3CWidget::W3CWidget">
\r
30 <webidl> [NoInterfaceObject]
\r
31 interface W3CWidget {
\r
32 readonly attribute DOMString author;
\r
33 readonly attribute DOMString authorEmail;
\r
34 readonly attribute DOMString authorHref;
\r
35 readonly attribute DOMString description;
\r
36 readonly attribute DOMString id;
\r
37 readonly attribute DOMString name;
\r
38 readonly attribute DOMString shortName;
\r
39 readonly attribute <ref>Storage</ref> preferences;
\r
40 readonly attribute DOMString version;
\r
41 readonly attribute unsigned long height;
\r
42 readonly attribute unsigned long width;
\r
44 <ExtendedAttributeList>
\r
45 <ExtendedAttribute name="NoInterfaceObject"/>
\r
46 </ExtendedAttributeList>
\r
47 <Attribute readonly="readonly" name="author" id="::W3CWidget::W3CWidget::author">
\r
48 <webidl> readonly attribute DOMString author;</webidl>
\r
54 <Type type="DOMString"/>
\r
56 <Attribute readonly="readonly" name="authorEmail" id="::W3CWidget::W3CWidget::authorEmail">
\r
57 <webidl> readonly attribute DOMString authorEmail;</webidl>
\r
63 <Type type="DOMString"/>
\r
65 <Attribute readonly="readonly" name="authorHref" id="::W3CWidget::W3CWidget::authorHref">
\r
66 <webidl> readonly attribute DOMString authorHref;</webidl>
\r
72 <Type type="DOMString"/>
\r
74 <Attribute readonly="readonly" name="description" id="::W3CWidget::W3CWidget::description">
\r
75 <webidl> readonly attribute DOMString description;</webidl>
\r
78 Description of widget.
\r
81 <Type type="DOMString"/>
\r
83 <Attribute readonly="readonly" name="id" id="::W3CWidget::W3CWidget::id">
\r
84 <webidl> readonly attribute DOMString id;</webidl>
\r
87 Identifier of widget.
\r
90 <Type type="DOMString"/>
\r
92 <Attribute readonly="readonly" name="name" id="::W3CWidget::W3CWidget::name">
\r
93 <webidl> readonly attribute DOMString name;</webidl>
\r
99 <Type type="DOMString"/>
\r
101 <Attribute readonly="readonly" name="shortName" id="::W3CWidget::W3CWidget::shortName">
\r
102 <webidl> readonly attribute DOMString shortName;</webidl>
\r
105 Short name of widget.
\r
108 <Type type="DOMString"/>
\r
110 <Attribute readonly="readonly" name="preferences" id="::W3CWidget::W3CWidget::preferences">
\r
111 <webidl> readonly attribute <ref>Storage</ref> preferences;</webidl>
\r
117 <Type name="Storage"/>
\r
119 <Attribute readonly="readonly" name="version" id="::W3CWidget::W3CWidget::version">
\r
120 <webidl> readonly attribute DOMString version;</webidl>
\r
126 <Type type="DOMString"/>
\r
128 <Attribute readonly="readonly" name="height" id="::W3CWidget::W3CWidget::height">
\r
129 <webidl> readonly attribute unsigned long height;</webidl>
\r
135 <Type type="unsigned long"/>
\r
137 <Attribute readonly="readonly" name="width" id="::W3CWidget::W3CWidget::width">
\r
138 <webidl> readonly attribute unsigned long width;</webidl>
\r
144 <Type type="unsigned long"/>
\r
147 <Interface name="WindowWidget" id="::W3CWidget::WindowWidget">
\r
148 <webidl> [Supplemental, NoInterfaceObject]
\r
149 interface WindowWidget {
\r
150 readonly attribute <ref>W3CWidget</ref> widget;
\r
152 <ExtendedAttributeList>
\r
153 <ExtendedAttribute name="Supplemental"/>
\r
154 <ExtendedAttribute name="NoInterfaceObject"/>
\r
155 </ExtendedAttributeList>
\r
156 <Attribute readonly="readonly" name="widget" id="::W3CWidget::WindowWidget::widget">
\r
157 <webidl> readonly attribute <ref>W3CWidget</ref> widget;</webidl>
\r
164 The Widget Interface <a href="http://www.w3.org/TR/widgets-apis/">http://www.w3.org/TR/widgets-apis/</a>.
\r
168 <Type name="W3CWidget"/>
\r
171 <Implements name1="Window" name2="WindowWidget">
\r
172 <webidl> <ref>Window</ref> implements <ref>WindowWidget</ref>;</webidl>
\r
175 <Module name="Console" id="::Console">
\r
176 <webidl>[NoInterfaceObject] interface ConsoleObject {
\r
177 readonly attribute <ref>Console</ref> console;
\r
179 <ref>Window</ref> implements <ref>ConsoleObject</ref>;
\r
181 interface Console {
\r
182 void assert(<ref>Object</ref> expression, <ref>Object</ref> data);
\r
184 void count(<ref>Object</ref> label);
\r
185 void debug(<ref>Object</ref>... data);
\r
186 void dir(<ref>Object</ref> data);
\r
187 void dirxml(<ref>Object</ref> data);
\r
188 void error(<ref>Object</ref>... data);
\r
189 void group(<ref>Object</ref>... data);
\r
190 void groupCollapsed(<ref>Object</ref>... data);
\r
192 void info(<ref>Object</ref>... data);
\r
193 void log(<ref>Object</ref>... data);
\r
194 void profile(<ref>Object</ref> label);
\r
196 void time(<ref>Object</ref> label);
\r
197 void timeline(<ref>Object</ref> label);
\r
198 void timeEnd(<ref>Object</ref> label);
\r
199 void timeStamp(<ref>Object</ref> label);
\r
200 void trace(<ref>Object</ref> data);
\r
201 void warn(<ref>Object</ref>... data);
\r
203 <Interface name="ConsoleObject" id="::ConsoleObject">
\r
204 <webidl>[NoInterfaceObject] interface ConsoleObject {
\r
205 readonly attribute <ref>Console</ref> console;
\r
207 <ExtendedAttributeList>
\r
208 <ExtendedAttribute name="NoInterfaceObject">
\r
209 <webidl>NoInterfaceObject</webidl>
\r
210 </ExtendedAttribute>
\r
211 </ExtendedAttributeList>
\r
212 <Attribute readonly="readonly" name="console" id="::ConsoleObject::console">
\r
213 <webidl> readonly attribute <ref>Console</ref> console;</webidl>
\r
214 <Type name="Console"/>
\r
217 <Implements name1="Window" name2="ConsoleObject">
\r
218 <webidl><ref>Window</ref> implements <ref>ConsoleObject</ref>;</webidl>
\r
220 <Interface name="Console" id="::Console">
\r
221 <webidl>interface Console {
\r
222 void assert(<ref>Object</ref> expression, <ref>Object</ref> data);
\r
224 void count(<ref>Object</ref> label);
\r
225 void debug(<ref>Object</ref>... data);
\r
226 void dir(<ref>Object</ref> data);
\r
227 void dirxml(<ref>Object</ref> data);
\r
228 void error(<ref>Object</ref>... data);
\r
229 void group(<ref>Object</ref>... data);
\r
230 void groupCollapsed(<ref>Object</ref>... data);
\r
232 void info(<ref>Object</ref>... data);
\r
233 void log(<ref>Object</ref>... data);
\r
234 void profile(<ref>Object</ref> label);
\r
236 void time(<ref>Object</ref> label);
\r
237 void timeline(<ref>Object</ref> label);
\r
238 void timeEnd(<ref>Object</ref> label);
\r
239 void timeStamp(<ref>Object</ref> label);
\r
240 void trace(<ref>Object</ref> data);
\r
241 void warn(<ref>Object</ref>... data);
\r
243 <Operation name="assert" id="::Console::assert">
\r
244 <webidl> void assert(<ref>Object</ref> expression, <ref>Object</ref> data);</webidl>
\r
245 <Type type="void"/>
\r
247 <Argument name="expression">
\r
248 <Type name="Object"/>
\r
250 <Argument name="data">
\r
251 <Type name="Object"/>
\r
255 <Operation name="clear" id="::Console::clear">
\r
256 <webidl> void clear();</webidl>
\r
257 <Type type="void"/>
\r
260 <Operation name="count" id="::Console::count">
\r
261 <webidl> void count(<ref>Object</ref> label);</webidl>
\r
262 <Type type="void"/>
\r
264 <Argument name="label">
\r
265 <Type name="Object"/>
\r
269 <Operation name="debug" id="::Console::debug">
\r
270 <webidl> void debug(<ref>Object</ref>... data);</webidl>
\r
271 <Type type="void"/>
\r
273 <Argument ellipsis="ellipsis" name="data">
\r
274 <Type name="Object"/>
\r
278 <Operation name="dir" id="::Console::dir">
\r
279 <webidl> void dir(<ref>Object</ref> data);</webidl>
\r
280 <Type type="void"/>
\r
282 <Argument name="data">
\r
283 <Type name="Object"/>
\r
287 <Operation name="dirxml" id="::Console::dirxml">
\r
288 <webidl> void dirxml(<ref>Object</ref> data);</webidl>
\r
289 <Type type="void"/>
\r
291 <Argument name="data">
\r
292 <Type name="Object"/>
\r
296 <Operation name="error" id="::Console::error">
\r
297 <webidl> void error(<ref>Object</ref>... data);</webidl>
\r
298 <Type type="void"/>
\r
300 <Argument ellipsis="ellipsis" name="data">
\r
301 <Type name="Object"/>
\r
305 <Operation name="group" id="::Console::group">
\r
306 <webidl> void group(<ref>Object</ref>... data);</webidl>
\r
307 <Type type="void"/>
\r
309 <Argument ellipsis="ellipsis" name="data">
\r
310 <Type name="Object"/>
\r
314 <Operation name="groupCollapsed" id="::Console::groupCollapsed">
\r
315 <webidl> void groupCollapsed(<ref>Object</ref>... data);</webidl>
\r
316 <Type type="void"/>
\r
318 <Argument ellipsis="ellipsis" name="data">
\r
319 <Type name="Object"/>
\r
323 <Operation name="groupEnd" id="::Console::groupEnd">
\r
324 <webidl> void groupEnd();</webidl>
\r
325 <Type type="void"/>
\r
328 <Operation name="info" id="::Console::info">
\r
329 <webidl> void info(<ref>Object</ref>... data);</webidl>
\r
330 <Type type="void"/>
\r
332 <Argument ellipsis="ellipsis" name="data">
\r
333 <Type name="Object"/>
\r
337 <Operation name="log" id="::Console::log">
\r
338 <webidl> void log(<ref>Object</ref>... data);</webidl>
\r
339 <Type type="void"/>
\r
341 <Argument ellipsis="ellipsis" name="data">
\r
342 <Type name="Object"/>
\r
346 <Operation name="profile" id="::Console::profile">
\r
347 <webidl> void profile(<ref>Object</ref> label);</webidl>
\r
348 <Type type="void"/>
\r
350 <Argument name="label">
\r
351 <Type name="Object"/>
\r
355 <Operation name="profileEnd" id="::Console::profileEnd">
\r
356 <webidl> void profileEnd();</webidl>
\r
357 <Type type="void"/>
\r
360 <Operation name="time" id="::Console::time">
\r
361 <webidl> void time(<ref>Object</ref> label);</webidl>
\r
362 <Type type="void"/>
\r
364 <Argument name="label">
\r
365 <Type name="Object"/>
\r
369 <Operation name="timeline" id="::Console::timeline">
\r
370 <webidl> void timeline(<ref>Object</ref> label);</webidl>
\r
371 <Type type="void"/>
\r
373 <Argument name="label">
\r
374 <Type name="Object"/>
\r
378 <Operation name="timeEnd" id="::Console::timeEnd">
\r
379 <webidl> void timeEnd(<ref>Object</ref> label);</webidl>
\r
380 <Type type="void"/>
\r
382 <Argument name="label">
\r
383 <Type name="Object"/>
\r
387 <Operation name="timeStamp" id="::Console::timeStamp">
\r
388 <webidl> void timeStamp(<ref>Object</ref> label);</webidl>
\r
389 <Type type="void"/>
\r
391 <Argument name="label">
\r
392 <Type name="Object"/>
\r
396 <Operation name="trace" id="::Console::trace">
\r
397 <webidl> void trace(<ref>Object</ref> data);</webidl>
\r
398 <Type type="void"/>
\r
400 <Argument name="data">
\r
401 <Type name="Object"/>
\r
405 <Operation name="warn" id="::Console::warn">
\r
406 <webidl> void warn(<ref>Object</ref>... data);</webidl>
\r
407 <Type type="void"/>
\r
409 <Argument ellipsis="ellipsis" name="data">
\r
410 <Type name="Object"/>
\r