EDITOR: Support content assist of console object
[profile/ivi/sdk/web-ide-resources.git] / widlprocxmls / w3cwidget.widlprocxml
1 <?xml version="1.0" encoding="UTF-8"?>\r
2 <!DOCTYPE Definitions SYSTEM "widlprocxml.dtd">\r
3 <Definitions>\r
4   <Module name="W3CWidget" id="::W3CWidget">\r
5     <webidl>module W3CWidget\r
6 {\r
7     [NoInterfaceObject]\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
20     };\r
21 \r
22     [Supplemental, NoInterfaceObject]\r
23     interface WindowWidget {\r
24       readonly attribute <ref>W3CWidget</ref> widget;\r
25     };\r
26 \r
27     <ref>Window</ref> implements <ref>WindowWidget</ref>;\r
28 };</webidl>\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
43     };</webidl>\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
49         <descriptive>\r
50             <brief>\r
51  Author of widget.\r
52             </brief>\r
53         </descriptive>\r
54         <Type type="DOMString"/>\r
55       </Attribute>\r
56       <Attribute readonly="readonly" name="authorEmail" id="::W3CWidget::W3CWidget::authorEmail">\r
57         <webidl>                readonly attribute DOMString     authorEmail;</webidl>\r
58         <descriptive>\r
59             <brief>\r
60  Author e-mail.\r
61             </brief>\r
62         </descriptive>\r
63         <Type type="DOMString"/>\r
64       </Attribute>\r
65       <Attribute readonly="readonly" name="authorHref" id="::W3CWidget::W3CWidget::authorHref">\r
66         <webidl>        readonly attribute DOMString     authorHref;</webidl>\r
67         <descriptive>\r
68             <brief>\r
69  Author web site.\r
70             </brief>\r
71         </descriptive>\r
72         <Type type="DOMString"/>\r
73       </Attribute>\r
74       <Attribute readonly="readonly" name="description" id="::W3CWidget::W3CWidget::description">\r
75         <webidl>                readonly attribute DOMString     description;</webidl>\r
76         <descriptive>\r
77             <brief>\r
78  Description of widget.\r
79             </brief>\r
80         </descriptive>\r
81         <Type type="DOMString"/>\r
82       </Attribute>\r
83       <Attribute readonly="readonly" name="id" id="::W3CWidget::W3CWidget::id">\r
84         <webidl>                readonly attribute DOMString     id;</webidl>\r
85         <descriptive>\r
86             <brief>\r
87  Identifier of widget.\r
88             </brief>\r
89         </descriptive>\r
90         <Type type="DOMString"/>\r
91       </Attribute>\r
92       <Attribute readonly="readonly" name="name" id="::W3CWidget::W3CWidget::name">\r
93         <webidl>                readonly attribute DOMString     name;</webidl>\r
94         <descriptive>\r
95             <brief>\r
96  Name of widget.\r
97             </brief>\r
98         </descriptive>\r
99         <Type type="DOMString"/>\r
100       </Attribute>\r
101       <Attribute readonly="readonly" name="shortName" id="::W3CWidget::W3CWidget::shortName">\r
102         <webidl>                readonly attribute DOMString     shortName;</webidl>\r
103         <descriptive>\r
104             <brief>\r
105  Short name of widget.\r
106             </brief>\r
107         </descriptive>\r
108         <Type type="DOMString"/>\r
109       </Attribute>\r
110       <Attribute readonly="readonly" name="preferences" id="::W3CWidget::W3CWidget::preferences">\r
111         <webidl>                readonly attribute <ref>Storage</ref>       preferences;</webidl>\r
112         <descriptive>\r
113             <brief>\r
114  Preferences.\r
115             </brief>\r
116         </descriptive>\r
117         <Type name="Storage"/>\r
118       </Attribute>\r
119       <Attribute readonly="readonly" name="version" id="::W3CWidget::W3CWidget::version">\r
120         <webidl>                readonly attribute DOMString     version;</webidl>\r
121         <descriptive>\r
122             <brief>\r
123  Version of widget.\r
124             </brief>\r
125         </descriptive>\r
126         <Type type="DOMString"/>\r
127       </Attribute>\r
128       <Attribute readonly="readonly" name="height" id="::W3CWidget::W3CWidget::height">\r
129         <webidl>                readonly attribute unsigned long height;</webidl>\r
130         <descriptive>\r
131             <brief>\r
132  Height of widget.\r
133             </brief>\r
134         </descriptive>\r
135         <Type type="unsigned long"/>\r
136       </Attribute>\r
137       <Attribute readonly="readonly" name="width" id="::W3CWidget::W3CWidget::width">\r
138         <webidl>                readonly attribute unsigned long width;</webidl>\r
139         <descriptive>\r
140             <brief>\r
141  Width of widget.\r
142             </brief>\r
143         </descriptive>\r
144         <Type type="unsigned long"/>\r
145       </Attribute>\r
146     </Interface>\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
151     };</webidl>\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
158         <descriptive>\r
159             <brief>\r
160  W3C Widget.\r
161             </brief>\r
162            <description>\r
163             <p>\r
164 The Widget Interface &lt;a href=&quot;http://www.w3.org/TR/widgets-apis/&quot;>http://www.w3.org/TR/widgets-apis/&lt;/a>.\r
165             </p>\r
166            </description>\r
167         </descriptive>\r
168         <Type name="W3CWidget"/>\r
169       </Attribute>\r
170     </Interface>\r
171     <Implements name1="Window" name2="WindowWidget">\r
172       <webidl>    <ref>Window</ref> implements <ref>WindowWidget</ref>;</webidl>\r
173     </Implements>\r
174   </Module>\r
175   <Module name="Console" id="::Console">\r
176   <webidl>[NoInterfaceObject] interface ConsoleObject {\r
177   readonly attribute <ref>Console</ref> console;\r
178 };\r
179 <ref>Window</ref> implements <ref>ConsoleObject</ref>;\r
180 \r
181 interface Console {\r
182   void assert(<ref>Object</ref> expression, <ref>Object</ref> data);\r
183   void clear();\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
191   void groupEnd();\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
195   void profileEnd();\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
202 };</webidl>\r
203   <Interface name="ConsoleObject" id="::ConsoleObject">\r
204     <webidl>[NoInterfaceObject] interface ConsoleObject {\r
205   readonly attribute <ref>Console</ref> console;\r
206 };</webidl>\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
215     </Attribute>\r
216   </Interface>\r
217   <Implements name1="Window" name2="ConsoleObject">\r
218     <webidl><ref>Window</ref> implements <ref>ConsoleObject</ref>;</webidl>\r
219   </Implements>\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
223   void clear();\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
231   void groupEnd();\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
235   void profileEnd();\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
242 };</webidl>\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
246       <ArgumentList>\r
247         <Argument name="expression">\r
248           <Type name="Object"/>\r
249         </Argument>\r
250         <Argument name="data">\r
251           <Type name="Object"/>\r
252         </Argument>\r
253       </ArgumentList>\r
254     </Operation>\r
255     <Operation name="clear" id="::Console::clear">\r
256       <webidl>  void clear();</webidl>\r
257       <Type type="void"/>\r
258       <ArgumentList/>\r
259     </Operation>\r
260     <Operation name="count" id="::Console::count">\r
261       <webidl>  void count(<ref>Object</ref> label);</webidl>\r
262       <Type type="void"/>\r
263       <ArgumentList>\r
264         <Argument name="label">\r
265           <Type name="Object"/>\r
266         </Argument>\r
267       </ArgumentList>\r
268     </Operation>\r
269     <Operation name="debug" id="::Console::debug">\r
270       <webidl>  void debug(<ref>Object</ref>... data);</webidl>\r
271       <Type type="void"/>\r
272       <ArgumentList>\r
273         <Argument ellipsis="ellipsis" name="data">\r
274           <Type name="Object"/>\r
275         </Argument>\r
276       </ArgumentList>\r
277     </Operation>\r
278     <Operation name="dir" id="::Console::dir">\r
279       <webidl>  void dir(<ref>Object</ref> data);</webidl>\r
280       <Type type="void"/>\r
281       <ArgumentList>\r
282         <Argument name="data">\r
283           <Type name="Object"/>\r
284         </Argument>\r
285       </ArgumentList>\r
286     </Operation>\r
287     <Operation name="dirxml" id="::Console::dirxml">\r
288       <webidl>  void dirxml(<ref>Object</ref> data);</webidl>\r
289       <Type type="void"/>\r
290       <ArgumentList>\r
291         <Argument name="data">\r
292           <Type name="Object"/>\r
293         </Argument>\r
294       </ArgumentList>\r
295     </Operation>\r
296     <Operation name="error" id="::Console::error">\r
297       <webidl>  void error(<ref>Object</ref>... data);</webidl>\r
298       <Type type="void"/>\r
299       <ArgumentList>\r
300         <Argument ellipsis="ellipsis" name="data">\r
301           <Type name="Object"/>\r
302         </Argument>\r
303       </ArgumentList>\r
304     </Operation>\r
305     <Operation name="group" id="::Console::group">\r
306       <webidl>  void group(<ref>Object</ref>... data);</webidl>\r
307       <Type type="void"/>\r
308       <ArgumentList>\r
309         <Argument ellipsis="ellipsis" name="data">\r
310           <Type name="Object"/>\r
311         </Argument>\r
312       </ArgumentList>\r
313     </Operation>\r
314     <Operation name="groupCollapsed" id="::Console::groupCollapsed">\r
315       <webidl>  void groupCollapsed(<ref>Object</ref>... data);</webidl>\r
316       <Type type="void"/>\r
317       <ArgumentList>\r
318         <Argument ellipsis="ellipsis" name="data">\r
319           <Type name="Object"/>\r
320         </Argument>\r
321       </ArgumentList>\r
322     </Operation>\r
323     <Operation name="groupEnd" id="::Console::groupEnd">\r
324       <webidl>  void groupEnd();</webidl>\r
325       <Type type="void"/>\r
326       <ArgumentList/>\r
327     </Operation>\r
328     <Operation name="info" id="::Console::info">\r
329       <webidl>  void info(<ref>Object</ref>... data);</webidl>\r
330       <Type type="void"/>\r
331       <ArgumentList>\r
332         <Argument ellipsis="ellipsis" name="data">\r
333           <Type name="Object"/>\r
334         </Argument>\r
335       </ArgumentList>\r
336     </Operation>\r
337     <Operation name="log" id="::Console::log">\r
338       <webidl>  void log(<ref>Object</ref>... data);</webidl>\r
339       <Type type="void"/>\r
340       <ArgumentList>\r
341         <Argument ellipsis="ellipsis" name="data">\r
342           <Type name="Object"/>\r
343         </Argument>\r
344       </ArgumentList>\r
345     </Operation>\r
346     <Operation name="profile" id="::Console::profile">\r
347       <webidl>  void profile(<ref>Object</ref> label);</webidl>\r
348       <Type type="void"/>\r
349       <ArgumentList>\r
350         <Argument name="label">\r
351           <Type name="Object"/>\r
352         </Argument>\r
353       </ArgumentList>\r
354     </Operation>\r
355     <Operation name="profileEnd" id="::Console::profileEnd">\r
356       <webidl>  void profileEnd();</webidl>\r
357       <Type type="void"/>\r
358       <ArgumentList/>\r
359     </Operation>\r
360     <Operation name="time" id="::Console::time">\r
361       <webidl>  void time(<ref>Object</ref> label);</webidl>\r
362       <Type type="void"/>\r
363       <ArgumentList>\r
364         <Argument name="label">\r
365           <Type name="Object"/>\r
366         </Argument>\r
367       </ArgumentList>\r
368     </Operation>\r
369     <Operation name="timeline" id="::Console::timeline">\r
370       <webidl>  void timeline(<ref>Object</ref> label);</webidl>\r
371       <Type type="void"/>\r
372       <ArgumentList>\r
373         <Argument name="label">\r
374           <Type name="Object"/>\r
375         </Argument>\r
376       </ArgumentList>\r
377     </Operation>\r
378     <Operation name="timeEnd" id="::Console::timeEnd">\r
379       <webidl>  void timeEnd(<ref>Object</ref> label);</webidl>\r
380       <Type type="void"/>\r
381       <ArgumentList>\r
382         <Argument name="label">\r
383           <Type name="Object"/>\r
384         </Argument>\r
385       </ArgumentList>\r
386     </Operation>\r
387     <Operation name="timeStamp" id="::Console::timeStamp">\r
388       <webidl>  void timeStamp(<ref>Object</ref> label);</webidl>\r
389       <Type type="void"/>\r
390       <ArgumentList>\r
391         <Argument name="label">\r
392           <Type name="Object"/>\r
393         </Argument>\r
394       </ArgumentList>\r
395     </Operation>\r
396     <Operation name="trace" id="::Console::trace">\r
397       <webidl>  void trace(<ref>Object</ref> data);</webidl>\r
398       <Type type="void"/>\r
399       <ArgumentList>\r
400         <Argument name="data">\r
401           <Type name="Object"/>\r
402         </Argument>\r
403       </ArgumentList>\r
404     </Operation>\r
405     <Operation name="warn" id="::Console::warn">\r
406       <webidl>  void warn(<ref>Object</ref>... data);</webidl>\r
407       <Type type="void"/>\r
408       <ArgumentList>\r
409         <Argument ellipsis="ellipsis" name="data">\r
410           <Type name="Object"/>\r
411         </Argument>\r
412       </ArgumentList>\r
413     </Operation>\r
414   </Interface>\r
415   </Module>\r
416 </Definitions>\r