bug #37434. Added an attribute to nsIDocShellLoadInfo to indicate whether the active document should be stopped immediately...
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user