EDITOR: Support content assist of console object
[profile/ivi/sdk/web-ide-resources.git] / widlprocxmls / w3c.widl
1 module W3CWidget
2 {
3     [NoInterfaceObject]
4     interface W3CWidget {
5         /**
6          * \brief Author of widget.
7          */
8         readonly attribute DOMString     author;
9         /**
10          * \brief Author e-mail.
11          */
12                 readonly attribute DOMString     authorEmail;
13         /**
14          * \brief Author web site.
15          */
16         readonly attribute DOMString     authorHref;
17         /**
18          * \brief Description of widget.
19          */
20                 readonly attribute DOMString     description;
21         /**
22          * \brief Identifier of widget.
23          */
24                 readonly attribute DOMString     id;
25         /**
26          * \brief Name of widget.
27          */
28                 readonly attribute DOMString     name;
29         /**
30          * \brief Short name of widget.
31          */
32                 readonly attribute DOMString     shortName;
33         /**
34          * \brief Preferences.
35          */
36                 readonly attribute Storage       preferences;
37         /**
38          * \brief Version of widget.
39          */
40                 readonly attribute DOMString     version;
41         /**
42          * \brief Height of widget.
43          */
44                 readonly attribute unsigned long height;
45         /**
46          * \brief Width of widget.
47          */
48                 readonly attribute unsigned long width;
49     };
50
51     [Supplemental, NoInterfaceObject]
52     interface WindowWidget {
53       /**
54        * \brief W3C Widget.
55        *
56        * The Widget Interface \<a href="http://www.w3.org/TR/widgets-apis/"\>http://www.w3.org/TR/widgets-apis/\</a\>.
57        */
58       readonly attribute W3CWidget widget;
59     };
60
61     Window implements WindowWidget;
62 };