[webkit-dev] Webkit capture web page content API
Lucius Fox
lucius.fox08 at gmail.com
Wed May 13 08:59:01 PDT 2009
On Wed, May 13, 2009 at 6:39 AM, Darin Adler <darin at apple.com> wrote:
> 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:].
>
Thanks. But if Webkit is not involved. That means it can not capture
the web content which is not within the visible area (e.g. a page is
long and it has scroll bar)?
> -- Darin
>
>
More information about the webkit-dev
mailing list