Top | ![]() |
![]() |
![]() |
![]() |
WebKitNavigationPolicyDecisionWebKitNavigationPolicyDecision — A policy decision for navigation actions |
WebKitNavigationPolicyDecision represents a policy decision for events associated with navigations. If the value of “mouse-button” is not 0, then the navigation was triggered by a mouse event.
WebKitNavigationAction *
webkit_navigation_policy_decision_get_navigation_action
(WebKitNavigationPolicyDecision *decision
);
Gets the value of the “navigation-action” property.
Since: 2.6
const gchar *
webkit_navigation_policy_decision_get_frame_name
(WebKitNavigationPolicyDecision *decision
);
Gets the value of the “frame-name” property.
Enum values used to denote the various navigation types.
The navigation was triggered by clicking a link. |
||
The navigation was triggered by submitting a form. |
||
The navigation was triggered by navigating forward or backward. |
||
The navigation was triggered by reloading. |
||
The navigation was triggered by resubmitting a form. |
||
The navigation was triggered by some other action. |
“frame-name”
property “frame-name” char *
If this navigation request targets a new frame, this property contains
the name of that frame. For example if the decision was triggered by clicking a
link with a target attribute equal to "_blank", this property will contain the
value of that attribute. In all other cases, this value will be NULL
.
Owner: WebKitNavigationPolicyDecision
Flags: Read
Default value: NULL
“navigation-action”
property“navigation-action” WebKitNavigationAction *
The WebKitNavigationAction that triggered this policy decision.
Owner: WebKitNavigationPolicyDecision
Flags: Read
Since: 2.6