This commit is contained in:
sspitzer%netscape.com 1999-06-16 02:25:34 +00:00
Родитель 36a6ac8cd6
Коммит e6d83cd3e9
1 изменённых файлов: 14 добавлений и 1 удалений

Просмотреть файл

@ -637,6 +637,11 @@ public:
*/ */
NS_IMETHOD Back(nsIWebShell * prev); NS_IMETHOD Back(nsIWebShell * prev);
/**
* Reload the current history entry
*/
NS_IMETHOD Reload(nsURLReloadType aReloadType);
/** /**
* whether you can go forward in History * whether you can go forward in History
*/ */
@ -1234,7 +1239,7 @@ nsSessionHistory::Goto(PRInt32 aGotoIndex, nsIWebShell * prev)
mHistoryEntryInLoad = hCurrentEntry; mHistoryEntryInLoad = hCurrentEntry;
//Load the page //Load the page
PRUnichar * url=nsnull; const PRUnichar * url;
hCurrentEntry->GetURL(&url); hCurrentEntry->GetURL(&url);
nsString urlString(url); nsString urlString(url);
if (APP_DEBUG) printf("nsSessionHistory::Goto, Trying to load URL %s\n", urlString.ToNewCString()); if (APP_DEBUG) printf("nsSessionHistory::Goto, Trying to load URL %s\n", urlString.ToNewCString());
@ -1262,6 +1267,14 @@ nsSessionHistory::Goto(PRInt32 aGotoIndex, nsIWebShell * prev)
} }
NS_IMETHODIMP
nsSessionHistory::Reload(nsURLReloadType aReloadType)
{
printf("fix me!\n");
NS_ASSERTION(0,"fix me!\n");
return NS_OK;
}
NS_IMETHODIMP NS_IMETHODIMP
nsSessionHistory::Back(nsIWebShell * prev) nsSessionHistory::Back(nsIWebShell * prev)
{ {