[webkit-gtk] WebKit2 zoom API (II)

Xan xan.lopez at gmail.com
Thu Feb 2 08:34:03 PST 2012


On Thu, Feb 2, 2012 at 5:25 PM, Carlos Garcia Campos <cgarcia at igalia.com> wrote:
> Since setting one resets the other, the one returning something
> different than 1 is the effective one. If both return 1, no scale factor
> is applied so the assumption is still valid.

Does not look like the most elegant API in the world to me. I suppose
that if we consider a getter of the active zoom useful it can always
be written later using that algorithm inside WebKitGTK+ though.

Xan


More information about the webkit-gtk mailing list