Expose ElementBoundingBox on WKHitTestResult
[WebKit-https.git] / Source / WebKit2 / UIProcess / API / C / WKHitTestResult.h
index beb48ac41c806700e171655f1d795d33875cc246..f9819648f9f1559117cea93b1805d9401a8900b3 100644 (file)
@@ -28,6 +28,7 @@
 #define WKHitTestResult_h
 
 #include <WebKit/WKBase.h>
+#include <WebKit/WKGeometry.h>
 
 #ifdef __cplusplus
 extern "C" {
@@ -45,6 +46,8 @@ WK_EXPORT WKStringRef WKHitTestResultCopyLinkTitle(WKHitTestResultRef hitTestRes
 
 WK_EXPORT bool WKHitTestResultIsContentEditable(WKHitTestResultRef hitTestResult);
 
+WK_EXPORT WKRect WKHitTestResultGetElementBoundingBox(WKHitTestResultRef hitTestResultRef);
+
 #ifdef __cplusplus
 }
 #endif