Add APIs for hit test in web view.