Re: [webkit-dev] How would one call a JavaScript function from C++ using WebKit?

2007-05-25 Thread Geoffrey Garen
Does anyone know what class/function I should use in WebKit to execute a JavaScript function from C++? KJS::JSObject::call invokes a function object as a function. You will need to retrieve the appendMessage function object from the global object in order to call it. If you're asking

[webkit-dev] Question about porting webkit

2007-05-25 Thread Jin, Yihua
Hi all: Based on my understanding, the webcore of webkit using KHTML as its rendering engine, and KTHML is component from KDE/Qt, so is that means Apple's webkits can be only port to platform that support KDE/Qt? Another question is that I found both apple's webkit and Nokia's S60 webkits

Re: [webkit-dev] Question about porting webkit

2007-05-25 Thread Oliver Hunt
I'll leave any discussion on the differences between WebKit and KHTML to other who know more about it than me. But no, WebKit is in no way tied to Qt, and there are active ports of WebKit from Mac to Qt, GDK (or GTK, or something), and the WX toolkit. Much of the design of the architecture

Re: [webkit-dev] Augmenting WebKit contextual menus for non-plugin content

2007-05-25 Thread David Hyatt
Augmenting contextual menus really has nothing to do with plug-ins, so I'm not sure how the conversation ended up at plug-ins. :) Changing context menus is getting more into the realm of extensions. dave On May 25, 2007, at 4:15 PM, David Hyatt wrote: On May 25, 2007, at 4:07 PM,

Re: [webkit-dev] Augmenting WebKit contextual menus for non-plugin content

2007-05-25 Thread Maciej Stachowiak
On May 25, 2007, at 4:18 PM, David Hyatt wrote: Augmenting contextual menus really has nothing to do with plug-ins, so I'm not sure how the conversation ended up at plug-ins. :) Changing context menus is getting more into the realm of extensions. Yeah, I don't get how it got there

Re: [webkit-dev] Augmenting WebKit contextual menus for non-plugin content

2007-05-25 Thread Maciej Stachowiak
On May 25, 2007, at 4:07 PM, Nathan Duran wrote: I'm on record as accepting of, but not agreeing with, this argument ;) Well it makes at least as much sense as the Contextual Menu Manager API's continued existence does :) It strikes me as rather silly to protest giving free reign to

Re: [webkit-dev] Augmenting WebKit contextual menus for non-plugin content

2007-05-25 Thread Nathan Duran
Flimsy in what sense? If QuickTime (or any plugin) can take over PNG, then PNG image support when the object tag is used would effectively be broken. Suddenly all sorts of built-in browser functionality breaks. Web sites would break. The end user would have no real understanding of what