зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1364364 - Part 1: Why are we declaring private virtual functions? r=smaug
MozReview-Commit-ID: KQxFTrEO1aq --HG-- extra : rebase_source : 6b56cae60b7f82f3695d57d0e3f23bd59cc06756
This commit is contained in:
Родитель
568bd0f7fc
Коммит
e2a185808f
|
@ -588,7 +588,7 @@ nsSHistory::GetEntryAtIndex(int32_t aIndex, bool aModifyIndex,
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Get the transaction at a given index */
|
/* Get the transaction at a given index */
|
||||||
NS_IMETHODIMP
|
nsresult
|
||||||
nsSHistory::GetTransactionAtIndex(int32_t aIndex, nsISHTransaction** aResult)
|
nsSHistory::GetTransactionAtIndex(int32_t aIndex, nsISHTransaction** aResult)
|
||||||
{
|
{
|
||||||
nsresult rv;
|
nsresult rv;
|
||||||
|
@ -1703,7 +1703,7 @@ nsSHistory::LoadNextPossibleEntry(int32_t aNewIndex, long aLoadType,
|
||||||
return NS_ERROR_FAILURE;
|
return NS_ERROR_FAILURE;
|
||||||
}
|
}
|
||||||
|
|
||||||
NS_IMETHODIMP
|
nsresult
|
||||||
nsSHistory::LoadEntry(int32_t aIndex, long aLoadType, uint32_t aHistCmd)
|
nsSHistory::LoadEntry(int32_t aIndex, long aLoadType, uint32_t aHistCmd)
|
||||||
{
|
{
|
||||||
if (!mRootDocShell) {
|
if (!mRootDocShell) {
|
||||||
|
|
|
@ -83,15 +83,14 @@ private:
|
||||||
friend class nsSHEnumerator;
|
friend class nsSHEnumerator;
|
||||||
friend class nsSHistoryObserver;
|
friend class nsSHistoryObserver;
|
||||||
|
|
||||||
// Could become part of nsIWebNavigation
|
nsresult GetTransactionAtIndex(int32_t aIndex, nsISHTransaction** aResult);
|
||||||
NS_IMETHOD GetTransactionAtIndex(int32_t aIndex, nsISHTransaction** aResult);
|
|
||||||
nsresult LoadDifferingEntries(nsISHEntry* aPrevEntry, nsISHEntry* aNextEntry,
|
nsresult LoadDifferingEntries(nsISHEntry* aPrevEntry, nsISHEntry* aNextEntry,
|
||||||
nsIDocShell* aRootDocShell, long aLoadType,
|
nsIDocShell* aRootDocShell, long aLoadType,
|
||||||
bool& aDifferenceFound);
|
bool& aDifferenceFound);
|
||||||
nsresult InitiateLoad(nsISHEntry* aFrameEntry, nsIDocShell* aFrameDS,
|
nsresult InitiateLoad(nsISHEntry* aFrameEntry, nsIDocShell* aFrameDS,
|
||||||
long aLoadType);
|
long aLoadType);
|
||||||
|
|
||||||
NS_IMETHOD LoadEntry(int32_t aIndex, long aLoadType, uint32_t aHistCmd);
|
nsresult LoadEntry(int32_t aIndex, long aLoadType, uint32_t aHistCmd);
|
||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
nsresult PrintHistory();
|
nsresult PrintHistory();
|
||||||
|
|
Загрузка…
Ссылка в новой задаче