Fix assorted issues with fastback, including adding progress listener notifications and introducing the PageHide and PageShow events. See bug 292971 for all of the details. r=darin, sr=bzbarsky, a=shaver.

git-svn-id: svn://10.0.0.236/trunk@178145 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bryner%brianryner.com
2005-08-18 11:17:03 +00:00
parent f56401ce04
commit ed7abec824
3 changed files with 1 additions and 20 deletions

View File

@@ -55,7 +55,7 @@ struct nsRect;
%}
[ref] native nsRect(nsRect);
[scriptable, uuid(e47bf412-3bc2-4306-a82f-ea2bdf950432)]
[scriptable, uuid(a19c4489-4a71-42e1-b150-61366547030d)]
interface nsISHEntry : nsIHistoryEntry
{
/** URI for the document */
@@ -102,9 +102,6 @@ interface nsISHEntry : nsIHistoryEntry
*/
void clearChildShells();
/** Saved security state for the content viewer */
attribute nsISupports securityState;
/** Saved refresh URI list for the content viewer */
attribute nsISupportsArray refreshURIList;

View File

@@ -500,20 +500,6 @@ nsSHEntry::ClearChildShells()
return NS_OK;
}
NS_IMETHODIMP
nsSHEntry::GetSecurityState(nsISupports **aState)
{
NS_IF_ADDREF(*aState = mSecurityState);
return NS_OK;
}
NS_IMETHODIMP
nsSHEntry::SetSecurityState(nsISupports *aState)
{
mSecurityState = aState;
return NS_OK;
}
NS_IMETHODIMP
nsSHEntry::GetRefreshURIList(nsISupportsArray **aList)
{
@@ -545,7 +531,6 @@ nsSHEntry::SyncPresentationState()
mWindowState = nsnull;
mViewerBounds.SetRect(0, 0, 0, 0);
mChildShells.Clear();
mSecurityState = nsnull;
mRefreshURIList = nsnull;
return NS_OK;
}

View File

@@ -95,7 +95,6 @@ private:
nsCOMPtr<nsISupports> mWindowState;
nsRect mViewerBounds;
nsVoidArray mChildShells;
nsCOMPtr<nsISupports> mSecurityState;
nsCOMPtr<nsISupportsArray> mRefreshURIList;
};