Changeset 104549 in webkit


Ignore:
Timestamp:
Jan 10, 2012 3:33:37 AM (12 years ago)
Author:
commit-queue@webkit.org
Message:

[EFL][WK2] Remove codes to move and resize the clip.
https://bugs.webkit.org/show_bug.cgi?id=75428

Patch by Eunmi Lee <eunmi15.lee@samsung.com> on 2012-01-10
Reviewed by Andreas Kling.

Remove codes to move and resize the clip because clip is not used now.
We have to show whole area of evas_object_image so we don't have to
clip any area.
In the WebKit1 Efl, the clip is used to clip the area to show during
weak zoom, so we can use codes to manipulate the clip when we want to
implement weak zoom for WebKit2 Efl.

  • UIProcess/API/efl/ewk_view.cpp:

(_ewk_view_smart_calculate):

Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r104450 r104549  
     12012-01-10  Eunmi Lee  <eunmi15.lee@samsung.com>
     2
     3        [EFL][WK2] Remove codes to move and resize the clip.
     4        https://bugs.webkit.org/show_bug.cgi?id=75428
     5
     6        Reviewed by Andreas Kling.
     7
     8        Remove codes to move and resize the clip because clip is not used now.
     9        We have to show whole area of evas_object_image so we don't have to
     10        clip any area.
     11        In the WebKit1 Efl, the clip is used to clip the area to show during
     12        weak zoom, so we can use codes to manipulate the clip when we want to
     13        implement weak zoom for WebKit2 Efl.
     14
     15        * UIProcess/API/efl/ewk_view.cpp:
     16        (_ewk_view_smart_calculate):
     17
    1182012-01-09  Andras Becsi  <andras.becsi@nokia.com>
    219
  • trunk/Source/WebKit2/UIProcess/API/efl/ewk_view.cpp

    r104449 r104549  
    349349
    350350    evas_object_geometry_get(ewkView, &x, &y, &width, &height);
    351     Evas_Object* clip = evas_object_clip_get(smartData->image);
    352351
    353352    if (smartData->changed.size) {
     
    356355        smartData->view.w = width;
    357356        smartData->view.h = height;
    358         evas_object_resize(clip, width, height);
    359357        smartData->changed.size = false;
    360358    }
     
    362360    if (smartData->changed.position) {
    363361        evas_object_move(smartData->image, x, y);
    364         evas_object_move(clip, x, y);
    365362        smartData->view.x = x;
    366363        smartData->view.y = y;
Note: See TracChangeset for help on using the changeset viewer.