webkitwebprocessextension.web_hit_test_result
Module for [WebHitTestResult] class
Types 3
Result of a Hit Test (Web Process Extensions).
WebKitWebHitTestResult extends #WebKitHitTestResult to provide information about the #WebKitDOMNode in the coordinates of the Hit Test.
Methods
WebHitTestResultGidBuilder builder() static nothrowGet builder for [webkitwebprocessextension.web_hit_test_result.WebHitTestResult] Returns: New builder objectbool contextIsEditable() nothrowCheck whether there is an editable element at the hit test position.bool contextIsSelection() nothrowCheck whether there is a selected element at the hit test position.uint getContext() nothrowGets the the context flags for the hit test result. Returns: a bitmask of #WebKitHitTestResultContext flagsstring getImageUri() nothrowObtains the URI associated with the image element at the hit test position. Returns: the URI of the image element, or null if the hit test does not cover an image element.javascriptcore.value.Value getJsNode(webkitwebprocessextension.script_world.ScriptWorld world = null) nothrowGet the #JSCValue for the DOM node in world at the coordinates of the Hit Test.string getLinkLabel() nothrowObtains the label associated with the link element at the hit test position. Returns: the label of the link element, or null if the hit test does not cover a link element or the link element does n...string getLinkTitle() nothrowObtains the title associated with the link element at the hit test position. Returns: the title of the link element, or null if the hit test does not cover a link element or the link element does n...string getLinkUri() nothrowObtains the URI associated with the link element at the hit test position. Returns: the URI of the link element, or null if the hit test does not cover a link element.string getMediaUri() nothrowObtains the URI associated with the media element at the hit test position. Returns: the URI of the media element, or null if the hit test does not cover a media element.Fluent builder implementation template for webkitwebprocessextension.web_hit_test_result.WebHitTestResult
Fluent builder for webkitwebprocessextension.web_hit_test_result.WebHitTestResult
Methods