An extended version of nsIWebProgressListener
.
Inherits from: nsIWebProgressListener
void onProgressChange64(in nsIWebProgress aWebProgress, in nsIRequest aRequest, in long long aCurSelfProgress, in long long aMaxSelfProgress, in long long aCurTotalProgress, in long long aMaxTotalProgress); |
boolean onRefreshAttempted(in nsIWebProgress aWebProgress, in nsIURI aRefreshURI, in long aMillis, in boolean aSameURI); |
Notification that the progress has changed for one of the requests associated with aWebProgress. Progress totals are reset to zero when all requests in aWebProgress complete (corresponding to onStateChange being called with aStateFlags including the STATE_STOP and STATE_IS_WINDOW flags).
This function is identical to nsIWebProgressListener.onProgressChange()
, except that this function supports 64-bit values.
void onProgressChange64( in nsIWebProgress aWebProgress, in nsIRequest aRequest, in long long aCurSelfProgress, in long long aMaxSelfProgress, in long long aCurTotalProgress, in long long aMaxTotalProgress );
aWebProgress
nsIWebProgress
instance that fired the notification.aRequest
nsIRequest
that has new progress.aCurSelfProgress
aMaxSelfProgress
aCurTotalProgress
aMaxTotalProgress
Notification that a refresh or redirect has been requested in aWebProgress. For example, via a <meta http-equiv="refresh"> or an HTTP Refresh: header.
boolean onRefreshAttempted( in nsIWebProgress aWebProgress, in nsIURI aRefreshURI, in long aMillis, in boolean aSameURI );
aWebProgress
nsIWebProgress
instance that fired the notification.aRefreshURI
aMillis
aSameURI
True
if aWebProgress is requesting a refresh of the current URI. False
if aWebProgress is requesting a redirection to a different URI.True
if the refresh may proceed. False
if the refresh should be aborted.