AppleOpenSource/WebKit2-7609.3.5.1.3/UIProcess/API/glib/WebKitNavigationPolicyDecision.cpp
/**
 * webkit_navigation_policy_decision_get_navigation_type:
 * @decision: a #WebKitNavigationPolicyDecision
 *
 * Gets the value of the #WebKitNavigationPolicyDecision:navigation-type property.
 *
 * Returns: The type of navigation triggering this policy decision.
 *
 * Deprecated: 2.6: Use webkit_navigation_policy_decision_get_navigation_action() instead.
 */


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

The type of navigation triggering this policy decision.


Gets the value of the #WebKitNavigationPolicyDecision : navigation - type property . The type of navigation triggering this policy decision .
WebKitNavigationType webkit_navigation_policy_decision_get_navigation_type(WebKitNavigationPolicyDecision* decision)
{
    g_return_val_if_fail(WEBKIT_IS_NAVIGATION_POLICY_DECISION(decision), WEBKIT_NAVIGATION_TYPE_OTHER);
    return webkit_navigation_action_get_navigation_type(decision->priv->navigationAction);
}
WebKitNavigationType webkit_navigation_policy_decision_get_navigation_type ( WebKitNavigationPolicyDecision * decision ) { g_return_val_if_fail ( WEBKIT_IS_NAVIGATION_POLICY_DECISION ( decision ) , WEBKIT_NAVIGATION_TYPE_OTHER ) ; return webkit_navigation_action_get_navigation_type ( decision -> priv -> navigationAction ) ; }
webkit_navigation_policy_decision_get_navigation_type:
 @decision: a #WebKitNavigationPolicyDecision
webkit_navigation_policy_decision_get_navigation_type : @decision : a #WebKitNavigationPolicyDecision