Re: [webkit-dev] How can I call a javascript function from the hosting application

2011-01-11 Thread Patrick Gansterer
Hi, Brent Fulgham: > Hi Patrick, > > On Jan 10, 2011, at 12:37 PM, Patrick Gansterer wrote: > >> André Pedralho: >>> Hi Fred, my bad! Sorry, it is only available in the Qt port. >> >> If you have a look at the Qt port you see the following: >> >> JSC::JSValue v = >> d->frame->script()->execu

Re: [webkit-dev] How can I call a javascript function from the hosting application

2011-01-10 Thread Brent Fulgham
Hi Patrick, On Jan 10, 2011, at 12:37 PM, Patrick Gansterer wrote: > André Pedralho: >> Hi Fred, my bad! Sorry, it is only available in the Qt port. > > If you have a look at the Qt port you see the following: > > JSC::JSValue v = > d->frame->script()->executeScript(ScriptSourceCode(scriptSour

Re: [webkit-dev] How can I call a javascript function from the hosting application

2011-01-10 Thread Patrick Gansterer
André Pedralho: > Hi Fred, my bad! Sorry, it is only available in the Qt port. If you have a look at the Qt port you see the following: JSC::JSValue v = d->frame->script()->executeScript(ScriptSourceCode(scriptSource)).jsValue(); There's a Frame::script() method where get the ScriptController.

Re: [webkit-dev] How can I call a javascript function from the hosting application

2011-01-10 Thread André Pedralho
inal Message- > From: André Pedralho [mailto:apedra...@gmail.com] > Sent: Friday, January 07, 2011 2:21 PM > To: fredx21 > Cc: webkit-dev@lists.webkit.org > Subject: Re: [webkit-dev] How can I call a javascript function from the > hosting application > > On Fri, Jan 7, 2011

Re: [webkit-dev] How can I call a javascript function from the hosting application

2011-01-10 Thread fredx21
Cc: webkit-dev@lists.webkit.org Subject: Re: [webkit-dev] How can I call a javascript function from the hosting application On Fri, Jan 7, 2011 at 14:35, fredx21 wrote: > My application is hosting a WebView instance to render its GUI using > the Windows CE port of Webkit. > > > &g

Re: [webkit-dev] How can I call a javascript function from the hosting application

2011-01-07 Thread André Pedralho
On Fri, Jan 7, 2011 at 14:35, fredx21 wrote: > My application is hosting a WebView instance to render its GUI using the > Windows CE port of Webkit. > > > > I need to be able to call some JavaScript functions that are written into > the loaded HTML page. For example, I have an Init(backgroundColor

[webkit-dev] How can I call a javascript function from the hosting application

2011-01-07 Thread fredx21
My application is hosting a WebView instance to render its GUI using the Windows CE port of Webkit. I need to be able to call some JavaScript functions that are written into the loaded HTML page. For example, I have an Init(backgroundColor) function that needs to be called once the page is load