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.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user