Czarek wrote:See https://bitbucket.org/chromiumembedded/ ... gration.md
It's in C++, so you have to translate it to C. In C++ there is also available Generic Message Router that can make things easier, but it is not available when using C API. Apart from that other functionality related to javascript integration is available to both C and C++.
Czarek wrote:You have to implement render process handler, oncontextcreated is one of its callbacks. In cefcapi example there is an example implementation of life span handler. Implement render process handler similarly.
See:
1. https://github.com/cztomczak/cefcapi/bl ... win.c#L107
2. https://github.com/cztomczak/cefcapi/bl ... _handler.h
3. https://github.com/cztomczak/cefcapi/bl ... ent.h#L111
4. https://github.com/cztomczak/cefcapi/bl ... _app.h#L69
Users browsing this forum: No registered users and 143 guests