Registering for progress callbacks | [ << Previous | Contents | Next >> ] |
// include pertinent embedding interfaces #include "nsIWebProgressListener.h" ... rv = webBrowser->AddWebBrowserListener( NS_STATIC_CAST(nsIWebProgressListener*, this), NS_GET_IID(nsIWebProgressListener)); if (NS_FAILED(rv)) return rv; |