Factored string bundles out of necko. Fixes bug 42107 - need to fix string bundle init workaround. Also bug 40506 - nsIWebProgressListener needs status text. Status messages now work in mozilla and viewer with internationalized and parameterized text! Added temporary error architecture until bug 13423 can be fixed. Extended nsIStringBundleService to provide method to format status message. r=valeski,jband,tao. verified=mstoltz

This commit is contained in:
warren@netscape.com
2000-07-25 05:45:56 +00:00
parent 7998a8435c
commit dc6e48adee
90 changed files with 954 additions and 558 deletions

View File

@@ -2308,11 +2308,22 @@ nsDocShell::OnStateChange(nsIWebProgress *aProgress, nsIRequest *aRequest,
}
NS_IMETHODIMP
nsDocShell::OnLocationChange(nsIURI *aURI)
nsDocShell::OnLocationChange(nsIWebProgress *aProgress,
nsIRequest *aRequest,
nsIURI *aURI)
{
return NS_OK;
}
NS_IMETHODIMP
nsDocShell::OnStatusChange(nsIWebProgress* aWebProgress,
nsIRequest* aRequest,
nsresult aStatus,
const PRUnichar* aMessage)
{
return NS_OK;
}
//*****************************************************************************
// nsDocShell: Content Viewer Management
//*****************************************************************************
@@ -3275,7 +3286,7 @@ void nsDocShell::SetCurrentURI(nsIURI* aURI)
NS_ASSERTION(loader, "No document loader");
if (loader) {
loader->FireOnLocationChange(aURI);
loader->FireOnLocationChange(nsnull, nsnull, aURI);
}
}