Expose ElementBoundingBox on WKHitTestResult
[WebKit-https.git] / Source / WebKit2 / UIProcess / API / C / WKHitTestResult.cpp
index 5949091bb5c8ad639f85c7b0257fb5a7159313c4..e746fdaeef2a641f78b403b9dd007cdbed7899f7 100644 (file)
@@ -71,3 +71,8 @@ bool WKHitTestResultIsContentEditable(WKHitTestResultRef hitTestResultRef)
 {
     return toImpl(hitTestResultRef)->isContentEditable();
 }
+
+WKRect WKHitTestResultGetElementBoundingBox(WKHitTestResultRef hitTestResultRef)
+{
+    return toAPI(toImpl(hitTestResultRef)->elementBoundingBox());
+}