[Webkit-unassigned] [Bug 62842] [EFL] Change behavior of ewk_view_zoom_get/set to call Frame::scalePage.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 14 11:35:33 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=62842


Gustavo Sverzut Barbieri <barbieri at profusion.mobi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |barbieri at profusion.mobi




--- Comment #9 from Gustavo Sverzut Barbieri <barbieri at profusion.mobi>  2011-09-14 11:35:33 PST ---
r-

Not everyone is mobile and want to scale page on zoom. How about desktop users that want text-only zoom? How about regular zoom that uses proper font size instead of scaled vectors? Users of low-end hardware, like some TVs will be hurt by such behavior.

Given the way we already do by having "ewk_view_zoom_text_only_set()", we could remove it and make an enum of zoom modes.

Or introduce another ewk_{view,frame}_zoom_scaled_set() and note that is just applied if text_only is False. Effectively ewk_frame_zoom_set() would become:


    if (sd->textZoom)
        sd->frame->setTextZoomFactor(zoom);
    else if (sd->scaledZoom)
        sd->frame->scalePage(zoom, WebCore::IntPoint(x, y));
    else
        sd->frame->setPageZoomFactor(zoom);

ewk_frame_zoom_set() is not widely used (its usage is discouraged for regular users) and thus can start to take x,y parameters if you think it's necessary.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list