new method IsModal. bug 56677 r=brendan,hyatt

git-svn-id: svn://10.0.0.236/trunk@82446 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
danm%netscape.com
2000-11-09 00:16:29 +00:00
parent a400e8c18d
commit f7c68cea67
5 changed files with 49 additions and 12 deletions

View File

@@ -250,6 +250,14 @@ NS_IMETHODIMP nsDocShellTreeOwner::ShowModal()
return mWebBrowserChrome->ShowAsModal();
}
NS_IMETHODIMP nsDocShellTreeOwner::IsModal(PRBool *_retval)
{
if(mTreeOwner)
return mTreeOwner->IsModal(_retval);
return mWebBrowserChrome->IsWindowModal(_retval);
}
NS_IMETHODIMP nsDocShellTreeOwner::ExitModalLoop(nsresult aStatus)
{
if(mTreeOwner)