On May 12, 2011, at 8:48 PM, Yanke (Yon) Hu wrote: > In QtWebKit, there is a method QWebFrame->evaluateJavaScript() ,which can > execute javascript. I think the function should be provided by WebKit. But I > just cannot find the corresponding API in WebKit...
Each port has its own WebKit API. QtWebKit has a Qt-style API, WebKit on Mac OS X has a Cocoa API, WebKit on Windows has a COM API, etc. So it's a little strange to be talking about a non-port-specific WebKit API (though we are working toward something like that for WebKit2). If you're just interested in seeing what WebKit internals are used to implement the evaluateJavaScript API, you can look here: <http://trac.webkit.org/browser/trunk/Source/WebKit/qt/Api/qwebframe.cpp#L1534> -Adam _______________________________________________ webkit-help mailing list [email protected] http://lists.webkit.org/mailman/listinfo.cgi/webkit-help
