Prevent the control for window size from WebCore
authorTaeyun An <ty.an@samsung.com>
Sat, 13 Apr 2013 12:11:00 +0000 (21:11 +0900)
committerTaeyun An <ty.an@samsung.com>
Sat, 13 Apr 2013 12:11:00 +0000 (21:11 +0900)
[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

index 48d9454..a396031 100755 (executable)
@@ -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);
 }