Hi Boris, fBrowser is an instance of nsIWebBrowser. Declared as: nsCOMPtr<nsIWebBrowser> fWebBrowser; Initialized as: fWebBrowser = do_CreateInstance(NS_WEBBROWSER_CONTRACTID, &rv);
I am embedding Mozilla 1.4 here. Is it still good to use nsIURIContentListener? Or should I use nsIContentPolicy instead? Boris Zbarsky <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>... > BuS wrote: > > I am trying to intercept URL loading based on its type. > > So I have a class WebBrowserImpl that derives from > > nsIURIContentListener and implements folloing methods: OnStartURIOpen, > > IsPreferred and CanHandleContent. > > After I create an instance of this class I assign it to my webbrowser > > instance by following call: > > fWebBrowser->SetParentURIContentListener(fWebBrowserImpl); > > What is fWebBrowser here? > > -Boris _______________________________________________ mozilla-embedding mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-embedding
