bug #37434. Added an attribute to nsIDocShellLoadInfo to indicate whether the active document should be stopped immediately...

This commit is contained in:
rpotts@netscape.com
2000-09-10 06:00:46 +00:00
parent 4642a648a0
commit 37dbf0449c
6 changed files with 35 additions and 12 deletions
+14
View File
@@ -98,6 +98,20 @@ NS_IMETHODIMP nsDocShellLoadInfo::SetInheritOwner(PRBool aInheritOwner)
return NS_OK;
}
NS_IMETHODIMP nsDocShellLoadInfo::GetStopActiveDocument(PRBool* aStopDocument)
{
NS_ENSURE_ARG_POINTER(aStopDocument);
*aStopDocument = mStopActiveDocument;
return NS_OK;
}
NS_IMETHODIMP nsDocShellLoadInfo::SetStopActiveDocument(PRBool aStopDocument)
{
mStopActiveDocument = aStopDocument;
return NS_OK;
}
NS_IMETHODIMP nsDocShellLoadInfo::GetLoadType(nsDocShellInfoLoadType * aLoadType)
{
NS_ENSURE_ARG_POINTER(aLoadType);