зеркало из https://github.com/mozilla/pjs.git
Updates for api changes (signed->unsigned)
This commit is contained in:
Родитель
cf9df1d6d6
Коммит
48f3c37147
|
@ -541,10 +541,10 @@ nsCocoaBrowserListener::GetSiteWindow(void * *aSiteWindow)
|
||||||
// Implementation of nsIWebProgressListener
|
// Implementation of nsIWebProgressListener
|
||||||
//
|
//
|
||||||
|
|
||||||
/* void onStateChange (in nsIWebProgress aWebProgress, in nsIRequest aRequest, in long aStateFlags, in unsigned long aStatus); */
|
/* void onStateChange (in nsIWebProgress aWebProgress, in nsIRequest aRequest, in unsigned long aStateFlags, in unsigned long aStatus); */
|
||||||
NS_IMETHODIMP
|
NS_IMETHODIMP
|
||||||
nsCocoaBrowserListener::OnStateChange(nsIWebProgress *aWebProgress, nsIRequest *aRequest,
|
nsCocoaBrowserListener::OnStateChange(nsIWebProgress *aWebProgress, nsIRequest *aRequest,
|
||||||
PRInt32 aStateFlags, PRUint32 aStatus)
|
PRUint32 aStateFlags, PRUint32 aStatus)
|
||||||
{
|
{
|
||||||
NSEnumerator* enumerator = [mListeners objectEnumerator];
|
NSEnumerator* enumerator = [mListeners objectEnumerator];
|
||||||
id<NSBrowserListener> obj;
|
id<NSBrowserListener> obj;
|
||||||
|
@ -613,10 +613,9 @@ nsCocoaBrowserListener::OnStatusChange(nsIWebProgress *aWebProgress, nsIRequest
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* void onSecurityChange (in nsIWebProgress aWebProgress, in nsIRequest aRequest, in long state); */
|
/* void onSecurityChange (in nsIWebProgress aWebProgress, in nsIRequest aRequest, in unsigned long state); */
|
||||||
NS_IMETHODIMP
|
NS_IMETHODIMP
|
||||||
nsCocoaBrowserListener::OnSecurityChange(nsIWebProgress *aWebProgress, nsIRequest *aRequest,
|
nsCocoaBrowserListener::OnSecurityChange(nsIWebProgress *aWebProgress, nsIRequest *aRequest, PRUint32 state)
|
||||||
PRInt32 state)
|
|
||||||
{
|
{
|
||||||
NSEnumerator* enumerator = [mListeners objectEnumerator];
|
NSEnumerator* enumerator = [mListeners objectEnumerator];
|
||||||
id<NSBrowserListener> obj;
|
id<NSBrowserListener> obj;
|
||||||
|
@ -698,10 +697,8 @@ NS_IMPL_ISUPPORTS1(nsHeaderSniffer, nsIWebProgressListener)
|
||||||
// Implementation of nsIWebProgressListener
|
// Implementation of nsIWebProgressListener
|
||||||
/* void onStateChange (in nsIWebProgress aWebProgress, in nsIRequest aRequest, in long aStateFlags, in unsigned long aStatus); */
|
/* void onStateChange (in nsIWebProgress aWebProgress, in nsIRequest aRequest, in long aStateFlags, in unsigned long aStatus); */
|
||||||
NS_IMETHODIMP
|
NS_IMETHODIMP
|
||||||
nsHeaderSniffer::OnStateChange(nsIWebProgress *aWebProgress,
|
nsHeaderSniffer::OnStateChange(nsIWebProgress *aWebProgress, nsIRequest *aRequest, PRUint32 aStateFlags,
|
||||||
nsIRequest *aRequest,
|
PRUint32 aStatus)
|
||||||
PRInt32 aStateFlags,
|
|
||||||
PRUint32 aStatus)
|
|
||||||
{
|
{
|
||||||
if (aStateFlags & nsIWebProgressListener::STATE_START) {
|
if (aStateFlags & nsIWebProgressListener::STATE_START) {
|
||||||
nsCOMPtr<nsIChannel> channel(do_QueryInterface(aRequest));
|
nsCOMPtr<nsIChannel> channel(do_QueryInterface(aRequest));
|
||||||
|
@ -901,11 +898,9 @@ nsHeaderSniffer::OnStatusChange(nsIWebProgress *aWebProgress,
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* void onSecurityChange (in nsIWebProgress aWebProgress, in nsIRequest aRequest, in long state); */
|
/* void onSecurityChange (in nsIWebProgress aWebProgress, in nsIRequest aRequest, in unsigned long state); */
|
||||||
NS_IMETHODIMP
|
NS_IMETHODIMP
|
||||||
nsHeaderSniffer::OnSecurityChange(nsIWebProgress *aWebProgress,
|
nsHeaderSniffer::OnSecurityChange(nsIWebProgress *aWebProgress, nsIRequest *aRequest, PRUint32 state)
|
||||||
nsIRequest *aRequest,
|
|
||||||
PRInt32 state)
|
|
||||||
{
|
{
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
|
|
|
@ -138,22 +138,18 @@ nsDownloadListener::OnStatusChange(nsIWebProgress *aWebProgress,
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* void onSecurityChange (in nsIWebProgress aWebProgress, in nsIRequest aRequest, in long state); */
|
/* void onSecurityChange (in nsIWebProgress aWebProgress, in nsIRequest aRequest, in unsigned long state); */
|
||||||
NS_IMETHODIMP
|
NS_IMETHODIMP
|
||||||
nsDownloadListener::OnSecurityChange(nsIWebProgress *aWebProgress,
|
nsDownloadListener::OnSecurityChange(nsIWebProgress *aWebProgress, nsIRequest *aRequest, PRUint32 state)
|
||||||
nsIRequest *aRequest,
|
|
||||||
PRInt32 state)
|
|
||||||
{
|
{
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Implementation of nsIWebProgressListener
|
// Implementation of nsIWebProgressListener
|
||||||
/* void onStateChange (in nsIWebProgress aWebProgress, in nsIRequest aRequest, in long aStateFlags, in unsigned long aStatus); */
|
/* void onStateChange (in nsIWebProgress aWebProgress, in nsIRequest aRequest, in unsigned long aStateFlags, in unsigned long aStatus); */
|
||||||
NS_IMETHODIMP
|
NS_IMETHODIMP
|
||||||
nsDownloadListener::OnStateChange(nsIWebProgress *aWebProgress,
|
nsDownloadListener::OnStateChange(nsIWebProgress *aWebProgress, nsIRequest *aRequest, PRUint32 aStateFlags,
|
||||||
nsIRequest *aRequest,
|
PRUint32 aStatus)
|
||||||
PRInt32 aStateFlags,
|
|
||||||
PRUint32 aStatus)
|
|
||||||
{
|
{
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
|
|
|
@ -138,22 +138,18 @@ nsDownloadListener::OnStatusChange(nsIWebProgress *aWebProgress,
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* void onSecurityChange (in nsIWebProgress aWebProgress, in nsIRequest aRequest, in long state); */
|
/* void onSecurityChange (in nsIWebProgress aWebProgress, in nsIRequest aRequest, in unsigned long state); */
|
||||||
NS_IMETHODIMP
|
NS_IMETHODIMP
|
||||||
nsDownloadListener::OnSecurityChange(nsIWebProgress *aWebProgress,
|
nsDownloadListener::OnSecurityChange(nsIWebProgress *aWebProgress, nsIRequest *aRequest, PRUint32 state)
|
||||||
nsIRequest *aRequest,
|
|
||||||
PRInt32 state)
|
|
||||||
{
|
{
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Implementation of nsIWebProgressListener
|
// Implementation of nsIWebProgressListener
|
||||||
/* void onStateChange (in nsIWebProgress aWebProgress, in nsIRequest aRequest, in long aStateFlags, in unsigned long aStatus); */
|
/* void onStateChange (in nsIWebProgress aWebProgress, in nsIRequest aRequest, in unsigned long aStateFlags, in unsigned long aStatus); */
|
||||||
NS_IMETHODIMP
|
NS_IMETHODIMP
|
||||||
nsDownloadListener::OnStateChange(nsIWebProgress *aWebProgress,
|
nsDownloadListener::OnStateChange(nsIWebProgress *aWebProgress, nsIRequest *aRequest, PRUint32 aStateFlags,
|
||||||
nsIRequest *aRequest,
|
PRUint32 aStatus)
|
||||||
PRInt32 aStateFlags,
|
|
||||||
PRUint32 aStatus)
|
|
||||||
{
|
{
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
|
|
|
@ -541,10 +541,10 @@ nsCocoaBrowserListener::GetSiteWindow(void * *aSiteWindow)
|
||||||
// Implementation of nsIWebProgressListener
|
// Implementation of nsIWebProgressListener
|
||||||
//
|
//
|
||||||
|
|
||||||
/* void onStateChange (in nsIWebProgress aWebProgress, in nsIRequest aRequest, in long aStateFlags, in unsigned long aStatus); */
|
/* void onStateChange (in nsIWebProgress aWebProgress, in nsIRequest aRequest, in unsigned long aStateFlags, in unsigned long aStatus); */
|
||||||
NS_IMETHODIMP
|
NS_IMETHODIMP
|
||||||
nsCocoaBrowserListener::OnStateChange(nsIWebProgress *aWebProgress, nsIRequest *aRequest,
|
nsCocoaBrowserListener::OnStateChange(nsIWebProgress *aWebProgress, nsIRequest *aRequest,
|
||||||
PRInt32 aStateFlags, PRUint32 aStatus)
|
PRUint32 aStateFlags, PRUint32 aStatus)
|
||||||
{
|
{
|
||||||
NSEnumerator* enumerator = [mListeners objectEnumerator];
|
NSEnumerator* enumerator = [mListeners objectEnumerator];
|
||||||
id<NSBrowserListener> obj;
|
id<NSBrowserListener> obj;
|
||||||
|
@ -613,10 +613,9 @@ nsCocoaBrowserListener::OnStatusChange(nsIWebProgress *aWebProgress, nsIRequest
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* void onSecurityChange (in nsIWebProgress aWebProgress, in nsIRequest aRequest, in long state); */
|
/* void onSecurityChange (in nsIWebProgress aWebProgress, in nsIRequest aRequest, in unsigned long state); */
|
||||||
NS_IMETHODIMP
|
NS_IMETHODIMP
|
||||||
nsCocoaBrowserListener::OnSecurityChange(nsIWebProgress *aWebProgress, nsIRequest *aRequest,
|
nsCocoaBrowserListener::OnSecurityChange(nsIWebProgress *aWebProgress, nsIRequest *aRequest, PRUint32 state)
|
||||||
PRInt32 state)
|
|
||||||
{
|
{
|
||||||
NSEnumerator* enumerator = [mListeners objectEnumerator];
|
NSEnumerator* enumerator = [mListeners objectEnumerator];
|
||||||
id<NSBrowserListener> obj;
|
id<NSBrowserListener> obj;
|
||||||
|
@ -698,10 +697,8 @@ NS_IMPL_ISUPPORTS1(nsHeaderSniffer, nsIWebProgressListener)
|
||||||
// Implementation of nsIWebProgressListener
|
// Implementation of nsIWebProgressListener
|
||||||
/* void onStateChange (in nsIWebProgress aWebProgress, in nsIRequest aRequest, in long aStateFlags, in unsigned long aStatus); */
|
/* void onStateChange (in nsIWebProgress aWebProgress, in nsIRequest aRequest, in long aStateFlags, in unsigned long aStatus); */
|
||||||
NS_IMETHODIMP
|
NS_IMETHODIMP
|
||||||
nsHeaderSniffer::OnStateChange(nsIWebProgress *aWebProgress,
|
nsHeaderSniffer::OnStateChange(nsIWebProgress *aWebProgress, nsIRequest *aRequest, PRUint32 aStateFlags,
|
||||||
nsIRequest *aRequest,
|
PRUint32 aStatus)
|
||||||
PRInt32 aStateFlags,
|
|
||||||
PRUint32 aStatus)
|
|
||||||
{
|
{
|
||||||
if (aStateFlags & nsIWebProgressListener::STATE_START) {
|
if (aStateFlags & nsIWebProgressListener::STATE_START) {
|
||||||
nsCOMPtr<nsIChannel> channel(do_QueryInterface(aRequest));
|
nsCOMPtr<nsIChannel> channel(do_QueryInterface(aRequest));
|
||||||
|
@ -901,11 +898,9 @@ nsHeaderSniffer::OnStatusChange(nsIWebProgress *aWebProgress,
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* void onSecurityChange (in nsIWebProgress aWebProgress, in nsIRequest aRequest, in long state); */
|
/* void onSecurityChange (in nsIWebProgress aWebProgress, in nsIRequest aRequest, in unsigned long state); */
|
||||||
NS_IMETHODIMP
|
NS_IMETHODIMP
|
||||||
nsHeaderSniffer::OnSecurityChange(nsIWebProgress *aWebProgress,
|
nsHeaderSniffer::OnSecurityChange(nsIWebProgress *aWebProgress, nsIRequest *aRequest, PRUint32 state)
|
||||||
nsIRequest *aRequest,
|
|
||||||
PRInt32 state)
|
|
||||||
{
|
{
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
|
|
|
@ -541,10 +541,10 @@ nsCocoaBrowserListener::GetSiteWindow(void * *aSiteWindow)
|
||||||
// Implementation of nsIWebProgressListener
|
// Implementation of nsIWebProgressListener
|
||||||
//
|
//
|
||||||
|
|
||||||
/* void onStateChange (in nsIWebProgress aWebProgress, in nsIRequest aRequest, in long aStateFlags, in unsigned long aStatus); */
|
/* void onStateChange (in nsIWebProgress aWebProgress, in nsIRequest aRequest, in unsigned long aStateFlags, in unsigned long aStatus); */
|
||||||
NS_IMETHODIMP
|
NS_IMETHODIMP
|
||||||
nsCocoaBrowserListener::OnStateChange(nsIWebProgress *aWebProgress, nsIRequest *aRequest,
|
nsCocoaBrowserListener::OnStateChange(nsIWebProgress *aWebProgress, nsIRequest *aRequest,
|
||||||
PRInt32 aStateFlags, PRUint32 aStatus)
|
PRUint32 aStateFlags, PRUint32 aStatus)
|
||||||
{
|
{
|
||||||
NSEnumerator* enumerator = [mListeners objectEnumerator];
|
NSEnumerator* enumerator = [mListeners objectEnumerator];
|
||||||
id<NSBrowserListener> obj;
|
id<NSBrowserListener> obj;
|
||||||
|
@ -613,10 +613,9 @@ nsCocoaBrowserListener::OnStatusChange(nsIWebProgress *aWebProgress, nsIRequest
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* void onSecurityChange (in nsIWebProgress aWebProgress, in nsIRequest aRequest, in long state); */
|
/* void onSecurityChange (in nsIWebProgress aWebProgress, in nsIRequest aRequest, in unsigned long state); */
|
||||||
NS_IMETHODIMP
|
NS_IMETHODIMP
|
||||||
nsCocoaBrowserListener::OnSecurityChange(nsIWebProgress *aWebProgress, nsIRequest *aRequest,
|
nsCocoaBrowserListener::OnSecurityChange(nsIWebProgress *aWebProgress, nsIRequest *aRequest, PRUint32 state)
|
||||||
PRInt32 state)
|
|
||||||
{
|
{
|
||||||
NSEnumerator* enumerator = [mListeners objectEnumerator];
|
NSEnumerator* enumerator = [mListeners objectEnumerator];
|
||||||
id<NSBrowserListener> obj;
|
id<NSBrowserListener> obj;
|
||||||
|
@ -698,10 +697,8 @@ NS_IMPL_ISUPPORTS1(nsHeaderSniffer, nsIWebProgressListener)
|
||||||
// Implementation of nsIWebProgressListener
|
// Implementation of nsIWebProgressListener
|
||||||
/* void onStateChange (in nsIWebProgress aWebProgress, in nsIRequest aRequest, in long aStateFlags, in unsigned long aStatus); */
|
/* void onStateChange (in nsIWebProgress aWebProgress, in nsIRequest aRequest, in long aStateFlags, in unsigned long aStatus); */
|
||||||
NS_IMETHODIMP
|
NS_IMETHODIMP
|
||||||
nsHeaderSniffer::OnStateChange(nsIWebProgress *aWebProgress,
|
nsHeaderSniffer::OnStateChange(nsIWebProgress *aWebProgress, nsIRequest *aRequest, PRUint32 aStateFlags,
|
||||||
nsIRequest *aRequest,
|
PRUint32 aStatus)
|
||||||
PRInt32 aStateFlags,
|
|
||||||
PRUint32 aStatus)
|
|
||||||
{
|
{
|
||||||
if (aStateFlags & nsIWebProgressListener::STATE_START) {
|
if (aStateFlags & nsIWebProgressListener::STATE_START) {
|
||||||
nsCOMPtr<nsIChannel> channel(do_QueryInterface(aRequest));
|
nsCOMPtr<nsIChannel> channel(do_QueryInterface(aRequest));
|
||||||
|
@ -901,11 +898,9 @@ nsHeaderSniffer::OnStatusChange(nsIWebProgress *aWebProgress,
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* void onSecurityChange (in nsIWebProgress aWebProgress, in nsIRequest aRequest, in long state); */
|
/* void onSecurityChange (in nsIWebProgress aWebProgress, in nsIRequest aRequest, in unsigned long state); */
|
||||||
NS_IMETHODIMP
|
NS_IMETHODIMP
|
||||||
nsHeaderSniffer::OnSecurityChange(nsIWebProgress *aWebProgress,
|
nsHeaderSniffer::OnSecurityChange(nsIWebProgress *aWebProgress, nsIRequest *aRequest, PRUint32 state)
|
||||||
nsIRequest *aRequest,
|
|
||||||
PRInt32 state)
|
|
||||||
{
|
{
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
|
|
|
@ -138,22 +138,18 @@ nsDownloadListener::OnStatusChange(nsIWebProgress *aWebProgress,
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* void onSecurityChange (in nsIWebProgress aWebProgress, in nsIRequest aRequest, in long state); */
|
/* void onSecurityChange (in nsIWebProgress aWebProgress, in nsIRequest aRequest, in unsigned long state); */
|
||||||
NS_IMETHODIMP
|
NS_IMETHODIMP
|
||||||
nsDownloadListener::OnSecurityChange(nsIWebProgress *aWebProgress,
|
nsDownloadListener::OnSecurityChange(nsIWebProgress *aWebProgress, nsIRequest *aRequest, PRUint32 state)
|
||||||
nsIRequest *aRequest,
|
|
||||||
PRInt32 state)
|
|
||||||
{
|
{
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Implementation of nsIWebProgressListener
|
// Implementation of nsIWebProgressListener
|
||||||
/* void onStateChange (in nsIWebProgress aWebProgress, in nsIRequest aRequest, in long aStateFlags, in unsigned long aStatus); */
|
/* void onStateChange (in nsIWebProgress aWebProgress, in nsIRequest aRequest, in unsigned long aStateFlags, in unsigned long aStatus); */
|
||||||
NS_IMETHODIMP
|
NS_IMETHODIMP
|
||||||
nsDownloadListener::OnStateChange(nsIWebProgress *aWebProgress,
|
nsDownloadListener::OnStateChange(nsIWebProgress *aWebProgress, nsIRequest *aRequest, PRUint32 aStateFlags,
|
||||||
nsIRequest *aRequest,
|
PRUint32 aStatus)
|
||||||
PRInt32 aStateFlags,
|
|
||||||
PRUint32 aStatus)
|
|
||||||
{
|
{
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
|
|
|
@ -138,22 +138,18 @@ nsDownloadListener::OnStatusChange(nsIWebProgress *aWebProgress,
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* void onSecurityChange (in nsIWebProgress aWebProgress, in nsIRequest aRequest, in long state); */
|
/* void onSecurityChange (in nsIWebProgress aWebProgress, in nsIRequest aRequest, in unsigned long state); */
|
||||||
NS_IMETHODIMP
|
NS_IMETHODIMP
|
||||||
nsDownloadListener::OnSecurityChange(nsIWebProgress *aWebProgress,
|
nsDownloadListener::OnSecurityChange(nsIWebProgress *aWebProgress, nsIRequest *aRequest, PRUint32 state)
|
||||||
nsIRequest *aRequest,
|
|
||||||
PRInt32 state)
|
|
||||||
{
|
{
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Implementation of nsIWebProgressListener
|
// Implementation of nsIWebProgressListener
|
||||||
/* void onStateChange (in nsIWebProgress aWebProgress, in nsIRequest aRequest, in long aStateFlags, in unsigned long aStatus); */
|
/* void onStateChange (in nsIWebProgress aWebProgress, in nsIRequest aRequest, in unsigned long aStateFlags, in unsigned long aStatus); */
|
||||||
NS_IMETHODIMP
|
NS_IMETHODIMP
|
||||||
nsDownloadListener::OnStateChange(nsIWebProgress *aWebProgress,
|
nsDownloadListener::OnStateChange(nsIWebProgress *aWebProgress, nsIRequest *aRequest, PRUint32 aStateFlags,
|
||||||
nsIRequest *aRequest,
|
PRUint32 aStatus)
|
||||||
PRInt32 aStateFlags,
|
|
||||||
PRUint32 aStatus)
|
|
||||||
{
|
{
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
|
|
|
@ -541,10 +541,10 @@ nsCocoaBrowserListener::GetSiteWindow(void * *aSiteWindow)
|
||||||
// Implementation of nsIWebProgressListener
|
// Implementation of nsIWebProgressListener
|
||||||
//
|
//
|
||||||
|
|
||||||
/* void onStateChange (in nsIWebProgress aWebProgress, in nsIRequest aRequest, in long aStateFlags, in unsigned long aStatus); */
|
/* void onStateChange (in nsIWebProgress aWebProgress, in nsIRequest aRequest, in unsigned long aStateFlags, in unsigned long aStatus); */
|
||||||
NS_IMETHODIMP
|
NS_IMETHODIMP
|
||||||
nsCocoaBrowserListener::OnStateChange(nsIWebProgress *aWebProgress, nsIRequest *aRequest,
|
nsCocoaBrowserListener::OnStateChange(nsIWebProgress *aWebProgress, nsIRequest *aRequest,
|
||||||
PRInt32 aStateFlags, PRUint32 aStatus)
|
PRUint32 aStateFlags, PRUint32 aStatus)
|
||||||
{
|
{
|
||||||
NSEnumerator* enumerator = [mListeners objectEnumerator];
|
NSEnumerator* enumerator = [mListeners objectEnumerator];
|
||||||
id<NSBrowserListener> obj;
|
id<NSBrowserListener> obj;
|
||||||
|
@ -613,10 +613,9 @@ nsCocoaBrowserListener::OnStatusChange(nsIWebProgress *aWebProgress, nsIRequest
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* void onSecurityChange (in nsIWebProgress aWebProgress, in nsIRequest aRequest, in long state); */
|
/* void onSecurityChange (in nsIWebProgress aWebProgress, in nsIRequest aRequest, in unsigned long state); */
|
||||||
NS_IMETHODIMP
|
NS_IMETHODIMP
|
||||||
nsCocoaBrowserListener::OnSecurityChange(nsIWebProgress *aWebProgress, nsIRequest *aRequest,
|
nsCocoaBrowserListener::OnSecurityChange(nsIWebProgress *aWebProgress, nsIRequest *aRequest, PRUint32 state)
|
||||||
PRInt32 state)
|
|
||||||
{
|
{
|
||||||
NSEnumerator* enumerator = [mListeners objectEnumerator];
|
NSEnumerator* enumerator = [mListeners objectEnumerator];
|
||||||
id<NSBrowserListener> obj;
|
id<NSBrowserListener> obj;
|
||||||
|
@ -698,10 +697,8 @@ NS_IMPL_ISUPPORTS1(nsHeaderSniffer, nsIWebProgressListener)
|
||||||
// Implementation of nsIWebProgressListener
|
// Implementation of nsIWebProgressListener
|
||||||
/* void onStateChange (in nsIWebProgress aWebProgress, in nsIRequest aRequest, in long aStateFlags, in unsigned long aStatus); */
|
/* void onStateChange (in nsIWebProgress aWebProgress, in nsIRequest aRequest, in long aStateFlags, in unsigned long aStatus); */
|
||||||
NS_IMETHODIMP
|
NS_IMETHODIMP
|
||||||
nsHeaderSniffer::OnStateChange(nsIWebProgress *aWebProgress,
|
nsHeaderSniffer::OnStateChange(nsIWebProgress *aWebProgress, nsIRequest *aRequest, PRUint32 aStateFlags,
|
||||||
nsIRequest *aRequest,
|
PRUint32 aStatus)
|
||||||
PRInt32 aStateFlags,
|
|
||||||
PRUint32 aStatus)
|
|
||||||
{
|
{
|
||||||
if (aStateFlags & nsIWebProgressListener::STATE_START) {
|
if (aStateFlags & nsIWebProgressListener::STATE_START) {
|
||||||
nsCOMPtr<nsIChannel> channel(do_QueryInterface(aRequest));
|
nsCOMPtr<nsIChannel> channel(do_QueryInterface(aRequest));
|
||||||
|
@ -901,11 +898,9 @@ nsHeaderSniffer::OnStatusChange(nsIWebProgress *aWebProgress,
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* void onSecurityChange (in nsIWebProgress aWebProgress, in nsIRequest aRequest, in long state); */
|
/* void onSecurityChange (in nsIWebProgress aWebProgress, in nsIRequest aRequest, in unsigned long state); */
|
||||||
NS_IMETHODIMP
|
NS_IMETHODIMP
|
||||||
nsHeaderSniffer::OnSecurityChange(nsIWebProgress *aWebProgress,
|
nsHeaderSniffer::OnSecurityChange(nsIWebProgress *aWebProgress, nsIRequest *aRequest, PRUint32 state)
|
||||||
nsIRequest *aRequest,
|
|
||||||
PRInt32 state)
|
|
||||||
{
|
{
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче