Re: [webkit-dev] Webkit capture web page content API

2009-06-01 Thread webkitUser
Can this be done using only Webkit API(without cocoa)? Am basically trying to capture the web page content on windows and would like to do it with Webkit. Darin Adler wrote: On May 13, 2009, at 8:59 AM, Lucius Fox wrote: But if Webkit is not involved. That means it can not capture the

[webkit-dev] Webkit capture web page content API

2009-05-13 Thread Lucius Fox
Hi, 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? Thank you.

Re: [webkit-dev] Webkit capture web page content API

2009-05-13 Thread Darin Adler
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

Re: [webkit-dev] Webkit capture web page content API

2009-05-13 Thread Ariya Hidayat
There’s nothing WebKit-specific involved. This is done with standard Cocoa NSView APIs such as -[NSView displayRectIgnoringOpacity:inContext:] and -[NSView cacheDisplayInRect:toBitmapImageRep:]. And for doing with Qt port, we use something like explained in:

Re: [webkit-dev] Webkit capture web page content API

2009-05-13 Thread Lucius Fox
On Wed, May 13, 2009 at 6:39 AM, Darin Adler da...@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.  

Re: [webkit-dev] Webkit capture web page content API

2009-05-13 Thread Darin Adler
On May 13, 2009, at 8:59 AM, Lucius Fox wrote: 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)? To capture more than what’s currently visible you can use these NSView methods