ra wrote:
nsIObjectFrame has a GetPluginInstance method returning a
nsIPluginInstance from where i can get  my custom (nsIMyPlugin)
interface.

Yes.

The nsIObjectFrame interface can be QId from nsHTMLObjectElement.

Uh.... no. You _can_ get the nsIObjectFrame, but it involves getting the primary frame for the nsHTMLObjectElement, etc.

In any case, you just want to do what nsHTMLExternalObjSH::GetPluginInstance does, no?

-Boris
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to