Re: [webkit-dev] How to develop NPAPI plugin with webkit lib

2009-07-12 Thread Harry Zhang
, 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

Re: [webkit-dev] How to compile testbindings under WebCore/bridge?

2009-06-02 Thread Harry Zhang
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

[webkit-dev] How to compile testbindings under WebCore/bridge?

2009-06-01 Thread Harry Zhang
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

[webkit-dev] Newbie question: any sample codes to use C bridge

2009-05-26 Thread Harry Zhang
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