From d84990de82286c5e9a611f951f16631e97044364 Mon Sep 17 00:00:00 2001 From: Taeyun An Date: Sat, 13 Apr 2013 21:11:00 +0900 Subject: [PATCH] Prevent the control for window size from WebCore [Title] Prevent the control for window size from WebCore [Issue#] N_SE-33880, N_SE-33947, N_SE34112 [Problem] the window is resized [Cause] The size is controled by WebCore as javascript [Solution] Prevent the control for window size from WebCore Change-Id: Ie3f09768a7b12f255c981ef3f2cdb64198245862 --- Source/WebKit2/UIProcess/efl/PageUIClientEfl.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/WebKit2/UIProcess/efl/PageUIClientEfl.cpp b/Source/WebKit2/UIProcess/efl/PageUIClientEfl.cpp index 48d9454..a396031 100755 --- a/Source/WebKit2/UIProcess/efl/PageUIClientEfl.cpp +++ b/Source/WebKit2/UIProcess/efl/PageUIClientEfl.cpp @@ -159,6 +159,10 @@ WKRect PageUIClientEfl::getWindowFrame(WKPageRef, const void* clientInfo) void PageUIClientEfl::setWindowFrame(WKPageRef, WKRect frame, const void* clientInfo) { +#if OS(TIZEN) + // FIXME : It is not required just for Mobile Browser. But the solution for desktop browser is required. + return; +#endif Ecore_Evas* ee = ecore_evas_ecore_evas_get(evas_object_evas_get(toPageUIClientEfl(clientInfo)->m_viewImpl->view())); ecore_evas_move_resize(ee, frame.origin.x, frame.origin.y, frame.size.width, frame.size.height); } -- 2.7.4