Positron isn't real Win32 embedding, though, right? That is, Positron runs the whole app instead of a view inside an otherwise Win32 app.
To put a Gecko view inside a larger Win32 app, resurrecting EmbedLite might the more appropriate way to go. The actively-maintained user of EmbedLite code is the Sailfish Browser (not Win32 but Qt5), so it probably makes sense to start at https://git.merproject.org/mer-core/qtmozembed/activity and discover the repo dependencies to find the latest EmbedLite code, which seems to be at https://git.merproject.org/mer-core/gecko-dev/tree/nemo_embedlite/embedding/embedlite . On Fri, Jul 7, 2017 at 12:23 AM, Ralph Giles <gi...@mozilla.com> wrote: > You're right that this isn't currently easy to do. > > A more recent project, now also abandoned, was > https://github.com/mozilla/positron You might see if that's a place to > start. > > -r > > On Thu, Jul 6, 2017 at 12:47 PM, cnico7 <nicolas.cazot...@gmail.com> wrote: > >> Hi, >> >> I would like to embed gecko or firefox in a native windows application. >> The need is to be able to use gecko's rendering and javascript engines in >> order to display web pages that are not correctly displayed with other >> browsers (mainly for legacy reasons of the intranet web site). Those pages >> are part of a desktop application deployed on windows 7. >> >> So I did some searches around this subject and I discovered it could be a >> complex path to achieve it with recent gecko versions. >> >> Here is what I found : >> * around 2000, an embedding solution was available through XPCOM as >> described here : https://developer.mozilla.org/en-US/docs/Gecko/Embedding_ >> Mozilla >> Unfortunately, this is obsolete and does not work any more from my >> understanding. >> * this blog post http://chrislord.net/2016/03/08/state-of-embedding-in- >> gecko/ lists some old embedding possibilities. >> Unfortunately, none of them seems to still be available. >> * the servo project seems interesting but is to be shipped in years from >> now. >> >> So here are my questions : >> If I had the technical capabilities to contribute to a gecko embedding >> solution, from what should I start investigating ? >> Is EmbedLite (aka IPCLite) the good starting point or is there a better >> path to embed gecko ? >> If yes, is there a description of the API to use ? >> >> I had the idea of using firefox with marionette protocol in order to >> interact with the engine and to use a custom plugin in order to hide all >> the design (menus, tab bars,...). This idea has many drawbacks : it is slow >> at launching time, it requires to improve marionette protocol in order to >> intercept browsing events and hiding all ui elements with webextensions is >> no more possible. >> So my idea is clearly not a the good way. >> >> Any help would be appreciated. Even if I have not all the technical >> knowledge of firefox internal, I am ready to work on it but I need the good >> entry points to start. >> >> Thank you for reading me and for your answers, >> >> Regards, >> _______________________________________________ >> dev-platform mailing list >> dev-platform@lists.mozilla.org >> https://lists.mozilla.org/listinfo/dev-platform >> > _______________________________________________ > dev-platform mailing list > dev-platform@lists.mozilla.org > https://lists.mozilla.org/listinfo/dev-platform -- Henri Sivonen hsivo...@hsivonen.fi https://hsivonen.fi/ _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform