I have a plugin that I need to register as a nsIWebProgressListener on the
nsIWebBrowser that is displaying the plugin. I can use the WindowMediator
service to get the nsIXULWindow to which the plugin belongs and then get the
nsIDocShell of the PrimaryContentShell of this XULWindow. However, inorder to
be able to register the listener, I need access to the particular
nsIWebBrowser. How do I do this.

I dont want to set the listener on the nsIWebProgress as i understand this is
a Service and will notify me when a load happens in any open window of the
browser.

Any help would be much appreciated. thnx.

 -----  Posted via NewsOne.Net: Free (anonymous) Usenet News via the Web  -----
  http://newsone.net/ -- Free reading and anonymous posting to 60,000+ groups
   NewsOne.Net prohibits users from posting spam.  If this or other posts
made through NewsOne.Net violate posting guidelines, email [EMAIL PROTECTED]

Reply via email to