nsIWebProgressListener2

IID:3f24610d-1e1f-4151-9d2e-239884742324
Inherits From:nsIWebProgressListener

This interface is an extension to nsIWebProgressListener to support 64-bit progress values.

This interface is implemented by the following components:


Methods

void onProgressChange64 ( nsIWebProgress webProgress , nsIRequest request , PRInt64 curSelfProgress , PRInt64 maxSelfProgress , PRInt64 curTotalProgress , PRInt64 maxTotalProgress )

void onProgressChange64 ( nsIWebProgress webProgress , nsIRequest request , PRInt64 curSelfProgress , PRInt64 maxSelfProgress , PRInt64 curTotalProgress , PRInt64 maxTotalProgress )

Notification that the progress has changed for one of the requests associated with webProgress. Progress totals are reset to zero when all requests in webProgress complete (corresponding to onStateChange being called with stateFlags including the STATE_STOP and STATE_IS_WINDOW flags).

This function is identical to nsIWebProgressListener::onProgressChange, except that this function supports 64-bit values.

NOTE: If any progress value is unknown, then its value is replaced with -1.

Arguments:
webProgress: The nsIWebProgress instance that fired the notification.
request: The nsIRequest that has new progress.
curSelfProgress: The current progress for request.
maxSelfProgress: The maximum progress for request.
curTotalProgress: The current progress for all requests associated with webProgress.
maxTotalProgress: The total progress for all requests associated with webProgress.

References

This interface is passed as an argument to the following methods:

nsIHelperAppLauncher.setWebProgressListener

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com