gecko/xulrunner headless embedding

moz_embedder <[email protected]> Fri, 10 Jun 2011 05:41:12 -0700 (PDT)
Newsgroups gmane.comp.mozilla.devel.embedding
Organization http://groups.google.com
Message-ID <db29ccc0-eca1-4e44-b953-c5cab7dc7920@glegroupsg2000goo.googlegroups.com>
System - Ubuntu 10(maverick). I would like to embed Gecko in a headless way. I am working directly with the embedding API by implementing nsWebBrowserChrome and inheriting the necessary base classes. At some point I have to create nsIBaseWindow and also pass a native(gtk) context to it. Is there anyway to avoid gtk? With this setting, do I always have to provide a gtk window for gecko to dump its stuff on? Ideally, I would just like to navigate the DOM tree alone, I don't need any of the graphical rendering that prepares the DOM content for display in a gtk context.