QWebHitTestResult does not have an API function to get the boundingBox value from WebCore, I will attach a patch will that will expose the API function.
Created attachment 21477 [details] Expose boundingBox value in QWebHitTestResult Add API function QRect QWebHitResult::boundingBox() const
Comment on attachment 21477 [details] Expose boundingBox value in QWebHitTestResult Making obsolete till API documentation is added to the patch
Comment on attachment 21477 [details] Expose boundingBox value in QWebHitTestResult The patch looks good actually, it looks like we completly overlooked it :). Ariya added some API docs and I'm going to land it soon
Landed in r37764
I think you didn't overlook it, it wasn't "r?" :)
(In reply to comment #3) > (From update of attachment 21477 [details] [edit]) > The patch looks good actually, it looks like we completly overlooked it :). > Ariya added some API docs and I'm going to land it soon > Thank you for the review + !and sorry for not adding the API docs. And Thank you Ariya for cleaning up the mess :) .
After a brief discussion we committed also r37787 that renames boundingBox() to boundingRect(), for consistency with the rest of the Qt API