webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Attributes | List of all members
_WebKitPolicyDecisionPrivate Struct Reference

Public Attributes

RefPtr< WebFramePolicyListenerProxylistener
 
bool madePolicyDecision
 

Detailed Description

SECTION: WebKitPolicyDecision : A pending policy decision : WebKitPolicyDecision : WebKitWebView

Often WebKit allows the client to decide the policy for certain operations. For instance, a client may want to open a link in a new tab, block a navigation entirely, query the user or trigger a download instead of a navigation. In these cases WebKit will fire the #WebKitWebView::decide-policy signal with a WebKitPolicyDecision object. If the signal handler does nothing, WebKit will act as if webkit_policy_decision_use() was called as soon as signal handling completes. To make a policy decision asynchronously, simply increment the reference count of the WebKitPolicyDecision object.

Member Data Documentation

◆ listener

RefPtr<WebFramePolicyListenerProxy> _WebKitPolicyDecisionPrivate::listener

◆ madePolicyDecision

bool _WebKitPolicyDecisionPrivate::madePolicyDecision

The documentation for this struct was generated from the following file: