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);
But none of the methods in my WebBrowserImpl related to
nsURIContentListener seem to be called.

The thing is the WebBrowserImpl class implements other interfaces as
well (for example nsIWebBrowserChrome) and I hit breakpoints in these
methods, it's just nsIURIContentListener doesn't work for me.

Do I miss something here?
Thanks in advance for any help.
_______________________________________________
mozilla-embedding mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-embedding

Reply via email to