Bug 1521671 - Port bug 1514340: Implement nsIWebProgressListener.onContentBlockingEvent(), C++ part. rs=bustage-fix
This commit is contained in:
Родитель
7c3f4cb6bb
Коммит
2b24aaec3a
|
@ -1054,6 +1054,13 @@ nsMsgContentPolicy::OnSecurityChange(nsIWebProgress *aWebProgress,
|
|||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsMsgContentPolicy::OnContentBlockingEvent(nsIWebProgress *aWebProgress,
|
||||
nsIRequest *aRequest, uint32_t aEvent)
|
||||
{
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
/**
|
||||
* Implementation of nsIMsgContentPolicy
|
||||
*
|
||||
|
|
|
@ -213,6 +213,14 @@ nsMsgPrintEngine::OnSecurityChange(nsIWebProgress *aWebProgress,
|
|||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsMsgPrintEngine::OnContentBlockingEvent(nsIWebProgress *aWebProgress,
|
||||
nsIRequest *aRequest, uint32_t aEvent)
|
||||
{
|
||||
MOZ_ASSERT_UNREACHABLE("notification excluded in AddProgressListener(...)");
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsMsgPrintEngine::SetWindow(mozIDOMWindowProxy *aWin)
|
||||
{
|
||||
|
|
|
@ -182,6 +182,13 @@ NS_IMETHODIMP nsMsgProgress::OnSecurityChange(nsIWebProgress *aWebProgress, nsIR
|
|||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsMsgProgress::OnContentBlockingEvent(nsIWebProgress *aWebProgress,
|
||||
nsIRequest *aRequest, uint32_t aEvent)
|
||||
{
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
nsresult nsMsgProgress::ReleaseListeners()
|
||||
{
|
||||
m_listenerList.Clear();
|
||||
|
|
|
@ -172,6 +172,12 @@ nsMsgStatusFeedback::OnSecurityChange(nsIWebProgress *aWebProgress,
|
|||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsMsgStatusFeedback::OnContentBlockingEvent(nsIWebProgress *aWebProgress,
|
||||
nsIRequest *aRequest, uint32_t aEvent)
|
||||
{
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsMsgStatusFeedback::ShowStatusString(const nsAString& aStatus)
|
||||
|
|
|
@ -4121,6 +4121,14 @@ NS_IMETHODIMP nsMsgComposeSendListener::OnSecurityChange(nsIWebProgress *aWebPro
|
|||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsMsgComposeSendListener::OnContentBlockingEvent(nsIWebProgress *aWebProgress,
|
||||
nsIRequest *aRequest, uint32_t aEvent)
|
||||
{
|
||||
/* Ignore this call */
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
nsresult
|
||||
nsMsgCompose::ConvertHTMLToText(nsIFile *aSigFile, nsString &aSigData)
|
||||
{
|
||||
|
|
|
@ -405,6 +405,13 @@ nsURLFetcher::OnSecurityChange(nsIWebProgress *aWebProgress,
|
|||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsURLFetcher::OnContentBlockingEvent(nsIWebProgress *aWebProgress,
|
||||
nsIRequest *aRequest, uint32_t aEvent)
|
||||
{
|
||||
MOZ_ASSERT_UNREACHABLE("notification excluded in AddProgressListener(...)");
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
/**
|
||||
* Stream consumer used for handling special content type like multipart/x-mixed-replace
|
||||
|
|
Загрузка…
Ссылка в новой задаче