[webkit-dev] Need help in understanding web kit

Oliver Hunt oliver at apple.com
Wed Dec 10 13:23:46 PST 2008


On Dec 10, 2008, at 11:35 AM, ying lcs wrote:

> On Wed, Dec 10, 2008 at 1:50 AM, Ariya Hidayat
> <ariya.hidayat at trolltech.com> wrote:
>>
>>> Thank you.  I have another question:  Does Webkit has page zoom in /
>>> out feature? The andriod 's Web kit has such feature. Can you please
>>> tell me where in the code which implement that functionality?
>>
>> You can start by following the code in  
>> WebCore::Frame::setZoomFactor()
>> function. It is in WebCore/page/Frame.cpp.
>>
>>
> Thank you. Does that mean I can zoom in and out in original Webkit
> (not the one shipped with Android)?

Depending on what zoom you're after: yes; http://webkit.org/blog/165/full-page-zoom/ 
  details enabling it on Mac

--Oliver


More information about the webkit-dev mailing list