#include <sbWindowWatcher.h>
Public Member Functions | |
virtual | ~sbWindowWatcherWaitForWindow () |
nsresult | Wait (const nsAString &aWindowType) |
Wait until a window of the type specified by aWindowType is available or until shutdown. More... | |
Public Member Functions inherited from sbICallWithWindowCallback | |
void | handleWindowCallback (in nsIDOMWindow aWindow) |
Handle the callback with the window specified by aWindow. More... | |
Static Public Member Functions | |
NS_DECL_ISUPPORTS static NS_DECL_SBICALLWITHWINDOWCALLBACK nsresult | New (sbWindowWatcherWaitForWindow **aWaitForWindow) |
This class gets windows of a specified type and will wait until a window of the specified type is available and ready.
Definition at line 330 of file sbWindowWatcher.h.
|
virtual |
Destroy the wait for window object.
Definition at line 1219 of file sbWindowWatcher.cpp.
|
static |
Create a new instance of a wait for window object and return it in aWaitForWindow.
aWaitForWindow | Wait for window object. |
Definition at line 1191 of file sbWindowWatcher.cpp.
nsresult sbWindowWatcherWaitForWindow::Wait | ( | const nsAString & | aWindowType | ) |
Wait until a window of the type specified by aWindowType is available or until shutdown.
aWindowType | Type of window to get. |
Definition at line 1240 of file sbWindowWatcher.cpp.