diff options
Diffstat (limited to 'Source/WebCore/page/Screen.idl')
-rw-r--r-- | Source/WebCore/page/Screen.idl | 29 |
1 files changed, 13 insertions, 16 deletions
diff --git a/Source/WebCore/page/Screen.idl b/Source/WebCore/page/Screen.idl index 588060914..ee3cc30ae 100644 --- a/Source/WebCore/page/Screen.idl +++ b/Source/WebCore/page/Screen.idl @@ -27,20 +27,17 @@ */ -module window { +[ + JSGenerateIsReachable=ImplFrame, + OmitConstructor +] interface Screen { + readonly attribute unsigned long height; + readonly attribute unsigned long width; + readonly attribute unsigned long colorDepth; + readonly attribute unsigned long pixelDepth; + readonly attribute long availLeft; + readonly attribute long availTop; + readonly attribute unsigned long availHeight; + readonly attribute unsigned long availWidth; +}; - interface [ - JSGenerateIsReachable=ImplFrame, - OmitConstructor - ] Screen { - readonly attribute unsigned long height; - readonly attribute unsigned long width; - readonly attribute unsigned long colorDepth; - readonly attribute unsigned long pixelDepth; - readonly attribute long availLeft; - readonly attribute long availTop; - readonly attribute unsigned long availHeight; - readonly attribute unsigned long availWidth; - }; - -} |