On May 13, 2009, at 12:26 AM, Lucius Fox wrote:
Does Webkit have an api which captures web page content? for example in Safari 4.0 beta, the history/bookmark shows an image of the web content of each history/bookmark entry. Can you please tell me which api in webkit that Safari 4.0 is using?
There’s nothing WebKit-specific involved. This is done with standard Cocoa NSView APIs such as -[NSView displayRectIgnoringOpacity:inContext:] and -[NSView cacheDisplayInRect:toBitmapImageRep:].
-- Darin _______________________________________________ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev