Hi,
How would I install a chrome package for an embedding application ? I currently copy lots of stuff from a firefox installation into the dirctory where my embedding application resides so that it can start. But how can I use chrome URLs that can be correctly resolved ?
Addtionally, for my application it would be fine to always run in 'chrome' mode to be able to open dialogs etc. whenever I want. I tried to switch the webBrowser into chrome mode using the following code:
nsCOMPtr<nsIDocShellTreeItem> dsti = do_QueryInterface(mWebBrowser); dsti->SetItemType(nsIDocShellTreeItem::typeChromeWrapper);
as this is what mfcEmbed does when it encounters chrome URLs but it didn't help. window.openDialog() is still rejected. Anything else I have to do ?
Thanks Stephan _______________________________________________ mozilla-embedding mailing list [email protected] http://mail.mozilla.org/listinfo/mozilla-embedding
