1998-10-20 17:07:23 +00:00
|
|
|
interface Window {
|
|
|
|
/* IID: { 0xa6cf906b, 0x15b3, 0x11d2, \
|
|
|
|
{ 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 } } */
|
|
|
|
readonly attribute Window window;
|
|
|
|
readonly attribute Window self;
|
|
|
|
readonly attribute Document document;
|
|
|
|
readonly attribute Navigator navigator;
|
1999-01-28 22:20:01 +00:00
|
|
|
readonly attribute Screen screen;
|
|
|
|
readonly attribute History history;
|
1998-10-20 17:07:23 +00:00
|
|
|
readonly attribute Window parent;
|
|
|
|
readonly attribute Window top;
|
1999-06-26 21:48:29 +00:00
|
|
|
readonly attribute Window content;
|
1999-06-09 19:04:18 +00:00
|
|
|
readonly attribute BarProp menubar;
|
|
|
|
readonly attribute BarProp toolbar;
|
|
|
|
readonly attribute BarProp locationbar;
|
|
|
|
readonly attribute BarProp personalbar;
|
|
|
|
readonly attribute BarProp statusbar;
|
|
|
|
readonly attribute BarProp scrollbars;
|
|
|
|
readonly attribute BarProp directories;
|
1998-10-20 17:07:23 +00:00
|
|
|
readonly attribute boolean closed;
|
|
|
|
readonly attribute WindowCollection frames;
|
|
|
|
attribute Window opener;
|
|
|
|
attribute wstring status;
|
|
|
|
attribute wstring defaultStatus;
|
|
|
|
attribute wstring name;
|
|
|
|
attribute long innerWidth;
|
|
|
|
attribute long innerHeight;
|
|
|
|
attribute long outerWidth;
|
|
|
|
attribute long outerHeight;
|
|
|
|
attribute long screenX;
|
|
|
|
attribute long screenY;
|
|
|
|
attribute long pageXOffset;
|
|
|
|
attribute long pageYOffset;
|
|
|
|
|
|
|
|
void dump(in wstring str);
|
1999-06-11 23:57:25 +00:00
|
|
|
void alert(/* ... */);
|
|
|
|
boolean confirm(/* ... */);
|
|
|
|
DOMString prompt(/* ... */);
|
1998-10-20 17:07:23 +00:00
|
|
|
void focus();
|
|
|
|
void blur();
|
|
|
|
void close();
|
|
|
|
void back();
|
|
|
|
void forward();
|
|
|
|
void home();
|
|
|
|
void stop();
|
1999-01-27 04:15:19 +00:00
|
|
|
void print();
|
1998-10-20 17:07:23 +00:00
|
|
|
|
|
|
|
void moveTo(in long xPos, in long yPos);
|
|
|
|
void moveBy(in long xDif, in long yDif);
|
|
|
|
void resizeTo(in long width, in long height);
|
|
|
|
void resizeBy(in long widthDif, in long heightDif);
|
|
|
|
void scrollTo(in long xScroll, in long yScroll);
|
|
|
|
void scrollBy(in long xScrollDif, in long yScrollDif);
|
1999-01-06 17:22:34 +00:00
|
|
|
|
1998-10-20 17:07:23 +00:00
|
|
|
void clearTimeout(in long timerID);
|
|
|
|
void clearInterval(in long timerID);
|
|
|
|
long setTimeout(/* ... */);
|
|
|
|
long setInterval(/* ... */);
|
1999-05-14 18:54:25 +00:00
|
|
|
|
1999-07-01 00:07:41 +00:00
|
|
|
Window createPopup(in Element element, in Element popupContent,
|
|
|
|
in long xPos, in long yPos,
|
|
|
|
in DOMString popupType, in DOMString anchorAlignment,
|
|
|
|
in DOMString popupAlignment);
|
|
|
|
|
1998-10-20 17:07:23 +00:00
|
|
|
Window open(/* ... */);
|
1999-05-14 03:10:51 +00:00
|
|
|
Window openDialog(/* ... */);
|
1998-10-20 17:07:23 +00:00
|
|
|
};
|
|
|
|
|
1999-03-28 22:19:42 +00:00
|
|
|
interface EventCapturer : EventReceiver {
|
1998-10-20 17:07:23 +00:00
|
|
|
/* IID: { 0xa6cf906c, 0x15b3, 0x11d2, \
|
|
|
|
{ 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 } } */
|
|
|
|
|
1999-03-28 22:19:42 +00:00
|
|
|
void captureEvent(in wstring type);
|
|
|
|
void releaseEvent(in wstring type);
|
|
|
|
};
|
|
|
|
|
|
|
|
interface EventTarget {
|
|
|
|
/* IID: { 0x1c773b30, 0xd1cf, 0x11d2, \
|
|
|
|
{ 0xbd, 0x95, 0x00, 0x80, 0x5f, 0x8a, 0xe3, 0xf4 } } */
|
|
|
|
|
1999-07-19 19:54:34 +00:00
|
|
|
void addEventListener(in DOMString type, in function EventListener listener, in boolean useCapture);
|
|
|
|
void removeEventListener(in DOMString type, in function EventListener listener, in boolean useCapture);
|
1999-03-28 22:19:42 +00:00
|
|
|
};
|