Expose ElementBoundingBox on WKHitTestResult
[WebKit-https.git] / Source / WebKit2 / UIProcess / API / C / WKHitTestResult.h
index 0ba23df6ccc0737d77248694ee05bb356cb3ca25..f9819648f9f1559117cea93b1805d9401a8900b3 100644 (file)
@@ -27,7 +27,8 @@
 #ifndef WKHitTestResult_h
 #define WKHitTestResult_h
 
-#include <WebKit2/WKBase.h>
+#include <WebKit/WKBase.h>
+#include <WebKit/WKGeometry.h>
 
 #ifdef __cplusplus
 extern "C" {
@@ -43,6 +44,10 @@ WK_EXPORT WKURLRef WKHitTestResultCopyAbsoluteMediaURL(WKHitTestResultRef hitTes
 WK_EXPORT WKStringRef WKHitTestResultCopyLinkLabel(WKHitTestResultRef hitTestResult);
 WK_EXPORT WKStringRef WKHitTestResultCopyLinkTitle(WKHitTestResultRef hitTestResult);
 
+WK_EXPORT bool WKHitTestResultIsContentEditable(WKHitTestResultRef hitTestResult);
+
+WK_EXPORT WKRect WKHitTestResultGetElementBoundingBox(WKHitTestResultRef hitTestResultRef);
+
 #ifdef __cplusplus
 }
 #endif