Hi,

I have embedded gecko in a java application.Using WebNavigation I am
to load url and get the rendered DOM.



I want to load multiple urls simultaneously as in a tabbed browser.I
thought of using nsIBrowserDOMWindow as shown


nsIDocShellTreeItem docShellTreeItem = (nsIDocShellTreeItem)
webNavigation.queryInterface(nsIDocShellTreeItem.NS_IDOCSHELLTREEITEM_IID);


nsIDocShellTreeItem rootitem=docShellTreeItem.getRootTreeItem();


nsIDOMWindow dwin =
nsIDOMWindow)rootitem.queryInterface(nsIDOMWindow.NS_IDOMWINDOW_IID);

QI for DOMWINDOW returns an error condition  (0x80004002).


how to I do make my embedded browser open url's in multiple tabs.

Thanks in Advance,
Krithika

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

Reply via email to