mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-26 23:23:33 +00:00
Pass on EndLoadURL to the app
This commit is contained in:
parent
aa3e1c5209
commit
deefc2213c
@ -1435,13 +1435,18 @@ nsBrowserWindow::BeginLoadURL(nsIWebShell* aShell, const PRUnichar* aURL)
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsBrowserWindow::ProgressLoadURL(nsIWebShell* aShell, const PRUnichar* aURL, PRInt32 aProgress, PRInt32 aProgressMax)
|
||||
nsBrowserWindow::ProgressLoadURL(nsIWebShell* aShell,
|
||||
const PRUnichar* aURL,
|
||||
PRInt32 aProgress,
|
||||
PRInt32 aProgressMax)
|
||||
{
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsBrowserWindow::EndLoadURL(nsIWebShell* aShell, const PRUnichar* aURL, PRInt32 aStatus)
|
||||
nsBrowserWindow::EndLoadURL(nsIWebShell* aShell,
|
||||
const PRUnichar* aURL,
|
||||
PRInt32 aStatus)
|
||||
{
|
||||
if (mThrobber) {
|
||||
mThrobber->Stop();
|
||||
@ -1454,6 +1459,9 @@ nsBrowserWindow::EndLoadURL(nsIWebShell* aShell, const PRUnichar* aURL, PRInt32
|
||||
|
||||
mStatus->SetText(msg, size);
|
||||
}
|
||||
if (nsnull != mApp) {
|
||||
mApp->EndLoadURL(aShell, aURL, aStatus);
|
||||
}
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
@ -1584,8 +1592,8 @@ nsBrowserWindow::OnStartBinding(nsIURL* aURL, const char *aContentType)
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsBrowserWindow::OnStopBinding(nsIURL* aURL,
|
||||
PRInt32 status,
|
||||
const nsString& aMsg)
|
||||
PRInt32 status,
|
||||
const nsString& aMsg)
|
||||
{
|
||||
if (mStatus) {
|
||||
nsAutoString url;
|
||||
|
Loading…
x
Reference in New Issue
Block a user