[webkit-gtk] WebKit2 zoom API (II)

Carlos Garcia Campos cgarcia at igalia.com
Thu Feb 2 07:57:12 PST 2012

El jue, 02-02-2012 a las 16:52 +0100, Xan escribió:
> >
> >  - Rename current set_zoom_level and get_zoom_level as
> > set_page_zoom_level and get_page_zoom_level
> >  - Add set_text_zoom_level and get_text_zoom_level
> >  - We save both values, but when one is set, the other one is reset
> > (like it happens with apps calling
> > webkit_web_view_set_full_content_zoom() all the time before setting the
> > soom level)
> >  - That way we have both methods in the aPI and we avoid the setting.
> >  - If we eventually find a use case where it makes sense to set both at
> > the same time we can just change the behaviour without having to change
> > the API (just the impl and the documentation)
> >
> > Does it sound good?
> Unfortunately I think that still would count as an API break. Changing
> how the API behaves is an API break, even if your application still
> compiles. So it's not as safe as you make it sound, IMHO. Considering
> that I'm not really sure that it's worth it to change the current API,
> if I'm understanding things correctly.

Of course, I actually meant if we eventually decide to support it
*before* the first stable release of WebKit2.

> Xan

Carlos Garcia Campos
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.webkit.org/pipermail/webkit-gtk/attachments/20120202/ebd32d18/attachment.bin>

More information about the webkit-gtk mailing list