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
GType _getGType() static nothrow
GType _gType() @property nothrow
WebHitTestResult self() nothrowReturns `this`, for use in `with` statements.
WebHitTestResultGidBuilder builder() static nothrowGet builder for [webkitwebprocessextension.web_hit_test_result.WebHitTestResult] Returns: New builder object
bool contextIsEditable() nothrowCheck whether there is an editable element at the hit test position.
bool contextIsImage() nothrowCheck whether there is an image element at the hit test position.
bool contextIsLink() nothrowCheck whether there is a link element at the hit test position.
bool contextIsMedia() nothrowCheck whether there is a media element at the hit test position.
bool contextIsScrollbar() nothrowCheck whether there is a scrollbar 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 flags
string 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.
Constructors
this(void * ptr, Flag!"Take" take)