NavigationPolicyDecision

A policy decision for navigation actions.

WebKitNavigationPolicyDecision represents a policy decision for events associated with navigations. If the value of #WebKitNavigationPolicyDecision:mouse-button is not 0, then the navigation was triggered by a mouse event.

Constructors

this
this(void* ptr, Flag!"Take" take)

Members

Functions

getNavigationAction
webkit.navigation_action.NavigationAction getNavigationAction()

Gets the value of the #WebKitNavigationPolicyDecision:navigation-action property.

self
NavigationPolicyDecision self()

Returns this, for use in with statements.

Properties

gType
GType gType [@property getter]

Static functions

getGType
GType getGType()

Inherited Members

From PolicyDecision

getGType
GType getGType()
gType
GType gType [@property getter]
self
PolicyDecision self()

Returns this, for use in with statements.

download
void download()

Spawn a download from this decision.

ignore
void ignore()

#WebKitResponsePolicyDecision, this would cancel the request.

use
void use()

Accept the action which triggered this decision.

useWithPolicies
void useWithPolicies(webkit.website_policies.WebsitePolicies policies)

Accept the navigation action and continue with provided policies.