Title: [127793] trunk/Tools
Revision
127793
Author
[email protected]
Date
2012-09-06 16:17:05 -0700 (Thu, 06 Sep 2012)

Log Message

[EFL][WK2] Provide implementation for PlatformWebView::windowFrame()
https://bugs.webkit.org/show_bug.cgi?id=95995

Patch by Christophe Dumez <[email protected]> on 2012-09-06
Reviewed by Kenneth Rohde Christiansen.

Provide proper implementation for PlatformWebView::windowFrame()
in EFL's WebKitTestRunner.

* WebKitTestRunner/efl/PlatformWebViewEfl.cpp:
(WTR::PlatformWebView::windowFrame):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (127792 => 127793)


--- trunk/Tools/ChangeLog	2012-09-06 23:16:14 UTC (rev 127792)
+++ trunk/Tools/ChangeLog	2012-09-06 23:17:05 UTC (rev 127793)
@@ -1,3 +1,16 @@
+2012-09-06  Christophe Dumez  <[email protected]>
+
+        [EFL][WK2] Provide implementation for PlatformWebView::windowFrame()
+        https://bugs.webkit.org/show_bug.cgi?id=95995
+
+        Reviewed by Kenneth Rohde Christiansen.
+
+        Provide proper implementation for PlatformWebView::windowFrame()
+        in EFL's WebKitTestRunner.
+
+        * WebKitTestRunner/efl/PlatformWebViewEfl.cpp:
+        (WTR::PlatformWebView::windowFrame):
+
 2012-09-06  Fady Samuel  <[email protected]>
 
         Fix WTF.Lrint on 32-bit platforms

Modified: trunk/Tools/WebKitTestRunner/efl/PlatformWebViewEfl.cpp (127792 => 127793)


--- trunk/Tools/WebKitTestRunner/efl/PlatformWebViewEfl.cpp	2012-09-06 23:16:14 UTC (rev 127792)
+++ trunk/Tools/WebKitTestRunner/efl/PlatformWebViewEfl.cpp	2012-09-06 23:17:05 UTC (rev 127793)
@@ -76,7 +76,10 @@
 
 WKRect PlatformWebView::windowFrame()
 {
-    return WKRectMake(0, 0, 0, 0);
+    Evas_Coord x, y, width, height;
+    evas_object_geometry_get(m_view, &x, &y, &width, &height);
+
+    return WKRectMake(x, y, width, height);
 }
 
 void PlatformWebView::setWindowFrame(WKRect frame)
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to