mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-30 10:12:59 +00:00
Added GetWebShell method
This commit is contained in:
parent
2074e5a217
commit
d4bc9306c6
@ -248,6 +248,18 @@ GlobalWindowImpl::SetWebShell(nsIWebShell *aWebShell)
|
||||
}
|
||||
}
|
||||
|
||||
NS_IMETHODIMP_(void) // XXX This may be temporary - rods
|
||||
GlobalWindowImpl::GetWebShell(nsIWebShell **aWebShell)
|
||||
{
|
||||
if (nsnull != mWebShell) {
|
||||
*aWebShell = mWebShell;
|
||||
NS_ADDREF(mWebShell);
|
||||
} else {
|
||||
//*mWebShell = nsnull;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
NS_IMETHODIMP_(void)
|
||||
GlobalWindowImpl::SetOpenerWindow(nsIDOMWindow *aOpener)
|
||||
{
|
||||
|
@ -65,6 +65,7 @@ public:
|
||||
NS_IMETHOD_(void) SetContext(nsIScriptContext *aContext);
|
||||
NS_IMETHOD_(void) SetNewDocument(nsIDOMDocument *aDocument);
|
||||
NS_IMETHOD_(void) SetWebShell(nsIWebShell *aWebShell);
|
||||
NS_IMETHOD_(void) GetWebShell(nsIWebShell **aWebShell);// XXX This may be temporary - rods
|
||||
NS_IMETHOD_(void) SetOpenerWindow(nsIDOMWindow *aOpener);
|
||||
|
||||
NS_IMETHOD GetWindow(nsIDOMWindow** aWindow);
|
||||
|
Loading…
x
Reference in New Issue
Block a user