Re: [webkit-dev] How to develop NPAPI plugin with webkit lib
Besides the issue of missing NPAPI headers, i also failed to find npruntime symbols such as NPN_CreateObject in libwekbit-1.0 (i used objdump -t to check the symbols), so i got undefined reference to NPN_CreateObject during the link phase, somehow confused. I'm a newbie in this NPAPI plugin area, am i on the right track? On Fri, Jul 10, 2009 at 7:27 PM, Harry Zhang zhangha...@gmail.com wrote: Hi all, after i built and make install the webkit (r4) gtk port on Ubuntu, i want to develop a NPAPI plugin for webkit, however i cannot found related NPAPI headers (such as npapi.h, npruntime.h) in webkit-1.0 include directory, can anybody point out where to find these headers, or what i've missed in the build and install steps? Many thanks in advance! Regards, Harry ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
Re: [webkit-dev] How to compile testbindings under WebCore/bridge?
Anyone helps? Thanks! On Mon, Jun 1, 2009 at 3:09 PM, Harry Zhang zhangha...@gmail.com wrote: Hi all, i'm looking for the methods to bridge C object into JS runtime, then i found the test cases under WebCore/bridge which seems to be a good sample for me, because i found similar codes in Qt port, so i want to try out testbindings.cpp to see whether the C bridge works. However, i cannot use make_testbindings script to compile the source code, can anybody kindly show some tips to play with it? Many thanks in advance for the helps! (Btw, i'm using the latest r44282 source package, not the svn trunk.) ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
[webkit-dev] How to compile testbindings under WebCore/bridge?
Hi all, i'm looking for the methods to bridge C object into JS runtime, then i found the test cases under WebCore/bridge which seems to be a good sample for me, because i found similar codes in Qt port, so i want to try out testbindings.cpp to see whether the C bridge works. However, i cannot use make_testbindings script to compile the source code, can anybody kindly show some tips to play with it? Many thanks in advance for the helps! (Btw, i'm using the latest r44282 source package, not the svn trunk.) ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
[webkit-dev] Newbie question: any sample codes to use C bridge
Dear all, can anyone kindly share some code snippets on how to create and attach an JS object, e.g. window.foo to window object via C bridge? (btw, my dev environment is Ubuntu, i want to enable this in webkitgtk+) Many thanks in advance! Regards, Harry ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev