Fix 41269. WIP on 31189. r/a=gagan

git-svn-id: svn://10.0.0.236/trunk@71387 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
ruslan%netscape.com
2000-06-02 21:02:31 +00:00
parent 149c755d54
commit b71f202bd0
5 changed files with 47 additions and 11 deletions

View File

@@ -27,7 +27,8 @@
//*** nsDocShellLoadInfo: Object Management
//*****************************************************************************
nsDocShellLoadInfo::nsDocShellLoadInfo() : mReplaceSessionHistorySlot(PR_FALSE)
nsDocShellLoadInfo::nsDocShellLoadInfo() : mReplaceSessionHistorySlot(PR_FALSE),
mRefresh(PR_FALSE)
{
NS_INIT_REFCNT();
}
@@ -81,6 +82,20 @@ NS_IMETHODIMP nsDocShellLoadInfo::SetReplaceSessionHistorySlot(PRBool aReplace)
return NS_OK;
}
NS_IMETHODIMP nsDocShellLoadInfo::GetRefresh(PRBool* aRefresh)
{
NS_ENSURE_ARG_POINTER(aRefresh);
*aRefresh = mRefresh;
return NS_OK;
}
NS_IMETHODIMP nsDocShellLoadInfo::SetRefresh(PRBool aRefresh)
{
mRefresh = aRefresh;
return NS_OK;
}
//*****************************************************************************
// nsDocShellLoadInfo: Helpers
//*****************************************************************************