--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
is there a issue where I can follow progress?
Do you have concrete plans to switch over esp. the CppBoundClass based bindings anytime soon (or if not, mind if I start doing so?)
> There are also two copies of CppBoundClass, which binds to JavaScript via NPAPI.Relatedly: what's the wider plan for the NP mechanism (NPChannelBase et al) with eventual NPAPI retirement in mind?
The Android JavaBridge also binds to JS via NPAPI (I believe CppBoundClass was held up as the template that its design should be based on).We have a bug open to move the browser side of JavaBridge away from NP concepts. If the NP channel mechanism is being retired completely then JavaBridge will be in the market for a whole new JS->IPC->browser binding transport, and if I read this correctly, it sounds like we should look to Gin to provide that?
Note: pepper flash relies on npruntime (WebBindings) infrastructure as well.
On Sun, Nov 10, 2013 at 11:54 AM, Jonathan Dixon <jo...@chromium.org> wrote:
> There are also two copies of CppBoundClass, which binds to JavaScript via NPAPI.Relatedly: what's the wider plan for the NP mechanism (NPChannelBase et al) with eventual NPAPI retirement in mind?We'd like to move away from using NPObject and friends, but realistically it's going to be a long time before we've removed all the clients.The Android JavaBridge also binds to JS via NPAPI (I believe CppBoundClass was held up as the template that its design should be based on).We have a bug open to move the browser side of JavaBridge away from NP concepts. If the NP channel mechanism is being retired completely then JavaBridge will be in the market for a whole new JS->IPC->browser binding transport, and if I read this correctly, it sounds like we should look to Gin to provide that?
Yes, Gini will likely be useful to you. If you try to use it now, you're likely to run into the same issues I mentioned to Jochen upthread. I certainly hope that Gini will be ready by the time we retire NPObject, which means the timeline will likely work out for you.