Re: [webkit-help] How to to interface between javascript context and webkit code

2011-04-07 Thread Brent Fulgham
Hi Chris, I posted an MFC application that does this to my .Me share (yes, I'm one of those people that pay for that service ;-P) files.me.com/bfulgham/o0r6gv It's based on Apple's CallJS Cocoa example. It shows how to compute values in javascript and return them to the main application, as w

Re: [webkit-help] How to to interface between javascript context and webkit code

2011-04-06 Thread Chris Hatko
Sorry, yes i'm working on windows (cairo port). But i'll be doing a version of this on Mac OSX as well. On Wed, Apr 6, 2011 at 3:55 PM, Ariya Hidayat wrote: > > I have a question on tying into javascript context. > > Basically, my application starts a webkit webview and > > Next time, at lea

Re: [webkit-help] How to to interface between javascript context and webkit code

2011-04-06 Thread Ariya Hidayat
> I have a question on tying into javascript context. > Basically, my application starts a webkit webview and Next time, at least mention the platform you are working on (as specific as possible. > I've been able to get this working in one direction > (app->webkit->javascript-context) using >

[webkit-help] How to to interface between javascript context and webkit code

2011-04-06 Thread Chris Hatko
Hi guys, I have a question on tying into javascript context. Basically, my application starts a webkit webview and now I'd like my application to be notified of the result of the execution of a javascript function from within that view. Ideally, in this webview I could register a particular java