Refer below API in this file: WebKit/gtk/webkit/webkitwebview.cpp, .h

void webkit_web_view_set_zoom_level(WebKitWebView* webView, gfloat
zoomLevel)
void webkit_web_view_zoom_in(WebKitWebView* webView)
void webkit_web_view_zoom_out(WebKitWebView* webView)
gboolean webkit_web_view_get_full_content_zoom(WebKitWebView* webView)
void webkit_web_view_set_full_content_zoom(WebKitWebView* webView, gboolean
zoomFullContent)



2008/12/11 ying lcs <[EMAIL PROTECTED]>

> On Wed, Dec 10, 2008 at 1:50 AM, Ariya Hidayat
> <[EMAIL PROTECTED]> 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)?
>
> I am running the GTK WebKit, is it possible to enable that zoom in/out
> feature?
>
> Thank you.
>
>
>
>
> > --
> > Ariya Hidayat, Software Engineer
> > Qt Software, Nokia Devices R&D
> > _______________________________________________
> > webkit-dev mailing list
> > [email protected]
> > http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
> >
> _______________________________________________
> webkit-dev mailing list
> [email protected]
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
>
_______________________________________________
webkit-dev mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Reply via email to