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.
This commit is contained in:
Родитель
6d25d2af11
Коммит
881de3ae1b
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -95,7 +95,6 @@ private:
|
|||
nsCOMPtr<nsISupports> mWindowState;
|
||||
nsRect mViewerBounds;
|
||||
nsVoidArray mChildShells;
|
||||
nsCOMPtr<nsISupports> mSecurityState;
|
||||
nsCOMPtr<nsISupportsArray> mRefreshURIList;
|
||||
};
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче