WebKitGTK+ Reference Manual: WebKitWebPolicyDecision

## WebKitWebPolicyDecision WebKitWebPolicyDecision — Liason between WebKit and the application regarding asynchronous policy decisions |

## Synopsis

                        WebKitWebPolicyDecision;
    void                webkit_web_policy_decision_download (WebKitWebPolicyDecision *decision);
    void                webkit_web_policy_decision_ignore   (WebKitWebPolicyDecision *decision);
    void                webkit_web_policy_decision_use      (WebKitWebPolicyDecision *decision);

## Object Hierarchy

      GObject
       +----WebKitWebPolicyDecision

## Description

WebKitWebPolicyDecision objects are given to the application on signal emissions that deal with policy decisions, such as if a new window should be opened, or if a given navigation should be allowed. The application uses it to tell the engine what to do.

## Details

### WebKitWebPolicyDecision

    typedef struct _WebKitWebPolicyDecision WebKitWebPolicyDecision;

### webkit_web_policy_decision_download ()

    void                webkit_web_policy_decision_download (WebKitWebPolicyDecision *decision);

Will send the DOWNLOAD decision to the policy implementer.

`decision` : | a WebKitWebPolicyDecision

Since 1.0.3

### webkit_web_policy_decision_ignore ()

    void                webkit_web_policy_decision_ignore   (WebKitWebPolicyDecision *decision);

Will send the IGNORE decision to the policy implementer.

`decision` : | a WebKitWebPolicyDecision

Since 1.0.3

### webkit_web_policy_decision_use ()

    void                webkit_web_policy_decision_use      (WebKitWebPolicyDecision *decision);

Will send the USE decision to the policy implementer.

`decision` : | a WebKitWebPolicyDecision

Since 1.0.3