Removed all the LoadURL methods from the webshell API. Added a new API to allow loading for the old session history. This is needed until the new session history is online.

git-svn-id: svn://10.0.0.236/trunk@64819 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
tbogard%aol.net
2000-04-01 00:29:36 +00:00
parent 9cf49ff354
commit e85dbd5313
3 changed files with 24 additions and 38 deletions

View File

@@ -252,6 +252,10 @@ public:
const PRUnichar* aReferrer=nsnull,
const char * aWindowTarget = nsnull);
NS_IMETHOD SessionHistoryInternalLoadURL(const PRUnichar *aURLSpec,
nsLoadFlags aType, nsISupports * aHistoryState, const PRUnichar* aReferrer);
NS_IMETHOD GetCanGoBack(PRBool* aCanGoBack);
NS_IMETHOD GetCanGoForward(PRBool* aCanGoForward);
NS_IMETHOD GoBack();
@@ -1812,6 +1816,12 @@ NS_IMETHODIMP nsWebShell::Stop(void)
//----------------------------------------
NS_IMETHODIMP nsWebShell::SessionHistoryInternalLoadURL(const PRUnichar *aURLSpec,
nsLoadFlags aType, nsISupports * aHistoryState, const PRUnichar* aReferrer)
{
return LoadURL(aURLSpec, nsnull, PR_FALSE, aType, 0, aHistoryState, aReferrer);
}
// History methods
NS_IMETHODIMP