зеркало из https://github.com/mozilla/pjs.git
Updated DOM idl files including new idl for window.screen and window.history
This commit is contained in:
Родитель
31c07ef03c
Коммит
63ccddb0ef
|
@ -0,0 +1,13 @@
|
|||
interface History {
|
||||
/* IID: { 0x896d1d20, 0xb4c4, 0x11d2, \
|
||||
{ 0xbd, 0x93, 0x00, 0x80, 0x5f, 0x8a, 0xe3, 0xf4 } } */
|
||||
|
||||
readonly attribute int length;
|
||||
readonly attribute wstring current;
|
||||
readonly attribute wstring previous;
|
||||
readonly attribute wstring next;
|
||||
|
||||
void back();
|
||||
void forward();
|
||||
void go(in int index);
|
||||
};
|
|
@ -0,0 +1,13 @@
|
|||
interface Screen {
|
||||
/* IID: { 0x77947960, 0xb4af, 0x11d2, \
|
||||
{ 0xbd, 0x93, 0x00, 0x80, 0x5f, 0x8a, 0xe3, 0xf4 } } */
|
||||
|
||||
readonly attribute int width;
|
||||
readonly attribute int height;
|
||||
readonly attribute int pixelDepth;
|
||||
readonly attribute int colorDepth;
|
||||
readonly attribute int availWidth;
|
||||
readonly attribute int availHeight;
|
||||
readonly attribute int availLeft;
|
||||
readonly attribute int availTop;
|
||||
};
|
|
@ -6,6 +6,8 @@
|
|||
readonly attribute Window self;
|
||||
readonly attribute Document document;
|
||||
readonly attribute Navigator navigator;
|
||||
readonly attribute Screen screen;
|
||||
readonly attribute History history;
|
||||
readonly attribute Window parent;
|
||||
readonly attribute Window top;
|
||||
readonly attribute boolean closed;
|
||||
|
|
|
@ -20,7 +20,7 @@ IGNORE_MANIFEST=1
|
|||
|
||||
MODULE=raptor
|
||||
|
||||
IDLSRCS= Navigator.idl Location.idl WindowCollection.idl
|
||||
IDLSRCS= Navigator.idl Location.idl WindowCollection.idl Screen.idl History.idl
|
||||
|
||||
GLOBAL_IDLSRC= Window.idl
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче