Implemented by
This interface is an extension to nsIWebProgressListener to support 64-bit progress values.
[scriptable, uuid(3f24610d-1e1f-4151-9d2e-239884742324)]
interface nsIWebProgressListener2 : nsIWebProgressListener
Methods
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.
@param aWebProgress
The nsIWebProgress instance that fired the notification.
@param aRequest
The nsIRequest that has new progress.
@param aCurSelfProgress
The current progress for aRequest.
@param aMaxSelfProgress
The maximum progress for aRequest.
@param aCurTotalProgress
The current progress for all requests associated with aWebProgress.
@param aMaxTotalProgress
The total progress for all requests associated with aWebProgress.
NOTE: If any progress value is unknown, then its value is replaced with -1.
@see nsIWebProgressListener2::onProgressChange64
void
onProgressChange64(in nsIWebProgress aWebProgress, in nsIRequest aRequest, in long long aCurSelfProgress, in long long aMaxSelfProgress, in long long aCurTotalProgress, in long long aMaxTotalProgress)
Compare to: