gi-webkit-3.0.14: WebKit bindings

CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.WebKit.Objects.WebPolicyDecision

Contents

Description

WebPolicyDecision 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.

Synopsis

Exported types

Methods

download

webPolicyDecisionDownload Source #

Arguments

:: (HasCallStack, MonadIO m, IsWebPolicyDecision a) 
=> a

decision: a WebPolicyDecision

-> m () 

Will send the DOWNLOAD decision to the policy implementer.

Since: 1.0.3

ignore

webPolicyDecisionIgnore Source #

Arguments

:: (HasCallStack, MonadIO m, IsWebPolicyDecision a) 
=> a

decision: a WebPolicyDecision

-> m () 

Will send the IGNORE decision to the policy implementer.

Since: 1.0.3

use

webPolicyDecisionUse Source #

Arguments

:: (HasCallStack, MonadIO m, IsWebPolicyDecision a) 
=> a

decision: a WebPolicyDecision

-> m () 

Will send the USE decision to the policy implementer.

Since: 1.0.3