wellbye wrote:
as i know, nsWindowWatcher will ask for the nsIWindowProvider interface from nsGlobalWindow, and nsGlobalWindow

No, it asks for it from the embedding web browser chrome...

in my option, the only one thing i supply to mozilla core is the nsIWebBrowserChrome interface when i create the nsWebbrowser

Right, and if this object implements nsIInterfaceRequestor it'll have its GetInterface called with nsIWindowProvider's IID when the window watcher needs a window provider.

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

Reply via email to