Title: [104549] trunk/Source/WebKit2
- Revision
- 104549
- Author
- [email protected]
- Date
- 2012-01-10 03:33:37 -0800 (Tue, 10 Jan 2012)
Log Message
[EFL][WK2] Remove codes to move and resize the clip.
https://bugs.webkit.org/show_bug.cgi?id=75428
Patch by Eunmi Lee <[email protected]> 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):
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (104548 => 104549)
--- trunk/Source/WebKit2/ChangeLog 2012-01-10 11:30:21 UTC (rev 104548)
+++ trunk/Source/WebKit2/ChangeLog 2012-01-10 11:33:37 UTC (rev 104549)
@@ -1,3 +1,20 @@
+2012-01-10 Eunmi Lee <[email protected]>
+
+ [EFL][WK2] Remove codes to move and resize the clip.
+ https://bugs.webkit.org/show_bug.cgi?id=75428
+
+ 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):
+
2012-01-09 Andras Becsi <[email protected]>
[Qt][WK2] Pinch zoom should affect the page size
Modified: trunk/Source/WebKit2/UIProcess/API/efl/ewk_view.cpp (104548 => 104549)
--- trunk/Source/WebKit2/UIProcess/API/efl/ewk_view.cpp 2012-01-10 11:30:21 UTC (rev 104548)
+++ trunk/Source/WebKit2/UIProcess/API/efl/ewk_view.cpp 2012-01-10 11:33:37 UTC (rev 104549)
@@ -348,20 +348,17 @@
smartData->changed.any = false;
evas_object_geometry_get(ewkView, &x, &y, &width, &height);
- Evas_Object* clip = evas_object_clip_get(smartData->image);
if (smartData->changed.size) {
if (priv->pageClient->page()->drawingArea())
priv->pageClient->page()->drawingArea()->setSize(IntSize(width, height), IntSize());
smartData->view.w = width;
smartData->view.h = height;
- evas_object_resize(clip, width, height);
smartData->changed.size = false;
}
if (smartData->changed.position) {
evas_object_move(smartData->image, x, y);
- evas_object_move(clip, x, y);
smartData->view.x = x;
smartData->view.y = y;
smartData->changed.position = false;
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes