[webkit-gtk] WebKit2 zoom API

Gustavo Noronha Silva gns at gnome.org
Thu Jan 5 04:51:36 PST 2012

On Tue, 2011-12-27 at 11:45 +0100, Carlos Garcia Campos wrote:
> Based on this, my proposal for WebKit2 is:
>  - WebKitWebView:zoom-level property
>  - webkit_web_view_set_zoom_level() and webkit_web_view_get_zoom_level()
>  - WebKitSettings:zoom-text-only set to FALSE by default
>  - I'm not sure about zoom_in/out, we would need to know why people
> don't use them, and then try to add API adapted to users needs, or just
> don't add them and let users implement it by their own.
> Comments?

Why not have two separate zoom variables, one for text, and one for
content, instead of having a zoom-text-only property, since this is how
WebCore works? We did it this way in webkit-clutter and more than once
I've seen people wanting to use separate text and full content zoom at
the same time, for some mobile projects.

... now that I've written all of this I see Martin already made the same
suggestions =D let me go read and comment.


Gustavo Noronha Silva <gns at gnome.org>
GNOME Project

More information about the webkit-gtk mailing list