Files
archived-gir-files/WebKit2-4.0.gir
2022-01-18 14:35:41 +08:00

20480 lines
1.1 MiB

<?xml version="1.0"?>
<!-- This file was automatically generated from C sources - DO NOT EDIT!
To affect the contents of this file, edit the original C definitions,
and/or use gtk-doc annotations. -->
<repository xmlns="http://www.gtk.org/introspection/core/1.0" xmlns:c="http://www.gtk.org/introspection/c/1.0" xmlns:glib="http://www.gtk.org/introspection/glib/1.0" version="1.2">
<include name="GObject" version="2.0"/>
<include name="Gtk" version="3.0"/>
<include name="JavaScriptCore" version="4.0"/>
<include name="Soup" version="2.4"/>
<package name="webkit2gtk-4.0"/>
<c:include name="webkit2/webkit2.h"/>
<namespace name="WebKit2" version="4.0" shared-library="libwebkit2gtk-4.0.so.37,libjavascriptcoregtk-4.0.so.18" c:identifier-prefixes="WebKit" c:symbol-prefixes="webkit">
<function-macro name="AUTHENTICATION_REQUEST" c:identifier="WEBKIT_AUTHENTICATION_REQUEST" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="AUTHENTICATION_REQUEST_CLASS" c:identifier="WEBKIT_AUTHENTICATION_REQUEST_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="AUTHENTICATION_REQUEST_GET_CLASS" c:identifier="WEBKIT_AUTHENTICATION_REQUEST_GET_CLASS" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="AUTOMATION_SESSION" c:identifier="WEBKIT_AUTOMATION_SESSION" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="AUTOMATION_SESSION_CLASS" c:identifier="WEBKIT_AUTOMATION_SESSION_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="AUTOMATION_SESSION_GET_CLASS" c:identifier="WEBKIT_AUTOMATION_SESSION_GET_CLASS" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<record name="ApplicationInfo" c:type="WebKitApplicationInfo" glib:type-name="WebKitApplicationInfo" glib:get-type="webkit_application_info_get_type" c:symbol-prefix="application_info">
<constructor name="new" c:identifier="webkit_application_info_new" version="2.18">
<doc xml:space="preserve">Creates a new #WebKitApplicationInfo</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">the newly created #WebKitApplicationInfo.</doc>
<type name="ApplicationInfo" c:type="WebKitApplicationInfo*"/>
</return-value>
</constructor>
<method name="get_name" c:identifier="webkit_application_info_get_name" version="2.18">
<doc xml:space="preserve">Get the name of the application. If webkit_application_info_set_name() hasn't been
called with a valid name, this returns g_get_prgname().</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the application name</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="info" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitApplicationInfo</doc>
<type name="ApplicationInfo" c:type="WebKitApplicationInfo*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_version" c:identifier="webkit_application_info_get_version" version="2.18">
<doc xml:space="preserve">Get the application version previously set with webkit_application_info_set_version().</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="info" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitApplicationInfo</doc>
<type name="ApplicationInfo" c:type="WebKitApplicationInfo*"/>
</instance-parameter>
<parameter name="major" direction="out" caller-allocates="0" transfer-ownership="full">
<doc xml:space="preserve">return location for the major version number</doc>
<type name="guint64" c:type="guint64*"/>
</parameter>
<parameter name="minor" direction="out" caller-allocates="0" transfer-ownership="full" optional="1" allow-none="1">
<doc xml:space="preserve">return location for the minor version number</doc>
<type name="guint64" c:type="guint64*"/>
</parameter>
<parameter name="micro" direction="out" caller-allocates="0" transfer-ownership="full" optional="1" allow-none="1">
<doc xml:space="preserve">return location for the micro version number</doc>
<type name="guint64" c:type="guint64*"/>
</parameter>
</parameters>
</method>
<method name="ref" c:identifier="webkit_application_info_ref" version="2.18">
<doc xml:space="preserve">Atomically increments the reference count of @info by one. This
function is MT-safe and may be called from any thread.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">The passed in #WebKitApplicationInfo</doc>
<type name="ApplicationInfo" c:type="WebKitApplicationInfo*"/>
</return-value>
<parameters>
<instance-parameter name="info" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitApplicationInfo</doc>
<type name="ApplicationInfo" c:type="WebKitApplicationInfo*"/>
</instance-parameter>
</parameters>
</method>
<method name="set_name" c:identifier="webkit_application_info_set_name" version="2.18">
<doc xml:space="preserve">Set the name of the application. If not provided, or %NULL is passed,
g_get_prgname() will be used.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="info" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitApplicationInfo</doc>
<type name="ApplicationInfo" c:type="WebKitApplicationInfo*"/>
</instance-parameter>
<parameter name="name" transfer-ownership="none">
<doc xml:space="preserve">the application name</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="set_version" c:identifier="webkit_application_info_set_version" version="2.18">
<doc xml:space="preserve">Set the application version. If the application doesn't use the format
major.minor.micro you can pass 0 as the micro to use major.minor, or pass
0 as both micro and minor to use only major number. Any other format must
be converted to major.minor.micro so that it can be used in version comparisons.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="info" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitApplicationInfo</doc>
<type name="ApplicationInfo" c:type="WebKitApplicationInfo*"/>
</instance-parameter>
<parameter name="major" transfer-ownership="none">
<doc xml:space="preserve">the major version number</doc>
<type name="guint64" c:type="guint64"/>
</parameter>
<parameter name="minor" transfer-ownership="none">
<doc xml:space="preserve">the minor version number</doc>
<type name="guint64" c:type="guint64"/>
</parameter>
<parameter name="micro" transfer-ownership="none">
<doc xml:space="preserve">the micro version number</doc>
<type name="guint64" c:type="guint64"/>
</parameter>
</parameters>
</method>
<method name="unref" c:identifier="webkit_application_info_unref" version="2.18">
<doc xml:space="preserve">Atomically decrements the reference count of @info by one. If the
reference count drops to 0, all memory allocated by the #WebKitApplicationInfo is
released. This function is MT-safe and may be called from any
thread.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="info" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitApplicationInfo</doc>
<type name="ApplicationInfo" c:type="WebKitApplicationInfo*"/>
</instance-parameter>
</parameters>
</method>
</record>
<class name="AuthenticationRequest" c:symbol-prefix="authentication_request" c:type="WebKitAuthenticationRequest" parent="GObject.Object" glib:type-name="WebKitAuthenticationRequest" glib:get-type="webkit_authentication_request_get_type" glib:type-struct="AuthenticationRequestClass">
<method name="authenticate" c:identifier="webkit_authentication_request_authenticate" version="2.2">
<doc xml:space="preserve">Authenticate the #WebKitAuthenticationRequest using the #WebKitCredential
supplied. To continue without credentials, pass %NULL as @credential.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="request" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitAuthenticationRequest</doc>
<type name="AuthenticationRequest" c:type="WebKitAuthenticationRequest*"/>
</instance-parameter>
<parameter name="credential" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">A #WebKitCredential, or %NULL</doc>
<type name="Credential" c:type="WebKitCredential*"/>
</parameter>
</parameters>
</method>
<method name="can_save_credentials" c:identifier="webkit_authentication_request_can_save_credentials" version="2.2">
<doc xml:space="preserve">Determine whether the authentication method associated with this
#WebKitAuthenticationRequest should allow the storage of credentials.
This will return %FALSE if WebKit doesn't support credential storing,
if private browsing is enabled, or if persistent credential storage has been
disabled in #WebKitWebsiteDataManager, unless credentials saving has been
explicitly enabled with webkit_authentication_request_set_can_save_credentials().</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if WebKit can store credentials or %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="request" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitAuthenticationRequest</doc>
<type name="AuthenticationRequest" c:type="WebKitAuthenticationRequest*"/>
</instance-parameter>
</parameters>
</method>
<method name="cancel" c:identifier="webkit_authentication_request_cancel" version="2.2">
<doc xml:space="preserve">Cancel the authentication challenge. This will also cancel the page loading and result in a
#WebKitWebView::load-failed signal with a #WebKitNetworkError of type %WEBKIT_NETWORK_ERROR_CANCELLED being emitted.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="request" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitAuthenticationRequest</doc>
<type name="AuthenticationRequest" c:type="WebKitAuthenticationRequest*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_certificate_pin_flags" c:identifier="webkit_authentication_request_get_certificate_pin_flags" version="2.34">
<doc xml:space="preserve">Get the #GTlsPasswordFlags of the %WEBKIT_AUTHENTICATION_SCHEME_CLIENT_CERTIFICATE_PIN_REQUESTED authentication challenge.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">a #GTlsPasswordFlags</doc>
<type name="Gio.TlsPasswordFlags" c:type="GTlsPasswordFlags"/>
</return-value>
<parameters>
<instance-parameter name="request" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitAuthenticationRequest</doc>
<type name="AuthenticationRequest" c:type="WebKitAuthenticationRequest*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_host" c:identifier="webkit_authentication_request_get_host" version="2.2">
<doc xml:space="preserve">Get the host that this authentication challenge is applicable to.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">The host of @request.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="request" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitAuthenticationRequest</doc>
<type name="AuthenticationRequest" c:type="WebKitAuthenticationRequest*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_port" c:identifier="webkit_authentication_request_get_port" version="2.2">
<doc xml:space="preserve">Get the port that this authentication challenge is applicable to.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">The port of @request.</doc>
<type name="guint" c:type="guint"/>
</return-value>
<parameters>
<instance-parameter name="request" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitAuthenticationRequest</doc>
<type name="AuthenticationRequest" c:type="WebKitAuthenticationRequest*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_proposed_credential" c:identifier="webkit_authentication_request_get_proposed_credential" version="2.2">
<doc xml:space="preserve">Get the #WebKitCredential of the proposed authentication challenge that was
stored from a previous session. The client can use this directly for
authentication or construct their own #WebKitCredential.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">A #WebKitCredential encapsulating credential details
or %NULL if there is no stored credential.</doc>
<type name="Credential" c:type="WebKitCredential*"/>
</return-value>
<parameters>
<instance-parameter name="request" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitAuthenticationRequest</doc>
<type name="AuthenticationRequest" c:type="WebKitAuthenticationRequest*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_realm" c:identifier="webkit_authentication_request_get_realm" version="2.2">
<doc xml:space="preserve">Get the realm that this authentication challenge is applicable to.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">The realm of @request.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="request" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitAuthenticationRequest</doc>
<type name="AuthenticationRequest" c:type="WebKitAuthenticationRequest*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_scheme" c:identifier="webkit_authentication_request_get_scheme" version="2.2">
<doc xml:space="preserve">Get the authentication scheme of the authentication challenge.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">The #WebKitAuthenticationScheme of @request.</doc>
<type name="AuthenticationScheme" c:type="WebKitAuthenticationScheme"/>
</return-value>
<parameters>
<instance-parameter name="request" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitAuthenticationRequest</doc>
<type name="AuthenticationRequest" c:type="WebKitAuthenticationRequest*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_security_origin" c:identifier="webkit_authentication_request_get_security_origin" version="2.30">
<doc xml:space="preserve">Get the #WebKitSecurityOrigin that this authentication challenge is applicable to.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">a newly created #WebKitSecurityOrigin.</doc>
<type name="SecurityOrigin" c:type="WebKitSecurityOrigin*"/>
</return-value>
<parameters>
<instance-parameter name="request" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitAuthenticationRequest</doc>
<type name="AuthenticationRequest" c:type="WebKitAuthenticationRequest*"/>
</instance-parameter>
</parameters>
</method>
<method name="is_for_proxy" c:identifier="webkit_authentication_request_is_for_proxy" version="2.2">
<doc xml:space="preserve">Determine whether the authentication challenge is associated with a proxy server rather than an "origin" server.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if authentication is for a proxy or %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="request" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitAuthenticationRequest</doc>
<type name="AuthenticationRequest" c:type="WebKitAuthenticationRequest*"/>
</instance-parameter>
</parameters>
</method>
<method name="is_retry" c:identifier="webkit_authentication_request_is_retry" version="2.2">
<doc xml:space="preserve">Determine whether this this is a first attempt or a retry for this authentication challenge.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if authentication attempt is a retry or %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="request" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitAuthenticationRequest</doc>
<type name="AuthenticationRequest" c:type="WebKitAuthenticationRequest*"/>
</instance-parameter>
</parameters>
</method>
<method name="set_can_save_credentials" c:identifier="webkit_authentication_request_set_can_save_credentials" version="2.30">
<doc xml:space="preserve">Set whether the authentication method associated with @request
should allow the storage of credentials.
This should be used by applications handling their own credentials
storage to indicate that it should be supported even when internal
credential storage is disabled or unsupported.
Note that storing of credentials will not be allowed on ephemeral
sessions in any case.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="request" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitAuthenticationRequest</doc>
<type name="AuthenticationRequest" c:type="WebKitAuthenticationRequest*"/>
</instance-parameter>
<parameter name="enabled" transfer-ownership="none">
<doc xml:space="preserve">value to set</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_proposed_credential" c:identifier="webkit_authentication_request_set_proposed_credential" version="2.30">
<doc xml:space="preserve">Set the #WebKitCredential of the proposed authentication challenge that was
stored from a previous session. This should only be used by applications handling
their own credential storage. (When using the default WebKit credential storage,
webkit_authentication_request_get_proposed_credential() already contains previously-stored
credentials.)
Passing a %NULL @credential will clear the proposed credential.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="request" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitAuthenticationRequest</doc>
<type name="AuthenticationRequest" c:type="WebKitAuthenticationRequest*"/>
</instance-parameter>
<parameter name="credential" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitCredential, or %NULL</doc>
<type name="Credential" c:type="WebKitCredential*"/>
</parameter>
</parameters>
</method>
<field name="parent">
<type name="GObject.Object" c:type="GObject"/>
</field>
<field name="priv" readable="0" private="1">
<type name="AuthenticationRequestPrivate" c:type="WebKitAuthenticationRequestPrivate*"/>
</field>
<glib:signal name="authenticated" when="last" version="2.30">
<doc xml:space="preserve">This signal is emitted when the user authentication request succeeded.
Applications handling their own credential storage should connect to
this signal to save the credentials.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="credential" transfer-ownership="none">
<doc xml:space="preserve">the #WebKitCredential accepted</doc>
<type name="Credential"/>
</parameter>
</parameters>
</glib:signal>
<glib:signal name="cancelled" when="last" version="2.2">
<doc xml:space="preserve">This signal is emitted when the user authentication request is
cancelled. It allows the application to dismiss its authentication
dialog in case of page load failure for example.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</glib:signal>
</class>
<record name="AuthenticationRequestClass" c:type="WebKitAuthenticationRequestClass" glib:is-gtype-struct-for="AuthenticationRequest">
<field name="parent_class">
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
</field>
<field name="_webkit_reserved0" introspectable="0">
<callback name="_webkit_reserved0">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved1" introspectable="0">
<callback name="_webkit_reserved1">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved2" introspectable="0">
<callback name="_webkit_reserved2">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved3" introspectable="0">
<callback name="_webkit_reserved3">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
</record>
<record name="AuthenticationRequestPrivate" c:type="WebKitAuthenticationRequestPrivate" disguised="1"/>
<enumeration name="AuthenticationScheme" version="2.2" glib:type-name="WebKitAuthenticationScheme" glib:get-type="webkit_authentication_scheme_get_type" c:type="WebKitAuthenticationScheme">
<doc xml:space="preserve">Enum values representing the authentication scheme.</doc>
<member name="default" value="1" c:identifier="WEBKIT_AUTHENTICATION_SCHEME_DEFAULT" glib:nick="default" glib:name="WEBKIT_AUTHENTICATION_SCHEME_DEFAULT">
<doc xml:space="preserve">The default authentication scheme of WebKit.</doc>
</member>
<member name="http_basic" value="2" c:identifier="WEBKIT_AUTHENTICATION_SCHEME_HTTP_BASIC" glib:nick="http-basic" glib:name="WEBKIT_AUTHENTICATION_SCHEME_HTTP_BASIC">
<doc xml:space="preserve">Basic authentication scheme as defined in RFC 2617.</doc>
</member>
<member name="http_digest" value="3" c:identifier="WEBKIT_AUTHENTICATION_SCHEME_HTTP_DIGEST" glib:nick="http-digest" glib:name="WEBKIT_AUTHENTICATION_SCHEME_HTTP_DIGEST">
<doc xml:space="preserve">Digest authentication scheme as defined in RFC 2617.</doc>
</member>
<member name="html_form" value="4" c:identifier="WEBKIT_AUTHENTICATION_SCHEME_HTML_FORM" glib:nick="html-form" glib:name="WEBKIT_AUTHENTICATION_SCHEME_HTML_FORM">
<doc xml:space="preserve">HTML Form authentication.</doc>
</member>
<member name="ntlm" value="5" c:identifier="WEBKIT_AUTHENTICATION_SCHEME_NTLM" glib:nick="ntlm" glib:name="WEBKIT_AUTHENTICATION_SCHEME_NTLM">
<doc xml:space="preserve">NTLM Microsoft proprietary authentication scheme.</doc>
</member>
<member name="negotiate" value="6" c:identifier="WEBKIT_AUTHENTICATION_SCHEME_NEGOTIATE" glib:nick="negotiate" glib:name="WEBKIT_AUTHENTICATION_SCHEME_NEGOTIATE">
<doc xml:space="preserve">Negotiate (or SPNEGO) authentication scheme as defined in RFC 4559.</doc>
</member>
<member name="client_certificate_requested" value="7" c:identifier="WEBKIT_AUTHENTICATION_SCHEME_CLIENT_CERTIFICATE_REQUESTED" glib:nick="client-certificate-requested" glib:name="WEBKIT_AUTHENTICATION_SCHEME_CLIENT_CERTIFICATE_REQUESTED">
<doc xml:space="preserve">Client Certificate Authentication (see RFC 2246).</doc>
</member>
<member name="server_trust_evaluation_requested" value="8" c:identifier="WEBKIT_AUTHENTICATION_SCHEME_SERVER_TRUST_EVALUATION_REQUESTED" glib:nick="server-trust-evaluation-requested" glib:name="WEBKIT_AUTHENTICATION_SCHEME_SERVER_TRUST_EVALUATION_REQUESTED">
<doc xml:space="preserve">Server Trust Authentication.</doc>
</member>
<member name="client_certificate_pin_requested" value="9" c:identifier="WEBKIT_AUTHENTICATION_SCHEME_CLIENT_CERTIFICATE_PIN_REQUESTED" glib:nick="client-certificate-pin-requested" glib:name="WEBKIT_AUTHENTICATION_SCHEME_CLIENT_CERTIFICATE_PIN_REQUESTED">
<doc xml:space="preserve">Client certificate PIN required for use. Since: 2.34</doc>
</member>
<member name="unknown" value="100" c:identifier="WEBKIT_AUTHENTICATION_SCHEME_UNKNOWN" glib:nick="unknown" glib:name="WEBKIT_AUTHENTICATION_SCHEME_UNKNOWN">
<doc xml:space="preserve">Authentication scheme unknown.</doc>
</member>
</enumeration>
<enumeration name="AutomationBrowsingContextPresentation" version="2.28" glib:type-name="WebKitAutomationBrowsingContextPresentation" glib:get-type="webkit_automation_browsing_context_presentation_get_type" c:type="WebKitAutomationBrowsingContextPresentation">
<doc xml:space="preserve">Enum values used for determining the automation browsing context presentation.</doc>
<member name="window" value="0" c:identifier="WEBKIT_AUTOMATION_BROWSING_CONTEXT_PRESENTATION_WINDOW" glib:nick="window" glib:name="WEBKIT_AUTOMATION_BROWSING_CONTEXT_PRESENTATION_WINDOW">
<doc xml:space="preserve">a window</doc>
</member>
<member name="tab" value="1" c:identifier="WEBKIT_AUTOMATION_BROWSING_CONTEXT_PRESENTATION_TAB" glib:nick="tab" glib:name="WEBKIT_AUTOMATION_BROWSING_CONTEXT_PRESENTATION_TAB">
<doc xml:space="preserve">a tab</doc>
</member>
</enumeration>
<class name="AutomationSession" c:symbol-prefix="automation_session" c:type="WebKitAutomationSession" parent="GObject.Object" glib:type-name="WebKitAutomationSession" glib:get-type="webkit_automation_session_get_type" glib:type-struct="AutomationSessionClass">
<method name="get_application_info" c:identifier="webkit_automation_session_get_application_info" version="2.18">
<doc xml:space="preserve">Get the #WebKitAutomationSession previously set with webkit_automation_session_set_application_info().</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the #WebKitAutomationSession of @session, or %NULL if no one has been set.</doc>
<type name="ApplicationInfo" c:type="WebKitApplicationInfo*"/>
</return-value>
<parameters>
<instance-parameter name="session" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitAutomationSession</doc>
<type name="AutomationSession" c:type="WebKitAutomationSession*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_id" c:identifier="webkit_automation_session_get_id" glib:get-property="id" version="2.18">
<doc xml:space="preserve">Get the unique identifier of a #WebKitAutomationSession</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the unique identifier of @session</doc>
<type name="utf8" c:type="const char*"/>
</return-value>
<parameters>
<instance-parameter name="session" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitAutomationSession</doc>
<type name="AutomationSession" c:type="WebKitAutomationSession*"/>
</instance-parameter>
</parameters>
</method>
<method name="set_application_info" c:identifier="webkit_automation_session_set_application_info" version="2.18">
<doc xml:space="preserve">Set the application information to @session. This information will be used by the driver service
to match the requested capabilities with the actual application information. If this information
is not provided to the session when a new automation session is requested, the creation might fail
if the client requested a specific browser name or version. This will not have any effect when called
after the automation session has been fully created, so this must be called in the callback of
#WebKitWebContext::automation-started signal.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="session" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitAutomationSession</doc>
<type name="AutomationSession" c:type="WebKitAutomationSession*"/>
</instance-parameter>
<parameter name="info" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitApplicationInfo</doc>
<type name="ApplicationInfo" c:type="WebKitApplicationInfo*"/>
</parameter>
</parameters>
</method>
<property name="id" version="2.18" writable="1" construct-only="1" transfer-ownership="none" getter="get_id">
<doc xml:space="preserve">The session unique identifier.</doc>
<type name="utf8" c:type="gchar*"/>
</property>
<field name="parent">
<type name="GObject.Object" c:type="GObject"/>
</field>
<field name="priv">
<type name="AutomationSessionPrivate" c:type="WebKitAutomationSessionPrivate*"/>
</field>
<glib:signal name="create-web-view" when="last" detailed="1" version="2.18">
<doc xml:space="preserve">This signal is emitted when the automation client requests a new
browsing context to interact with it. The callback handler should
return a #WebKitWebView created with #WebKitWebView:is-controlled-by-automation
construct property enabled and #WebKitWebView:automation-presentation-type construct
property set if needed.
If the signal is emitted with "tab" detail, the returned #WebKitWebView should be
a new web view added to a new tab of the current browsing context window.
If the signal is emitted with "window" detail, the returned #WebKitWebView should be
a new web view added to a new window.
When creating a new web view and there's an active browsing context, the new window
or tab shouldn't be focused.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebView widget.</doc>
<type name="WebView"/>
</return-value>
</glib:signal>
</class>
<record name="AutomationSessionClass" c:type="WebKitAutomationSessionClass" glib:is-gtype-struct-for="AutomationSession">
<field name="parent_class">
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
</field>
<field name="_webkit_reserved0" introspectable="0">
<callback name="_webkit_reserved0">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved1" introspectable="0">
<callback name="_webkit_reserved1">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved2" introspectable="0">
<callback name="_webkit_reserved2">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved3" introspectable="0">
<callback name="_webkit_reserved3">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
</record>
<record name="AutomationSessionPrivate" c:type="WebKitAutomationSessionPrivate" disguised="1"/>
<enumeration name="AutoplayPolicy" version="2.30" glib:type-name="WebKitAutoplayPolicy" glib:get-type="webkit_autoplay_policy_get_type" c:type="WebKitAutoplayPolicy">
<doc xml:space="preserve">Enum values used to specify autoplay policies.</doc>
<member name="allow" value="0" c:identifier="WEBKIT_AUTOPLAY_ALLOW" glib:nick="allow" glib:name="WEBKIT_AUTOPLAY_ALLOW">
<doc xml:space="preserve">Do not restrict autoplay.</doc>
</member>
<member name="allow_without_sound" value="1" c:identifier="WEBKIT_AUTOPLAY_ALLOW_WITHOUT_SOUND" glib:nick="allow-without-sound" glib:name="WEBKIT_AUTOPLAY_ALLOW_WITHOUT_SOUND">
<doc xml:space="preserve">Allow videos to autoplay if
they have no audio track, or if their audio track is muted.</doc>
</member>
<member name="deny" value="2" c:identifier="WEBKIT_AUTOPLAY_DENY" glib:nick="deny" glib:name="WEBKIT_AUTOPLAY_DENY">
<doc xml:space="preserve">Never allow autoplay.</doc>
</member>
</enumeration>
<function-macro name="BACK_FORWARD_LIST" c:identifier="WEBKIT_BACK_FORWARD_LIST" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="BACK_FORWARD_LIST_CLASS" c:identifier="WEBKIT_BACK_FORWARD_LIST_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="BACK_FORWARD_LIST_GET_CLASS" c:identifier="WEBKIT_BACK_FORWARD_LIST_GET_CLASS" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="BACK_FORWARD_LIST_ITEM" c:identifier="WEBKIT_BACK_FORWARD_LIST_ITEM" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="BACK_FORWARD_LIST_ITEM_CLASS" c:identifier="WEBKIT_BACK_FORWARD_LIST_ITEM_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="BACK_FORWARD_LIST_ITEM_GET_CLASS" c:identifier="WEBKIT_BACK_FORWARD_LIST_ITEM_GET_CLASS" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<class name="BackForwardList" c:symbol-prefix="back_forward_list" c:type="WebKitBackForwardList" parent="GObject.Object" glib:type-name="WebKitBackForwardList" glib:get-type="webkit_back_forward_list_get_type" glib:type-struct="BackForwardListClass">
<method name="get_back_item" c:identifier="webkit_back_forward_list_get_back_item">
<doc xml:space="preserve">Returns the item that precedes the current item.</doc>
<return-value transfer-ownership="none" nullable="1">
<doc xml:space="preserve">the #WebKitBackForwardListItem
preceding the current item or %NULL.</doc>
<type name="BackForwardListItem" c:type="WebKitBackForwardListItem*"/>
</return-value>
<parameters>
<instance-parameter name="back_forward_list" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitBackForwardList</doc>
<type name="BackForwardList" c:type="WebKitBackForwardList*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_back_list" c:identifier="webkit_back_forward_list_get_back_list">
<return-value transfer-ownership="container">
<doc xml:space="preserve">a #GList of
items preceding the current item.</doc>
<type name="GLib.List" c:type="GList*">
<type name="BackForwardListItem"/>
</type>
</return-value>
<parameters>
<instance-parameter name="back_forward_list" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitBackForwardList</doc>
<type name="BackForwardList" c:type="WebKitBackForwardList*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_back_list_with_limit" c:identifier="webkit_back_forward_list_get_back_list_with_limit">
<return-value transfer-ownership="container">
<doc xml:space="preserve">a #GList of
items preceding the current item limited by @limit.</doc>
<type name="GLib.List" c:type="GList*">
<type name="BackForwardListItem"/>
</type>
</return-value>
<parameters>
<instance-parameter name="back_forward_list" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitBackForwardList</doc>
<type name="BackForwardList" c:type="WebKitBackForwardList*"/>
</instance-parameter>
<parameter name="limit" transfer-ownership="none">
<doc xml:space="preserve">the number of items to retrieve</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</method>
<method name="get_current_item" c:identifier="webkit_back_forward_list_get_current_item">
<doc xml:space="preserve">Returns the current item in @back_forward_list.</doc>
<return-value transfer-ownership="none" nullable="1">
<doc xml:space="preserve">a #WebKitBackForwardListItem
or %NULL if @back_forward_list is empty.</doc>
<type name="BackForwardListItem" c:type="WebKitBackForwardListItem*"/>
</return-value>
<parameters>
<instance-parameter name="back_forward_list" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitBackForwardList</doc>
<type name="BackForwardList" c:type="WebKitBackForwardList*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_forward_item" c:identifier="webkit_back_forward_list_get_forward_item">
<doc xml:space="preserve">Returns the item that follows the current item.</doc>
<return-value transfer-ownership="none" nullable="1">
<doc xml:space="preserve">the #WebKitBackForwardListItem
following the current item or %NULL.</doc>
<type name="BackForwardListItem" c:type="WebKitBackForwardListItem*"/>
</return-value>
<parameters>
<instance-parameter name="back_forward_list" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitBackForwardList</doc>
<type name="BackForwardList" c:type="WebKitBackForwardList*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_forward_list" c:identifier="webkit_back_forward_list_get_forward_list">
<return-value transfer-ownership="container">
<doc xml:space="preserve">a #GList of
items following the current item.</doc>
<type name="GLib.List" c:type="GList*">
<type name="BackForwardListItem"/>
</type>
</return-value>
<parameters>
<instance-parameter name="back_forward_list" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitBackForwardList</doc>
<type name="BackForwardList" c:type="WebKitBackForwardList*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_forward_list_with_limit" c:identifier="webkit_back_forward_list_get_forward_list_with_limit">
<return-value transfer-ownership="container">
<doc xml:space="preserve">a #GList of
items following the current item limited by @limit.</doc>
<type name="GLib.List" c:type="GList*">
<type name="BackForwardListItem"/>
</type>
</return-value>
<parameters>
<instance-parameter name="back_forward_list" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitBackForwardList</doc>
<type name="BackForwardList" c:type="WebKitBackForwardList*"/>
</instance-parameter>
<parameter name="limit" transfer-ownership="none">
<doc xml:space="preserve">the number of items to retrieve</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</method>
<method name="get_length" c:identifier="webkit_back_forward_list_get_length">
<return-value transfer-ownership="none">
<doc xml:space="preserve">the length of @back_forward_list.</doc>
<type name="guint" c:type="guint"/>
</return-value>
<parameters>
<instance-parameter name="back_forward_list" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitBackForwardList</doc>
<type name="BackForwardList" c:type="WebKitBackForwardList*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_nth_item" c:identifier="webkit_back_forward_list_get_nth_item">
<doc xml:space="preserve">Returns the item at a given index relative to the current item.</doc>
<return-value transfer-ownership="none" nullable="1">
<doc xml:space="preserve">the #WebKitBackForwardListItem
located at the specified index relative to the current item or %NULL.</doc>
<type name="BackForwardListItem" c:type="WebKitBackForwardListItem*"/>
</return-value>
<parameters>
<instance-parameter name="back_forward_list" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitBackForwardList</doc>
<type name="BackForwardList" c:type="WebKitBackForwardList*"/>
</instance-parameter>
<parameter name="index" transfer-ownership="none">
<doc xml:space="preserve">the index of the item</doc>
<type name="gint" c:type="gint"/>
</parameter>
</parameters>
</method>
<field name="parent">
<type name="GObject.Object" c:type="GObject"/>
</field>
<field name="priv">
<type name="BackForwardListPrivate" c:type="WebKitBackForwardListPrivate*"/>
</field>
<glib:signal name="changed" when="last">
<doc xml:space="preserve">This signal is emitted when @back_forward_list changes. This happens
when the current item is updated, a new item is added or one or more
items are removed. Note that both @item_added and @items_removed can
%NULL when only the current item is updated. Items are only removed
when the list is cleared or the maximum items limit is reached.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="item_added" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">the #WebKitBackForwardListItem added or %NULL</doc>
<type name="BackForwardListItem"/>
</parameter>
<parameter name="items_removed" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">a #GList of #WebKitBackForwardListItem&lt;!-- --&gt;s</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
</glib:signal>
</class>
<record name="BackForwardListClass" c:type="WebKitBackForwardListClass" glib:is-gtype-struct-for="BackForwardList">
<field name="parent_class">
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
</field>
<field name="_webkit_reserved0" introspectable="0">
<callback name="_webkit_reserved0">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved1" introspectable="0">
<callback name="_webkit_reserved1">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved2" introspectable="0">
<callback name="_webkit_reserved2">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved3" introspectable="0">
<callback name="_webkit_reserved3">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
</record>
<class name="BackForwardListItem" c:symbol-prefix="back_forward_list_item" c:type="WebKitBackForwardListItem" parent="GObject.InitiallyUnowned" glib:type-name="WebKitBackForwardListItem" glib:get-type="webkit_back_forward_list_item_get_type" glib:type-struct="BackForwardListItemClass">
<method name="get_original_uri" c:identifier="webkit_back_forward_list_item_get_original_uri">
<doc xml:space="preserve">See also webkit_back_forward_list_item_get_uri().</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the original URI of @list_item or %NULL
when the original URI is empty.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="list_item" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitBackForwardListItem</doc>
<type name="BackForwardListItem" c:type="WebKitBackForwardListItem*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_title" c:identifier="webkit_back_forward_list_item_get_title">
<return-value transfer-ownership="none">
<doc xml:space="preserve">the page title of @list_item or %NULL
when the title is empty.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="list_item" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitBackForwardListItem</doc>
<type name="BackForwardListItem" c:type="WebKitBackForwardListItem*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_uri" c:identifier="webkit_back_forward_list_item_get_uri">
<doc xml:space="preserve">This URI may differ from the original URI if the page was,
for example, redirected to a new location.
See also webkit_back_forward_list_item_get_original_uri().</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the URI of @list_item or %NULL
when the URI is empty.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="list_item" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitBackForwardListItem</doc>
<type name="BackForwardListItem" c:type="WebKitBackForwardListItem*"/>
</instance-parameter>
</parameters>
</method>
<field name="parent">
<type name="GObject.InitiallyUnowned" c:type="GInitiallyUnowned"/>
</field>
<field name="priv">
<type name="BackForwardListItemPrivate" c:type="WebKitBackForwardListItemPrivate*"/>
</field>
</class>
<record name="BackForwardListItemClass" c:type="WebKitBackForwardListItemClass" glib:is-gtype-struct-for="BackForwardListItem">
<field name="parent_class">
<type name="GObject.InitiallyUnownedClass" c:type="GInitiallyUnownedClass"/>
</field>
<field name="_webkit_reserved0" introspectable="0">
<callback name="_webkit_reserved0">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved1" introspectable="0">
<callback name="_webkit_reserved1">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved2" introspectable="0">
<callback name="_webkit_reserved2">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved3" introspectable="0">
<callback name="_webkit_reserved3">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
</record>
<record name="BackForwardListItemPrivate" c:type="WebKitBackForwardListItemPrivate" disguised="1"/>
<record name="BackForwardListPrivate" c:type="WebKitBackForwardListPrivate" disguised="1"/>
<function-macro name="CHECK_VERSION" c:identifier="WEBKIT_CHECK_VERSION" introspectable="0">
<parameters>
<parameter name="major">
<doc xml:space="preserve">major version (e.g. 1 for version 1.2.5)</doc>
</parameter>
<parameter name="minor">
<doc xml:space="preserve">minor version (e.g. 2 for version 1.2.5)</doc>
</parameter>
<parameter name="micro">
<doc xml:space="preserve">micro version (e.g. 5 for version 1.2.5)</doc>
</parameter>
</parameters>
</function-macro>
<function-macro name="COLOR_CHOOSER_REQUEST" c:identifier="WEBKIT_COLOR_CHOOSER_REQUEST" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="COLOR_CHOOSER_REQUEST_CLASS" c:identifier="WEBKIT_COLOR_CHOOSER_REQUEST_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="COLOR_CHOOSER_REQUEST_GET_CLASS" c:identifier="WEBKIT_COLOR_CHOOSER_REQUEST_GET_CLASS" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="CONTEXT_MENU" c:identifier="WEBKIT_CONTEXT_MENU" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="CONTEXT_MENU_CLASS" c:identifier="WEBKIT_CONTEXT_MENU_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="CONTEXT_MENU_GET_CLASS" c:identifier="WEBKIT_CONTEXT_MENU_GET_CLASS" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="CONTEXT_MENU_ITEM" c:identifier="WEBKIT_CONTEXT_MENU_ITEM" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="CONTEXT_MENU_ITEM_CLASS" c:identifier="WEBKIT_CONTEXT_MENU_ITEM_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="CONTEXT_MENU_ITEM_GET_CLASS" c:identifier="WEBKIT_CONTEXT_MENU_ITEM_GET_CLASS" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="COOKIE_MANAGER" c:identifier="WEBKIT_COOKIE_MANAGER" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="COOKIE_MANAGER_CLASS" c:identifier="WEBKIT_COOKIE_MANAGER_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="COOKIE_MANAGER_GET_CLASS" c:identifier="WEBKIT_COOKIE_MANAGER_GET_CLASS" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<enumeration name="CacheModel" glib:type-name="WebKitCacheModel" glib:get-type="webkit_cache_model_get_type" c:type="WebKitCacheModel">
<doc xml:space="preserve">Enum values used for determining the #WebKitWebContext cache model.</doc>
<member name="document_viewer" value="0" c:identifier="WEBKIT_CACHE_MODEL_DOCUMENT_VIEWER" glib:nick="document-viewer" glib:name="WEBKIT_CACHE_MODEL_DOCUMENT_VIEWER">
<doc xml:space="preserve">Disable the cache completely, which
substantially reduces memory usage. Useful for applications that only
access a single local file, with no navigation to other pages. No remote
resources will be cached.</doc>
</member>
<member name="web_browser" value="1" c:identifier="WEBKIT_CACHE_MODEL_WEB_BROWSER" glib:nick="web-browser" glib:name="WEBKIT_CACHE_MODEL_WEB_BROWSER">
<doc xml:space="preserve">Improve document load speed substantially
by caching a very large number of resources and previously viewed content.</doc>
</member>
<member name="document_browser" value="2" c:identifier="WEBKIT_CACHE_MODEL_DOCUMENT_BROWSER" glib:nick="document-browser" glib:name="WEBKIT_CACHE_MODEL_DOCUMENT_BROWSER">
<doc xml:space="preserve">A cache model optimized for viewing
a series of local files -- for example, a documentation viewer or a website
designer. WebKit will cache a moderate number of resources.</doc>
</member>
</enumeration>
<class name="ColorChooserRequest" c:symbol-prefix="color_chooser_request" c:type="WebKitColorChooserRequest" parent="GObject.Object" glib:type-name="WebKitColorChooserRequest" glib:get-type="webkit_color_chooser_request_get_type" glib:type-struct="ColorChooserRequestClass">
<method name="cancel" c:identifier="webkit_color_chooser_request_cancel" version="2.8">
<doc xml:space="preserve">Cancels @request and the input element changes to use the initial color
it has before the request started.
The signal #WebKitColorChooserRequest::finished
is emitted to notify that the request has finished.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="request" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitColorChooserRequest</doc>
<type name="ColorChooserRequest" c:type="WebKitColorChooserRequest*"/>
</instance-parameter>
</parameters>
</method>
<method name="finish" c:identifier="webkit_color_chooser_request_finish" version="2.8">
<doc xml:space="preserve">Finishes @request and the input element keeps the current value of
#WebKitColorChooserRequest:rgba.
The signal #WebKitColorChooserRequest::finished
is emitted to notify that the request has finished.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="request" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitColorChooserRequest</doc>
<type name="ColorChooserRequest" c:type="WebKitColorChooserRequest*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_element_rectangle" c:identifier="webkit_color_chooser_request_get_element_rectangle" version="2.8">
<doc xml:space="preserve">Gets the bounding box of the color input element.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="request" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitColorChooserRequest</doc>
<type name="ColorChooserRequest" c:type="WebKitColorChooserRequest*"/>
</instance-parameter>
<parameter name="rect" direction="out" caller-allocates="1" transfer-ownership="none">
<doc xml:space="preserve">a #GdkRectangle to fill in with the element area</doc>
<type name="Gdk.Rectangle" c:type="GdkRectangle*"/>
</parameter>
</parameters>
</method>
<method name="get_rgba" c:identifier="webkit_color_chooser_request_get_rgba" glib:get-property="rgba" version="2.8">
<doc xml:space="preserve">Gets the current #GdkRGBA color of @request</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="request" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitColorChooserRequest</doc>
<type name="ColorChooserRequest" c:type="WebKitColorChooserRequest*"/>
</instance-parameter>
<parameter name="rgba" direction="out" caller-allocates="1" transfer-ownership="none">
<doc xml:space="preserve">a #GdkRGBA to fill in with the current color.</doc>
<type name="Gdk.RGBA" c:type="GdkRGBA*"/>
</parameter>
</parameters>
</method>
<method name="set_rgba" c:identifier="webkit_color_chooser_request_set_rgba" glib:set-property="rgba" version="2.8">
<doc xml:space="preserve">Sets the current #GdkRGBA color of @request</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="request" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitFileChooserRequest</doc>
<type name="ColorChooserRequest" c:type="WebKitColorChooserRequest*"/>
</instance-parameter>
<parameter name="rgba" transfer-ownership="none">
<doc xml:space="preserve">a pointer #GdkRGBA</doc>
<type name="Gdk.RGBA" c:type="const GdkRGBA*"/>
</parameter>
</parameters>
</method>
<property name="rgba" writable="1" construct="1" transfer-ownership="none" setter="set_rgba" getter="get_rgba">
<type name="Gdk.RGBA"/>
</property>
<field name="parent">
<type name="GObject.Object" c:type="GObject"/>
</field>
<field name="priv" readable="0" private="1">
<type name="ColorChooserRequestPrivate" c:type="WebKitColorChooserRequestPrivate*"/>
</field>
<glib:signal name="finished" when="last" version="2.8">
<doc xml:space="preserve">Emitted when the @request finishes. This signal can be emitted because the
user completed the @request calling webkit_color_chooser_request_finish(),
or cancelled it with webkit_color_chooser_request_cancel() or because the
color input element is removed from the DOM.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</glib:signal>
</class>
<record name="ColorChooserRequestClass" c:type="WebKitColorChooserRequestClass" glib:is-gtype-struct-for="ColorChooserRequest">
<field name="parent_class">
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
</field>
</record>
<record name="ColorChooserRequestPrivate" c:type="WebKitColorChooserRequestPrivate" disguised="1"/>
<class name="ContextMenu" c:symbol-prefix="context_menu" c:type="WebKitContextMenu" parent="GObject.Object" glib:type-name="WebKitContextMenu" glib:get-type="webkit_context_menu_get_type" glib:type-struct="ContextMenuClass">
<constructor name="new" c:identifier="webkit_context_menu_new">
<doc xml:space="preserve">Creates a new #WebKitContextMenu object to be used as a submenu of an existing
#WebKitContextMenu. The context menu of a #WebKitWebView is created by the view
and passed as an argument of #WebKitWebView::context-menu signal.
To add items to the menu use webkit_context_menu_prepend(),
webkit_context_menu_append() or webkit_context_menu_insert().
See also webkit_context_menu_new_with_items() to create a #WebKitContextMenu with
a list of initial items.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">The newly created #WebKitContextMenu object</doc>
<type name="ContextMenu" c:type="WebKitContextMenu*"/>
</return-value>
</constructor>
<constructor name="new_with_items" c:identifier="webkit_context_menu_new_with_items">
<doc xml:space="preserve">Creates a new #WebKitContextMenu object to be used as a submenu of an existing
#WebKitContextMenu with the given initial items.
See also webkit_context_menu_new()</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">The newly created #WebKitContextMenu object</doc>
<type name="ContextMenu" c:type="WebKitContextMenu*"/>
</return-value>
<parameters>
<parameter name="items" transfer-ownership="none">
<doc xml:space="preserve">a #GList of #WebKitContextMenuItem</doc>
<type name="GLib.List" c:type="GList*">
<type name="ContextMenuItem"/>
</type>
</parameter>
</parameters>
</constructor>
<method name="append" c:identifier="webkit_context_menu_append">
<doc xml:space="preserve">Adds @item at the end of the @menu.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="menu" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitContextMenu</doc>
<type name="ContextMenu" c:type="WebKitContextMenu*"/>
</instance-parameter>
<parameter name="item" transfer-ownership="none">
<doc xml:space="preserve">the #WebKitContextMenuItem to add</doc>
<type name="ContextMenuItem" c:type="WebKitContextMenuItem*"/>
</parameter>
</parameters>
</method>
<method name="first" c:identifier="webkit_context_menu_first">
<doc xml:space="preserve">Gets the first item in the @menu.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the first #WebKitContextMenuItem of @menu,
or %NULL if the #WebKitContextMenu is empty.</doc>
<type name="ContextMenuItem" c:type="WebKitContextMenuItem*"/>
</return-value>
<parameters>
<instance-parameter name="menu" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitContextMenu</doc>
<type name="ContextMenu" c:type="WebKitContextMenu*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_item_at_position" c:identifier="webkit_context_menu_get_item_at_position">
<doc xml:space="preserve">Gets the item at the given position in the @menu.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the #WebKitContextMenuItem at position @position in @menu,
or %NULL if the position is off the end of the @menu.</doc>
<type name="ContextMenuItem" c:type="WebKitContextMenuItem*"/>
</return-value>
<parameters>
<instance-parameter name="menu" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitContextMenu</doc>
<type name="ContextMenu" c:type="WebKitContextMenu*"/>
</instance-parameter>
<parameter name="position" transfer-ownership="none">
<doc xml:space="preserve">the position of the item, counting from 0</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</method>
<method name="get_items" c:identifier="webkit_context_menu_get_items">
<doc xml:space="preserve">Returns the item list of @menu.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">a #GList of
#WebKitContextMenuItem&lt;!-- --&gt;s</doc>
<type name="GLib.List" c:type="GList*">
<type name="ContextMenuItem"/>
</type>
</return-value>
<parameters>
<instance-parameter name="menu" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitContextMenu</doc>
<type name="ContextMenu" c:type="WebKitContextMenu*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_n_items" c:identifier="webkit_context_menu_get_n_items">
<doc xml:space="preserve">Gets the length of the @menu.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the number of #WebKitContextMenuItem&lt;!-- --&gt;s in @menu</doc>
<type name="guint" c:type="guint"/>
</return-value>
<parameters>
<instance-parameter name="menu" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitContextMenu</doc>
<type name="ContextMenu" c:type="WebKitContextMenu*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_user_data" c:identifier="webkit_context_menu_get_user_data" version="2.8">
<doc xml:space="preserve">Gets the user data of @menu.
This function can be used from the UI Process to get user data previously set
from the Web Process with webkit_context_menu_set_user_data().</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the user data of @menu, or %NULL if @menu doesn't have user data</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</return-value>
<parameters>
<instance-parameter name="menu" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitContextMenu</doc>
<type name="ContextMenu" c:type="WebKitContextMenu*"/>
</instance-parameter>
</parameters>
</method>
<method name="insert" c:identifier="webkit_context_menu_insert">
<doc xml:space="preserve">Inserts @item into the @menu at the given position.
If @position is negative, or is larger than the number of items
in the #WebKitContextMenu, the item is added on to the end of
the @menu. The first position is 0.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="menu" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitContextMenu</doc>
<type name="ContextMenu" c:type="WebKitContextMenu*"/>
</instance-parameter>
<parameter name="item" transfer-ownership="none">
<doc xml:space="preserve">the #WebKitContextMenuItem to add</doc>
<type name="ContextMenuItem" c:type="WebKitContextMenuItem*"/>
</parameter>
<parameter name="position" transfer-ownership="none">
<doc xml:space="preserve">the position to insert the item</doc>
<type name="gint" c:type="gint"/>
</parameter>
</parameters>
</method>
<method name="last" c:identifier="webkit_context_menu_last">
<doc xml:space="preserve">Gets the last item in the @menu.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the last #WebKitContextMenuItem of @menu,
or %NULL if the #WebKitContextMenu is empty.</doc>
<type name="ContextMenuItem" c:type="WebKitContextMenuItem*"/>
</return-value>
<parameters>
<instance-parameter name="menu" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitContextMenu</doc>
<type name="ContextMenu" c:type="WebKitContextMenu*"/>
</instance-parameter>
</parameters>
</method>
<method name="move_item" c:identifier="webkit_context_menu_move_item">
<doc xml:space="preserve">Moves @item to the given position in the @menu.
If @position is negative, or is larger than the number of items
in the #WebKitContextMenu, the item is added on to the end of
the @menu.
The first position is 0.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="menu" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitContextMenu</doc>
<type name="ContextMenu" c:type="WebKitContextMenu*"/>
</instance-parameter>
<parameter name="item" transfer-ownership="none">
<doc xml:space="preserve">the #WebKitContextMenuItem to add</doc>
<type name="ContextMenuItem" c:type="WebKitContextMenuItem*"/>
</parameter>
<parameter name="position" transfer-ownership="none">
<doc xml:space="preserve">the new position to move the item</doc>
<type name="gint" c:type="gint"/>
</parameter>
</parameters>
</method>
<method name="prepend" c:identifier="webkit_context_menu_prepend">
<doc xml:space="preserve">Adds @item at the beginning of the @menu.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="menu" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitContextMenu</doc>
<type name="ContextMenu" c:type="WebKitContextMenu*"/>
</instance-parameter>
<parameter name="item" transfer-ownership="none">
<doc xml:space="preserve">the #WebKitContextMenuItem to add</doc>
<type name="ContextMenuItem" c:type="WebKitContextMenuItem*"/>
</parameter>
</parameters>
</method>
<method name="remove" c:identifier="webkit_context_menu_remove">
<doc xml:space="preserve">Removes @item from the @menu.
See also webkit_context_menu_remove_all() to remove all items.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="menu" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitContextMenu</doc>
<type name="ContextMenu" c:type="WebKitContextMenu*"/>
</instance-parameter>
<parameter name="item" transfer-ownership="none">
<doc xml:space="preserve">the #WebKitContextMenuItem to remove</doc>
<type name="ContextMenuItem" c:type="WebKitContextMenuItem*"/>
</parameter>
</parameters>
</method>
<method name="remove_all" c:identifier="webkit_context_menu_remove_all">
<doc xml:space="preserve">Removes all items of the @menu.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="menu" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitContextMenu</doc>
<type name="ContextMenu" c:type="WebKitContextMenu*"/>
</instance-parameter>
</parameters>
</method>
<method name="set_user_data" c:identifier="webkit_context_menu_set_user_data" version="2.8">
<doc xml:space="preserve">Sets user data to @menu.
This function can be used from a Web Process extension to set user data
that can be retrieved from the UI Process using webkit_context_menu_get_user_data().
If the @user_data #GVariant is floating, it is consumed.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="menu" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitContextMenu</doc>
<type name="ContextMenu" c:type="WebKitContextMenu*"/>
</instance-parameter>
<parameter name="user_data" transfer-ownership="none">
<doc xml:space="preserve">a #GVariant</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
</parameters>
</method>
<field name="parent">
<type name="GObject.Object" c:type="GObject"/>
</field>
<field name="priv">
<type name="ContextMenuPrivate" c:type="WebKitContextMenuPrivate*"/>
</field>
</class>
<enumeration name="ContextMenuAction" glib:type-name="WebKitContextMenuAction" glib:get-type="webkit_context_menu_action_get_type" c:type="WebKitContextMenuAction">
<doc xml:space="preserve">Enum values used to denote the stock actions for
#WebKitContextMenuItem&lt;!-- --&gt;s</doc>
<member name="no_action" value="0" c:identifier="WEBKIT_CONTEXT_MENU_ACTION_NO_ACTION" glib:nick="no-action" glib:name="WEBKIT_CONTEXT_MENU_ACTION_NO_ACTION">
<doc xml:space="preserve">No action, used by separator menu items.</doc>
</member>
<member name="open_link" value="1" c:identifier="WEBKIT_CONTEXT_MENU_ACTION_OPEN_LINK" glib:nick="open-link" glib:name="WEBKIT_CONTEXT_MENU_ACTION_OPEN_LINK">
<doc xml:space="preserve">Open current link.</doc>
</member>
<member name="open_link_in_new_window" value="2" c:identifier="WEBKIT_CONTEXT_MENU_ACTION_OPEN_LINK_IN_NEW_WINDOW" glib:nick="open-link-in-new-window" glib:name="WEBKIT_CONTEXT_MENU_ACTION_OPEN_LINK_IN_NEW_WINDOW">
<doc xml:space="preserve">Open current link in a new window.</doc>
</member>
<member name="download_link_to_disk" value="3" c:identifier="WEBKIT_CONTEXT_MENU_ACTION_DOWNLOAD_LINK_TO_DISK" glib:nick="download-link-to-disk" glib:name="WEBKIT_CONTEXT_MENU_ACTION_DOWNLOAD_LINK_TO_DISK">
<doc xml:space="preserve">Download link destination.</doc>
</member>
<member name="copy_link_to_clipboard" value="4" c:identifier="WEBKIT_CONTEXT_MENU_ACTION_COPY_LINK_TO_CLIPBOARD" glib:nick="copy-link-to-clipboard" glib:name="WEBKIT_CONTEXT_MENU_ACTION_COPY_LINK_TO_CLIPBOARD">
<doc xml:space="preserve">Copy link location to the clipboard.</doc>
</member>
<member name="open_image_in_new_window" value="5" c:identifier="WEBKIT_CONTEXT_MENU_ACTION_OPEN_IMAGE_IN_NEW_WINDOW" glib:nick="open-image-in-new-window" glib:name="WEBKIT_CONTEXT_MENU_ACTION_OPEN_IMAGE_IN_NEW_WINDOW">
<doc xml:space="preserve">Open current image in a new window.</doc>
</member>
<member name="download_image_to_disk" value="6" c:identifier="WEBKIT_CONTEXT_MENU_ACTION_DOWNLOAD_IMAGE_TO_DISK" glib:nick="download-image-to-disk" glib:name="WEBKIT_CONTEXT_MENU_ACTION_DOWNLOAD_IMAGE_TO_DISK">
<doc xml:space="preserve">Download current image.</doc>
</member>
<member name="copy_image_to_clipboard" value="7" c:identifier="WEBKIT_CONTEXT_MENU_ACTION_COPY_IMAGE_TO_CLIPBOARD" glib:nick="copy-image-to-clipboard" glib:name="WEBKIT_CONTEXT_MENU_ACTION_COPY_IMAGE_TO_CLIPBOARD">
<doc xml:space="preserve">Copy current image to the clipboard.</doc>
</member>
<member name="copy_image_url_to_clipboard" value="8" c:identifier="WEBKIT_CONTEXT_MENU_ACTION_COPY_IMAGE_URL_TO_CLIPBOARD" glib:nick="copy-image-url-to-clipboard" glib:name="WEBKIT_CONTEXT_MENU_ACTION_COPY_IMAGE_URL_TO_CLIPBOARD">
<doc xml:space="preserve">Copy current image location to the clipboard.</doc>
</member>
<member name="open_frame_in_new_window" value="9" c:identifier="WEBKIT_CONTEXT_MENU_ACTION_OPEN_FRAME_IN_NEW_WINDOW" glib:nick="open-frame-in-new-window" glib:name="WEBKIT_CONTEXT_MENU_ACTION_OPEN_FRAME_IN_NEW_WINDOW">
<doc xml:space="preserve">Open current frame in a new window.</doc>
</member>
<member name="go_back" value="10" c:identifier="WEBKIT_CONTEXT_MENU_ACTION_GO_BACK" glib:nick="go-back" glib:name="WEBKIT_CONTEXT_MENU_ACTION_GO_BACK">
<doc xml:space="preserve">Load the previous history item.</doc>
</member>
<member name="go_forward" value="11" c:identifier="WEBKIT_CONTEXT_MENU_ACTION_GO_FORWARD" glib:nick="go-forward" glib:name="WEBKIT_CONTEXT_MENU_ACTION_GO_FORWARD">
<doc xml:space="preserve">Load the next history item.</doc>
</member>
<member name="stop" value="12" c:identifier="WEBKIT_CONTEXT_MENU_ACTION_STOP" glib:nick="stop" glib:name="WEBKIT_CONTEXT_MENU_ACTION_STOP">
<doc xml:space="preserve">Stop any ongoing loading operation.</doc>
</member>
<member name="reload" value="13" c:identifier="WEBKIT_CONTEXT_MENU_ACTION_RELOAD" glib:nick="reload" glib:name="WEBKIT_CONTEXT_MENU_ACTION_RELOAD">
<doc xml:space="preserve">Reload the contents of current view.</doc>
</member>
<member name="copy" value="14" c:identifier="WEBKIT_CONTEXT_MENU_ACTION_COPY" glib:nick="copy" glib:name="WEBKIT_CONTEXT_MENU_ACTION_COPY">
<doc xml:space="preserve">Copy current selection the clipboard.</doc>
</member>
<member name="cut" value="15" c:identifier="WEBKIT_CONTEXT_MENU_ACTION_CUT" glib:nick="cut" glib:name="WEBKIT_CONTEXT_MENU_ACTION_CUT">
<doc xml:space="preserve">Cut current selection to the clipboard.</doc>
</member>
<member name="paste" value="16" c:identifier="WEBKIT_CONTEXT_MENU_ACTION_PASTE" glib:nick="paste" glib:name="WEBKIT_CONTEXT_MENU_ACTION_PASTE">
<doc xml:space="preserve">Paste clipboard contents.</doc>
</member>
<member name="delete" value="17" c:identifier="WEBKIT_CONTEXT_MENU_ACTION_DELETE" glib:nick="delete" glib:name="WEBKIT_CONTEXT_MENU_ACTION_DELETE">
<doc xml:space="preserve">Delete current selection.</doc>
</member>
<member name="select_all" value="18" c:identifier="WEBKIT_CONTEXT_MENU_ACTION_SELECT_ALL" glib:nick="select-all" glib:name="WEBKIT_CONTEXT_MENU_ACTION_SELECT_ALL">
<doc xml:space="preserve">Select all text.</doc>
</member>
<member name="input_methods" value="19" c:identifier="WEBKIT_CONTEXT_MENU_ACTION_INPUT_METHODS" glib:nick="input-methods" glib:name="WEBKIT_CONTEXT_MENU_ACTION_INPUT_METHODS">
<doc xml:space="preserve">Input methods menu.</doc>
</member>
<member name="unicode" value="20" c:identifier="WEBKIT_CONTEXT_MENU_ACTION_UNICODE" glib:nick="unicode" glib:name="WEBKIT_CONTEXT_MENU_ACTION_UNICODE">
<doc xml:space="preserve">Unicode menu.</doc>
</member>
<member name="spelling_guess" value="21" c:identifier="WEBKIT_CONTEXT_MENU_ACTION_SPELLING_GUESS" glib:nick="spelling-guess" glib:name="WEBKIT_CONTEXT_MENU_ACTION_SPELLING_GUESS">
<doc xml:space="preserve">A proposed replacement for a misspelled word.</doc>
</member>
<member name="no_guesses_found" value="22" c:identifier="WEBKIT_CONTEXT_MENU_ACTION_NO_GUESSES_FOUND" glib:nick="no-guesses-found" glib:name="WEBKIT_CONTEXT_MENU_ACTION_NO_GUESSES_FOUND">
<doc xml:space="preserve">An indicator that spellchecking found no proposed replacements.</doc>
</member>
<member name="ignore_spelling" value="23" c:identifier="WEBKIT_CONTEXT_MENU_ACTION_IGNORE_SPELLING" glib:nick="ignore-spelling" glib:name="WEBKIT_CONTEXT_MENU_ACTION_IGNORE_SPELLING">
<doc xml:space="preserve">Causes the spellchecker to ignore the word for this session.</doc>
</member>
<member name="learn_spelling" value="24" c:identifier="WEBKIT_CONTEXT_MENU_ACTION_LEARN_SPELLING" glib:nick="learn-spelling" glib:name="WEBKIT_CONTEXT_MENU_ACTION_LEARN_SPELLING">
<doc xml:space="preserve">Causes the spellchecker to add the word to the dictionary.</doc>
</member>
<member name="ignore_grammar" value="25" c:identifier="WEBKIT_CONTEXT_MENU_ACTION_IGNORE_GRAMMAR" glib:nick="ignore-grammar" glib:name="WEBKIT_CONTEXT_MENU_ACTION_IGNORE_GRAMMAR">
<doc xml:space="preserve">Ignore grammar.</doc>
</member>
<member name="font_menu" value="26" c:identifier="WEBKIT_CONTEXT_MENU_ACTION_FONT_MENU" glib:nick="font-menu" glib:name="WEBKIT_CONTEXT_MENU_ACTION_FONT_MENU">
<doc xml:space="preserve">Font options menu.</doc>
</member>
<member name="bold" value="27" c:identifier="WEBKIT_CONTEXT_MENU_ACTION_BOLD" glib:nick="bold" glib:name="WEBKIT_CONTEXT_MENU_ACTION_BOLD">
<doc xml:space="preserve">Bold.</doc>
</member>
<member name="italic" value="28" c:identifier="WEBKIT_CONTEXT_MENU_ACTION_ITALIC" glib:nick="italic" glib:name="WEBKIT_CONTEXT_MENU_ACTION_ITALIC">
<doc xml:space="preserve">Italic.</doc>
</member>
<member name="underline" value="29" c:identifier="WEBKIT_CONTEXT_MENU_ACTION_UNDERLINE" glib:nick="underline" glib:name="WEBKIT_CONTEXT_MENU_ACTION_UNDERLINE">
<doc xml:space="preserve">Underline.</doc>
</member>
<member name="outline" value="30" c:identifier="WEBKIT_CONTEXT_MENU_ACTION_OUTLINE" glib:nick="outline" glib:name="WEBKIT_CONTEXT_MENU_ACTION_OUTLINE">
<doc xml:space="preserve">Outline.</doc>
</member>
<member name="inspect_element" value="31" c:identifier="WEBKIT_CONTEXT_MENU_ACTION_INSPECT_ELEMENT" glib:nick="inspect-element" glib:name="WEBKIT_CONTEXT_MENU_ACTION_INSPECT_ELEMENT">
<doc xml:space="preserve">Open current element in the inspector.</doc>
</member>
<member name="open_video_in_new_window" value="32" c:identifier="WEBKIT_CONTEXT_MENU_ACTION_OPEN_VIDEO_IN_NEW_WINDOW" glib:nick="open-video-in-new-window" glib:name="WEBKIT_CONTEXT_MENU_ACTION_OPEN_VIDEO_IN_NEW_WINDOW">
<doc xml:space="preserve">Open current video element in a new window.</doc>
</member>
<member name="open_audio_in_new_window" value="33" c:identifier="WEBKIT_CONTEXT_MENU_ACTION_OPEN_AUDIO_IN_NEW_WINDOW" glib:nick="open-audio-in-new-window" glib:name="WEBKIT_CONTEXT_MENU_ACTION_OPEN_AUDIO_IN_NEW_WINDOW">
<doc xml:space="preserve">Open current audio element in a new window.</doc>
</member>
<member name="copy_video_link_to_clipboard" value="34" c:identifier="WEBKIT_CONTEXT_MENU_ACTION_COPY_VIDEO_LINK_TO_CLIPBOARD" glib:nick="copy-video-link-to-clipboard" glib:name="WEBKIT_CONTEXT_MENU_ACTION_COPY_VIDEO_LINK_TO_CLIPBOARD">
<doc xml:space="preserve">Copy video link location in to the clipboard.</doc>
</member>
<member name="copy_audio_link_to_clipboard" value="35" c:identifier="WEBKIT_CONTEXT_MENU_ACTION_COPY_AUDIO_LINK_TO_CLIPBOARD" glib:nick="copy-audio-link-to-clipboard" glib:name="WEBKIT_CONTEXT_MENU_ACTION_COPY_AUDIO_LINK_TO_CLIPBOARD">
<doc xml:space="preserve">Copy audio link location in to the clipboard.</doc>
</member>
<member name="toggle_media_controls" value="36" c:identifier="WEBKIT_CONTEXT_MENU_ACTION_TOGGLE_MEDIA_CONTROLS" glib:nick="toggle-media-controls" glib:name="WEBKIT_CONTEXT_MENU_ACTION_TOGGLE_MEDIA_CONTROLS">
<doc xml:space="preserve">Enable or disable media controls.</doc>
</member>
<member name="toggle_media_loop" value="37" c:identifier="WEBKIT_CONTEXT_MENU_ACTION_TOGGLE_MEDIA_LOOP" glib:nick="toggle-media-loop" glib:name="WEBKIT_CONTEXT_MENU_ACTION_TOGGLE_MEDIA_LOOP">
<doc xml:space="preserve">Enable or disable media loop.</doc>
</member>
<member name="enter_video_fullscreen" value="38" c:identifier="WEBKIT_CONTEXT_MENU_ACTION_ENTER_VIDEO_FULLSCREEN" glib:nick="enter-video-fullscreen" glib:name="WEBKIT_CONTEXT_MENU_ACTION_ENTER_VIDEO_FULLSCREEN">
<doc xml:space="preserve">Show current video element in fullscreen mode.</doc>
</member>
<member name="media_play" value="39" c:identifier="WEBKIT_CONTEXT_MENU_ACTION_MEDIA_PLAY" glib:nick="media-play" glib:name="WEBKIT_CONTEXT_MENU_ACTION_MEDIA_PLAY">
<doc xml:space="preserve">Play current media element.</doc>
</member>
<member name="media_pause" value="40" c:identifier="WEBKIT_CONTEXT_MENU_ACTION_MEDIA_PAUSE" glib:nick="media-pause" glib:name="WEBKIT_CONTEXT_MENU_ACTION_MEDIA_PAUSE">
<doc xml:space="preserve">Pause current media element.</doc>
</member>
<member name="media_mute" value="41" c:identifier="WEBKIT_CONTEXT_MENU_ACTION_MEDIA_MUTE" glib:nick="media-mute" glib:name="WEBKIT_CONTEXT_MENU_ACTION_MEDIA_MUTE">
<doc xml:space="preserve">Mute current media element.</doc>
</member>
<member name="download_video_to_disk" value="42" c:identifier="WEBKIT_CONTEXT_MENU_ACTION_DOWNLOAD_VIDEO_TO_DISK" glib:nick="download-video-to-disk" glib:name="WEBKIT_CONTEXT_MENU_ACTION_DOWNLOAD_VIDEO_TO_DISK">
<doc xml:space="preserve">Download video to disk. Since 2.2</doc>
</member>
<member name="download_audio_to_disk" value="43" c:identifier="WEBKIT_CONTEXT_MENU_ACTION_DOWNLOAD_AUDIO_TO_DISK" glib:nick="download-audio-to-disk" glib:name="WEBKIT_CONTEXT_MENU_ACTION_DOWNLOAD_AUDIO_TO_DISK">
<doc xml:space="preserve">Download audio to disk. Since 2.2</doc>
</member>
<member name="insert_emoji" value="44" c:identifier="WEBKIT_CONTEXT_MENU_ACTION_INSERT_EMOJI" glib:nick="insert-emoji" glib:name="WEBKIT_CONTEXT_MENU_ACTION_INSERT_EMOJI">
<doc xml:space="preserve">Insert an emoji. Since 2.26</doc>
</member>
<member name="paste_as_plain_text" value="45" c:identifier="WEBKIT_CONTEXT_MENU_ACTION_PASTE_AS_PLAIN_TEXT" glib:nick="paste-as-plain-text" glib:name="WEBKIT_CONTEXT_MENU_ACTION_PASTE_AS_PLAIN_TEXT">
<doc xml:space="preserve">Paste clipboard contents as plain text. Since 2.30</doc>
</member>
<member name="custom" value="10000" c:identifier="WEBKIT_CONTEXT_MENU_ACTION_CUSTOM" glib:nick="custom" glib:name="WEBKIT_CONTEXT_MENU_ACTION_CUSTOM">
<doc xml:space="preserve">Custom action defined by applications.</doc>
</member>
</enumeration>
<record name="ContextMenuClass" c:type="WebKitContextMenuClass" glib:is-gtype-struct-for="ContextMenu">
<field name="parent_class">
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
</field>
<field name="_webkit_reserved0" introspectable="0">
<callback name="_webkit_reserved0">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved1" introspectable="0">
<callback name="_webkit_reserved1">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved2" introspectable="0">
<callback name="_webkit_reserved2">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved3" introspectable="0">
<callback name="_webkit_reserved3">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
</record>
<class name="ContextMenuItem" c:symbol-prefix="context_menu_item" c:type="WebKitContextMenuItem" parent="GObject.InitiallyUnowned" glib:type-name="WebKitContextMenuItem" glib:get-type="webkit_context_menu_item_get_type" glib:type-struct="ContextMenuItemClass">
<constructor name="new" c:identifier="webkit_context_menu_item_new" deprecated="1" deprecated-version="2.18">
<doc xml:space="preserve">Creates a new #WebKitContextMenuItem for the given @action.</doc>
<doc-deprecated xml:space="preserve">Use webkit_context_menu_item_new_from_gaction() instead.</doc-deprecated>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the newly created #WebKitContextMenuItem object.</doc>
<type name="ContextMenuItem" c:type="WebKitContextMenuItem*"/>
</return-value>
<parameters>
<parameter name="action" transfer-ownership="none">
<doc xml:space="preserve">a #GtkAction</doc>
<type name="Gtk.Action" c:type="GtkAction*"/>
</parameter>
</parameters>
</constructor>
<constructor name="new_from_gaction" c:identifier="webkit_context_menu_item_new_from_gaction" version="2.18">
<doc xml:space="preserve">Creates a new #WebKitContextMenuItem for the given @action and @label. On activation
@target will be passed as parameter to the callback.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the newly created #WebKitContextMenuItem object.</doc>
<type name="ContextMenuItem" c:type="WebKitContextMenuItem*"/>
</return-value>
<parameters>
<parameter name="action" transfer-ownership="none">
<doc xml:space="preserve">a #GAction</doc>
<type name="Gio.Action" c:type="GAction*"/>
</parameter>
<parameter name="label" transfer-ownership="none">
<doc xml:space="preserve">the menu item label text</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="target" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">a #GVariant to use as the action target</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
</parameters>
</constructor>
<constructor name="new_from_stock_action" c:identifier="webkit_context_menu_item_new_from_stock_action">
<doc xml:space="preserve">Creates a new #WebKitContextMenuItem for the given stock action.
Stock actions are handled automatically by WebKit so that, for example,
when a menu item created with a %WEBKIT_CONTEXT_MENU_ACTION_STOP is
activated the action associated will be handled by WebKit and the current
load operation will be stopped. You can get the #GAction of a
#WebKitContextMenuItem created with a #WebKitContextMenuAction with
webkit_context_menu_item_get_gaction() and connect to the #GSimpleAction::activate signal
to be notified when the item is activated, but you can't prevent the associated
action from being performed.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the newly created #WebKitContextMenuItem object.</doc>
<type name="ContextMenuItem" c:type="WebKitContextMenuItem*"/>
</return-value>
<parameters>
<parameter name="action" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitContextMenuAction stock action</doc>
<type name="ContextMenuAction" c:type="WebKitContextMenuAction"/>
</parameter>
</parameters>
</constructor>
<constructor name="new_from_stock_action_with_label" c:identifier="webkit_context_menu_item_new_from_stock_action_with_label">
<doc xml:space="preserve">Creates a new #WebKitContextMenuItem for the given stock action using the given @label.
Stock actions have a predefined label, this method can be used to create a
#WebKitContextMenuItem for a #WebKitContextMenuAction but using a custom label.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the newly created #WebKitContextMenuItem object.</doc>
<type name="ContextMenuItem" c:type="WebKitContextMenuItem*"/>
</return-value>
<parameters>
<parameter name="action" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitContextMenuAction stock action</doc>
<type name="ContextMenuAction" c:type="WebKitContextMenuAction"/>
</parameter>
<parameter name="label" transfer-ownership="none">
<doc xml:space="preserve">a custom label text to use instead of the predefined one</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</constructor>
<constructor name="new_separator" c:identifier="webkit_context_menu_item_new_separator">
<doc xml:space="preserve">Creates a new #WebKitContextMenuItem representing a separator.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the newly created #WebKitContextMenuItem object.</doc>
<type name="ContextMenuItem" c:type="WebKitContextMenuItem*"/>
</return-value>
</constructor>
<constructor name="new_with_submenu" c:identifier="webkit_context_menu_item_new_with_submenu">
<doc xml:space="preserve">Creates a new #WebKitContextMenuItem using the given @label with a submenu.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the newly created #WebKitContextMenuItem object.</doc>
<type name="ContextMenuItem" c:type="WebKitContextMenuItem*"/>
</return-value>
<parameters>
<parameter name="label" transfer-ownership="none">
<doc xml:space="preserve">the menu item label text</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="submenu" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitContextMenu to set</doc>
<type name="ContextMenu" c:type="WebKitContextMenu*"/>
</parameter>
</parameters>
</constructor>
<method name="get_action" c:identifier="webkit_context_menu_item_get_action" deprecated="1" deprecated-version="2.18">
<doc xml:space="preserve">Gets the action associated to @item as a #GtkAction.</doc>
<doc-deprecated xml:space="preserve">Use webkit_context_menu_item_get_gaction() instead.</doc-deprecated>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the #GtkAction associated to the #WebKitContextMenuItem,
or %NULL if @item is a separator.</doc>
<type name="Gtk.Action" c:type="GtkAction*"/>
</return-value>
<parameters>
<instance-parameter name="item" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitContextMenuItem</doc>
<type name="ContextMenuItem" c:type="WebKitContextMenuItem*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_gaction" c:identifier="webkit_context_menu_item_get_gaction" version="2.18">
<doc xml:space="preserve">Gets the action associated to @item as a #GAction.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the #GAction associated to the #WebKitContextMenuItem,
or %NULL if @item is a separator.</doc>
<type name="Gio.Action" c:type="GAction*"/>
</return-value>
<parameters>
<instance-parameter name="item" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitContextMenuItem</doc>
<type name="ContextMenuItem" c:type="WebKitContextMenuItem*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_stock_action" c:identifier="webkit_context_menu_item_get_stock_action">
<doc xml:space="preserve">Gets the #WebKitContextMenuAction of @item. If the #WebKitContextMenuItem was not
created for a stock action %WEBKIT_CONTEXT_MENU_ACTION_CUSTOM will be
returned. If the #WebKitContextMenuItem is a separator %WEBKIT_CONTEXT_MENU_ACTION_NO_ACTION
will be returned.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the #WebKitContextMenuAction of @item</doc>
<type name="ContextMenuAction" c:type="WebKitContextMenuAction"/>
</return-value>
<parameters>
<instance-parameter name="item" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitContextMenuItem</doc>
<type name="ContextMenuItem" c:type="WebKitContextMenuItem*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_submenu" c:identifier="webkit_context_menu_item_get_submenu">
<doc xml:space="preserve">Gets the submenu of @item.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the #WebKitContextMenu representing the submenu of
@item or %NULL if @item doesn't have a submenu.</doc>
<type name="ContextMenu" c:type="WebKitContextMenu*"/>
</return-value>
<parameters>
<instance-parameter name="item" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitContextMenuItem</doc>
<type name="ContextMenuItem" c:type="WebKitContextMenuItem*"/>
</instance-parameter>
</parameters>
</method>
<method name="is_separator" c:identifier="webkit_context_menu_item_is_separator">
<doc xml:space="preserve">Checks whether @item is a separator.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE is @item is a separator or %FALSE otherwise</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="item" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitContextMenuItem</doc>
<type name="ContextMenuItem" c:type="WebKitContextMenuItem*"/>
</instance-parameter>
</parameters>
</method>
<method name="set_submenu" c:identifier="webkit_context_menu_item_set_submenu">
<doc xml:space="preserve">Sets or replaces the @item submenu. If @submenu is %NULL the current
submenu of @item is removed.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="item" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitContextMenuItem</doc>
<type name="ContextMenuItem" c:type="WebKitContextMenuItem*"/>
</instance-parameter>
<parameter name="submenu" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">a #WebKitContextMenu</doc>
<type name="ContextMenu" c:type="WebKitContextMenu*"/>
</parameter>
</parameters>
</method>
<field name="parent">
<type name="GObject.InitiallyUnowned" c:type="GInitiallyUnowned"/>
</field>
<field name="priv">
<type name="ContextMenuItemPrivate" c:type="WebKitContextMenuItemPrivate*"/>
</field>
</class>
<record name="ContextMenuItemClass" c:type="WebKitContextMenuItemClass" glib:is-gtype-struct-for="ContextMenuItem">
<field name="parent_class">
<type name="GObject.InitiallyUnownedClass" c:type="GInitiallyUnownedClass"/>
</field>
<field name="_webkit_reserved0" introspectable="0">
<callback name="_webkit_reserved0">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved1" introspectable="0">
<callback name="_webkit_reserved1">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved2" introspectable="0">
<callback name="_webkit_reserved2">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved3" introspectable="0">
<callback name="_webkit_reserved3">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
</record>
<record name="ContextMenuItemPrivate" c:type="WebKitContextMenuItemPrivate" disguised="1"/>
<record name="ContextMenuPrivate" c:type="WebKitContextMenuPrivate" disguised="1"/>
<enumeration name="CookieAcceptPolicy" glib:type-name="WebKitCookieAcceptPolicy" glib:get-type="webkit_cookie_accept_policy_get_type" c:type="WebKitCookieAcceptPolicy">
<doc xml:space="preserve">Enum values used to denote the cookie acceptance policies.</doc>
<member name="always" value="0" c:identifier="WEBKIT_COOKIE_POLICY_ACCEPT_ALWAYS" glib:nick="always" glib:name="WEBKIT_COOKIE_POLICY_ACCEPT_ALWAYS">
<doc xml:space="preserve">Accept all cookies unconditionally.</doc>
</member>
<member name="never" value="1" c:identifier="WEBKIT_COOKIE_POLICY_ACCEPT_NEVER" glib:nick="never" glib:name="WEBKIT_COOKIE_POLICY_ACCEPT_NEVER">
<doc xml:space="preserve">Reject all cookies unconditionally.</doc>
</member>
<member name="no_third_party" value="2" c:identifier="WEBKIT_COOKIE_POLICY_ACCEPT_NO_THIRD_PARTY" glib:nick="no-third-party" glib:name="WEBKIT_COOKIE_POLICY_ACCEPT_NO_THIRD_PARTY">
<doc xml:space="preserve">Accept only cookies set by the main document loaded.</doc>
</member>
</enumeration>
<class name="CookieManager" c:symbol-prefix="cookie_manager" c:type="WebKitCookieManager" parent="GObject.Object" glib:type-name="WebKitCookieManager" glib:get-type="webkit_cookie_manager_get_type" glib:type-struct="CookieManagerClass">
<method name="add_cookie" c:identifier="webkit_cookie_manager_add_cookie" version="2.20">
<doc xml:space="preserve">Asynchronously add a #SoupCookie to the underlying storage.
When the operation is finished, @callback will be called. You can then call
webkit_cookie_manager_add_cookie_finish() to get the result of the operation.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="cookie_manager" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitCookieManager</doc>
<type name="CookieManager" c:type="WebKitCookieManager*"/>
</instance-parameter>
<parameter name="cookie" transfer-ownership="none">
<doc xml:space="preserve">the #SoupCookie to be added</doc>
<type name="Soup.Cookie" c:type="SoupCookie*"/>
</parameter>
<parameter name="cancellable" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">a #GCancellable or %NULL to ignore</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
<parameter name="callback" transfer-ownership="none" nullable="1" allow-none="1" scope="async" closure="3">
<doc xml:space="preserve">a #GAsyncReadyCallback to call when the request is satisfied</doc>
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
</parameter>
<parameter name="user_data" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">the data to pass to callback function</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
</method>
<method name="add_cookie_finish" c:identifier="webkit_cookie_manager_add_cookie_finish" version="2.20" throws="1">
<doc xml:space="preserve">Finish an asynchronous operation started with webkit_cookie_manager_add_cookie().</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if the cookie was added or %FALSE in case of error.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="cookie_manager" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitCookieManager</doc>
<type name="CookieManager" c:type="WebKitCookieManager*"/>
</instance-parameter>
<parameter name="result" transfer-ownership="none">
<doc xml:space="preserve">a #GAsyncResult</doc>
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
</parameter>
</parameters>
</method>
<method name="delete_all_cookies" c:identifier="webkit_cookie_manager_delete_all_cookies" deprecated="1" deprecated-version="2.16">
<doc xml:space="preserve">Delete all cookies of @cookie_manager</doc>
<doc-deprecated xml:space="preserve">Use webkit_website_data_manager_clear() instead.</doc-deprecated>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="cookie_manager" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitCookieManager</doc>
<type name="CookieManager" c:type="WebKitCookieManager*"/>
</instance-parameter>
</parameters>
</method>
<method name="delete_cookie" c:identifier="webkit_cookie_manager_delete_cookie" version="2.20">
<doc xml:space="preserve">Asynchronously delete a #SoupCookie from the current session.
When the operation is finished, @callback will be called. You can then call
webkit_cookie_manager_delete_cookie_finish() to get the result of the operation.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="cookie_manager" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitCookieManager</doc>
<type name="CookieManager" c:type="WebKitCookieManager*"/>
</instance-parameter>
<parameter name="cookie" transfer-ownership="none">
<doc xml:space="preserve">the #SoupCookie to be deleted</doc>
<type name="Soup.Cookie" c:type="SoupCookie*"/>
</parameter>
<parameter name="cancellable" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">a #GCancellable or %NULL to ignore</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
<parameter name="callback" transfer-ownership="none" nullable="1" allow-none="1" scope="async" closure="3">
<doc xml:space="preserve">a #GAsyncReadyCallback to call when the request is satisfied</doc>
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
</parameter>
<parameter name="user_data" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">the data to pass to callback function</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
</method>
<method name="delete_cookie_finish" c:identifier="webkit_cookie_manager_delete_cookie_finish" version="2.20" throws="1">
<doc xml:space="preserve">Finish an asynchronous operation started with webkit_cookie_manager_delete_cookie().</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if the cookie was deleted or %FALSE in case of error.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="cookie_manager" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitCookieManager</doc>
<type name="CookieManager" c:type="WebKitCookieManager*"/>
</instance-parameter>
<parameter name="result" transfer-ownership="none">
<doc xml:space="preserve">a #GAsyncResult</doc>
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
</parameter>
</parameters>
</method>
<method name="delete_cookies_for_domain" c:identifier="webkit_cookie_manager_delete_cookies_for_domain" deprecated="1" deprecated-version="2.16">
<doc xml:space="preserve">Remove all cookies of @cookie_manager for the given @domain.</doc>
<doc-deprecated xml:space="preserve">Use webkit_website_data_manager_remove() instead.</doc-deprecated>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="cookie_manager" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitCookieManager</doc>
<type name="CookieManager" c:type="WebKitCookieManager*"/>
</instance-parameter>
<parameter name="domain" transfer-ownership="none">
<doc xml:space="preserve">a domain name</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="get_accept_policy" c:identifier="webkit_cookie_manager_get_accept_policy">
<doc xml:space="preserve">Asynchronously get the cookie acceptance policy of @cookie_manager.
Note that when policy was set to %WEBKIT_COOKIE_POLICY_ACCEPT_NO_THIRD_PARTY and
ITP is enabled, this will return %WEBKIT_COOKIE_POLICY_ACCEPT_ALWAYS.
See also webkit_website_data_manager_set_itp_enabled().
When the operation is finished, @callback will be called. You can then call
webkit_cookie_manager_get_accept_policy_finish() to get the result of the operation.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="cookie_manager" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitCookieManager</doc>
<type name="CookieManager" c:type="WebKitCookieManager*"/>
</instance-parameter>
<parameter name="cancellable" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">a #GCancellable or %NULL to ignore</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
<parameter name="callback" transfer-ownership="none" nullable="1" allow-none="1" scope="async" closure="2">
<doc xml:space="preserve">a #GAsyncReadyCallback to call when the request is satisfied</doc>
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
</parameter>
<parameter name="user_data" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">the data to pass to callback function</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
</method>
<method name="get_accept_policy_finish" c:identifier="webkit_cookie_manager_get_accept_policy_finish" throws="1">
<doc xml:space="preserve">Finish an asynchronous operation started with webkit_cookie_manager_get_accept_policy().</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the cookie acceptance policy of @cookie_manager as a #WebKitCookieAcceptPolicy.</doc>
<type name="CookieAcceptPolicy" c:type="WebKitCookieAcceptPolicy"/>
</return-value>
<parameters>
<instance-parameter name="cookie_manager" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitCookieManager</doc>
<type name="CookieManager" c:type="WebKitCookieManager*"/>
</instance-parameter>
<parameter name="result" transfer-ownership="none">
<doc xml:space="preserve">a #GAsyncResult</doc>
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
</parameter>
</parameters>
</method>
<method name="get_cookies" c:identifier="webkit_cookie_manager_get_cookies" version="2.20">
<doc xml:space="preserve">Asynchronously get a list of #SoupCookie from @cookie_manager associated with @uri, which
must be either an HTTP or an HTTPS URL.
When the operation is finished, @callback will be called. You can then call
webkit_cookie_manager_get_cookies_finish() to get the result of the operation.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="cookie_manager" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitCookieManager</doc>
<type name="CookieManager" c:type="WebKitCookieManager*"/>
</instance-parameter>
<parameter name="uri" transfer-ownership="none">
<doc xml:space="preserve">the URI associated to the cookies to be retrieved</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="cancellable" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">a #GCancellable or %NULL to ignore</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
<parameter name="callback" transfer-ownership="none" nullable="1" allow-none="1" scope="async" closure="3">
<doc xml:space="preserve">a #GAsyncReadyCallback to call when the request is satisfied</doc>
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
</parameter>
<parameter name="user_data" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">the data to pass to callback function</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
</method>
<method name="get_cookies_finish" c:identifier="webkit_cookie_manager_get_cookies_finish" version="2.20" throws="1">
<doc xml:space="preserve">Finish an asynchronous operation started with webkit_cookie_manager_get_cookies().
The return value is a #GSList of #SoupCookie instances which should be released
with g_list_free_full() and soup_cookie_free().</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">A #GList of #SoupCookie instances.</doc>
<type name="GLib.List" c:type="GList*">
<type name="Soup.Cookie"/>
</type>
</return-value>
<parameters>
<instance-parameter name="cookie_manager" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitCookieManager</doc>
<type name="CookieManager" c:type="WebKitCookieManager*"/>
</instance-parameter>
<parameter name="result" transfer-ownership="none">
<doc xml:space="preserve">a #GAsyncResult</doc>
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
</parameter>
</parameters>
</method>
<method name="get_domains_with_cookies" c:identifier="webkit_cookie_manager_get_domains_with_cookies" deprecated="1" deprecated-version="2.16">
<doc xml:space="preserve">Asynchronously get the list of domains for which @cookie_manager contains cookies.
When the operation is finished, @callback will be called. You can then call
webkit_cookie_manager_get_domains_with_cookies_finish() to get the result of the operation.</doc>
<doc-deprecated xml:space="preserve">Use webkit_website_data_manager_fetch() instead.</doc-deprecated>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="cookie_manager" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitCookieManager</doc>
<type name="CookieManager" c:type="WebKitCookieManager*"/>
</instance-parameter>
<parameter name="cancellable" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">a #GCancellable or %NULL to ignore</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
<parameter name="callback" transfer-ownership="none" nullable="1" allow-none="1" scope="async" closure="2">
<doc xml:space="preserve">a #GAsyncReadyCallback to call when the request is satisfied</doc>
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
</parameter>
<parameter name="user_data" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">the data to pass to callback function</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
</method>
<method name="get_domains_with_cookies_finish" c:identifier="webkit_cookie_manager_get_domains_with_cookies_finish" deprecated="1" deprecated-version="2.16" throws="1">
<doc xml:space="preserve">Finish an asynchronous operation started with webkit_cookie_manager_get_domains_with_cookies().
The return value is a %NULL terminated list of strings which should
be released with g_strfreev().</doc>
<doc-deprecated xml:space="preserve">Use webkit_website_data_manager_fetch_finish() instead.</doc-deprecated>
<return-value transfer-ownership="full">
<doc xml:space="preserve">A %NULL terminated array of domain names
or %NULL in case of error.</doc>
<array c:type="gchar**">
<type name="utf8"/>
</array>
</return-value>
<parameters>
<instance-parameter name="cookie_manager" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitCookieManager</doc>
<type name="CookieManager" c:type="WebKitCookieManager*"/>
</instance-parameter>
<parameter name="result" transfer-ownership="none">
<doc xml:space="preserve">a #GAsyncResult</doc>
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
</parameter>
</parameters>
</method>
<method name="set_accept_policy" c:identifier="webkit_cookie_manager_set_accept_policy">
<doc xml:space="preserve">Set the cookie acceptance policy of @cookie_manager as @policy.
Note that ITP has its own way to handle third-party cookies, so when it's enabled,
and @policy is set to %WEBKIT_COOKIE_POLICY_ACCEPT_NO_THIRD_PARTY, %WEBKIT_COOKIE_POLICY_ACCEPT_ALWAYS
will be used instead. Once disabled, the policy will be set back to %WEBKIT_COOKIE_POLICY_ACCEPT_NO_THIRD_PARTY.
See also webkit_website_data_manager_set_itp_enabled().</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="cookie_manager" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitCookieManager</doc>
<type name="CookieManager" c:type="WebKitCookieManager*"/>
</instance-parameter>
<parameter name="policy" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitCookieAcceptPolicy</doc>
<type name="CookieAcceptPolicy" c:type="WebKitCookieAcceptPolicy"/>
</parameter>
</parameters>
</method>
<method name="set_persistent_storage" c:identifier="webkit_cookie_manager_set_persistent_storage">
<doc xml:space="preserve">Set the @filename where non-session cookies are stored persistently using
@storage as the format to read/write the cookies.
Cookies are initially read from @filename to create an initial set of cookies.
Then, non-session cookies will be written to @filename when the WebKitCookieManager::changed
signal is emitted.
By default, @cookie_manager doesn't store the cookies persistently, so you need to call this
method to keep cookies saved across sessions.
This method should never be called on a #WebKitCookieManager associated to an ephemeral #WebKitWebsiteDataManager.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="cookie_manager" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitCookieManager</doc>
<type name="CookieManager" c:type="WebKitCookieManager*"/>
</instance-parameter>
<parameter name="filename" transfer-ownership="none">
<doc xml:space="preserve">the filename to read to/write from</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="storage" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitCookiePersistentStorage</doc>
<type name="CookiePersistentStorage" c:type="WebKitCookiePersistentStorage"/>
</parameter>
</parameters>
</method>
<field name="parent">
<type name="GObject.Object" c:type="GObject"/>
</field>
<field name="priv">
<type name="CookieManagerPrivate" c:type="WebKitCookieManagerPrivate*"/>
</field>
<glib:signal name="changed" when="last">
<doc xml:space="preserve">This signal is emitted when cookies are added, removed or modified.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</glib:signal>
</class>
<record name="CookieManagerClass" c:type="WebKitCookieManagerClass" glib:is-gtype-struct-for="CookieManager">
<field name="parent_class">
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
</field>
<field name="_webkit_reserved0" introspectable="0">
<callback name="_webkit_reserved0">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved1" introspectable="0">
<callback name="_webkit_reserved1">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved2" introspectable="0">
<callback name="_webkit_reserved2">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved3" introspectable="0">
<callback name="_webkit_reserved3">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
</record>
<record name="CookieManagerPrivate" c:type="WebKitCookieManagerPrivate" disguised="1"/>
<enumeration name="CookiePersistentStorage" glib:type-name="WebKitCookiePersistentStorage" glib:get-type="webkit_cookie_persistent_storage_get_type" c:type="WebKitCookiePersistentStorage">
<doc xml:space="preserve">Enum values used to denote the cookie persistent storage types.</doc>
<member name="text" value="0" c:identifier="WEBKIT_COOKIE_PERSISTENT_STORAGE_TEXT" glib:nick="text" glib:name="WEBKIT_COOKIE_PERSISTENT_STORAGE_TEXT">
<doc xml:space="preserve">Cookies are stored in a text
file in the Mozilla "cookies.txt" format.</doc>
</member>
<member name="sqlite" value="1" c:identifier="WEBKIT_COOKIE_PERSISTENT_STORAGE_SQLITE" glib:nick="sqlite" glib:name="WEBKIT_COOKIE_PERSISTENT_STORAGE_SQLITE">
<doc xml:space="preserve">Cookies are stored in a SQLite
file in the current Mozilla format.</doc>
</member>
</enumeration>
<record name="Credential" c:type="WebKitCredential" glib:type-name="WebKitCredential" glib:get-type="webkit_credential_get_type" c:symbol-prefix="credential">
<constructor name="new" c:identifier="webkit_credential_new" version="2.2">
<doc xml:space="preserve">Create a new credential from the provided username, password and persistence mode.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">A #WebKitCredential.</doc>
<type name="Credential" c:type="WebKitCredential*"/>
</return-value>
<parameters>
<parameter name="username" transfer-ownership="none">
<doc xml:space="preserve">The username for the new credential</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="password" transfer-ownership="none">
<doc xml:space="preserve">The password for the new credential</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="persistence" transfer-ownership="none">
<doc xml:space="preserve">The #WebKitCredentialPersistence of the new credential</doc>
<type name="CredentialPersistence" c:type="WebKitCredentialPersistence"/>
</parameter>
</parameters>
</constructor>
<constructor name="new_for_certificate" c:identifier="webkit_credential_new_for_certificate" version="2.34">
<doc xml:space="preserve">Create a new credential from the @certificate and persistence mode.
Note that %WEBKIT_CREDENTIAL_PERSISTENCE_PERMANENT is not supported for certificate credentials.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">A #WebKitCredential.</doc>
<type name="Credential" c:type="WebKitCredential*"/>
</return-value>
<parameters>
<parameter name="certificate" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">The #GTlsCertificate, or %NULL</doc>
<type name="Gio.TlsCertificate" c:type="GTlsCertificate*"/>
</parameter>
<parameter name="persistence" transfer-ownership="none">
<doc xml:space="preserve">The #WebKitCredentialPersistence of the new credential</doc>
<type name="CredentialPersistence" c:type="WebKitCredentialPersistence"/>
</parameter>
</parameters>
</constructor>
<constructor name="new_for_certificate_pin" c:identifier="webkit_credential_new_for_certificate_pin" version="2.34">
<doc xml:space="preserve">Create a new credential from the provided PIN and persistence mode.
Note that %WEBKIT_CREDENTIAL_PERSISTENCE_PERMANENT is not supported for certificate pin credentials.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">A #WebKitCredential.</doc>
<type name="Credential" c:type="WebKitCredential*"/>
</return-value>
<parameters>
<parameter name="pin" transfer-ownership="none">
<doc xml:space="preserve">The PIN for the new credential</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="persistence" transfer-ownership="none">
<doc xml:space="preserve">The #WebKitCredentialPersistence of the new credential</doc>
<type name="CredentialPersistence" c:type="WebKitCredentialPersistence"/>
</parameter>
</parameters>
</constructor>
<method name="copy" c:identifier="webkit_credential_copy" version="2.2">
<doc xml:space="preserve">Make a copy of the #WebKitCredential.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">A copy of passed in #WebKitCredential</doc>
<type name="Credential" c:type="WebKitCredential*"/>
</return-value>
<parameters>
<instance-parameter name="credential" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitCredential</doc>
<type name="Credential" c:type="WebKitCredential*"/>
</instance-parameter>
</parameters>
</method>
<method name="free" c:identifier="webkit_credential_free" version="2.2">
<doc xml:space="preserve">Free the #WebKitCredential.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="credential" transfer-ownership="none">
<doc xml:space="preserve">A #WebKitCredential</doc>
<type name="Credential" c:type="WebKitCredential*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_certificate" c:identifier="webkit_credential_get_certificate" version="2.34">
<doc xml:space="preserve">Get the certificate currently held by this #WebKitCredential.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">a #GTlsCertificate, or %NULL</doc>
<type name="Gio.TlsCertificate" c:type="GTlsCertificate*"/>
</return-value>
<parameters>
<instance-parameter name="credential" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitCredential</doc>
<type name="Credential" c:type="WebKitCredential*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_password" c:identifier="webkit_credential_get_password" version="2.2">
<doc xml:space="preserve">Get the password currently held by this #WebKitCredential.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">The password stored in the #WebKitCredential.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="credential" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitCredential</doc>
<type name="Credential" c:type="WebKitCredential*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_persistence" c:identifier="webkit_credential_get_persistence" version="2.2">
<doc xml:space="preserve">Get the persistence mode currently held by this #WebKitCredential.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">The #WebKitCredentialPersistence stored in the #WebKitCredential.</doc>
<type name="CredentialPersistence" c:type="WebKitCredentialPersistence"/>
</return-value>
<parameters>
<instance-parameter name="credential" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitCredential</doc>
<type name="Credential" c:type="WebKitCredential*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_username" c:identifier="webkit_credential_get_username" version="2.2">
<doc xml:space="preserve">Get the username currently held by this #WebKitCredential.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">The username stored in the #WebKitCredential.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="credential" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitCredential</doc>
<type name="Credential" c:type="WebKitCredential*"/>
</instance-parameter>
</parameters>
</method>
<method name="has_password" c:identifier="webkit_credential_has_password" version="2.2">
<doc xml:space="preserve">Determine whether this credential has a password stored.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if the credential has a password or %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="credential" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitCredential</doc>
<type name="Credential" c:type="WebKitCredential*"/>
</instance-parameter>
</parameters>
</method>
</record>
<enumeration name="CredentialPersistence" version="2.2" glib:type-name="WebKitCredentialPersistence" glib:get-type="webkit_credential_persistence_get_type" c:type="WebKitCredentialPersistence">
<doc xml:space="preserve">Enum values representing the duration for which a credential persists.</doc>
<member name="none" value="0" c:identifier="WEBKIT_CREDENTIAL_PERSISTENCE_NONE" glib:nick="none" glib:name="WEBKIT_CREDENTIAL_PERSISTENCE_NONE">
<doc xml:space="preserve">Credential does not persist</doc>
</member>
<member name="for_session" value="1" c:identifier="WEBKIT_CREDENTIAL_PERSISTENCE_FOR_SESSION" glib:nick="for-session" glib:name="WEBKIT_CREDENTIAL_PERSISTENCE_FOR_SESSION">
<doc xml:space="preserve">Credential persists for session only</doc>
</member>
<member name="permanent" value="2" c:identifier="WEBKIT_CREDENTIAL_PERSISTENCE_PERMANENT" glib:nick="permanent" glib:name="WEBKIT_CREDENTIAL_PERSISTENCE_PERMANENT">
<doc xml:space="preserve">Credential persists permanently</doc>
</member>
</enumeration>
<function-macro name="DEPRECATED_FOR" c:identifier="WEBKIT_DEPRECATED_FOR" introspectable="0">
<parameters>
<parameter name="f">
</parameter>
</parameters>
</function-macro>
<function-macro name="DEVICE_INFO_PERMISSION_REQUEST" c:identifier="WEBKIT_DEVICE_INFO_PERMISSION_REQUEST" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="DEVICE_INFO_PERMISSION_REQUEST_CLASS" c:identifier="WEBKIT_DEVICE_INFO_PERMISSION_REQUEST_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="DEVICE_INFO_PERMISSION_REQUEST_GET_CLASS" c:identifier="WEBKIT_DEVICE_INFO_PERMISSION_REQUEST_GET_CLASS" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="DOWNLOAD" c:identifier="WEBKIT_DOWNLOAD" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="DOWNLOAD_CLASS" c:identifier="WEBKIT_DOWNLOAD_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="DOWNLOAD_GET_CLASS" c:identifier="WEBKIT_DOWNLOAD_GET_CLASS" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<class name="DeviceInfoPermissionRequest" c:symbol-prefix="device_info_permission_request" c:type="WebKitDeviceInfoPermissionRequest" parent="GObject.Object" glib:type-name="WebKitDeviceInfoPermissionRequest" glib:get-type="webkit_device_info_permission_request_get_type" glib:type-struct="DeviceInfoPermissionRequestClass">
<implements name="PermissionRequest"/>
<field name="parent">
<type name="GObject.Object" c:type="GObject"/>
</field>
<field name="priv" readable="0" private="1">
<type name="DeviceInfoPermissionRequestPrivate" c:type="WebKitDeviceInfoPermissionRequestPrivate*"/>
</field>
</class>
<record name="DeviceInfoPermissionRequestClass" c:type="WebKitDeviceInfoPermissionRequestClass" glib:is-gtype-struct-for="DeviceInfoPermissionRequest">
<field name="parent_class">
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
</field>
<field name="_webkit_reserved0" introspectable="0">
<callback name="_webkit_reserved0">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved1" introspectable="0">
<callback name="_webkit_reserved1">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved2" introspectable="0">
<callback name="_webkit_reserved2">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved3" introspectable="0">
<callback name="_webkit_reserved3">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
</record>
<record name="DeviceInfoPermissionRequestPrivate" c:type="WebKitDeviceInfoPermissionRequestPrivate" disguised="1"/>
<class name="Download" c:symbol-prefix="download" c:type="WebKitDownload" parent="GObject.Object" glib:type-name="WebKitDownload" glib:get-type="webkit_download_get_type" glib:type-struct="DownloadClass">
<virtual-method name="decide_destination">
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="download" transfer-ownership="none">
<type name="Download" c:type="WebKitDownload*"/>
</instance-parameter>
<parameter name="suggested_filename" transfer-ownership="none">
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</virtual-method>
<method name="cancel" c:identifier="webkit_download_cancel">
<doc xml:space="preserve">Cancels the download. When the ongoing download
operation is effectively cancelled the signal
#WebKitDownload::failed is emitted with
%WEBKIT_DOWNLOAD_ERROR_CANCELLED_BY_USER error.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="download" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitDownload</doc>
<type name="Download" c:type="WebKitDownload*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_allow_overwrite" c:identifier="webkit_download_get_allow_overwrite" glib:get-property="allow-overwrite" version="2.6">
<doc xml:space="preserve">Returns the current value of the #WebKitDownload:allow-overwrite property,
which determines whether the download will overwrite an existing file on
disk, or if it will fail if the destination already exists.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the current value of the #WebKitDownload:allow-overwrite property</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="download" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitDownload</doc>
<type name="Download" c:type="WebKitDownload*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_destination" c:identifier="webkit_download_get_destination" glib:get-property="destination">
<doc xml:space="preserve">Obtains the URI to which the downloaded file will be written. You
can connect to #WebKitDownload::created-destination to make
sure this method returns a valid destination.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the destination URI or %NULL</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="download" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitDownload</doc>
<type name="Download" c:type="WebKitDownload*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_elapsed_time" c:identifier="webkit_download_get_elapsed_time">
<doc xml:space="preserve">Gets the elapsed time in seconds, including any fractional part.
If the download finished, had an error or was cancelled this is
the time between its start and the event.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">seconds since the download was started</doc>
<type name="gdouble" c:type="gdouble"/>
</return-value>
<parameters>
<instance-parameter name="download" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitDownload</doc>
<type name="Download" c:type="WebKitDownload*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_estimated_progress" c:identifier="webkit_download_get_estimated_progress" glib:get-property="estimated-progress">
<doc xml:space="preserve">Gets the value of the #WebKitDownload:estimated-progress property.
You can monitor the estimated progress of the download operation by
connecting to the notify::estimated-progress signal of @download.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">an estimate of the of the percent complete for a download
as a range from 0.0 to 1.0.</doc>
<type name="gdouble" c:type="gdouble"/>
</return-value>
<parameters>
<instance-parameter name="download" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitDownload</doc>
<type name="Download" c:type="WebKitDownload*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_received_data_length" c:identifier="webkit_download_get_received_data_length">
<doc xml:space="preserve">Gets the length of the data already downloaded for @download
in bytes.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the amount of bytes already downloaded.</doc>
<type name="guint64" c:type="guint64"/>
</return-value>
<parameters>
<instance-parameter name="download" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitDownload</doc>
<type name="Download" c:type="WebKitDownload*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_request" c:identifier="webkit_download_get_request">
<doc xml:space="preserve">Retrieves the #WebKitURIRequest object that backs the download
process.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the #WebKitURIRequest of @download</doc>
<type name="URIRequest" c:type="WebKitURIRequest*"/>
</return-value>
<parameters>
<instance-parameter name="download" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitDownload</doc>
<type name="Download" c:type="WebKitDownload*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_response" c:identifier="webkit_download_get_response" glib:get-property="response">
<doc xml:space="preserve">Retrieves the #WebKitURIResponse object that backs the download
process. This method returns %NULL if called before the response
is received from the server. You can connect to notify::response
signal to be notified when the response is received.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the #WebKitURIResponse, or %NULL if
the response hasn't been received yet.</doc>
<type name="URIResponse" c:type="WebKitURIResponse*"/>
</return-value>
<parameters>
<instance-parameter name="download" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitDownload</doc>
<type name="Download" c:type="WebKitDownload*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_web_view" c:identifier="webkit_download_get_web_view">
<doc xml:space="preserve">Get the #WebKitWebView that initiated the download.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the #WebKitWebView that initiated @download,
or %NULL if @download was not initiated by a #WebKitWebView.</doc>
<type name="WebView" c:type="WebKitWebView*"/>
</return-value>
<parameters>
<instance-parameter name="download" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitDownload</doc>
<type name="Download" c:type="WebKitDownload*"/>
</instance-parameter>
</parameters>
</method>
<method name="set_allow_overwrite" c:identifier="webkit_download_set_allow_overwrite" glib:set-property="allow-overwrite" version="2.6">
<doc xml:space="preserve">Sets the #WebKitDownload:allow-overwrite property, which determines whether
the download may overwrite an existing file on disk, or if it will fail if
the destination already exists.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="download" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitDownload</doc>
<type name="Download" c:type="WebKitDownload*"/>
</instance-parameter>
<parameter name="allowed" transfer-ownership="none">
<doc xml:space="preserve">the new value for the #WebKitDownload:allow-overwrite property</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_destination" c:identifier="webkit_download_set_destination">
<doc xml:space="preserve">Sets the URI to which the downloaded file will be written.
This method should be called before the download transfer
starts or it will not have any effect on the ongoing download
operation. To set the destination using the filename suggested
by the server connect to #WebKitDownload::decide-destination
signal and call webkit_download_set_destination(). If you want to
set a fixed destination URI that doesn't depend on the suggested
filename you can connect to notify::response signal and call
webkit_download_set_destination().
If #WebKitDownload::decide-destination signal is not handled
and destination URI is not set when the download transfer starts,
the file will be saved with the filename suggested by the server in
%G_USER_DIRECTORY_DOWNLOAD directory.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="download" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitDownload</doc>
<type name="Download" c:type="WebKitDownload*"/>
</instance-parameter>
<parameter name="uri" transfer-ownership="none">
<doc xml:space="preserve">the destination URI</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<property name="allow-overwrite" version="2.6" writable="1" transfer-ownership="none" setter="set_allow_overwrite" getter="get_allow_overwrite">
<doc xml:space="preserve">Whether or not the download is allowed to overwrite an existing file on
disk. If this property is %FALSE and the destination already exists,
the download will fail.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="destination" transfer-ownership="none" getter="get_destination">
<doc xml:space="preserve">The local URI to where the download will be saved.</doc>
<type name="utf8" c:type="gchar*"/>
</property>
<property name="estimated-progress" transfer-ownership="none" getter="get_estimated_progress">
<doc xml:space="preserve">An estimate of the percent completion for the download operation.
This value will range from 0.0 to 1.0. The value is an estimate
based on the total number of bytes expected to be received for
a download.
If you need a more accurate progress information you can connect to
#WebKitDownload::received-data signal to track the progress.</doc>
<type name="gdouble" c:type="gdouble"/>
</property>
<property name="response" transfer-ownership="none" getter="get_response">
<doc xml:space="preserve">The #WebKitURIResponse associated with this download.</doc>
<type name="URIResponse"/>
</property>
<field name="parent">
<type name="GObject.Object" c:type="GObject"/>
</field>
<field name="priv">
<type name="DownloadPrivate" c:type="WebKitDownloadPrivate*"/>
</field>
<glib:signal name="created-destination" when="last">
<doc xml:space="preserve">This signal is emitted after #WebKitDownload::decide-destination and before
#WebKitDownload::received-data to notify that destination file has been
created successfully at @destination.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="destination" transfer-ownership="none">
<doc xml:space="preserve">the destination URI</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
</parameters>
</glib:signal>
<glib:signal name="decide-destination" when="last">
<doc xml:space="preserve">This signal is emitted after response is received to
decide a destination URI for the download. If this signal is not
handled the file will be downloaded to %G_USER_DIRECTORY_DOWNLOAD
directory using @suggested_filename.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE to stop other handlers from being invoked for the event.
%FALSE to propagate the event further.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="suggested_filename" transfer-ownership="none">
<doc xml:space="preserve">the filename suggested for the download</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
</parameters>
</glib:signal>
<glib:signal name="failed" when="last">
<doc xml:space="preserve">This signal is emitted when an error occurs during the download
operation. The given @error, of the domain %WEBKIT_DOWNLOAD_ERROR,
contains further details of the failure. If the download is cancelled
with webkit_download_cancel(), this signal is emitted with error
%WEBKIT_DOWNLOAD_ERROR_CANCELLED_BY_USER. The download operation finishes
after an error and #WebKitDownload::finished signal is emitted after this one.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="error" transfer-ownership="none">
<doc xml:space="preserve">the #GError that was triggered</doc>
<type name="GLib.Error"/>
</parameter>
</parameters>
</glib:signal>
<glib:signal name="finished" when="last">
<doc xml:space="preserve">This signal is emitted when download finishes successfully or due to an error.
In case of errors #WebKitDownload::failed signal is emitted before this one.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</glib:signal>
<glib:signal name="received-data" when="last">
<doc xml:space="preserve">This signal is emitted after response is received,
every time new data has been written to the destination. It's
useful to know the progress of the download operation.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="data_length" transfer-ownership="none">
<doc xml:space="preserve">the length of data received in bytes</doc>
<type name="guint64" c:type="guint64"/>
</parameter>
</parameters>
</glib:signal>
</class>
<record name="DownloadClass" c:type="WebKitDownloadClass" glib:is-gtype-struct-for="Download">
<field name="parent_class">
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
</field>
<field name="decide_destination">
<callback name="decide_destination">
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="download" transfer-ownership="none">
<type name="Download" c:type="WebKitDownload*"/>
</parameter>
<parameter name="suggested_filename" transfer-ownership="none">
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="_webkit_reserved0" introspectable="0">
<callback name="_webkit_reserved0">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved1" introspectable="0">
<callback name="_webkit_reserved1">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved2" introspectable="0">
<callback name="_webkit_reserved2">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved3" introspectable="0">
<callback name="_webkit_reserved3">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
</record>
<enumeration name="DownloadError" glib:type-name="WebKitDownloadError" glib:get-type="webkit_download_error_get_type" c:type="WebKitDownloadError" glib:error-domain="WebKitDownloadError">
<doc xml:space="preserve">Enum values used to denote the various download errors.</doc>
<member name="network" value="499" c:identifier="WEBKIT_DOWNLOAD_ERROR_NETWORK" glib:nick="network" glib:name="WEBKIT_DOWNLOAD_ERROR_NETWORK">
<doc xml:space="preserve">Download failure due to network error</doc>
</member>
<member name="cancelled_by_user" value="400" c:identifier="WEBKIT_DOWNLOAD_ERROR_CANCELLED_BY_USER" glib:nick="cancelled-by-user" glib:name="WEBKIT_DOWNLOAD_ERROR_CANCELLED_BY_USER">
<doc xml:space="preserve">Download was cancelled by user</doc>
</member>
<member name="destination" value="401" c:identifier="WEBKIT_DOWNLOAD_ERROR_DESTINATION" glib:nick="destination" glib:name="WEBKIT_DOWNLOAD_ERROR_DESTINATION">
<doc xml:space="preserve">Download failure due to destination error</doc>
</member>
<function name="quark" c:identifier="webkit_download_error_quark">
<return-value transfer-ownership="none">
<type name="GLib.Quark" c:type="GQuark"/>
</return-value>
</function>
</enumeration>
<record name="DownloadPrivate" c:type="WebKitDownloadPrivate" disguised="1"/>
<constant name="EDITING_COMMAND_COPY" value="Copy" c:type="WEBKIT_EDITING_COMMAND_COPY">
<doc xml:space="preserve">The copy clipboard command. Copies the current selection inside
a #WebKitWebView to the clipboard.
You can check whether it's possible to execute the command with
webkit_web_view_can_execute_editing_command(). In general it's
possible to copy to the clipboard when there is an active selection
inside the #WebKitWebView.</doc>
<type name="utf8" c:type="gchar*"/>
</constant>
<constant name="EDITING_COMMAND_CREATE_LINK" value="CreateLink" c:type="WEBKIT_EDITING_COMMAND_CREATE_LINK" version="2.10">
<doc xml:space="preserve">The create link command. Creates a link element that is inserted at
the current cursor position. If there's a selection, the selected text
will be used as the link text, otherwise the URL itself will be used.
It receives the link URL as argument. This command should be executed
with webkit_web_view_execute_editing_command_with_argument()</doc>
<type name="utf8" c:type="gchar*"/>
</constant>
<constant name="EDITING_COMMAND_CUT" value="Cut" c:type="WEBKIT_EDITING_COMMAND_CUT">
<doc xml:space="preserve">The cut clipboard command. Copies the current selection inside
a #WebKitWebView to the clipboard and deletes the selected content.
You can check whether it's possible to execute the command with
webkit_web_view_can_execute_editing_command(). In general it's
possible to cut to the clipboard when the #WebKitWebView content is
editable and there is an active selection.</doc>
<type name="utf8" c:type="gchar*"/>
</constant>
<constant name="EDITING_COMMAND_INSERT_IMAGE" value="InsertImage" c:type="WEBKIT_EDITING_COMMAND_INSERT_IMAGE" version="2.10">
<doc xml:space="preserve">The insert image command. Creates an image element that is inserted at
the current cursor position. It receives an URI as argument,
that is used as the image source. This command should be executed with
webkit_web_view_execute_editing_command_with_argument().</doc>
<type name="utf8" c:type="gchar*"/>
</constant>
<constant name="EDITING_COMMAND_PASTE" value="Paste" c:type="WEBKIT_EDITING_COMMAND_PASTE">
<doc xml:space="preserve">The paste clipboard command. Pastes the contents of the clipboard to
a #WebKitWebView.
You can check whether it's possible to execute the command with
webkit_web_view_can_execute_editing_command(). In general it's possible
to paste from the clipboard when the #WebKitWebView content is editable
and clipboard is not empty.</doc>
<type name="utf8" c:type="gchar*"/>
</constant>
<constant name="EDITING_COMMAND_PASTE_AS_PLAIN_TEXT" value="PasteAsPlainText" c:type="WEBKIT_EDITING_COMMAND_PASTE_AS_PLAIN_TEXT" version="2.30">
<doc xml:space="preserve">The paste as plaintext clipboard command. Pastes the contents of the
clipboard to a #WebKitWebView, with formatting removed.
You can check whether it's possible to execute the command with
webkit_web_view_can_execute_editing_command(). In general it's possible
to paste from the clipboard when the #WebKitWebView content is editable
and clipboard is not empty.</doc>
<type name="utf8" c:type="gchar*"/>
</constant>
<constant name="EDITING_COMMAND_REDO" value="Redo" c:type="WEBKIT_EDITING_COMMAND_REDO">
<doc xml:space="preserve">The redo command. Redoes a previously undone editing command in
a #WebKitWebView.
You can check whether it's possible to execute the command with
webkit_web_view_can_execute_editing_command(). It's only possible
to redo a command when it has been previously undone.</doc>
<type name="utf8" c:type="gchar*"/>
</constant>
<constant name="EDITING_COMMAND_SELECT_ALL" value="SelectAll" c:type="WEBKIT_EDITING_COMMAND_SELECT_ALL">
<doc xml:space="preserve">The select all command. Selects all the content of the current text field in
a #WebKitWebView.
It is always possible to select all text, no matter whether the
#WebKitWebView content is editable or not. You can still check it
with webkit_web_view_can_execute_editing_command().</doc>
<type name="utf8" c:type="gchar*"/>
</constant>
<constant name="EDITING_COMMAND_UNDO" value="Undo" c:type="WEBKIT_EDITING_COMMAND_UNDO">
<doc xml:space="preserve">The undo command. Undoes the last editing command in a #WebKitWebView.
You can check whether it's possible to execute the command with
webkit_web_view_can_execute_editing_command(). It's only possible
to undo a command after a previously executed editing operation.</doc>
<type name="utf8" c:type="gchar*"/>
</constant>
<function-macro name="EDITOR_STATE" c:identifier="WEBKIT_EDITOR_STATE" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="EDITOR_STATE_CLASS" c:identifier="WEBKIT_EDITOR_STATE_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="EDITOR_STATE_GET_CLASS" c:identifier="WEBKIT_EDITOR_STATE_GET_CLASS" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<class name="EditorState" c:symbol-prefix="editor_state" c:type="WebKitEditorState" parent="GObject.Object" glib:type-name="WebKitEditorState" glib:get-type="webkit_editor_state_get_type" glib:type-struct="EditorStateClass">
<method name="get_typing_attributes" c:identifier="webkit_editor_state_get_typing_attributes" glib:get-property="typing-attributes" version="2.10">
<doc xml:space="preserve">Gets the typing attributes at the current cursor position.
If there is a selection, this returns the typing attributes
of the selected text. Note that in case of a selection,
typing attributes are considered active only when they are
present throughout the selection.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">a bitmask of #WebKitEditorTypingAttributes flags</doc>
<type name="guint" c:type="guint"/>
</return-value>
<parameters>
<instance-parameter name="editor_state" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitEditorState</doc>
<type name="EditorState" c:type="WebKitEditorState*"/>
</instance-parameter>
</parameters>
</method>
<method name="is_copy_available" c:identifier="webkit_editor_state_is_copy_available" version="2.20">
<doc xml:space="preserve">Gets whether a copy command can be issued.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if copy is currently available</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="editor_state" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitEditorState</doc>
<type name="EditorState" c:type="WebKitEditorState*"/>
</instance-parameter>
</parameters>
</method>
<method name="is_cut_available" c:identifier="webkit_editor_state_is_cut_available" version="2.20">
<doc xml:space="preserve">Gets whether a cut command can be issued.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if cut is currently available</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="editor_state" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitEditorState</doc>
<type name="EditorState" c:type="WebKitEditorState*"/>
</instance-parameter>
</parameters>
</method>
<method name="is_paste_available" c:identifier="webkit_editor_state_is_paste_available" version="2.20">
<doc xml:space="preserve">Gets whether a paste command can be issued.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if paste is currently available</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="editor_state" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitEditorState</doc>
<type name="EditorState" c:type="WebKitEditorState*"/>
</instance-parameter>
</parameters>
</method>
<method name="is_redo_available" c:identifier="webkit_editor_state_is_redo_available" version="2.20">
<doc xml:space="preserve">Gets whether a redo command can be issued.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if redo is currently available</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="editor_state" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitEditorState</doc>
<type name="EditorState" c:type="WebKitEditorState*"/>
</instance-parameter>
</parameters>
</method>
<method name="is_undo_available" c:identifier="webkit_editor_state_is_undo_available" version="2.20">
<doc xml:space="preserve">Gets whether an undo command can be issued.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if undo is currently available</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="editor_state" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitEditorState</doc>
<type name="EditorState" c:type="WebKitEditorState*"/>
</instance-parameter>
</parameters>
</method>
<property name="typing-attributes" version="2.10" transfer-ownership="none" getter="get_typing_attributes">
<doc xml:space="preserve">Bitmask of #WebKitEditorTypingAttributes flags.
See webkit_editor_state_get_typing_attributes() for more information.</doc>
<type name="guint" c:type="guint"/>
</property>
<field name="parent">
<type name="GObject.Object" c:type="GObject"/>
</field>
<field name="priv">
<type name="EditorStatePrivate" c:type="WebKitEditorStatePrivate*"/>
</field>
</class>
<record name="EditorStateClass" c:type="WebKitEditorStateClass" glib:is-gtype-struct-for="EditorState">
<field name="parent_class">
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
</field>
<field name="_webkit_reserved0" introspectable="0">
<callback name="_webkit_reserved0">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved1" introspectable="0">
<callback name="_webkit_reserved1">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved2" introspectable="0">
<callback name="_webkit_reserved2">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved3" introspectable="0">
<callback name="_webkit_reserved3">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
</record>
<record name="EditorStatePrivate" c:type="WebKitEditorStatePrivate" disguised="1"/>
<bitfield name="EditorTypingAttributes" version="2.10" glib:type-name="WebKitEditorTypingAttributes" glib:get-type="webkit_editor_typing_attributes_get_type" c:type="WebKitEditorTypingAttributes">
<doc xml:space="preserve">Enum values with flags representing typing attributes.</doc>
<member name="none" value="2" c:identifier="WEBKIT_EDITOR_TYPING_ATTRIBUTE_NONE" glib:nick="none" glib:name="WEBKIT_EDITOR_TYPING_ATTRIBUTE_NONE">
<doc xml:space="preserve">No typing attributes.</doc>
</member>
<member name="bold" value="4" c:identifier="WEBKIT_EDITOR_TYPING_ATTRIBUTE_BOLD" glib:nick="bold" glib:name="WEBKIT_EDITOR_TYPING_ATTRIBUTE_BOLD">
<doc xml:space="preserve">Bold typing attribute.</doc>
</member>
<member name="italic" value="8" c:identifier="WEBKIT_EDITOR_TYPING_ATTRIBUTE_ITALIC" glib:nick="italic" glib:name="WEBKIT_EDITOR_TYPING_ATTRIBUTE_ITALIC">
<doc xml:space="preserve">Italic typing attribute.</doc>
</member>
<member name="underline" value="16" c:identifier="WEBKIT_EDITOR_TYPING_ATTRIBUTE_UNDERLINE" glib:nick="underline" glib:name="WEBKIT_EDITOR_TYPING_ATTRIBUTE_UNDERLINE">
<doc xml:space="preserve">Underline typing attribute.</doc>
</member>
<member name="strikethrough" value="32" c:identifier="WEBKIT_EDITOR_TYPING_ATTRIBUTE_STRIKETHROUGH" glib:nick="strikethrough" glib:name="WEBKIT_EDITOR_TYPING_ATTRIBUTE_STRIKETHROUGH">
<doc xml:space="preserve">Strikethrough typing attribute.</doc>
</member>
</bitfield>
<function-macro name="FAVICON_DATABASE" c:identifier="WEBKIT_FAVICON_DATABASE" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="FAVICON_DATABASE_CLASS" c:identifier="WEBKIT_FAVICON_DATABASE_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="FAVICON_DATABASE_GET_CLASS" c:identifier="WEBKIT_FAVICON_DATABASE_GET_CLASS" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="FILE_CHOOSER_REQUEST" c:identifier="WEBKIT_FILE_CHOOSER_REQUEST" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="FILE_CHOOSER_REQUEST_CLASS" c:identifier="WEBKIT_FILE_CHOOSER_REQUEST_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="FILE_CHOOSER_REQUEST_GET_CLASS" c:identifier="WEBKIT_FILE_CHOOSER_REQUEST_GET_CLASS" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="FIND_CONTROLLER" c:identifier="WEBKIT_FIND_CONTROLLER" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="FIND_CONTROLLER_CLASS" c:identifier="WEBKIT_FIND_CONTROLLER_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="FIND_CONTROLLER_GET_CLASS" c:identifier="WEBKIT_FIND_CONTROLLER_GET_CLASS" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="FORM_SUBMISSION_REQUEST" c:identifier="WEBKIT_FORM_SUBMISSION_REQUEST" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="FORM_SUBMISSION_REQUEST_CLASS" c:identifier="WEBKIT_FORM_SUBMISSION_REQUEST_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="FORM_SUBMISSION_REQUEST_GET_CLASS" c:identifier="WEBKIT_FORM_SUBMISSION_REQUEST_GET_CLASS" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<class name="FaviconDatabase" c:symbol-prefix="favicon_database" c:type="WebKitFaviconDatabase" parent="GObject.Object" glib:type-name="WebKitFaviconDatabase" glib:get-type="webkit_favicon_database_get_type" glib:type-struct="FaviconDatabaseClass">
<method name="clear" c:identifier="webkit_favicon_database_clear">
<doc xml:space="preserve">Clears all icons from the database.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="database" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitFaviconDatabase</doc>
<type name="FaviconDatabase" c:type="WebKitFaviconDatabase*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_favicon" c:identifier="webkit_favicon_database_get_favicon">
<doc xml:space="preserve">Asynchronously obtains a #cairo_surface_t of the favicon for the
given page URI. It returns the cached icon if it's in the database
asynchronously waiting for the icon to be read from the database.
This is an asynchronous method. When the operation is finished, callback will
be invoked. You can then call webkit_favicon_database_get_favicon_finish()
to get the result of the operation.
You must call webkit_web_context_set_favicon_database_directory() for
the #WebKitWebContext associated with this #WebKitFaviconDatabase
before attempting to use this function; otherwise,
webkit_favicon_database_get_favicon_finish() will return
%WEBKIT_FAVICON_DATABASE_ERROR_NOT_INITIALIZED.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="database" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitFaviconDatabase</doc>
<type name="FaviconDatabase" c:type="WebKitFaviconDatabase*"/>
</instance-parameter>
<parameter name="page_uri" transfer-ownership="none">
<doc xml:space="preserve">URI of the page for which we want to retrieve the favicon</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="cancellable" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">A #GCancellable or %NULL.</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
<parameter name="callback" transfer-ownership="none" nullable="1" allow-none="1" scope="async" closure="3">
<doc xml:space="preserve">A #GAsyncReadyCallback to call when the request is
satisfied or %NULL if you don't care about the result.</doc>
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
</parameter>
<parameter name="user_data" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">The data to pass to @callback.</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
</method>
<method name="get_favicon_finish" c:identifier="webkit_favicon_database_get_favicon_finish" throws="1">
<doc xml:space="preserve">Finishes an operation started with webkit_favicon_database_get_favicon().</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">a new reference to a #cairo_surface_t, or
%NULL in case of error.</doc>
<type name="cairo.Surface" c:type="cairo_surface_t*"/>
</return-value>
<parameters>
<instance-parameter name="database" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitFaviconDatabase</doc>
<type name="FaviconDatabase" c:type="WebKitFaviconDatabase*"/>
</instance-parameter>
<parameter name="result" transfer-ownership="none">
<doc xml:space="preserve">A #GAsyncResult obtained from the #GAsyncReadyCallback passed to webkit_favicon_database_get_favicon()</doc>
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
</parameter>
</parameters>
</method>
<method name="get_favicon_uri" c:identifier="webkit_favicon_database_get_favicon_uri">
<doc xml:space="preserve">Obtains the URI of the favicon for the given @page_uri.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">a newly allocated URI for the favicon, or %NULL if the
database doesn't have a favicon for @page_uri.</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
<parameters>
<instance-parameter name="database" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitFaviconDatabase</doc>
<type name="FaviconDatabase" c:type="WebKitFaviconDatabase*"/>
</instance-parameter>
<parameter name="page_uri" transfer-ownership="none">
<doc xml:space="preserve">URI of the page containing the icon</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<field name="parent">
<type name="GObject.Object" c:type="GObject"/>
</field>
<field name="priv">
<type name="FaviconDatabasePrivate" c:type="WebKitFaviconDatabasePrivate*"/>
</field>
<glib:signal name="favicon-changed" when="last">
<doc xml:space="preserve">This signal is emitted when the favicon URI of @page_uri has
been changed to @favicon_uri in the database. You can connect
to this signal and call webkit_favicon_database_get_favicon()
to get the favicon. If you are interested in the favicon of a
#WebKitWebView it's easier to use the #WebKitWebView:favicon
property. See webkit_web_view_get_favicon() for more details.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="page_uri" transfer-ownership="none">
<doc xml:space="preserve">the URI of the Web page containing the icon</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
<parameter name="favicon_uri" transfer-ownership="none">
<doc xml:space="preserve">the URI of the favicon</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
</parameters>
</glib:signal>
</class>
<record name="FaviconDatabaseClass" c:type="WebKitFaviconDatabaseClass" glib:is-gtype-struct-for="FaviconDatabase">
<field name="parent_class">
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
</field>
<field name="_webkit_reserved0" introspectable="0">
<callback name="_webkit_reserved0">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved1" introspectable="0">
<callback name="_webkit_reserved1">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved2" introspectable="0">
<callback name="_webkit_reserved2">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved3" introspectable="0">
<callback name="_webkit_reserved3">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
</record>
<enumeration name="FaviconDatabaseError" glib:type-name="WebKitFaviconDatabaseError" glib:get-type="webkit_favicon_database_error_get_type" c:type="WebKitFaviconDatabaseError" glib:error-domain="WebKitFaviconDatabaseError">
<doc xml:space="preserve">Enum values used to denote the various errors related to the #WebKitFaviconDatabase.</doc>
<member name="not_initialized" value="0" c:identifier="WEBKIT_FAVICON_DATABASE_ERROR_NOT_INITIALIZED" glib:nick="not-initialized" glib:name="WEBKIT_FAVICON_DATABASE_ERROR_NOT_INITIALIZED">
<doc xml:space="preserve">The #WebKitFaviconDatabase has not been initialized yet</doc>
</member>
<member name="favicon_not_found" value="1" c:identifier="WEBKIT_FAVICON_DATABASE_ERROR_FAVICON_NOT_FOUND" glib:nick="favicon-not-found" glib:name="WEBKIT_FAVICON_DATABASE_ERROR_FAVICON_NOT_FOUND">
<doc xml:space="preserve">There is not an icon available for the requested URL</doc>
</member>
<member name="favicon_unknown" value="2" c:identifier="WEBKIT_FAVICON_DATABASE_ERROR_FAVICON_UNKNOWN" glib:nick="favicon-unknown" glib:name="WEBKIT_FAVICON_DATABASE_ERROR_FAVICON_UNKNOWN">
<doc xml:space="preserve">There might be an icon for the requested URL, but its data is unknown at the moment</doc>
</member>
<function name="quark" c:identifier="webkit_favicon_database_error_quark">
<return-value transfer-ownership="none">
<type name="GLib.Quark" c:type="GQuark"/>
</return-value>
</function>
</enumeration>
<record name="FaviconDatabasePrivate" c:type="WebKitFaviconDatabasePrivate" disguised="1"/>
<class name="FileChooserRequest" c:symbol-prefix="file_chooser_request" c:type="WebKitFileChooserRequest" parent="GObject.Object" glib:type-name="WebKitFileChooserRequest" glib:get-type="webkit_file_chooser_request_get_type" glib:type-struct="FileChooserRequestClass">
<method name="cancel" c:identifier="webkit_file_chooser_request_cancel">
<doc xml:space="preserve">Ask WebKit to cancel the request. It's important to do this in case
no selection has been made in the client, otherwise the request
won't be properly completed and the browser will keep the request
pending forever, which might cause the browser to hang.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="request" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitFileChooserRequest</doc>
<type name="FileChooserRequest" c:type="WebKitFileChooserRequest*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_mime_types" c:identifier="webkit_file_chooser_request_get_mime_types" glib:get-property="mime-types">
<doc xml:space="preserve">Get the list of MIME types the file chooser dialog should handle,
in the format specified in RFC 2046 for "media types". Its contents
depend on the value of the 'accept' attribute for HTML input
elements. This function should normally be called before presenting
the file chooser dialog to the user, to decide whether to allow the
user to select multiple files at once or only one.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">a
%NULL-terminated array of strings if a list of accepted MIME types
is defined or %NULL otherwise, meaning that any MIME type should be
accepted. This array and its contents are owned by WebKit and
should not be modified or freed.</doc>
<array c:type="const gchar* const*">
<type name="utf8"/>
</array>
</return-value>
<parameters>
<instance-parameter name="request" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitFileChooserRequest</doc>
<type name="FileChooserRequest" c:type="WebKitFileChooserRequest*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_mime_types_filter" c:identifier="webkit_file_chooser_request_get_mime_types_filter">
<doc xml:space="preserve">Get the filter currently associated with the request, ready to be
used by #GtkFileChooser. This function should normally be called
before presenting the file chooser dialog to the user, to decide
whether to apply a filter so the user would not be allowed to
select files with other MIME types.
See webkit_file_chooser_request_get_mime_types() if you are
interested in getting the list of accepted MIME types.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">a #GtkFileFilter if a list of accepted
MIME types is defined or %NULL otherwise. The returned object is
owned by WebKit should not be modified or freed.</doc>
<type name="Gtk.FileFilter" c:type="GtkFileFilter*"/>
</return-value>
<parameters>
<instance-parameter name="request" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitFileChooserRequest</doc>
<type name="FileChooserRequest" c:type="WebKitFileChooserRequest*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_select_multiple" c:identifier="webkit_file_chooser_request_get_select_multiple" glib:get-property="select-multiple">
<doc xml:space="preserve">Determine whether the file chooser associated to this
#WebKitFileChooserRequest should allow selecting multiple files,
which depends on the HTML input element having a 'multiple'
attribute defined.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if the file chooser should allow selecting multiple files or %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="request" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitFileChooserRequest</doc>
<type name="FileChooserRequest" c:type="WebKitFileChooserRequest*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_selected_files" c:identifier="webkit_file_chooser_request_get_selected_files" glib:get-property="selected-files">
<doc xml:space="preserve">Get the list of selected files currently associated to the
request. Initially, the return value of this method contains any
files selected in previous file chooser requests for this HTML
input element. Once webkit_file_chooser_request_select_files, the
value will reflect whatever files are given.
This function should normally be called only before presenting the
file chooser dialog to the user, to decide whether to perform some
extra action, like pre-selecting the files from a previous request.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">a
%NULL-terminated array of strings if there are selected files
associated with the request or %NULL otherwise. This array and its
contents are owned by WebKit and should not be modified or
freed.</doc>
<array c:type="const gchar* const*">
<type name="utf8"/>
</array>
</return-value>
<parameters>
<instance-parameter name="request" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitFileChooserRequest</doc>
<type name="FileChooserRequest" c:type="WebKitFileChooserRequest*"/>
</instance-parameter>
</parameters>
</method>
<method name="select_files" c:identifier="webkit_file_chooser_request_select_files">
<doc xml:space="preserve">Ask WebKit to select local files for upload and complete the
request.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="request" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitFileChooserRequest</doc>
<type name="FileChooserRequest" c:type="WebKitFileChooserRequest*"/>
</instance-parameter>
<parameter name="files" transfer-ownership="none">
<doc xml:space="preserve">a
%NULL-terminated array of strings, containing paths to local files.</doc>
<array c:type="const gchar* const*">
<type name="utf8" c:type="gchar*"/>
</array>
</parameter>
</parameters>
</method>
<property name="filter" transfer-ownership="none">
<doc xml:space="preserve">The filter currently associated with the request. See
webkit_file_chooser_request_get_mime_types_filter() for more
details.</doc>
<type name="Gtk.FileFilter"/>
</property>
<property name="mime-types" transfer-ownership="none" getter="get_mime_types">
<doc xml:space="preserve">A %NULL-terminated array of strings containing the list of MIME
types the file chooser dialog should handle. See
webkit_file_chooser_request_get_mime_types() for more details.</doc>
<array>
<type name="utf8"/>
</array>
</property>
<property name="select-multiple" transfer-ownership="none" getter="get_select_multiple">
<doc xml:space="preserve">Whether the file chooser should allow selecting multiple
files. See
webkit_file_chooser_request_get_select_multiple() for
more details.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="selected-files" transfer-ownership="none" getter="get_selected_files">
<doc xml:space="preserve">A %NULL-terminated array of strings containing the list of
selected files associated to the current request. See
webkit_file_chooser_request_get_selected_files() for more details.</doc>
<array>
<type name="utf8"/>
</array>
</property>
<field name="parent">
<type name="GObject.Object" c:type="GObject"/>
</field>
<field name="priv" readable="0" private="1">
<type name="FileChooserRequestPrivate" c:type="WebKitFileChooserRequestPrivate*"/>
</field>
</class>
<record name="FileChooserRequestClass" c:type="WebKitFileChooserRequestClass" glib:is-gtype-struct-for="FileChooserRequest">
<field name="parent_class">
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
</field>
<field name="_webkit_reserved0" introspectable="0">
<callback name="_webkit_reserved0">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved1" introspectable="0">
<callback name="_webkit_reserved1">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved2" introspectable="0">
<callback name="_webkit_reserved2">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved3" introspectable="0">
<callback name="_webkit_reserved3">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
</record>
<record name="FileChooserRequestPrivate" c:type="WebKitFileChooserRequestPrivate" disguised="1"/>
<class name="FindController" c:symbol-prefix="find_controller" c:type="WebKitFindController" parent="GObject.Object" glib:type-name="WebKitFindController" glib:get-type="webkit_find_controller_get_type" glib:type-struct="FindControllerClass">
<method name="count_matches" c:identifier="webkit_find_controller_count_matches">
<doc xml:space="preserve">Counts the number of matches for @search_text found in the
#WebKitWebView with the provided @find_options. The number of
matches will be provided by the
#WebKitFindController::counted-matches signal.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="find_controller" transfer-ownership="none">
<doc xml:space="preserve">the #WebKitFindController</doc>
<type name="FindController" c:type="WebKitFindController*"/>
</instance-parameter>
<parameter name="search_text" transfer-ownership="none">
<doc xml:space="preserve">the text to look for</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="find_options" transfer-ownership="none">
<doc xml:space="preserve">a bitmask with the #WebKitFindOptions used in the search</doc>
<type name="guint32" c:type="guint32"/>
</parameter>
<parameter name="max_match_count" transfer-ownership="none">
<doc xml:space="preserve">the maximum number of matches allowed in the search</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</method>
<method name="get_max_match_count" c:identifier="webkit_find_controller_get_max_match_count" glib:get-property="max-match-count">
<doc xml:space="preserve">Gets the maximum number of matches to report during a text
lookup. This number is passed as the last argument of
webkit_find_controller_search() or
webkit_find_controller_count_matches().</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the maximum number of matches to report.</doc>
<type name="guint" c:type="guint"/>
</return-value>
<parameters>
<instance-parameter name="find_controller" transfer-ownership="none">
<doc xml:space="preserve">the #WebKitFindController</doc>
<type name="FindController" c:type="WebKitFindController*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_options" c:identifier="webkit_find_controller_get_options" glib:get-property="options">
<doc xml:space="preserve">Gets a bitmask containing the #WebKitFindOptions associated with
the current search.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">a bitmask containing the #WebKitFindOptions associated
with the current search.</doc>
<type name="guint32" c:type="guint32"/>
</return-value>
<parameters>
<instance-parameter name="find_controller" transfer-ownership="none">
<doc xml:space="preserve">the #WebKitFindController</doc>
<type name="FindController" c:type="WebKitFindController*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_search_text" c:identifier="webkit_find_controller_get_search_text">
<doc xml:space="preserve">Gets the text that @find_controller is currently searching
for. This text is passed to either
webkit_find_controller_search() or
webkit_find_controller_count_matches().</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the text to look for in the #WebKitWebView.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="find_controller" transfer-ownership="none">
<doc xml:space="preserve">the #WebKitFindController</doc>
<type name="FindController" c:type="WebKitFindController*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_web_view" c:identifier="webkit_find_controller_get_web_view" glib:get-property="web-view">
<doc xml:space="preserve">Gets the #WebKitWebView this find controller is associated to. Do
not dereference the returned instance as it belongs to the
#WebKitFindController.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the #WebKitWebView.</doc>
<type name="WebView" c:type="WebKitWebView*"/>
</return-value>
<parameters>
<instance-parameter name="find_controller" transfer-ownership="none">
<doc xml:space="preserve">the #WebKitFindController</doc>
<type name="FindController" c:type="WebKitFindController*"/>
</instance-parameter>
</parameters>
</method>
<method name="search" c:identifier="webkit_find_controller_search">
<doc xml:space="preserve">Looks for @search_text in the #WebKitWebView associated with
@find_controller since the beginning of the document highlighting
up to @max_match_count matches. The outcome of the search will be
asynchronously provided by the #WebKitFindController::found-text
and #WebKitFindController::failed-to-find-text signals.
To look for the next or previous occurrences of the same text
with the same find options use webkit_find_controller_search_next()
and/or webkit_find_controller_search_previous(). The
#WebKitFindController will use the same text and options for the
following searches unless they are modified by another call to this
method.
Note that if the number of matches is higher than @max_match_count
then #WebKitFindController::found-text will report %G_MAXUINT matches
instead of the actual number.
Callers should call webkit_find_controller_search_finish() to
finish the current search operation.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="find_controller" transfer-ownership="none">
<doc xml:space="preserve">the #WebKitFindController</doc>
<type name="FindController" c:type="WebKitFindController*"/>
</instance-parameter>
<parameter name="search_text" transfer-ownership="none">
<doc xml:space="preserve">the text to look for</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="find_options" transfer-ownership="none">
<doc xml:space="preserve">a bitmask with the #WebKitFindOptions used in the search</doc>
<type name="guint32" c:type="guint32"/>
</parameter>
<parameter name="max_match_count" transfer-ownership="none">
<doc xml:space="preserve">the maximum number of matches allowed in the search</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</method>
<method name="search_finish" c:identifier="webkit_find_controller_search_finish">
<doc xml:space="preserve">Finishes a find operation started by
webkit_find_controller_search(). It will basically unhighlight
every text match found.
This method will be typically called when the search UI is
closed/hidden by the client application.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="find_controller" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitFindController</doc>
<type name="FindController" c:type="WebKitFindController*"/>
</instance-parameter>
</parameters>
</method>
<method name="search_next" c:identifier="webkit_find_controller_search_next">
<doc xml:space="preserve">Looks for the next occurrence of the search text.
Calling this method before webkit_find_controller_search() or
webkit_find_controller_count_matches() is a programming error.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="find_controller" transfer-ownership="none">
<doc xml:space="preserve">the #WebKitFindController</doc>
<type name="FindController" c:type="WebKitFindController*"/>
</instance-parameter>
</parameters>
</method>
<method name="search_previous" c:identifier="webkit_find_controller_search_previous">
<doc xml:space="preserve">Looks for the previous occurrence of the search text.
Calling this method before webkit_find_controller_search() or
webkit_find_controller_count_matches() is a programming error.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="find_controller" transfer-ownership="none">
<doc xml:space="preserve">the #WebKitFindController</doc>
<type name="FindController" c:type="WebKitFindController*"/>
</instance-parameter>
</parameters>
</method>
<property name="max-match-count" transfer-ownership="none" getter="get_max_match_count">
<doc xml:space="preserve">The maximum number of matches to report for a given search.</doc>
<type name="guint" c:type="guint"/>
</property>
<property name="options" transfer-ownership="none" getter="get_options">
<doc xml:space="preserve">The options to be used in the search operation.</doc>
<type name="FindOptions"/>
</property>
<property name="text" transfer-ownership="none">
<doc xml:space="preserve">The current search text for this #WebKitFindController.</doc>
<type name="utf8" c:type="gchar*"/>
</property>
<property name="web-view" writable="1" construct-only="1" transfer-ownership="none" getter="get_web_view">
<doc xml:space="preserve">The #WebKitWebView this controller is associated to.</doc>
<type name="WebView"/>
</property>
<field name="parent">
<type name="GObject.Object" c:type="GObject"/>
</field>
<field name="priv" readable="0" private="1">
<type name="FindControllerPrivate" c:type="WebKitFindControllerPrivate*"/>
</field>
<glib:signal name="counted-matches" when="last">
<doc xml:space="preserve">This signal is emitted when the #WebKitFindController has
counted the number of matches for a given text after a call
to webkit_find_controller_count_matches().</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="match_count" transfer-ownership="none">
<doc xml:space="preserve">the number of matches of the search text</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</glib:signal>
<glib:signal name="failed-to-find-text" when="last">
<doc xml:space="preserve">This signal is emitted when a search operation does not find
any result for the given text. It will be issued if the text
is not found asynchronously after a call to
webkit_find_controller_search(), webkit_find_controller_search_next()
or webkit_find_controller_search_previous().</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</glib:signal>
<glib:signal name="found-text" when="last">
<doc xml:space="preserve">This signal is emitted when a given text is found in the web
page text. It will be issued if the text is found
asynchronously after a call to webkit_find_controller_search(),
webkit_find_controller_search_next() or
webkit_find_controller_search_previous().</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="match_count" transfer-ownership="none">
<doc xml:space="preserve">the number of matches found of the search text</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</glib:signal>
</class>
<record name="FindControllerClass" c:type="WebKitFindControllerClass" glib:is-gtype-struct-for="FindController">
<field name="parent_class">
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
</field>
<field name="_webkit_reserved0" introspectable="0">
<callback name="_webkit_reserved0">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved1" introspectable="0">
<callback name="_webkit_reserved1">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved2" introspectable="0">
<callback name="_webkit_reserved2">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved3" introspectable="0">
<callback name="_webkit_reserved3">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
</record>
<record name="FindControllerPrivate" c:type="WebKitFindControllerPrivate" disguised="1"/>
<bitfield name="FindOptions" glib:type-name="WebKitFindOptions" glib:get-type="webkit_find_options_get_type" c:type="WebKitFindOptions">
<doc xml:space="preserve">Enum values used to specify search options.</doc>
<member name="none" value="0" c:identifier="WEBKIT_FIND_OPTIONS_NONE" glib:nick="none" glib:name="WEBKIT_FIND_OPTIONS_NONE">
<doc xml:space="preserve">no search flags, this means a case
sensitive, no wrap, forward only search.</doc>
</member>
<member name="case_insensitive" value="1" c:identifier="WEBKIT_FIND_OPTIONS_CASE_INSENSITIVE" glib:nick="case-insensitive" glib:name="WEBKIT_FIND_OPTIONS_CASE_INSENSITIVE">
<doc xml:space="preserve">case insensitive search.</doc>
</member>
<member name="at_word_starts" value="2" c:identifier="WEBKIT_FIND_OPTIONS_AT_WORD_STARTS" glib:nick="at-word-starts" glib:name="WEBKIT_FIND_OPTIONS_AT_WORD_STARTS">
<doc xml:space="preserve">search text only at the
begining of the words.</doc>
</member>
<member name="treat_medial_capital_as_word_start" value="4" c:identifier="WEBKIT_FIND_OPTIONS_TREAT_MEDIAL_CAPITAL_AS_WORD_START" glib:nick="treat-medial-capital-as-word-start" glib:name="WEBKIT_FIND_OPTIONS_TREAT_MEDIAL_CAPITAL_AS_WORD_START">
<doc xml:space="preserve">treat
capital letters in the middle of words as word start.</doc>
</member>
<member name="backwards" value="8" c:identifier="WEBKIT_FIND_OPTIONS_BACKWARDS" glib:nick="backwards" glib:name="WEBKIT_FIND_OPTIONS_BACKWARDS">
<doc xml:space="preserve">search backwards.</doc>
</member>
<member name="wrap_around" value="16" c:identifier="WEBKIT_FIND_OPTIONS_WRAP_AROUND" glib:nick="wrap-around" glib:name="WEBKIT_FIND_OPTIONS_WRAP_AROUND">
<doc xml:space="preserve">if not present search will stop
at the end of the document.</doc>
</member>
</bitfield>
<class name="FormSubmissionRequest" c:symbol-prefix="form_submission_request" c:type="WebKitFormSubmissionRequest" parent="GObject.Object" glib:type-name="WebKitFormSubmissionRequest" glib:get-type="webkit_form_submission_request_get_type" glib:type-struct="FormSubmissionRequestClass">
<method name="get_text_fields" c:identifier="webkit_form_submission_request_get_text_fields" deprecated="1" deprecated-version="2.20.">
<doc xml:space="preserve">Get a #GHashTable with the values of the text fields contained in the form
associated to @request. Note that fields will be missing if the form
contains multiple text input elements with the same name, so this
function does not reliably return all text fields.</doc>
<doc-deprecated xml:space="preserve">Use webkit_form_submission_request_list_text_fields() instead.</doc-deprecated>
<return-value transfer-ownership="none" nullable="1">
<doc xml:space="preserve">a #GHashTable with the form
text fields, or %NULL if the form doesn't contain text fields.</doc>
<type name="GLib.HashTable" c:type="GHashTable*">
<type name="gpointer" c:type="gpointer"/>
<type name="gpointer" c:type="gpointer"/>
</type>
</return-value>
<parameters>
<instance-parameter name="request" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitFormSubmissionRequest</doc>
<type name="FormSubmissionRequest" c:type="WebKitFormSubmissionRequest*"/>
</instance-parameter>
</parameters>
</method>
<method name="list_text_fields" c:identifier="webkit_form_submission_request_list_text_fields" version="2.20">
<doc xml:space="preserve">Get lists with the names and values of the text fields contained in
the form associated to @request. Note that names and values may be
%NULL.
If this function returns %FALSE, then both @field_names and
@field_values will be empty.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if the form contains text fields, or %FALSE otherwise</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="request" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitFormSubmissionRequest</doc>
<type name="FormSubmissionRequest" c:type="WebKitFormSubmissionRequest*"/>
</instance-parameter>
<parameter name="field_names" direction="out" caller-allocates="0" transfer-ownership="none" optional="1" allow-none="1">
<doc xml:space="preserve">
names of the text fields in the form</doc>
<array name="GLib.PtrArray" c:type="GPtrArray**">
<type name="utf8"/>
</array>
</parameter>
<parameter name="field_values" direction="out" caller-allocates="0" transfer-ownership="none" optional="1" allow-none="1">
<doc xml:space="preserve">
values of the text fields in the form</doc>
<array name="GLib.PtrArray" c:type="GPtrArray**">
<type name="utf8"/>
</array>
</parameter>
</parameters>
</method>
<method name="submit" c:identifier="webkit_form_submission_request_submit">
<doc xml:space="preserve">Continue the form submission.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="request" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitFormSubmissionRequest</doc>
<type name="FormSubmissionRequest" c:type="WebKitFormSubmissionRequest*"/>
</instance-parameter>
</parameters>
</method>
<field name="parent">
<type name="GObject.Object" c:type="GObject"/>
</field>
<field name="priv" readable="0" private="1">
<type name="FormSubmissionRequestPrivate" c:type="WebKitFormSubmissionRequestPrivate*"/>
</field>
</class>
<record name="FormSubmissionRequestClass" c:type="WebKitFormSubmissionRequestClass" glib:is-gtype-struct-for="FormSubmissionRequest">
<field name="parent_class">
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
</field>
<field name="_webkit_reserved0" introspectable="0">
<callback name="_webkit_reserved0">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved1" introspectable="0">
<callback name="_webkit_reserved1">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved2" introspectable="0">
<callback name="_webkit_reserved2">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved3" introspectable="0">
<callback name="_webkit_reserved3">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
</record>
<record name="FormSubmissionRequestPrivate" c:type="WebKitFormSubmissionRequestPrivate" disguised="1"/>
<function-macro name="GEOLOCATION_MANAGER" c:identifier="WEBKIT_GEOLOCATION_MANAGER" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="GEOLOCATION_MANAGER_CLASS" c:identifier="WEBKIT_GEOLOCATION_MANAGER_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="GEOLOCATION_MANAGER_GET_CLASS" c:identifier="WEBKIT_GEOLOCATION_MANAGER_GET_CLASS" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="GEOLOCATION_PERMISSION_REQUEST" c:identifier="WEBKIT_GEOLOCATION_PERMISSION_REQUEST" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="GEOLOCATION_PERMISSION_REQUEST_CLASS" c:identifier="WEBKIT_GEOLOCATION_PERMISSION_REQUEST_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="GEOLOCATION_PERMISSION_REQUEST_GET_CLASS" c:identifier="WEBKIT_GEOLOCATION_PERMISSION_REQUEST_GET_CLASS" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<class name="GeolocationManager" c:symbol-prefix="geolocation_manager" c:type="WebKitGeolocationManager" parent="GObject.Object" glib:type-name="WebKitGeolocationManager" glib:get-type="webkit_geolocation_manager_get_type" glib:type-struct="GeolocationManagerClass">
<method name="failed" c:identifier="webkit_geolocation_manager_failed" version="2.26">
<doc xml:space="preserve">Notify @manager that determining the position failed.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="manager" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitGeolocationManager</doc>
<type name="GeolocationManager" c:type="WebKitGeolocationManager*"/>
</instance-parameter>
<parameter name="error_message" transfer-ownership="none">
<doc xml:space="preserve">the error message</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
</parameters>
</method>
<method name="get_enable_high_accuracy" c:identifier="webkit_geolocation_manager_get_enable_high_accuracy" glib:get-property="enable-high-accuracy" version="2.26">
<doc xml:space="preserve">Get whether high accuracy is enabled.</doc>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="manager" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitGeolocationManager</doc>
<type name="GeolocationManager" c:type="WebKitGeolocationManager*"/>
</instance-parameter>
</parameters>
</method>
<method name="update_position" c:identifier="webkit_geolocation_manager_update_position" version="2.26">
<doc xml:space="preserve">Notify @manager that position has been updated to @position.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="manager" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitGeolocationManager</doc>
<type name="GeolocationManager" c:type="WebKitGeolocationManager*"/>
</instance-parameter>
<parameter name="position" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitGeolocationPosition</doc>
<type name="GeolocationPosition" c:type="WebKitGeolocationPosition*"/>
</parameter>
</parameters>
</method>
<property name="enable-high-accuracy" version="2.26" transfer-ownership="none" getter="get_enable_high_accuracy">
<doc xml:space="preserve">Whether high accuracy is enabled. This is a read-only property that will be
set to %TRUE when a #WebKitGeolocationManager needs to get accurate position updates.
You can connect to notify::enable-high-accuracy signal to monitor it.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<field name="parent">
<type name="GObject.Object" c:type="GObject"/>
</field>
<field name="priv" readable="0" private="1">
<type name="GeolocationManagerPrivate" c:type="WebKitGeolocationManagerPrivate*"/>
</field>
<glib:signal name="start" when="last" version="2.26">
<doc xml:space="preserve">The signal is emitted to notify that @manager needs to start receiving
position updates. After this signal is emitted the user should provide
the updates using webkit_geolocation_manager_update_position() every time
the position changes, or use webkit_geolocation_manager_failed() in case
it isn't possible to determine the current position.
If the signal is not handled, WebKit will try to determine the position
using GeoClue if available.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE to stop other handlers from being invoked for the event.
%FALSE to propagate the event further.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
</glib:signal>
<glib:signal name="stop" when="last" version="2.26">
<doc xml:space="preserve">The signal is emitted to notify that @manager doesn't need to receive
position updates anymore.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</glib:signal>
</class>
<record name="GeolocationManagerClass" c:type="WebKitGeolocationManagerClass" glib:is-gtype-struct-for="GeolocationManager">
<field name="parent_class">
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
</field>
<field name="_webkit_reserved0" introspectable="0">
<callback name="_webkit_reserved0">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved1" introspectable="0">
<callback name="_webkit_reserved1">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved2" introspectable="0">
<callback name="_webkit_reserved2">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved3" introspectable="0">
<callback name="_webkit_reserved3">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
</record>
<record name="GeolocationManagerPrivate" c:type="WebKitGeolocationManagerPrivate" disguised="1"/>
<class name="GeolocationPermissionRequest" c:symbol-prefix="geolocation_permission_request" c:type="WebKitGeolocationPermissionRequest" parent="GObject.Object" glib:type-name="WebKitGeolocationPermissionRequest" glib:get-type="webkit_geolocation_permission_request_get_type" glib:type-struct="GeolocationPermissionRequestClass">
<implements name="PermissionRequest"/>
<field name="parent">
<type name="GObject.Object" c:type="GObject"/>
</field>
<field name="priv" readable="0" private="1">
<type name="GeolocationPermissionRequestPrivate" c:type="WebKitGeolocationPermissionRequestPrivate*"/>
</field>
</class>
<record name="GeolocationPermissionRequestClass" c:type="WebKitGeolocationPermissionRequestClass" glib:is-gtype-struct-for="GeolocationPermissionRequest">
<field name="parent_class">
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
</field>
<field name="_webkit_reserved0" introspectable="0">
<callback name="_webkit_reserved0">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved1" introspectable="0">
<callback name="_webkit_reserved1">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved2" introspectable="0">
<callback name="_webkit_reserved2">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved3" introspectable="0">
<callback name="_webkit_reserved3">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
</record>
<record name="GeolocationPermissionRequestPrivate" c:type="WebKitGeolocationPermissionRequestPrivate" disguised="1"/>
<record name="GeolocationPosition" c:type="WebKitGeolocationPosition" version="2.26" glib:type-name="WebKitGeolocationPosition" glib:get-type="webkit_geolocation_position_get_type" c:symbol-prefix="geolocation_position">
<doc xml:space="preserve">WebKitGeolocationPosition is an opaque struct used to provide position updates to a
#WebKitGeolocationManager using webkit_geolocation_manager_update_position().</doc>
<constructor name="new" c:identifier="webkit_geolocation_position_new" version="2.26">
<doc xml:space="preserve">Create a new #WebKitGeolocationPosition</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">a newly created #WebKitGeolocationPosition</doc>
<type name="GeolocationPosition" c:type="WebKitGeolocationPosition*"/>
</return-value>
<parameters>
<parameter name="latitude" transfer-ownership="none">
<doc xml:space="preserve">a valid latitude in degrees</doc>
<type name="gdouble" c:type="double"/>
</parameter>
<parameter name="longitude" transfer-ownership="none">
<doc xml:space="preserve">a valid longitude in degrees</doc>
<type name="gdouble" c:type="double"/>
</parameter>
<parameter name="accuracy" transfer-ownership="none">
<doc xml:space="preserve">accuracy of location in meters</doc>
<type name="gdouble" c:type="double"/>
</parameter>
</parameters>
</constructor>
<method name="copy" c:identifier="webkit_geolocation_position_copy" version="2.26">
<doc xml:space="preserve">Make a copy of the #WebKitGeolocationPosition</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">a copy of @position</doc>
<type name="GeolocationPosition" c:type="WebKitGeolocationPosition*"/>
</return-value>
<parameters>
<instance-parameter name="position" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitGeolocationPosition</doc>
<type name="GeolocationPosition" c:type="WebKitGeolocationPosition*"/>
</instance-parameter>
</parameters>
</method>
<method name="free" c:identifier="webkit_geolocation_position_free" version="2.26">
<doc xml:space="preserve">Free the #WebKitGeolocationPosition</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="position" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitGeolocationPosition</doc>
<type name="GeolocationPosition" c:type="WebKitGeolocationPosition*"/>
</instance-parameter>
</parameters>
</method>
<method name="set_altitude" c:identifier="webkit_geolocation_position_set_altitude" version="2.26">
<doc xml:space="preserve">Set the @position altitude</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="position" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitGeolocationPosition</doc>
<type name="GeolocationPosition" c:type="WebKitGeolocationPosition*"/>
</instance-parameter>
<parameter name="altitude" transfer-ownership="none">
<doc xml:space="preserve">altitude in meters</doc>
<type name="gdouble" c:type="double"/>
</parameter>
</parameters>
</method>
<method name="set_altitude_accuracy" c:identifier="webkit_geolocation_position_set_altitude_accuracy" version="2.26">
<doc xml:space="preserve">Set the accuracy of @position altitude</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="position" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitGeolocationPosition</doc>
<type name="GeolocationPosition" c:type="WebKitGeolocationPosition*"/>
</instance-parameter>
<parameter name="altitude_accuracy" transfer-ownership="none">
<doc xml:space="preserve">accuracy of position altitude in meters</doc>
<type name="gdouble" c:type="double"/>
</parameter>
</parameters>
</method>
<method name="set_heading" c:identifier="webkit_geolocation_position_set_heading" version="2.26">
<doc xml:space="preserve">Set the @position heading, as a positive angle between the direction of movement and the North
direction, in clockwise direction.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="position" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitGeolocationPosition</doc>
<type name="GeolocationPosition" c:type="WebKitGeolocationPosition*"/>
</instance-parameter>
<parameter name="heading" transfer-ownership="none">
<doc xml:space="preserve">heading in degrees</doc>
<type name="gdouble" c:type="double"/>
</parameter>
</parameters>
</method>
<method name="set_speed" c:identifier="webkit_geolocation_position_set_speed" version="2.26">
<doc xml:space="preserve">Set the @position speed</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="position" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitGeolocationPosition</doc>
<type name="GeolocationPosition" c:type="WebKitGeolocationPosition*"/>
</instance-parameter>
<parameter name="speed" transfer-ownership="none">
<doc xml:space="preserve">speed in meters per second</doc>
<type name="gdouble" c:type="double"/>
</parameter>
</parameters>
</method>
<method name="set_timestamp" c:identifier="webkit_geolocation_position_set_timestamp" version="2.26">
<doc xml:space="preserve">Set the @position timestamp. By default it's the time when the @position was created.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="position" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitGeolocationPosition</doc>
<type name="GeolocationPosition" c:type="WebKitGeolocationPosition*"/>
</instance-parameter>
<parameter name="timestamp" transfer-ownership="none">
<doc xml:space="preserve">timestamp in seconds since the epoch, or 0 to use current time</doc>
<type name="guint64" c:type="guint64"/>
</parameter>
</parameters>
</method>
</record>
<function-macro name="HIT_TEST_RESULT" c:identifier="WEBKIT_HIT_TEST_RESULT" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="HIT_TEST_RESULT_CLASS" c:identifier="WEBKIT_HIT_TEST_RESULT_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="HIT_TEST_RESULT_GET_CLASS" c:identifier="WEBKIT_HIT_TEST_RESULT_GET_CLASS" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<enumeration name="HardwareAccelerationPolicy" version="2.16" glib:type-name="WebKitHardwareAccelerationPolicy" glib:get-type="webkit_hardware_acceleration_policy_get_type" c:type="WebKitHardwareAccelerationPolicy">
<doc xml:space="preserve">Enum values used for determining the hardware acceleration policy.</doc>
<member name="on_demand" value="0" c:identifier="WEBKIT_HARDWARE_ACCELERATION_POLICY_ON_DEMAND" glib:nick="on-demand" glib:name="WEBKIT_HARDWARE_ACCELERATION_POLICY_ON_DEMAND">
<doc xml:space="preserve">Hardware acceleration is enabled/disabled as request by web contents.</doc>
</member>
<member name="always" value="1" c:identifier="WEBKIT_HARDWARE_ACCELERATION_POLICY_ALWAYS" glib:nick="always" glib:name="WEBKIT_HARDWARE_ACCELERATION_POLICY_ALWAYS">
<doc xml:space="preserve">Hardware acceleration is always enabled, even for websites not requesting it.</doc>
</member>
<member name="never" value="2" c:identifier="WEBKIT_HARDWARE_ACCELERATION_POLICY_NEVER" glib:nick="never" glib:name="WEBKIT_HARDWARE_ACCELERATION_POLICY_NEVER">
<doc xml:space="preserve">Hardware acceleration is always disabled, even for websites requesting it.</doc>
</member>
</enumeration>
<class name="HitTestResult" c:symbol-prefix="hit_test_result" c:type="WebKitHitTestResult" parent="GObject.Object" glib:type-name="WebKitHitTestResult" glib:get-type="webkit_hit_test_result_get_type" glib:type-struct="HitTestResultClass">
<method name="context_is_editable" c:identifier="webkit_hit_test_result_context_is_editable">
<doc xml:space="preserve">Gets whether %WEBKIT_HIT_TEST_RESULT_CONTEXT_EDITABLE flag is present in
#WebKitHitTestResult:context.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if there's an editable element at the coordinates of the @hit_test_result,
or %FALSE otherwise</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="hit_test_result" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitHitTestResult</doc>
<type name="HitTestResult" c:type="WebKitHitTestResult*"/>
</instance-parameter>
</parameters>
</method>
<method name="context_is_image" c:identifier="webkit_hit_test_result_context_is_image">
<doc xml:space="preserve">Gets whether %WEBKIT_HIT_TEST_RESULT_CONTEXT_IMAGE flag is present in
#WebKitHitTestResult:context.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if there's an image element in the coordinates of the Hit Test,
or %FALSE otherwise</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="hit_test_result" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitHitTestResult</doc>
<type name="HitTestResult" c:type="WebKitHitTestResult*"/>
</instance-parameter>
</parameters>
</method>
<method name="context_is_link" c:identifier="webkit_hit_test_result_context_is_link">
<doc xml:space="preserve">Gets whether %WEBKIT_HIT_TEST_RESULT_CONTEXT_LINK flag is present in
#WebKitHitTestResult:context.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if there's a link element in the coordinates of the Hit Test,
or %FALSE otherwise</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="hit_test_result" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitHitTestResult</doc>
<type name="HitTestResult" c:type="WebKitHitTestResult*"/>
</instance-parameter>
</parameters>
</method>
<method name="context_is_media" c:identifier="webkit_hit_test_result_context_is_media">
<doc xml:space="preserve">Gets whether %WEBKIT_HIT_TEST_RESULT_CONTEXT_MEDIA flag is present in
#WebKitHitTestResult:context.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if there's a media element in the coordinates of the Hit Test,
or %FALSE otherwise</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="hit_test_result" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitHitTestResult</doc>
<type name="HitTestResult" c:type="WebKitHitTestResult*"/>
</instance-parameter>
</parameters>
</method>
<method name="context_is_scrollbar" c:identifier="webkit_hit_test_result_context_is_scrollbar">
<doc xml:space="preserve">Gets whether %WEBKIT_HIT_TEST_RESULT_CONTEXT_SCROLLBAR flag is present in
#WebKitHitTestResult:context.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if there's a scrollbar element at the coordinates of the @hit_test_result,
or %FALSE otherwise</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="hit_test_result" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitHitTestResult</doc>
<type name="HitTestResult" c:type="WebKitHitTestResult*"/>
</instance-parameter>
</parameters>
</method>
<method name="context_is_selection" c:identifier="webkit_hit_test_result_context_is_selection" version="2.8">
<doc xml:space="preserve">Gets whether %WEBKIT_HIT_TEST_RESULT_CONTEXT_SELECTION flag is present in
#WebKitHitTestResult:context.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if there's a selected element at the coordinates of the @hit_test_result,
or %FALSE otherwise</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="hit_test_result" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitHitTestResult</doc>
<type name="HitTestResult" c:type="WebKitHitTestResult*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_context" c:identifier="webkit_hit_test_result_get_context" glib:get-property="context">
<doc xml:space="preserve">Gets the value of the #WebKitHitTestResult:context property.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">a bitmask of #WebKitHitTestResultContext flags</doc>
<type name="guint" c:type="guint"/>
</return-value>
<parameters>
<instance-parameter name="hit_test_result" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitHitTestResult</doc>
<type name="HitTestResult" c:type="WebKitHitTestResult*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_image_uri" c:identifier="webkit_hit_test_result_get_image_uri" glib:get-property="image-uri">
<doc xml:space="preserve">Gets the value of the #WebKitHitTestResult:image-uri property.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the URI of the image element in the coordinates of the Hit Test,
or %NULL if there isn't an image element in @hit_test_result context</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="hit_test_result" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitHitTestResult</doc>
<type name="HitTestResult" c:type="WebKitHitTestResult*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_link_label" c:identifier="webkit_hit_test_result_get_link_label" glib:get-property="link-label">
<doc xml:space="preserve">Gets the value of the #WebKitHitTestResult:link-label property.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the label of the link element in the coordinates of the Hit Test,
or %NULL if there isn't a link element in @hit_test_result context or the
link element doesn't have a label</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="hit_test_result" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitHitTestResult</doc>
<type name="HitTestResult" c:type="WebKitHitTestResult*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_link_title" c:identifier="webkit_hit_test_result_get_link_title" glib:get-property="link-title">
<doc xml:space="preserve">Gets the value of the #WebKitHitTestResult:link-title property.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the title of the link element in the coordinates of the Hit Test,
or %NULL if there isn't a link element in @hit_test_result context or the
link element doesn't have a title</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="hit_test_result" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitHitTestResult</doc>
<type name="HitTestResult" c:type="WebKitHitTestResult*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_link_uri" c:identifier="webkit_hit_test_result_get_link_uri" glib:get-property="link-uri">
<doc xml:space="preserve">Gets the value of the #WebKitHitTestResult:link-uri property.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the URI of the link element in the coordinates of the Hit Test,
or %NULL if there isn't a link element in @hit_test_result context</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="hit_test_result" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitHitTestResult</doc>
<type name="HitTestResult" c:type="WebKitHitTestResult*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_media_uri" c:identifier="webkit_hit_test_result_get_media_uri" glib:get-property="media-uri">
<doc xml:space="preserve">Gets the value of the #WebKitHitTestResult:media-uri property.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the URI of the media element in the coordinates of the Hit Test,
or %NULL if there isn't a media element in @hit_test_result context</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="hit_test_result" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitHitTestResult</doc>
<type name="HitTestResult" c:type="WebKitHitTestResult*"/>
</instance-parameter>
</parameters>
</method>
<property name="context" writable="1" construct-only="1" transfer-ownership="none" getter="get_context">
<doc xml:space="preserve">Bitmask of #WebKitHitTestResultContext flags representing
the context of the #WebKitHitTestResult.</doc>
<type name="guint" c:type="guint"/>
</property>
<property name="image-uri" writable="1" construct-only="1" transfer-ownership="none" getter="get_image_uri">
<doc xml:space="preserve">The URI of the image if flag %WEBKIT_HIT_TEST_RESULT_CONTEXT_IMAGE
is present in #WebKitHitTestResult:context</doc>
<type name="utf8" c:type="gchar*"/>
</property>
<property name="link-label" writable="1" construct-only="1" transfer-ownership="none" getter="get_link_label">
<doc xml:space="preserve">The label of the link if flag %WEBKIT_HIT_TEST_RESULT_CONTEXT_LINK
is present in #WebKitHitTestResult:context</doc>
<type name="utf8" c:type="gchar*"/>
</property>
<property name="link-title" writable="1" construct-only="1" transfer-ownership="none" getter="get_link_title">
<doc xml:space="preserve">The title of the link if flag %WEBKIT_HIT_TEST_RESULT_CONTEXT_LINK
is present in #WebKitHitTestResult:context</doc>
<type name="utf8" c:type="gchar*"/>
</property>
<property name="link-uri" writable="1" construct-only="1" transfer-ownership="none" getter="get_link_uri">
<doc xml:space="preserve">The URI of the link if flag %WEBKIT_HIT_TEST_RESULT_CONTEXT_LINK
is present in #WebKitHitTestResult:context</doc>
<type name="utf8" c:type="gchar*"/>
</property>
<property name="media-uri" writable="1" construct-only="1" transfer-ownership="none" getter="get_media_uri">
<doc xml:space="preserve">The URI of the media if flag %WEBKIT_HIT_TEST_RESULT_CONTEXT_MEDIA
is present in #WebKitHitTestResult:context</doc>
<type name="utf8" c:type="gchar*"/>
</property>
<field name="parent">
<type name="GObject.Object" c:type="GObject"/>
</field>
<field name="priv">
<type name="HitTestResultPrivate" c:type="WebKitHitTestResultPrivate*"/>
</field>
</class>
<record name="HitTestResultClass" c:type="WebKitHitTestResultClass" glib:is-gtype-struct-for="HitTestResult">
<field name="parent_class">
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
</field>
<field name="_webkit_reserved0" introspectable="0">
<callback name="_webkit_reserved0">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved1" introspectable="0">
<callback name="_webkit_reserved1">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved2" introspectable="0">
<callback name="_webkit_reserved2">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved3" introspectable="0">
<callback name="_webkit_reserved3">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
</record>
<bitfield name="HitTestResultContext" glib:type-name="WebKitHitTestResultContext" glib:get-type="webkit_hit_test_result_context_get_type" c:type="WebKitHitTestResultContext">
<doc xml:space="preserve">Enum values with flags representing the context of a #WebKitHitTestResult.</doc>
<member name="document" value="2" c:identifier="WEBKIT_HIT_TEST_RESULT_CONTEXT_DOCUMENT" glib:nick="document" glib:name="WEBKIT_HIT_TEST_RESULT_CONTEXT_DOCUMENT">
<doc xml:space="preserve">anywhere in the document.</doc>
</member>
<member name="link" value="4" c:identifier="WEBKIT_HIT_TEST_RESULT_CONTEXT_LINK" glib:nick="link" glib:name="WEBKIT_HIT_TEST_RESULT_CONTEXT_LINK">
<doc xml:space="preserve">a hyperlink element.</doc>
</member>
<member name="image" value="8" c:identifier="WEBKIT_HIT_TEST_RESULT_CONTEXT_IMAGE" glib:nick="image" glib:name="WEBKIT_HIT_TEST_RESULT_CONTEXT_IMAGE">
<doc xml:space="preserve">an image element.</doc>
</member>
<member name="media" value="16" c:identifier="WEBKIT_HIT_TEST_RESULT_CONTEXT_MEDIA" glib:nick="media" glib:name="WEBKIT_HIT_TEST_RESULT_CONTEXT_MEDIA">
<doc xml:space="preserve">a video or audio element.</doc>
</member>
<member name="editable" value="32" c:identifier="WEBKIT_HIT_TEST_RESULT_CONTEXT_EDITABLE" glib:nick="editable" glib:name="WEBKIT_HIT_TEST_RESULT_CONTEXT_EDITABLE">
<doc xml:space="preserve">an editable element</doc>
</member>
<member name="scrollbar" value="64" c:identifier="WEBKIT_HIT_TEST_RESULT_CONTEXT_SCROLLBAR" glib:nick="scrollbar" glib:name="WEBKIT_HIT_TEST_RESULT_CONTEXT_SCROLLBAR">
<doc xml:space="preserve">a scrollbar element.</doc>
</member>
<member name="selection" value="128" c:identifier="WEBKIT_HIT_TEST_RESULT_CONTEXT_SELECTION" glib:nick="selection" glib:name="WEBKIT_HIT_TEST_RESULT_CONTEXT_SELECTION">
<doc xml:space="preserve">a selected element. Since 2.8</doc>
</member>
</bitfield>
<record name="HitTestResultPrivate" c:type="WebKitHitTestResultPrivate" disguised="1"/>
<function-macro name="INPUT_METHOD_CONTEXT" c:identifier="WEBKIT_INPUT_METHOD_CONTEXT" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="INPUT_METHOD_CONTEXT_CLASS" c:identifier="WEBKIT_INPUT_METHOD_CONTEXT_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="INPUT_METHOD_CONTEXT_GET_CLASS" c:identifier="WEBKIT_INPUT_METHOD_CONTEXT_GET_CLASS" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="INSTALL_MISSING_MEDIA_PLUGINS_PERMISSION_REQUEST" c:identifier="WEBKIT_INSTALL_MISSING_MEDIA_PLUGINS_PERMISSION_REQUEST" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="INSTALL_MISSING_MEDIA_PLUGINS_PERMISSION_REQUEST_CLASS" c:identifier="WEBKIT_INSTALL_MISSING_MEDIA_PLUGINS_PERMISSION_REQUEST_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="INSTALL_MISSING_MEDIA_PLUGINS_PERMISSION_REQUEST_GET_CLASS" c:identifier="WEBKIT_INSTALL_MISSING_MEDIA_PLUGINS_PERMISSION_REQUEST_GET_CLASS" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_AUTHENTICATION_REQUEST" c:identifier="WEBKIT_IS_AUTHENTICATION_REQUEST" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_AUTHENTICATION_REQUEST_CLASS" c:identifier="WEBKIT_IS_AUTHENTICATION_REQUEST_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_AUTOMATION_SESSION" c:identifier="WEBKIT_IS_AUTOMATION_SESSION" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_AUTOMATION_SESSION_CLASS" c:identifier="WEBKIT_IS_AUTOMATION_SESSION_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_BACK_FORWARD_LIST" c:identifier="WEBKIT_IS_BACK_FORWARD_LIST" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_BACK_FORWARD_LIST_CLASS" c:identifier="WEBKIT_IS_BACK_FORWARD_LIST_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_BACK_FORWARD_LIST_ITEM" c:identifier="WEBKIT_IS_BACK_FORWARD_LIST_ITEM" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_BACK_FORWARD_LIST_ITEM_CLASS" c:identifier="WEBKIT_IS_BACK_FORWARD_LIST_ITEM_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_COLOR_CHOOSER_REQUEST" c:identifier="WEBKIT_IS_COLOR_CHOOSER_REQUEST" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_COLOR_CHOOSER_REQUEST_CLASS" c:identifier="WEBKIT_IS_COLOR_CHOOSER_REQUEST_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_CONTEXT_MENU" c:identifier="WEBKIT_IS_CONTEXT_MENU" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_CONTEXT_MENU_CLASS" c:identifier="WEBKIT_IS_CONTEXT_MENU_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_CONTEXT_MENU_ITEM" c:identifier="WEBKIT_IS_CONTEXT_MENU_ITEM" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_CONTEXT_MENU_ITEM_CLASS" c:identifier="WEBKIT_IS_CONTEXT_MENU_ITEM_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_COOKIE_MANAGER" c:identifier="WEBKIT_IS_COOKIE_MANAGER" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_COOKIE_MANAGER_CLASS" c:identifier="WEBKIT_IS_COOKIE_MANAGER_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_DEVICE_INFO_PERMISSION_REQUEST" c:identifier="WEBKIT_IS_DEVICE_INFO_PERMISSION_REQUEST" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_DEVICE_INFO_PERMISSION_REQUEST_CLASS" c:identifier="WEBKIT_IS_DEVICE_INFO_PERMISSION_REQUEST_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_DOWNLOAD" c:identifier="WEBKIT_IS_DOWNLOAD" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_DOWNLOAD_CLASS" c:identifier="WEBKIT_IS_DOWNLOAD_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_EDITOR_STATE" c:identifier="WEBKIT_IS_EDITOR_STATE" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_EDITOR_STATE_CLASS" c:identifier="WEBKIT_IS_EDITOR_STATE_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_FAVICON_DATABASE" c:identifier="WEBKIT_IS_FAVICON_DATABASE" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_FAVICON_DATABASE_CLASS" c:identifier="WEBKIT_IS_FAVICON_DATABASE_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_FILE_CHOOSER_REQUEST" c:identifier="WEBKIT_IS_FILE_CHOOSER_REQUEST" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_FILE_CHOOSER_REQUEST_CLASS" c:identifier="WEBKIT_IS_FILE_CHOOSER_REQUEST_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_FIND_CONTROLLER" c:identifier="WEBKIT_IS_FIND_CONTROLLER" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_FIND_CONTROLLER_CLASS" c:identifier="WEBKIT_IS_FIND_CONTROLLER_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_FORM_SUBMISSION_REQUEST" c:identifier="WEBKIT_IS_FORM_SUBMISSION_REQUEST" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_FORM_SUBMISSION_REQUEST_CLASS" c:identifier="WEBKIT_IS_FORM_SUBMISSION_REQUEST_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_GEOLOCATION_MANAGER" c:identifier="WEBKIT_IS_GEOLOCATION_MANAGER" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_GEOLOCATION_MANAGER_CLASS" c:identifier="WEBKIT_IS_GEOLOCATION_MANAGER_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_GEOLOCATION_PERMISSION_REQUEST" c:identifier="WEBKIT_IS_GEOLOCATION_PERMISSION_REQUEST" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_GEOLOCATION_PERMISSION_REQUEST_CLASS" c:identifier="WEBKIT_IS_GEOLOCATION_PERMISSION_REQUEST_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_HIT_TEST_RESULT" c:identifier="WEBKIT_IS_HIT_TEST_RESULT" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_HIT_TEST_RESULT_CLASS" c:identifier="WEBKIT_IS_HIT_TEST_RESULT_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_INPUT_METHOD_CONTEXT" c:identifier="WEBKIT_IS_INPUT_METHOD_CONTEXT" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_INPUT_METHOD_CONTEXT_CLASS" c:identifier="WEBKIT_IS_INPUT_METHOD_CONTEXT_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_INSTALL_MISSING_MEDIA_PLUGINS_PERMISSION_REQUEST" c:identifier="WEBKIT_IS_INSTALL_MISSING_MEDIA_PLUGINS_PERMISSION_REQUEST" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_INSTALL_MISSING_MEDIA_PLUGINS_PERMISSION_REQUEST_CLASS" c:identifier="WEBKIT_IS_INSTALL_MISSING_MEDIA_PLUGINS_PERMISSION_REQUEST_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_MEDIA_KEY_SYSTEM_PERMISSION_REQUEST" c:identifier="WEBKIT_IS_MEDIA_KEY_SYSTEM_PERMISSION_REQUEST" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_MEDIA_KEY_SYSTEM_PERMISSION_REQUEST_CLASS" c:identifier="WEBKIT_IS_MEDIA_KEY_SYSTEM_PERMISSION_REQUEST_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_NAVIGATION_POLICY_DECISION" c:identifier="WEBKIT_IS_NAVIGATION_POLICY_DECISION" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_NAVIGATION_POLICY_DECISION_CLASS" c:identifier="WEBKIT_IS_NAVIGATION_POLICY_DECISION_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_NOTIFICATION" c:identifier="WEBKIT_IS_NOTIFICATION" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_NOTIFICATION_CLASS" c:identifier="WEBKIT_IS_NOTIFICATION_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_NOTIFICATION_PERMISSION_REQUEST" c:identifier="WEBKIT_IS_NOTIFICATION_PERMISSION_REQUEST" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_NOTIFICATION_PERMISSION_REQUEST_CLASS" c:identifier="WEBKIT_IS_NOTIFICATION_PERMISSION_REQUEST_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_OPTION_MENU" c:identifier="WEBKIT_IS_OPTION_MENU" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_OPTION_MENU_CLASS" c:identifier="WEBKIT_IS_OPTION_MENU_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_PERMISSION_REQUEST" c:identifier="WEBKIT_IS_PERMISSION_REQUEST" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_PLUGIN" c:identifier="WEBKIT_IS_PLUGIN" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_PLUGIN_CLASS" c:identifier="WEBKIT_IS_PLUGIN_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_POINTER_LOCK_PERMISSION_REQUEST" c:identifier="WEBKIT_IS_POINTER_LOCK_PERMISSION_REQUEST" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_POINTER_LOCK_PERMISSION_REQUEST_CLASS" c:identifier="WEBKIT_IS_POINTER_LOCK_PERMISSION_REQUEST_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_POLICY_DECISION" c:identifier="WEBKIT_IS_POLICY_DECISION" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_POLICY_DECISION_CLASS" c:identifier="WEBKIT_IS_POLICY_DECISION_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_PRINT_CUSTOM_WIDGET" c:identifier="WEBKIT_IS_PRINT_CUSTOM_WIDGET" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_PRINT_CUSTOM_WIDGET_CLASS" c:identifier="WEBKIT_IS_PRINT_CUSTOM_WIDGET_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_PRINT_OPERATION" c:identifier="WEBKIT_IS_PRINT_OPERATION" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_PRINT_OPERATION_CLASS" c:identifier="WEBKIT_IS_PRINT_OPERATION_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_RESPONSE_POLICY_DECISION" c:identifier="WEBKIT_IS_RESPONSE_POLICY_DECISION" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_RESPONSE_POLICY_DECISION_CLASS" c:identifier="WEBKIT_IS_RESPONSE_POLICY_DECISION_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_SECURITY_MANAGER" c:identifier="WEBKIT_IS_SECURITY_MANAGER" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_SECURITY_MANAGER_CLASS" c:identifier="WEBKIT_IS_SECURITY_MANAGER_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_SETTINGS" c:identifier="WEBKIT_IS_SETTINGS" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_SETTINGS_CLASS" c:identifier="WEBKIT_IS_SETTINGS_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_URI_REQUEST" c:identifier="WEBKIT_IS_URI_REQUEST" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_URI_REQUEST_CLASS" c:identifier="WEBKIT_IS_URI_REQUEST_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_URI_RESPONSE" c:identifier="WEBKIT_IS_URI_RESPONSE" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_URI_RESPONSE_CLASS" c:identifier="WEBKIT_IS_URI_RESPONSE_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_URI_SCHEME_REQUEST" c:identifier="WEBKIT_IS_URI_SCHEME_REQUEST" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_URI_SCHEME_REQUEST_CLASS" c:identifier="WEBKIT_IS_URI_SCHEME_REQUEST_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_USER_CONTENT_FILTER_STORE" c:identifier="WEBKIT_IS_USER_CONTENT_FILTER_STORE" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_USER_CONTENT_FILTER_STORE_CLASS" c:identifier="WEBKIT_IS_USER_CONTENT_FILTER_STORE_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_USER_CONTENT_MANAGER" c:identifier="WEBKIT_IS_USER_CONTENT_MANAGER" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_USER_CONTENT_MANAGER_CLASS" c:identifier="WEBKIT_IS_USER_CONTENT_MANAGER_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_USER_MEDIA_PERMISSION_REQUEST" c:identifier="WEBKIT_IS_USER_MEDIA_PERMISSION_REQUEST" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_USER_MEDIA_PERMISSION_REQUEST_CLASS" c:identifier="WEBKIT_IS_USER_MEDIA_PERMISSION_REQUEST_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_USER_MESSAGE" c:identifier="WEBKIT_IS_USER_MESSAGE" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_USER_MESSAGE_CLASS" c:identifier="WEBKIT_IS_USER_MESSAGE_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_WEBSITE_DATA_ACCESS_PERMISSION_REQUEST" c:identifier="WEBKIT_IS_WEBSITE_DATA_ACCESS_PERMISSION_REQUEST" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_WEBSITE_DATA_ACCESS_PERMISSION_REQUEST_CLASS" c:identifier="WEBKIT_IS_WEBSITE_DATA_ACCESS_PERMISSION_REQUEST_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_WEBSITE_DATA_MANAGER" c:identifier="WEBKIT_IS_WEBSITE_DATA_MANAGER" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_WEBSITE_DATA_MANAGER_CLASS" c:identifier="WEBKIT_IS_WEBSITE_DATA_MANAGER_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_WEBSITE_POLICIES" c:identifier="WEBKIT_IS_WEBSITE_POLICIES" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_WEBSITE_POLICIES_CLASS" c:identifier="WEBKIT_IS_WEBSITE_POLICIES_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_WEB_CONTEXT" c:identifier="WEBKIT_IS_WEB_CONTEXT" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_WEB_CONTEXT_CLASS" c:identifier="WEBKIT_IS_WEB_CONTEXT_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_WEB_INSPECTOR" c:identifier="WEBKIT_IS_WEB_INSPECTOR" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_WEB_INSPECTOR_CLASS" c:identifier="WEBKIT_IS_WEB_INSPECTOR_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_WEB_RESOURCE" c:identifier="WEBKIT_IS_WEB_RESOURCE" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_WEB_RESOURCE_CLASS" c:identifier="WEBKIT_IS_WEB_RESOURCE_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_WEB_VIEW" c:identifier="WEBKIT_IS_WEB_VIEW" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_WEB_VIEW_BASE" c:identifier="WEBKIT_IS_WEB_VIEW_BASE" introspectable="0">
<parameters>
<parameter name="object">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_WEB_VIEW_BASE_CLASS" c:identifier="WEBKIT_IS_WEB_VIEW_BASE_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_WEB_VIEW_CLASS" c:identifier="WEBKIT_IS_WEB_VIEW_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_WINDOW_PROPERTIES" c:identifier="WEBKIT_IS_WINDOW_PROPERTIES" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_WINDOW_PROPERTIES_CLASS" c:identifier="WEBKIT_IS_WINDOW_PROPERTIES_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<record name="ITPFirstParty" c:type="WebKitITPFirstParty" glib:type-name="WebKitITPFirstParty" glib:get-type="webkit_itp_first_party_get_type" c:symbol-prefix="itp_first_party">
<method name="get_domain" c:identifier="webkit_itp_first_party_get_domain" version="2.30">
<doc xml:space="preserve">Get the domain name of @itp_first_party</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the domain name</doc>
<type name="utf8" c:type="const char*"/>
</return-value>
<parameters>
<instance-parameter name="itp_first_party" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitITPFirstParty</doc>
<type name="ITPFirstParty" c:type="WebKitITPFirstParty*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_last_update_time" c:identifier="webkit_itp_first_party_get_last_update_time" version="2.30">
<doc xml:space="preserve">Get the last time a #WebKitITPThirdParty has been seen under @itp_first_party.
Each @WebKitITPFirstParty is created by webkit_itp_third_party_get_first_parties() and
therefore corresponds to exactly one #WebKitITPThirdParty.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the last update time as a #GDateTime</doc>
<type name="GLib.DateTime" c:type="GDateTime*"/>
</return-value>
<parameters>
<instance-parameter name="itp_first_party" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitITPFirstParty</doc>
<type name="ITPFirstParty" c:type="WebKitITPFirstParty*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_website_data_access_allowed" c:identifier="webkit_itp_first_party_get_website_data_access_allowed" version="2.30">
<doc xml:space="preserve">Get whether @itp_first_party has granted website data access to its #WebKitITPThirdParty.
Each @WebKitITPFirstParty is created by webkit_itp_third_party_get_first_parties() and
therefore corresponds to exactly one #WebKitITPThirdParty.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if website data access has been granted, or %FALSE otherwise</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="itp_first_party" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitITPFirstParty</doc>
<type name="ITPFirstParty" c:type="WebKitITPFirstParty*"/>
</instance-parameter>
</parameters>
</method>
<method name="ref" c:identifier="webkit_itp_first_party_ref" version="2.30">
<doc xml:space="preserve">Atomically increments the reference count of @itp_first_party by one.
This function is MT-safe and may be called from any thread.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">The passed #WebKitITPFirstParty</doc>
<type name="ITPFirstParty" c:type="WebKitITPFirstParty*"/>
</return-value>
<parameters>
<instance-parameter name="itp_first_party" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitITPFirstParty</doc>
<type name="ITPFirstParty" c:type="WebKitITPFirstParty*"/>
</instance-parameter>
</parameters>
</method>
<method name="unref" c:identifier="webkit_itp_first_party_unref" version="2.30">
<doc xml:space="preserve">Atomically decrements the reference count of @itp_first_party by one.
If the reference count drops to 0, all memory allocated by
#WebKitITPFirstParty is released. This function is MT-safe and may be
called from any thread.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="itp_first_party" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitITPFirstParty</doc>
<type name="ITPFirstParty" c:type="WebKitITPFirstParty*"/>
</instance-parameter>
</parameters>
</method>
</record>
<record name="ITPThirdParty" c:type="WebKitITPThirdParty" glib:type-name="WebKitITPThirdParty" glib:get-type="webkit_itp_third_party_get_type" c:symbol-prefix="itp_third_party">
<method name="get_domain" c:identifier="webkit_itp_third_party_get_domain" version="2.30">
<doc xml:space="preserve">Get the domain name of @itp_third_party</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the domain name</doc>
<type name="utf8" c:type="const char*"/>
</return-value>
<parameters>
<instance-parameter name="itp_third_party" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitITPThirdParty</doc>
<type name="ITPThirdParty" c:type="WebKitITPThirdParty*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_first_parties" c:identifier="webkit_itp_third_party_get_first_parties" version="2.30">
<doc xml:space="preserve">Get the list of #WebKitITPFirstParty under which @itp_third_party has been seen.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">a #GList of #WebKitITPFirstParty</doc>
<type name="GLib.List" c:type="GList*">
<type name="ITPFirstParty"/>
</type>
</return-value>
<parameters>
<instance-parameter name="itp_third_party" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitITPThirdParty</doc>
<type name="ITPThirdParty" c:type="WebKitITPThirdParty*"/>
</instance-parameter>
</parameters>
</method>
<method name="ref" c:identifier="webkit_itp_third_party_ref" version="2.30">
<doc xml:space="preserve">Atomically increments the reference count of @itp_third_party by one.
This function is MT-safe and may be called from any thread.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">The passed #WebKitITPThirdParty</doc>
<type name="ITPThirdParty" c:type="WebKitITPThirdParty*"/>
</return-value>
<parameters>
<instance-parameter name="itp_third_party" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitITPThirdParty</doc>
<type name="ITPThirdParty" c:type="WebKitITPThirdParty*"/>
</instance-parameter>
</parameters>
</method>
<method name="unref" c:identifier="webkit_itp_third_party_unref" version="2.30">
<doc xml:space="preserve">Atomically decrements the reference count of @itp_third_party by one.
If the reference count drops to 0, all memory allocated by
#WebKitITPThirdParty is released. This function is MT-safe and may be
called from any thread.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="itp_third_party" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitITPThirdParty</doc>
<type name="ITPThirdParty" c:type="WebKitITPThirdParty*"/>
</instance-parameter>
</parameters>
</method>
</record>
<bitfield name="InputHints" version="2.28" glib:type-name="WebKitInputHints" glib:get-type="webkit_input_hints_get_type" c:type="WebKitInputHints">
<doc xml:space="preserve">Enum values used to describe hints that might be taken into account by input methods.</doc>
<member name="none" value="0" c:identifier="WEBKIT_INPUT_HINT_NONE" glib:nick="none" glib:name="WEBKIT_INPUT_HINT_NONE">
<doc xml:space="preserve">No special behavior suggested</doc>
</member>
<member name="spellcheck" value="1" c:identifier="WEBKIT_INPUT_HINT_SPELLCHECK" glib:nick="spellcheck" glib:name="WEBKIT_INPUT_HINT_SPELLCHECK">
<doc xml:space="preserve">Suggest spell checking</doc>
</member>
<member name="lowercase" value="2" c:identifier="WEBKIT_INPUT_HINT_LOWERCASE" glib:nick="lowercase" glib:name="WEBKIT_INPUT_HINT_LOWERCASE">
<doc xml:space="preserve">Suggest to not autocapitlize</doc>
</member>
<member name="uppercase_chars" value="4" c:identifier="WEBKIT_INPUT_HINT_UPPERCASE_CHARS" glib:nick="uppercase-chars" glib:name="WEBKIT_INPUT_HINT_UPPERCASE_CHARS">
<doc xml:space="preserve">Suggest to capitalize all text</doc>
</member>
<member name="uppercase_words" value="8" c:identifier="WEBKIT_INPUT_HINT_UPPERCASE_WORDS" glib:nick="uppercase-words" glib:name="WEBKIT_INPUT_HINT_UPPERCASE_WORDS">
<doc xml:space="preserve">Suggest to capitalize the first character of each word</doc>
</member>
<member name="uppercase_sentences" value="16" c:identifier="WEBKIT_INPUT_HINT_UPPERCASE_SENTENCES" glib:nick="uppercase-sentences" glib:name="WEBKIT_INPUT_HINT_UPPERCASE_SENTENCES">
<doc xml:space="preserve">Suggest to capitalize the first word of each sentence</doc>
</member>
<member name="inhibit_osk" value="32" c:identifier="WEBKIT_INPUT_HINT_INHIBIT_OSK" glib:nick="inhibit-osk" glib:name="WEBKIT_INPUT_HINT_INHIBIT_OSK">
<doc xml:space="preserve">Suggest to not show an onscreen keyboard</doc>
</member>
</bitfield>
<class name="InputMethodContext" c:symbol-prefix="input_method_context" c:type="WebKitInputMethodContext" parent="GObject.Object" abstract="1" glib:type-name="WebKitInputMethodContext" glib:get-type="webkit_input_method_context_get_type" glib:type-struct="InputMethodContextClass">
<virtual-method name="committed">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="context" transfer-ownership="none">
<type name="InputMethodContext" c:type="WebKitInputMethodContext*"/>
</instance-parameter>
<parameter name="text" transfer-ownership="none">
<type name="utf8" c:type="const char*"/>
</parameter>
</parameters>
</virtual-method>
<virtual-method name="delete_surrounding">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="context" transfer-ownership="none">
<type name="InputMethodContext" c:type="WebKitInputMethodContext*"/>
</instance-parameter>
<parameter name="offset" transfer-ownership="none">
<type name="gint" c:type="int"/>
</parameter>
<parameter name="n_chars" transfer-ownership="none">
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</virtual-method>
<virtual-method name="filter_key_event" invoker="filter_key_event" version="2.28">
<doc xml:space="preserve">Allow @key_event to be handled by the input method. If %TRUE is returned, then no further processing should be
done for the key event.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if the key event was handled, or %FALSE otherwise</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="context" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitInputMethodContext</doc>
<type name="InputMethodContext" c:type="WebKitInputMethodContext*"/>
</instance-parameter>
<parameter name="key_event" transfer-ownership="none">
<doc xml:space="preserve">the key event to filter</doc>
<type name="Gdk.EventKey" c:type="GdkEventKey*"/>
</parameter>
</parameters>
</virtual-method>
<virtual-method name="get_preedit" invoker="get_preedit" version="2.28">
<doc xml:space="preserve">Get the current preedit string for the @context, and a list of WebKitInputMethodUnderline to apply to the string.
The string will be displayed inserted at @cursor_offset.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="context" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitInputMethodContext</doc>
<type name="InputMethodContext" c:type="WebKitInputMethodContext*"/>
</instance-parameter>
<parameter name="text" direction="out" caller-allocates="0" transfer-ownership="full" nullable="1">
<doc xml:space="preserve">location to store the preedit string</doc>
<type name="utf8" c:type="gchar**"/>
</parameter>
<parameter name="underlines" direction="out" caller-allocates="0" transfer-ownership="full" nullable="1">
<doc xml:space="preserve">location to store the underlines as a #GList of #WebKitInputMethodUnderline</doc>
<type name="GLib.List" c:type="GList**">
<type name="InputMethodUnderline"/>
</type>
</parameter>
<parameter name="cursor_offset" direction="out" caller-allocates="0" transfer-ownership="full" nullable="1">
<doc xml:space="preserve">location to store the position of cursor in preedit string</doc>
<type name="guint" c:type="guint*"/>
</parameter>
</parameters>
</virtual-method>
<virtual-method name="notify_cursor_area" invoker="notify_cursor_area" version="2.28">
<doc xml:space="preserve">Notify @context that cursor area changed in input associated.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="context" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitInputMethodContext</doc>
<type name="InputMethodContext" c:type="WebKitInputMethodContext*"/>
</instance-parameter>
<parameter name="x" transfer-ownership="none">
<doc xml:space="preserve">the x coordinate of cursor location</doc>
<type name="gint" c:type="int"/>
</parameter>
<parameter name="y" transfer-ownership="none">
<doc xml:space="preserve">the y coordinate of cursor location</doc>
<type name="gint" c:type="int"/>
</parameter>
<parameter name="width" transfer-ownership="none">
<doc xml:space="preserve">the width of cursor area</doc>
<type name="gint" c:type="int"/>
</parameter>
<parameter name="height" transfer-ownership="none">
<doc xml:space="preserve">the height of cursor area</doc>
<type name="gint" c:type="int"/>
</parameter>
</parameters>
</virtual-method>
<virtual-method name="notify_focus_in" invoker="notify_focus_in" version="2.28">
<doc xml:space="preserve">Notify @context that input associated has gained focus.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="context" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitInputMethodContext</doc>
<type name="InputMethodContext" c:type="WebKitInputMethodContext*"/>
</instance-parameter>
</parameters>
</virtual-method>
<virtual-method name="notify_focus_out" invoker="notify_focus_out" version="2.28">
<doc xml:space="preserve">Notify @context that input associated has lost focus.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="context" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitInputMethodContext</doc>
<type name="InputMethodContext" c:type="WebKitInputMethodContext*"/>
</instance-parameter>
</parameters>
</virtual-method>
<virtual-method name="notify_surrounding" invoker="notify_surrounding" version="2.28">
<doc xml:space="preserve">Notify @context that the context surrounding the cursor has changed.
If there's no selection @selection_index is the same as @cursor_index.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="context" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitInputMethodContext</doc>
<type name="InputMethodContext" c:type="WebKitInputMethodContext*"/>
</instance-parameter>
<parameter name="text" transfer-ownership="none">
<doc xml:space="preserve">text surrounding the insertion point</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="length" transfer-ownership="none">
<doc xml:space="preserve">the length of @text, or -1 if @text is nul-terminated</doc>
<type name="guint" c:type="guint"/>
</parameter>
<parameter name="cursor_index" transfer-ownership="none">
<doc xml:space="preserve">the byte index of the insertion cursor within @text.</doc>
<type name="guint" c:type="guint"/>
</parameter>
<parameter name="selection_index" transfer-ownership="none">
<doc xml:space="preserve">the byte index of the selection cursor within @text.</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</virtual-method>
<virtual-method name="preedit_changed">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="context" transfer-ownership="none">
<type name="InputMethodContext" c:type="WebKitInputMethodContext*"/>
</instance-parameter>
</parameters>
</virtual-method>
<virtual-method name="preedit_finished">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="context" transfer-ownership="none">
<type name="InputMethodContext" c:type="WebKitInputMethodContext*"/>
</instance-parameter>
</parameters>
</virtual-method>
<virtual-method name="preedit_started">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="context" transfer-ownership="none">
<type name="InputMethodContext" c:type="WebKitInputMethodContext*"/>
</instance-parameter>
</parameters>
</virtual-method>
<virtual-method name="reset" invoker="reset" version="2.28">
<doc xml:space="preserve">Reset the @context. This will typically cause the input to clear the preedit state.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="context" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitInputMethodContext</doc>
<type name="InputMethodContext" c:type="WebKitInputMethodContext*"/>
</instance-parameter>
</parameters>
</virtual-method>
<virtual-method name="set_enable_preedit" invoker="set_enable_preedit" version="2.28">
<doc xml:space="preserve">Set whether @context should enable preedit to display feedback.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="context" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitInputMethodContext</doc>
<type name="InputMethodContext" c:type="WebKitInputMethodContext*"/>
</instance-parameter>
<parameter name="enabled" transfer-ownership="none">
<doc xml:space="preserve">whether to enable preedit</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</virtual-method>
<method name="filter_key_event" c:identifier="webkit_input_method_context_filter_key_event" version="2.28">
<doc xml:space="preserve">Allow @key_event to be handled by the input method. If %TRUE is returned, then no further processing should be
done for the key event.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if the key event was handled, or %FALSE otherwise</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="context" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitInputMethodContext</doc>
<type name="InputMethodContext" c:type="WebKitInputMethodContext*"/>
</instance-parameter>
<parameter name="key_event" transfer-ownership="none">
<doc xml:space="preserve">the key event to filter</doc>
<type name="Gdk.EventKey" c:type="GdkEventKey*"/>
</parameter>
</parameters>
</method>
<method name="get_input_hints" c:identifier="webkit_input_method_context_get_input_hints" glib:get-property="input-hints" version="2.28">
<doc xml:space="preserve">Get the value of the #WebKitInputMethodContext:input-hints property.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the #WebKitInputHints of the input associated with @context</doc>
<type name="InputHints" c:type="WebKitInputHints"/>
</return-value>
<parameters>
<instance-parameter name="context" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitInputMethodContext</doc>
<type name="InputMethodContext" c:type="WebKitInputMethodContext*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_input_purpose" c:identifier="webkit_input_method_context_get_input_purpose" glib:get-property="input-purpose" version="2.28">
<doc xml:space="preserve">Get the value of the #WebKitInputMethodContext:input-purpose property.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the #WebKitInputPurpose of the input associated with @context</doc>
<type name="InputPurpose" c:type="WebKitInputPurpose"/>
</return-value>
<parameters>
<instance-parameter name="context" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitInputMethodContext</doc>
<type name="InputMethodContext" c:type="WebKitInputMethodContext*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_preedit" c:identifier="webkit_input_method_context_get_preedit" version="2.28">
<doc xml:space="preserve">Get the current preedit string for the @context, and a list of WebKitInputMethodUnderline to apply to the string.
The string will be displayed inserted at @cursor_offset.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="context" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitInputMethodContext</doc>
<type name="InputMethodContext" c:type="WebKitInputMethodContext*"/>
</instance-parameter>
<parameter name="text" direction="out" caller-allocates="0" transfer-ownership="full" nullable="1">
<doc xml:space="preserve">location to store the preedit string</doc>
<type name="utf8" c:type="char**"/>
</parameter>
<parameter name="underlines" direction="out" caller-allocates="0" transfer-ownership="full" nullable="1">
<doc xml:space="preserve">location to store the underlines as a #GList of #WebKitInputMethodUnderline</doc>
<type name="GLib.List" c:type="GList**">
<type name="InputMethodUnderline"/>
</type>
</parameter>
<parameter name="cursor_offset" direction="out" caller-allocates="0" transfer-ownership="full" nullable="1">
<doc xml:space="preserve">location to store the position of cursor in preedit string</doc>
<type name="guint" c:type="guint*"/>
</parameter>
</parameters>
</method>
<method name="notify_cursor_area" c:identifier="webkit_input_method_context_notify_cursor_area" version="2.28">
<doc xml:space="preserve">Notify @context that cursor area changed in input associated.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="context" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitInputMethodContext</doc>
<type name="InputMethodContext" c:type="WebKitInputMethodContext*"/>
</instance-parameter>
<parameter name="x" transfer-ownership="none">
<doc xml:space="preserve">the x coordinate of cursor location</doc>
<type name="gint" c:type="int"/>
</parameter>
<parameter name="y" transfer-ownership="none">
<doc xml:space="preserve">the y coordinate of cursor location</doc>
<type name="gint" c:type="int"/>
</parameter>
<parameter name="width" transfer-ownership="none">
<doc xml:space="preserve">the width of cursor area</doc>
<type name="gint" c:type="int"/>
</parameter>
<parameter name="height" transfer-ownership="none">
<doc xml:space="preserve">the height of cursor area</doc>
<type name="gint" c:type="int"/>
</parameter>
</parameters>
</method>
<method name="notify_focus_in" c:identifier="webkit_input_method_context_notify_focus_in" version="2.28">
<doc xml:space="preserve">Notify @context that input associated has gained focus.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="context" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitInputMethodContext</doc>
<type name="InputMethodContext" c:type="WebKitInputMethodContext*"/>
</instance-parameter>
</parameters>
</method>
<method name="notify_focus_out" c:identifier="webkit_input_method_context_notify_focus_out" version="2.28">
<doc xml:space="preserve">Notify @context that input associated has lost focus.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="context" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitInputMethodContext</doc>
<type name="InputMethodContext" c:type="WebKitInputMethodContext*"/>
</instance-parameter>
</parameters>
</method>
<method name="notify_surrounding" c:identifier="webkit_input_method_context_notify_surrounding" version="2.28">
<doc xml:space="preserve">Notify @context that the context surrounding the cursor has changed.
If there's no selection @selection_index is the same as @cursor_index.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="context" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitInputMethodContext</doc>
<type name="InputMethodContext" c:type="WebKitInputMethodContext*"/>
</instance-parameter>
<parameter name="text" transfer-ownership="none">
<doc xml:space="preserve">text surrounding the insertion point</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="length" transfer-ownership="none">
<doc xml:space="preserve">the length of @text, or -1 if @text is nul-terminated</doc>
<type name="gint" c:type="int"/>
</parameter>
<parameter name="cursor_index" transfer-ownership="none">
<doc xml:space="preserve">the byte index of the insertion cursor within @text.</doc>
<type name="guint" c:type="guint"/>
</parameter>
<parameter name="selection_index" transfer-ownership="none">
<doc xml:space="preserve">the byte index of the selection cursor within @text.</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</method>
<method name="reset" c:identifier="webkit_input_method_context_reset" version="2.28">
<doc xml:space="preserve">Reset the @context. This will typically cause the input to clear the preedit state.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="context" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitInputMethodContext</doc>
<type name="InputMethodContext" c:type="WebKitInputMethodContext*"/>
</instance-parameter>
</parameters>
</method>
<method name="set_enable_preedit" c:identifier="webkit_input_method_context_set_enable_preedit" version="2.28">
<doc xml:space="preserve">Set whether @context should enable preedit to display feedback.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="context" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitInputMethodContext</doc>
<type name="InputMethodContext" c:type="WebKitInputMethodContext*"/>
</instance-parameter>
<parameter name="enabled" transfer-ownership="none">
<doc xml:space="preserve">whether to enable preedit</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_input_hints" c:identifier="webkit_input_method_context_set_input_hints" glib:set-property="input-hints">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="context" transfer-ownership="none">
<type name="InputMethodContext" c:type="WebKitInputMethodContext*"/>
</instance-parameter>
<parameter name="hints" transfer-ownership="none">
<type name="InputHints" c:type="WebKitInputHints"/>
</parameter>
</parameters>
</method>
<method name="set_input_purpose" c:identifier="webkit_input_method_context_set_input_purpose" glib:set-property="input-purpose" version="2.28">
<doc xml:space="preserve">Set the value of the #WebKitInputMethodContext:input-purpose property.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="context" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitInputMethodContext</doc>
<type name="InputMethodContext" c:type="WebKitInputMethodContext*"/>
</instance-parameter>
<parameter name="purpose" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitInputPurpose</doc>
<type name="InputPurpose" c:type="WebKitInputPurpose"/>
</parameter>
</parameters>
</method>
<property name="input-hints" writable="1" transfer-ownership="none" setter="set_input_hints" getter="get_input_hints">
<type name="InputHints"/>
</property>
<property name="input-purpose" writable="1" transfer-ownership="none" setter="set_input_purpose" getter="get_input_purpose">
<type name="InputPurpose"/>
</property>
<field name="parent">
<type name="GObject.Object" c:type="GObject"/>
</field>
<field name="priv" readable="0" private="1">
<type name="InputMethodContextPrivate" c:type="WebKitInputMethodContextPrivate*"/>
</field>
<glib:signal name="committed" when="last" version="2.28">
<doc xml:space="preserve">Emitted when a complete input sequence has been entered by the user.
This can be a single character immediately after a key press or the
final result of preediting.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="text" transfer-ownership="none">
<doc xml:space="preserve">the string result</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
</parameters>
</glib:signal>
<glib:signal name="delete-surrounding" when="last" version="2.28">
<doc xml:space="preserve">Emitted when the input method wants to delete the context surrounding the cursor.
If @offset is a negative value, it means a position before the cursor.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="offset" transfer-ownership="none">
<doc xml:space="preserve">the character offset from the cursor position of the text to be deleted.</doc>
<type name="gint" c:type="gint"/>
</parameter>
<parameter name="n_chars" transfer-ownership="none">
<doc xml:space="preserve">the number of characters to be deleted</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</glib:signal>
<glib:signal name="preedit-changed" when="last" version="2.28">
<doc xml:space="preserve">Emitted whenever the preedit sequence currently being entered has changed.
It is also emitted at the end of a preedit sequence, in which case
webkit_input_method_context_get_preedit() returns the empty string.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</glib:signal>
<glib:signal name="preedit-finished" when="last" version="2.28">
<doc xml:space="preserve">Emitted when a preediting sequence has been completed or canceled.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</glib:signal>
<glib:signal name="preedit-started" when="last" version="2.28">
<doc xml:space="preserve">Emitted when a new preediting sequence starts.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</glib:signal>
</class>
<record name="InputMethodContextClass" c:type="WebKitInputMethodContextClass" glib:is-gtype-struct-for="InputMethodContext" version="2.28">
<field name="parent_class">
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
</field>
<field name="preedit_started">
<callback name="preedit_started">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="context" transfer-ownership="none">
<type name="InputMethodContext" c:type="WebKitInputMethodContext*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="preedit_changed">
<callback name="preedit_changed">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="context" transfer-ownership="none">
<type name="InputMethodContext" c:type="WebKitInputMethodContext*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="preedit_finished">
<callback name="preedit_finished">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="context" transfer-ownership="none">
<type name="InputMethodContext" c:type="WebKitInputMethodContext*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="committed">
<callback name="committed">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="context" transfer-ownership="none">
<type name="InputMethodContext" c:type="WebKitInputMethodContext*"/>
</parameter>
<parameter name="text" transfer-ownership="none">
<type name="utf8" c:type="const char*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="delete_surrounding">
<callback name="delete_surrounding">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="context" transfer-ownership="none">
<type name="InputMethodContext" c:type="WebKitInputMethodContext*"/>
</parameter>
<parameter name="offset" transfer-ownership="none">
<type name="gint" c:type="int"/>
</parameter>
<parameter name="n_chars" transfer-ownership="none">
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</callback>
</field>
<field name="set_enable_preedit">
<callback name="set_enable_preedit">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="context" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitInputMethodContext</doc>
<type name="InputMethodContext" c:type="WebKitInputMethodContext*"/>
</parameter>
<parameter name="enabled" transfer-ownership="none">
<doc xml:space="preserve">whether to enable preedit</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</callback>
</field>
<field name="get_preedit">
<callback name="get_preedit">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="context" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitInputMethodContext</doc>
<type name="InputMethodContext" c:type="WebKitInputMethodContext*"/>
</parameter>
<parameter name="text" direction="out" caller-allocates="0" transfer-ownership="full" nullable="1">
<doc xml:space="preserve">location to store the preedit string</doc>
<type name="utf8" c:type="gchar**"/>
</parameter>
<parameter name="underlines" direction="out" caller-allocates="0" transfer-ownership="full" nullable="1">
<doc xml:space="preserve">location to store the underlines as a #GList of #WebKitInputMethodUnderline</doc>
<type name="GLib.List" c:type="GList**">
<type name="InputMethodUnderline"/>
</type>
</parameter>
<parameter name="cursor_offset" direction="out" caller-allocates="0" transfer-ownership="full" nullable="1">
<doc xml:space="preserve">location to store the position of cursor in preedit string</doc>
<type name="guint" c:type="guint*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="filter_key_event">
<callback name="filter_key_event">
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if the key event was handled, or %FALSE otherwise</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="context" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitInputMethodContext</doc>
<type name="InputMethodContext" c:type="WebKitInputMethodContext*"/>
</parameter>
<parameter name="key_event" transfer-ownership="none">
<doc xml:space="preserve">the key event to filter</doc>
<type name="Gdk.EventKey" c:type="GdkEventKey*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="notify_focus_in">
<callback name="notify_focus_in">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="context" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitInputMethodContext</doc>
<type name="InputMethodContext" c:type="WebKitInputMethodContext*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="notify_focus_out">
<callback name="notify_focus_out">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="context" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitInputMethodContext</doc>
<type name="InputMethodContext" c:type="WebKitInputMethodContext*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="notify_cursor_area">
<callback name="notify_cursor_area">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="context" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitInputMethodContext</doc>
<type name="InputMethodContext" c:type="WebKitInputMethodContext*"/>
</parameter>
<parameter name="x" transfer-ownership="none">
<doc xml:space="preserve">the x coordinate of cursor location</doc>
<type name="gint" c:type="int"/>
</parameter>
<parameter name="y" transfer-ownership="none">
<doc xml:space="preserve">the y coordinate of cursor location</doc>
<type name="gint" c:type="int"/>
</parameter>
<parameter name="width" transfer-ownership="none">
<doc xml:space="preserve">the width of cursor area</doc>
<type name="gint" c:type="int"/>
</parameter>
<parameter name="height" transfer-ownership="none">
<doc xml:space="preserve">the height of cursor area</doc>
<type name="gint" c:type="int"/>
</parameter>
</parameters>
</callback>
</field>
<field name="notify_surrounding">
<callback name="notify_surrounding">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="context" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitInputMethodContext</doc>
<type name="InputMethodContext" c:type="WebKitInputMethodContext*"/>
</parameter>
<parameter name="text" transfer-ownership="none">
<doc xml:space="preserve">text surrounding the insertion point</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="length" transfer-ownership="none">
<doc xml:space="preserve">the length of @text, or -1 if @text is nul-terminated</doc>
<type name="guint" c:type="guint"/>
</parameter>
<parameter name="cursor_index" transfer-ownership="none">
<doc xml:space="preserve">the byte index of the insertion cursor within @text.</doc>
<type name="guint" c:type="guint"/>
</parameter>
<parameter name="selection_index" transfer-ownership="none">
<doc xml:space="preserve">the byte index of the selection cursor within @text.</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</callback>
</field>
<field name="reset">
<callback name="reset">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="context" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitInputMethodContext</doc>
<type name="InputMethodContext" c:type="WebKitInputMethodContext*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="_webkit_reserved0" introspectable="0">
<callback name="_webkit_reserved0">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved1" introspectable="0">
<callback name="_webkit_reserved1">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved2" introspectable="0">
<callback name="_webkit_reserved2">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved3" introspectable="0">
<callback name="_webkit_reserved3">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved4" introspectable="0">
<callback name="_webkit_reserved4">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved5" introspectable="0">
<callback name="_webkit_reserved5">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved6" introspectable="0">
<callback name="_webkit_reserved6">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved7" introspectable="0">
<callback name="_webkit_reserved7">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
</record>
<record name="InputMethodContextPrivate" c:type="WebKitInputMethodContextPrivate" disguised="1"/>
<record name="InputMethodUnderline" c:type="WebKitInputMethodUnderline" glib:type-name="WebKitInputMethodUnderline" glib:get-type="webkit_input_method_underline_get_type" c:symbol-prefix="input_method_underline">
<constructor name="new" c:identifier="webkit_input_method_underline_new" version="2.28">
<doc xml:space="preserve">Create a new #WebKitInputMethodUnderline for the given range in preedit string</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">A newly created #WebKitInputMethodUnderline</doc>
<type name="InputMethodUnderline" c:type="WebKitInputMethodUnderline*"/>
</return-value>
<parameters>
<parameter name="start_offset" transfer-ownership="none">
<doc xml:space="preserve">the start offset in preedit string</doc>
<type name="guint" c:type="guint"/>
</parameter>
<parameter name="end_offset" transfer-ownership="none">
<doc xml:space="preserve">the end offset in preedit string</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</constructor>
<method name="copy" c:identifier="webkit_input_method_underline_copy" version="2.28">
<doc xml:space="preserve">Make a copy of the #WebKitInputMethodUnderline.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">A copy of passed in #WebKitInputMethodUnderline</doc>
<type name="InputMethodUnderline" c:type="WebKitInputMethodUnderline*"/>
</return-value>
<parameters>
<instance-parameter name="underline" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitInputMethodUnderline</doc>
<type name="InputMethodUnderline" c:type="WebKitInputMethodUnderline*"/>
</instance-parameter>
</parameters>
</method>
<method name="free" c:identifier="webkit_input_method_underline_free" version="2.28">
<doc xml:space="preserve">Free the #WebKitInputMethodUnderline.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="underline" transfer-ownership="none">
<doc xml:space="preserve">A #WebKitInputMethodUnderline</doc>
<type name="InputMethodUnderline" c:type="WebKitInputMethodUnderline*"/>
</instance-parameter>
</parameters>
</method>
<method name="set_color" c:identifier="webkit_input_method_underline_set_color" version="2.28">
<doc xml:space="preserve">Set the color of the underline. If @rgba is %NULL the foreground text color will be used
for the underline too.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="underline" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitInputMethodUnderline</doc>
<type name="InputMethodUnderline" c:type="WebKitInputMethodUnderline*"/>
</instance-parameter>
<parameter name="rgba" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">a #GdkRGBA or %NULL</doc>
<type name="Gdk.RGBA" c:type="const GdkRGBA*"/>
</parameter>
</parameters>
</method>
</record>
<enumeration name="InputPurpose" version="2.28" glib:type-name="WebKitInputPurpose" glib:get-type="webkit_input_purpose_get_type" c:type="WebKitInputPurpose">
<doc xml:space="preserve">Enum values used to describe the primary purpose of the active editable element.</doc>
<member name="free_form" value="0" c:identifier="WEBKIT_INPUT_PURPOSE_FREE_FORM" glib:nick="free-form" glib:name="WEBKIT_INPUT_PURPOSE_FREE_FORM">
<doc xml:space="preserve">Editable element expects any characters</doc>
</member>
<member name="digits" value="1" c:identifier="WEBKIT_INPUT_PURPOSE_DIGITS" glib:nick="digits" glib:name="WEBKIT_INPUT_PURPOSE_DIGITS">
<doc xml:space="preserve">Editable element expects digits</doc>
</member>
<member name="number" value="2" c:identifier="WEBKIT_INPUT_PURPOSE_NUMBER" glib:nick="number" glib:name="WEBKIT_INPUT_PURPOSE_NUMBER">
<doc xml:space="preserve">Editable element expects a number</doc>
</member>
<member name="phone" value="3" c:identifier="WEBKIT_INPUT_PURPOSE_PHONE" glib:nick="phone" glib:name="WEBKIT_INPUT_PURPOSE_PHONE">
<doc xml:space="preserve">Editable element expects a telephone</doc>
</member>
<member name="url" value="4" c:identifier="WEBKIT_INPUT_PURPOSE_URL" glib:nick="url" glib:name="WEBKIT_INPUT_PURPOSE_URL">
<doc xml:space="preserve">Editable element expects a URL</doc>
</member>
<member name="email" value="5" c:identifier="WEBKIT_INPUT_PURPOSE_EMAIL" glib:nick="email" glib:name="WEBKIT_INPUT_PURPOSE_EMAIL">
<doc xml:space="preserve">Editable element expects an email</doc>
</member>
<member name="password" value="6" c:identifier="WEBKIT_INPUT_PURPOSE_PASSWORD" glib:nick="password" glib:name="WEBKIT_INPUT_PURPOSE_PASSWORD">
<doc xml:space="preserve">Editable element expects a password</doc>
</member>
</enumeration>
<enumeration name="InsecureContentEvent" glib:type-name="WebKitInsecureContentEvent" glib:get-type="webkit_insecure_content_event_get_type" c:type="WebKitInsecureContentEvent">
<doc xml:space="preserve">Enum values used to denote the different events which can trigger
the detection of insecure content.</doc>
<member name="run" value="0" c:identifier="WEBKIT_INSECURE_CONTENT_RUN" glib:nick="run" glib:name="WEBKIT_INSECURE_CONTENT_RUN">
<doc xml:space="preserve">Insecure content has been detected by
trying to execute any kind of logic (e.g. a script) from an
untrusted source.</doc>
</member>
<member name="displayed" value="1" c:identifier="WEBKIT_INSECURE_CONTENT_DISPLAYED" glib:nick="displayed" glib:name="WEBKIT_INSECURE_CONTENT_DISPLAYED">
<doc xml:space="preserve">Insecure content has been
detected by trying to display any kind of resource (e.g. an image)
from an untrusted source.</doc>
</member>
</enumeration>
<class name="InstallMissingMediaPluginsPermissionRequest" c:symbol-prefix="install_missing_media_plugins_permission_request" c:type="WebKitInstallMissingMediaPluginsPermissionRequest" parent="GObject.Object" glib:type-name="WebKitInstallMissingMediaPluginsPermissionRequest" glib:get-type="webkit_install_missing_media_plugins_permission_request_get_type" glib:type-struct="InstallMissingMediaPluginsPermissionRequestClass">
<implements name="PermissionRequest"/>
<method name="get_description" c:identifier="webkit_install_missing_media_plugins_permission_request_get_description" version="2.10">
<doc xml:space="preserve">Gets the description about the missing plugins provided by the media backend when a media couldn't be played.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">a string with the description provided by the media backend.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="request" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitInstallMissingMediaPluginsPermissionRequest</doc>
<type name="InstallMissingMediaPluginsPermissionRequest" c:type="WebKitInstallMissingMediaPluginsPermissionRequest*"/>
</instance-parameter>
</parameters>
</method>
<field name="parent">
<type name="GObject.Object" c:type="GObject"/>
</field>
<field name="priv">
<type name="InstallMissingMediaPluginsPermissionRequestPrivate" c:type="WebKitInstallMissingMediaPluginsPermissionRequestPrivate*"/>
</field>
</class>
<record name="InstallMissingMediaPluginsPermissionRequestClass" c:type="WebKitInstallMissingMediaPluginsPermissionRequestClass" glib:is-gtype-struct-for="InstallMissingMediaPluginsPermissionRequest">
<field name="parent_class">
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
</field>
<field name="_webkit_reserved0" introspectable="0">
<callback name="_webkit_reserved0">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved1" introspectable="0">
<callback name="_webkit_reserved1">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved2" introspectable="0">
<callback name="_webkit_reserved2">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved3" introspectable="0">
<callback name="_webkit_reserved3">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
</record>
<record name="InstallMissingMediaPluginsPermissionRequestPrivate" c:type="WebKitInstallMissingMediaPluginsPermissionRequestPrivate" disguised="1"/>
<enumeration name="JavascriptError" glib:type-name="WebKitJavascriptError" glib:get-type="webkit_javascript_error_get_type" c:type="WebKitJavascriptError" glib:error-domain="WebKitJavascriptError">
<doc xml:space="preserve">Enum values used to denote errors happening when executing JavaScript</doc>
<member name="failed" value="699" c:identifier="WEBKIT_JAVASCRIPT_ERROR_SCRIPT_FAILED" glib:nick="failed" glib:name="WEBKIT_JAVASCRIPT_ERROR_SCRIPT_FAILED">
<doc xml:space="preserve">An exception was raised in JavaScript execution</doc>
</member>
<function name="quark" c:identifier="webkit_javascript_error_quark">
<return-value transfer-ownership="none">
<type name="GLib.Quark" c:type="GQuark"/>
</return-value>
</function>
</enumeration>
<record name="JavascriptResult" c:type="WebKitJavascriptResult" glib:type-name="WebKitJavascriptResult" glib:get-type="webkit_javascript_result_get_type" c:symbol-prefix="javascript_result">
<method name="get_global_context" c:identifier="webkit_javascript_result_get_global_context" introspectable="0" deprecated="1" deprecated-version="2.22">
<doc xml:space="preserve">Get the global Javascript context that should be used with the
&lt;function&gt;JSValueRef&lt;/function&gt; returned by webkit_javascript_result_get_value().</doc>
<doc-deprecated xml:space="preserve">Use jsc_value_get_context() instead.</doc-deprecated>
<return-value>
<doc xml:space="preserve">the &lt;function&gt;JSGlobalContextRef&lt;/function&gt; for the #WebKitJavascriptResult</doc>
<type c:type="JSGlobalContextRef" name="JavaScriptCore.GlobalContextRef"/>
</return-value>
<parameters>
<instance-parameter name="js_result" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitJavascriptResult</doc>
<type name="JavascriptResult" c:type="WebKitJavascriptResult*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_js_value" c:identifier="webkit_javascript_result_get_js_value" version="2.22">
<doc xml:space="preserve">Get the #JSCValue of @js_result.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the #JSCValue of the #WebKitJavascriptResult</doc>
<type name="JavaScriptCore.Value" c:type="JSCValue*"/>
</return-value>
<parameters>
<instance-parameter name="js_result" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitJavascriptResult</doc>
<type name="JavascriptResult" c:type="WebKitJavascriptResult*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_value" c:identifier="webkit_javascript_result_get_value" introspectable="0" deprecated="1" deprecated-version="2.22">
<doc xml:space="preserve">Get the value of @js_result. You should use the &lt;function&gt;JSGlobalContextRef&lt;/function&gt;
returned by webkit_javascript_result_get_global_context() to use the &lt;function&gt;JSValueRef&lt;/function&gt;.</doc>
<doc-deprecated xml:space="preserve">Use webkit_javascript_result_get_js_value() instead.</doc-deprecated>
<return-value>
<doc xml:space="preserve">the &lt;function&gt;JSValueRef&lt;/function&gt; of the #WebKitJavascriptResult</doc>
<type c:type="JSValueRef" name="JavaScriptCore.ValueRef"/>
</return-value>
<parameters>
<instance-parameter name="js_result" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitJavascriptResult</doc>
<type name="JavascriptResult" c:type="WebKitJavascriptResult*"/>
</instance-parameter>
</parameters>
</method>
<method name="ref" c:identifier="webkit_javascript_result_ref">
<doc xml:space="preserve">Atomically increments the reference count of @js_result by one. This
function is MT-safe and may be called from any thread.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">The passed in #WebKitJavascriptResult</doc>
<type name="JavascriptResult" c:type="WebKitJavascriptResult*"/>
</return-value>
<parameters>
<instance-parameter name="js_result" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitJavascriptResult</doc>
<type name="JavascriptResult" c:type="WebKitJavascriptResult*"/>
</instance-parameter>
</parameters>
</method>
<method name="unref" c:identifier="webkit_javascript_result_unref">
<doc xml:space="preserve">Atomically decrements the reference count of @js_result by one. If the
reference count drops to 0, all memory allocated by the #WebKitJavascriptResult is
released. This function is MT-safe and may be called from any
thread.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="js_result" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitJavascriptResult</doc>
<type name="JavascriptResult" c:type="WebKitJavascriptResult*"/>
</instance-parameter>
</parameters>
</method>
</record>
<enumeration name="LoadEvent" glib:type-name="WebKitLoadEvent" glib:get-type="webkit_load_event_get_type" c:type="WebKitLoadEvent">
<doc xml:space="preserve">Enum values used to denote the different events that happen during a
#WebKitWebView load operation.</doc>
<member name="started" value="0" c:identifier="WEBKIT_LOAD_STARTED" glib:nick="started" glib:name="WEBKIT_LOAD_STARTED">
<doc xml:space="preserve">A new load request has been made.
No data has been received yet, empty structures have
been allocated to perform the load; the load may still
fail due to transport issues such as not being able to
resolve a name, or connect to a port.</doc>
</member>
<member name="redirected" value="1" c:identifier="WEBKIT_LOAD_REDIRECTED" glib:nick="redirected" glib:name="WEBKIT_LOAD_REDIRECTED">
<doc xml:space="preserve">A provisional data source received
a server redirect.</doc>
</member>
<member name="committed" value="2" c:identifier="WEBKIT_LOAD_COMMITTED" glib:nick="committed" glib:name="WEBKIT_LOAD_COMMITTED">
<doc xml:space="preserve">The content started arriving for a page load.
The necessary transport requirements are established, and the
load is being performed.</doc>
</member>
<member name="finished" value="3" c:identifier="WEBKIT_LOAD_FINISHED" glib:nick="finished" glib:name="WEBKIT_LOAD_FINISHED">
<doc xml:space="preserve">Load completed. All resources are done loading
or there was an error during the load operation.</doc>
</member>
</enumeration>
<constant name="MAJOR_VERSION" value="2" c:type="WEBKIT_MAJOR_VERSION">
<doc xml:space="preserve">Like webkit_get_major_version(), but from the headers used at
application compile time, rather than from the library linked
against at application run time.</doc>
<type name="gint" c:type="gint"/>
</constant>
<function-macro name="MEDIA_KEY_SYSTEM_PERMISSION_REQUEST" c:identifier="WEBKIT_MEDIA_KEY_SYSTEM_PERMISSION_REQUEST" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="MEDIA_KEY_SYSTEM_PERMISSION_REQUEST_CLASS" c:identifier="WEBKIT_MEDIA_KEY_SYSTEM_PERMISSION_REQUEST_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="MEDIA_KEY_SYSTEM_PERMISSION_REQUEST_GET_CLASS" c:identifier="WEBKIT_MEDIA_KEY_SYSTEM_PERMISSION_REQUEST_GET_CLASS" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<constant name="MICRO_VERSION" value="3" c:type="WEBKIT_MICRO_VERSION">
<doc xml:space="preserve">Like webkit_get_micro_version(), but from the headers used at
application compile time, rather than from the library linked
against at application run time.</doc>
<type name="gint" c:type="gint"/>
</constant>
<constant name="MINOR_VERSION" value="34" c:type="WEBKIT_MINOR_VERSION">
<doc xml:space="preserve">Like webkit_get_minor_version(), but from the headers used at
application compile time, rather than from the library linked
against at application run time.</doc>
<type name="gint" c:type="gint"/>
</constant>
<enumeration name="MediaCaptureState" version="2.34" glib:type-name="WebKitMediaCaptureState" glib:get-type="webkit_media_capture_state_get_type" c:type="WebKitMediaCaptureState">
<doc xml:space="preserve">Enum values used to specify the capture state of a media device.</doc>
<member name="none" value="0" c:identifier="WEBKIT_MEDIA_CAPTURE_STATE_NONE" glib:nick="none" glib:name="WEBKIT_MEDIA_CAPTURE_STATE_NONE">
<doc xml:space="preserve">Media capture is disabled.</doc>
</member>
<member name="active" value="1" c:identifier="WEBKIT_MEDIA_CAPTURE_STATE_ACTIVE" glib:nick="active" glib:name="WEBKIT_MEDIA_CAPTURE_STATE_ACTIVE">
<doc xml:space="preserve">Media capture is active.</doc>
</member>
<member name="muted" value="2" c:identifier="WEBKIT_MEDIA_CAPTURE_STATE_MUTED" glib:nick="muted" glib:name="WEBKIT_MEDIA_CAPTURE_STATE_MUTED">
<doc xml:space="preserve">Media capture is muted.</doc>
</member>
</enumeration>
<class name="MediaKeySystemPermissionRequest" c:symbol-prefix="media_key_system_permission_request" c:type="WebKitMediaKeySystemPermissionRequest" parent="GObject.Object" glib:type-name="WebKitMediaKeySystemPermissionRequest" glib:get-type="webkit_media_key_system_permission_request_get_type" glib:type-struct="MediaKeySystemPermissionRequestClass">
<implements name="PermissionRequest"/>
<field name="parent">
<type name="GObject.Object" c:type="GObject"/>
</field>
<field name="priv" readable="0" private="1">
<type name="MediaKeySystemPermissionRequestPrivate" c:type="WebKitMediaKeySystemPermissionRequestPrivate*"/>
</field>
</class>
<record name="MediaKeySystemPermissionRequestClass" c:type="WebKitMediaKeySystemPermissionRequestClass" glib:is-gtype-struct-for="MediaKeySystemPermissionRequest">
<field name="parent_class">
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
</field>
<field name="_webkit_reserved0" introspectable="0">
<callback name="_webkit_reserved0">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved1" introspectable="0">
<callback name="_webkit_reserved1">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved2" introspectable="0">
<callback name="_webkit_reserved2">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved3" introspectable="0">
<callback name="_webkit_reserved3">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
</record>
<record name="MediaKeySystemPermissionRequestPrivate" c:type="WebKitMediaKeySystemPermissionRequestPrivate" disguised="1"/>
<record name="MemoryPressureSettings" c:type="WebKitMemoryPressureSettings" glib:type-name="WebKitMemoryPressureSettings" glib:get-type="webkit_memory_pressure_settings_get_type" c:symbol-prefix="memory_pressure_settings">
<constructor name="new" c:identifier="webkit_memory_pressure_settings_new" version="2.34">
<doc xml:space="preserve">Create a new #WebKitMemoryPressureSettings with the default values.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">A new #WebKitMemoryPressureSettings instance filled with the default values.</doc>
<type name="MemoryPressureSettings" c:type="WebKitMemoryPressureSettings*"/>
</return-value>
</constructor>
<method name="copy" c:identifier="webkit_memory_pressure_settings_copy" version="2.34">
<doc xml:space="preserve">Make a copy of @settings.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">A copy of of the passed #WebKitMemoryPressureSettings.</doc>
<type name="MemoryPressureSettings" c:type="WebKitMemoryPressureSettings*"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitMemoryPressureSettings</doc>
<type name="MemoryPressureSettings" c:type="WebKitMemoryPressureSettings*"/>
</instance-parameter>
</parameters>
</method>
<method name="free" c:identifier="webkit_memory_pressure_settings_free" version="2.34">
<doc xml:space="preserve">Free the #WebKitMemoryPressureSettings.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitMemoryPressureSettings</doc>
<type name="MemoryPressureSettings" c:type="WebKitMemoryPressureSettings*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_conservative_threshold" c:identifier="webkit_memory_pressure_settings_get_conservative_threshold" version="2.34">
<return-value transfer-ownership="none">
<doc xml:space="preserve">the value of the the conservative threshold inside @settings.</doc>
<type name="gdouble" c:type="gdouble"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitMemoryPressureSettings</doc>
<type name="MemoryPressureSettings" c:type="WebKitMemoryPressureSettings*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_kill_threshold" c:identifier="webkit_memory_pressure_settings_get_kill_threshold" version="2.34">
<return-value transfer-ownership="none">
<doc xml:space="preserve">the value of the the kill threshold inside @settings.</doc>
<type name="gdouble" c:type="gdouble"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitMemoryPressureSettings</doc>
<type name="MemoryPressureSettings" c:type="WebKitMemoryPressureSettings*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_memory_limit" c:identifier="webkit_memory_pressure_settings_get_memory_limit" version="2.34">
<return-value transfer-ownership="none">
<doc xml:space="preserve">the value in MB of the memory limit inside @settings.</doc>
<type name="guint" c:type="guint"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitMemoryPressureSettings</doc>
<type name="MemoryPressureSettings" c:type="WebKitMemoryPressureSettings*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_poll_interval" c:identifier="webkit_memory_pressure_settings_get_poll_interval" version="2.34">
<return-value transfer-ownership="none">
<doc xml:space="preserve">the value in seconds of the the poll interval inside @settings.</doc>
<type name="gdouble" c:type="gdouble"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitMemoryPressureSettings</doc>
<type name="MemoryPressureSettings" c:type="WebKitMemoryPressureSettings*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_strict_threshold" c:identifier="webkit_memory_pressure_settings_get_strict_threshold" version="2.34">
<return-value transfer-ownership="none">
<doc xml:space="preserve">the value of the the strict threshold inside @settings.</doc>
<type name="gdouble" c:type="gdouble"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitMemoryPressureSettings</doc>
<type name="MemoryPressureSettings" c:type="WebKitMemoryPressureSettings*"/>
</instance-parameter>
</parameters>
</method>
<method name="set_conservative_threshold" c:identifier="webkit_memory_pressure_settings_set_conservative_threshold" version="2.34">
<doc xml:space="preserve">Sets @value as the fraction of the defined memory limit where the conservative
policy starts working. This policy will try to reduce the memory footprint by
releasing non critical memory.
The threshold must be bigger than 0 and smaller than 1, and it must be smaller
than the strict threshold defined in @settings. The default value is 0.33.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitMemoryPressureSettings</doc>
<type name="MemoryPressureSettings" c:type="WebKitMemoryPressureSettings*"/>
</instance-parameter>
<parameter name="value" transfer-ownership="none">
<doc xml:space="preserve">fraction of the memory limit where the conservative policy starts working.</doc>
<type name="gdouble" c:type="gdouble"/>
</parameter>
</parameters>
</method>
<method name="set_kill_threshold" c:identifier="webkit_memory_pressure_settings_set_kill_threshold" version="2.34">
<doc xml:space="preserve">Sets @value as the fraction of the defined memory limit where the process will be
killed.
The threshold must be a value bigger or equal to 0. A value of 0 means that the process
is never killed. If the threshold is not 0, then it must be bigger than the strict threshold
defined in @settings. The threshold can also have values bigger than 1. The default value is 0.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitMemoryPressureSettings</doc>
<type name="MemoryPressureSettings" c:type="WebKitMemoryPressureSettings*"/>
</instance-parameter>
<parameter name="value" transfer-ownership="none">
<doc xml:space="preserve">fraction of the memory limit where the process will be killed because
of excessive memory usage.</doc>
<type name="gdouble" c:type="gdouble"/>
</parameter>
</parameters>
</method>
<method name="set_memory_limit" c:identifier="webkit_memory_pressure_settings_set_memory_limit" version="2.34">
<doc xml:space="preserve">Sets @memory_limit the memory limit value to @settings.
The default value is the system's RAM size with a maximum of 3GB.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitMemoryPressureSettings</doc>
<type name="MemoryPressureSettings" c:type="WebKitMemoryPressureSettings*"/>
</instance-parameter>
<parameter name="memory_limit" transfer-ownership="none">
<doc xml:space="preserve">amount of memory (in MB) that the process is allowed to use.</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</method>
<method name="set_poll_interval" c:identifier="webkit_memory_pressure_settings_set_poll_interval" version="2.34">
<doc xml:space="preserve">Sets @value as the poll interval used by @settings.
The poll interval value must be bigger than 0. The default value is 30 seconds.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitMemoryPressureSettings</doc>
<type name="MemoryPressureSettings" c:type="WebKitMemoryPressureSettings*"/>
</instance-parameter>
<parameter name="value" transfer-ownership="none">
<doc xml:space="preserve">period (in seconds) between memory usage measurements.</doc>
<type name="gdouble" c:type="gdouble"/>
</parameter>
</parameters>
</method>
<method name="set_strict_threshold" c:identifier="webkit_memory_pressure_settings_set_strict_threshold" version="2.34">
<doc xml:space="preserve">Sets @value as the fraction of the defined memory limit where the strict
policy starts working. This policy will try to reduce the memory footprint by
releasing critical memory.
The threshold must be bigger than 0 and smaller than 1. Also, it must be bigger
than the conservative threshold defined in @settings, and smaller than the kill
threshold if the latter is not 0. The default value is 0.5.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitMemoryPressureSettings</doc>
<type name="MemoryPressureSettings" c:type="WebKitMemoryPressureSettings*"/>
</instance-parameter>
<parameter name="value" transfer-ownership="none">
<doc xml:space="preserve">fraction of the memory limit where the strict policy starts working.</doc>
<type name="gdouble" c:type="gdouble"/>
</parameter>
</parameters>
</method>
</record>
<record name="MimeInfo" c:type="WebKitMimeInfo" glib:type-name="WebKitMimeInfo" glib:get-type="webkit_mime_info_get_type" c:symbol-prefix="mime_info">
<method name="get_description" c:identifier="webkit_mime_info_get_description" deprecated="1" deprecated-version="2.32">
<return-value transfer-ownership="none">
<doc xml:space="preserve">the description of the MIME type of @info</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="info" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitMimeInfo</doc>
<type name="MimeInfo" c:type="WebKitMimeInfo*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_extensions" c:identifier="webkit_mime_info_get_extensions" deprecated="1" deprecated-version="2.32">
<doc xml:space="preserve">Get the list of file extensions associated to the
MIME type of @info</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">a
%NULL-terminated array of strings</doc>
<array c:type="const gchar* const*">
<type name="utf8"/>
</array>
</return-value>
<parameters>
<instance-parameter name="info" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitMimeInfo</doc>
<type name="MimeInfo" c:type="WebKitMimeInfo*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_mime_type" c:identifier="webkit_mime_info_get_mime_type" deprecated="1" deprecated-version="2.32">
<return-value transfer-ownership="none">
<doc xml:space="preserve">the MIME type of @info</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="info" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitMimeInfo</doc>
<type name="MimeInfo" c:type="WebKitMimeInfo*"/>
</instance-parameter>
</parameters>
</method>
<method name="ref" c:identifier="webkit_mime_info_ref" deprecated="1" deprecated-version="2.32">
<doc xml:space="preserve">Atomically increments the reference count of @info by one. This
function is MT-safe and may be called from any thread.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">The passed in #WebKitMimeInfo</doc>
<type name="MimeInfo" c:type="WebKitMimeInfo*"/>
</return-value>
<parameters>
<instance-parameter name="info" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitMimeInfo</doc>
<type name="MimeInfo" c:type="WebKitMimeInfo*"/>
</instance-parameter>
</parameters>
</method>
<method name="unref" c:identifier="webkit_mime_info_unref" deprecated="1" deprecated-version="2.32">
<doc xml:space="preserve">Atomically decrements the reference count of @info by one. If the
reference count drops to 0, all memory allocated by the #WebKitMimeInfo is
released. This function is MT-safe and may be called from any
thread.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="info" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitMimeInfo</doc>
<type name="MimeInfo" c:type="WebKitMimeInfo*"/>
</instance-parameter>
</parameters>
</method>
</record>
<function-macro name="NAVIGATION_POLICY_DECISION" c:identifier="WEBKIT_NAVIGATION_POLICY_DECISION" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="NAVIGATION_POLICY_DECISION_CLASS" c:identifier="WEBKIT_NAVIGATION_POLICY_DECISION_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="NAVIGATION_POLICY_DECISION_GET_CLASS" c:identifier="WEBKIT_NAVIGATION_POLICY_DECISION_GET_CLASS" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="NOTIFICATION" c:identifier="WEBKIT_NOTIFICATION" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="NOTIFICATION_CLASS" c:identifier="WEBKIT_NOTIFICATION_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="NOTIFICATION_GET_CLASS" c:identifier="WEBKIT_NOTIFICATION_GET_CLASS" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="NOTIFICATION_PERMISSION_REQUEST" c:identifier="WEBKIT_NOTIFICATION_PERMISSION_REQUEST" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="NOTIFICATION_PERMISSION_REQUEST_CLASS" c:identifier="WEBKIT_NOTIFICATION_PERMISSION_REQUEST_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="NOTIFICATION_PERMISSION_REQUEST_GET_CLASS" c:identifier="WEBKIT_NOTIFICATION_PERMISSION_REQUEST_GET_CLASS" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<record name="NavigationAction" c:type="WebKitNavigationAction" glib:type-name="WebKitNavigationAction" glib:get-type="webkit_navigation_action_get_type" c:symbol-prefix="navigation_action">
<method name="copy" c:identifier="webkit_navigation_action_copy" version="2.6">
<doc xml:space="preserve">Make a copy of @navigation.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">A copy of passed in #WebKitNavigationAction</doc>
<type name="NavigationAction" c:type="WebKitNavigationAction*"/>
</return-value>
<parameters>
<instance-parameter name="navigation" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitNavigationAction</doc>
<type name="NavigationAction" c:type="WebKitNavigationAction*"/>
</instance-parameter>
</parameters>
</method>
<method name="free" c:identifier="webkit_navigation_action_free" version="2.6">
<doc xml:space="preserve">Free the #WebKitNavigationAction</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="navigation" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitNavigationAction</doc>
<type name="NavigationAction" c:type="WebKitNavigationAction*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_modifiers" c:identifier="webkit_navigation_action_get_modifiers" version="2.6">
<doc xml:space="preserve">Return a bitmask of #GdkModifierType values describing the modifier keys that were in effect
when the navigation was requested</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the modifier keys</doc>
<type name="guint" c:type="guint"/>
</return-value>
<parameters>
<instance-parameter name="navigation" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitNavigationAction</doc>
<type name="NavigationAction" c:type="WebKitNavigationAction*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_mouse_button" c:identifier="webkit_navigation_action_get_mouse_button" version="2.6">
<doc xml:space="preserve">Return the number of the mouse button that triggered the navigation, or 0 if
the navigation was not started by a mouse event.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the mouse button number or 0</doc>
<type name="guint" c:type="guint"/>
</return-value>
<parameters>
<instance-parameter name="navigation" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitNavigationAction</doc>
<type name="NavigationAction" c:type="WebKitNavigationAction*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_navigation_type" c:identifier="webkit_navigation_action_get_navigation_type" version="2.6">
<doc xml:space="preserve">Return the type of action that triggered the navigation.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">a #WebKitNavigationType</doc>
<type name="NavigationType" c:type="WebKitNavigationType"/>
</return-value>
<parameters>
<instance-parameter name="navigation" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitNavigationAction</doc>
<type name="NavigationAction" c:type="WebKitNavigationAction*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_request" c:identifier="webkit_navigation_action_get_request" version="2.6">
<doc xml:space="preserve">Return the #WebKitURIRequest associated with the navigation action.
Modifications to the returned object are &lt;emphasis&gt;not&lt;/emphasis&gt; taken
into account when the request is sent over the network, and is intended
only to aid in evaluating whether a navigation action should be taken or
not. To modify requests before they are sent over the network the
#WebKitPage::send-request signal can be used instead.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">a #WebKitURIRequest</doc>
<type name="URIRequest" c:type="WebKitURIRequest*"/>
</return-value>
<parameters>
<instance-parameter name="navigation" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitNavigationAction</doc>
<type name="NavigationAction" c:type="WebKitNavigationAction*"/>
</instance-parameter>
</parameters>
</method>
<method name="is_redirect" c:identifier="webkit_navigation_action_is_redirect" version="2.20">
<doc xml:space="preserve">Returns whether the @navigation was redirected.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if the original navigation was redirected, %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="navigation" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitNavigationAction</doc>
<type name="NavigationAction" c:type="WebKitNavigationAction*"/>
</instance-parameter>
</parameters>
</method>
<method name="is_user_gesture" c:identifier="webkit_navigation_action_is_user_gesture" version="2.6">
<doc xml:space="preserve">Return whether the navigation was triggered by a user gesture like a mouse click.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">whether navigation action is a user gesture</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="navigation" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitNavigationAction</doc>
<type name="NavigationAction" c:type="WebKitNavigationAction*"/>
</instance-parameter>
</parameters>
</method>
</record>
<class name="NavigationPolicyDecision" c:symbol-prefix="navigation_policy_decision" c:type="WebKitNavigationPolicyDecision" parent="PolicyDecision" glib:type-name="WebKitNavigationPolicyDecision" glib:get-type="webkit_navigation_policy_decision_get_type" glib:type-struct="NavigationPolicyDecisionClass">
<method name="get_frame_name" c:identifier="webkit_navigation_policy_decision_get_frame_name" glib:get-property="frame-name">
<doc xml:space="preserve">Gets the value of the #WebKitNavigationPolicyDecision:frame-name property.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">The name of the new frame this navigation action targets or %NULL</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="decision" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitNavigationPolicyDecision</doc>
<type name="NavigationPolicyDecision" c:type="WebKitNavigationPolicyDecision*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_modifiers" c:identifier="webkit_navigation_policy_decision_get_modifiers" glib:get-property="modifiers" deprecated="1" deprecated-version="2.6">
<doc xml:space="preserve">Gets the value of the #WebKitNavigationPolicyDecision:modifiers property.</doc>
<doc-deprecated xml:space="preserve">Use webkit_navigation_policy_decision_get_navigation_action() instead.</doc-deprecated>
<return-value transfer-ownership="none">
<doc xml:space="preserve">The modifiers active if this decision was triggered by a mouse event</doc>
<type name="guint" c:type="guint"/>
</return-value>
<parameters>
<instance-parameter name="decision" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitNavigationPolicyDecision</doc>
<type name="NavigationPolicyDecision" c:type="WebKitNavigationPolicyDecision*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_mouse_button" c:identifier="webkit_navigation_policy_decision_get_mouse_button" glib:get-property="mouse-button" deprecated="1" deprecated-version="2.6">
<doc xml:space="preserve">Gets the value of the #WebKitNavigationPolicyDecision:mouse-button property.</doc>
<doc-deprecated xml:space="preserve">Use webkit_navigation_policy_decision_get_navigation_action() instead.</doc-deprecated>
<return-value transfer-ownership="none">
<doc xml:space="preserve">The mouse button used if this decision was triggered by a mouse event or 0 otherwise</doc>
<type name="guint" c:type="guint"/>
</return-value>
<parameters>
<instance-parameter name="decision" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitNavigationPolicyDecision</doc>
<type name="NavigationPolicyDecision" c:type="WebKitNavigationPolicyDecision*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_navigation_action" c:identifier="webkit_navigation_policy_decision_get_navigation_action" glib:get-property="navigation-action" version="2.6">
<doc xml:space="preserve">Gets the value of the #WebKitNavigationPolicyDecision:navigation-action property.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">The #WebKitNavigationAction triggering this policy decision.</doc>
<type name="NavigationAction" c:type="WebKitNavigationAction*"/>
</return-value>
<parameters>
<instance-parameter name="decision" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitNavigationPolicyDecision</doc>
<type name="NavigationPolicyDecision" c:type="WebKitNavigationPolicyDecision*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_navigation_type" c:identifier="webkit_navigation_policy_decision_get_navigation_type" glib:get-property="navigation-type" deprecated="1" deprecated-version="2.6">
<doc xml:space="preserve">Gets the value of the #WebKitNavigationPolicyDecision:navigation-type property.</doc>
<doc-deprecated xml:space="preserve">Use webkit_navigation_policy_decision_get_navigation_action() instead.</doc-deprecated>
<return-value transfer-ownership="none">
<doc xml:space="preserve">The type of navigation triggering this policy decision.</doc>
<type name="NavigationType" c:type="WebKitNavigationType"/>
</return-value>
<parameters>
<instance-parameter name="decision" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitNavigationPolicyDecision</doc>
<type name="NavigationPolicyDecision" c:type="WebKitNavigationPolicyDecision*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_request" c:identifier="webkit_navigation_policy_decision_get_request" glib:get-property="request" deprecated="1" deprecated-version="2.6">
<doc xml:space="preserve">Gets the value of the #WebKitNavigationPolicyDecision:request property.</doc>
<doc-deprecated xml:space="preserve">Use webkit_navigation_policy_decision_get_navigation_action() instead.</doc-deprecated>
<return-value transfer-ownership="none">
<doc xml:space="preserve">The URI request that is associated with this navigation</doc>
<type name="URIRequest" c:type="WebKitURIRequest*"/>
</return-value>
<parameters>
<instance-parameter name="decision" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitNavigationPolicyDecision</doc>
<type name="NavigationPolicyDecision" c:type="WebKitNavigationPolicyDecision*"/>
</instance-parameter>
</parameters>
</method>
<property name="frame-name" transfer-ownership="none" getter="get_frame_name">
<doc xml:space="preserve">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.</doc>
<type name="utf8" c:type="gchar*"/>
</property>
<property name="modifiers" deprecated="1" deprecated-version="2.6" transfer-ownership="none" getter="get_modifiers">
<doc xml:space="preserve">If the navigation associated with this policy decision was originally
triggered by a mouse event, this property contains a bitmask of various
#GdkModifierType values describing the modifiers used for that click.
If the navigation was not triggered by a mouse event or no modifiers
were active, the value of this property will be zero.</doc>
<doc-deprecated xml:space="preserve">Use #WebKitNavigationPolicyDecision:navigation-action instead</doc-deprecated>
<type name="guint" c:type="guint"/>
</property>
<property name="mouse-button" deprecated="1" deprecated-version="2.6" transfer-ownership="none" getter="get_mouse_button">
<doc xml:space="preserve">If the navigation associated with this policy decision was originally
triggered by a mouse event, this property contains non-zero button number
of the button triggering that event. The button numbers match those from GDK.
If the navigation was not triggered by a mouse event, the value of this
property will be 0.</doc>
<doc-deprecated xml:space="preserve">Use #WebKitNavigationPolicyDecision:navigation-action instead</doc-deprecated>
<type name="guint" c:type="guint"/>
</property>
<property name="navigation-action" version="2.6" transfer-ownership="none" getter="get_navigation_action">
<doc xml:space="preserve">The #WebKitNavigationAction that triggered this policy decision.</doc>
<type name="NavigationAction"/>
</property>
<property name="navigation-type" deprecated="1" deprecated-version="2.6" transfer-ownership="none" getter="get_navigation_type">
<doc xml:space="preserve">The type of navigation that triggered this policy decision. This is
useful for enacting different policies depending on what type of user
action caused the navigation.</doc>
<doc-deprecated xml:space="preserve">Use #WebKitNavigationPolicyDecision:navigation-action instead</doc-deprecated>
<type name="NavigationType"/>
</property>
<property name="request" deprecated="1" deprecated-version="2.6" transfer-ownership="none" getter="get_request">
<doc xml:space="preserve">This property contains the #WebKitURIRequest associated with this
navigation.</doc>
<doc-deprecated xml:space="preserve">Use #WebKitNavigationPolicyDecision:navigation-action instead</doc-deprecated>
<type name="URIRequest"/>
</property>
<field name="parent">
<type name="PolicyDecision" c:type="WebKitPolicyDecision"/>
</field>
<field name="priv" readable="0" private="1">
<type name="NavigationPolicyDecisionPrivate" c:type="WebKitNavigationPolicyDecisionPrivate*"/>
</field>
</class>
<record name="NavigationPolicyDecisionClass" c:type="WebKitNavigationPolicyDecisionClass" glib:is-gtype-struct-for="NavigationPolicyDecision">
<field name="parent_class">
<type name="PolicyDecisionClass" c:type="WebKitPolicyDecisionClass"/>
</field>
<field name="_webkit_reserved0" introspectable="0">
<callback name="_webkit_reserved0">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved1" introspectable="0">
<callback name="_webkit_reserved1">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved2" introspectable="0">
<callback name="_webkit_reserved2">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved3" introspectable="0">
<callback name="_webkit_reserved3">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
</record>
<record name="NavigationPolicyDecisionPrivate" c:type="WebKitNavigationPolicyDecisionPrivate" disguised="1"/>
<enumeration name="NavigationType" glib:type-name="WebKitNavigationType" glib:get-type="webkit_navigation_type_get_type" c:type="WebKitNavigationType">
<doc xml:space="preserve">Enum values used to denote the various navigation types.</doc>
<member name="link_clicked" value="0" c:identifier="WEBKIT_NAVIGATION_TYPE_LINK_CLICKED" glib:nick="link-clicked" glib:name="WEBKIT_NAVIGATION_TYPE_LINK_CLICKED">
<doc xml:space="preserve">The navigation was triggered by clicking a link.</doc>
</member>
<member name="form_submitted" value="1" c:identifier="WEBKIT_NAVIGATION_TYPE_FORM_SUBMITTED" glib:nick="form-submitted" glib:name="WEBKIT_NAVIGATION_TYPE_FORM_SUBMITTED">
<doc xml:space="preserve">The navigation was triggered by submitting a form.</doc>
</member>
<member name="back_forward" value="2" c:identifier="WEBKIT_NAVIGATION_TYPE_BACK_FORWARD" glib:nick="back-forward" glib:name="WEBKIT_NAVIGATION_TYPE_BACK_FORWARD">
<doc xml:space="preserve">The navigation was triggered by navigating forward or backward.</doc>
</member>
<member name="reload" value="3" c:identifier="WEBKIT_NAVIGATION_TYPE_RELOAD" glib:nick="reload" glib:name="WEBKIT_NAVIGATION_TYPE_RELOAD">
<doc xml:space="preserve">The navigation was triggered by reloading.</doc>
</member>
<member name="form_resubmitted" value="4" c:identifier="WEBKIT_NAVIGATION_TYPE_FORM_RESUBMITTED" glib:nick="form-resubmitted" glib:name="WEBKIT_NAVIGATION_TYPE_FORM_RESUBMITTED">
<doc xml:space="preserve">The navigation was triggered by resubmitting a form.</doc>
</member>
<member name="other" value="5" c:identifier="WEBKIT_NAVIGATION_TYPE_OTHER" glib:nick="other" glib:name="WEBKIT_NAVIGATION_TYPE_OTHER">
<doc xml:space="preserve">The navigation was triggered by some other action.</doc>
</member>
</enumeration>
<enumeration name="NetworkError" glib:type-name="WebKitNetworkError" glib:get-type="webkit_network_error_get_type" c:type="WebKitNetworkError" glib:error-domain="WebKitNetworkError">
<doc xml:space="preserve">Enum values used to denote the various network errors.</doc>
<member name="failed" value="399" c:identifier="WEBKIT_NETWORK_ERROR_FAILED" glib:nick="failed" glib:name="WEBKIT_NETWORK_ERROR_FAILED">
<doc xml:space="preserve">Generic load failure</doc>
</member>
<member name="transport" value="300" c:identifier="WEBKIT_NETWORK_ERROR_TRANSPORT" glib:nick="transport" glib:name="WEBKIT_NETWORK_ERROR_TRANSPORT">
<doc xml:space="preserve">Load failure due to transport error</doc>
</member>
<member name="unknown_protocol" value="301" c:identifier="WEBKIT_NETWORK_ERROR_UNKNOWN_PROTOCOL" glib:nick="unknown-protocol" glib:name="WEBKIT_NETWORK_ERROR_UNKNOWN_PROTOCOL">
<doc xml:space="preserve">Load failure due to unknown protocol</doc>
</member>
<member name="cancelled" value="302" c:identifier="WEBKIT_NETWORK_ERROR_CANCELLED" glib:nick="cancelled" glib:name="WEBKIT_NETWORK_ERROR_CANCELLED">
<doc xml:space="preserve">Load failure due to cancellation</doc>
</member>
<member name="file_does_not_exist" value="303" c:identifier="WEBKIT_NETWORK_ERROR_FILE_DOES_NOT_EXIST" glib:nick="file-does-not-exist" glib:name="WEBKIT_NETWORK_ERROR_FILE_DOES_NOT_EXIST">
<doc xml:space="preserve">Load failure due to missing file</doc>
</member>
<function name="quark" c:identifier="webkit_network_error_quark">
<return-value transfer-ownership="none">
<type name="GLib.Quark" c:type="GQuark"/>
</return-value>
</function>
</enumeration>
<enumeration name="NetworkProxyMode" version="2.16" glib:type-name="WebKitNetworkProxyMode" glib:get-type="webkit_network_proxy_mode_get_type" c:type="WebKitNetworkProxyMode">
<doc xml:space="preserve">Enum values used to set the network proxy mode.</doc>
<member name="default" value="0" c:identifier="WEBKIT_NETWORK_PROXY_MODE_DEFAULT" glib:nick="default" glib:name="WEBKIT_NETWORK_PROXY_MODE_DEFAULT">
<doc xml:space="preserve">Use the default proxy of the system.</doc>
</member>
<member name="no_proxy" value="1" c:identifier="WEBKIT_NETWORK_PROXY_MODE_NO_PROXY" glib:nick="no-proxy" glib:name="WEBKIT_NETWORK_PROXY_MODE_NO_PROXY">
<doc xml:space="preserve">Do not use any proxy.</doc>
</member>
<member name="custom" value="2" c:identifier="WEBKIT_NETWORK_PROXY_MODE_CUSTOM" glib:nick="custom" glib:name="WEBKIT_NETWORK_PROXY_MODE_CUSTOM">
<doc xml:space="preserve">Use custom proxy settings.</doc>
</member>
</enumeration>
<record name="NetworkProxySettings" c:type="WebKitNetworkProxySettings" glib:type-name="WebKitNetworkProxySettings" glib:get-type="webkit_network_proxy_settings_get_type" c:symbol-prefix="network_proxy_settings">
<constructor name="new" c:identifier="webkit_network_proxy_settings_new" version="2.16">
<doc xml:space="preserve">Create a new #WebKitNetworkProxySettings with the given @default_proxy_uri and @ignore_hosts.
The default proxy URI will be used for any URI that doesn't match @ignore_hosts, and doesn't match any
of the schemes added with webkit_network_proxy_settings_add_proxy_for_scheme().
If @default_proxy_uri starts with "socks://", it will be treated as referring to all three of the
socks5, socks4a, and socks4 proxy types.
@ignore_hosts is a list of hostnames and IP addresses that the resolver should allow direct connections to.
Entries can be in one of 4 formats:
&lt;itemizedlist&gt;
&lt;listitem&gt;&lt;para&gt;
A hostname, such as "example.com", ".example.com", or "*.example.com", any of which match "example.com" or
any subdomain of it.
&lt;/para&gt;&lt;/listitem&gt;
&lt;listitem&gt;&lt;para&gt;
An IPv4 or IPv6 address, such as "192.168.1.1", which matches only that address.
&lt;/para&gt;&lt;/listitem&gt;
&lt;listitem&gt;&lt;para&gt;
A hostname or IP address followed by a port, such as "example.com:80", which matches whatever the hostname or IP
address would match, but only for URLs with the (explicitly) indicated port. In the case of an IPv6 address, the address
part must appear in brackets: "[::1]:443"
&lt;/para&gt;&lt;/listitem&gt;
&lt;listitem&gt;&lt;para&gt;
An IP address range, given by a base address and prefix length, such as "fe80::/10", which matches any address in that range.
&lt;/para&gt;&lt;/listitem&gt;
&lt;/itemizedlist&gt;
Note that when dealing with Unicode hostnames, the matching is done against the ASCII form of the name.
Also note that hostname exclusions apply only to connections made to hosts identified by name, and IP address exclusions apply only
to connections made to hosts identified by address. That is, if example.com has an address of 192.168.1.1, and @ignore_hosts
contains only "192.168.1.1", then a connection to "example.com" will use the proxy, and a connection to 192.168.1.1" will not.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">A new #WebKitNetworkProxySettings.</doc>
<type name="NetworkProxySettings" c:type="WebKitNetworkProxySettings*"/>
</return-value>
<parameters>
<parameter name="default_proxy_uri" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">the default proxy URI to use, or %NULL.</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="ignore_hosts" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">an optional list of hosts/IP addresses to not use a proxy for.</doc>
<array c:type="const gchar* const*">
<type name="utf8" c:type="gchar*"/>
</array>
</parameter>
</parameters>
</constructor>
<method name="add_proxy_for_scheme" c:identifier="webkit_network_proxy_settings_add_proxy_for_scheme" version="2.16">
<doc xml:space="preserve">Adds a URI-scheme-specific proxy. URIs whose scheme matches @uri_scheme will be proxied via @proxy_uri.
As with the default proxy URI, if @proxy_uri starts with "socks://", it will be treated as referring to
all three of the socks5, socks4a, and socks4 proxy types.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="proxy_settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitNetworkProxySettings</doc>
<type name="NetworkProxySettings" c:type="WebKitNetworkProxySettings*"/>
</instance-parameter>
<parameter name="scheme" transfer-ownership="none">
<doc xml:space="preserve">the URI scheme to add a proxy for</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="proxy_uri" transfer-ownership="none">
<doc xml:space="preserve">the proxy URI to use for @uri_scheme</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="copy" c:identifier="webkit_network_proxy_settings_copy" version="2.16">
<doc xml:space="preserve">Make a copy of the #WebKitNetworkProxySettings.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">A copy of passed in #WebKitNetworkProxySettings</doc>
<type name="NetworkProxySettings" c:type="WebKitNetworkProxySettings*"/>
</return-value>
<parameters>
<instance-parameter name="proxy_settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitNetworkProxySettings</doc>
<type name="NetworkProxySettings" c:type="WebKitNetworkProxySettings*"/>
</instance-parameter>
</parameters>
</method>
<method name="free" c:identifier="webkit_network_proxy_settings_free" version="2.16">
<doc xml:space="preserve">Free the #WebKitNetworkProxySettings.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="proxy_settings" transfer-ownership="none">
<doc xml:space="preserve">A #WebKitNetworkProxySettings</doc>
<type name="NetworkProxySettings" c:type="WebKitNetworkProxySettings*"/>
</instance-parameter>
</parameters>
</method>
</record>
<class name="Notification" c:symbol-prefix="notification" c:type="WebKitNotification" parent="GObject.Object" glib:type-name="WebKitNotification" glib:get-type="webkit_notification_get_type" glib:type-struct="NotificationClass">
<method name="clicked" c:identifier="webkit_notification_clicked" version="2.12">
<doc xml:space="preserve">Tells WebKit the notification has been clicked. This will emit the
#WebKitNotification::clicked signal.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="notification" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitNotification</doc>
<type name="Notification" c:type="WebKitNotification*"/>
</instance-parameter>
</parameters>
</method>
<method name="close" c:identifier="webkit_notification_close" version="2.8">
<doc xml:space="preserve">Closes the notification.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="notification" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitNotification</doc>
<type name="Notification" c:type="WebKitNotification*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_body" c:identifier="webkit_notification_get_body" glib:get-property="body" version="2.8">
<doc xml:space="preserve">Obtains the body for the notification.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the body for the notification</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="notification" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitNotification</doc>
<type name="Notification" c:type="WebKitNotification*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_id" c:identifier="webkit_notification_get_id" glib:get-property="id" version="2.8">
<doc xml:space="preserve">Obtains the unique id for the notification.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the unique id for the notification</doc>
<type name="guint64" c:type="guint64"/>
</return-value>
<parameters>
<instance-parameter name="notification" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitNotification</doc>
<type name="Notification" c:type="WebKitNotification*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_tag" c:identifier="webkit_notification_get_tag" glib:get-property="tag" version="2.16">
<doc xml:space="preserve">Obtains the tag identifier for the notification.</doc>
<return-value transfer-ownership="none" nullable="1">
<doc xml:space="preserve">the tag for the notification</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="notification" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitNotification</doc>
<type name="Notification" c:type="WebKitNotification*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_title" c:identifier="webkit_notification_get_title" glib:get-property="title" version="2.8">
<doc xml:space="preserve">Obtains the title for the notification.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the title for the notification</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="notification" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitNotification</doc>
<type name="Notification" c:type="WebKitNotification*"/>
</instance-parameter>
</parameters>
</method>
<property name="body" version="2.8" transfer-ownership="none" getter="get_body">
<doc xml:space="preserve">The body for the notification.</doc>
<type name="utf8" c:type="gchar*"/>
</property>
<property name="id" version="2.8" transfer-ownership="none" getter="get_id">
<doc xml:space="preserve">The unique id for the notification.</doc>
<type name="guint64" c:type="guint64"/>
</property>
<property name="tag" version="2.16" transfer-ownership="none" getter="get_tag">
<doc xml:space="preserve">The tag identifier for the notification.</doc>
<type name="utf8" c:type="gchar*"/>
</property>
<property name="title" version="2.8" transfer-ownership="none" getter="get_title">
<doc xml:space="preserve">The title for the notification.</doc>
<type name="utf8" c:type="gchar*"/>
</property>
<field name="parent">
<type name="GObject.Object" c:type="GObject"/>
</field>
<field name="priv">
<type name="NotificationPrivate" c:type="WebKitNotificationPrivate*"/>
</field>
<glib:signal name="clicked" when="last" version="2.12">
<doc xml:space="preserve">Emitted when a notification has been clicked. See webkit_notification_clicked().</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</glib:signal>
<glib:signal name="closed" when="last" version="2.8">
<doc xml:space="preserve">Emitted when a notification has been withdrawn.
The default handler will close the notification using libnotify, if built with
support for it.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</glib:signal>
</class>
<record name="NotificationClass" c:type="WebKitNotificationClass" glib:is-gtype-struct-for="Notification">
<field name="parent_class">
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
</field>
<field name="_webkit_reserved0" introspectable="0">
<callback name="_webkit_reserved0">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved1" introspectable="0">
<callback name="_webkit_reserved1">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved2" introspectable="0">
<callback name="_webkit_reserved2">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved3" introspectable="0">
<callback name="_webkit_reserved3">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved4" introspectable="0">
<callback name="_webkit_reserved4">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved5" introspectable="0">
<callback name="_webkit_reserved5">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
</record>
<class name="NotificationPermissionRequest" c:symbol-prefix="notification_permission_request" c:type="WebKitNotificationPermissionRequest" parent="GObject.Object" glib:type-name="WebKitNotificationPermissionRequest" glib:get-type="webkit_notification_permission_request_get_type" glib:type-struct="NotificationPermissionRequestClass">
<implements name="PermissionRequest"/>
<field name="parent">
<type name="GObject.Object" c:type="GObject"/>
</field>
<field name="priv" readable="0" private="1">
<type name="NotificationPermissionRequestPrivate" c:type="WebKitNotificationPermissionRequestPrivate*"/>
</field>
</class>
<record name="NotificationPermissionRequestClass" c:type="WebKitNotificationPermissionRequestClass" glib:is-gtype-struct-for="NotificationPermissionRequest">
<field name="parent_class">
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
</field>
</record>
<record name="NotificationPermissionRequestPrivate" c:type="WebKitNotificationPermissionRequestPrivate" disguised="1"/>
<record name="NotificationPrivate" c:type="WebKitNotificationPrivate" disguised="1"/>
<function-macro name="OPTION_MENU" c:identifier="WEBKIT_OPTION_MENU" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="OPTION_MENU_CLASS" c:identifier="WEBKIT_OPTION_MENU_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="OPTION_MENU_GET_CLASS" c:identifier="WEBKIT_OPTION_MENU_GET_CLASS" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<class name="OptionMenu" c:symbol-prefix="option_menu" c:type="WebKitOptionMenu" parent="GObject.Object" glib:type-name="WebKitOptionMenu" glib:get-type="webkit_option_menu_get_type" glib:type-struct="OptionMenuClass">
<method name="activate_item" c:identifier="webkit_option_menu_activate_item" version="2.18">
<doc xml:space="preserve">Activates the #WebKitOptionMenuItem at @index in @menu. Activating an item changes the value
of the element making the item the active one. You are expected to close the menu with
webkit_option_menu_close() after activating an item, calling this function again will have no
effect.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="menu" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitOptionMenu</doc>
<type name="OptionMenu" c:type="WebKitOptionMenu*"/>
</instance-parameter>
<parameter name="index" transfer-ownership="none">
<doc xml:space="preserve">the index of the item</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</method>
<method name="close" c:identifier="webkit_option_menu_close" version="2.18">
<doc xml:space="preserve">Request to close a #WebKitOptionMenu. This emits WebKitOptionMenu::close signal.
This function should always be called to notify WebKit that the associated
menu has been closed. If the menu is closed and neither webkit_option_menu_select_item()
nor webkit_option_menu_activate_item() have been called, the element value remains
unchanged.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="menu" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitOptionMenu</doc>
<type name="OptionMenu" c:type="WebKitOptionMenu*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_item" c:identifier="webkit_option_menu_get_item" version="2.18">
<doc xml:space="preserve">Returns the #WebKitOptionMenuItem at @index in @menu.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">a #WebKitOptionMenuItem of @menu.</doc>
<type name="OptionMenuItem" c:type="WebKitOptionMenuItem*"/>
</return-value>
<parameters>
<instance-parameter name="menu" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitOptionMenu</doc>
<type name="OptionMenu" c:type="WebKitOptionMenu*"/>
</instance-parameter>
<parameter name="index" transfer-ownership="none">
<doc xml:space="preserve">the index of the item</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</method>
<method name="get_n_items" c:identifier="webkit_option_menu_get_n_items" version="2.18">
<doc xml:space="preserve">Gets the length of the @menu.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the number of #WebKitOptionMenuItem&lt;!-- --&gt;s in @menu</doc>
<type name="guint" c:type="guint"/>
</return-value>
<parameters>
<instance-parameter name="menu" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitOptionMenu</doc>
<type name="OptionMenu" c:type="WebKitOptionMenu*"/>
</instance-parameter>
</parameters>
</method>
<method name="select_item" c:identifier="webkit_option_menu_select_item" version="2.18">
<doc xml:space="preserve">Selects the #WebKitOptionMenuItem at @index in @menu. Selecting an item changes the
text shown by the combo button, but it doesn't change the value of the element. You need to
explicitly activate the item with webkit_option_menu_select_item() or close the menu with
webkit_option_menu_close() in which case the currently selected item will be activated.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="menu" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitOptionMenu</doc>
<type name="OptionMenu" c:type="WebKitOptionMenu*"/>
</instance-parameter>
<parameter name="index" transfer-ownership="none">
<doc xml:space="preserve">the index of the item</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</method>
<field name="parent">
<type name="GObject.Object" c:type="GObject"/>
</field>
<field name="priv">
<type name="OptionMenuPrivate" c:type="WebKitOptionMenuPrivate*"/>
</field>
<glib:signal name="close" when="last" version="2.18">
<doc xml:space="preserve">Emitted when closing a #WebKitOptionMenu is requested. This can happen
when the user explicitly calls webkit_option_menu_close() or when the
element is detached from the current page.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</glib:signal>
</class>
<record name="OptionMenuClass" c:type="WebKitOptionMenuClass" glib:is-gtype-struct-for="OptionMenu">
<field name="parent_class">
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
</field>
<field name="_webkit_reserved0" introspectable="0">
<callback name="_webkit_reserved0">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved1" introspectable="0">
<callback name="_webkit_reserved1">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved2" introspectable="0">
<callback name="_webkit_reserved2">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved3" introspectable="0">
<callback name="_webkit_reserved3">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
</record>
<record name="OptionMenuItem" c:type="WebKitOptionMenuItem" glib:type-name="WebKitOptionMenuItem" glib:get-type="webkit_option_menu_item_get_type" c:symbol-prefix="option_menu_item">
<method name="copy" c:identifier="webkit_option_menu_item_copy" version="2.18">
<doc xml:space="preserve">Make a copy of the #WebKitOptionMenuItem.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">A copy of passed in #WebKitOptionMenuItem</doc>
<type name="OptionMenuItem" c:type="WebKitOptionMenuItem*"/>
</return-value>
<parameters>
<instance-parameter name="item" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitOptionMenuItem</doc>
<type name="OptionMenuItem" c:type="WebKitOptionMenuItem*"/>
</instance-parameter>
</parameters>
</method>
<method name="free" c:identifier="webkit_option_menu_item_free" version="2.18">
<doc xml:space="preserve">Free the #WebKitOptionMenuItem.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="item" transfer-ownership="none">
<doc xml:space="preserve">A #WebKitOptionMenuItem</doc>
<type name="OptionMenuItem" c:type="WebKitOptionMenuItem*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_label" c:identifier="webkit_option_menu_item_get_label" version="2.18">
<doc xml:space="preserve">Get the label of a #WebKitOptionMenuItem.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">The label of @item.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="item" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitOptionMenuItem</doc>
<type name="OptionMenuItem" c:type="WebKitOptionMenuItem*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_tooltip" c:identifier="webkit_option_menu_item_get_tooltip" version="2.18">
<doc xml:space="preserve">Get the tooltip of a #WebKitOptionMenuItem.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">The tooltip of @item, or %NULL.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="item" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitOptionMenuItem</doc>
<type name="OptionMenuItem" c:type="WebKitOptionMenuItem*"/>
</instance-parameter>
</parameters>
</method>
<method name="is_enabled" c:identifier="webkit_option_menu_item_is_enabled" version="2.18">
<doc xml:space="preserve">Whether a #WebKitOptionMenuItem is enabled.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if the @item is enabled or %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="item" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitOptionMenuItem</doc>
<type name="OptionMenuItem" c:type="WebKitOptionMenuItem*"/>
</instance-parameter>
</parameters>
</method>
<method name="is_group_child" c:identifier="webkit_option_menu_item_is_group_child" version="2.18">
<doc xml:space="preserve">Whether a #WebKitOptionMenuItem is a group child.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if the @item is a group child or %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="item" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitOptionMenuItem</doc>
<type name="OptionMenuItem" c:type="WebKitOptionMenuItem*"/>
</instance-parameter>
</parameters>
</method>
<method name="is_group_label" c:identifier="webkit_option_menu_item_is_group_label" version="2.18">
<doc xml:space="preserve">Whether a #WebKitOptionMenuItem is a group label.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if the @item is a group label or %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="item" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitOptionMenuItem</doc>
<type name="OptionMenuItem" c:type="WebKitOptionMenuItem*"/>
</instance-parameter>
</parameters>
</method>
<method name="is_selected" c:identifier="webkit_option_menu_item_is_selected" version="2.18">
<doc xml:space="preserve">Whether a #WebKitOptionMenuItem is the currently selected one.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if the @item is selected or %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="item" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitOptionMenuItem</doc>
<type name="OptionMenuItem" c:type="WebKitOptionMenuItem*"/>
</instance-parameter>
</parameters>
</method>
</record>
<record name="OptionMenuPrivate" c:type="WebKitOptionMenuPrivate" disguised="1"/>
<function-macro name="PERMISSION_REQUEST" c:identifier="WEBKIT_PERMISSION_REQUEST" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="PERMISSION_REQUEST_GET_IFACE" c:identifier="WEBKIT_PERMISSION_REQUEST_GET_IFACE" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="PLUGIN" c:identifier="WEBKIT_PLUGIN" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="PLUGIN_CLASS" c:identifier="WEBKIT_PLUGIN_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="PLUGIN_GET_CLASS" c:identifier="WEBKIT_PLUGIN_GET_CLASS" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="POINTER_LOCK_PERMISSION_REQUEST" c:identifier="WEBKIT_POINTER_LOCK_PERMISSION_REQUEST" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="POINTER_LOCK_PERMISSION_REQUEST_CLASS" c:identifier="WEBKIT_POINTER_LOCK_PERMISSION_REQUEST_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="POINTER_LOCK_PERMISSION_REQUEST_GET_CLASS" c:identifier="WEBKIT_POINTER_LOCK_PERMISSION_REQUEST_GET_CLASS" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="POLICY_DECISION" c:identifier="WEBKIT_POLICY_DECISION" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="POLICY_DECISION_CLASS" c:identifier="WEBKIT_POLICY_DECISION_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="POLICY_DECISION_GET_CLASS" c:identifier="WEBKIT_POLICY_DECISION_GET_CLASS" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="PRINT_CUSTOM_WIDGET" c:identifier="WEBKIT_PRINT_CUSTOM_WIDGET" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="PRINT_CUSTOM_WIDGET_CLASS" c:identifier="WEBKIT_PRINT_CUSTOM_WIDGET_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="PRINT_CUSTOM_WIDGET_GET_CLASS" c:identifier="WEBKIT_PRINT_CUSTOM_WIDGET_GET_CLASS" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="PRINT_OPERATION" c:identifier="WEBKIT_PRINT_OPERATION" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="PRINT_OPERATION_CLASS" c:identifier="WEBKIT_PRINT_OPERATION_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="PRINT_OPERATION_GET_CLASS" c:identifier="WEBKIT_PRINT_OPERATION_GET_CLASS" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<interface name="PermissionRequest" c:symbol-prefix="permission_request" c:type="WebKitPermissionRequest" glib:type-name="WebKitPermissionRequest" glib:get-type="webkit_permission_request_get_type" glib:type-struct="PermissionRequestIface">
<virtual-method name="allow" invoker="allow">
<doc xml:space="preserve">Allow the action which triggered this request.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="request" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitPermissionRequest</doc>
<type name="PermissionRequest" c:type="WebKitPermissionRequest*"/>
</instance-parameter>
</parameters>
</virtual-method>
<virtual-method name="deny" invoker="deny">
<doc xml:space="preserve">Deny the action which triggered this request.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="request" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitPermissionRequest</doc>
<type name="PermissionRequest" c:type="WebKitPermissionRequest*"/>
</instance-parameter>
</parameters>
</virtual-method>
<method name="allow" c:identifier="webkit_permission_request_allow">
<doc xml:space="preserve">Allow the action which triggered this request.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="request" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitPermissionRequest</doc>
<type name="PermissionRequest" c:type="WebKitPermissionRequest*"/>
</instance-parameter>
</parameters>
</method>
<method name="deny" c:identifier="webkit_permission_request_deny">
<doc xml:space="preserve">Deny the action which triggered this request.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="request" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitPermissionRequest</doc>
<type name="PermissionRequest" c:type="WebKitPermissionRequest*"/>
</instance-parameter>
</parameters>
</method>
</interface>
<record name="PermissionRequestIface" c:type="WebKitPermissionRequestIface" glib:is-gtype-struct-for="PermissionRequest">
<field name="parent_interface">
<type name="GObject.TypeInterface" c:type="GTypeInterface"/>
</field>
<field name="allow">
<callback name="allow">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="request" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitPermissionRequest</doc>
<type name="PermissionRequest" c:type="WebKitPermissionRequest*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="deny">
<callback name="deny">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="request" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitPermissionRequest</doc>
<type name="PermissionRequest" c:type="WebKitPermissionRequest*"/>
</parameter>
</parameters>
</callback>
</field>
</record>
<class name="Plugin" c:symbol-prefix="plugin" c:type="WebKitPlugin" parent="GObject.Object" glib:type-name="WebKitPlugin" glib:get-type="webkit_plugin_get_type" glib:type-struct="PluginClass">
<method name="get_description" c:identifier="webkit_plugin_get_description" deprecated="1" deprecated-version="2.32">
<return-value transfer-ownership="none">
<doc xml:space="preserve">the description of the plugin.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="plugin" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitPlugin</doc>
<type name="Plugin" c:type="WebKitPlugin*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_mime_info_list" c:identifier="webkit_plugin_get_mime_info_list" deprecated="1" deprecated-version="2.32">
<doc xml:space="preserve">Get information about MIME types handled by the plugin,
as a list of #WebKitMimeInfo.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">a #GList of #WebKitMimeInfo.</doc>
<type name="GLib.List" c:type="GList*">
<type name="MimeInfo"/>
</type>
</return-value>
<parameters>
<instance-parameter name="plugin" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitPlugin</doc>
<type name="Plugin" c:type="WebKitPlugin*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_name" c:identifier="webkit_plugin_get_name" deprecated="1" deprecated-version="2.32">
<return-value transfer-ownership="none">
<doc xml:space="preserve">the name of the plugin.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="plugin" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitPlugin</doc>
<type name="Plugin" c:type="WebKitPlugin*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_path" c:identifier="webkit_plugin_get_path" deprecated="1" deprecated-version="2.32">
<return-value transfer-ownership="none">
<doc xml:space="preserve">the absolute path where the plugin is installed.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="plugin" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitPlugin</doc>
<type name="Plugin" c:type="WebKitPlugin*"/>
</instance-parameter>
</parameters>
</method>
<field name="parent">
<type name="GObject.Object" c:type="GObject"/>
</field>
<field name="priv">
<type name="PluginPrivate" c:type="WebKitPluginPrivate*"/>
</field>
</class>
<record name="PluginClass" c:type="WebKitPluginClass" glib:is-gtype-struct-for="Plugin">
<field name="parent_class">
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
</field>
<field name="_webkit_reserved0" introspectable="0">
<callback name="_webkit_reserved0">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved1" introspectable="0">
<callback name="_webkit_reserved1">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved2" introspectable="0">
<callback name="_webkit_reserved2">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved3" introspectable="0">
<callback name="_webkit_reserved3">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
</record>
<enumeration name="PluginError" glib:type-name="WebKitPluginError" glib:get-type="webkit_plugin_error_get_type" c:type="WebKitPluginError" glib:error-domain="WebKitPluginError">
<doc xml:space="preserve">Enum values used to denote the various plugin and multimedia errors.</doc>
<member name="failed" value="299" c:identifier="WEBKIT_PLUGIN_ERROR_FAILED" glib:nick="failed" glib:name="WEBKIT_PLUGIN_ERROR_FAILED">
<doc xml:space="preserve">Generic plugin load failure. Deprecated 2.32</doc>
</member>
<member name="cannot_find_plugin" value="200" c:identifier="WEBKIT_PLUGIN_ERROR_CANNOT_FIND_PLUGIN" glib:nick="cannot-find-plugin" glib:name="WEBKIT_PLUGIN_ERROR_CANNOT_FIND_PLUGIN">
<doc xml:space="preserve">Load failure due to missing plugin. Deprecated 2.32</doc>
</member>
<member name="cannot_load_plugin" value="201" c:identifier="WEBKIT_PLUGIN_ERROR_CANNOT_LOAD_PLUGIN" glib:nick="cannot-load-plugin" glib:name="WEBKIT_PLUGIN_ERROR_CANNOT_LOAD_PLUGIN">
<doc xml:space="preserve">Load failure due to inability to load plugin. Deprecated 2.32</doc>
</member>
<member name="java_unavailable" value="202" c:identifier="WEBKIT_PLUGIN_ERROR_JAVA_UNAVAILABLE" glib:nick="java-unavailable" glib:name="WEBKIT_PLUGIN_ERROR_JAVA_UNAVAILABLE">
<doc xml:space="preserve">Load failure due to missing Java support that is required to load plugin. Deprecated 2.32</doc>
</member>
<member name="connection_cancelled" value="203" c:identifier="WEBKIT_PLUGIN_ERROR_CONNECTION_CANCELLED" glib:nick="connection-cancelled" glib:name="WEBKIT_PLUGIN_ERROR_CONNECTION_CANCELLED">
<doc xml:space="preserve">Load failure due to connection cancellation. Deprecated 2.32</doc>
</member>
<member name="will_handle_load" value="204" c:identifier="WEBKIT_PLUGIN_ERROR_WILL_HANDLE_LOAD" glib:nick="will-handle-load" glib:name="WEBKIT_PLUGIN_ERROR_WILL_HANDLE_LOAD">
<doc xml:space="preserve">Preliminary load failure for media content types. A new load will be started to perform the media load.</doc>
</member>
<function name="quark" c:identifier="webkit_plugin_error_quark">
<return-value transfer-ownership="none">
<type name="GLib.Quark" c:type="GQuark"/>
</return-value>
</function>
</enumeration>
<record name="PluginPrivate" c:type="WebKitPluginPrivate" disguised="1"/>
<class name="PointerLockPermissionRequest" c:symbol-prefix="pointer_lock_permission_request" c:type="WebKitPointerLockPermissionRequest" parent="GObject.Object" glib:type-name="WebKitPointerLockPermissionRequest" glib:get-type="webkit_pointer_lock_permission_request_get_type" glib:type-struct="PointerLockPermissionRequestClass">
<implements name="PermissionRequest"/>
<field name="parent">
<type name="GObject.Object" c:type="GObject"/>
</field>
<field name="priv" readable="0" private="1">
<type name="PointerLockPermissionRequestPrivate" c:type="WebKitPointerLockPermissionRequestPrivate*"/>
</field>
</class>
<record name="PointerLockPermissionRequestClass" c:type="WebKitPointerLockPermissionRequestClass" glib:is-gtype-struct-for="PointerLockPermissionRequest">
<field name="parent_class">
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
</field>
<field name="_webkit_reserved0" introspectable="0">
<callback name="_webkit_reserved0">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved1" introspectable="0">
<callback name="_webkit_reserved1">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved2" introspectable="0">
<callback name="_webkit_reserved2">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved3" introspectable="0">
<callback name="_webkit_reserved3">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
</record>
<record name="PointerLockPermissionRequestPrivate" c:type="WebKitPointerLockPermissionRequestPrivate" disguised="1"/>
<class name="PolicyDecision" c:symbol-prefix="policy_decision" c:type="WebKitPolicyDecision" parent="GObject.Object" abstract="1" glib:type-name="WebKitPolicyDecision" glib:get-type="webkit_policy_decision_get_type" glib:type-struct="PolicyDecisionClass">
<method name="download" c:identifier="webkit_policy_decision_download">
<doc xml:space="preserve">Spawn a download from this decision.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="decision" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitPolicyDecision</doc>
<type name="PolicyDecision" c:type="WebKitPolicyDecision*"/>
</instance-parameter>
</parameters>
</method>
<method name="ignore" c:identifier="webkit_policy_decision_ignore">
<doc xml:space="preserve">Ignore the action which triggered this decision. For instance, for a
#WebKitResponsePolicyDecision, this would cancel the request.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="decision" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitPolicyDecision</doc>
<type name="PolicyDecision" c:type="WebKitPolicyDecision*"/>
</instance-parameter>
</parameters>
</method>
<method name="use" c:identifier="webkit_policy_decision_use">
<doc xml:space="preserve">Accept the action which triggered this decision.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="decision" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitPolicyDecision</doc>
<type name="PolicyDecision" c:type="WebKitPolicyDecision*"/>
</instance-parameter>
</parameters>
</method>
<method name="use_with_policies" c:identifier="webkit_policy_decision_use_with_policies" version="2.30">
<doc xml:space="preserve">Accept the navigation action which triggered this decision, and
continue with @policies affecting all subsequent loads of resources
in the origin associated with the accepted navigation action.
For example, a navigation decision to a video sharing website may
be accepted under the priviso no movies are allowed to autoplay. The
autoplay policy in this case would be set in the @policies.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="decision" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitPolicyDecision</doc>
<type name="PolicyDecision" c:type="WebKitPolicyDecision*"/>
</instance-parameter>
<parameter name="policies" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebsitePolicies</doc>
<type name="WebsitePolicies" c:type="WebKitWebsitePolicies*"/>
</parameter>
</parameters>
</method>
<field name="parent">
<type name="GObject.Object" c:type="GObject"/>
</field>
<field name="priv" readable="0" private="1">
<type name="PolicyDecisionPrivate" c:type="WebKitPolicyDecisionPrivate*"/>
</field>
</class>
<record name="PolicyDecisionClass" c:type="WebKitPolicyDecisionClass" glib:is-gtype-struct-for="PolicyDecision">
<field name="parent_class">
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
</field>
<field name="_webkit_reserved0" introspectable="0">
<callback name="_webkit_reserved0">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved1" introspectable="0">
<callback name="_webkit_reserved1">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved2" introspectable="0">
<callback name="_webkit_reserved2">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved3" introspectable="0">
<callback name="_webkit_reserved3">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
</record>
<record name="PolicyDecisionPrivate" c:type="WebKitPolicyDecisionPrivate" disguised="1"/>
<enumeration name="PolicyDecisionType" glib:type-name="WebKitPolicyDecisionType" glib:get-type="webkit_policy_decision_type_get_type" c:type="WebKitPolicyDecisionType">
<doc xml:space="preserve">Enum values used for determining the type of a policy decision during
#WebKitWebView::decide-policy.</doc>
<member name="navigation_action" value="0" c:identifier="WEBKIT_POLICY_DECISION_TYPE_NAVIGATION_ACTION" glib:nick="navigation-action" glib:name="WEBKIT_POLICY_DECISION_TYPE_NAVIGATION_ACTION">
<doc xml:space="preserve">This type of policy decision
is requested when WebKit is about to navigate to a new page in either the
main frame or a subframe. Acceptable policy decisions are either
webkit_policy_decision_use() or webkit_policy_decision_ignore(). This
type of policy decision is always a #WebKitNavigationPolicyDecision.</doc>
</member>
<member name="new_window_action" value="1" c:identifier="WEBKIT_POLICY_DECISION_TYPE_NEW_WINDOW_ACTION" glib:nick="new-window-action" glib:name="WEBKIT_POLICY_DECISION_TYPE_NEW_WINDOW_ACTION">
<doc xml:space="preserve">This type of policy decision
is requested when WebKit is about to create a new window. Acceptable policy
decisions are either webkit_policy_decision_use() or
webkit_policy_decision_ignore(). This type of policy decision is always
a #WebKitNavigationPolicyDecision. These decisions are useful for implementing
special actions for new windows, such as forcing the new window to open
in a tab when a keyboard modifier is active or handling a special
target attribute on &amp;lt;a&amp;gt; elements.</doc>
</member>
<member name="response" value="2" c:identifier="WEBKIT_POLICY_DECISION_TYPE_RESPONSE" glib:nick="response" glib:name="WEBKIT_POLICY_DECISION_TYPE_RESPONSE">
<doc xml:space="preserve">This type of decision is used when WebKit has
received a response for a network resource and is about to start the load.
Note that these resources include all subresources of a page such as images
and stylesheets as well as main documents. Appropriate policy responses to
this decision are webkit_policy_decision_use(), webkit_policy_decision_ignore(),
or webkit_policy_decision_download(). This type of policy decision is always
a #WebKitResponsePolicyDecision. This decision is useful for forcing
some types of resources to be downloaded rather than rendered in the WebView
or to block the transfer of resources entirely.</doc>
</member>
</enumeration>
<enumeration name="PolicyError" glib:type-name="WebKitPolicyError" glib:get-type="webkit_policy_error_get_type" c:type="WebKitPolicyError" glib:error-domain="WebKitPolicyError">
<doc xml:space="preserve">Enum values used to denote the various policy errors.</doc>
<member name="failed" value="199" c:identifier="WEBKIT_POLICY_ERROR_FAILED" glib:nick="failed" glib:name="WEBKIT_POLICY_ERROR_FAILED">
<doc xml:space="preserve">Generic load failure due to policy error</doc>
</member>
<member name="cannot_show_mime_type" value="100" c:identifier="WEBKIT_POLICY_ERROR_CANNOT_SHOW_MIME_TYPE" glib:nick="cannot-show-mime-type" glib:name="WEBKIT_POLICY_ERROR_CANNOT_SHOW_MIME_TYPE">
<doc xml:space="preserve">Load failure due to unsupported mime type</doc>
</member>
<member name="cannot_show_uri" value="101" c:identifier="WEBKIT_POLICY_ERROR_CANNOT_SHOW_URI" glib:nick="cannot-show-uri" glib:name="WEBKIT_POLICY_ERROR_CANNOT_SHOW_URI">
<doc xml:space="preserve">Load failure due to URI that can not be shown</doc>
</member>
<member name="frame_load_interrupted_by_policy_change" value="102" c:identifier="WEBKIT_POLICY_ERROR_FRAME_LOAD_INTERRUPTED_BY_POLICY_CHANGE" glib:nick="frame-load-interrupted-by-policy-change" glib:name="WEBKIT_POLICY_ERROR_FRAME_LOAD_INTERRUPTED_BY_POLICY_CHANGE">
<doc xml:space="preserve">Load failure due to frame load interruption by policy change</doc>
</member>
<member name="cannot_use_restricted_port" value="103" c:identifier="WEBKIT_POLICY_ERROR_CANNOT_USE_RESTRICTED_PORT" glib:nick="cannot-use-restricted-port" glib:name="WEBKIT_POLICY_ERROR_CANNOT_USE_RESTRICTED_PORT">
<doc xml:space="preserve">Load failure due to port restriction</doc>
</member>
<function name="quark" c:identifier="webkit_policy_error_quark">
<return-value transfer-ownership="none">
<type name="GLib.Quark" c:type="GQuark"/>
</return-value>
</function>
</enumeration>
<class name="PrintCustomWidget" c:symbol-prefix="print_custom_widget" c:type="WebKitPrintCustomWidget" parent="GObject.Object" glib:type-name="WebKitPrintCustomWidget" glib:get-type="webkit_print_custom_widget_get_type" glib:type-struct="PrintCustomWidgetClass">
<constructor name="new" c:identifier="webkit_print_custom_widget_new" version="2.16">
<doc xml:space="preserve">Create a new #WebKitPrintCustomWidget with given @widget and @title. The @widget
ownership is taken and it is destroyed together with the dialog even if this
object could still be alive at that point. You typically want to pass a container
widget with multiple widgets in it.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">a new #WebKitPrintOperation.</doc>
<type name="PrintCustomWidget" c:type="WebKitPrintCustomWidget*"/>
</return-value>
<parameters>
<parameter name="widget" transfer-ownership="none">
<doc xml:space="preserve">a #GtkWidget</doc>
<type name="Gtk.Widget" c:type="GtkWidget*"/>
</parameter>
<parameter name="title" transfer-ownership="none">
<doc xml:space="preserve">a @widget's title</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
</parameters>
</constructor>
<virtual-method name="apply">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="print_custom_widget" transfer-ownership="none">
<type name="PrintCustomWidget" c:type="WebKitPrintCustomWidget*"/>
</instance-parameter>
<parameter name="widget" transfer-ownership="none">
<type name="Gtk.Widget" c:type="GtkWidget*"/>
</parameter>
</parameters>
</virtual-method>
<virtual-method name="update">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="print_custom_widget" transfer-ownership="none">
<type name="PrintCustomWidget" c:type="WebKitPrintCustomWidget*"/>
</instance-parameter>
<parameter name="widget" transfer-ownership="none">
<type name="Gtk.Widget" c:type="GtkWidget*"/>
</parameter>
<parameter name="page_setup" transfer-ownership="none">
<type name="Gtk.PageSetup" c:type="GtkPageSetup*"/>
</parameter>
<parameter name="print_settings" transfer-ownership="none">
<type name="Gtk.PrintSettings" c:type="GtkPrintSettings*"/>
</parameter>
</parameters>
</virtual-method>
<method name="get_title" c:identifier="webkit_print_custom_widget_get_title" glib:get-property="title" version="2.16">
<doc xml:space="preserve">Return the value of #WebKitPrintCustomWidget:title property for the given
@print_custom_widget object.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">Title of the @print_custom_widget.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="print_custom_widget" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitPrintCustomWidget</doc>
<type name="PrintCustomWidget" c:type="WebKitPrintCustomWidget*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_widget" c:identifier="webkit_print_custom_widget_get_widget" glib:get-property="widget" version="2.16">
<doc xml:space="preserve">Return the value of #WebKitPrintCustomWidget:widget property for the given
@print_custom_widget object. The returned value will always be valid if called
from #WebKitPrintCustomWidget::apply or #WebKitPrintCustomWidget::update
callbacks, but it will be %NULL if called after the
#WebKitPrintCustomWidget::apply signal is emitted.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">a #GtkWidget.</doc>
<type name="Gtk.Widget" c:type="GtkWidget*"/>
</return-value>
<parameters>
<instance-parameter name="print_custom_widget" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitPrintCustomWidget</doc>
<type name="PrintCustomWidget" c:type="WebKitPrintCustomWidget*"/>
</instance-parameter>
</parameters>
</method>
<property name="title" version="2.16" writable="1" construct-only="1" transfer-ownership="none" getter="get_title">
<doc xml:space="preserve">The title of the custom widget.</doc>
<type name="utf8" c:type="gchar*"/>
</property>
<property name="widget" version="2.16" writable="1" construct-only="1" transfer-ownership="none" getter="get_widget">
<doc xml:space="preserve">The custom #GtkWidget that will be embedded in the dialog.</doc>
<type name="Gtk.Widget"/>
</property>
<field name="parent">
<type name="GObject.Object" c:type="GObject"/>
</field>
<field name="priv">
<type name="PrintCustomWidgetPrivate" c:type="WebKitPrintCustomWidgetPrivate*"/>
</field>
<glib:signal name="apply" when="last" version="2.16">
<doc xml:space="preserve">Emitted right before the printing will start. You should read the information
from the widget and update the content based on it if necessary. The widget
is not guaranteed to be valid at a later time.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</glib:signal>
<glib:signal name="update" when="last" version="2.16">
<doc xml:space="preserve">Emitted after change of selected printer in the dialog. The actual page setup
and print settings are available and the custom widget can actualize itself
according to their values.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="page_setup" transfer-ownership="none">
<doc xml:space="preserve">actual page setup</doc>
<type name="Gtk.PageSetup"/>
</parameter>
<parameter name="print_settings" transfer-ownership="none">
<doc xml:space="preserve">actual print settings</doc>
<type name="Gtk.PrintSettings"/>
</parameter>
</parameters>
</glib:signal>
</class>
<record name="PrintCustomWidgetClass" c:type="WebKitPrintCustomWidgetClass" glib:is-gtype-struct-for="PrintCustomWidget">
<field name="parent_class">
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
</field>
<field name="apply">
<callback name="apply">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="print_custom_widget" transfer-ownership="none">
<type name="PrintCustomWidget" c:type="WebKitPrintCustomWidget*"/>
</parameter>
<parameter name="widget" transfer-ownership="none">
<type name="Gtk.Widget" c:type="GtkWidget*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="update">
<callback name="update">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="print_custom_widget" transfer-ownership="none">
<type name="PrintCustomWidget" c:type="WebKitPrintCustomWidget*"/>
</parameter>
<parameter name="widget" transfer-ownership="none">
<type name="Gtk.Widget" c:type="GtkWidget*"/>
</parameter>
<parameter name="page_setup" transfer-ownership="none">
<type name="Gtk.PageSetup" c:type="GtkPageSetup*"/>
</parameter>
<parameter name="print_settings" transfer-ownership="none">
<type name="Gtk.PrintSettings" c:type="GtkPrintSettings*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="_webkit_reserved0" introspectable="0">
<callback name="_webkit_reserved0">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved1" introspectable="0">
<callback name="_webkit_reserved1">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved2" introspectable="0">
<callback name="_webkit_reserved2">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved3" introspectable="0">
<callback name="_webkit_reserved3">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
</record>
<record name="PrintCustomWidgetPrivate" c:type="WebKitPrintCustomWidgetPrivate" disguised="1"/>
<enumeration name="PrintError" glib:type-name="WebKitPrintError" glib:get-type="webkit_print_error_get_type" c:type="WebKitPrintError" glib:error-domain="WebKitPrintError">
<doc xml:space="preserve">Enum values used to denote the various print errors.</doc>
<member name="general" value="599" c:identifier="WEBKIT_PRINT_ERROR_GENERAL" glib:nick="general" glib:name="WEBKIT_PRINT_ERROR_GENERAL">
<doc xml:space="preserve">Unspecified error during a print operation</doc>
</member>
<member name="printer_not_found" value="500" c:identifier="WEBKIT_PRINT_ERROR_PRINTER_NOT_FOUND" glib:nick="printer-not-found" glib:name="WEBKIT_PRINT_ERROR_PRINTER_NOT_FOUND">
<doc xml:space="preserve">Selected printer cannot be found</doc>
</member>
<member name="invalid_page_range" value="501" c:identifier="WEBKIT_PRINT_ERROR_INVALID_PAGE_RANGE" glib:nick="invalid-page-range" glib:name="WEBKIT_PRINT_ERROR_INVALID_PAGE_RANGE">
<doc xml:space="preserve">Invalid page range</doc>
</member>
<function name="quark" c:identifier="webkit_print_error_quark">
<return-value transfer-ownership="none">
<type name="GLib.Quark" c:type="GQuark"/>
</return-value>
</function>
</enumeration>
<class name="PrintOperation" c:symbol-prefix="print_operation" c:type="WebKitPrintOperation" parent="GObject.Object" glib:type-name="WebKitPrintOperation" glib:get-type="webkit_print_operation_get_type" glib:type-struct="PrintOperationClass">
<constructor name="new" c:identifier="webkit_print_operation_new">
<doc xml:space="preserve">Create a new #WebKitPrintOperation to print @web_view contents.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">a new #WebKitPrintOperation.</doc>
<type name="PrintOperation" c:type="WebKitPrintOperation*"/>
</return-value>
<parameters>
<parameter name="web_view" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebView</doc>
<type name="WebView" c:type="WebKitWebView*"/>
</parameter>
</parameters>
</constructor>
<method name="get_page_setup" c:identifier="webkit_print_operation_get_page_setup" glib:get-property="page-setup">
<doc xml:space="preserve">Return the current page setup of @print_operation. It returns %NULL until
either webkit_print_operation_set_page_setup() or webkit_print_operation_run_dialog()
have been called.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the current #GtkPageSetup of @print_operation.</doc>
<type name="Gtk.PageSetup" c:type="GtkPageSetup*"/>
</return-value>
<parameters>
<instance-parameter name="print_operation" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitPrintOperation</doc>
<type name="PrintOperation" c:type="WebKitPrintOperation*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_print_settings" c:identifier="webkit_print_operation_get_print_settings" glib:get-property="print-settings">
<doc xml:space="preserve">Return the current print settings of @print_operation. It returns %NULL until
either webkit_print_operation_set_print_settings() or webkit_print_operation_run_dialog()
have been called.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the current #GtkPrintSettings of @print_operation.</doc>
<type name="Gtk.PrintSettings" c:type="GtkPrintSettings*"/>
</return-value>
<parameters>
<instance-parameter name="print_operation" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitPrintOperation</doc>
<type name="PrintOperation" c:type="WebKitPrintOperation*"/>
</instance-parameter>
</parameters>
</method>
<method name="print" c:identifier="webkit_print_operation_print">
<doc xml:space="preserve">Start a print operation using current print settings and page setup
without showing the print dialog. If either print settings or page setup
are not set with webkit_print_operation_set_print_settings() and
webkit_print_operation_set_page_setup(), the default options will be used
and the print job will be sent to the default printer.
The #WebKitPrintOperation::finished signal is emitted when the printing
operation finishes. If an error occurs while printing the signal
#WebKitPrintOperation::failed is emitted before #WebKitPrintOperation::finished.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="print_operation" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitPrintOperation</doc>
<type name="PrintOperation" c:type="WebKitPrintOperation*"/>
</instance-parameter>
</parameters>
</method>
<method name="run_dialog" c:identifier="webkit_print_operation_run_dialog">
<doc xml:space="preserve">Run the print dialog and start printing using the options selected by
the user. This method returns when the print dialog is closed.
If the print dialog is cancelled %WEBKIT_PRINT_OPERATION_RESPONSE_CANCEL
is returned. If the user clicks on the print button, %WEBKIT_PRINT_OPERATION_RESPONSE_PRINT
is returned and the print operation starts. In this case, the #WebKitPrintOperation::finished
signal is emitted when the operation finishes. If an error occurs while printing, the signal
#WebKitPrintOperation::failed is emitted before #WebKitPrintOperation::finished.
If the print dialog is not cancelled current print settings and page setup of @print_operation
are updated with options selected by the user when Print button is pressed in print dialog.
You can get the updated print settings and page setup by calling
webkit_print_operation_get_print_settings() and webkit_print_operation_get_page_setup()
after this method.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the #WebKitPrintOperationResponse of the print dialog</doc>
<type name="PrintOperationResponse" c:type="WebKitPrintOperationResponse"/>
</return-value>
<parameters>
<instance-parameter name="print_operation" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitPrintOperation</doc>
<type name="PrintOperation" c:type="WebKitPrintOperation*"/>
</instance-parameter>
<parameter name="parent" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">transient parent of the print dialog</doc>
<type name="Gtk.Window" c:type="GtkWindow*"/>
</parameter>
</parameters>
</method>
<method name="set_page_setup" c:identifier="webkit_print_operation_set_page_setup" glib:set-property="page-setup">
<doc xml:space="preserve">Set the current page setup of @print_operation. Current page setup is used for the
initial values of the print dialog when webkit_print_operation_run_dialog() is called.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="print_operation" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitPrintOperation</doc>
<type name="PrintOperation" c:type="WebKitPrintOperation*"/>
</instance-parameter>
<parameter name="page_setup" transfer-ownership="none">
<doc xml:space="preserve">a #GtkPageSetup to set</doc>
<type name="Gtk.PageSetup" c:type="GtkPageSetup*"/>
</parameter>
</parameters>
</method>
<method name="set_print_settings" c:identifier="webkit_print_operation_set_print_settings" glib:set-property="print-settings">
<doc xml:space="preserve">Set the current print settings of @print_operation. Current print settings are used for
the initial values of the print dialog when webkit_print_operation_run_dialog() is called.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="print_operation" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitPrintOperation</doc>
<type name="PrintOperation" c:type="WebKitPrintOperation*"/>
</instance-parameter>
<parameter name="print_settings" transfer-ownership="none">
<doc xml:space="preserve">a #GtkPrintSettings to set</doc>
<type name="Gtk.PrintSettings" c:type="GtkPrintSettings*"/>
</parameter>
</parameters>
</method>
<property name="page-setup" writable="1" transfer-ownership="none" setter="set_page_setup" getter="get_page_setup">
<doc xml:space="preserve">The initial #GtkPageSetup for the print operation.</doc>
<type name="Gtk.PageSetup"/>
</property>
<property name="print-settings" writable="1" transfer-ownership="none" setter="set_print_settings" getter="get_print_settings">
<doc xml:space="preserve">The initial #GtkPrintSettings for the print operation.</doc>
<type name="Gtk.PrintSettings"/>
</property>
<property name="web-view" writable="1" construct-only="1" transfer-ownership="none">
<doc xml:space="preserve">The #WebKitWebView that will be printed.</doc>
<type name="WebView"/>
</property>
<field name="parent">
<type name="GObject.Object" c:type="GObject"/>
</field>
<field name="priv">
<type name="PrintOperationPrivate" c:type="WebKitPrintOperationPrivate*"/>
</field>
<glib:signal name="create-custom-widget" when="last" version="2.16">
<doc xml:space="preserve">Emitted when displaying the print dialog with webkit_print_operation_run_dialog().
The returned #WebKitPrintCustomWidget will be added to the print dialog and
it will be owned by the @print_operation. However, the object is guaranteed
to be alive until the #WebKitPrintCustomWidget::apply is emitted.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">A #WebKitPrintCustomWidget that will be embedded in the dialog.</doc>
<type name="PrintCustomWidget"/>
</return-value>
</glib:signal>
<glib:signal name="failed" when="last">
<doc xml:space="preserve">Emitted when an error occurs while printing. The given @error, of the domain
%WEBKIT_PRINT_ERROR, contains further details of the failure.
The #WebKitPrintOperation::finished signal is emitted after this one.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="error" transfer-ownership="none">
<doc xml:space="preserve">the #GError that was triggered</doc>
<type name="GLib.Error"/>
</parameter>
</parameters>
</glib:signal>
<glib:signal name="finished" when="last">
<doc xml:space="preserve">Emitted when the print operation has finished doing everything
required for printing.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</glib:signal>
</class>
<record name="PrintOperationClass" c:type="WebKitPrintOperationClass" glib:is-gtype-struct-for="PrintOperation">
<field name="parent_class">
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
</field>
<field name="_webkit_reserved0" introspectable="0">
<callback name="_webkit_reserved0">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved1" introspectable="0">
<callback name="_webkit_reserved1">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved2" introspectable="0">
<callback name="_webkit_reserved2">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved3" introspectable="0">
<callback name="_webkit_reserved3">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
</record>
<record name="PrintOperationPrivate" c:type="WebKitPrintOperationPrivate" disguised="1"/>
<enumeration name="PrintOperationResponse" glib:type-name="WebKitPrintOperationResponse" glib:get-type="webkit_print_operation_response_get_type" c:type="WebKitPrintOperationResponse">
<doc xml:space="preserve">Enum values representing the response of the print dialog shown with
webkit_print_operation_run_dialog().</doc>
<member name="print" value="0" c:identifier="WEBKIT_PRINT_OPERATION_RESPONSE_PRINT" glib:nick="print" glib:name="WEBKIT_PRINT_OPERATION_RESPONSE_PRINT">
<doc xml:space="preserve">Print button was clicked in print dialog</doc>
</member>
<member name="cancel" value="1" c:identifier="WEBKIT_PRINT_OPERATION_RESPONSE_CANCEL" glib:nick="cancel" glib:name="WEBKIT_PRINT_OPERATION_RESPONSE_CANCEL">
<doc xml:space="preserve">Print dialog was cancelled</doc>
</member>
</enumeration>
<enumeration name="ProcessModel" version="2.4" glib:type-name="WebKitProcessModel" glib:get-type="webkit_process_model_get_type" c:type="WebKitProcessModel">
<doc xml:space="preserve">Enum values used for determining the #WebKitWebContext process model.</doc>
<member name="shared_secondary_process" value="0" c:identifier="WEBKIT_PROCESS_MODEL_SHARED_SECONDARY_PROCESS" glib:nick="shared-secondary-process" glib:name="WEBKIT_PROCESS_MODEL_SHARED_SECONDARY_PROCESS">
<doc xml:space="preserve">Deprecated 2.26.</doc>
</member>
<member name="multiple_secondary_processes" value="1" c:identifier="WEBKIT_PROCESS_MODEL_MULTIPLE_SECONDARY_PROCESSES" glib:nick="multiple-secondary-processes" glib:name="WEBKIT_PROCESS_MODEL_MULTIPLE_SECONDARY_PROCESSES">
<doc xml:space="preserve">Use one process
for each #WebKitWebView, while still allowing for some of them to
share a process in certain situations. The main advantage
of this process model is that the rendering process for a web view
can crash while the rest of the views keep working normally. This
process model is indicated for applications which may use a number
of web views and the content of in each must not interfere with the
rest &#x2014; for example a full-fledged web browser with support for
multiple tabs.</doc>
</member>
</enumeration>
<function-macro name="RESPONSE_POLICY_DECISION" c:identifier="WEBKIT_RESPONSE_POLICY_DECISION" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="RESPONSE_POLICY_DECISION_CLASS" c:identifier="WEBKIT_RESPONSE_POLICY_DECISION_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="RESPONSE_POLICY_DECISION_GET_CLASS" c:identifier="WEBKIT_RESPONSE_POLICY_DECISION_GET_CLASS" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<class name="ResponsePolicyDecision" c:symbol-prefix="response_policy_decision" c:type="WebKitResponsePolicyDecision" parent="PolicyDecision" glib:type-name="WebKitResponsePolicyDecision" glib:get-type="webkit_response_policy_decision_get_type" glib:type-struct="ResponsePolicyDecisionClass">
<method name="get_request" c:identifier="webkit_response_policy_decision_get_request" glib:get-property="request">
<doc xml:space="preserve">Return the #WebKitURIRequest associated with the response decision.
Modifications to the returned object are &lt;emphasis&gt;not&lt;/emphasis&gt; taken
into account when the request is sent over the network, and is intended
only to aid in evaluating whether a response decision should be taken or
not. To modify requests before they are sent over the network the
#WebKitPage::send-request signal can be used instead.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">The URI request that is associated with this policy decision.</doc>
<type name="URIRequest" c:type="WebKitURIRequest*"/>
</return-value>
<parameters>
<instance-parameter name="decision" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitResponsePolicyDecision</doc>
<type name="ResponsePolicyDecision" c:type="WebKitResponsePolicyDecision*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_response" c:identifier="webkit_response_policy_decision_get_response" glib:get-property="response">
<doc xml:space="preserve">Gets the value of the #WebKitResponsePolicyDecision:response property.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">The URI response that is associated with this policy decision.</doc>
<type name="URIResponse" c:type="WebKitURIResponse*"/>
</return-value>
<parameters>
<instance-parameter name="decision" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitResponsePolicyDecision</doc>
<type name="ResponsePolicyDecision" c:type="WebKitResponsePolicyDecision*"/>
</instance-parameter>
</parameters>
</method>
<method name="is_mime_type_supported" c:identifier="webkit_response_policy_decision_is_mime_type_supported" version="2.4">
<doc xml:space="preserve">Gets whether the MIME type of the response can be displayed in the #WebKitWebView
that triggered this policy decision request. See also webkit_web_view_can_show_mime_type().</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if the MIME type of the response is supported or %FALSE otherwise</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="decision" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitResponsePolicyDecision</doc>
<type name="ResponsePolicyDecision" c:type="WebKitResponsePolicyDecision*"/>
</instance-parameter>
</parameters>
</method>
<property name="request" transfer-ownership="none" getter="get_request">
<doc xml:space="preserve">This property contains the #WebKitURIRequest associated with this
policy decision.</doc>
<type name="URIRequest"/>
</property>
<property name="response" transfer-ownership="none" getter="get_response">
<doc xml:space="preserve">This property contains the #WebKitURIResponse associated with this
policy decision.</doc>
<type name="URIResponse"/>
</property>
<field name="parent">
<type name="PolicyDecision" c:type="WebKitPolicyDecision"/>
</field>
<field name="priv" readable="0" private="1">
<type name="ResponsePolicyDecisionPrivate" c:type="WebKitResponsePolicyDecisionPrivate*"/>
</field>
</class>
<record name="ResponsePolicyDecisionClass" c:type="WebKitResponsePolicyDecisionClass" glib:is-gtype-struct-for="ResponsePolicyDecision">
<field name="parent_class">
<type name="PolicyDecisionClass" c:type="WebKitPolicyDecisionClass"/>
</field>
<field name="_webkit_reserved0" introspectable="0">
<callback name="_webkit_reserved0">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved1" introspectable="0">
<callback name="_webkit_reserved1">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved2" introspectable="0">
<callback name="_webkit_reserved2">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved3" introspectable="0">
<callback name="_webkit_reserved3">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
</record>
<record name="ResponsePolicyDecisionPrivate" c:type="WebKitResponsePolicyDecisionPrivate" disguised="1"/>
<function-macro name="SECURITY_MANAGER" c:identifier="WEBKIT_SECURITY_MANAGER" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="SECURITY_MANAGER_CLASS" c:identifier="WEBKIT_SECURITY_MANAGER_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="SECURITY_MANAGER_GET_CLASS" c:identifier="WEBKIT_SECURITY_MANAGER_GET_CLASS" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="SETTINGS" c:identifier="WEBKIT_SETTINGS" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="SETTINGS_CLASS" c:identifier="WEBKIT_SETTINGS_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="SETTINGS_GET_CLASS" c:identifier="WEBKIT_SETTINGS_GET_CLASS" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<enumeration name="SaveMode" glib:type-name="WebKitSaveMode" glib:get-type="webkit_save_mode_get_type" c:type="WebKitSaveMode">
<doc xml:space="preserve">Enum values to specify the different ways in which a #WebKitWebView
can save its current web page into a self-contained file.</doc>
<member name="mhtml" value="0" c:identifier="WEBKIT_SAVE_MODE_MHTML" glib:nick="mhtml" glib:name="WEBKIT_SAVE_MODE_MHTML">
<doc xml:space="preserve">Save the current page using the MHTML format.</doc>
</member>
</enumeration>
<record name="ScriptDialog" c:type="WebKitScriptDialog" glib:type-name="WebKitScriptDialog" glib:get-type="webkit_script_dialog_get_type" c:symbol-prefix="script_dialog">
<method name="close" c:identifier="webkit_script_dialog_close" version="2.24">
<doc xml:space="preserve">Close @dialog. When handling a #WebKitScriptDialog asynchronously (webkit_script_dialog_ref()
was called in #WebKitWebView::script-dialog callback), this function needs to be called to notify
that we are done with the script dialog. The dialog will be closed on destruction if this function
hasn't been called before.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="dialog" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitScriptDialog</doc>
<type name="ScriptDialog" c:type="WebKitScriptDialog*"/>
</instance-parameter>
</parameters>
</method>
<method name="confirm_set_confirmed" c:identifier="webkit_script_dialog_confirm_set_confirmed">
<doc xml:space="preserve">This method is used for %WEBKIT_SCRIPT_DIALOG_CONFIRM and %WEBKIT_SCRIPT_DIALOG_BEFORE_UNLOAD_CONFIRM dialogs when
#WebKitWebView::script-dialog signal is emitted to set whether the user
confirmed the dialog or not. The default implementation of #WebKitWebView::script-dialog
signal sets %TRUE when the OK or Stay buttons are clicked and %FALSE otherwise.
It's an error to use this method with a #WebKitScriptDialog that is not of type
%WEBKIT_SCRIPT_DIALOG_CONFIRM or %WEBKIT_SCRIPT_DIALOG_BEFORE_UNLOAD_CONFIRM</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="dialog" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitScriptDialog</doc>
<type name="ScriptDialog" c:type="WebKitScriptDialog*"/>
</instance-parameter>
<parameter name="confirmed" transfer-ownership="none">
<doc xml:space="preserve">whether user confirmed the dialog</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="get_dialog_type" c:identifier="webkit_script_dialog_get_dialog_type">
<doc xml:space="preserve">Get the dialog type of a #WebKitScriptDialog.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the #WebKitScriptDialogType of @dialog</doc>
<type name="ScriptDialogType" c:type="WebKitScriptDialogType"/>
</return-value>
<parameters>
<instance-parameter name="dialog" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitScriptDialog</doc>
<type name="ScriptDialog" c:type="WebKitScriptDialog*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_message" c:identifier="webkit_script_dialog_get_message">
<doc xml:space="preserve">Get the message of a #WebKitScriptDialog.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the message of @dialog.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="dialog" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitScriptDialog</doc>
<type name="ScriptDialog" c:type="WebKitScriptDialog*"/>
</instance-parameter>
</parameters>
</method>
<method name="prompt_get_default_text" c:identifier="webkit_script_dialog_prompt_get_default_text">
<doc xml:space="preserve">Get the default text of a #WebKitScriptDialog of type %WEBKIT_SCRIPT_DIALOG_PROMPT.
It's an error to use this method with a #WebKitScriptDialog that is not of type
%WEBKIT_SCRIPT_DIALOG_PROMPT.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the default text of @dialog</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="dialog" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitScriptDialog</doc>
<type name="ScriptDialog" c:type="WebKitScriptDialog*"/>
</instance-parameter>
</parameters>
</method>
<method name="prompt_set_text" c:identifier="webkit_script_dialog_prompt_set_text">
<doc xml:space="preserve">This method is used for %WEBKIT_SCRIPT_DIALOG_PROMPT dialogs when
#WebKitWebView::script-dialog signal is emitted to set the text
entered by the user. The default implementation of #WebKitWebView::script-dialog
signal sets the text of the entry form when OK button is clicked, otherwise %NULL is set.
It's an error to use this method with a #WebKitScriptDialog that is not of type
%WEBKIT_SCRIPT_DIALOG_PROMPT.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="dialog" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitScriptDialog</doc>
<type name="ScriptDialog" c:type="WebKitScriptDialog*"/>
</instance-parameter>
<parameter name="text" transfer-ownership="none">
<doc xml:space="preserve">the text to set</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="ref" c:identifier="webkit_script_dialog_ref" version="2.24">
<doc xml:space="preserve">Atomically increments the reference count of @dialog by one. This
function is MT-safe and may be called from any thread.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">The passed in #WebKitScriptDialog</doc>
<type name="ScriptDialog" c:type="WebKitScriptDialog*"/>
</return-value>
<parameters>
<instance-parameter name="dialog" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitScriptDialog</doc>
<type name="ScriptDialog" c:type="WebKitScriptDialog*"/>
</instance-parameter>
</parameters>
</method>
<method name="unref" c:identifier="webkit_script_dialog_unref" version="2.24">
<doc xml:space="preserve">Atomically decrements the reference count of @dialog by one. If the
reference count drops to 0, all memory allocated by the #WebKitScriptdialog is
released. This function is MT-safe and may be called from any
thread.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="dialog" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitScriptDialog</doc>
<type name="ScriptDialog" c:type="WebKitScriptDialog*"/>
</instance-parameter>
</parameters>
</method>
</record>
<enumeration name="ScriptDialogType" glib:type-name="WebKitScriptDialogType" glib:get-type="webkit_script_dialog_type_get_type" c:type="WebKitScriptDialogType">
<doc xml:space="preserve">Enum values used for determining the type of #WebKitScriptDialog</doc>
<member name="alert" value="0" c:identifier="WEBKIT_SCRIPT_DIALOG_ALERT" glib:nick="alert" glib:name="WEBKIT_SCRIPT_DIALOG_ALERT">
<doc xml:space="preserve">Alert script dialog, used to show a
message to the user.</doc>
</member>
<member name="confirm" value="1" c:identifier="WEBKIT_SCRIPT_DIALOG_CONFIRM" glib:nick="confirm" glib:name="WEBKIT_SCRIPT_DIALOG_CONFIRM">
<doc xml:space="preserve">Confirm script dialog, used to ask
confirmation to the user.</doc>
</member>
<member name="prompt" value="2" c:identifier="WEBKIT_SCRIPT_DIALOG_PROMPT" glib:nick="prompt" glib:name="WEBKIT_SCRIPT_DIALOG_PROMPT">
<doc xml:space="preserve">Prompt script dialog, used to ask
information to the user.</doc>
</member>
<member name="before_unload_confirm" value="3" c:identifier="WEBKIT_SCRIPT_DIALOG_BEFORE_UNLOAD_CONFIRM" glib:nick="before-unload-confirm" glib:name="WEBKIT_SCRIPT_DIALOG_BEFORE_UNLOAD_CONFIRM">
<doc xml:space="preserve">Before unload confirm dialog,
used to ask confirmation to leave the current page to the user. Since 2.12</doc>
</member>
</enumeration>
<class name="SecurityManager" c:symbol-prefix="security_manager" c:type="WebKitSecurityManager" parent="GObject.Object" glib:type-name="WebKitSecurityManager" glib:get-type="webkit_security_manager_get_type" glib:type-struct="SecurityManagerClass">
<method name="register_uri_scheme_as_cors_enabled" c:identifier="webkit_security_manager_register_uri_scheme_as_cors_enabled">
<doc xml:space="preserve">Register @scheme as a CORS (Cross-origin resource sharing) enabled scheme.
This means that CORS requests are allowed. See W3C CORS specification
http://www.w3.org/TR/cors/.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="security_manager" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSecurityManager</doc>
<type name="SecurityManager" c:type="WebKitSecurityManager*"/>
</instance-parameter>
<parameter name="scheme" transfer-ownership="none">
<doc xml:space="preserve">a URI scheme</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="register_uri_scheme_as_display_isolated" c:identifier="webkit_security_manager_register_uri_scheme_as_display_isolated">
<doc xml:space="preserve">Register @scheme as a display isolated scheme. This means that pages cannot
display these URIs unless they are from the same scheme.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="security_manager" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSecurityManager</doc>
<type name="SecurityManager" c:type="WebKitSecurityManager*"/>
</instance-parameter>
<parameter name="scheme" transfer-ownership="none">
<doc xml:space="preserve">a URI scheme</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="register_uri_scheme_as_empty_document" c:identifier="webkit_security_manager_register_uri_scheme_as_empty_document">
<doc xml:space="preserve">Register @scheme as an empty document scheme. This means that
they are allowed to commit synchronously.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="security_manager" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSecurityManager</doc>
<type name="SecurityManager" c:type="WebKitSecurityManager*"/>
</instance-parameter>
<parameter name="scheme" transfer-ownership="none">
<doc xml:space="preserve">a URI scheme</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="register_uri_scheme_as_local" c:identifier="webkit_security_manager_register_uri_scheme_as_local">
<doc xml:space="preserve">Register @scheme as a local scheme. This means that other non-local pages
cannot link to or access URIs of this scheme.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="security_manager" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSecurityManager</doc>
<type name="SecurityManager" c:type="WebKitSecurityManager*"/>
</instance-parameter>
<parameter name="scheme" transfer-ownership="none">
<doc xml:space="preserve">a URI scheme</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="register_uri_scheme_as_no_access" c:identifier="webkit_security_manager_register_uri_scheme_as_no_access">
<doc xml:space="preserve">Register @scheme as a no-access scheme. This means that pages loaded
with this URI scheme cannot access pages loaded with any other URI scheme.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="security_manager" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSecurityManager</doc>
<type name="SecurityManager" c:type="WebKitSecurityManager*"/>
</instance-parameter>
<parameter name="scheme" transfer-ownership="none">
<doc xml:space="preserve">a URI scheme</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="register_uri_scheme_as_secure" c:identifier="webkit_security_manager_register_uri_scheme_as_secure">
<doc xml:space="preserve">Register @scheme as a secure scheme. This means that mixed
content warnings won't be generated for this scheme when
included by an HTTPS page.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="security_manager" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSecurityManager</doc>
<type name="SecurityManager" c:type="WebKitSecurityManager*"/>
</instance-parameter>
<parameter name="scheme" transfer-ownership="none">
<doc xml:space="preserve">a URI scheme</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="uri_scheme_is_cors_enabled" c:identifier="webkit_security_manager_uri_scheme_is_cors_enabled">
<doc xml:space="preserve">Whether @scheme is considered as a CORS enabled scheme.
See also webkit_security_manager_register_uri_scheme_as_cors_enabled().</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if @scheme is a CORS enabled scheme or %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="security_manager" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSecurityManager</doc>
<type name="SecurityManager" c:type="WebKitSecurityManager*"/>
</instance-parameter>
<parameter name="scheme" transfer-ownership="none">
<doc xml:space="preserve">a URI scheme</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="uri_scheme_is_display_isolated" c:identifier="webkit_security_manager_uri_scheme_is_display_isolated">
<doc xml:space="preserve">Whether @scheme is considered as a display isolated scheme.
See also webkit_security_manager_register_uri_scheme_as_display_isolated().</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if @scheme is a display isolated scheme or %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="security_manager" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSecurityManager</doc>
<type name="SecurityManager" c:type="WebKitSecurityManager*"/>
</instance-parameter>
<parameter name="scheme" transfer-ownership="none">
<doc xml:space="preserve">a URI scheme</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="uri_scheme_is_empty_document" c:identifier="webkit_security_manager_uri_scheme_is_empty_document">
<doc xml:space="preserve">Whether @scheme is considered as an empty document scheme.
See also webkit_security_manager_register_uri_scheme_as_empty_document().</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if @scheme is an empty document scheme or %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="security_manager" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSecurityManager</doc>
<type name="SecurityManager" c:type="WebKitSecurityManager*"/>
</instance-parameter>
<parameter name="scheme" transfer-ownership="none">
<doc xml:space="preserve">a URI scheme</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="uri_scheme_is_local" c:identifier="webkit_security_manager_uri_scheme_is_local">
<doc xml:space="preserve">Whether @scheme is considered as a local scheme.
See also webkit_security_manager_register_uri_scheme_as_local().</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if @scheme is a local scheme or %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="security_manager" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSecurityManager</doc>
<type name="SecurityManager" c:type="WebKitSecurityManager*"/>
</instance-parameter>
<parameter name="scheme" transfer-ownership="none">
<doc xml:space="preserve">a URI scheme</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="uri_scheme_is_no_access" c:identifier="webkit_security_manager_uri_scheme_is_no_access">
<doc xml:space="preserve">Whether @scheme is considered as a no-access scheme.
See also webkit_security_manager_register_uri_scheme_as_no_access().</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if @scheme is a no-access scheme or %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="security_manager" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSecurityManager</doc>
<type name="SecurityManager" c:type="WebKitSecurityManager*"/>
</instance-parameter>
<parameter name="scheme" transfer-ownership="none">
<doc xml:space="preserve">a URI scheme</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="uri_scheme_is_secure" c:identifier="webkit_security_manager_uri_scheme_is_secure">
<doc xml:space="preserve">Whether @scheme is considered as a secure scheme.
See also webkit_security_manager_register_uri_scheme_as_secure().</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if @scheme is a secure scheme or %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="security_manager" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSecurityManager</doc>
<type name="SecurityManager" c:type="WebKitSecurityManager*"/>
</instance-parameter>
<parameter name="scheme" transfer-ownership="none">
<doc xml:space="preserve">a URI scheme</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<field name="parent">
<type name="GObject.Object" c:type="GObject"/>
</field>
<field name="priv">
<type name="SecurityManagerPrivate" c:type="WebKitSecurityManagerPrivate*"/>
</field>
</class>
<record name="SecurityManagerClass" c:type="WebKitSecurityManagerClass" glib:is-gtype-struct-for="SecurityManager">
<field name="parent_class">
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
</field>
<field name="_webkit_reserved0" introspectable="0">
<callback name="_webkit_reserved0">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved1" introspectable="0">
<callback name="_webkit_reserved1">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved2" introspectable="0">
<callback name="_webkit_reserved2">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved3" introspectable="0">
<callback name="_webkit_reserved3">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
</record>
<record name="SecurityManagerPrivate" c:type="WebKitSecurityManagerPrivate" disguised="1"/>
<record name="SecurityOrigin" c:type="WebKitSecurityOrigin" glib:type-name="WebKitSecurityOrigin" glib:get-type="webkit_security_origin_get_type" c:symbol-prefix="security_origin">
<constructor name="new" c:identifier="webkit_security_origin_new" version="2.16">
<doc xml:space="preserve">Create a new security origin from the provided protocol, host and
port.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">A #WebKitSecurityOrigin.</doc>
<type name="SecurityOrigin" c:type="WebKitSecurityOrigin*"/>
</return-value>
<parameters>
<parameter name="protocol" transfer-ownership="none">
<doc xml:space="preserve">The protocol for the new origin</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="host" transfer-ownership="none">
<doc xml:space="preserve">The host for the new origin</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="port" transfer-ownership="none">
<doc xml:space="preserve">The port number for the new origin, or 0 to indicate the
default port for @protocol</doc>
<type name="guint16" c:type="guint16"/>
</parameter>
</parameters>
</constructor>
<constructor name="new_for_uri" c:identifier="webkit_security_origin_new_for_uri" version="2.16">
<doc xml:space="preserve">Create a new security origin from the provided URI. Components of
@uri other than protocol, host, and port do not affect the created
#WebKitSecurityOrigin.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">A #WebKitSecurityOrigin.</doc>
<type name="SecurityOrigin" c:type="WebKitSecurityOrigin*"/>
</return-value>
<parameters>
<parameter name="uri" transfer-ownership="none">
<doc xml:space="preserve">The URI for the new origin</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</constructor>
<method name="get_host" c:identifier="webkit_security_origin_get_host" version="2.16">
<doc xml:space="preserve">Gets the hostname of @origin. It is reasonable for this to be %NULL
if its protocol does not require a host component.</doc>
<return-value transfer-ownership="none" nullable="1">
<doc xml:space="preserve">The host of the #WebKitSecurityOrigin</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="origin" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSecurityOrigin</doc>
<type name="SecurityOrigin" c:type="WebKitSecurityOrigin*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_port" c:identifier="webkit_security_origin_get_port" version="2.16">
<doc xml:space="preserve">Gets the port of @origin. This function will always return 0 if the
port is the default port for the given protocol. For example,
http://example.com has the same security origin as
http://example.com:80, and this function will return 0 for a
#WebKitSecurityOrigin constructed from either URI.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">The port of the #WebKitSecurityOrigin.</doc>
<type name="guint16" c:type="guint16"/>
</return-value>
<parameters>
<instance-parameter name="origin" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSecurityOrigin</doc>
<type name="SecurityOrigin" c:type="WebKitSecurityOrigin*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_protocol" c:identifier="webkit_security_origin_get_protocol" version="2.16">
<doc xml:space="preserve">Gets the protocol of @origin.</doc>
<return-value transfer-ownership="none" nullable="1">
<doc xml:space="preserve">The protocol of the #WebKitSecurityOrigin</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="origin" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSecurityOrigin</doc>
<type name="SecurityOrigin" c:type="WebKitSecurityOrigin*"/>
</instance-parameter>
</parameters>
</method>
<method name="is_opaque" c:identifier="webkit_security_origin_is_opaque" version="2.16" deprecated="1" deprecated-version="2.32">
<doc xml:space="preserve">This function returns %FALSE. #WebKitSecurityOrigin is now a simple
wrapper around a &amp;lt;protocol, host, port&amp;gt; triplet, and no longer
represents an origin as defined by web standards that may be opaque.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%FALSE</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="origin" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSecurityOrigin</doc>
<type name="SecurityOrigin" c:type="WebKitSecurityOrigin*"/>
</instance-parameter>
</parameters>
</method>
<method name="ref" c:identifier="webkit_security_origin_ref" version="2.16">
<doc xml:space="preserve">Atomically increments the reference count of @origin by one.
This function is MT-safe and may be called from any thread.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">The passed #WebKitSecurityOrigin</doc>
<type name="SecurityOrigin" c:type="WebKitSecurityOrigin*"/>
</return-value>
<parameters>
<instance-parameter name="origin" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSecurityOrigin</doc>
<type name="SecurityOrigin" c:type="WebKitSecurityOrigin*"/>
</instance-parameter>
</parameters>
</method>
<method name="to_string" c:identifier="webkit_security_origin_to_string" version="2.16">
<doc xml:space="preserve">Gets a string representation of @origin. The string representation
is a valid URI with only protocol, host, and port components, or
%NULL.</doc>
<return-value transfer-ownership="full" nullable="1">
<doc xml:space="preserve">a URI representing @origin.</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
<parameters>
<instance-parameter name="origin" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSecurityOrigin</doc>
<type name="SecurityOrigin" c:type="WebKitSecurityOrigin*"/>
</instance-parameter>
</parameters>
</method>
<method name="unref" c:identifier="webkit_security_origin_unref" version="2.16">
<doc xml:space="preserve">Atomically decrements the reference count of @origin by one.
If the reference count drops to 0, all memory allocated by
#WebKitSecurityOrigin is released. This function is MT-safe and may be
called from any thread.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="origin" transfer-ownership="none">
<doc xml:space="preserve">A #WebKitSecurityOrigin</doc>
<type name="SecurityOrigin" c:type="WebKitSecurityOrigin*"/>
</instance-parameter>
</parameters>
</method>
</record>
<class name="Settings" c:symbol-prefix="settings" c:type="WebKitSettings" parent="GObject.Object" glib:type-name="WebKitSettings" glib:get-type="webkit_settings_get_type" glib:type-struct="SettingsClass">
<constructor name="new" c:identifier="webkit_settings_new">
<doc xml:space="preserve">Creates a new #WebKitSettings instance with default values. It must
be manually attached to a #WebKitWebView.
See also webkit_settings_new_with_settings().</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">a new #WebKitSettings instance.</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</return-value>
</constructor>
<constructor name="new_with_settings" c:identifier="webkit_settings_new_with_settings" introspectable="0">
<doc xml:space="preserve">Creates a new #WebKitSettings instance with the given settings. It must
be manually attached to a #WebKitWebView.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">a new #WebKitSettings instance.</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</return-value>
<parameters>
<parameter name="first_setting_name" transfer-ownership="none">
<doc xml:space="preserve">name of first setting to set</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="..." transfer-ownership="none">
<doc xml:space="preserve">value of first setting, followed by more settings,
%NULL-terminated</doc>
<varargs/>
</parameter>
</parameters>
</constructor>
<function name="font_size_to_pixels" c:identifier="webkit_settings_font_size_to_pixels" version="2.20">
<doc xml:space="preserve">Convert @points to the equivalent value in pixels, based on the current
screen DPI. Applications can use this function to convert font size values
in points to font size values in pixels when setting the font size properties
of #WebKitSettings.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the equivalent font size in pixels.</doc>
<type name="guint32" c:type="guint32"/>
</return-value>
<parameters>
<parameter name="points" transfer-ownership="none">
<doc xml:space="preserve">the font size in points to convert to pixels</doc>
<type name="guint32" c:type="guint32"/>
</parameter>
</parameters>
</function>
<function name="font_size_to_points" c:identifier="webkit_settings_font_size_to_points" version="2.20">
<doc xml:space="preserve">Convert @pixels to the equivalent value in points, based on the current
screen DPI. Applications can use this function to convert font size values
in pixels to font size values in points when getting the font size properties
of #WebKitSettings.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the equivalent font size in points.</doc>
<type name="guint32" c:type="guint32"/>
</return-value>
<parameters>
<parameter name="pixels" transfer-ownership="none">
<doc xml:space="preserve">the font size in pixels to convert to points</doc>
<type name="guint32" c:type="guint32"/>
</parameter>
</parameters>
</function>
<method name="get_allow_file_access_from_file_urls" c:identifier="webkit_settings_get_allow_file_access_from_file_urls" glib:get-property="allow-file-access-from-file-urls" version="2.10">
<doc xml:space="preserve">Get the #WebKitSettings:allow-file-access-from-file-urls property.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE If file access from file URLs is allowed or %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_allow_modal_dialogs" c:identifier="webkit_settings_get_allow_modal_dialogs" glib:get-property="allow-modal-dialogs">
<doc xml:space="preserve">Get the #WebKitSettings:allow-modal-dialogs property.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if it's allowed to create and run modal dialogs or %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_allow_top_navigation_to_data_urls" c:identifier="webkit_settings_get_allow_top_navigation_to_data_urls" glib:get-property="allow-top-navigation-to-data-urls" version="2.28">
<doc xml:space="preserve">Get the #WebKitSettings:allow-top-navigation-to-data-urls property.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE If navigation to data URLs from the top frame is allowed or %FALSE\
otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_allow_universal_access_from_file_urls" c:identifier="webkit_settings_get_allow_universal_access_from_file_urls" glib:get-property="allow-universal-access-from-file-urls" version="2.14">
<doc xml:space="preserve">Get the #WebKitSettings:allow-universal-access-from-file-urls property.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE If universal access from file URLs is allowed or %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_auto_load_images" c:identifier="webkit_settings_get_auto_load_images" glib:get-property="auto-load-images">
<doc xml:space="preserve">Get the #WebKitSettings:auto-load-images property.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE If auto loading of images is enabled or %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_cursive_font_family" c:identifier="webkit_settings_get_cursive_font_family" glib:get-property="cursive-font-family">
<doc xml:space="preserve">Gets the #WebKitSettings:cursive-font-family property.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">The default font family used to display content marked with cursive font.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_default_charset" c:identifier="webkit_settings_get_default_charset" glib:get-property="default-charset">
<doc xml:space="preserve">Gets the #WebKitSettings:default-charset property.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">Default charset.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_default_font_family" c:identifier="webkit_settings_get_default_font_family" glib:get-property="default-font-family">
<return-value transfer-ownership="none">
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_default_font_size" c:identifier="webkit_settings_get_default_font_size" glib:get-property="default-font-size">
<doc xml:space="preserve">Gets the #WebKitSettings:default-font-size property.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">The default font size, in pixels.</doc>
<type name="guint32" c:type="guint32"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_default_monospace_font_size" c:identifier="webkit_settings_get_default_monospace_font_size" glib:get-property="default-monospace-font-size">
<doc xml:space="preserve">Gets the #WebKitSettings:default-monospace-font-size property.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">Default monospace font size, in pixels.</doc>
<type name="guint32" c:type="guint32"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_draw_compositing_indicators" c:identifier="webkit_settings_get_draw_compositing_indicators" glib:get-property="draw-compositing-indicators">
<doc xml:space="preserve">Get the #WebKitSettings:draw-compositing-indicators property.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE If compositing borders are drawn or %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_enable_accelerated_2d_canvas" c:identifier="webkit_settings_get_enable_accelerated_2d_canvas" glib:get-property="enable-accelerated-2d-canvas" version="2.2" deprecated="1" deprecated-version="2.32.">
<doc xml:space="preserve">Get the #WebKitSettings:enable-accelerated-2d-canvas property.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if accelerated 2D canvas is enabled or %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_enable_back_forward_navigation_gestures" c:identifier="webkit_settings_get_enable_back_forward_navigation_gestures" glib:get-property="enable-back-forward-navigation-gestures" version="2.24">
<doc xml:space="preserve">Get the #WebKitSettings:enable-back-forward-navigation-gestures property.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if horizontal swipe gesture will trigger back-forward navigaiton or %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_enable_caret_browsing" c:identifier="webkit_settings_get_enable_caret_browsing" glib:get-property="enable-caret-browsing">
<doc xml:space="preserve">Get the #WebKitSettings:enable-caret-browsing property.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE If caret browsing is enabled or %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_enable_developer_extras" c:identifier="webkit_settings_get_enable_developer_extras" glib:get-property="enable-developer-extras">
<doc xml:space="preserve">Get the #WebKitSettings:enable-developer-extras property.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE If developer extras is enabled or %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_enable_dns_prefetching" c:identifier="webkit_settings_get_enable_dns_prefetching" glib:get-property="enable-dns-prefetching">
<doc xml:space="preserve">Get the #WebKitSettings:enable-dns-prefetching property.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE If DNS prefetching is enabled or %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_enable_encrypted_media" c:identifier="webkit_settings_get_enable_encrypted_media" glib:get-property="enable-encrypted-media" version="2.20">
<doc xml:space="preserve">Get the #WebKitSettings:enable-encrypted-media property.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if EncryptedMedia support is enabled or %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_enable_frame_flattening" c:identifier="webkit_settings_get_enable_frame_flattening" glib:get-property="enable-frame-flattening">
<doc xml:space="preserve">Get the #WebKitSettings:enable-frame-flattening property.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE If frame flattening is enabled or %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_enable_fullscreen" c:identifier="webkit_settings_get_enable_fullscreen" glib:get-property="enable-fullscreen">
<doc xml:space="preserve">Get the #WebKitSettings:enable-fullscreen property.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE If fullscreen support is enabled or %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_enable_html5_database" c:identifier="webkit_settings_get_enable_html5_database" glib:get-property="enable-html5-database">
<doc xml:space="preserve">Get the #WebKitSettings:enable-html5-database property.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if IndexedDB support is enabled or %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_enable_html5_local_storage" c:identifier="webkit_settings_get_enable_html5_local_storage" glib:get-property="enable-html5-local-storage">
<doc xml:space="preserve">Get the #WebKitSettings:enable-html5-local-storage property.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE If HTML5 local storage support is enabled or %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_enable_hyperlink_auditing" c:identifier="webkit_settings_get_enable_hyperlink_auditing" glib:get-property="enable-hyperlink-auditing">
<doc xml:space="preserve">Get the #WebKitSettings:enable-hyperlink-auditing property.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE If hyper link auditing is enabled or %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_enable_java" c:identifier="webkit_settings_get_enable_java" glib:get-property="enable-java">
<doc xml:space="preserve">Get the #WebKitSettings:enable-java property.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE If Java is enabled or %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_enable_javascript" c:identifier="webkit_settings_get_enable_javascript" glib:get-property="enable-javascript">
<doc xml:space="preserve">Get the #WebKitSettings:enable-javascript property.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE If JavaScript is enabled or %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_enable_javascript_markup" c:identifier="webkit_settings_get_enable_javascript_markup" glib:get-property="enable-javascript-markup" version="2.24">
<doc xml:space="preserve">Get the #WebKitSettings:enable-javascript-markup property.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if JavaScript markup is enabled or %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_enable_media" c:identifier="webkit_settings_get_enable_media" glib:get-property="enable-media" version="2.26">
<doc xml:space="preserve">Get the #WebKitSettings:enable-media property.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if media support is enabled or %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_enable_media_capabilities" c:identifier="webkit_settings_get_enable_media_capabilities" glib:get-property="enable-media-capabilities" version="2.22">
<doc xml:space="preserve">Get the #WebKitSettings:enable-media-capabilities property.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if MediaCapabilities support is enabled or %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_enable_media_stream" c:identifier="webkit_settings_get_enable_media_stream" glib:get-property="enable-media-stream" version="2.4">
<doc xml:space="preserve">Get the #WebKitSettings:enable-media-stream property.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE If mediastream support is enabled or %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_enable_mediasource" c:identifier="webkit_settings_get_enable_mediasource" glib:get-property="enable-mediasource" version="2.4">
<doc xml:space="preserve">Get the #WebKitSettings:enable-mediasource property.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE If MediaSource support is enabled or %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_enable_mock_capture_devices" c:identifier="webkit_settings_get_enable_mock_capture_devices" glib:get-property="enable-mock-capture-devices" version="2.24">
<doc xml:space="preserve">Get the #WebKitSettings:enable-mock-capture-devices property.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE If mock capture devices is enabled or %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_enable_offline_web_application_cache" c:identifier="webkit_settings_get_enable_offline_web_application_cache" glib:get-property="enable-offline-web-application-cache">
<doc xml:space="preserve">Get the #WebKitSettings:enable-offline-web-application-cache property.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE If HTML5 offline web application cache support is enabled or %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_enable_page_cache" c:identifier="webkit_settings_get_enable_page_cache" glib:get-property="enable-page-cache">
<doc xml:space="preserve">Get the #WebKitSettings:enable-page-cache property.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if page cache enabled or %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_enable_plugins" c:identifier="webkit_settings_get_enable_plugins" glib:get-property="enable-plugins" deprecated="1" deprecated-version="2.32">
<doc xml:space="preserve">Get the #WebKitSettings:enable-plugins property.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE If plugins are enabled or %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_enable_private_browsing" c:identifier="webkit_settings_get_enable_private_browsing" glib:get-property="enable-private-browsing" deprecated="1" deprecated-version="2.16.">
<doc xml:space="preserve">Get the #WebKitSettings:enable-private-browsing property.</doc>
<doc-deprecated xml:space="preserve">Use #WebKitWebView:is-ephemeral or #WebKitWebContext:is-ephemeral instead.</doc-deprecated>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE If private browsing is enabled or %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_enable_resizable_text_areas" c:identifier="webkit_settings_get_enable_resizable_text_areas" glib:get-property="enable-resizable-text-areas">
<doc xml:space="preserve">Get the #WebKitSettings:enable-resizable-text-areas property.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE If text areas can be resized or %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_enable_site_specific_quirks" c:identifier="webkit_settings_get_enable_site_specific_quirks" glib:get-property="enable-site-specific-quirks">
<doc xml:space="preserve">Get the #WebKitSettings:enable-site-specific-quirks property.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if site specific quirks are enabled or %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_enable_smooth_scrolling" c:identifier="webkit_settings_get_enable_smooth_scrolling" glib:get-property="enable-smooth-scrolling">
<doc xml:space="preserve">Get the #WebKitSettings:enable-smooth-scrolling property.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if smooth scrolling is enabled or %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_enable_spatial_navigation" c:identifier="webkit_settings_get_enable_spatial_navigation" glib:get-property="enable-spatial-navigation" version="2.2">
<doc xml:space="preserve">Get the #WebKitSettings:enable-spatial-navigation property.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE If HTML5 spatial navigation support is enabled or %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_enable_tabs_to_links" c:identifier="webkit_settings_get_enable_tabs_to_links" glib:get-property="enable-tabs-to-links">
<doc xml:space="preserve">Get the #WebKitSettings:enable-tabs-to-links property.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE If tabs to link is enabled or %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_enable_webaudio" c:identifier="webkit_settings_get_enable_webaudio" glib:get-property="enable-webaudio">
<doc xml:space="preserve">Get the #WebKitSettings:enable-webaudio property.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE If webaudio support is enabled or %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_enable_webgl" c:identifier="webkit_settings_get_enable_webgl" glib:get-property="enable-webgl">
<doc xml:space="preserve">Get the #WebKitSettings:enable-webgl property.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE If WebGL support is enabled or %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_enable_write_console_messages_to_stdout" c:identifier="webkit_settings_get_enable_write_console_messages_to_stdout" glib:get-property="enable-write-console-messages-to-stdout" version="2.2">
<doc xml:space="preserve">Get the #WebKitSettings:enable-write-console-messages-to-stdout property.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if writing console messages to stdout is enabled or %FALSE
otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_enable_xss_auditor" c:identifier="webkit_settings_get_enable_xss_auditor" glib:get-property="enable-xss-auditor">
<doc xml:space="preserve">Get the #WebKitSettings:enable-xss-auditor property.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE If XSS auditing is enabled or %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_fantasy_font_family" c:identifier="webkit_settings_get_fantasy_font_family" glib:get-property="fantasy-font-family">
<doc xml:space="preserve">Gets the #WebKitSettings:fantasy-font-family property.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">The default font family used to display content marked with fantasy font.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_hardware_acceleration_policy" c:identifier="webkit_settings_get_hardware_acceleration_policy" glib:get-property="hardware-acceleration-policy" version="2.16">
<doc xml:space="preserve">Get the #WebKitSettings:hardware-acceleration-policy property.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">a #WebKitHardwareAccelerationPolicy</doc>
<type name="HardwareAccelerationPolicy" c:type="WebKitHardwareAccelerationPolicy"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_javascript_can_access_clipboard" c:identifier="webkit_settings_get_javascript_can_access_clipboard" glib:get-property="javascript-can-access-clipboard">
<doc xml:space="preserve">Get the #WebKitSettings:javascript-can-access-clipboard property.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE If javascript-can-access-clipboard is enabled or %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_javascript_can_open_windows_automatically" c:identifier="webkit_settings_get_javascript_can_open_windows_automatically" glib:get-property="javascript-can-open-windows-automatically">
<doc xml:space="preserve">Get the #WebKitSettings:javascript-can-open-windows-automatically property.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE If JavaScript can open window automatically or %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_load_icons_ignoring_image_load_setting" c:identifier="webkit_settings_get_load_icons_ignoring_image_load_setting" glib:get-property="load-icons-ignoring-image-load-setting">
<doc xml:space="preserve">Get the #WebKitSettings:load-icons-ignoring-image-load-setting property.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE If site icon can be loaded irrespective of image loading preference or %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_media_content_types_requiring_hardware_support" c:identifier="webkit_settings_get_media_content_types_requiring_hardware_support" glib:get-property="media-content-types-requiring-hardware-support" version="2.30">
<doc xml:space="preserve">Gets the #WebKitSettings:media-content-types-requiring-hardware-support property.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">Media content types requiring hardware support, or %NULL.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_media_playback_allows_inline" c:identifier="webkit_settings_get_media_playback_allows_inline" glib:get-property="media-playback-allows-inline">
<doc xml:space="preserve">Get the #WebKitSettings:media-playback-allows-inline property.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE If inline playback is allowed for media
or %FALSE if only fullscreen playback is allowed.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_media_playback_requires_user_gesture" c:identifier="webkit_settings_get_media_playback_requires_user_gesture" glib:get-property="media-playback-requires-user-gesture">
<doc xml:space="preserve">Get the #WebKitSettings:media-playback-requires-user-gesture property.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE If an user gesture is needed to play or load media
or %FALSE if no user gesture is needed.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_minimum_font_size" c:identifier="webkit_settings_get_minimum_font_size" glib:get-property="minimum-font-size">
<doc xml:space="preserve">Gets the #WebKitSettings:minimum-font-size property.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">Minimum font size, in pixels.</doc>
<type name="guint32" c:type="guint32"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_monospace_font_family" c:identifier="webkit_settings_get_monospace_font_family" glib:get-property="monospace-font-family">
<doc xml:space="preserve">Gets the #WebKitSettings:monospace-font-family property.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">Default font family used to display content marked with monospace font.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_pictograph_font_family" c:identifier="webkit_settings_get_pictograph_font_family" glib:get-property="pictograph-font-family">
<doc xml:space="preserve">Gets the #WebKitSettings:pictograph-font-family property.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">The default font family used to display content marked with pictograph font.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_print_backgrounds" c:identifier="webkit_settings_get_print_backgrounds" glib:get-property="print-backgrounds">
<doc xml:space="preserve">Get the #WebKitSettings:print-backgrounds property.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE If background images should be printed or %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_sans_serif_font_family" c:identifier="webkit_settings_get_sans_serif_font_family" glib:get-property="sans-serif-font-family">
<doc xml:space="preserve">Gets the #WebKitSettings:sans-serif-font-family property.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">The default font family used to display content marked with sans-serif font.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_serif_font_family" c:identifier="webkit_settings_get_serif_font_family" glib:get-property="serif-font-family">
<doc xml:space="preserve">Gets the #WebKitSettings:serif-font-family property.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">The default font family used to display content marked with serif font.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_user_agent" c:identifier="webkit_settings_get_user_agent" glib:get-property="user-agent">
<doc xml:space="preserve">Get the #WebKitSettings:user-agent property.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">The current value of the user-agent property.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_zoom_text_only" c:identifier="webkit_settings_get_zoom_text_only" glib:get-property="zoom-text-only">
<doc xml:space="preserve">Get the #WebKitSettings:zoom-text-only property.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE If zoom level of the view should only affect the text
or %FALSE if all view contents should be scaled.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
</parameters>
</method>
<method name="set_allow_file_access_from_file_urls" c:identifier="webkit_settings_set_allow_file_access_from_file_urls" glib:set-property="allow-file-access-from-file-urls" version="2.10">
<doc xml:space="preserve">Set the #WebKitSettings:allow-file-access-from-file-urls property.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
<parameter name="allowed" transfer-ownership="none">
<doc xml:space="preserve">Value to be set</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_allow_modal_dialogs" c:identifier="webkit_settings_set_allow_modal_dialogs" glib:set-property="allow-modal-dialogs">
<doc xml:space="preserve">Set the #WebKitSettings:allow-modal-dialogs property.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
<parameter name="allowed" transfer-ownership="none">
<doc xml:space="preserve">Value to be set</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_allow_top_navigation_to_data_urls" c:identifier="webkit_settings_set_allow_top_navigation_to_data_urls" glib:set-property="allow-top-navigation-to-data-urls" version="2.28">
<doc xml:space="preserve">Set the #WebKitSettings:allow-top-navigation-to-data-urls property.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
<parameter name="allowed" transfer-ownership="none">
<doc xml:space="preserve">Value to be set</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_allow_universal_access_from_file_urls" c:identifier="webkit_settings_set_allow_universal_access_from_file_urls" glib:set-property="allow-universal-access-from-file-urls" version="2.14">
<doc xml:space="preserve">Set the #WebKitSettings:allow-universal-access-from-file-urls property.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
<parameter name="allowed" transfer-ownership="none">
<doc xml:space="preserve">Value to be set</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_auto_load_images" c:identifier="webkit_settings_set_auto_load_images" glib:set-property="auto-load-images">
<doc xml:space="preserve">Set the #WebKitSettings:auto-load-images property.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
<parameter name="enabled" transfer-ownership="none">
<doc xml:space="preserve">Value to be set</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_cursive_font_family" c:identifier="webkit_settings_set_cursive_font_family" glib:set-property="cursive-font-family">
<doc xml:space="preserve">Set the #WebKitSettings:cursive-font-family property.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
<parameter name="cursive_font_family" transfer-ownership="none">
<doc xml:space="preserve">the new default cursive font family</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="set_default_charset" c:identifier="webkit_settings_set_default_charset" glib:set-property="default-charset">
<doc xml:space="preserve">Set the #WebKitSettings:default-charset property.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
<parameter name="default_charset" transfer-ownership="none">
<doc xml:space="preserve">default charset to be set</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="set_default_font_family" c:identifier="webkit_settings_set_default_font_family" glib:set-property="default-font-family">
<doc xml:space="preserve">Set the #WebKitSettings:default-font-family property.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
<parameter name="default_font_family" transfer-ownership="none">
<doc xml:space="preserve">the new default font family</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="set_default_font_size" c:identifier="webkit_settings_set_default_font_size" glib:set-property="default-font-size">
<doc xml:space="preserve">Set the #WebKitSettings:default-font-size property.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
<parameter name="font_size" transfer-ownership="none">
<doc xml:space="preserve">default font size to be set in pixels</doc>
<type name="guint32" c:type="guint32"/>
</parameter>
</parameters>
</method>
<method name="set_default_monospace_font_size" c:identifier="webkit_settings_set_default_monospace_font_size" glib:set-property="default-monospace-font-size">
<doc xml:space="preserve">Set the #WebKitSettings:default-monospace-font-size property.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
<parameter name="font_size" transfer-ownership="none">
<doc xml:space="preserve">default monospace font size to be set in pixels</doc>
<type name="guint32" c:type="guint32"/>
</parameter>
</parameters>
</method>
<method name="set_draw_compositing_indicators" c:identifier="webkit_settings_set_draw_compositing_indicators" glib:set-property="draw-compositing-indicators">
<doc xml:space="preserve">Set the #WebKitSettings:draw-compositing-indicators property.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
<parameter name="enabled" transfer-ownership="none">
<doc xml:space="preserve">Value to be set</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_enable_accelerated_2d_canvas" c:identifier="webkit_settings_set_enable_accelerated_2d_canvas" glib:set-property="enable-accelerated-2d-canvas" version="2.2" deprecated="1" deprecated-version="2.32.">
<doc xml:space="preserve">Set the #WebKitSettings:enable-accelerated-2d-canvas property.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
<parameter name="enabled" transfer-ownership="none">
<doc xml:space="preserve">Value to be set</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_enable_back_forward_navigation_gestures" c:identifier="webkit_settings_set_enable_back_forward_navigation_gestures" glib:set-property="enable-back-forward-navigation-gestures" version="2.24">
<doc xml:space="preserve">Set the #WebKitSettings:enable-back-forward-navigation-gestures property.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
<parameter name="enabled" transfer-ownership="none">
<doc xml:space="preserve">value to be set</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_enable_caret_browsing" c:identifier="webkit_settings_set_enable_caret_browsing" glib:set-property="enable-caret-browsing">
<doc xml:space="preserve">Set the #WebKitSettings:enable-caret-browsing property.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
<parameter name="enabled" transfer-ownership="none">
<doc xml:space="preserve">Value to be set</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_enable_developer_extras" c:identifier="webkit_settings_set_enable_developer_extras" glib:set-property="enable-developer-extras">
<doc xml:space="preserve">Set the #WebKitSettings:enable-developer-extras property.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
<parameter name="enabled" transfer-ownership="none">
<doc xml:space="preserve">Value to be set</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_enable_dns_prefetching" c:identifier="webkit_settings_set_enable_dns_prefetching" glib:set-property="enable-dns-prefetching">
<doc xml:space="preserve">Set the #WebKitSettings:enable-dns-prefetching property.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
<parameter name="enabled" transfer-ownership="none">
<doc xml:space="preserve">Value to be set</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_enable_encrypted_media" c:identifier="webkit_settings_set_enable_encrypted_media" glib:set-property="enable-encrypted-media" version="2.20">
<doc xml:space="preserve">Set the #WebKitSettings:enable-encrypted-media property.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
<parameter name="enabled" transfer-ownership="none">
<doc xml:space="preserve">Value to be set</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_enable_frame_flattening" c:identifier="webkit_settings_set_enable_frame_flattening" glib:set-property="enable-frame-flattening">
<doc xml:space="preserve">Set the #WebKitSettings:enable-frame-flattening property.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
<parameter name="enabled" transfer-ownership="none">
<doc xml:space="preserve">Value to be set</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_enable_fullscreen" c:identifier="webkit_settings_set_enable_fullscreen" glib:set-property="enable-fullscreen">
<doc xml:space="preserve">Set the #WebKitSettings:enable-fullscreen property.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
<parameter name="enabled" transfer-ownership="none">
<doc xml:space="preserve">Value to be set</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_enable_html5_database" c:identifier="webkit_settings_set_enable_html5_database" glib:set-property="enable-html5-database">
<doc xml:space="preserve">Set the #WebKitSettings:enable-html5-database property.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
<parameter name="enabled" transfer-ownership="none">
<doc xml:space="preserve">Value to be set</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_enable_html5_local_storage" c:identifier="webkit_settings_set_enable_html5_local_storage" glib:set-property="enable-html5-local-storage">
<doc xml:space="preserve">Set the #WebKitSettings:enable-html5-local-storage property.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
<parameter name="enabled" transfer-ownership="none">
<doc xml:space="preserve">Value to be set</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_enable_hyperlink_auditing" c:identifier="webkit_settings_set_enable_hyperlink_auditing" glib:set-property="enable-hyperlink-auditing">
<doc xml:space="preserve">Set the #WebKitSettings:enable-hyperlink-auditing property.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
<parameter name="enabled" transfer-ownership="none">
<doc xml:space="preserve">Value to be set</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_enable_java" c:identifier="webkit_settings_set_enable_java" glib:set-property="enable-java">
<doc xml:space="preserve">Set the #WebKitSettings:enable-java property.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
<parameter name="enabled" transfer-ownership="none">
<doc xml:space="preserve">Value to be set</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_enable_javascript" c:identifier="webkit_settings_set_enable_javascript" glib:set-property="enable-javascript">
<doc xml:space="preserve">Set the #WebKitSettings:enable-javascript property.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
<parameter name="enabled" transfer-ownership="none">
<doc xml:space="preserve">Value to be set</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_enable_javascript_markup" c:identifier="webkit_settings_set_enable_javascript_markup" glib:set-property="enable-javascript-markup" version="2.24">
<doc xml:space="preserve">Set the #WebKitSettings:enable-javascript-markup property.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
<parameter name="enabled" transfer-ownership="none">
<doc xml:space="preserve">Value to be set</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_enable_media" c:identifier="webkit_settings_set_enable_media" glib:set-property="enable-media" version="2.26">
<doc xml:space="preserve">Set the #WebKitSettings:enable-media property.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
<parameter name="enabled" transfer-ownership="none">
<doc xml:space="preserve">Value to be set</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_enable_media_capabilities" c:identifier="webkit_settings_set_enable_media_capabilities" glib:set-property="enable-media-capabilities" version="2.22">
<doc xml:space="preserve">Set the #WebKitSettings:enable-media-capabilities property.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
<parameter name="enabled" transfer-ownership="none">
<doc xml:space="preserve">Value to be set</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_enable_media_stream" c:identifier="webkit_settings_set_enable_media_stream" glib:set-property="enable-media-stream" version="2.4">
<doc xml:space="preserve">Set the #WebKitSettings:enable-media-stream property.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
<parameter name="enabled" transfer-ownership="none">
<doc xml:space="preserve">Value to be set</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_enable_mediasource" c:identifier="webkit_settings_set_enable_mediasource" glib:set-property="enable-mediasource" version="2.4">
<doc xml:space="preserve">Set the #WebKitSettings:enable-mediasource property.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
<parameter name="enabled" transfer-ownership="none">
<doc xml:space="preserve">Value to be set</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_enable_mock_capture_devices" c:identifier="webkit_settings_set_enable_mock_capture_devices" glib:set-property="enable-mock-capture-devices" version="2.4">
<doc xml:space="preserve">Set the #WebKitSettings:enable-mock-capture-devices property.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
<parameter name="enabled" transfer-ownership="none">
<doc xml:space="preserve">Value to be set</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_enable_offline_web_application_cache" c:identifier="webkit_settings_set_enable_offline_web_application_cache" glib:set-property="enable-offline-web-application-cache">
<doc xml:space="preserve">Set the #WebKitSettings:enable-offline-web-application-cache property.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
<parameter name="enabled" transfer-ownership="none">
<doc xml:space="preserve">Value to be set</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_enable_page_cache" c:identifier="webkit_settings_set_enable_page_cache" glib:set-property="enable-page-cache">
<doc xml:space="preserve">Set the #WebKitSettings:enable-page-cache property.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
<parameter name="enabled" transfer-ownership="none">
<doc xml:space="preserve">Value to be set</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_enable_plugins" c:identifier="webkit_settings_set_enable_plugins" glib:set-property="enable-plugins" deprecated="1" deprecated-version="2.32">
<doc xml:space="preserve">Set the #WebKitSettings:enable-plugins property.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
<parameter name="enabled" transfer-ownership="none">
<doc xml:space="preserve">Value to be set</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_enable_private_browsing" c:identifier="webkit_settings_set_enable_private_browsing" glib:set-property="enable-private-browsing" deprecated="1" deprecated-version="2.16.">
<doc xml:space="preserve">Set the #WebKitSettings:enable-private-browsing property.</doc>
<doc-deprecated xml:space="preserve">Use #WebKitWebView:is-ephemeral or #WebKitWebContext:is-ephemeral instead.</doc-deprecated>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
<parameter name="enabled" transfer-ownership="none">
<doc xml:space="preserve">Value to be set</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_enable_resizable_text_areas" c:identifier="webkit_settings_set_enable_resizable_text_areas" glib:set-property="enable-resizable-text-areas">
<doc xml:space="preserve">Set the #WebKitSettings:enable-resizable-text-areas property.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
<parameter name="enabled" transfer-ownership="none">
<doc xml:space="preserve">Value to be set</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_enable_site_specific_quirks" c:identifier="webkit_settings_set_enable_site_specific_quirks" glib:set-property="enable-site-specific-quirks">
<doc xml:space="preserve">Set the #WebKitSettings:enable-site-specific-quirks property.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
<parameter name="enabled" transfer-ownership="none">
<doc xml:space="preserve">Value to be set</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_enable_smooth_scrolling" c:identifier="webkit_settings_set_enable_smooth_scrolling" glib:set-property="enable-smooth-scrolling">
<doc xml:space="preserve">Set the #WebKitSettings:enable-smooth-scrolling property.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
<parameter name="enabled" transfer-ownership="none">
<doc xml:space="preserve">Value to be set</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_enable_spatial_navigation" c:identifier="webkit_settings_set_enable_spatial_navigation" glib:set-property="enable-spatial-navigation" version="2.2">
<doc xml:space="preserve">Set the #WebKitSettings:enable-spatial-navigation property.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
<parameter name="enabled" transfer-ownership="none">
<doc xml:space="preserve">Value to be set</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_enable_tabs_to_links" c:identifier="webkit_settings_set_enable_tabs_to_links" glib:set-property="enable-tabs-to-links">
<doc xml:space="preserve">Set the #WebKitSettings:enable-tabs-to-links property.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
<parameter name="enabled" transfer-ownership="none">
<doc xml:space="preserve">Value to be set</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_enable_webaudio" c:identifier="webkit_settings_set_enable_webaudio" glib:set-property="enable-webaudio">
<doc xml:space="preserve">Set the #WebKitSettings:enable-webaudio property.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
<parameter name="enabled" transfer-ownership="none">
<doc xml:space="preserve">Value to be set</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_enable_webgl" c:identifier="webkit_settings_set_enable_webgl" glib:set-property="enable-webgl">
<doc xml:space="preserve">Set the #WebKitSettings:enable-webgl property.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
<parameter name="enabled" transfer-ownership="none">
<doc xml:space="preserve">Value to be set</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_enable_write_console_messages_to_stdout" c:identifier="webkit_settings_set_enable_write_console_messages_to_stdout" glib:set-property="enable-write-console-messages-to-stdout" version="2.2">
<doc xml:space="preserve">Set the #WebKitSettings:enable-write-console-messages-to-stdout property.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
<parameter name="enabled" transfer-ownership="none">
<doc xml:space="preserve">Value to be set</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_enable_xss_auditor" c:identifier="webkit_settings_set_enable_xss_auditor" glib:set-property="enable-xss-auditor">
<doc xml:space="preserve">Set the #WebKitSettings:enable-xss-auditor property.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
<parameter name="enabled" transfer-ownership="none">
<doc xml:space="preserve">Value to be set</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_fantasy_font_family" c:identifier="webkit_settings_set_fantasy_font_family" glib:set-property="fantasy-font-family">
<doc xml:space="preserve">Set the #WebKitSettings:fantasy-font-family property.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
<parameter name="fantasy_font_family" transfer-ownership="none">
<doc xml:space="preserve">the new default fantasy font family</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="set_hardware_acceleration_policy" c:identifier="webkit_settings_set_hardware_acceleration_policy" glib:set-property="hardware-acceleration-policy" version="2.16">
<doc xml:space="preserve">Set the #WebKitSettings:hardware-acceleration-policy property.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
<parameter name="policy" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitHardwareAccelerationPolicy</doc>
<type name="HardwareAccelerationPolicy" c:type="WebKitHardwareAccelerationPolicy"/>
</parameter>
</parameters>
</method>
<method name="set_javascript_can_access_clipboard" c:identifier="webkit_settings_set_javascript_can_access_clipboard" glib:set-property="javascript-can-access-clipboard">
<doc xml:space="preserve">Set the #WebKitSettings:javascript-can-access-clipboard property.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
<parameter name="enabled" transfer-ownership="none">
<doc xml:space="preserve">Value to be set</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_javascript_can_open_windows_automatically" c:identifier="webkit_settings_set_javascript_can_open_windows_automatically" glib:set-property="javascript-can-open-windows-automatically">
<doc xml:space="preserve">Set the #WebKitSettings:javascript-can-open-windows-automatically property.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
<parameter name="enabled" transfer-ownership="none">
<doc xml:space="preserve">Value to be set</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_load_icons_ignoring_image_load_setting" c:identifier="webkit_settings_set_load_icons_ignoring_image_load_setting" glib:set-property="load-icons-ignoring-image-load-setting">
<doc xml:space="preserve">Set the #WebKitSettings:load-icons-ignoring-image-load-setting property.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
<parameter name="enabled" transfer-ownership="none">
<doc xml:space="preserve">Value to be set</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_media_content_types_requiring_hardware_support" c:identifier="webkit_settings_set_media_content_types_requiring_hardware_support" glib:set-property="media-content-types-requiring-hardware-support" version="2.30">
<doc xml:space="preserve">Set the #WebKitSettings:media-content-types-requiring-hardware-support property.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
<parameter name="content_types" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">list of media content types requiring hardware support split by semicolons (:) or %NULL to use the default value.</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="set_media_playback_allows_inline" c:identifier="webkit_settings_set_media_playback_allows_inline" glib:set-property="media-playback-allows-inline">
<doc xml:space="preserve">Set the #WebKitSettings:media-playback-allows-inline property.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
<parameter name="enabled" transfer-ownership="none">
<doc xml:space="preserve">Value to be set</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_media_playback_requires_user_gesture" c:identifier="webkit_settings_set_media_playback_requires_user_gesture" glib:set-property="media-playback-requires-user-gesture">
<doc xml:space="preserve">Set the #WebKitSettings:media-playback-requires-user-gesture property.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
<parameter name="enabled" transfer-ownership="none">
<doc xml:space="preserve">Value to be set</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_minimum_font_size" c:identifier="webkit_settings_set_minimum_font_size" glib:set-property="minimum-font-size">
<doc xml:space="preserve">Set the #WebKitSettings:minimum-font-size property.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
<parameter name="font_size" transfer-ownership="none">
<doc xml:space="preserve">minimum font size to be set in pixels</doc>
<type name="guint32" c:type="guint32"/>
</parameter>
</parameters>
</method>
<method name="set_monospace_font_family" c:identifier="webkit_settings_set_monospace_font_family" glib:set-property="monospace-font-family">
<doc xml:space="preserve">Set the #WebKitSettings:monospace-font-family property.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
<parameter name="monospace_font_family" transfer-ownership="none">
<doc xml:space="preserve">the new default monospace font family</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="set_pictograph_font_family" c:identifier="webkit_settings_set_pictograph_font_family" glib:set-property="pictograph-font-family">
<doc xml:space="preserve">Set the #WebKitSettings:pictograph-font-family property.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
<parameter name="pictograph_font_family" transfer-ownership="none">
<doc xml:space="preserve">the new default pictograph font family</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="set_print_backgrounds" c:identifier="webkit_settings_set_print_backgrounds" glib:set-property="print-backgrounds">
<doc xml:space="preserve">Set the #WebKitSettings:print-backgrounds property.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
<parameter name="print_backgrounds" transfer-ownership="none">
<doc xml:space="preserve">Value to be set</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_sans_serif_font_family" c:identifier="webkit_settings_set_sans_serif_font_family" glib:set-property="sans-serif-font-family">
<doc xml:space="preserve">Set the #WebKitSettings:sans-serif-font-family property.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
<parameter name="sans_serif_font_family" transfer-ownership="none">
<doc xml:space="preserve">the new default sans-serif font family</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="set_serif_font_family" c:identifier="webkit_settings_set_serif_font_family" glib:set-property="serif-font-family">
<doc xml:space="preserve">Set the #WebKitSettings:serif-font-family property.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
<parameter name="serif_font_family" transfer-ownership="none">
<doc xml:space="preserve">the new default serif font family</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="set_user_agent" c:identifier="webkit_settings_set_user_agent" glib:set-property="user-agent">
<doc xml:space="preserve">Set the #WebKitSettings:user-agent property.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
<parameter name="user_agent" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">The new custom user agent string or %NULL to use the default user agent</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="set_user_agent_with_application_details" c:identifier="webkit_settings_set_user_agent_with_application_details">
<doc xml:space="preserve">Set the #WebKitSettings:user-agent property by appending the application details to the default user
agent. If no application name or version is given, the default user agent used will be used. If only
the version is given, the default engine version is used with the given application name.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
<parameter name="application_name" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">The application name used for the user agent or %NULL to use the default user agent.</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="application_version" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">The application version for the user agent or %NULL to user the default version.</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="set_zoom_text_only" c:identifier="webkit_settings_set_zoom_text_only" glib:set-property="zoom-text-only">
<doc xml:space="preserve">Set the #WebKitSettings:zoom-text-only property.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
<parameter name="zoom_text_only" transfer-ownership="none">
<doc xml:space="preserve">Value to be set</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<property name="allow-file-access-from-file-urls" version="2.10" writable="1" construct="1" transfer-ownership="none" setter="set_allow_file_access_from_file_urls" getter="get_allow_file_access_from_file_urls">
<doc xml:space="preserve">Whether file access is allowed from file URLs. By default, when
something is loaded in a #WebKitWebView using a file URI, cross
origin requests to other file resources are not allowed. This
setting allows you to change that behaviour, so that it would be
possible to do a XMLHttpRequest of a local file, for example.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="allow-modal-dialogs" writable="1" construct="1" transfer-ownership="none" setter="set_allow_modal_dialogs" getter="get_allow_modal_dialogs">
<doc xml:space="preserve">Determine whether it's allowed to create and run modal dialogs
from a #WebKitWebView through JavaScript with
&lt;function&gt;window.showModalDialog&lt;/function&gt;. If it's set to
%FALSE, the associated #WebKitWebView won't be able to create
new modal dialogs, so not even the #WebKitWebView::create
signal will be emitted.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="allow-top-navigation-to-data-urls" version="2.28" writable="1" construct="1" transfer-ownership="none" setter="set_allow_top_navigation_to_data_urls" getter="get_allow_top_navigation_to_data_urls">
<doc xml:space="preserve">Whether or not the top frame is allowed to navigate to data URLs. It is disabled by default
due to the risk it poses when loading untrusted URLs, with data URLs being used in scamming
and phishing attacks. In contrast, a scenario where it could be enabled could be an app that
embeds a WebView and you have control of the pages being show instead of a generic browser.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="allow-universal-access-from-file-urls" version="2.14" writable="1" construct="1" transfer-ownership="none" setter="set_allow_universal_access_from_file_urls" getter="get_allow_universal_access_from_file_urls">
<doc xml:space="preserve">Whether or not JavaScript running in the context of a file scheme URL
should be allowed to access content from any origin. By default, when
something is loaded in a #WebKitWebView using a file scheme URL,
access to the local file system and arbitrary local storage is not
allowed. This setting allows you to change that behaviour, so that
it would be possible to use local storage, for example.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="auto-load-images" writable="1" construct="1" transfer-ownership="none" setter="set_auto_load_images" getter="get_auto_load_images">
<doc xml:space="preserve">Determines whether images should be automatically loaded or not.
On devices where network bandwidth is of concern, it might be
useful to turn this property off.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="cursive-font-family" writable="1" construct="1" transfer-ownership="none" setter="set_cursive_font_family" getter="get_cursive_font_family">
<doc xml:space="preserve">The font family used as the default for content using a cursive font.</doc>
<type name="utf8" c:type="gchar*"/>
</property>
<property name="default-charset" writable="1" construct="1" transfer-ownership="none" setter="set_default_charset" getter="get_default_charset">
<doc xml:space="preserve">The default text charset used when interpreting content with an unspecified charset.</doc>
<type name="utf8" c:type="gchar*"/>
</property>
<property name="default-font-family" writable="1" construct="1" transfer-ownership="none" setter="set_default_font_family" getter="get_default_font_family">
<doc xml:space="preserve">The font family to use as the default for content that does not specify a font.</doc>
<type name="utf8" c:type="gchar*"/>
</property>
<property name="default-font-size" writable="1" construct="1" transfer-ownership="none" setter="set_default_font_size" getter="get_default_font_size">
<doc xml:space="preserve">The default font size in pixels to use for content displayed if
no font size is specified.</doc>
<type name="guint" c:type="guint"/>
</property>
<property name="default-monospace-font-size" writable="1" construct="1" transfer-ownership="none" setter="set_default_monospace_font_size" getter="get_default_monospace_font_size">
<doc xml:space="preserve">The default font size in pixels to use for content displayed in
monospace font if no font size is specified.</doc>
<type name="guint" c:type="guint"/>
</property>
<property name="draw-compositing-indicators" writable="1" construct="1" transfer-ownership="none" setter="set_draw_compositing_indicators" getter="get_draw_compositing_indicators">
<doc xml:space="preserve">Whether to draw compositing borders and repaint counters on layers drawn
with accelerated compositing. This is useful for debugging issues related
to web content that is composited with the GPU.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="enable-accelerated-2d-canvas" version="2.2" deprecated="1" deprecated-version="2.32." writable="1" construct="1" transfer-ownership="none" setter="set_enable_accelerated_2d_canvas" getter="get_enable_accelerated_2d_canvas">
<doc xml:space="preserve">Enable or disable accelerated 2D canvas. Accelerated 2D canvas is only available
if WebKit was compiled with a version of Cairo including the unstable CairoGL API.
When accelerated 2D canvas is enabled, WebKit may render some 2D canvas content
using hardware accelerated drawing operations.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="enable-back-forward-navigation-gestures" version="2.24" writable="1" construct="1" transfer-ownership="none" setter="set_enable_back_forward_navigation_gestures" getter="get_enable_back_forward_navigation_gestures">
<doc xml:space="preserve">Enable or disable horizontal swipe gesture for back-forward navigation.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="enable-caret-browsing" writable="1" construct="1" transfer-ownership="none" setter="set_enable_caret_browsing" getter="get_enable_caret_browsing">
<doc xml:space="preserve">Whether to enable accessibility enhanced keyboard navigation.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="enable-developer-extras" writable="1" construct="1" transfer-ownership="none" setter="set_enable_developer_extras" getter="get_enable_developer_extras">
<doc xml:space="preserve">Determines whether or not developer tools, such as the Web Inspector, are enabled.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="enable-dns-prefetching" writable="1" construct="1" transfer-ownership="none" setter="set_enable_dns_prefetching" getter="get_enable_dns_prefetching">
<doc xml:space="preserve">Determines whether or not to prefetch domain names. DNS prefetching attempts
to resolve domain names before a user tries to follow a link.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="enable-encrypted-media" version="2.20" writable="1" construct="1" transfer-ownership="none" setter="set_enable_encrypted_media" getter="get_enable_encrypted_media">
<doc xml:space="preserve">Enable or disable support for Encrypted Media API on pages.
EncryptedMedia is an experimental JavaScript API for playing encrypted media in HTML.
This property will only work as intended if the EncryptedMedia feature is enabled at build time
with the ENABLE_ENCRYPTED_MEDIA flag.
See https://www.w3.org/TR/encrypted-media/</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="enable-frame-flattening" writable="1" construct="1" transfer-ownership="none" setter="set_enable_frame_flattening" getter="get_enable_frame_flattening">
<doc xml:space="preserve">Whether to enable the frame flattening. With this setting each subframe is expanded
to its contents, which will flatten all the frames to become one scrollable page.
On touch devices scrollable subframes on a page can result in a confusing user experience.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="enable-fullscreen" writable="1" construct="1" transfer-ownership="none" setter="set_enable_fullscreen" getter="get_enable_fullscreen">
<doc xml:space="preserve">Whether to enable the Javascript Fullscreen API. The API
allows any HTML element to request fullscreen display. See also
the current draft of the spec:
http://www.w3.org/TR/fullscreen/</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="enable-html5-database" writable="1" construct="1" transfer-ownership="none" setter="set_enable_html5_database" getter="get_enable_html5_database">
<doc xml:space="preserve">Whether to enable HTML5 client-side SQL database support (IndexedDB).</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="enable-html5-local-storage" writable="1" construct="1" transfer-ownership="none" setter="set_enable_html5_local_storage" getter="get_enable_html5_local_storage">
<doc xml:space="preserve">Whether to enable HTML5 local storage support. Local storage provides
simple synchronous storage access.
HTML5 local storage specification is available at
http://dev.w3.org/html5/webstorage/.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="enable-hyperlink-auditing" writable="1" construct="1" transfer-ownership="none" setter="set_enable_hyperlink_auditing" getter="get_enable_hyperlink_auditing">
<doc xml:space="preserve">Determines whether or not hyperlink auditing is enabled.
The hyperlink auditing specification is available at
http://www.whatwg.org/specs/web-apps/current-work/multipage/links.html#hyperlink-auditing.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="enable-java" writable="1" construct="1" transfer-ownership="none" setter="set_enable_java" getter="get_enable_java">
<doc xml:space="preserve">Determines whether or not Java is enabled on the page.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="enable-javascript" writable="1" construct="1" transfer-ownership="none" setter="set_enable_javascript" getter="get_enable_javascript">
<doc xml:space="preserve">Determines whether or not JavaScript executes within a page.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="enable-javascript-markup" version="2.24" writable="1" construct="1" transfer-ownership="none" setter="set_enable_javascript_markup" getter="get_enable_javascript_markup">
<doc xml:space="preserve">Determines whether or not JavaScript markup is allowed in document. When this setting is disabled,
all JavaScript-related elements and attributes are removed from the document during parsing. Note that
executing JavaScript is still allowed if #WebKitSettings:enable-javascript is %TRUE.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="enable-media" version="2.26" writable="1" construct="1" transfer-ownership="none" setter="set_enable_media" getter="get_enable_media">
<doc xml:space="preserve">Enable or disable support for media playback on pages. This setting is enabled by
default. Disabling it means `&lt;audio&gt;`, `&lt;track&gt;` and `&lt;video&gt;` elements will have
playback support disabled.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="enable-media-capabilities" version="2.22" writable="1" construct="1" transfer-ownership="none" setter="set_enable_media_capabilities" getter="get_enable_media_capabilities">
<doc xml:space="preserve">Enable or disable support for MediaCapabilities on pages. This
specification intends to provide APIs to allow websites to make an optimal
decision when picking media content for the user. The APIs will expose
information about the decoding and encoding capabilities for a given format
but also output capabilities to find the best match based on the device&#x2019;s
display.
See also https://wicg.github.io/media-capabilities/</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="enable-media-stream" version="2.4" writable="1" construct="1" transfer-ownership="none" setter="set_enable_media_stream" getter="get_enable_media_stream">
<doc xml:space="preserve">Enable or disable support for MediaStream on pages. MediaStream
is an experimental proposal for allowing web pages to access
audio and video devices for capture.
See also http://dev.w3.org/2011/webrtc/editor/getusermedia.html</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="enable-mediasource" version="2.4" writable="1" construct="1" transfer-ownership="none" setter="set_enable_mediasource" getter="get_enable_mediasource">
<doc xml:space="preserve">Enable or disable support for MediaSource on pages. MediaSource
extends HTMLMediaElement to allow JavaScript to generate media
streams for playback.
See also http://www.w3.org/TR/media-source/</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="enable-mock-capture-devices" version="2.24" writable="1" construct="1" transfer-ownership="none" setter="set_enable_mock_capture_devices" getter="get_enable_mock_capture_devices">
<doc xml:space="preserve">Enable or disable the Mock Capture Devices. Those are fake
Microphone and Camera devices to be used as MediaStream
sources.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="enable-offline-web-application-cache" writable="1" construct="1" transfer-ownership="none" setter="set_enable_offline_web_application_cache" getter="get_enable_offline_web_application_cache">
<doc xml:space="preserve">Whether to enable HTML5 offline web application cache support. Offline
web application cache allows web applications to run even when
the user is not connected to the network.
HTML5 offline web application specification is available at
http://dev.w3.org/html5/spec/offline.html.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="enable-page-cache" writable="1" construct="1" transfer-ownership="none" setter="set_enable_page_cache" getter="get_enable_page_cache">
<doc xml:space="preserve">Enable or disable the page cache. Disabling the page cache is
generally only useful for special circumstances like low-memory
scenarios or special purpose applications like static HTML
viewers. This setting only controls the Page Cache, this cache
is different than the disk-based or memory-based traditional
resource caches, its point is to make going back and forth
between pages much faster. For details about the different types
of caches and their purposes see:
http://webkit.org/blog/427/webkit-page-cache-i-the-basics/</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="enable-plugins" deprecated="1" deprecated-version="2.32" writable="1" construct="1" transfer-ownership="none" setter="set_enable_plugins" getter="get_enable_plugins">
<doc xml:space="preserve">Determines whether or not plugins on the page are enabled.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="enable-private-browsing" deprecated="1" deprecated-version="2.16." writable="1" construct="1" transfer-ownership="none" setter="set_enable_private_browsing" getter="get_enable_private_browsing">
<doc xml:space="preserve">Determines whether or not private browsing is enabled. Private browsing
will disable history, cache and form auto-fill for any pages visited.</doc>
<doc-deprecated xml:space="preserve">Use #WebKitWebView:is-ephemeral or #WebKitWebsiteDataManager:is-ephemeral instead.</doc-deprecated>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="enable-resizable-text-areas" writable="1" construct="1" transfer-ownership="none" setter="set_enable_resizable_text_areas" getter="get_enable_resizable_text_areas">
<doc xml:space="preserve">Determines whether or not text areas can be resized.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="enable-site-specific-quirks" writable="1" construct="1" transfer-ownership="none" setter="set_enable_site_specific_quirks" getter="get_enable_site_specific_quirks">
<doc xml:space="preserve">Whether to turn on site-specific quirks. Turning this on will
tell WebKit to use some site-specific workarounds for
better web compatibility. For example, older versions of
MediaWiki will incorrectly send to WebKit a CSS file with KHTML
workarounds. By turning on site-specific quirks, WebKit will
special-case this and other cases to make some specific sites work.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="enable-smooth-scrolling" writable="1" construct="1" transfer-ownership="none" setter="set_enable_smooth_scrolling" getter="get_enable_smooth_scrolling">
<doc xml:space="preserve">Enable or disable smooth scrolling.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="enable-spatial-navigation" version="2.4" writable="1" construct="1" transfer-ownership="none" setter="set_enable_spatial_navigation" getter="get_enable_spatial_navigation">
<doc xml:space="preserve">Whether to enable Spatial Navigation. This feature consists in the ability
to navigate between focusable elements in a Web page, such as hyperlinks
and form controls, by using Left, Right, Up and Down arrow keys.
For example, if an user presses the Right key, heuristics determine whether
there is an element they might be trying to reach towards the right, and if
there are multiple elements, which element they probably wants.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="enable-tabs-to-links" writable="1" construct="1" transfer-ownership="none" setter="set_enable_tabs_to_links" getter="get_enable_tabs_to_links">
<doc xml:space="preserve">Determines whether the tab key cycles through the elements on the page.
When this setting is enabled, users will be able to focus the next element
in the page by pressing the tab key. If the selected element is editable,
then pressing tab key will insert the tab character.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="enable-webaudio" writable="1" construct="1" transfer-ownership="none" setter="set_enable_webaudio" getter="get_enable_webaudio">
<doc xml:space="preserve">Enable or disable support for WebAudio on pages. WebAudio is an
API for processing and synthesizing audio in web applications
See also https://webaudio.github.io/web-audio-api</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="enable-webgl" writable="1" construct="1" transfer-ownership="none" setter="set_enable_webgl" getter="get_enable_webgl">
<doc xml:space="preserve">Enable or disable support for WebGL on pages. WebGL enables web
content to use an API based on OpenGL ES 2.0.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="enable-write-console-messages-to-stdout" version="2.2" writable="1" construct="1" transfer-ownership="none" setter="set_enable_write_console_messages_to_stdout" getter="get_enable_write_console_messages_to_stdout">
<doc xml:space="preserve">Enable or disable writing console messages to stdout. These are messages
sent to the console with console.log and related methods.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="enable-xss-auditor" writable="1" construct="1" transfer-ownership="none" setter="set_enable_xss_auditor" getter="get_enable_xss_auditor">
<doc xml:space="preserve">Whether to enable the XSS auditor. This feature filters some kinds of
reflective XSS attacks on vulnerable web sites.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="fantasy-font-family" writable="1" construct="1" transfer-ownership="none" setter="set_fantasy_font_family" getter="get_fantasy_font_family">
<doc xml:space="preserve">The font family used as the default for content using a fantasy font.</doc>
<type name="utf8" c:type="gchar*"/>
</property>
<property name="hardware-acceleration-policy" version="2.16" writable="1" construct="1" transfer-ownership="none" setter="set_hardware_acceleration_policy" getter="get_hardware_acceleration_policy">
<doc xml:space="preserve">The #WebKitHardwareAccelerationPolicy to decide how to enable and disable
hardware acceleration. The default value %WEBKIT_HARDWARE_ACCELERATION_POLICY_ON_DEMAND
enables the hardware acceleration when the web contents request it.
It's possible to enforce hardware acceleration to be always enabled
by using %WEBKIT_HARDWARE_ACCELERATION_POLICY_ALWAYS. And it's also possible to disable it
completely using %WEBKIT_HARDWARE_ACCELERATION_POLICY_NEVER. Note that disabling hardware
acceleration might cause some websites to not render correctly or consume more CPU.
Note that changing this setting might not be possible if hardware acceleration is not
supported by the hardware or the system. In that case you can get the value to know the
actual policy being used, but changing the setting will not have any effect.</doc>
<type name="HardwareAccelerationPolicy"/>
</property>
<property name="javascript-can-access-clipboard" writable="1" construct="1" transfer-ownership="none" setter="set_javascript_can_access_clipboard" getter="get_javascript_can_access_clipboard">
<doc xml:space="preserve">Whether JavaScript can access the clipboard. The default value is %FALSE. If
set to %TRUE, document.execCommand() allows cut, copy and paste commands.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="javascript-can-open-windows-automatically" writable="1" construct="1" transfer-ownership="none" setter="set_javascript_can_open_windows_automatically" getter="get_javascript_can_open_windows_automatically">
<doc xml:space="preserve">Whether JavaScript can open popup windows automatically without user
intervention.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="load-icons-ignoring-image-load-setting" writable="1" construct="1" transfer-ownership="none" setter="set_load_icons_ignoring_image_load_setting" getter="get_load_icons_ignoring_image_load_setting">
<doc xml:space="preserve">Determines whether a site can load favicons irrespective
of the value of #WebKitSettings:auto-load-images.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="media-content-types-requiring-hardware-support" version="2.30" writable="1" construct="1" transfer-ownership="none" setter="set_media_content_types_requiring_hardware_support" getter="get_media_content_types_requiring_hardware_support">
<doc xml:space="preserve">List of media content types requiring hardware support, split by semicolons (:).
For example: 'video/webm; codecs="vp*":video/mp4; codecs="avc*":video/&amp;ast; codecs="av1*"'.</doc>
<type name="utf8" c:type="gchar*"/>
</property>
<property name="media-playback-allows-inline" writable="1" construct="1" transfer-ownership="none" setter="set_media_playback_allows_inline" getter="get_media_playback_allows_inline">
<doc xml:space="preserve">Whether media playback is full-screen only or inline playback is allowed.
This is %TRUE by default, so media playback can be inline. Setting it to
%FALSE allows specifying that media playback should be always fullscreen.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="media-playback-requires-user-gesture" writable="1" construct="1" transfer-ownership="none" setter="set_media_playback_requires_user_gesture" getter="get_media_playback_requires_user_gesture">
<doc xml:space="preserve">Whether a user gesture (such as clicking the play button)
would be required to start media playback or load media. This is off
by default, so media playback could start automatically.
Setting it on requires a gesture by the user to start playback, or to
load the media.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="minimum-font-size" writable="1" construct="1" transfer-ownership="none" setter="set_minimum_font_size" getter="get_minimum_font_size">
<doc xml:space="preserve">The minimum font size in pixels used to display text. This setting
controls the absolute smallest size. Values other than 0 can
potentially break page layouts.</doc>
<type name="guint" c:type="guint"/>
</property>
<property name="monospace-font-family" writable="1" construct="1" transfer-ownership="none" setter="set_monospace_font_family" getter="get_monospace_font_family">
<doc xml:space="preserve">The font family used as the default for content using a monospace font.</doc>
<type name="utf8" c:type="gchar*"/>
</property>
<property name="pictograph-font-family" writable="1" construct="1" transfer-ownership="none" setter="set_pictograph_font_family" getter="get_pictograph_font_family">
<doc xml:space="preserve">The font family used as the default for content using a pictograph font.</doc>
<type name="utf8" c:type="gchar*"/>
</property>
<property name="print-backgrounds" writable="1" construct="1" transfer-ownership="none" setter="set_print_backgrounds" getter="get_print_backgrounds">
<doc xml:space="preserve">Whether background images should be drawn during printing.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="sans-serif-font-family" writable="1" construct="1" transfer-ownership="none" setter="set_sans_serif_font_family" getter="get_sans_serif_font_family">
<doc xml:space="preserve">The font family used as the default for content using a sans-serif font.</doc>
<type name="utf8" c:type="gchar*"/>
</property>
<property name="serif-font-family" writable="1" construct="1" transfer-ownership="none" setter="set_serif_font_family" getter="get_serif_font_family">
<doc xml:space="preserve">The font family used as the default for content using a serif font.</doc>
<type name="utf8" c:type="gchar*"/>
</property>
<property name="user-agent" writable="1" construct="1" transfer-ownership="none" setter="set_user_agent" getter="get_user_agent">
<doc xml:space="preserve">The user-agent string used by WebKit. Unusual user-agent strings may cause web
content to render incorrectly or fail to run, as many web pages are written to
parse the user-agent strings of only the most popular browsers. Therefore, it's
typically better to not completely override the standard user-agent, but to use
webkit_settings_set_user_agent_with_application_details() instead.
If this property is set to the empty string or %NULL, it will revert to the standard
user-agent.</doc>
<type name="utf8" c:type="gchar*"/>
</property>
<property name="zoom-text-only" writable="1" construct="1" transfer-ownership="none" setter="set_zoom_text_only" getter="get_zoom_text_only">
<doc xml:space="preserve">Whether #WebKitWebView:zoom-level affects only the
text of the page or all the contents. Other contents containing text
like form controls will be also affected by zoom factor when
this property is enabled.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<field name="parent_instance">
<type name="GObject.Object" c:type="GObject"/>
</field>
<field name="priv">
<type name="SettingsPrivate" c:type="WebKitSettingsPrivate*"/>
</field>
</class>
<record name="SettingsClass" c:type="WebKitSettingsClass" glib:is-gtype-struct-for="Settings">
<field name="parent_class">
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
</field>
<field name="_webkit_reserved0" introspectable="0">
<callback name="_webkit_reserved0">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved1" introspectable="0">
<callback name="_webkit_reserved1">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved2" introspectable="0">
<callback name="_webkit_reserved2">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved3" introspectable="0">
<callback name="_webkit_reserved3">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
</record>
<record name="SettingsPrivate" c:type="WebKitSettingsPrivate" disguised="1"/>
<enumeration name="SnapshotError" glib:type-name="WebKitSnapshotError" glib:get-type="webkit_snapshot_error_get_type" c:type="WebKitSnapshotError" glib:error-domain="WebKitSnapshotError">
<doc xml:space="preserve">Enum values used to denote errors happening when creating snapshots of #WebKitWebView</doc>
<member name="create" value="799" c:identifier="WEBKIT_SNAPSHOT_ERROR_FAILED_TO_CREATE" glib:nick="create" glib:name="WEBKIT_SNAPSHOT_ERROR_FAILED_TO_CREATE">
<doc xml:space="preserve">An error occurred when creating a webpage snapshot.</doc>
</member>
<function name="quark" c:identifier="webkit_snapshot_error_quark">
<return-value transfer-ownership="none">
<type name="GLib.Quark" c:type="GQuark"/>
</return-value>
</function>
</enumeration>
<bitfield name="SnapshotOptions" glib:type-name="WebKitSnapshotOptions" glib:get-type="webkit_snapshot_options_get_type" c:type="WebKitSnapshotOptions">
<doc xml:space="preserve">Enum values used to specify options when taking a snapshot
from a #WebKitWebView.</doc>
<member name="none" value="0" c:identifier="WEBKIT_SNAPSHOT_OPTIONS_NONE" glib:nick="none" glib:name="WEBKIT_SNAPSHOT_OPTIONS_NONE">
<doc xml:space="preserve">Do not include any special options.</doc>
</member>
<member name="include_selection_highlighting" value="1" c:identifier="WEBKIT_SNAPSHOT_OPTIONS_INCLUDE_SELECTION_HIGHLIGHTING" glib:nick="include-selection-highlighting" glib:name="WEBKIT_SNAPSHOT_OPTIONS_INCLUDE_SELECTION_HIGHLIGHTING">
<doc xml:space="preserve">Whether to include in the
snapshot the highlight of the selected content.</doc>
</member>
<member name="transparent_background" value="2" c:identifier="WEBKIT_SNAPSHOT_OPTIONS_TRANSPARENT_BACKGROUND" glib:nick="transparent-background" glib:name="WEBKIT_SNAPSHOT_OPTIONS_TRANSPARENT_BACKGROUND">
<doc xml:space="preserve">Do not fill the background with white before
rendering the snapshot. Since 2.8</doc>
</member>
</bitfield>
<enumeration name="SnapshotRegion" glib:type-name="WebKitSnapshotRegion" glib:get-type="webkit_snapshot_region_get_type" c:type="WebKitSnapshotRegion">
<doc xml:space="preserve">Enum values used to specify the region from which to get a #WebKitWebView
snapshot</doc>
<member name="visible" value="0" c:identifier="WEBKIT_SNAPSHOT_REGION_VISIBLE" glib:nick="visible" glib:name="WEBKIT_SNAPSHOT_REGION_VISIBLE">
<doc xml:space="preserve">Specifies a snapshot only for the area that is
visible in the webview</doc>
</member>
<member name="full_document" value="1" c:identifier="WEBKIT_SNAPSHOT_REGION_FULL_DOCUMENT" glib:nick="full-document" glib:name="WEBKIT_SNAPSHOT_REGION_FULL_DOCUMENT">
<doc xml:space="preserve">A snapshot of the entire document.</doc>
</member>
</enumeration>
<enumeration name="TLSErrorsPolicy" glib:type-name="WebKitTLSErrorsPolicy" glib:get-type="webkit_tls_errors_policy_get_type" c:type="WebKitTLSErrorsPolicy">
<doc xml:space="preserve">Enum values used to denote the TLS errors policy.</doc>
<member name="ignore" value="0" c:identifier="WEBKIT_TLS_ERRORS_POLICY_IGNORE" glib:nick="ignore" glib:name="WEBKIT_TLS_ERRORS_POLICY_IGNORE">
<doc xml:space="preserve">Ignore TLS errors.</doc>
</member>
<member name="fail" value="1" c:identifier="WEBKIT_TLS_ERRORS_POLICY_FAIL" glib:nick="fail" glib:name="WEBKIT_TLS_ERRORS_POLICY_FAIL">
<doc xml:space="preserve">TLS errors will emit
#WebKitWebView::load-failed-with-tls-errors and, if the signal is handled,
finish the load. In case the signal is not handled,
#WebKitWebView::load-failed is emitted before the load finishes.</doc>
</member>
</enumeration>
<class name="URIRequest" c:symbol-prefix="uri_request" c:type="WebKitURIRequest" parent="GObject.Object" glib:type-name="WebKitURIRequest" glib:get-type="webkit_uri_request_get_type" glib:type-struct="URIRequestClass">
<constructor name="new" c:identifier="webkit_uri_request_new">
<doc xml:space="preserve">Creates a new #WebKitURIRequest for the given URI.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">a new #WebKitURIRequest</doc>
<type name="URIRequest" c:type="WebKitURIRequest*"/>
</return-value>
<parameters>
<parameter name="uri" transfer-ownership="none">
<doc xml:space="preserve">an URI</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</constructor>
<method name="get_http_headers" c:identifier="webkit_uri_request_get_http_headers">
<doc xml:space="preserve">Get the HTTP headers of a #WebKitURIRequest as a #SoupMessageHeaders.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">a #SoupMessageHeaders with the HTTP headers of @request
or %NULL if @request is not an HTTP request.</doc>
<type name="Soup.MessageHeaders" c:type="SoupMessageHeaders*"/>
</return-value>
<parameters>
<instance-parameter name="request" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitURIRequest</doc>
<type name="URIRequest" c:type="WebKitURIRequest*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_http_method" c:identifier="webkit_uri_request_get_http_method" version="2.12">
<doc xml:space="preserve">Get the HTTP method of the #WebKitURIRequest.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the HTTP method of the #WebKitURIRequest or %NULL if @request is not
an HTTP request.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="request" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitURIRequest</doc>
<type name="URIRequest" c:type="WebKitURIRequest*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_uri" c:identifier="webkit_uri_request_get_uri" glib:get-property="uri">
<return-value transfer-ownership="none">
<doc xml:space="preserve">the uri of the #WebKitURIRequest</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="request" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitURIRequest</doc>
<type name="URIRequest" c:type="WebKitURIRequest*"/>
</instance-parameter>
</parameters>
</method>
<method name="set_uri" c:identifier="webkit_uri_request_set_uri" glib:set-property="uri">
<doc xml:space="preserve">Set the URI of @request</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="request" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitURIRequest</doc>
<type name="URIRequest" c:type="WebKitURIRequest*"/>
</instance-parameter>
<parameter name="uri" transfer-ownership="none">
<doc xml:space="preserve">an URI</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<property name="uri" writable="1" construct="1" transfer-ownership="none" setter="set_uri" getter="get_uri">
<doc xml:space="preserve">The URI to which the request will be made.</doc>
<type name="utf8" c:type="gchar*"/>
</property>
<field name="parent">
<type name="GObject.Object" c:type="GObject"/>
</field>
<field name="priv" readable="0" private="1">
<type name="URIRequestPrivate" c:type="WebKitURIRequestPrivate*"/>
</field>
</class>
<record name="URIRequestClass" c:type="WebKitURIRequestClass" glib:is-gtype-struct-for="URIRequest">
<field name="parent_class">
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
</field>
<field name="_webkit_reserved0" introspectable="0">
<callback name="_webkit_reserved0">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved1" introspectable="0">
<callback name="_webkit_reserved1">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved2" introspectable="0">
<callback name="_webkit_reserved2">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved3" introspectable="0">
<callback name="_webkit_reserved3">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
</record>
<record name="URIRequestPrivate" c:type="WebKitURIRequestPrivate" disguised="1"/>
<class name="URIResponse" c:symbol-prefix="uri_response" c:type="WebKitURIResponse" parent="GObject.Object" glib:type-name="WebKitURIResponse" glib:get-type="webkit_uri_response_get_type" glib:type-struct="URIResponseClass">
<method name="get_content_length" c:identifier="webkit_uri_response_get_content_length" glib:get-property="content-length">
<doc xml:space="preserve">Get the expected content length of the #WebKitURIResponse. It can
be 0 if the server provided an incorrect or missing Content-Length.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the expected content length of @response.</doc>
<type name="guint64" c:type="guint64"/>
</return-value>
<parameters>
<instance-parameter name="response" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitURIResponse</doc>
<type name="URIResponse" c:type="WebKitURIResponse*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_http_headers" c:identifier="webkit_uri_response_get_http_headers" glib:get-property="http-headers" version="2.6">
<doc xml:space="preserve">Get the HTTP headers of a #WebKitURIResponse as a #SoupMessageHeaders.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">a #SoupMessageHeaders with the HTTP headers of @response
or %NULL if @response is not an HTTP response.</doc>
<type name="Soup.MessageHeaders" c:type="SoupMessageHeaders*"/>
</return-value>
<parameters>
<instance-parameter name="response" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitURIResponse</doc>
<type name="URIResponse" c:type="WebKitURIResponse*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_mime_type" c:identifier="webkit_uri_response_get_mime_type" glib:get-property="mime-type">
<return-value transfer-ownership="none">
<doc xml:space="preserve">the MIME type of the #WebKitURIResponse</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="response" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitURIResponse</doc>
<type name="URIResponse" c:type="WebKitURIResponse*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_status_code" c:identifier="webkit_uri_response_get_status_code" glib:get-property="status-code">
<doc xml:space="preserve">Get the status code of the #WebKitURIResponse as returned by
the server. It will normally be a #SoupKnownStatusCode, for
example %SOUP_STATUS_OK, though the server can respond with any
unsigned integer.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the status code of @response</doc>
<type name="guint" c:type="guint"/>
</return-value>
<parameters>
<instance-parameter name="response" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitURIResponse</doc>
<type name="URIResponse" c:type="WebKitURIResponse*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_suggested_filename" c:identifier="webkit_uri_response_get_suggested_filename" glib:get-property="suggested-filename">
<doc xml:space="preserve">Get the suggested filename for @response, as specified by
the 'Content-Disposition' HTTP header, or %NULL if it's not
present.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the suggested filename or %NULL if
the 'Content-Disposition' HTTP header is not present.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="response" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitURIResponse</doc>
<type name="URIResponse" c:type="WebKitURIResponse*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_uri" c:identifier="webkit_uri_response_get_uri" glib:get-property="uri">
<return-value transfer-ownership="none">
<doc xml:space="preserve">the uri of the #WebKitURIResponse</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="response" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitURIResponse</doc>
<type name="URIResponse" c:type="WebKitURIResponse*"/>
</instance-parameter>
</parameters>
</method>
<property name="content-length" transfer-ownership="none" getter="get_content_length">
<doc xml:space="preserve">The expected content length of the response.</doc>
<type name="guint64" c:type="guint64"/>
</property>
<property name="http-headers" version="2.6" transfer-ownership="none" getter="get_http_headers">
<doc xml:space="preserve">The HTTP headers of the response, or %NULL if the response is not an HTTP response.</doc>
<type name="Soup.MessageHeaders"/>
</property>
<property name="mime-type" transfer-ownership="none" getter="get_mime_type">
<doc xml:space="preserve">The MIME type of the response.</doc>
<type name="utf8" c:type="gchar*"/>
</property>
<property name="status-code" transfer-ownership="none" getter="get_status_code">
<doc xml:space="preserve">The status code of the response as returned by the server.</doc>
<type name="guint" c:type="guint"/>
</property>
<property name="suggested-filename" transfer-ownership="none" getter="get_suggested_filename">
<doc xml:space="preserve">The suggested filename for the URI response.</doc>
<type name="utf8" c:type="gchar*"/>
</property>
<property name="uri" transfer-ownership="none" getter="get_uri">
<doc xml:space="preserve">The URI for which the response was made.</doc>
<type name="utf8" c:type="gchar*"/>
</property>
<field name="parent">
<type name="GObject.Object" c:type="GObject"/>
</field>
<field name="priv" readable="0" private="1">
<type name="URIResponsePrivate" c:type="WebKitURIResponsePrivate*"/>
</field>
</class>
<record name="URIResponseClass" c:type="WebKitURIResponseClass" glib:is-gtype-struct-for="URIResponse">
<field name="parent_class">
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
</field>
<field name="_webkit_reserved0" introspectable="0">
<callback name="_webkit_reserved0">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved1" introspectable="0">
<callback name="_webkit_reserved1">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved2" introspectable="0">
<callback name="_webkit_reserved2">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved3" introspectable="0">
<callback name="_webkit_reserved3">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
</record>
<record name="URIResponsePrivate" c:type="WebKitURIResponsePrivate" disguised="1"/>
<class name="URISchemeRequest" c:symbol-prefix="uri_scheme_request" c:type="WebKitURISchemeRequest" parent="GObject.Object" glib:type-name="WebKitURISchemeRequest" glib:get-type="webkit_uri_scheme_request_get_type" glib:type-struct="URISchemeRequestClass">
<method name="finish" c:identifier="webkit_uri_scheme_request_finish">
<doc xml:space="preserve">Finish a #WebKitURISchemeRequest by setting the contents of the request and its mime type.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="request" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitURISchemeRequest</doc>
<type name="URISchemeRequest" c:type="WebKitURISchemeRequest*"/>
</instance-parameter>
<parameter name="stream" transfer-ownership="none">
<doc xml:space="preserve">a #GInputStream to read the contents of the request</doc>
<type name="Gio.InputStream" c:type="GInputStream*"/>
</parameter>
<parameter name="stream_length" transfer-ownership="none">
<doc xml:space="preserve">the length of the stream or -1 if not known</doc>
<type name="gint64" c:type="gint64"/>
</parameter>
<parameter name="content_type" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">the content type of the stream or %NULL if not known</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="finish_error" c:identifier="webkit_uri_scheme_request_finish_error" version="2.2">
<doc xml:space="preserve">Finish a #WebKitURISchemeRequest with a #GError.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="request" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitURISchemeRequest</doc>
<type name="URISchemeRequest" c:type="WebKitURISchemeRequest*"/>
</instance-parameter>
<parameter name="error" transfer-ownership="none">
<doc xml:space="preserve">a #GError that will be passed to the #WebKitWebView</doc>
<type name="GLib.Error" c:type="GError*"/>
</parameter>
</parameters>
</method>
<method name="get_path" c:identifier="webkit_uri_scheme_request_get_path">
<doc xml:space="preserve">Get the URI path of @request</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the URI path of @request</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="request" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitURISchemeRequest</doc>
<type name="URISchemeRequest" c:type="WebKitURISchemeRequest*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_scheme" c:identifier="webkit_uri_scheme_request_get_scheme">
<doc xml:space="preserve">Get the URI scheme of @request</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the URI scheme of @request</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="request" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitURISchemeRequest</doc>
<type name="URISchemeRequest" c:type="WebKitURISchemeRequest*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_uri" c:identifier="webkit_uri_scheme_request_get_uri">
<doc xml:space="preserve">Get the URI of @request</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the full URI of @request</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="request" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitURISchemeRequest</doc>
<type name="URISchemeRequest" c:type="WebKitURISchemeRequest*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_web_view" c:identifier="webkit_uri_scheme_request_get_web_view">
<doc xml:space="preserve">Get the #WebKitWebView that initiated the request.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the #WebKitWebView that initiated @request.</doc>
<type name="WebView" c:type="WebKitWebView*"/>
</return-value>
<parameters>
<instance-parameter name="request" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitURISchemeRequest</doc>
<type name="URISchemeRequest" c:type="WebKitURISchemeRequest*"/>
</instance-parameter>
</parameters>
</method>
<field name="parent">
<type name="GObject.Object" c:type="GObject"/>
</field>
<field name="priv">
<type name="URISchemeRequestPrivate" c:type="WebKitURISchemeRequestPrivate*"/>
</field>
</class>
<callback name="URISchemeRequestCallback" c:type="WebKitURISchemeRequestCallback">
<doc xml:space="preserve">Type definition for a function that will be called back when an URI request is
made for a user registered URI scheme.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="request" transfer-ownership="none">
<doc xml:space="preserve">the #WebKitURISchemeRequest</doc>
<type name="URISchemeRequest" c:type="WebKitURISchemeRequest*"/>
</parameter>
<parameter name="user_data" transfer-ownership="none" nullable="1" allow-none="1" closure="1">
<doc xml:space="preserve">user data passed to the callback</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
</callback>
<record name="URISchemeRequestClass" c:type="WebKitURISchemeRequestClass" glib:is-gtype-struct-for="URISchemeRequest">
<field name="parent_class">
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
</field>
<field name="_webkit_reserved0" introspectable="0">
<callback name="_webkit_reserved0">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved1" introspectable="0">
<callback name="_webkit_reserved1">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved2" introspectable="0">
<callback name="_webkit_reserved2">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved3" introspectable="0">
<callback name="_webkit_reserved3">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
</record>
<record name="URISchemeRequestPrivate" c:type="WebKitURISchemeRequestPrivate" disguised="1"/>
<function-macro name="URI_REQUEST" c:identifier="WEBKIT_URI_REQUEST" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="URI_REQUEST_CLASS" c:identifier="WEBKIT_URI_REQUEST_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="URI_REQUEST_GET_CLASS" c:identifier="WEBKIT_URI_REQUEST_GET_CLASS" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="URI_RESPONSE" c:identifier="WEBKIT_URI_RESPONSE" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="URI_RESPONSE_CLASS" c:identifier="WEBKIT_URI_RESPONSE_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="URI_RESPONSE_GET_CLASS" c:identifier="WEBKIT_URI_RESPONSE_GET_CLASS" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="URI_SCHEME_REQUEST" c:identifier="WEBKIT_URI_SCHEME_REQUEST" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="URI_SCHEME_REQUEST_CLASS" c:identifier="WEBKIT_URI_SCHEME_REQUEST_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="URI_SCHEME_REQUEST_GET_CLASS" c:identifier="WEBKIT_URI_SCHEME_REQUEST_GET_CLASS" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="USER_CONTENT_FILTER_STORE" c:identifier="WEBKIT_USER_CONTENT_FILTER_STORE" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="USER_CONTENT_FILTER_STORE_CLASS" c:identifier="WEBKIT_USER_CONTENT_FILTER_STORE_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="USER_CONTENT_FILTER_STORE_GET_CLASS" c:identifier="WEBKIT_USER_CONTENT_FILTER_STORE_GET_CLASS" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="USER_CONTENT_MANAGER" c:identifier="WEBKIT_USER_CONTENT_MANAGER" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="USER_CONTENT_MANAGER_CLASS" c:identifier="WEBKIT_USER_CONTENT_MANAGER_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="USER_CONTENT_MANAGER_GET_CLASS" c:identifier="WEBKIT_USER_CONTENT_MANAGER_GET_CLASS" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="USER_MEDIA_PERMISSION_REQUEST" c:identifier="WEBKIT_USER_MEDIA_PERMISSION_REQUEST" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="USER_MEDIA_PERMISSION_REQUEST_CLASS" c:identifier="WEBKIT_USER_MEDIA_PERMISSION_REQUEST_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="USER_MEDIA_PERMISSION_REQUEST_GET_CLASS" c:identifier="WEBKIT_USER_MEDIA_PERMISSION_REQUEST_GET_CLASS" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="USER_MESSAGE" c:identifier="WEBKIT_USER_MESSAGE" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="USER_MESSAGE_CLASS" c:identifier="WEBKIT_USER_MESSAGE_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="USER_MESSAGE_GET_CLASS" c:identifier="WEBKIT_USER_MESSAGE_GET_CLASS" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<record name="UserContentFilter" c:type="WebKitUserContentFilter" glib:type-name="WebKitUserContentFilter" glib:get-type="webkit_user_content_filter_get_type" c:symbol-prefix="user_content_filter">
<method name="get_identifier" c:identifier="webkit_user_content_filter_get_identifier" version="2.24">
<doc xml:space="preserve">Obtain the identifier previously used to save the @user_content_filter in the
#WebKitUserContentFilterStore.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the identifier for the filter</doc>
<type name="utf8" c:type="const char*"/>
</return-value>
<parameters>
<instance-parameter name="user_content_filter" transfer-ownership="none">
<doc xml:space="preserve">A #WebKitUserContentFilter</doc>
<type name="UserContentFilter" c:type="WebKitUserContentFilter*"/>
</instance-parameter>
</parameters>
</method>
<method name="ref" c:identifier="webkit_user_content_filter_ref" version="2.24">
<doc xml:space="preserve">Atomically increments the reference count of @user_content_filter by one.
This function is MT-safe and may be called from any thread.</doc>
<return-value transfer-ownership="full">
<type name="UserContentFilter" c:type="WebKitUserContentFilter*"/>
</return-value>
<parameters>
<instance-parameter name="user_content_filter" transfer-ownership="none">
<doc xml:space="preserve">A #WebKitUserContentFilter</doc>
<type name="UserContentFilter" c:type="WebKitUserContentFilter*"/>
</instance-parameter>
</parameters>
</method>
<method name="unref" c:identifier="webkit_user_content_filter_unref" version="2.24">
<doc xml:space="preserve">Atomically decrements the reference count of @user_content_filter by one.
If the reference count drops to 0, all the memory allocated by the
#WebKitUserContentFilter is released. This function is MT-safe and may
be called from any thread.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="user_content_filter" transfer-ownership="none">
<doc xml:space="preserve">A #WebKitUserContentFilter</doc>
<type name="UserContentFilter" c:type="WebKitUserContentFilter*"/>
</instance-parameter>
</parameters>
</method>
</record>
<enumeration name="UserContentFilterError" version="2.24" glib:type-name="WebKitUserContentFilterError" glib:get-type="webkit_user_content_filter_error_get_type" c:type="WebKitUserContentFilterError" glib:error-domain="WebKitUserContentFilterError">
<member name="invalid_source" value="0" c:identifier="WEBKIT_USER_CONTENT_FILTER_ERROR_INVALID_SOURCE" glib:nick="invalid-source" glib:name="WEBKIT_USER_CONTENT_FILTER_ERROR_INVALID_SOURCE">
<doc xml:space="preserve">The JSON source for a content filter is invalid.</doc>
</member>
<member name="not_found" value="1" c:identifier="WEBKIT_USER_CONTENT_FILTER_ERROR_NOT_FOUND" glib:nick="not-found" glib:name="WEBKIT_USER_CONTENT_FILTER_ERROR_NOT_FOUND">
<doc xml:space="preserve">The requested content filter could not be found.</doc>
</member>
<function name="quark" c:identifier="webkit_user_content_filter_error_quark">
<return-value transfer-ownership="none">
<type name="GLib.Quark" c:type="GQuark"/>
</return-value>
</function>
</enumeration>
<class name="UserContentFilterStore" c:symbol-prefix="user_content_filter_store" c:type="WebKitUserContentFilterStore" parent="GObject.Object" glib:type-name="WebKitUserContentFilterStore" glib:get-type="webkit_user_content_filter_store_get_type" glib:type-struct="UserContentFilterStoreClass">
<constructor name="new" c:identifier="webkit_user_content_filter_store_new" version="2.24">
<doc xml:space="preserve">Create a new #WebKitUserContentFilterStore to manipulate filters stored at @storage_path.
The path must point to a local filesystem, and will be created if needed.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">a newly created #WebKitUserContentFilterStore</doc>
<type name="UserContentFilterStore" c:type="WebKitUserContentFilterStore*"/>
</return-value>
<parameters>
<parameter name="storage_path" transfer-ownership="none">
<doc xml:space="preserve">path where data for filters will be stored on disk</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</constructor>
<method name="fetch_identifiers" c:identifier="webkit_user_content_filter_store_fetch_identifiers" version="2.24">
<doc xml:space="preserve">Asynchronously retrieve a list of the identifiers for all the stored filters.
When the operation is finished, @callback will be invoked, which then can use
webkit_user_content_filter_store_fetch_identifiers_finish() to obtain the list of
filter identifiers.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="store" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitUserContentFilterStore</doc>
<type name="UserContentFilterStore" c:type="WebKitUserContentFilterStore*"/>
</instance-parameter>
<parameter name="cancellable" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">a #GCancellable or %NULL to ignore</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
<parameter name="callback" transfer-ownership="none" nullable="1" allow-none="1" scope="async" closure="2">
<doc xml:space="preserve">a #GAsyncReadyCallback to call when the removal is completed</doc>
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
</parameter>
<parameter name="user_data" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">the data to pass to the callback function</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
</method>
<method name="fetch_identifiers_finish" c:identifier="webkit_user_content_filter_store_fetch_identifiers_finish" version="2.24">
<doc xml:space="preserve">Finishes an asynchronous fetch of the list of identifiers for the stored filters previously
started with webkit_user_content_filter_store_fetch_identifiers().</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">a %NULL-terminated list of filter identifiers.</doc>
<array c:type="gchar**">
<type name="utf8"/>
</array>
</return-value>
<parameters>
<instance-parameter name="store" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitUserContentFilterStore</doc>
<type name="UserContentFilterStore" c:type="WebKitUserContentFilterStore*"/>
</instance-parameter>
<parameter name="result" transfer-ownership="none">
<doc xml:space="preserve">a #GAsyncResult</doc>
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
</parameter>
</parameters>
</method>
<method name="get_path" c:identifier="webkit_user_content_filter_store_get_path" glib:get-property="path" version="2.24">
<return-value transfer-ownership="none">
<doc xml:space="preserve">The storage path for user content filters.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="store" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitUserContentFilterStore</doc>
<type name="UserContentFilterStore" c:type="WebKitUserContentFilterStore*"/>
</instance-parameter>
</parameters>
</method>
<method name="load" c:identifier="webkit_user_content_filter_store_load" version="2.24">
<doc xml:space="preserve">Asynchronously load a content filter given its @identifier. The filter must have been
previously stored using webkit_user_content_filter_store_save().
When the operation is finished, @callback will be invoked, which then can use
webkit_user_content_filter_store_load_finish() to obtain the resulting filter.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="store" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitUserContentFilterStore</doc>
<type name="UserContentFilterStore" c:type="WebKitUserContentFilterStore*"/>
</instance-parameter>
<parameter name="identifier" transfer-ownership="none">
<doc xml:space="preserve">a filter identifier</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="cancellable" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">a #GCancellable or %NULL to ignore</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
<parameter name="callback" transfer-ownership="none" nullable="1" allow-none="1" scope="async" closure="3">
<doc xml:space="preserve">a #GAsyncReadyCallback to call when the load is completed</doc>
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
</parameter>
<parameter name="user_data" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">the data to pass to the callback function</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
</method>
<method name="load_finish" c:identifier="webkit_user_content_filter_store_load_finish" version="2.24" throws="1">
<doc xml:space="preserve">Finishes an asynchronous filter load previously started with
webkit_user_content_filter_store_load().</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">a #WebKitUserContentFilter, or %NULL if the load failed</doc>
<type name="UserContentFilter" c:type="WebKitUserContentFilter*"/>
</return-value>
<parameters>
<instance-parameter name="store" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitUserContentFilterStore</doc>
<type name="UserContentFilterStore" c:type="WebKitUserContentFilterStore*"/>
</instance-parameter>
<parameter name="result" transfer-ownership="none">
<doc xml:space="preserve">a #GAsyncResult</doc>
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
</parameter>
</parameters>
</method>
<method name="remove" c:identifier="webkit_user_content_filter_store_remove" version="2.24">
<doc xml:space="preserve">Asynchronously remove a content filter given its @identifier.
When the operation is finished, @callback will be invoked, which then can use
webkit_user_content_filter_store_remove_finish() to check whether the removal was
successful.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="store" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitUserContentFilterStore</doc>
<type name="UserContentFilterStore" c:type="WebKitUserContentFilterStore*"/>
</instance-parameter>
<parameter name="identifier" transfer-ownership="none">
<doc xml:space="preserve">a filter identifier</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="cancellable" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">a #GCancellable or %NULL to ignore</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
<parameter name="callback" transfer-ownership="none" nullable="1" allow-none="1" scope="async" closure="3">
<doc xml:space="preserve">a #GAsyncReadyCallback to call when the removal is completed</doc>
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
</parameter>
<parameter name="user_data" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">the data to pass to the callback function</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
</method>
<method name="remove_finish" c:identifier="webkit_user_content_filter_store_remove_finish" version="2.24" throws="1">
<doc xml:space="preserve">Finishes an asynchronous filter removal previously started with
webkit_user_content_filter_store_remove().</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">whether the removal was successful</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="store" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitUserContentFilterStore</doc>
<type name="UserContentFilterStore" c:type="WebKitUserContentFilterStore*"/>
</instance-parameter>
<parameter name="result" transfer-ownership="none">
<doc xml:space="preserve">a #GAsyncResult</doc>
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
</parameter>
</parameters>
</method>
<method name="save" c:identifier="webkit_user_content_filter_store_save" version="2.24">
<doc xml:space="preserve">Asynchronously save a content filter from a source rule set in the
[WebKit content extesions JSON format](https://webkit.org/blog/3476/content-blockers-first-look/).
The @identifier can be used afterwards to refer to the filter when using
webkit_user_content_filter_store_remove() and webkit_user_content_filter_store_load().
When the @identifier has been used in the past, the new filter source will replace
the one saved beforehand for the same identifier.
When the operation is finished, @callback will be invoked, which then can use
webkit_user_content_filter_store_save_finish() to obtain the resulting filter.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="store" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitUserContentFilterStore</doc>
<type name="UserContentFilterStore" c:type="WebKitUserContentFilterStore*"/>
</instance-parameter>
<parameter name="identifier" transfer-ownership="none">
<doc xml:space="preserve">a string used to identify the saved filter</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="source" transfer-ownership="none">
<doc xml:space="preserve">#GBytes containing the rule set in JSON format</doc>
<type name="GLib.Bytes" c:type="GBytes*"/>
</parameter>
<parameter name="cancellable" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">a #GCancellable or %NULL to ignore</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
<parameter name="callback" transfer-ownership="none" nullable="1" allow-none="1" scope="async" closure="4">
<doc xml:space="preserve">a #GAsyncReadyCallback to call when saving is completed</doc>
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
</parameter>
<parameter name="user_data" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">the data to pass to the callback function</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
</method>
<method name="save_finish" c:identifier="webkit_user_content_filter_store_save_finish" version="2.24" throws="1">
<doc xml:space="preserve">Finishes an asynchronous filter save previously started with
webkit_user_content_filter_store_save().</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">a #WebKitUserContentFilter, or %NULL if saving failed</doc>
<type name="UserContentFilter" c:type="WebKitUserContentFilter*"/>
</return-value>
<parameters>
<instance-parameter name="store" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitUserContentFilterStore</doc>
<type name="UserContentFilterStore" c:type="WebKitUserContentFilterStore*"/>
</instance-parameter>
<parameter name="result" transfer-ownership="none">
<doc xml:space="preserve">a #GAsyncResult</doc>
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
</parameter>
</parameters>
</method>
<method name="save_from_file" c:identifier="webkit_user_content_filter_store_save_from_file" version="2.24">
<doc xml:space="preserve">Asynchronously save a content filter from the contents of a file, which must be
native to the platform, as checked by g_file_is_native(). See
webkit_user_content_filter_store_save() for more details.
When the operation is finished, @callback will be invoked, which then can use
webkit_user_content_filter_store_save_finish() to obtain the resulting filter.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="store" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitUserContentFilterStore</doc>
<type name="UserContentFilterStore" c:type="WebKitUserContentFilterStore*"/>
</instance-parameter>
<parameter name="identifier" transfer-ownership="none">
<doc xml:space="preserve">a string used to identify the saved filter</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="file" transfer-ownership="none">
<doc xml:space="preserve">a #GFile containing the rule set in JSON format</doc>
<type name="Gio.File" c:type="GFile*"/>
</parameter>
<parameter name="cancellable" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">a #GCancellable or %NULL to ignore</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
<parameter name="callback" transfer-ownership="none" nullable="1" allow-none="1" scope="async" closure="4">
<doc xml:space="preserve">a #GAsyncReadyCallback to call when saving is completed</doc>
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
</parameter>
<parameter name="user_data" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">the data to pass to the callback function</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
</method>
<method name="save_from_file_finish" c:identifier="webkit_user_content_filter_store_save_from_file_finish" version="2.24" throws="1">
<doc xml:space="preserve">Finishes and asynchronous filter save previously started with
webkit_user_content_filter_store_save_from_file().</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">a #WebKitUserContentFilter, or %NULL if saving failed.</doc>
<type name="UserContentFilter" c:type="WebKitUserContentFilter*"/>
</return-value>
<parameters>
<instance-parameter name="store" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitUserContentFilterStore</doc>
<type name="UserContentFilterStore" c:type="WebKitUserContentFilterStore*"/>
</instance-parameter>
<parameter name="result" transfer-ownership="none">
<doc xml:space="preserve">a #GAsyncResult</doc>
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
</parameter>
</parameters>
</method>
<property name="path" version="2.24" writable="1" construct-only="1" transfer-ownership="none" getter="get_path">
<doc xml:space="preserve">The directory used for filter storage. This path is used as the base
directory where user content filters are stored on disk.</doc>
<type name="utf8" c:type="gchar*"/>
</property>
<field name="parent">
<type name="GObject.Object" c:type="GObject"/>
</field>
<field name="priv" readable="0" private="1">
<type name="UserContentFilterStorePrivate" c:type="WebKitUserContentFilterStorePrivate*"/>
</field>
</class>
<record name="UserContentFilterStoreClass" c:type="WebKitUserContentFilterStoreClass" glib:is-gtype-struct-for="UserContentFilterStore">
<field name="parent_class">
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
</field>
<field name="_webkit_reserved0" introspectable="0">
<callback name="_webkit_reserved0">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved1" introspectable="0">
<callback name="_webkit_reserved1">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved2" introspectable="0">
<callback name="_webkit_reserved2">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved3" introspectable="0">
<callback name="_webkit_reserved3">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
</record>
<record name="UserContentFilterStorePrivate" c:type="WebKitUserContentFilterStorePrivate" disguised="1"/>
<enumeration name="UserContentInjectedFrames" version="2.6" glib:type-name="WebKitUserContentInjectedFrames" glib:get-type="webkit_user_content_injected_frames_get_type" c:type="WebKitUserContentInjectedFrames">
<doc xml:space="preserve">Specifies in which frames user style sheets are to be inserted in.</doc>
<member name="all_frames" value="0" c:identifier="WEBKIT_USER_CONTENT_INJECT_ALL_FRAMES" glib:nick="all-frames" glib:name="WEBKIT_USER_CONTENT_INJECT_ALL_FRAMES">
<doc xml:space="preserve">Insert the user style
sheet in all the frames loaded by the web view, including
nested frames. This is the default.</doc>
</member>
<member name="top_frame" value="1" c:identifier="WEBKIT_USER_CONTENT_INJECT_TOP_FRAME" glib:nick="top-frame" glib:name="WEBKIT_USER_CONTENT_INJECT_TOP_FRAME">
<doc xml:space="preserve">Insert the user style
sheet *only* in the top-level frame loaded by the web view,
and *not* in the nested frames.</doc>
</member>
</enumeration>
<class name="UserContentManager" c:symbol-prefix="user_content_manager" c:type="WebKitUserContentManager" parent="GObject.Object" glib:type-name="WebKitUserContentManager" glib:get-type="webkit_user_content_manager_get_type" glib:type-struct="UserContentManagerClass">
<constructor name="new" c:identifier="webkit_user_content_manager_new" version="2.6">
<doc xml:space="preserve">Creates a new user content manager.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">A #WebKitUserContentManager</doc>
<type name="UserContentManager" c:type="WebKitUserContentManager*"/>
</return-value>
</constructor>
<method name="add_filter" c:identifier="webkit_user_content_manager_add_filter" version="2.24">
<doc xml:space="preserve">Adds a #WebKitUserContentFilter to the given #WebKitUserContentManager.
The same #WebKitUserContentFilter can be reused with multiple
#WebKitUserContentManager instances.
Filters need to be saved and loaded from #WebKitUserContentFilterStore.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="manager" transfer-ownership="none">
<doc xml:space="preserve">A #WebKitUserContentManager</doc>
<type name="UserContentManager" c:type="WebKitUserContentManager*"/>
</instance-parameter>
<parameter name="filter" transfer-ownership="none">
<doc xml:space="preserve">A #WebKitUserContentFilter</doc>
<type name="UserContentFilter" c:type="WebKitUserContentFilter*"/>
</parameter>
</parameters>
</method>
<method name="add_script" c:identifier="webkit_user_content_manager_add_script" version="2.6">
<doc xml:space="preserve">Adds a #WebKitUserScript to the given #WebKitUserContentManager.
The same #WebKitUserScript can be reused with multiple
#WebKitUserContentManager instances.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="manager" transfer-ownership="none">
<doc xml:space="preserve">A #WebKitUserContentManager</doc>
<type name="UserContentManager" c:type="WebKitUserContentManager*"/>
</instance-parameter>
<parameter name="script" transfer-ownership="none">
<doc xml:space="preserve">A #WebKitUserScript</doc>
<type name="UserScript" c:type="WebKitUserScript*"/>
</parameter>
</parameters>
</method>
<method name="add_style_sheet" c:identifier="webkit_user_content_manager_add_style_sheet" version="2.6">
<doc xml:space="preserve">Adds a #WebKitUserStyleSheet to the given #WebKitUserContentManager.
The same #WebKitUserStyleSheet can be reused with multiple
#WebKitUserContentManager instances.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="manager" transfer-ownership="none">
<doc xml:space="preserve">A #WebKitUserContentManager</doc>
<type name="UserContentManager" c:type="WebKitUserContentManager*"/>
</instance-parameter>
<parameter name="stylesheet" transfer-ownership="none">
<doc xml:space="preserve">A #WebKitUserStyleSheet</doc>
<type name="UserStyleSheet" c:type="WebKitUserStyleSheet*"/>
</parameter>
</parameters>
</method>
<method name="register_script_message_handler" c:identifier="webkit_user_content_manager_register_script_message_handler" version="2.8">
<doc xml:space="preserve">Registers a new user script message handler. After it is registered,
scripts can use `window.webkit.messageHandlers.&amp;lt;name&amp;gt;.postMessage(value)`
to send messages. Those messages are received by connecting handlers
to the #WebKitUserContentManager::script-message-received signal. The
handler name is used as the detail of the signal. To avoid race
conditions between registering the handler name, and starting to
receive the signals, it is recommended to connect to the signal
*before* registering the handler name:
&lt;informalexample&gt;&lt;programlisting&gt;
WebKitWebView *view = webkit_web_view_new ();
WebKitUserContentManager *manager = webkit_web_view_get_user_content_manager ();
g_signal_connect (manager, "script-message-received::foobar",
G_CALLBACK (handle_script_message), NULL);
webkit_user_content_manager_register_script_message_handler (manager, "foobar");
&lt;/programlisting&gt;&lt;/informalexample&gt;
Registering a script message handler will fail if the requested
name has been already registered before.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if message handler was registered successfully, or %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="manager" transfer-ownership="none">
<doc xml:space="preserve">A #WebKitUserContentManager</doc>
<type name="UserContentManager" c:type="WebKitUserContentManager*"/>
</instance-parameter>
<parameter name="name" transfer-ownership="none">
<doc xml:space="preserve">Name of the script message channel</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="register_script_message_handler_in_world" c:identifier="webkit_user_content_manager_register_script_message_handler_in_world" version="2.22">
<doc xml:space="preserve">Registers a new user script message handler in script world with name @world_name.
See webkit_user_content_manager_register_script_message_handler() for full description.
Registering a script message handler will fail if the requested
name has been already registered before.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if message handler was registered successfully, or %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="manager" transfer-ownership="none">
<doc xml:space="preserve">A #WebKitUserContentManager</doc>
<type name="UserContentManager" c:type="WebKitUserContentManager*"/>
</instance-parameter>
<parameter name="name" transfer-ownership="none">
<doc xml:space="preserve">Name of the script message channel</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="world_name" transfer-ownership="none">
<doc xml:space="preserve">the name of a #WebKitScriptWorld</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="remove_all_filters" c:identifier="webkit_user_content_manager_remove_all_filters" version="2.24">
<doc xml:space="preserve">Removes all content filters from the given #WebKitUserContentManager.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="manager" transfer-ownership="none">
<doc xml:space="preserve">A #WebKitUserContentManager</doc>
<type name="UserContentManager" c:type="WebKitUserContentManager*"/>
</instance-parameter>
</parameters>
</method>
<method name="remove_all_scripts" c:identifier="webkit_user_content_manager_remove_all_scripts" version="2.6">
<doc xml:space="preserve">Removes all user scripts from the given #WebKitUserContentManager
See also webkit_user_content_manager_remove_script().</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="manager" transfer-ownership="none">
<doc xml:space="preserve">A #WebKitUserContentManager</doc>
<type name="UserContentManager" c:type="WebKitUserContentManager*"/>
</instance-parameter>
</parameters>
</method>
<method name="remove_all_style_sheets" c:identifier="webkit_user_content_manager_remove_all_style_sheets" version="2.6">
<doc xml:space="preserve">Removes all user style sheets from the given #WebKitUserContentManager.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="manager" transfer-ownership="none">
<doc xml:space="preserve">A #WebKitUserContentManager</doc>
<type name="UserContentManager" c:type="WebKitUserContentManager*"/>
</instance-parameter>
</parameters>
</method>
<method name="remove_filter" c:identifier="webkit_user_content_manager_remove_filter">
<doc xml:space="preserve">Removes a filter from the given #WebKitUserContentManager.
Since 2.24</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="manager" transfer-ownership="none">
<doc xml:space="preserve">A #WebKitUserContentManager</doc>
<type name="UserContentManager" c:type="WebKitUserContentManager*"/>
</instance-parameter>
<parameter name="filter" transfer-ownership="none">
<doc xml:space="preserve">A #WebKitUserContentFilter</doc>
<type name="UserContentFilter" c:type="WebKitUserContentFilter*"/>
</parameter>
</parameters>
</method>
<method name="remove_filter_by_id" c:identifier="webkit_user_content_manager_remove_filter_by_id" version="2.26">
<doc xml:space="preserve">Removes a filter from the given #WebKitUserContentManager given the
identifier of a #WebKitUserContentFilter as returned by
webkit_user_content_filter_get_identifier().</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="manager" transfer-ownership="none">
<doc xml:space="preserve">A #WebKitUserContentManager</doc>
<type name="UserContentManager" c:type="WebKitUserContentManager*"/>
</instance-parameter>
<parameter name="filter_id" transfer-ownership="none">
<doc xml:space="preserve">Filter identifier</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
</parameters>
</method>
<method name="remove_script" c:identifier="webkit_user_content_manager_remove_script" version="2.32">
<doc xml:space="preserve">Removes a #WebKitUserScript from the given #WebKitUserContentManager.
See also webkit_user_content_manager_remove_all_scripts().</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="manager" transfer-ownership="none">
<doc xml:space="preserve">A #WebKitUserContentManager</doc>
<type name="UserContentManager" c:type="WebKitUserContentManager*"/>
</instance-parameter>
<parameter name="script" transfer-ownership="none">
<doc xml:space="preserve">A #WebKitUserScript</doc>
<type name="UserScript" c:type="WebKitUserScript*"/>
</parameter>
</parameters>
</method>
<method name="remove_style_sheet" c:identifier="webkit_user_content_manager_remove_style_sheet" version="2.32">
<doc xml:space="preserve">Removes a #WebKitUserStyleSheet from the given #WebKitUserContentManager.
See also webkit_user_content_manager_remove_all_style_sheets().</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="manager" transfer-ownership="none">
<doc xml:space="preserve">A #WebKitUserContentManager</doc>
<type name="UserContentManager" c:type="WebKitUserContentManager*"/>
</instance-parameter>
<parameter name="stylesheet" transfer-ownership="none">
<doc xml:space="preserve">A #WebKitUserStyleSheet</doc>
<type name="UserStyleSheet" c:type="WebKitUserStyleSheet*"/>
</parameter>
</parameters>
</method>
<method name="unregister_script_message_handler" c:identifier="webkit_user_content_manager_unregister_script_message_handler" version="2.8">
<doc xml:space="preserve">Unregisters a previously registered message handler.
Note that this does *not* disconnect handlers for the
#WebKitUserContentManager::script-message-received signal;
they will be kept connected, but the signal will not be emitted
unless the handler name is registered again.
See also webkit_user_content_manager_register_script_message_handler().</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="manager" transfer-ownership="none">
<doc xml:space="preserve">A #WebKitUserContentManager</doc>
<type name="UserContentManager" c:type="WebKitUserContentManager*"/>
</instance-parameter>
<parameter name="name" transfer-ownership="none">
<doc xml:space="preserve">Name of the script message channel</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="unregister_script_message_handler_in_world" c:identifier="webkit_user_content_manager_unregister_script_message_handler_in_world" version="2.22">
<doc xml:space="preserve">Unregisters a previously registered message handler in script world with name @world_name.
Note that this does *not* disconnect handlers for the
#WebKitUserContentManager::script-message-received signal;
they will be kept connected, but the signal will not be emitted
unless the handler name is registered again.
See also webkit_user_content_manager_register_script_message_handler_in_world().</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="manager" transfer-ownership="none">
<doc xml:space="preserve">A #WebKitUserContentManager</doc>
<type name="UserContentManager" c:type="WebKitUserContentManager*"/>
</instance-parameter>
<parameter name="name" transfer-ownership="none">
<doc xml:space="preserve">Name of the script message channel</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="world_name" transfer-ownership="none">
<doc xml:space="preserve">the name of a #WebKitScriptWorld</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<field name="parent">
<type name="GObject.Object" c:type="GObject"/>
</field>
<field name="priv" readable="0" private="1">
<type name="UserContentManagerPrivate" c:type="WebKitUserContentManagerPrivate*"/>
</field>
<glib:signal name="script-message-received" when="last" detailed="1" version="2.8">
<doc xml:space="preserve">This signal is emitted when JavaScript in a web view calls
&lt;code&gt;window.webkit.messageHandlers.&amp;lt;name&amp;gt;.postMessage()&lt;/code&gt;, after registering
&lt;code&gt;&amp;lt;name&amp;gt;&lt;/code&gt; using
webkit_user_content_manager_register_script_message_handler()</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="js_result" transfer-ownership="none">
<doc xml:space="preserve">the #WebKitJavascriptResult holding the value received from the JavaScript world.</doc>
<type name="JavascriptResult"/>
</parameter>
</parameters>
</glib:signal>
</class>
<record name="UserContentManagerClass" c:type="WebKitUserContentManagerClass" glib:is-gtype-struct-for="UserContentManager">
<field name="parent_class">
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
</field>
<field name="_webkit_reserved0" introspectable="0">
<callback name="_webkit_reserved0">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved1" introspectable="0">
<callback name="_webkit_reserved1">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved2" introspectable="0">
<callback name="_webkit_reserved2">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved3" introspectable="0">
<callback name="_webkit_reserved3">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
</record>
<record name="UserContentManagerPrivate" c:type="WebKitUserContentManagerPrivate" disguised="1"/>
<class name="UserMediaPermissionRequest" c:symbol-prefix="user_media_permission_request" c:type="WebKitUserMediaPermissionRequest" parent="GObject.Object" glib:type-name="WebKitUserMediaPermissionRequest" glib:get-type="webkit_user_media_permission_request_get_type" glib:type-struct="UserMediaPermissionRequestClass">
<implements name="PermissionRequest"/>
<property name="is-for-audio-device" transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="is-for-video-device" transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</property>
<field name="parent">
<type name="GObject.Object" c:type="GObject"/>
</field>
<field name="priv" readable="0" private="1">
<type name="UserMediaPermissionRequestPrivate" c:type="WebKitUserMediaPermissionRequestPrivate*"/>
</field>
</class>
<record name="UserMediaPermissionRequestClass" c:type="WebKitUserMediaPermissionRequestClass" glib:is-gtype-struct-for="UserMediaPermissionRequest">
<field name="parent_class">
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
</field>
<field name="_webkit_reserved0" introspectable="0">
<callback name="_webkit_reserved0">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved1" introspectable="0">
<callback name="_webkit_reserved1">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved2" introspectable="0">
<callback name="_webkit_reserved2">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved3" introspectable="0">
<callback name="_webkit_reserved3">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
</record>
<record name="UserMediaPermissionRequestPrivate" c:type="WebKitUserMediaPermissionRequestPrivate" disguised="1"/>
<class name="UserMessage" c:symbol-prefix="user_message" c:type="WebKitUserMessage" parent="GObject.InitiallyUnowned" glib:type-name="WebKitUserMessage" glib:get-type="webkit_user_message_get_type" glib:type-struct="UserMessageClass">
<constructor name="new" c:identifier="webkit_user_message_new" version="2.28">
<doc xml:space="preserve">Create a new #WebKitUserMessage with @name.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the newly created #WebKitUserMessage object.</doc>
<type name="UserMessage" c:type="WebKitUserMessage*"/>
</return-value>
<parameters>
<parameter name="name" transfer-ownership="none">
<doc xml:space="preserve">the message name</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="parameters" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">the message parameters as a #GVariant, or %NULL</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
</parameters>
</constructor>
<constructor name="new_with_fd_list" c:identifier="webkit_user_message_new_with_fd_list" version="2.28">
<doc xml:space="preserve">Create a new #WebKitUserMessage including also a list of UNIX file descriptors to be sent.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the newly created #WebKitUserMessage object.</doc>
<type name="UserMessage" c:type="WebKitUserMessage*"/>
</return-value>
<parameters>
<parameter name="name" transfer-ownership="none">
<doc xml:space="preserve">the message name</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="parameters" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">the message parameters as a #GVariant</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
<parameter name="fd_list" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">the message file descriptors</doc>
<type name="Gio.UnixFDList" c:type="GUnixFDList*"/>
</parameter>
</parameters>
</constructor>
<method name="get_fd_list" c:identifier="webkit_user_message_get_fd_list" glib:get-property="fd-list" version="2.28">
<doc xml:space="preserve">Get the @message list of file descritpor</doc>
<return-value transfer-ownership="none" nullable="1">
<doc xml:space="preserve">the message list of file descriptors</doc>
<type name="Gio.UnixFDList" c:type="GUnixFDList*"/>
</return-value>
<parameters>
<instance-parameter name="message" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitUserMessage</doc>
<type name="UserMessage" c:type="WebKitUserMessage*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_name" c:identifier="webkit_user_message_get_name" glib:get-property="name" version="2.28">
<doc xml:space="preserve">Get the @message name</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the message name</doc>
<type name="utf8" c:type="const char*"/>
</return-value>
<parameters>
<instance-parameter name="message" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitUserMessage</doc>
<type name="UserMessage" c:type="WebKitUserMessage*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_parameters" c:identifier="webkit_user_message_get_parameters" glib:get-property="parameters" version="2.28">
<doc xml:space="preserve">Get the @message parameters</doc>
<return-value transfer-ownership="none" nullable="1">
<doc xml:space="preserve">the message parameters</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</return-value>
<parameters>
<instance-parameter name="message" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitUserMessage</doc>
<type name="UserMessage" c:type="WebKitUserMessage*"/>
</instance-parameter>
</parameters>
</method>
<method name="send_reply" c:identifier="webkit_user_message_send_reply" version="2.28">
<doc xml:space="preserve">Send a reply to @message. If @reply is floating, it's consumed.
You can only send a reply to a #WebKitUserMessage that has been
received.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="message" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitUserMessage</doc>
<type name="UserMessage" c:type="WebKitUserMessage*"/>
</instance-parameter>
<parameter name="reply" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitUserMessage to send as reply</doc>
<type name="UserMessage" c:type="WebKitUserMessage*"/>
</parameter>
</parameters>
</method>
<property name="fd-list" version="2.28" writable="1" construct-only="1" transfer-ownership="none" getter="get_fd_list">
<doc xml:space="preserve">The UNIX file descriptors of the user message.</doc>
<type name="Gio.UnixFDList"/>
</property>
<property name="name" version="2.28" writable="1" construct-only="1" transfer-ownership="none" getter="get_name">
<doc xml:space="preserve">The name of the user message.</doc>
<type name="utf8" c:type="gchar*"/>
</property>
<property name="parameters" version="2.28" writable="1" construct-only="1" transfer-ownership="none" getter="get_parameters">
<doc xml:space="preserve">The parameters of the user message as a #GVariant, or %NULL
if the message doesn't include parameters. Note that only complete types are
allowed.</doc>
<type name="GLib.Variant"/>
</property>
<field name="parent">
<type name="GObject.InitiallyUnowned" c:type="GInitiallyUnowned"/>
</field>
<field name="priv">
<type name="UserMessagePrivate" c:type="WebKitUserMessagePrivate*"/>
</field>
</class>
<record name="UserMessageClass" c:type="WebKitUserMessageClass" glib:is-gtype-struct-for="UserMessage">
<field name="parent_class">
<type name="GObject.InitiallyUnownedClass" c:type="GInitiallyUnownedClass"/>
</field>
<field name="_webkit_reserved0" introspectable="0">
<callback name="_webkit_reserved0">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved1" introspectable="0">
<callback name="_webkit_reserved1">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved2" introspectable="0">
<callback name="_webkit_reserved2">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved3" introspectable="0">
<callback name="_webkit_reserved3">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
</record>
<enumeration name="UserMessageError" version="2.28" glib:type-name="WebKitUserMessageError" glib:get-type="webkit_user_message_error_get_type" c:type="WebKitUserMessageError" glib:error-domain="WebKitUserMessageError">
<doc xml:space="preserve">Enum values used to denote errors happening when sending user messages.</doc>
<member name="message" value="0" c:identifier="WEBKIT_USER_MESSAGE_UNHANDLED_MESSAGE" glib:nick="message" glib:name="WEBKIT_USER_MESSAGE_UNHANDLED_MESSAGE">
<doc xml:space="preserve">The message was not handled by the receiver.</doc>
</member>
<function name="quark" c:identifier="webkit_user_message_error_quark">
<return-value transfer-ownership="none">
<type name="GLib.Quark" c:type="GQuark"/>
</return-value>
</function>
</enumeration>
<record name="UserMessagePrivate" c:type="WebKitUserMessagePrivate" disguised="1"/>
<record name="UserScript" c:type="WebKitUserScript" glib:type-name="WebKitUserScript" glib:get-type="webkit_user_script_get_type" c:symbol-prefix="user_script">
<constructor name="new" c:identifier="webkit_user_script_new" version="2.6">
<doc xml:space="preserve">Creates a new user script. Scripts can be applied to some URIs
only by passing non-null values for @allow_list or @block_list. Passing a
%NULL allow_list implies that all URIs are on the allow_list. The script
is applied if an URI matches the allow_list and not the block_list.
URI patterns must be of the form `[protocol]://[host]/[path]`, where the
*host* and *path* components can contain the wildcard character (`*`) to
represent zero or more other characters.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">A new #WebKitUserScript</doc>
<type name="UserScript" c:type="WebKitUserScript*"/>
</return-value>
<parameters>
<parameter name="source" transfer-ownership="none">
<doc xml:space="preserve">Source code of the user script.</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="injected_frames" transfer-ownership="none">
<doc xml:space="preserve">A #WebKitUserContentInjectedFrames value</doc>
<type name="UserContentInjectedFrames" c:type="WebKitUserContentInjectedFrames"/>
</parameter>
<parameter name="injection_time" transfer-ownership="none">
<doc xml:space="preserve">A #WebKitUserScriptInjectionTime value</doc>
<type name="UserScriptInjectionTime" c:type="WebKitUserScriptInjectionTime"/>
</parameter>
<parameter name="allow_list" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">An allow_list of URI patterns or %NULL</doc>
<array c:type="const gchar* const*">
<type name="utf8" c:type="gchar*"/>
</array>
</parameter>
<parameter name="block_list" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">A block_list of URI patterns or %NULL</doc>
<array c:type="const gchar* const*">
<type name="utf8" c:type="gchar*"/>
</array>
</parameter>
</parameters>
</constructor>
<constructor name="new_for_world" c:identifier="webkit_user_script_new_for_world" version="2.22">
<doc xml:space="preserve">Creates a new user script for script world with name @world_name.
See webkit_user_script_new() for a full description.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">A new #WebKitUserScript</doc>
<type name="UserScript" c:type="WebKitUserScript*"/>
</return-value>
<parameters>
<parameter name="source" transfer-ownership="none">
<doc xml:space="preserve">Source code of the user script.</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="injected_frames" transfer-ownership="none">
<doc xml:space="preserve">A #WebKitUserContentInjectedFrames value</doc>
<type name="UserContentInjectedFrames" c:type="WebKitUserContentInjectedFrames"/>
</parameter>
<parameter name="injection_time" transfer-ownership="none">
<doc xml:space="preserve">A #WebKitUserScriptInjectionTime value</doc>
<type name="UserScriptInjectionTime" c:type="WebKitUserScriptInjectionTime"/>
</parameter>
<parameter name="world_name" transfer-ownership="none">
<doc xml:space="preserve">the name of a #WebKitScriptWorld</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="allow_list" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">An allow_list of URI patterns or %NULL</doc>
<array c:type="const gchar* const*">
<type name="utf8" c:type="gchar*"/>
</array>
</parameter>
<parameter name="block_list" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">A block_list of URI patterns or %NULL</doc>
<array c:type="const gchar* const*">
<type name="utf8" c:type="gchar*"/>
</array>
</parameter>
</parameters>
</constructor>
<method name="ref" c:identifier="webkit_user_script_ref" version="2.6">
<doc xml:space="preserve">Atomically increments the reference count of @user_script by one.
This function is MT-safe and may be called from any thread.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">The passed #WebKitUserScript</doc>
<type name="UserScript" c:type="WebKitUserScript*"/>
</return-value>
<parameters>
<instance-parameter name="user_script" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitUserScript</doc>
<type name="UserScript" c:type="WebKitUserScript*"/>
</instance-parameter>
</parameters>
</method>
<method name="unref" c:identifier="webkit_user_script_unref" version="2.6">
<doc xml:space="preserve">Atomically decrements the reference count of @user_script by one.
If the reference count drops to 0, all memory allocated by
#WebKitUserScript is released. This function is MT-safe and may be called
from any thread.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="user_script" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitUserScript</doc>
<type name="UserScript" c:type="WebKitUserScript*"/>
</instance-parameter>
</parameters>
</method>
</record>
<enumeration name="UserScriptInjectionTime" version="2.6" glib:type-name="WebKitUserScriptInjectionTime" glib:get-type="webkit_user_script_injection_time_get_type" c:type="WebKitUserScriptInjectionTime">
<doc xml:space="preserve">Specifies at which place of documents an user script will be inserted.</doc>
<member name="start" value="0" c:identifier="WEBKIT_USER_SCRIPT_INJECT_AT_DOCUMENT_START" glib:nick="start" glib:name="WEBKIT_USER_SCRIPT_INJECT_AT_DOCUMENT_START">
<doc xml:space="preserve">Insert the code of the user
script at the beginning of loaded documents. This is the default.</doc>
</member>
<member name="end" value="1" c:identifier="WEBKIT_USER_SCRIPT_INJECT_AT_DOCUMENT_END" glib:nick="end" glib:name="WEBKIT_USER_SCRIPT_INJECT_AT_DOCUMENT_END">
<doc xml:space="preserve">Insert the code of the user
script at the end of the loaded documents.</doc>
</member>
</enumeration>
<enumeration name="UserStyleLevel" version="2.6" glib:type-name="WebKitUserStyleLevel" glib:get-type="webkit_user_style_level_get_type" c:type="WebKitUserStyleLevel">
<doc xml:space="preserve">Specifies how to treat an user style sheet.</doc>
<member name="user" value="0" c:identifier="WEBKIT_USER_STYLE_LEVEL_USER" glib:nick="user" glib:name="WEBKIT_USER_STYLE_LEVEL_USER">
<doc xml:space="preserve">The style sheet is an user style sheet,
its contents always override other style sheets. This is the default.</doc>
</member>
<member name="author" value="1" c:identifier="WEBKIT_USER_STYLE_LEVEL_AUTHOR" glib:nick="author" glib:name="WEBKIT_USER_STYLE_LEVEL_AUTHOR">
<doc xml:space="preserve">The style sheet will be treated as if
it was provided by the loaded documents. That means other user style
sheets may still override it.</doc>
</member>
</enumeration>
<record name="UserStyleSheet" c:type="WebKitUserStyleSheet" glib:type-name="WebKitUserStyleSheet" glib:get-type="webkit_user_style_sheet_get_type" c:symbol-prefix="user_style_sheet">
<constructor name="new" c:identifier="webkit_user_style_sheet_new" version="2.6">
<doc xml:space="preserve">Creates a new user style sheet. Style sheets can be applied to some URIs
only by passing non-null values for @allow_list or @block_list. Passing a
%NULL allow_list implies that all URIs are on the allow_list. The style
sheet is applied if an URI matches the allow_list and not the block_list.
URI patterns must be of the form `[protocol]://[host]/[path]`, where the
*host* and *path* components can contain the wildcard character (`*`) to
represent zero or more other characters.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">A new #WebKitUserStyleSheet</doc>
<type name="UserStyleSheet" c:type="WebKitUserStyleSheet*"/>
</return-value>
<parameters>
<parameter name="source" transfer-ownership="none">
<doc xml:space="preserve">Source code of the user style sheet.</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="injected_frames" transfer-ownership="none">
<doc xml:space="preserve">A #WebKitUserContentInjectedFrames value</doc>
<type name="UserContentInjectedFrames" c:type="WebKitUserContentInjectedFrames"/>
</parameter>
<parameter name="level" transfer-ownership="none">
<doc xml:space="preserve">A #WebKitUserStyleLevel</doc>
<type name="UserStyleLevel" c:type="WebKitUserStyleLevel"/>
</parameter>
<parameter name="allow_list" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">An allow_list of URI patterns or %NULL</doc>
<array c:type="const gchar* const*">
<type name="utf8" c:type="gchar*"/>
</array>
</parameter>
<parameter name="block_list" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">A block_list of URI patterns or %NULL</doc>
<array c:type="const gchar* const*">
<type name="utf8" c:type="gchar*"/>
</array>
</parameter>
</parameters>
</constructor>
<constructor name="new_for_world" c:identifier="webkit_user_style_sheet_new_for_world" version="2.22">
<doc xml:space="preserve">Creates a new user style sheet for script world with name @world_name.
See webkit_user_style_sheet_new() for a full description.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">A new #WebKitUserStyleSheet</doc>
<type name="UserStyleSheet" c:type="WebKitUserStyleSheet*"/>
</return-value>
<parameters>
<parameter name="source" transfer-ownership="none">
<doc xml:space="preserve">Source code of the user style sheet.</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="injected_frames" transfer-ownership="none">
<doc xml:space="preserve">A #WebKitUserContentInjectedFrames value</doc>
<type name="UserContentInjectedFrames" c:type="WebKitUserContentInjectedFrames"/>
</parameter>
<parameter name="level" transfer-ownership="none">
<doc xml:space="preserve">A #WebKitUserStyleLevel</doc>
<type name="UserStyleLevel" c:type="WebKitUserStyleLevel"/>
</parameter>
<parameter name="world_name" transfer-ownership="none">
<doc xml:space="preserve">the name of a #WebKitScriptWorld</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="allow_list" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">An allow_list of URI patterns or %NULL</doc>
<array c:type="const gchar* const*">
<type name="utf8" c:type="gchar*"/>
</array>
</parameter>
<parameter name="block_list" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">A block_list of URI patterns or %NULL</doc>
<array c:type="const gchar* const*">
<type name="utf8" c:type="gchar*"/>
</array>
</parameter>
</parameters>
</constructor>
<method name="ref" c:identifier="webkit_user_style_sheet_ref" version="2.6">
<doc xml:space="preserve">Atomically increments the reference count of @user_style_sheet by one.
This function is MT-safe and may be called from any thread.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">The passed #WebKitUserStyleSheet</doc>
<type name="UserStyleSheet" c:type="WebKitUserStyleSheet*"/>
</return-value>
<parameters>
<instance-parameter name="user_style_sheet" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitUserStyleSheet</doc>
<type name="UserStyleSheet" c:type="WebKitUserStyleSheet*"/>
</instance-parameter>
</parameters>
</method>
<method name="unref" c:identifier="webkit_user_style_sheet_unref" version="2.6">
<doc xml:space="preserve">Atomically decrements the reference count of @user_style_sheet by one.
If the reference count drops to 0, all memory allocated by
#WebKitUserStyleSheet is released. This function is MT-safe and may be
called from any thread.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="user_style_sheet" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitUserStyleSheet</doc>
<type name="UserStyleSheet" c:type="WebKitUserStyleSheet*"/>
</instance-parameter>
</parameters>
</method>
</record>
<function-macro name="WEBSITE_DATA_ACCESS_PERMISSION_REQUEST" c:identifier="WEBKIT_WEBSITE_DATA_ACCESS_PERMISSION_REQUEST" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="WEBSITE_DATA_ACCESS_PERMISSION_REQUEST_CLASS" c:identifier="WEBKIT_WEBSITE_DATA_ACCESS_PERMISSION_REQUEST_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="WEBSITE_DATA_ACCESS_PERMISSION_REQUEST_GET_CLASS" c:identifier="WEBKIT_WEBSITE_DATA_ACCESS_PERMISSION_REQUEST_GET_CLASS" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="WEBSITE_DATA_MANAGER" c:identifier="WEBKIT_WEBSITE_DATA_MANAGER" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="WEBSITE_DATA_MANAGER_CLASS" c:identifier="WEBKIT_WEBSITE_DATA_MANAGER_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="WEBSITE_DATA_MANAGER_GET_CLASS" c:identifier="WEBKIT_WEBSITE_DATA_MANAGER_GET_CLASS" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="WEBSITE_POLICIES" c:identifier="WEBKIT_WEBSITE_POLICIES" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="WEBSITE_POLICIES_CLASS" c:identifier="WEBKIT_WEBSITE_POLICIES_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="WEBSITE_POLICIES_GET_CLASS" c:identifier="WEBKIT_WEBSITE_POLICIES_GET_CLASS" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="WEB_CONTEXT" c:identifier="WEBKIT_WEB_CONTEXT" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="WEB_CONTEXT_CLASS" c:identifier="WEBKIT_WEB_CONTEXT_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="WEB_CONTEXT_GET_CLASS" c:identifier="WEBKIT_WEB_CONTEXT_GET_CLASS" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="WEB_INSPECTOR" c:identifier="WEBKIT_WEB_INSPECTOR" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="WEB_INSPECTOR_CLASS" c:identifier="WEBKIT_WEB_INSPECTOR_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="WEB_INSPECTOR_GET_CLASS" c:identifier="WEBKIT_WEB_INSPECTOR_GET_CLASS" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="WEB_RESOURCE" c:identifier="WEBKIT_WEB_RESOURCE" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="WEB_RESOURCE_CLASS" c:identifier="WEBKIT_WEB_RESOURCE_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="WEB_RESOURCE_GET_CLASS" c:identifier="WEBKIT_WEB_RESOURCE_GET_CLASS" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="WEB_VIEW" c:identifier="WEBKIT_WEB_VIEW" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="WEB_VIEW_BASE" c:identifier="WEBKIT_WEB_VIEW_BASE" introspectable="0">
<parameters>
<parameter name="object">
</parameter>
</parameters>
</function-macro>
<function-macro name="WEB_VIEW_BASE_CLASS" c:identifier="WEBKIT_WEB_VIEW_BASE_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="WEB_VIEW_BASE_GET_CLASS" c:identifier="WEBKIT_WEB_VIEW_BASE_GET_CLASS" introspectable="0">
<parameters>
<parameter name="object">
</parameter>
</parameters>
</function-macro>
<function-macro name="WEB_VIEW_CLASS" c:identifier="WEBKIT_WEB_VIEW_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="WEB_VIEW_GET_CLASS" c:identifier="WEBKIT_WEB_VIEW_GET_CLASS" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="WINDOW_PROPERTIES" c:identifier="WEBKIT_WINDOW_PROPERTIES" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="WINDOW_PROPERTIES_CLASS" c:identifier="WEBKIT_WINDOW_PROPERTIES_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="WINDOW_PROPERTIES_GET_CLASS" c:identifier="WEBKIT_WINDOW_PROPERTIES_GET_CLASS" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<class name="WebContext" c:symbol-prefix="web_context" c:type="WebKitWebContext" parent="GObject.Object" glib:type-name="WebKitWebContext" glib:get-type="webkit_web_context_get_type" glib:type-struct="WebContextClass">
<constructor name="new" c:identifier="webkit_web_context_new" version="2.8">
<doc xml:space="preserve">Create a new #WebKitWebContext</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">a newly created #WebKitWebContext</doc>
<type name="WebContext" c:type="WebKitWebContext*"/>
</return-value>
</constructor>
<constructor name="new_ephemeral" c:identifier="webkit_web_context_new_ephemeral" version="2.16">
<doc xml:space="preserve">Create a new ephemeral #WebKitWebContext. An ephemeral #WebKitWebContext is a context
created with an ephemeral #WebKitWebsiteDataManager. This is just a convenient method
to create ephemeral contexts without having to create your own #WebKitWebsiteDataManager.
All #WebKitWebView&lt;!-- --&gt;s associated with this context will also be ephemeral. Websites will
not store any data in the client storage.
This is normally used to implement private instances.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">a new ephemeral #WebKitWebContext.</doc>
<type name="WebContext" c:type="WebKitWebContext*"/>
</return-value>
</constructor>
<constructor name="new_with_website_data_manager" c:identifier="webkit_web_context_new_with_website_data_manager" version="2.10">
<doc xml:space="preserve">Create a new #WebKitWebContext with a #WebKitWebsiteDataManager.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">a newly created #WebKitWebContext</doc>
<type name="WebContext" c:type="WebKitWebContext*"/>
</return-value>
<parameters>
<parameter name="manager" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebsiteDataManager</doc>
<type name="WebsiteDataManager" c:type="WebKitWebsiteDataManager*"/>
</parameter>
</parameters>
</constructor>
<function name="get_default" c:identifier="webkit_web_context_get_default">
<doc xml:space="preserve">Gets the default web context</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebContext</doc>
<type name="WebContext" c:type="WebKitWebContext*"/>
</return-value>
</function>
<virtual-method name="automation_started">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="context" transfer-ownership="none">
<type name="WebContext" c:type="WebKitWebContext*"/>
</instance-parameter>
<parameter name="session" transfer-ownership="none">
<type name="AutomationSession" c:type="WebKitAutomationSession*"/>
</parameter>
</parameters>
</virtual-method>
<virtual-method name="download_started">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="context" transfer-ownership="none">
<type name="WebContext" c:type="WebKitWebContext*"/>
</instance-parameter>
<parameter name="download" transfer-ownership="none">
<type name="Download" c:type="WebKitDownload*"/>
</parameter>
</parameters>
</virtual-method>
<virtual-method name="initialize_notification_permissions">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="context" transfer-ownership="none">
<type name="WebContext" c:type="WebKitWebContext*"/>
</instance-parameter>
</parameters>
</virtual-method>
<virtual-method name="initialize_web_extensions">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="context" transfer-ownership="none">
<type name="WebContext" c:type="WebKitWebContext*"/>
</instance-parameter>
</parameters>
</virtual-method>
<virtual-method name="user_message_received">
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="context" transfer-ownership="none">
<type name="WebContext" c:type="WebKitWebContext*"/>
</instance-parameter>
<parameter name="message" transfer-ownership="none">
<type name="UserMessage" c:type="WebKitUserMessage*"/>
</parameter>
</parameters>
</virtual-method>
<method name="add_path_to_sandbox" c:identifier="webkit_web_context_add_path_to_sandbox" version="2.26">
<doc xml:space="preserve">Adds a path to be mounted in the sandbox. @path must exist before any web process
has been created otherwise it will be silently ignored. It is a fatal error to
add paths after a web process has been spawned.
Paths in directories such as `/sys`, `/proc`, and `/dev` or all of `/`
are not valid.
See also webkit_web_context_set_sandbox_enabled()</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="context" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebContext</doc>
<type name="WebContext" c:type="WebKitWebContext*"/>
</instance-parameter>
<parameter name="path" transfer-ownership="none">
<doc xml:space="preserve">an absolute path to mount in the sandbox</doc>
<type name="filename" c:type="const char*"/>
</parameter>
<parameter name="read_only" transfer-ownership="none">
<doc xml:space="preserve">if %TRUE the path will be read-only</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="allow_tls_certificate_for_host" c:identifier="webkit_web_context_allow_tls_certificate_for_host" version="2.6">
<doc xml:space="preserve">Ignore further TLS errors on the @host for the certificate present in @info.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="context" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebContext</doc>
<type name="WebContext" c:type="WebKitWebContext*"/>
</instance-parameter>
<parameter name="certificate" transfer-ownership="none">
<doc xml:space="preserve">a #GTlsCertificate</doc>
<type name="Gio.TlsCertificate" c:type="GTlsCertificate*"/>
</parameter>
<parameter name="host" transfer-ownership="none">
<doc xml:space="preserve">the host for which a certificate is to be allowed</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="clear_cache" c:identifier="webkit_web_context_clear_cache">
<doc xml:space="preserve">Clears all resources currently cached.
See also webkit_web_context_set_cache_model().</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="context" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebContext</doc>
<type name="WebContext" c:type="WebKitWebContext*"/>
</instance-parameter>
</parameters>
</method>
<method name="download_uri" c:identifier="webkit_web_context_download_uri">
<doc xml:space="preserve">Requests downloading of the specified URI string. The download operation
will not be associated to any #WebKitWebView, if you are interested in
starting a download from a particular #WebKitWebView use
webkit_web_view_download_uri() instead.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">a new #WebKitDownload representing
the download operation.</doc>
<type name="Download" c:type="WebKitDownload*"/>
</return-value>
<parameters>
<instance-parameter name="context" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebContext</doc>
<type name="WebContext" c:type="WebKitWebContext*"/>
</instance-parameter>
<parameter name="uri" transfer-ownership="none">
<doc xml:space="preserve">the URI to download</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="get_cache_model" c:identifier="webkit_web_context_get_cache_model">
<doc xml:space="preserve">Returns the current cache model. For more information about this
value check the documentation of the function
webkit_web_context_set_cache_model().</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the current #WebKitCacheModel</doc>
<type name="CacheModel" c:type="WebKitCacheModel"/>
</return-value>
<parameters>
<instance-parameter name="context" transfer-ownership="none">
<doc xml:space="preserve">the #WebKitWebContext</doc>
<type name="WebContext" c:type="WebKitWebContext*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_cookie_manager" c:identifier="webkit_web_context_get_cookie_manager">
<doc xml:space="preserve">Get the #WebKitCookieManager of the @context's #WebKitWebsiteDataManager.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the #WebKitCookieManager of @context.</doc>
<type name="CookieManager" c:type="WebKitCookieManager*"/>
</return-value>
<parameters>
<instance-parameter name="context" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebContext</doc>
<type name="WebContext" c:type="WebKitWebContext*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_favicon_database" c:identifier="webkit_web_context_get_favicon_database">
<doc xml:space="preserve">Get the #WebKitFaviconDatabase associated with @context.
To initialize the database you need to call
webkit_web_context_set_favicon_database_directory().</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the #WebKitFaviconDatabase of @context.</doc>
<type name="FaviconDatabase" c:type="WebKitFaviconDatabase*"/>
</return-value>
<parameters>
<instance-parameter name="context" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebContext</doc>
<type name="WebContext" c:type="WebKitWebContext*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_favicon_database_directory" c:identifier="webkit_web_context_get_favicon_database_directory">
<doc xml:space="preserve">Get the directory path being used to store the favicons database
for @context, or %NULL if
webkit_web_context_set_favicon_database_directory() hasn't been
called yet.
This function will always return the same path after having called
webkit_web_context_set_favicon_database_directory() for the first
time.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the path of the directory of the favicons
database associated with @context, or %NULL.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="context" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebContext</doc>
<type name="WebContext" c:type="WebKitWebContext*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_geolocation_manager" c:identifier="webkit_web_context_get_geolocation_manager" version="2.26">
<doc xml:space="preserve">Get the #WebKitGeolocationManager of @context.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the #WebKitGeolocationManager of @context.</doc>
<type name="GeolocationManager" c:type="WebKitGeolocationManager*"/>
</return-value>
<parameters>
<instance-parameter name="context" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebContext</doc>
<type name="WebContext" c:type="WebKitWebContext*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_plugins" c:identifier="webkit_web_context_get_plugins" deprecated="1" deprecated-version="2.32">
<doc xml:space="preserve">Asynchronously get the list of installed plugins.
When the operation is finished, @callback will be called. You can then call
webkit_web_context_get_plugins_finish() to get the result of the operation.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="context" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebContext</doc>
<type name="WebContext" c:type="WebKitWebContext*"/>
</instance-parameter>
<parameter name="cancellable" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">a #GCancellable or %NULL to ignore</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
<parameter name="callback" transfer-ownership="none" nullable="1" allow-none="1" scope="async" closure="2">
<doc xml:space="preserve">a #GAsyncReadyCallback to call when the request is satisfied</doc>
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
</parameter>
<parameter name="user_data" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">the data to pass to callback function</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
</method>
<method name="get_plugins_finish" c:identifier="webkit_web_context_get_plugins_finish" deprecated="1" deprecated-version="2.32" throws="1">
<doc xml:space="preserve">Finish an asynchronous operation started with webkit_web_context_get_plugins.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">a #GList of #WebKitPlugin. You must free the #GList with
g_list_free() and unref the #WebKitPlugin&lt;!-- --&gt;s with g_object_unref() when you're done with them.</doc>
<type name="GLib.List" c:type="GList*">
<type name="Plugin"/>
</type>
</return-value>
<parameters>
<instance-parameter name="context" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebContext</doc>
<type name="WebContext" c:type="WebKitWebContext*"/>
</instance-parameter>
<parameter name="result" transfer-ownership="none">
<doc xml:space="preserve">a #GAsyncResult</doc>
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
</parameter>
</parameters>
</method>
<method name="get_process_model" c:identifier="webkit_web_context_get_process_model" version="2.4">
<doc xml:space="preserve">Returns the current process model. For more information about this value
see webkit_web_context_set_process_model().</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the current #WebKitProcessModel</doc>
<type name="ProcessModel" c:type="WebKitProcessModel"/>
</return-value>
<parameters>
<instance-parameter name="context" transfer-ownership="none">
<doc xml:space="preserve">the #WebKitWebContext</doc>
<type name="WebContext" c:type="WebKitWebContext*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_sandbox_enabled" c:identifier="webkit_web_context_get_sandbox_enabled" version="2.26">
<doc xml:space="preserve">Get whether sandboxing is currently enabled.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if sandboxing is enabled, or %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="context" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebContext</doc>
<type name="WebContext" c:type="WebKitWebContext*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_security_manager" c:identifier="webkit_web_context_get_security_manager">
<doc xml:space="preserve">Get the #WebKitSecurityManager of @context.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the #WebKitSecurityManager of @context.</doc>
<type name="SecurityManager" c:type="WebKitSecurityManager*"/>
</return-value>
<parameters>
<instance-parameter name="context" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebContext</doc>
<type name="WebContext" c:type="WebKitWebContext*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_spell_checking_enabled" c:identifier="webkit_web_context_get_spell_checking_enabled">
<doc xml:space="preserve">Get whether spell checking feature is currently enabled.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE If spell checking is enabled, or %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="context" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebContext</doc>
<type name="WebContext" c:type="WebKitWebContext*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_spell_checking_languages" c:identifier="webkit_web_context_get_spell_checking_languages">
<doc xml:space="preserve">Get the the list of spell checking languages associated with
@context, or %NULL if no languages have been previously set.
See webkit_web_context_set_spell_checking_languages() for more
details on the format of the languages in the list.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">A %NULL-terminated
array of languages if available, or %NULL otherwise.</doc>
<array c:type="const gchar* const*">
<type name="utf8"/>
</array>
</return-value>
<parameters>
<instance-parameter name="context" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebContext</doc>
<type name="WebContext" c:type="WebKitWebContext*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_tls_errors_policy" c:identifier="webkit_web_context_get_tls_errors_policy" deprecated="1" deprecated-version="2.32.">
<doc xml:space="preserve">Get the TLS errors policy of @context</doc>
<doc-deprecated xml:space="preserve">Use webkit_website_data_manager_get_tls_errors_policy() instead.</doc-deprecated>
<return-value transfer-ownership="none">
<doc xml:space="preserve">a #WebKitTLSErrorsPolicy</doc>
<type name="TLSErrorsPolicy" c:type="WebKitTLSErrorsPolicy"/>
</return-value>
<parameters>
<instance-parameter name="context" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebContext</doc>
<type name="WebContext" c:type="WebKitWebContext*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_use_system_appearance_for_scrollbars" c:identifier="webkit_web_context_get_use_system_appearance_for_scrollbars" glib:get-property="use-system-appearance-for-scrollbars" version="2.30">
<doc xml:space="preserve">Get the #WebKitWebContext:use-system-appearance-for-scrollbars property.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if scrollbars are rendering using the system appearance, or %FALSE otherwise</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="context" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebContext</doc>
<type name="WebContext" c:type="WebKitWebContext*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_web_process_count_limit" c:identifier="webkit_web_context_get_web_process_count_limit" version="2.10" deprecated="1" deprecated-version="2.26">
<doc xml:space="preserve">Gets the maximum number of web processes that can be created at the same time for the @context.
This function is now deprecated and always returns 0 (no limit). See also webkit_web_context_set_web_process_count_limit().</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the maximum limit of web processes, or 0 if there isn't a limit.</doc>
<type name="guint" c:type="guint"/>
</return-value>
<parameters>
<instance-parameter name="context" transfer-ownership="none">
<doc xml:space="preserve">the #WebKitWebContext</doc>
<type name="WebContext" c:type="WebKitWebContext*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_website_data_manager" c:identifier="webkit_web_context_get_website_data_manager" glib:get-property="website-data-manager" version="2.10">
<doc xml:space="preserve">Get the #WebKitWebsiteDataManager of @context.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebsiteDataManager</doc>
<type name="WebsiteDataManager" c:type="WebKitWebsiteDataManager*"/>
</return-value>
<parameters>
<instance-parameter name="context" transfer-ownership="none">
<doc xml:space="preserve">the #WebKitWebContext</doc>
<type name="WebContext" c:type="WebKitWebContext*"/>
</instance-parameter>
</parameters>
</method>
<method name="initialize_notification_permissions" c:identifier="webkit_web_context_initialize_notification_permissions" version="2.16">
<doc xml:space="preserve">Sets initial desktop notification permissions for the @context.
@allowed_origins and @disallowed_origins must each be #GList of
#WebKitSecurityOrigin objects representing origins that will,
respectively, either always or never have permission to show desktop
notifications. No #WebKitNotificationPermissionRequest will ever be
generated for any of the security origins represented in
@allowed_origins or @disallowed_origins. This function is necessary
because some webpages proactively check whether they have permission
to display notifications without ever creating a permission request.
This function only affects web processes that have not already been
created. The best time to call it is when handling
#WebKitWebContext::initialize-notification-permissions so as to
ensure that new web processes receive the most recent set of
permissions.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="context" transfer-ownership="none">
<doc xml:space="preserve">the #WebKitWebContext</doc>
<type name="WebContext" c:type="WebKitWebContext*"/>
</instance-parameter>
<parameter name="allowed_origins" transfer-ownership="none">
<doc xml:space="preserve">a #GList of security origins</doc>
<type name="GLib.List" c:type="GList*">
<type name="SecurityOrigin"/>
</type>
</parameter>
<parameter name="disallowed_origins" transfer-ownership="none">
<doc xml:space="preserve">a #GList of security origins</doc>
<type name="GLib.List" c:type="GList*">
<type name="SecurityOrigin"/>
</type>
</parameter>
</parameters>
</method>
<method name="is_automation_allowed" c:identifier="webkit_web_context_is_automation_allowed" version="2.18">
<doc xml:space="preserve">Get whether automation is allowed in @context.
See also webkit_web_context_set_automation_allowed().</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if automation is allowed or %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="context" transfer-ownership="none">
<doc xml:space="preserve">the #WebKitWebContext</doc>
<type name="WebContext" c:type="WebKitWebContext*"/>
</instance-parameter>
</parameters>
</method>
<method name="is_ephemeral" c:identifier="webkit_web_context_is_ephemeral" version="2.16">
<doc xml:space="preserve">Get whether a #WebKitWebContext is ephemeral.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if @context is ephemeral or %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="context" transfer-ownership="none">
<doc xml:space="preserve">the #WebKitWebContext</doc>
<type name="WebContext" c:type="WebKitWebContext*"/>
</instance-parameter>
</parameters>
</method>
<method name="prefetch_dns" c:identifier="webkit_web_context_prefetch_dns">
<doc xml:space="preserve">Resolve the domain name of the given @hostname in advance, so that if a URI
of @hostname is requested the load will be performed more quickly.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="context" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebContext</doc>
<type name="WebContext" c:type="WebKitWebContext*"/>
</instance-parameter>
<parameter name="hostname" transfer-ownership="none">
<doc xml:space="preserve">a hostname to be resolved</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="register_uri_scheme" c:identifier="webkit_web_context_register_uri_scheme">
<doc xml:space="preserve">Register @scheme in @context, so that when an URI request with @scheme is made in the
#WebKitWebContext, the #WebKitURISchemeRequestCallback registered will be called with a
#WebKitURISchemeRequest.
It is possible to handle URI scheme requests asynchronously, by calling g_object_ref() on the
#WebKitURISchemeRequest and calling webkit_uri_scheme_request_finish() later
when the data of the request is available or
webkit_uri_scheme_request_finish_error() in case of error.
&lt;informalexample&gt;&lt;programlisting&gt;
static void
about_uri_scheme_request_cb (WebKitURISchemeRequest *request,
gpointer user_data)
{
GInputStream *stream;
gsize stream_length;
const gchar *path;
path = webkit_uri_scheme_request_get_path (request);
if (!g_strcmp0 (path, "memory")) {
/&lt;!-- --&gt;* Create a GInputStream with the contents of memory about page, and set its length to stream_length *&lt;!-- --&gt;/
} else if (!g_strcmp0 (path, "applications")) {
/&lt;!-- --&gt;* Create a GInputStream with the contents of applications about page, and set its length to stream_length *&lt;!-- --&gt;/
} else if (!g_strcmp0 (path, "example")) {
gchar *contents;
contents = g_strdup_printf ("&amp;lt;html&amp;gt;&amp;lt;body&amp;gt;&amp;lt;p&amp;gt;Example about page&amp;lt;/p&amp;gt;&amp;lt;/body&amp;gt;&amp;lt;/html&amp;gt;");
stream_length = strlen (contents);
stream = g_memory_input_stream_new_from_data (contents, stream_length, g_free);
} else {
GError *error;
error = g_error_new (ABOUT_HANDLER_ERROR, ABOUT_HANDLER_ERROR_INVALID, "Invalid about:%s page.", path);
webkit_uri_scheme_request_finish_error (request, error);
g_error_free (error);
return;
}
webkit_uri_scheme_request_finish (request, stream, stream_length, "text/html");
g_object_unref (stream);
}
&lt;/programlisting&gt;&lt;/informalexample&gt;</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="context" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebContext</doc>
<type name="WebContext" c:type="WebKitWebContext*"/>
</instance-parameter>
<parameter name="scheme" transfer-ownership="none">
<doc xml:space="preserve">the network scheme to register</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="callback" transfer-ownership="none" scope="notified" closure="2" destroy="3">
<doc xml:space="preserve">a #WebKitURISchemeRequestCallback</doc>
<type name="URISchemeRequestCallback" c:type="WebKitURISchemeRequestCallback"/>
</parameter>
<parameter name="user_data" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">data to pass to callback function</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
<parameter name="user_data_destroy_func" transfer-ownership="none" scope="async">
<doc xml:space="preserve">destroy notify for @user_data</doc>
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
</parameter>
</parameters>
</method>
<method name="send_message_to_all_extensions" c:identifier="webkit_web_context_send_message_to_all_extensions" version="2.28">
<doc xml:space="preserve">Send @message to all #WebKitWebExtension&lt;!-- --&gt;s associated to @context.
If @message is floating, it's consumed.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="context" transfer-ownership="none">
<doc xml:space="preserve">the #WebKitWebContext</doc>
<type name="WebContext" c:type="WebKitWebContext*"/>
</instance-parameter>
<parameter name="message" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitUserMessage</doc>
<type name="UserMessage" c:type="WebKitUserMessage*"/>
</parameter>
</parameters>
</method>
<method name="set_additional_plugins_directory" c:identifier="webkit_web_context_set_additional_plugins_directory" deprecated="1" deprecated-version="2.32">
<doc xml:space="preserve">Set an additional directory where WebKit will look for plugins.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="context" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebContext</doc>
<type name="WebContext" c:type="WebKitWebContext*"/>
</instance-parameter>
<parameter name="directory" transfer-ownership="none">
<doc xml:space="preserve">the directory to add</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="set_automation_allowed" c:identifier="webkit_web_context_set_automation_allowed" version="2.18">
<doc xml:space="preserve">Set whether automation is allowed in @context. When automation is enabled the browser could
be controlled by another process by requesting an automation session. When a new automation
session is requested the signal #WebKitWebContext::automation-started is emitted.
Automation is disabled by default, so you need to explicitly call this method passing %TRUE
to enable it.
Note that only one #WebKitWebContext can have automation enabled, so this will do nothing
if there's another #WebKitWebContext with automation already enabled.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="context" transfer-ownership="none">
<doc xml:space="preserve">the #WebKitWebContext</doc>
<type name="WebContext" c:type="WebKitWebContext*"/>
</instance-parameter>
<parameter name="allowed" transfer-ownership="none">
<doc xml:space="preserve">value to set</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_cache_model" c:identifier="webkit_web_context_set_cache_model">
<doc xml:space="preserve">Specifies a usage model for WebViews, which WebKit will use to
determine its caching behavior. All web views follow the cache
model. This cache model determines the RAM and disk space to use
for caching previously viewed content .
Research indicates that users tend to browse within clusters of
documents that hold resources in common, and to revisit previously
visited documents. WebKit and the frameworks below it include
built-in caches that take advantage of these patterns,
substantially improving document load speed in browsing
situations. The WebKit cache model controls the behaviors of all of
these caches, including various WebCore caches.
Browsers can improve document load speed substantially by
specifying %WEBKIT_CACHE_MODEL_WEB_BROWSER. Applications without a
browsing interface can reduce memory usage substantially by
specifying %WEBKIT_CACHE_MODEL_DOCUMENT_VIEWER. The default value is
%WEBKIT_CACHE_MODEL_WEB_BROWSER.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="context" transfer-ownership="none">
<doc xml:space="preserve">the #WebKitWebContext</doc>
<type name="WebContext" c:type="WebKitWebContext*"/>
</instance-parameter>
<parameter name="cache_model" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitCacheModel</doc>
<type name="CacheModel" c:type="WebKitCacheModel"/>
</parameter>
</parameters>
</method>
<method name="set_disk_cache_directory" c:identifier="webkit_web_context_set_disk_cache_directory" deprecated="1" deprecated-version="2.10.">
<doc xml:space="preserve">Set the directory where disk cache files will be stored
This method must be called before loading anything in this context, otherwise
it will not have any effect.
Note that this method overrides the directory set in the #WebKitWebsiteDataManager,
but it doesn't change the value returned by webkit_website_data_manager_get_disk_cache_directory()
since the #WebKitWebsiteDataManager is immutable.</doc>
<doc-deprecated xml:space="preserve">Use webkit_web_context_new_with_website_data_manager() instead.</doc-deprecated>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="context" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebContext</doc>
<type name="WebContext" c:type="WebKitWebContext*"/>
</instance-parameter>
<parameter name="directory" transfer-ownership="none">
<doc xml:space="preserve">the directory to set</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="set_favicon_database_directory" c:identifier="webkit_web_context_set_favicon_database_directory">
<doc xml:space="preserve">Set the directory path to be used to store the favicons database
for @context on disk. Passing %NULL as @path means using the
default directory for the platform (see g_get_user_cache_dir()).
Calling this method also means enabling the favicons database for
its use from the applications, so that's why it's expected to be
called only once. Further calls for the same instance of
#WebKitWebContext won't cause any effect.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="context" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebContext</doc>
<type name="WebContext" c:type="WebKitWebContext*"/>
</instance-parameter>
<parameter name="path" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">an absolute path to the icon database
directory or %NULL to use the defaults</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="set_network_proxy_settings" c:identifier="webkit_web_context_set_network_proxy_settings" version="2.16" deprecated="1" deprecated-version="2.32.">
<doc xml:space="preserve">Set the network proxy settings to be used by connections started in @context.
By default %WEBKIT_NETWORK_PROXY_MODE_DEFAULT is used, which means that the
system settings will be used (g_proxy_resolver_get_default()).
If you want to override the system default settings, you can either use
%WEBKIT_NETWORK_PROXY_MODE_NO_PROXY to make sure no proxies are used at all,
or %WEBKIT_NETWORK_PROXY_MODE_CUSTOM to provide your own proxy settings.
When @proxy_mode is %WEBKIT_NETWORK_PROXY_MODE_CUSTOM @proxy_settings must be
a valid #WebKitNetworkProxySettings; otherwise, @proxy_settings must be %NULL.</doc>
<doc-deprecated xml:space="preserve">Use webkit_website_data_manager_set_network_proxy_settings() instead.</doc-deprecated>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="context" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebContext</doc>
<type name="WebContext" c:type="WebKitWebContext*"/>
</instance-parameter>
<parameter name="proxy_mode" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitNetworkProxyMode</doc>
<type name="NetworkProxyMode" c:type="WebKitNetworkProxyMode"/>
</parameter>
<parameter name="proxy_settings" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">a #WebKitNetworkProxySettings, or %NULL</doc>
<type name="NetworkProxySettings" c:type="WebKitNetworkProxySettings*"/>
</parameter>
</parameters>
</method>
<method name="set_preferred_languages" c:identifier="webkit_web_context_set_preferred_languages">
<doc xml:space="preserve">Set the list of preferred languages, sorted from most desirable
to least desirable. The list will be used to build the "Accept-Language"
header that will be included in the network requests started by
the #WebKitWebContext.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="context" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebContext</doc>
<type name="WebContext" c:type="WebKitWebContext*"/>
</instance-parameter>
<parameter name="languages" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">a %NULL-terminated list of language identifiers</doc>
<array c:type="const gchar* const*">
<type name="utf8"/>
</array>
</parameter>
</parameters>
</method>
<method name="set_process_model" c:identifier="webkit_web_context_set_process_model" version="2.4">
<doc xml:space="preserve">Specifies a process model for WebViews, which WebKit will use to
determine how auxiliary processes are handled.
%WEBKIT_PROCESS_MODEL_MULTIPLE_SECONDARY_PROCESSES will use
one process per view most of the time, while still allowing for web
views to share a process when needed (for example when different
views interact with each other). Using this model, when a process
hangs or crashes, only the WebViews using it stop working, while
the rest of the WebViews in the application will still function
normally.
%WEBKIT_PROCESS_MODEL_SHARED_SECONDARY_PROCESS is deprecated since 2.26,
using it has no effect for security reasons.
This method **must be called before any web process has been created**,
as early as possible in your application. Calling it later will make
your application crash.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="context" transfer-ownership="none">
<doc xml:space="preserve">the #WebKitWebContext</doc>
<type name="WebContext" c:type="WebKitWebContext*"/>
</instance-parameter>
<parameter name="process_model" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitProcessModel</doc>
<type name="ProcessModel" c:type="WebKitProcessModel"/>
</parameter>
</parameters>
</method>
<method name="set_sandbox_enabled" c:identifier="webkit_web_context_set_sandbox_enabled" version="2.26">
<doc xml:space="preserve">Set whether WebKit subprocesses will be sandboxed, limiting access to the system.
This method **must be called before any web process has been created**,
as early as possible in your application. Calling it later is a fatal error.
This is only implemented on Linux and is a no-op otherwise.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="context" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebContext</doc>
<type name="WebContext" c:type="WebKitWebContext*"/>
</instance-parameter>
<parameter name="enabled" transfer-ownership="none">
<doc xml:space="preserve">if %TRUE enable sandboxing</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_spell_checking_enabled" c:identifier="webkit_web_context_set_spell_checking_enabled">
<doc xml:space="preserve">Enable or disable the spell checking feature.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="context" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebContext</doc>
<type name="WebContext" c:type="WebKitWebContext*"/>
</instance-parameter>
<parameter name="enabled" transfer-ownership="none">
<doc xml:space="preserve">Value to be set</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_spell_checking_languages" c:identifier="webkit_web_context_set_spell_checking_languages">
<doc xml:space="preserve">Set the list of spell checking languages to be used for spell
checking.
The locale string typically is in the form lang_COUNTRY, where lang
is an ISO-639 language code, and COUNTRY is an ISO-3166 country code.
For instance, sv_FI for Swedish as written in Finland or pt_BR
for Portuguese as written in Brazil.
You need to call this function with a valid list of languages at
least once in order to properly enable the spell checking feature
in WebKit.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="context" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebContext</doc>
<type name="WebContext" c:type="WebKitWebContext*"/>
</instance-parameter>
<parameter name="languages" transfer-ownership="none">
<doc xml:space="preserve">a %NULL-terminated list of spell checking languages</doc>
<array c:type="const gchar* const*">
<type name="utf8" c:type="gchar*"/>
</array>
</parameter>
</parameters>
</method>
<method name="set_tls_errors_policy" c:identifier="webkit_web_context_set_tls_errors_policy" deprecated="1" deprecated-version="2.32.">
<doc xml:space="preserve">Set the TLS errors policy of @context as @policy</doc>
<doc-deprecated xml:space="preserve">Use webkit_website_data_manager_set_tls_errors_policy() instead.</doc-deprecated>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="context" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebContext</doc>
<type name="WebContext" c:type="WebKitWebContext*"/>
</instance-parameter>
<parameter name="policy" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitTLSErrorsPolicy</doc>
<type name="TLSErrorsPolicy" c:type="WebKitTLSErrorsPolicy"/>
</parameter>
</parameters>
</method>
<method name="set_use_system_appearance_for_scrollbars" c:identifier="webkit_web_context_set_use_system_appearance_for_scrollbars" glib:set-property="use-system-appearance-for-scrollbars" version="2.30">
<doc xml:space="preserve">Set the #WebKitWebContext:use-system-appearance-for-scrollbars property.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="context" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebContext</doc>
<type name="WebContext" c:type="WebKitWebContext*"/>
</instance-parameter>
<parameter name="enabled" transfer-ownership="none">
<doc xml:space="preserve">value to set</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_web_extensions_directory" c:identifier="webkit_web_context_set_web_extensions_directory">
<doc xml:space="preserve">Set the directory where WebKit will look for Web Extensions.
This method must be called before loading anything in this context,
otherwise it will not have any effect. You can connect to
#WebKitWebContext::initialize-web-extensions to call this method
before anything is loaded.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="context" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebContext</doc>
<type name="WebContext" c:type="WebKitWebContext*"/>
</instance-parameter>
<parameter name="directory" transfer-ownership="none">
<doc xml:space="preserve">the directory to add</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="set_web_extensions_initialization_user_data" c:identifier="webkit_web_context_set_web_extensions_initialization_user_data" version="2.4">
<doc xml:space="preserve">Set user data to be passed to Web Extensions on initialization.
The data will be passed to the
#WebKitWebExtensionInitializeWithUserDataFunction.
This method must be called before loading anything in this context,
otherwise it will not have any effect. You can connect to
#WebKitWebContext::initialize-web-extensions to call this method
before anything is loaded.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="context" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebContext</doc>
<type name="WebContext" c:type="WebKitWebContext*"/>
</instance-parameter>
<parameter name="user_data" transfer-ownership="none">
<doc xml:space="preserve">a #GVariant</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
</parameters>
</method>
<method name="set_web_process_count_limit" c:identifier="webkit_web_context_set_web_process_count_limit" version="2.10" deprecated="1" deprecated-version="2.26">
<doc xml:space="preserve">Sets the maximum number of web processes that can be created at the same time for the @context.
The default value is 0 and means no limit.
This function is now deprecated and does nothing for security reasons.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="context" transfer-ownership="none">
<doc xml:space="preserve">the #WebKitWebContext</doc>
<type name="WebContext" c:type="WebKitWebContext*"/>
</instance-parameter>
<parameter name="limit" transfer-ownership="none">
<doc xml:space="preserve">the maximum number of web processes</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</method>
<property name="local-storage-directory" version="2.8" deprecated="1" deprecated-version="2.10." writable="1" construct-only="1" transfer-ownership="none">
<doc xml:space="preserve">The directory where local storage data will be saved.</doc>
<doc-deprecated xml:space="preserve">Use #WebKitWebsiteDataManager:local-storage-directory instead.</doc-deprecated>
<type name="utf8" c:type="gchar*"/>
</property>
<property name="memory-pressure-settings" version="2.34" readable="0" writable="1" construct-only="1" transfer-ownership="none">
<doc xml:space="preserve">The #WebKitMemoryPressureSettings applied to the web processes created by this context.</doc>
<type name="MemoryPressureSettings"/>
</property>
<property name="process-swap-on-cross-site-navigation-enabled" version="2.28" writable="1" construct-only="1" transfer-ownership="none">
<doc xml:space="preserve">Whether swap Web processes on cross-site navigations is enabled.
When enabled, pages from each security origin will be handled by
their own separate Web processes, which are started (and
terminated) on demand as the user navigates across different
domains. This is an important security measure which helps prevent
websites stealing data from other visited pages.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="use-system-appearance-for-scrollbars" version="2.30" writable="1" construct="1" transfer-ownership="none" setter="set_use_system_appearance_for_scrollbars" getter="get_use_system_appearance_for_scrollbars">
<doc xml:space="preserve">Whether to use system appearance for rendering scrollbars.
This is enabled by default for backwards compatibility, but it's only
recommened to use when the application includes other widgets to ensure
consistency, or when consistency with other applications is required too.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="website-data-manager" version="2.10" writable="1" construct-only="1" transfer-ownership="none" getter="get_website_data_manager">
<doc xml:space="preserve">The #WebKitWebsiteDataManager associated with this context.</doc>
<type name="WebsiteDataManager"/>
</property>
<field name="parent">
<type name="GObject.Object" c:type="GObject"/>
</field>
<field name="priv" readable="0" private="1">
<type name="WebContextPrivate" c:type="WebKitWebContextPrivate*"/>
</field>
<glib:signal name="automation-started" when="last" version="2.18">
<doc xml:space="preserve">This signal is emitted when a new automation request is made.
Note that it will never be emitted if automation is not enabled in @context,
see webkit_web_context_set_automation_allowed() for more details.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="session" transfer-ownership="none">
<doc xml:space="preserve">the #WebKitAutomationSession associated with this event</doc>
<type name="AutomationSession"/>
</parameter>
</parameters>
</glib:signal>
<glib:signal name="download-started" when="last">
<doc xml:space="preserve">This signal is emitted when a new download request is made.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="download" transfer-ownership="none">
<doc xml:space="preserve">the #WebKitDownload associated with this event</doc>
<type name="Download"/>
</parameter>
</parameters>
</glib:signal>
<glib:signal name="initialize-notification-permissions" when="last" version="2.16">
<doc xml:space="preserve">This signal is emitted when a #WebKitWebContext needs to set
initial notification permissions for a web process. It is emitted
when a new web process is about to be launched, and signals the
most appropriate moment to use
webkit_web_context_initialize_notification_permissions(). If no
notification permissions have changed since the last time this
signal was emitted, then there is no need to call
webkit_web_context_initialize_notification_permissions() again.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</glib:signal>
<glib:signal name="initialize-web-extensions" when="last" version="2.4">
<doc xml:space="preserve">This signal is emitted when a new web process is about to be
launched. It signals the most appropriate moment to use
webkit_web_context_set_web_extensions_initialization_user_data()
and webkit_web_context_set_web_extensions_directory().</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</glib:signal>
<glib:signal name="user-message-received" when="last" version="2.28">
<doc xml:space="preserve">This signal is emitted when a #WebKitUserMessage is received from a
#WebKitWebExtension. You can reply to the message using
webkit_user_message_send_reply().
You can handle the user message asynchronously by calling g_object_ref() on
@message and returning %TRUE.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if the message was handled, or %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="message" transfer-ownership="none">
<doc xml:space="preserve">the #WebKitUserMessage received</doc>
<type name="UserMessage"/>
</parameter>
</parameters>
</glib:signal>
</class>
<record name="WebContextClass" c:type="WebKitWebContextClass" glib:is-gtype-struct-for="WebContext">
<field name="parent">
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
</field>
<field name="download_started">
<callback name="download_started">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="context" transfer-ownership="none">
<type name="WebContext" c:type="WebKitWebContext*"/>
</parameter>
<parameter name="download" transfer-ownership="none">
<type name="Download" c:type="WebKitDownload*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="initialize_web_extensions">
<callback name="initialize_web_extensions">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="context" transfer-ownership="none">
<type name="WebContext" c:type="WebKitWebContext*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="initialize_notification_permissions">
<callback name="initialize_notification_permissions">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="context" transfer-ownership="none">
<type name="WebContext" c:type="WebKitWebContext*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="automation_started">
<callback name="automation_started">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="context" transfer-ownership="none">
<type name="WebContext" c:type="WebKitWebContext*"/>
</parameter>
<parameter name="session" transfer-ownership="none">
<type name="AutomationSession" c:type="WebKitAutomationSession*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="user_message_received">
<callback name="user_message_received">
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="context" transfer-ownership="none">
<type name="WebContext" c:type="WebKitWebContext*"/>
</parameter>
<parameter name="message" transfer-ownership="none">
<type name="UserMessage" c:type="WebKitUserMessage*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="_webkit_reserved0" introspectable="0">
<callback name="_webkit_reserved0">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved1" introspectable="0">
<callback name="_webkit_reserved1">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved2" introspectable="0">
<callback name="_webkit_reserved2">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
</record>
<record name="WebContextPrivate" c:type="WebKitWebContextPrivate" disguised="1"/>
<class name="WebInspector" c:symbol-prefix="web_inspector" c:type="WebKitWebInspector" parent="GObject.Object" glib:type-name="WebKitWebInspector" glib:get-type="webkit_web_inspector_get_type" glib:type-struct="WebInspectorClass">
<method name="attach" c:identifier="webkit_web_inspector_attach">
<doc xml:space="preserve">Request @inspector to be attached. The signal #WebKitWebInspector::attach
will be emitted. If the inspector is already attached it does nothing.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="inspector" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebInspector</doc>
<type name="WebInspector" c:type="WebKitWebInspector*"/>
</instance-parameter>
</parameters>
</method>
<method name="close" c:identifier="webkit_web_inspector_close">
<doc xml:space="preserve">Request @inspector to be closed.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="inspector" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebInspector</doc>
<type name="WebInspector" c:type="WebKitWebInspector*"/>
</instance-parameter>
</parameters>
</method>
<method name="detach" c:identifier="webkit_web_inspector_detach">
<doc xml:space="preserve">Request @inspector to be detached. The signal #WebKitWebInspector::detach
will be emitted. If the inspector is already detached it does nothing.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="inspector" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebInspector</doc>
<type name="WebInspector" c:type="WebKitWebInspector*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_attached_height" c:identifier="webkit_web_inspector_get_attached_height" glib:get-property="attached-height">
<doc xml:space="preserve">Get the height that the inspector view should have when
it's attached. If the inspector view is not attached this
returns 0.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the height of the inspector view when attached</doc>
<type name="guint" c:type="guint"/>
</return-value>
<parameters>
<instance-parameter name="inspector" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebInspector</doc>
<type name="WebInspector" c:type="WebKitWebInspector*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_can_attach" c:identifier="webkit_web_inspector_get_can_attach" glib:get-property="can-attach" version="2.8">
<doc xml:space="preserve">Whether the @inspector can be attached to the same window that contains
the inspected view.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if there is enough room for the inspector view inside the
window that contains the inspected view, or %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="inspector" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebInspector</doc>
<type name="WebInspector" c:type="WebKitWebInspector*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_inspected_uri" c:identifier="webkit_web_inspector_get_inspected_uri" glib:get-property="inspected-uri">
<doc xml:space="preserve">Get the URI that is currently being inspected. This can be %NULL if
nothing has been loaded yet in the inspected view, if the inspector
has been closed or when inspected view was loaded from a HTML string
instead of a URI.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the URI that is currently being inspected or %NULL</doc>
<type name="utf8" c:type="const char*"/>
</return-value>
<parameters>
<instance-parameter name="inspector" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebInspector</doc>
<type name="WebInspector" c:type="WebKitWebInspector*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_web_view" c:identifier="webkit_web_inspector_get_web_view">
<doc xml:space="preserve">Get the #WebKitWebViewBase used to display the inspector.
This might be %NULL if the inspector hasn't been loaded yet,
or it has been closed.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the #WebKitWebViewBase used to display the inspector or %NULL</doc>
<type name="WebViewBase" c:type="WebKitWebViewBase*"/>
</return-value>
<parameters>
<instance-parameter name="inspector" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebInspector</doc>
<type name="WebInspector" c:type="WebKitWebInspector*"/>
</instance-parameter>
</parameters>
</method>
<method name="is_attached" c:identifier="webkit_web_inspector_is_attached">
<doc xml:space="preserve">Whether the @inspector view is currently attached to the same window that contains
the inspected view.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if @inspector is currently attached or %FALSE otherwise</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="inspector" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebInspector</doc>
<type name="WebInspector" c:type="WebKitWebInspector*"/>
</instance-parameter>
</parameters>
</method>
<method name="show" c:identifier="webkit_web_inspector_show">
<doc xml:space="preserve">Request @inspector to be shown.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="inspector" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebInspector</doc>
<type name="WebInspector" c:type="WebKitWebInspector*"/>
</instance-parameter>
</parameters>
</method>
<property name="attached-height" transfer-ownership="none" getter="get_attached_height">
<doc xml:space="preserve">The height that the inspector view should have when it is attached.</doc>
<type name="guint" c:type="guint"/>
</property>
<property name="can-attach" version="2.8" transfer-ownership="none" getter="get_can_attach">
<doc xml:space="preserve">Whether the @inspector can be attached to the same window that contains
the inspected view.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="inspected-uri" transfer-ownership="none" getter="get_inspected_uri">
<doc xml:space="preserve">The URI that is currently being inspected.</doc>
<type name="utf8" c:type="gchar*"/>
</property>
<field name="parent">
<type name="GObject.Object" c:type="GObject"/>
</field>
<field name="priv">
<type name="WebInspectorPrivate" c:type="WebKitWebInspectorPrivate*"/>
</field>
<glib:signal name="attach" when="last">
<doc xml:space="preserve">Emitted when the inspector is requested to be attached to the window
where the inspected web view is.
If this signal is not handled the inspector view will be automatically
attached to the inspected view, so you only need to handle this signal
if you want to attach the inspector view yourself (for example, to add
the inspector view to a browser tab).
To prevent the inspector view from being attached you can connect to this
signal and simply return %TRUE.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE to stop other handlers from being invoked for the event.
%FALSE to propagate the event further.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
</glib:signal>
<glib:signal name="bring-to-front" when="last">
<doc xml:space="preserve">Emitted when the inspector should be shown.
If the inspector is not attached the inspector window should be shown
on top of any other windows.
If the inspector is attached the inspector view should be made visible.
For example, if the inspector view is attached using a tab in a browser
window, the browser window should be raised and the tab containing the
inspector view should be the active one.
In both cases, if this signal is not handled, the default implementation
calls gtk_window_present() on the current toplevel #GtkWindow of the
inspector view.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE to stop other handlers from being invoked for the event.
%FALSE to propagate the event further.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
</glib:signal>
<glib:signal name="closed" when="last">
<doc xml:space="preserve">Emitted when the inspector page is closed. If you are using your own
inspector window, you should connect to this signal and destroy your
window.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</glib:signal>
<glib:signal name="detach" when="last">
<doc xml:space="preserve">Emitted when the inspector is requested to be detached from the window
it is currently attached to. The inspector is detached when the inspector page
is about to be closed, and this signal is emitted right before
#WebKitWebInspector::closed, or when the user clicks on the detach button
in the inspector view to show the inspector in a separate window. In this case
the signal #WebKitWebInspector::open-window is emitted after this one.
To prevent the inspector view from being detached you can connect to this
signal and simply return %TRUE.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE to stop other handlers from being invoked for the event.
%FALSE to propagate the event further.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
</glib:signal>
<glib:signal name="open-window" when="last">
<doc xml:space="preserve">Emitted when the inspector is requested to open in a separate window.
If this signal is not handled, a #GtkWindow with the inspector will be
created and shown, so you only need to handle this signal if you want
to use your own window.
This signal is emitted after #WebKitWebInspector::detach to show
the inspector in a separate window after being detached.
To prevent the inspector from being shown you can connect to this
signal and simply return %TRUE</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE to stop other handlers from being invoked for the event.
%FALSE to propagate the event further.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
</glib:signal>
</class>
<record name="WebInspectorClass" c:type="WebKitWebInspectorClass" glib:is-gtype-struct-for="WebInspector">
<field name="parent_class">
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
</field>
<field name="_webkit_reserved0" introspectable="0">
<callback name="_webkit_reserved0">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved1" introspectable="0">
<callback name="_webkit_reserved1">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved2" introspectable="0">
<callback name="_webkit_reserved2">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved3" introspectable="0">
<callback name="_webkit_reserved3">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
</record>
<record name="WebInspectorPrivate" c:type="WebKitWebInspectorPrivate" disguised="1"/>
<docsection name="WebKitAuthenticationRequest">
<doc xml:space="preserve">Whenever a client attempts to load a page protected by HTTP
authentication, credentials will need to be provided to authorize access.
To allow the client to decide how it wishes to handle authentication,
WebKit will fire a #WebKitWebView::authenticate signal with a
WebKitAuthenticationRequest object to provide client side
authentication support. Credentials are exposed through the
#WebKitCredential object.
In case the client application does not wish
to handle this signal WebKit will provide a default handler. To handle
authentication asynchronously, simply increase the reference count of the
WebKitAuthenticationRequest object.</doc>
</docsection>
<docsection name="WebKitAutomationSession">
<doc xml:space="preserve">WebKitAutomationSession represents an automation session of a WebKitWebContext.
When a new session is requested, a WebKitAutomationSession is created and the signal
WebKitWebContext::automation-started is emitted with the WebKitAutomationSession as
argument. Then, the automation client can request the session to create a new
#WebKitWebView to interact with it. When this happens the signal #WebKitAutomationSession::create-web-view
is emitted.</doc>
</docsection>
<docsection name="WebKitBackForwardList">
<doc xml:space="preserve">WebKitBackForwardList maintains a list of visited pages used to
navigate to recent pages. Items are inserted in the list in the
order they are visited.
WebKitBackForwardList also maintains the notion of the current item
(which is always at index 0), the preceding item (which is at index -1),
and the following item (which is at index 1).
Methods webkit_web_view_go_back() and webkit_web_view_go_forward() move
the current item backward or forward by one. Method
webkit_web_view_go_to_back_forward_list_item() sets the current item to the
specified item. All other methods returning #WebKitBackForwardListItem&lt;!-- --&gt;s
do not change the value of the current item, they just return the requested
item or items.</doc>
</docsection>
<docsection name="WebKitBackForwardListItem">
<doc xml:space="preserve">A history item is part of the #WebKitBackForwardList and consists
out of a title and a URI.</doc>
</docsection>
<docsection name="WebKitColorChooserRequest">
<doc xml:space="preserve">Whenever the user interacts with an &amp;lt;input type='color' /&amp;gt;
HTML element, WebKit will need to show a dialog to choose a color. For that
to happen in a general way, instead of just opening a #GtkColorChooser
(which might be not desirable in some cases, which could prefer to use their
own color chooser dialog), WebKit will fire the
#WebKitWebView::run-color-chooser signal with a #WebKitColorChooserRequest
object, which will allow the client application to specify the color to be
selected, to inspect the details of the request (e.g. to get initial color)
and to cancel the request, in case nothing was selected.
In case the client application does not wish to handle this signal,
WebKit will provide a default handler which will asynchronously run
a regular #GtkColorChooserDialog for the user to interact with.</doc>
</docsection>
<docsection name="WebKitContextMenu">
<doc xml:space="preserve">#WebKitContextMenu represents a context menu containing
#WebKitContextMenuItem&lt;!-- --&gt;s in a #WebKitWebView.
When a #WebKitWebView is about to display the context menu, it
emits the #WebKitWebView::context-menu signal, which has the
#WebKitContextMenu as an argument. You can modify it, adding new
submenus that you can create with webkit_context_menu_new(), adding
new #WebKitContextMenuItem&lt;!-- --&gt;s with
webkit_context_menu_prepend(), webkit_context_menu_append() or
webkit_context_menu_insert(), maybe after having removed the
existing ones with webkit_context_menu_remove_all().</doc>
</docsection>
<docsection name="WebKitContextMenuItem">
<doc xml:space="preserve">The #WebKitContextMenu is composed of #WebKitContextMenuItem&lt;!--
--&gt;s. These items can be created from a #GtkAction, from a
#WebKitContextMenuAction or from a #WebKitContextMenuAction and a
label. These #WebKitContextMenuAction&lt;!-- --&gt;s denote stock actions
for the items. You can also create separators and submenus.</doc>
</docsection>
<docsection name="WebKitCookieManager">
<doc xml:space="preserve">The WebKitCookieManager defines how to set up and handle cookies.
You can get it from a #WebKitWebsiteDataManager with
webkit_website_data_manager_get_cookie_manager(), and use it to set where to
store cookies with webkit_cookie_manager_set_persistent_storage(),
or to set the acceptance policy, with webkit_cookie_manager_get_accept_policy().</doc>
</docsection>
<docsection name="WebKitDeviceInfoPermissionRequest">
<doc xml:space="preserve">WebKitUserMediaPermissionRequest represents a request for
permission to whether WebKit should be allowed to access the user's
devices information when requested through the enumeraceDevices API.
When a WebKitDeviceInfoPermissionRequest is not handled by the user,
it is denied by default.</doc>
</docsection>
<docsection name="WebKitDownload">
<doc xml:space="preserve">#WebKitDownload carries information about a download request and
response, including a #WebKitURIRequest and a #WebKitURIResponse
objects. The application may use this object to control the
download process, or to simply figure out what is to be downloaded,
and handle the download process itself.</doc>
</docsection>
<docsection name="WebKitEditorState">
<doc xml:space="preserve">WebKitEditorState represents the state of a #WebKitWebView editor.
Use webkit_web_view_get_editor_state() to get the WebKitEditorState
of a #WebKitWebView.</doc>
</docsection>
<docsection name="WebKitError">
<doc xml:space="preserve">Categorized WebKit errors.</doc>
</docsection>
<docsection name="WebKitFaviconDatabase">
<doc xml:space="preserve">#WebKitFaviconDatabase provides access to the icons associated with
web sites.
WebKit will automatically look for available icons in &amp;lt;link&amp;gt;
elements on opened pages as well as an existing favicon.ico and
load the images found into a memory cache if possible. That cache
is frozen to an on-disk database for persistence.
If #WebKitSettings:enable-private-browsing is %TRUE, new icons
won't be added to the on-disk database and no existing icons will
be deleted from it. Nevertheless, WebKit will still store them in
the in-memory cache during the current execution.</doc>
</docsection>
<docsection name="WebKitFileChooserRequest">
<doc xml:space="preserve">Whenever the user interacts with an &amp;lt;input type='file' /&amp;gt;
HTML element, WebKit will need to show a dialog to choose one or
more files to be uploaded to the server along with the rest of the
form data. For that to happen in a general way, instead of just
opening a #GtkFileChooserDialog (which might be not desirable in
some cases, which could prefer to use their own file chooser
dialog), WebKit will fire the #WebKitWebView::run-file-chooser
signal with a #WebKitFileChooserRequest object, which will allow
the client application to specify the files to be selected, to
inspect the details of the request (e.g. if multiple selection
should be allowed) and to cancel the request, in case nothing was
selected.
In case the client application does not wish to handle this signal,
WebKit will provide a default handler which will asynchronously run
a regular #GtkFileChooserDialog for the user to interact with.</doc>
</docsection>
<docsection name="WebKitFindController">
<doc xml:space="preserve">A #WebKitFindController is used to search text in a #WebKitWebView. You
can get a #WebKitWebView&lt;!-- --&gt;'s #WebKitFindController with
webkit_web_view_get_find_controller(), and later use it to search
for text using webkit_find_controller_search(), or get the
number of matches using webkit_find_controller_count_matches(). The
operations are asynchronous and trigger signals when ready, such as
#WebKitFindController::found-text,
#WebKitFindController::failed-to-find-text or
#WebKitFindController::counted-matches&lt;!-- --&gt;.</doc>
</docsection>
<docsection name="WebKitFormSubmissionRequest">
<doc xml:space="preserve">When a form is about to be submitted in a #WebKitWebView, the
#WebKitWebView::submit-form signal is emitted. Its request argument
contains information about the text fields of the form, that are
typically used to store login information, returned as lists by
webkit_form_submission_request_list_text_fields(). You can submit the
form with webkit_form_submission_request_submit().</doc>
</docsection>
<docsection name="WebKitGeolocationManager">
<doc xml:space="preserve">WebKitGeolocationManager provides API to get the geographical position of the user.
Once a #WebKitGeolocationPermissionRequest is allowed, when WebKit needs to know the
user location #WebKitGeolocationManager::start signal is emitted. If the signal is handled
and returns %TRUE, the application is responsible for providing the position every time it's
updated by calling webkit_geolocation_manager_update_position(). The signal #WebKitGeolocationManager::stop
will be emitted when location updates are no longer needed.</doc>
</docsection>
<docsection name="WebKitGeolocationPermissionRequest">
<doc xml:space="preserve">WebKitGeolocationPermissionRequest represents a request for
permission to decide whether WebKit should provide the user's
location to a website when requested through the Geolocation API.
When a WebKitGeolocationPermissionRequest is not handled by the user,
it is denied by default.
When embedding web views in your application, you *must* configure an
application identifier to allow web content to use geolocation services.
The identifier *must* match the name of the `.desktop` file which describes
the application, sans the suffix.
If your application uses #GApplication (or any subclass like
#GtkApplication), WebKit will automatically use the identifier returned by
g_application_get_application_id(). This is the recommended approach for
enabling geolocation in applications.
If an identifier cannot be obtained through #GApplication, the value
returned by g_get_prgname() will be used instead as a fallback. For
programs which cannot use #GApplication, calling g_set_prgname() early
during initialization is needed when the name of the executable on disk
does not match the name of a valid `.desktop` file.</doc>
</docsection>
<docsection name="WebKitHitTestResult">
<doc xml:space="preserve">A Hit Test is an operation to get context information about a given
point in a #WebKitWebView. #WebKitHitTestResult represents the
result of a Hit Test. It provides context information about what is
at the coordinates of the Hit Test, such as if there's a link,
an image or a media.
You can get the context of the HitTestResult with
webkit_hit_test_result_get_context() that returns a bitmask of
#WebKitHitTestResultContext flags. You can also use
webkit_hit_test_result_context_is_link(), webkit_hit_test_result_context_is_image() and
webkit_hit_test_result_context_is_media() to determine whether there's
a link, image or a media element at the coordinates of the Hit Test.
Note that it's possible that several #WebKitHitTestResultContext flags
are active at the same time, for example if there's a link containing an image.
When the mouse is moved over a #WebKitWebView a Hit Test is performed
for the mouse coordinates and #WebKitWebView::mouse-target-changed
signal is emitted with a #WebKitHitTestResult.</doc>
</docsection>
<docsection name="WebKitInputMethodContext">
<doc xml:space="preserve">WebKitInputMethodContext defines the interface to implement WebKit input methods.
The input methods are used by WebKit, when editable content is focused, to map from
key events to Unicode character strings.
An input method may consume multiple key events in sequence and finally
output the composed result. This is called preediting, and an input method
may provide feedback about this process by displaying the intermediate
composition states as preedit text.</doc>
</docsection>
<docsection name="WebKitInstallMissingMediaPluginsPermissionRequest">
<doc xml:space="preserve">WebKitInstallMissingMediaPluginsPermissionRequest represents a request for
permission to decide whether WebKit should try to start a helper application to
install missing media plugins when the media backend couldn't play a media because
the required plugins were not available.
When a WebKitInstallMissingMediaPluginsPermissionRequest is not handled by the user,
it is allowed by default.</doc>
</docsection>
<docsection name="WebKitMediaKeySystemPermissionRequest">
<doc xml:space="preserve">WebKitMediaKeySystemPermissionRequest represents a request for permission to decide whether
WebKit should use the given CDM to access protected media when requested through the
MediaKeySystem API.
When a WebKitMediaKeySystemPermissionRequest is not handled by the user,
it is denied by default.
When handling this permission request the application may perform additional installation of the
requested CDM, unless it is already present on the host system.</doc>
</docsection>
<docsection name="WebKitMemoryPressureSettings">
<doc xml:space="preserve">#WebKitMemoryPressureSettings is a boxed type that can be used to provide some custom settings
to control how the memory pressure situations are handled by the different processes.
The memory pressure system implemented inside the different process will try to keep the memory usage
under the defined memory limit. In order to do that, it will check the used memory with a user defined
frequency and decide whether it should try to release memory. The thresholds passed will define how urgent
is to release that memory.
Take into account that badly defined parameters can greatly reduce the performance of the engine. For
example, setting memory limit too low with a fast poll interval can cause the process to constantly
be trying to release memory.
A #WebKitMemoryPressureSettings can be passed to a #WebKitWebContext constructor, and the settings will
be applied to all the web processes created by that context.
A #WebKitMemoryPressureSettings can be passed to webkit_website_data_manager_set_memory_pressure_settings(),
and the settings will be applied to all the network processes created after that call by any instance of
#WebKitWebsiteDataManager.</doc>
</docsection>
<docsection name="WebKitNavigationPolicyDecision">
<doc xml:space="preserve">WebKitNavigationPolicyDecision represents a policy decision for events associated with
navigations. If the value of #WebKitNavigationPolicyDecision:mouse-button is not 0, then
the navigation was triggered by a mouse event.</doc>
</docsection>
<docsection name="WebKitNetworkProxySettings">
<doc xml:space="preserve">WebKitNetworkProxySettings can be used to provide a custom proxy configuration
to a #WebKitWebContext. You need to call webkit_web_context_set_network_proxy_settings()
with %WEBKIT_NETWORK_PROXY_MODE_CUSTOM and a WebKitNetworkProxySettings.</doc>
</docsection>
<docsection name="WebKitNotificationPermissionRequest">
<doc xml:space="preserve">WebKitNotificationPermissionRequest represents a request for
permission to decide whether WebKit should provide the user with
notifications through the Web Notification API.
When a WebKitNotificationPermissionRequest is not handled by the user,
it is denied by default.</doc>
</docsection>
<docsection name="WebKitOptionMenu">
<doc xml:space="preserve">WebKitOptionMenu represents the dropdown menu of a select element in a #WebKitWebView.
When a select element in a #WebKitWebView needs to display a dropdown menu, the signal
#WebKitWebView::show-option-menu is emitted, providing a WebKitOptionMenu with the
#WebKitOptionMenuItem&lt;!-- --&gt;s that should be displayed.</doc>
</docsection>
<docsection name="WebKitOptionMenuItem">
<doc xml:space="preserve">The #WebKitOptionMenu is composed of WebKitOptionMenuItem&lt;!-- --&gt;s.
A WebKitOptionMenuItem always has a label and can contain a tooltip text.
You can use the WebKitOptionMenuItem of a #WebKitOptionMenu to build your
own menus.</doc>
</docsection>
<docsection name="WebKitPermissionRequest">
<doc xml:space="preserve">There are situations where an embedder would need to ask the user
for permission to do certain types of operations, such as switching
to fullscreen mode or reporting the user's location through the
standard Geolocation API. In those cases, WebKit will emit a
#WebKitWebView::permission-request signal with a
#WebKitPermissionRequest object attached to it.</doc>
</docsection>
<docsection name="WebKitPlugin">
<doc xml:space="preserve">This object represents a single plugin, found while scanning the
various platform plugin directories. This object can be used to get
more information about a plugin, and enable/disable it, allowing
fine-grained control of plugins. The list of available plugins can
be obtained from the #WebKitWebContext, with
webkit_web_context_get_plugins().</doc>
</docsection>
<docsection name="WebKitPointerLockPermissionRequest">
<doc xml:space="preserve">WebKitPointerLockPermissionRequest represents a request for
permission to decide whether WebKit can lock the pointer device when
requested by web content.
When a WebKitPointerLockPermissionRequest is not handled by the user,
it is allowed by default.</doc>
</docsection>
<docsection name="WebKitPolicyDecision">
<doc xml:space="preserve">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.</doc>
</docsection>
<docsection name="WebKitPrintCustomWidget">
<doc xml:space="preserve">A WebKitPrintCustomWidget allows to embed a custom widget in the print
dialog by connecting to the #WebKitPrintOperation::create-custom-widget
signal, creating a new WebKitPrintCustomWidget with
webkit_print_custom_widget_new() and returning it from there. You can later
use webkit_print_operation_run_dialog() to display the dialog.</doc>
</docsection>
<docsection name="WebKitPrintOperation">
<doc xml:space="preserve">A #WebKitPrintOperation controls a print operation in WebKit. With
a similar API to #GtkPrintOperation, it lets you set the print
settings with webkit_print_operation_set_print_settings() or
display the print dialog with webkit_print_operation_run_dialog().</doc>
</docsection>
<docsection name="WebKitResponsePolicyDecision">
<doc xml:space="preserve">WebKitResponsePolicyDecision represents a policy decision for a
resource response, whether from the network or the local system.
A very common use case for these types of decision is deciding
whether or not to download a particular resource or to load it
normally.</doc>
</docsection>
<docsection name="WebKitSecurityManager">
<doc xml:space="preserve">The #WebKitSecurityManager defines security settings for URI
schemes in a #WebKitWebContext. Get it from the context with
webkit_web_context_get_security_manager(), and use it to register a
URI scheme with a certain security level, or to check if it already
has it.</doc>
</docsection>
<docsection name="WebKitSecurityOrigin">
<doc xml:space="preserve">#WebKitSecurityOrigin is a representation of a security domain
defined by websites. A security origin consists of a protocol, a
hostname, and an optional port number.
Resources with the same security origin can generally access each
other for client-side scripting or database access. When comparing
origins, beware that if both protocol and host are %NULL, the origins
should not be treated as equal.</doc>
</docsection>
<docsection name="WebKitSettings">
<doc xml:space="preserve">#WebKitSettings can be applied to a #WebKitWebView to control text charset,
color, font sizes, printing mode, script support, loading of images and various
other things on a #WebKitWebView. After creation, a #WebKitSettings object
contains default settings.
&lt;informalexample&gt;&lt;programlisting&gt;
/&lt;!-- --&gt;* Disable JavaScript. *&lt;!-- --&gt;/
WebKitSettings *settings = webkit_web_view_group_get_settings (my_view_group);
webkit_settings_set_enable_javascript (settings, FALSE);
&lt;/programlisting&gt;&lt;/informalexample&gt;</doc>
</docsection>
<docsection name="WebKitURIRequest">
<doc xml:space="preserve">A #WebKitURIRequest can be created with a URI using the
webkit_uri_request_new() method, and you can get the URI of an
existing request with the webkit_uri_request_get_uri() one.</doc>
</docsection>
<docsection name="WebKitURIResponse">
<doc xml:space="preserve">A #WebKitURIResponse contains information such as the URI, the
status code, the content length, the mime type, the HTTP status or
the suggested filename.</doc>
</docsection>
<docsection name="WebKitURISchemeRequest">
<doc xml:space="preserve">If you register a particular URI scheme in a #WebKitWebContext,
using webkit_web_context_register_uri_scheme(), you have to provide
a #WebKitURISchemeRequestCallback. After that, when a URI request
is made with that particular scheme, your callback will be
called. There you will be able to access properties such as the
scheme, the URI and path, and the #WebKitWebView that initiated the
request, and also finish the request with
webkit_uri_scheme_request_finish().</doc>
</docsection>
<docsection name="WebKitUserContent">
<doc xml:space="preserve">See also: #WebKitUserContentManager</doc>
</docsection>
<docsection name="WebKitUserContentFilterStore">
<doc xml:space="preserve">The WebKitUserContentFilterStore provides the means to import and save
[JSON rule sets](https://webkit.org/blog/3476/content-blockers-first-look/),
which can be loaded later in an efficient manner. Once filters are stored,
the #WebKitUserContentFilter objects which represent them can be added to
a #WebKitUserContentManager with webkit_user_content_manager_add_filter().
JSON rule sets are imported using webkit_user_content_filter_store_save() and stored
on disk in an implementation defined format. The contents of a filter store must be
managed using the #WebKitUserContentFilterStore: a list of all the stored filters
can be obtained with webkit_user_content_filter_store_fetch_identifiers(),
webkit_user_content_filter_store_load() can be used to retrieve a previously saved
filter, and removed from the store with webkit_user_content_filter_store_remove().</doc>
</docsection>
<docsection name="WebKitUserContentManager">
<doc xml:space="preserve">Using a #WebKitUserContentManager user CSS style sheets can be set to
be injected in the web pages loaded by a #WebKitWebView, by
webkit_user_content_manager_add_style_sheet().
To use a #WebKitUserContentManager, it must be created using
webkit_user_content_manager_new(), and then passed to
webkit_web_view_new_with_user_content_manager(). User style
sheets can be created with webkit_user_style_sheet_new().
User style sheets can be added and removed at any time, but
they will affect the web pages loaded afterwards.</doc>
</docsection>
<docsection name="WebKitUserMediaPermissionRequest">
<doc xml:space="preserve">WebKitUserMediaPermissionRequest represents a request for
permission to decide whether WebKit should be allowed to access the user's
audio and video source devices when requested through the getUserMedia API.
When a WebKitUserMediaPermissionRequest is not handled by the user,
it is denied by default.</doc>
</docsection>
<docsection name="WebKitUserMessage">
<doc xml:space="preserve">A WebKitUserMessage is a message that can be used for the communication between the UI process
and web extensions. A WebKitUserMessage always has a name, and it can also include parameters and
UNIX file descriptors. Messages can be sent from a #WebKitWebContext to all #WebKitWebExtension&lt;!-- --&gt;s,
from a #WebKitWebExtension to its corresponding #WebKitWebContext, and from a #WebKitWebView to its
corresponding #WebKitWebPage (and vice versa). One to one messages can be replied to directly with
webkit_user_message_send_reply().</doc>
</docsection>
<docsection name="WebKitVersion">
<doc xml:space="preserve">Provides convenience functions returning WebKit's major, minor and
micro versions of the WebKit library your code is running
against. This is not necessarily the same as the
#WEBKIT_MAJOR_VERSION, #WEBKIT_MINOR_VERSION or
#WEBKIT_MICRO_VERSION, which represent the version of the WebKit
headers included when compiling the code.</doc>
</docsection>
<docsection name="WebKitWebContext">
<doc xml:space="preserve">The #WebKitWebContext manages all aspects common to all
#WebKitWebView&lt;!-- --&gt;s.
You can define the #WebKitCacheModel and #WebKitProcessModel with
webkit_web_context_set_cache_model() and
webkit_web_context_set_process_model(), depending on the needs of
your application. You can access the #WebKitSecurityManager to specify
the behaviour of your application regarding security using
webkit_web_context_get_security_manager().
It is also possible to change your preferred language or enable
spell checking, using webkit_web_context_set_preferred_languages(),
webkit_web_context_set_spell_checking_languages() and
webkit_web_context_set_spell_checking_enabled().
You can use webkit_web_context_register_uri_scheme() to register
custom URI schemes, and manage several other settings.
TLS certificate validation failure is now treated as a transport
error by default. To handle TLS failures differently, you can
connect to #WebKitWebView::load-failed-with-tls-errors.
Alternatively, you can use webkit_web_context_set_tls_errors_policy()
to set the policy %WEBKIT_TLS_ERRORS_POLICY_IGNORE; however, this is
not appropriate for Internet applications.</doc>
</docsection>
<docsection name="WebKitWebInspector">
<doc xml:space="preserve">The WebKit Inspector is a graphical tool to inspect and change the
content of a #WebKitWebView. It also includes an interactive
JavaScript debugger. Using this class one can get a #GtkWidget
which can be embedded into an application to show the inspector.
The inspector is available when the #WebKitSettings of the
#WebKitWebView has set the #WebKitSettings:enable-developer-extras
to true, otherwise no inspector is available.
&lt;informalexample&gt;&lt;programlisting&gt;
/&lt;!-- --&gt;* Enable the developer extras *&lt;!-- --&gt;/
WebKitSettings *setting = webkit_web_view_get_settings (WEBKIT_WEB_VIEW(my_webview));
g_object_set (G_OBJECT(settings), "enable-developer-extras", TRUE, NULL);
/&lt;!-- --&gt;* Load some data or reload to be able to inspect the page*&lt;!-- --&gt;/
webkit_web_view_load_uri (WEBKIT_WEB_VIEW(my_webview), "http://www.gnome.org");
/&lt;!-- --&gt;* Show the inspector *&lt;!-- --&gt;/
WebKitWebInspector *inspector = webkit_web_view_get_inspector (WEBKIT_WEB_VIEW(my_webview));
webkit_web_inspector_show (WEBKIT_WEB_INSPECTOR(inspector));
&lt;/programlisting&gt;&lt;/informalexample&gt;</doc>
</docsection>
<docsection name="WebKitWebResource">
<doc xml:space="preserve">A #WebKitWebResource encapsulates content for each resource at the
end of a particular URI. For example, one #WebKitWebResource will
be created for each separate image and stylesheet when a page is
loaded.
You can access the response and the URI for a given
#WebKitWebResource, using webkit_web_resource_get_uri() and
webkit_web_resource_get_response(), as well as the raw data, using
webkit_web_resource_get_data().</doc>
</docsection>
<docsection name="WebKitWebView">
<doc xml:space="preserve">#WebKitWebView is the central class of the WPE WebKit and WebKitGTK
APIs. It is responsible for managing the drawing of the content and
forwarding of events. You can load any URI into the #WebKitWebView or
a data string. With #WebKitSettings you can control various aspects
of the rendering and loading of the content.
Note that in WebKitGTK, #WebKitWebView is scrollable by itself, so
you don't need to embed it in a #GtkScrolledWindow.</doc>
</docsection>
<docsection name="WebKitWebsiteData">
<doc xml:space="preserve">WebKitWebsiteData represents data stored in the client by a particular website.
A website is normally a set of URLs grouped by domain name. You can get the website name,
which is usually the domain, with webkit_website_data_get_name().
Documents loaded from the file system, like file:// URIs, are all grouped in the same WebKitWebsiteData
with the name "Local files".
A website can store different types of data in the client side. #WebKitWebsiteDataTypes is an enum containing
all the possible data types; use webkit_website_data_get_types() to get the bitmask of data types.
It's also possible to know the size of the data stored for some of the #WebKitWebsiteDataTypes by using
webkit_website_data_get_size().
A list of WebKitWebsiteData can be retrieved with webkit_website_data_manager_fetch(). See #WebKitWebsiteDataManager
for more information.</doc>
</docsection>
<docsection name="WebKitWebsiteDataAccessPermissionRequest">
<doc xml:space="preserve">WebKitWebsiteDataAccessPermissionRequest represents a request for
permission to allow a third-party domain access its cookies.
When a WebKitWebsiteDataAccessPermissionRequest is not handled by the user,
it is denied by default.</doc>
</docsection>
<docsection name="WebKitWebsiteDataManager">
<doc xml:space="preserve">WebKitWebsiteDataManager allows you to manage the data that websites
can store in the client file system like databases or caches.
You can use WebKitWebsiteDataManager to configure the local directories
where the Website data will be stored, by creating a new manager with
webkit_website_data_manager_new() passing the values you want to set.
You can set all the possible configuration values or only some of them,
a default value will be used automatically for the configuration options
not provided. #WebKitWebsiteDataManager:base-data-directory and
#WebKitWebsiteDataManager:base-cache-directory are two special properties
that can be used to set a common base directory for all Website data and
caches. It's possible to provide both, a base directory and a specific value,
but in that case, the specific value takes precedence over the base directory.
The newly created WebKitWebsiteDataManager must be passed as a construct property
to a #WebKitWebContext, you can use webkit_web_context_new_with_website_data_manager()
to create a new #WebKitWebContext with a WebKitWebsiteDataManager.
In case you don't want to set any specific configuration, you don't need to create
a WebKitWebsiteDataManager, the #WebKitWebContext will create a WebKitWebsiteDataManager
with the default configuration. To get the WebKitWebsiteDataManager of a #WebKitWebContext
you can use webkit_web_context_get_website_data_manager().
A WebKitWebsiteDataManager can also be ephemeral and then all the directories configuration
is not needed because website data will never persist. You can create an ephemeral WebKitWebsiteDataManager
with webkit_website_data_manager_new_ephemeral(). Then you can pass an ephemeral WebKitWebsiteDataManager to
a #WebKitWebContext to make it ephemeral or use webkit_web_context_new_ephemeral() and the WebKitWebsiteDataManager
will be automatically created by the #WebKitWebContext.
WebKitWebsiteDataManager can also be used to fetch websites data, remove data
stored by particular websites, or clear data for all websites modified since a given
period of time.</doc>
</docsection>
<docsection name="WebKitWebsitePolicies">
<doc xml:space="preserve">WebKitWebsitePolicies allows you to configure per-page policies,
currently only autoplay policies are supported.</doc>
</docsection>
<docsection name="WebKitWindowProperties">
<doc xml:space="preserve">The content of a #WebKitWebView can request to change certain
properties of the window containing the view. This can include the x, y position
of the window, the width and height but also if a toolbar,
scrollbar, statusbar, locationbar should be visible to the user,
and the request to show the #WebKitWebView fullscreen.
The #WebKitWebView::ready-to-show signal handler is the proper place
to apply the initial window properties. Then you can monitor the
#WebKitWindowProperties by connecting to ::notify signal.
&lt;informalexample&gt;&lt;programlisting&gt;
static void ready_to_show_cb (WebKitWebView *web_view, gpointer user_data)
{
GtkWidget *window;
WebKitWindowProperties *window_properties;
gboolean visible;
/&lt;!-- --&gt;* Create the window to contain the WebKitWebView *&lt;!-- --&gt;/
window = browser_window_new ();
gtk_container_add (GTK_CONTAINER (window), GTK_WIDGET (web_view));
gtk_widget_show (GTK_WIDGET (web_view));
/&lt;!-- --&gt;* Get the WebKitWindowProperties of the web view and monitor it *&lt;!-- --&gt;/
window_properties = webkit_web_view_get_window_properties (web_view);
g_signal_connect (window_properties, "notify::geometry",
G_CALLBACK (window_geometry_changed), window);
g_signal_connect (window_properties, "notify::toolbar-visible",
G_CALLBACK (window_toolbar_visibility_changed), window);
g_signal_connect (window_properties, "notify::menubar-visible",
G_CALLBACK (window_menubar_visibility_changed), window);
....
/&lt;!-- --&gt;* Apply the window properties before showing the window *&lt;!-- --&gt;/
visible = webkit_window_properties_get_toolbar_visible (window_properties);
browser_window_set_toolbar_visible (BROWSER_WINDOW (window), visible);
visible = webkit_window_properties_get_menubar_visible (window_properties);
browser_window_set_menubar_visible (BROWSER_WINDOW (window), visible);
....
if (webkit_window_properties_get_fullscreen (window_properties)) {
gtk_window_fullscreen (GTK_WINDOW (window));
} else {
GdkRectangle geometry;
gtk_window_set_resizable (GTK_WINDOW (window),
webkit_window_properties_get_resizable (window_properties));
webkit_window_properties_get_geometry (window_properties, &amp;geometry);
gtk_window_move (GTK_WINDOW (window), geometry.x, geometry.y);
gtk_window_resize (GTK_WINDOW (window), geometry.width, geometry.height);
}
gtk_widget_show (window);
}
&lt;/programlisting&gt;&lt;/informalexample&gt;</doc>
</docsection>
<enumeration name="WebProcessTerminationReason" version="2.20" glib:type-name="WebKitWebProcessTerminationReason" glib:get-type="webkit_web_process_termination_reason_get_type" c:type="WebKitWebProcessTerminationReason">
<doc xml:space="preserve">Enum values used to specify the reason why the web process terminated abnormally.</doc>
<member name="crashed" value="0" c:identifier="WEBKIT_WEB_PROCESS_CRASHED" glib:nick="crashed" glib:name="WEBKIT_WEB_PROCESS_CRASHED">
<doc xml:space="preserve">the web process crashed.</doc>
</member>
<member name="exceeded_memory_limit" value="1" c:identifier="WEBKIT_WEB_PROCESS_EXCEEDED_MEMORY_LIMIT" glib:nick="exceeded-memory-limit" glib:name="WEBKIT_WEB_PROCESS_EXCEEDED_MEMORY_LIMIT">
<doc xml:space="preserve">the web process exceeded the memory limit.</doc>
</member>
<member name="terminated_by_api" value="2" c:identifier="WEBKIT_WEB_PROCESS_TERMINATED_BY_API" glib:nick="terminated-by-api" glib:name="WEBKIT_WEB_PROCESS_TERMINATED_BY_API">
<doc xml:space="preserve">the web process termination was requested by an API call. Since: 2.34</doc>
</member>
</enumeration>
<class name="WebResource" c:symbol-prefix="web_resource" c:type="WebKitWebResource" parent="GObject.Object" glib:type-name="WebKitWebResource" glib:get-type="webkit_web_resource_get_type" glib:type-struct="WebResourceClass">
<method name="get_data" c:identifier="webkit_web_resource_get_data">
<doc xml:space="preserve">Asynchronously get the raw data for @resource.
When the operation is finished, @callback will be called. You can then call
webkit_web_resource_get_data_finish() to get the result of the operation.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="resource" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebResource</doc>
<type name="WebResource" c:type="WebKitWebResource*"/>
</instance-parameter>
<parameter name="cancellable" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">a #GCancellable or %NULL to ignore</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
<parameter name="callback" transfer-ownership="none" nullable="1" allow-none="1" scope="async" closure="2">
<doc xml:space="preserve">a #GAsyncReadyCallback to call when the request is satisfied</doc>
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
</parameter>
<parameter name="user_data" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">the data to pass to callback function</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
</method>
<method name="get_data_finish" c:identifier="webkit_web_resource_get_data_finish" throws="1">
<doc xml:space="preserve">Finish an asynchronous operation started with webkit_web_resource_get_data().</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">a
string with the data of @resource, or %NULL in case of error. if @length
is not %NULL, the size of the data will be assigned to it.</doc>
<array length="1" zero-terminated="0" c:type="guchar*">
<type name="guint8"/>
</array>
</return-value>
<parameters>
<instance-parameter name="resource" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebResource</doc>
<type name="WebResource" c:type="WebKitWebResource*"/>
</instance-parameter>
<parameter name="result" transfer-ownership="none">
<doc xml:space="preserve">a #GAsyncResult</doc>
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
</parameter>
<parameter name="length" direction="out" caller-allocates="0" transfer-ownership="full" optional="1" allow-none="1">
<doc xml:space="preserve">return location for the length of the resource data</doc>
<type name="gsize" c:type="gsize*"/>
</parameter>
</parameters>
</method>
<method name="get_response" c:identifier="webkit_web_resource_get_response" glib:get-property="response">
<doc xml:space="preserve">Retrieves the #WebKitURIResponse of the resource load operation.
This method returns %NULL if called before the response
is received from the server. You can connect to notify::response
signal to be notified when the response is received.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the #WebKitURIResponse, or %NULL if
the response hasn't been received yet.</doc>
<type name="URIResponse" c:type="WebKitURIResponse*"/>
</return-value>
<parameters>
<instance-parameter name="resource" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebResource</doc>
<type name="WebResource" c:type="WebKitWebResource*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_uri" c:identifier="webkit_web_resource_get_uri" glib:get-property="uri">
<doc xml:space="preserve">Returns the current active URI of @resource. The active URI might change during
a load operation:
&lt;orderedlist&gt;
&lt;listitem&gt;&lt;para&gt;
When the resource load starts, the active URI is the requested URI
&lt;/para&gt;&lt;/listitem&gt;
&lt;listitem&gt;&lt;para&gt;
When the initial request is sent to the server, #WebKitWebResource::sent-request
signal is emitted without a redirected response, the active URI is the URI of
the request sent to the server.
&lt;/para&gt;&lt;/listitem&gt;
&lt;listitem&gt;&lt;para&gt;
In case of a server redirection, #WebKitWebResource::sent-request signal
is emitted again with a redirected response, the active URI is the URI the request
was redirected to.
&lt;/para&gt;&lt;/listitem&gt;
&lt;listitem&gt;&lt;para&gt;
When the response is received from the server, the active URI is the final
one and it will not change again.
&lt;/para&gt;&lt;/listitem&gt;
&lt;/orderedlist&gt;
You can monitor the active URI by connecting to the notify::uri
signal of @resource.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the current active URI of @resource</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="resource" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebResource</doc>
<type name="WebResource" c:type="WebKitWebResource*"/>
</instance-parameter>
</parameters>
</method>
<property name="response" transfer-ownership="none" getter="get_response">
<doc xml:space="preserve">The #WebKitURIResponse associated with this resource.</doc>
<type name="URIResponse"/>
</property>
<property name="uri" transfer-ownership="none" getter="get_uri">
<doc xml:space="preserve">The current active URI of the #WebKitWebResource.
See webkit_web_resource_get_uri() for more details.</doc>
<type name="utf8" c:type="gchar*"/>
</property>
<field name="parent">
<type name="GObject.Object" c:type="GObject"/>
</field>
<field name="priv">
<type name="WebResourcePrivate" c:type="WebKitWebResourcePrivate*"/>
</field>
<glib:signal name="failed" when="last">
<doc xml:space="preserve">This signal is emitted when an error occurs during the resource
load operation.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="error" transfer-ownership="none">
<doc xml:space="preserve">the #GError that was triggered</doc>
<type name="GLib.Error"/>
</parameter>
</parameters>
</glib:signal>
<glib:signal name="failed-with-tls-errors" when="last" version="2.8">
<doc xml:space="preserve">This signal is emitted when a TLS error occurs during the resource load operation.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="certificate" transfer-ownership="none">
<doc xml:space="preserve">a #GTlsCertificate</doc>
<type name="Gio.TlsCertificate"/>
</parameter>
<parameter name="errors" transfer-ownership="none">
<doc xml:space="preserve">a #GTlsCertificateFlags with the verification status of @certificate</doc>
<type name="Gio.TlsCertificateFlags"/>
</parameter>
</parameters>
</glib:signal>
<glib:signal name="finished" when="last">
<doc xml:space="preserve">This signal is emitted when the resource load finishes successfully
or due to an error. In case of errors #WebKitWebResource::failed signal
is emitted before this one.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</glib:signal>
<glib:signal name="received-data" when="last">
<doc xml:space="preserve">This signal is emitted after response is received,
every time new data has been received. It's
useful to know the progress of the resource load operation.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="data_length" transfer-ownership="none">
<doc xml:space="preserve">the length of data received in bytes</doc>
<type name="guint64" c:type="guint64"/>
</parameter>
</parameters>
</glib:signal>
<glib:signal name="sent-request" when="last">
<doc xml:space="preserve">This signal is emitted when @request has been sent to the
server. In case of a server redirection this signal is
emitted again with the @request argument containing the new
request sent to the server due to the redirection and the
@redirected_response parameter containing the response
received by the server for the initial request.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="request" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitURIRequest</doc>
<type name="URIRequest"/>
</parameter>
<parameter name="redirected_response" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitURIResponse, or %NULL</doc>
<type name="URIResponse"/>
</parameter>
</parameters>
</glib:signal>
</class>
<record name="WebResourceClass" c:type="WebKitWebResourceClass" glib:is-gtype-struct-for="WebResource">
<field name="parent_class">
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
</field>
<field name="_webkit_reserved0" introspectable="0">
<callback name="_webkit_reserved0">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved1" introspectable="0">
<callback name="_webkit_reserved1">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved2" introspectable="0">
<callback name="_webkit_reserved2">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved3" introspectable="0">
<callback name="_webkit_reserved3">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
</record>
<record name="WebResourcePrivate" c:type="WebKitWebResourcePrivate" disguised="1"/>
<class name="WebView" c:symbol-prefix="web_view" c:type="WebKitWebView" parent="WebViewBase" glib:type-name="WebKitWebView" glib:get-type="webkit_web_view_get_type" glib:type-struct="WebViewClass">
<implements name="Atk.ImplementorIface"/>
<implements name="Gtk.Buildable"/>
<constructor name="new" c:identifier="webkit_web_view_new">
<doc xml:space="preserve">Creates a new #WebKitWebView with the default #WebKitWebContext and
no #WebKitUserContentManager associated with it.
See also webkit_web_view_new_with_context(),
webkit_web_view_new_with_user_content_manager(), and
webkit_web_view_new_with_settings().</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">The newly created #WebKitWebView widget</doc>
<type name="Gtk.Widget" c:type="GtkWidget*"/>
</return-value>
</constructor>
<constructor name="new_with_context" c:identifier="webkit_web_view_new_with_context">
<doc xml:space="preserve">Creates a new #WebKitWebView with the given #WebKitWebContext and
no #WebKitUserContentManager associated with it.
See also webkit_web_view_new_with_user_content_manager() and
webkit_web_view_new_with_settings().</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">The newly created #WebKitWebView widget</doc>
<type name="Gtk.Widget" c:type="GtkWidget*"/>
</return-value>
<parameters>
<parameter name="context" transfer-ownership="none">
<doc xml:space="preserve">the #WebKitWebContext to be used by the #WebKitWebView</doc>
<type name="WebContext" c:type="WebKitWebContext*"/>
</parameter>
</parameters>
</constructor>
<constructor name="new_with_related_view" c:identifier="webkit_web_view_new_with_related_view" version="2.4">
<doc xml:space="preserve">Creates a new #WebKitWebView sharing the same web process with @web_view.
This method doesn't have any effect when %WEBKIT_PROCESS_MODEL_SHARED_SECONDARY_PROCESS
process model is used, because a single web process is shared for all the web views in the
same #WebKitWebContext. When using %WEBKIT_PROCESS_MODEL_MULTIPLE_SECONDARY_PROCESSES process model,
this method should always be used when creating the #WebKitWebView in the #WebKitWebView::create signal.
You can also use this method to implement other process models based on %WEBKIT_PROCESS_MODEL_MULTIPLE_SECONDARY_PROCESSES,
like for example, sharing the same web process for all the views in the same security domain.
The newly created #WebKitWebView will also have the same #WebKitUserContentManager,
#WebKitSettings, and #WebKitWebsitePolicies as @web_view.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">The newly created #WebKitWebView widget</doc>
<type name="Gtk.Widget" c:type="GtkWidget*"/>
</return-value>
<parameters>
<parameter name="web_view" transfer-ownership="none">
<doc xml:space="preserve">the related #WebKitWebView</doc>
<type name="WebView" c:type="WebKitWebView*"/>
</parameter>
</parameters>
</constructor>
<constructor name="new_with_settings" c:identifier="webkit_web_view_new_with_settings" version="2.6">
<doc xml:space="preserve">Creates a new #WebKitWebView with the given #WebKitSettings.
See also webkit_web_view_new_with_context(), and
webkit_web_view_new_with_user_content_manager().</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">The newly created #WebKitWebView widget</doc>
<type name="Gtk.Widget" c:type="GtkWidget*"/>
</return-value>
<parameters>
<parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</parameter>
</parameters>
</constructor>
<constructor name="new_with_user_content_manager" c:identifier="webkit_web_view_new_with_user_content_manager" version="2.6">
<doc xml:space="preserve">Creates a new #WebKitWebView with the given #WebKitUserContentManager.
The content loaded in the view may be affected by the content injected
in the view by the user content manager.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">The newly created #WebKitWebView widget</doc>
<type name="Gtk.Widget" c:type="GtkWidget*"/>
</return-value>
<parameters>
<parameter name="user_content_manager" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitUserContentManager.</doc>
<type name="UserContentManager" c:type="WebKitUserContentManager*"/>
</parameter>
</parameters>
</constructor>
<virtual-method name="authenticate">
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
<parameter name="request" transfer-ownership="none">
<type name="AuthenticationRequest" c:type="WebKitAuthenticationRequest*"/>
</parameter>
</parameters>
</virtual-method>
<virtual-method name="close">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
</parameters>
</virtual-method>
<virtual-method name="context_menu">
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
<parameter name="context_menu" transfer-ownership="none">
<type name="ContextMenu" c:type="WebKitContextMenu*"/>
</parameter>
<parameter name="event" transfer-ownership="none">
<type name="Gdk.Event" c:type="GdkEvent*"/>
</parameter>
<parameter name="hit_test_result" transfer-ownership="none">
<type name="HitTestResult" c:type="WebKitHitTestResult*"/>
</parameter>
</parameters>
</virtual-method>
<virtual-method name="context_menu_dismissed">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
</parameters>
</virtual-method>
<virtual-method name="create" introspectable="0">
<return-value>
<type name="Gtk.Widget" c:type="GtkWidget*"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
<parameter name="navigation_action" transfer-ownership="none">
<type name="NavigationAction" c:type="WebKitNavigationAction*"/>
</parameter>
</parameters>
</virtual-method>
<virtual-method name="decide_policy">
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
<parameter name="decision" transfer-ownership="none">
<type name="PolicyDecision" c:type="WebKitPolicyDecision*"/>
</parameter>
<parameter name="type" transfer-ownership="none">
<type name="PolicyDecisionType" c:type="WebKitPolicyDecisionType"/>
</parameter>
</parameters>
</virtual-method>
<virtual-method name="enter_fullscreen">
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
</parameters>
</virtual-method>
<virtual-method name="insecure_content_detected">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
<parameter name="event" transfer-ownership="none">
<type name="InsecureContentEvent" c:type="WebKitInsecureContentEvent"/>
</parameter>
</parameters>
</virtual-method>
<virtual-method name="leave_fullscreen">
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
</parameters>
</virtual-method>
<virtual-method name="load_changed">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
<parameter name="load_event" transfer-ownership="none">
<type name="LoadEvent" c:type="WebKitLoadEvent"/>
</parameter>
</parameters>
</virtual-method>
<virtual-method name="load_failed">
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
<parameter name="load_event" transfer-ownership="none">
<type name="LoadEvent" c:type="WebKitLoadEvent"/>
</parameter>
<parameter name="failing_uri" transfer-ownership="none">
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="error" transfer-ownership="none">
<type name="GLib.Error" c:type="GError*"/>
</parameter>
</parameters>
</virtual-method>
<virtual-method name="load_failed_with_tls_errors">
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
<parameter name="failing_uri" transfer-ownership="none">
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="certificate" transfer-ownership="none">
<type name="Gio.TlsCertificate" c:type="GTlsCertificate*"/>
</parameter>
<parameter name="errors" transfer-ownership="none">
<type name="Gio.TlsCertificateFlags" c:type="GTlsCertificateFlags"/>
</parameter>
</parameters>
</virtual-method>
<virtual-method name="mouse_target_changed">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
<parameter name="hit_test_result" transfer-ownership="none">
<type name="HitTestResult" c:type="WebKitHitTestResult*"/>
</parameter>
<parameter name="modifiers" transfer-ownership="none">
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</virtual-method>
<virtual-method name="permission_request">
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
<parameter name="permission_request" transfer-ownership="none">
<type name="PermissionRequest" c:type="WebKitPermissionRequest*"/>
</parameter>
</parameters>
</virtual-method>
<virtual-method name="print">
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
<parameter name="print_operation" transfer-ownership="none">
<type name="PrintOperation" c:type="WebKitPrintOperation*"/>
</parameter>
</parameters>
</virtual-method>
<virtual-method name="ready_to_show">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
</parameters>
</virtual-method>
<virtual-method name="resource_load_started">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
<parameter name="resource" transfer-ownership="none">
<type name="WebResource" c:type="WebKitWebResource*"/>
</parameter>
<parameter name="request" transfer-ownership="none">
<type name="URIRequest" c:type="WebKitURIRequest*"/>
</parameter>
</parameters>
</virtual-method>
<virtual-method name="run_as_modal">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
</parameters>
</virtual-method>
<virtual-method name="run_color_chooser">
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
<parameter name="request" transfer-ownership="none">
<type name="ColorChooserRequest" c:type="WebKitColorChooserRequest*"/>
</parameter>
</parameters>
</virtual-method>
<virtual-method name="run_file_chooser">
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
<parameter name="request" transfer-ownership="none">
<type name="FileChooserRequest" c:type="WebKitFileChooserRequest*"/>
</parameter>
</parameters>
</virtual-method>
<virtual-method name="script_dialog">
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
<parameter name="dialog" transfer-ownership="none">
<type name="ScriptDialog" c:type="WebKitScriptDialog*"/>
</parameter>
</parameters>
</virtual-method>
<virtual-method name="show_notification">
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
<parameter name="notification" transfer-ownership="none">
<type name="Notification" c:type="WebKitNotification*"/>
</parameter>
</parameters>
</virtual-method>
<virtual-method name="show_option_menu">
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
<parameter name="rectangle" transfer-ownership="none">
<type name="Gdk.Rectangle" c:type="GdkRectangle*"/>
</parameter>
<parameter name="menu" transfer-ownership="none">
<type name="OptionMenu" c:type="WebKitOptionMenu*"/>
</parameter>
</parameters>
</virtual-method>
<virtual-method name="submit_form">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
<parameter name="request" transfer-ownership="none">
<type name="FormSubmissionRequest" c:type="WebKitFormSubmissionRequest*"/>
</parameter>
</parameters>
</virtual-method>
<virtual-method name="user_message_received">
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
<parameter name="message" transfer-ownership="none">
<type name="UserMessage" c:type="WebKitUserMessage*"/>
</parameter>
</parameters>
</virtual-method>
<virtual-method name="web_process_crashed">
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
</parameters>
</virtual-method>
<virtual-method name="web_process_terminated">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
<parameter name="reason" transfer-ownership="none">
<type name="WebProcessTerminationReason" c:type="WebKitWebProcessTerminationReason"/>
</parameter>
</parameters>
</virtual-method>
<method name="can_execute_editing_command" c:identifier="webkit_web_view_can_execute_editing_command">
<doc xml:space="preserve">Asynchronously check if it is possible to execute the given editing command.
When the operation is finished, @callback will be called. You can then call
webkit_web_view_can_execute_editing_command_finish() to get the result of the operation.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebView</doc>
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
<parameter name="command" transfer-ownership="none">
<doc xml:space="preserve">the command to check</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="cancellable" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">a #GCancellable or %NULL to ignore</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
<parameter name="callback" transfer-ownership="none" nullable="1" allow-none="1" scope="async" closure="3">
<doc xml:space="preserve">a #GAsyncReadyCallback to call when the request is satisfied</doc>
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
</parameter>
<parameter name="user_data" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">the data to pass to callback function</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
</method>
<method name="can_execute_editing_command_finish" c:identifier="webkit_web_view_can_execute_editing_command_finish" throws="1">
<doc xml:space="preserve">Finish an asynchronous operation started with webkit_web_view_can_execute_editing_command().</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if the editing command can be executed or %FALSE otherwise</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebView</doc>
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
<parameter name="result" transfer-ownership="none">
<doc xml:space="preserve">a #GAsyncResult</doc>
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
</parameter>
</parameters>
</method>
<method name="can_go_back" c:identifier="webkit_web_view_can_go_back">
<doc xml:space="preserve">Determines whether @web_view has a previous history item.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if able to move back or %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebView</doc>
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
</parameters>
</method>
<method name="can_go_forward" c:identifier="webkit_web_view_can_go_forward">
<doc xml:space="preserve">Determines whether @web_view has a next history item.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if able to move forward or %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebView</doc>
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
</parameters>
</method>
<method name="can_show_mime_type" c:identifier="webkit_web_view_can_show_mime_type">
<doc xml:space="preserve">Whether or not a MIME type can be displayed in @web_view.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if the MIME type @mime_type can be displayed or %FALSE otherwise</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebView</doc>
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
<parameter name="mime_type" transfer-ownership="none">
<doc xml:space="preserve">a MIME type</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="download_uri" c:identifier="webkit_web_view_download_uri">
<doc xml:space="preserve">Requests downloading of the specified URI string for @web_view.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">a new #WebKitDownload representing
the download operation.</doc>
<type name="Download" c:type="WebKitDownload*"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebView</doc>
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
<parameter name="uri" transfer-ownership="none">
<doc xml:space="preserve">the URI to download</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
</parameters>
</method>
<method name="execute_editing_command" c:identifier="webkit_web_view_execute_editing_command">
<doc xml:space="preserve">Request to execute the given @command for @web_view. You can use
webkit_web_view_can_execute_editing_command() to check whether
it's possible to execute the command.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebView</doc>
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
<parameter name="command" transfer-ownership="none">
<doc xml:space="preserve">the command to execute</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="execute_editing_command_with_argument" c:identifier="webkit_web_view_execute_editing_command_with_argument" version="2.10">
<doc xml:space="preserve">Request to execute the given @command with @argument for @web_view. You can use
webkit_web_view_can_execute_editing_command() to check whether
it's possible to execute the command.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebView</doc>
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
<parameter name="command" transfer-ownership="none">
<doc xml:space="preserve">the command to execute</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="argument" transfer-ownership="none">
<doc xml:space="preserve">the command argument</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
</parameters>
</method>
<method name="get_automation_presentation_type" c:identifier="webkit_web_view_get_automation_presentation_type" glib:get-property="automation-presentation-type" version="2.28">
<doc xml:space="preserve">Get the presentation type of #WebKitWebView when created for automation.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">a #WebKitAutomationBrowsingContextPresentation.</doc>
<type name="AutomationBrowsingContextPresentation" c:type="WebKitAutomationBrowsingContextPresentation"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebView</doc>
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_back_forward_list" c:identifier="webkit_web_view_get_back_forward_list">
<doc xml:space="preserve">Obtains the #WebKitBackForwardList associated with the given #WebKitWebView. The
#WebKitBackForwardList is owned by the #WebKitWebView.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the #WebKitBackForwardList</doc>
<type name="BackForwardList" c:type="WebKitBackForwardList*"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebView</doc>
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_background_color" c:identifier="webkit_web_view_get_background_color" version="2.8">
<doc xml:space="preserve">Gets the color that is used to draw the @web_view background before
the actual contents are rendered.
For more information see also webkit_web_view_set_background_color()</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebView</doc>
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
<parameter name="rgba" direction="out" caller-allocates="1" transfer-ownership="none">
<doc xml:space="preserve">a #GdkRGBA to fill in with the background color</doc>
<type name="Gdk.RGBA" c:type="GdkRGBA*"/>
</parameter>
</parameters>
</method>
<method name="get_camera_capture_state" c:identifier="webkit_web_view_get_camera_capture_state" glib:get-property="camera-capture-state" version="2.34">
<doc xml:space="preserve">Get the camera capture state of a #WebKitWebView.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">The #WebKitMediaCaptureState of the camera device. If #WebKitSettings:enable-mediastream
is %FALSE, this method will return %WEBKIT_MEDIA_CAPTURE_STATE_NONE.</doc>
<type name="MediaCaptureState" c:type="WebKitMediaCaptureState"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebView</doc>
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_context" c:identifier="webkit_web_view_get_context">
<doc xml:space="preserve">Gets the web context of @web_view.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the #WebKitWebContext of the view</doc>
<type name="WebContext" c:type="WebKitWebContext*"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebView</doc>
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_custom_charset" c:identifier="webkit_web_view_get_custom_charset">
<doc xml:space="preserve">Returns the current custom character encoding name of @web_view.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the current custom character encoding name or %NULL if no
custom character encoding has been set.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebView</doc>
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_display_capture_state" c:identifier="webkit_web_view_get_display_capture_state" glib:get-property="display-capture-state" version="2.34">
<doc xml:space="preserve">Get the display capture state of a #WebKitWebView.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">The #WebKitMediaCaptureState of the display device. If #WebKitSettings:enable-mediastream
is %FALSE, this method will return %WEBKIT_MEDIA_CAPTURE_STATE_NONE.</doc>
<type name="MediaCaptureState" c:type="WebKitMediaCaptureState"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebView</doc>
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_editor_state" c:identifier="webkit_web_view_get_editor_state" version="2.10">
<doc xml:space="preserve">Gets the web editor state of @web_view.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the #WebKitEditorState of the view</doc>
<type name="EditorState" c:type="WebKitEditorState*"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebView</doc>
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_estimated_load_progress" c:identifier="webkit_web_view_get_estimated_load_progress" glib:get-property="estimated-load-progress">
<doc xml:space="preserve">Gets the value of the #WebKitWebView:estimated-load-progress property.
You can monitor the estimated progress of a load operation by
connecting to the notify::estimated-load-progress signal of @web_view.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">an estimate of the of the percent complete for a document
load as a range from 0.0 to 1.0.</doc>
<type name="gdouble" c:type="gdouble"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebView</doc>
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_favicon" c:identifier="webkit_web_view_get_favicon" glib:get-property="favicon">
<doc xml:space="preserve">Returns favicon currently associated to @web_view, if any. You can
connect to notify::favicon signal of @web_view to be notified when
the favicon is available.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">a pointer to a #cairo_surface_t with the
favicon or %NULL if there's no icon associated with @web_view.</doc>
<type name="cairo.Surface" c:type="cairo_surface_t*"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebView</doc>
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_find_controller" c:identifier="webkit_web_view_get_find_controller">
<doc xml:space="preserve">Gets the #WebKitFindController that will allow the caller to query
the #WebKitWebView for the text to look for.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the #WebKitFindController associated to
this particular #WebKitWebView.</doc>
<type name="FindController" c:type="WebKitFindController*"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<doc xml:space="preserve">the #WebKitWebView</doc>
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_input_method_context" c:identifier="webkit_web_view_get_input_method_context" version="2.28">
<doc xml:space="preserve">Get the #WebKitInputMethodContext currently in use by @web_view, or %NULL if no input method is being used.</doc>
<return-value transfer-ownership="none" nullable="1">
<doc xml:space="preserve">a #WebKitInputMethodContext, or %NULL</doc>
<type name="InputMethodContext" c:type="WebKitInputMethodContext*"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebView</doc>
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_inspector" c:identifier="webkit_web_view_get_inspector">
<doc xml:space="preserve">Get the #WebKitWebInspector associated to @web_view</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the #WebKitWebInspector of @web_view</doc>
<type name="WebInspector" c:type="WebKitWebInspector*"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebView</doc>
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_is_muted" c:identifier="webkit_web_view_get_is_muted" glib:get-property="is-muted" version="2.30">
<doc xml:space="preserve">Gets the mute state of @web_view.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if @web_view audio is muted or %FALSE is audio is not muted.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebView</doc>
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_is_web_process_responsive" c:identifier="webkit_web_view_get_is_web_process_responsive" glib:get-property="is-web-process-responsive">
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_javascript_global_context" c:identifier="webkit_web_view_get_javascript_global_context" introspectable="0" deprecated="1" deprecated-version="2.22">
<doc xml:space="preserve">Get the global JavaScript context used by @web_view to deserialize the
result values of scripts executed with webkit_web_view_run_javascript().</doc>
<doc-deprecated xml:space="preserve">Use jsc_value_get_context() instead.</doc-deprecated>
<return-value>
<doc xml:space="preserve">the &lt;function&gt;JSGlobalContextRef&lt;/function&gt; used by @web_view to deserialize
the result values of scripts.</doc>
<type c:type="JSGlobalContextRef" name="JavaScriptCore.GlobalContextRef"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebView</doc>
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_main_resource" c:identifier="webkit_web_view_get_main_resource">
<doc xml:space="preserve">Return the main resource of @web_view.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the main #WebKitWebResource of the view
or %NULL if nothing has been loaded.</doc>
<type name="WebResource" c:type="WebKitWebResource*"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebView</doc>
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_microphone_capture_state" c:identifier="webkit_web_view_get_microphone_capture_state" glib:get-property="microphone-capture-state" version="2.34">
<doc xml:space="preserve">Get the microphone capture state of a #WebKitWebView.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">The #WebKitMediaCaptureState of the microphone device. If #WebKitSettings:enable-mediastream
is %FALSE, this method will return %WEBKIT_MEDIA_CAPTURE_STATE_NONE.</doc>
<type name="MediaCaptureState" c:type="WebKitMediaCaptureState"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebView</doc>
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_page_id" c:identifier="webkit_web_view_get_page_id" glib:get-property="page-id">
<doc xml:space="preserve">Get the identifier of the #WebKitWebPage corresponding to
the #WebKitWebView</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the page ID of @web_view.</doc>
<type name="guint64" c:type="guint64"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebView</doc>
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_session_state" c:identifier="webkit_web_view_get_session_state" version="2.12">
<doc xml:space="preserve">Gets the current session state of @web_view</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">a #WebKitWebViewSessionState</doc>
<type name="WebViewSessionState" c:type="WebKitWebViewSessionState*"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebView</doc>
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_settings" c:identifier="webkit_web_view_get_settings">
<doc xml:space="preserve">Gets the #WebKitSettings currently applied to @web_view.
If no other #WebKitSettings have been explicitly applied to
@web_view with webkit_web_view_set_settings(), the default
#WebKitSettings will be returned. This method always returns
a valid #WebKitSettings object.
To modify any of the @web_view settings, you can either create
a new #WebKitSettings object with webkit_settings_new(), setting
the desired preferences, and then replace the existing @web_view
settings with webkit_web_view_set_settings() or get the existing
@web_view settings and update it directly. #WebKitSettings objects
can be shared by multiple #WebKitWebView&lt;!-- --&gt;s, so modifying
the settings of a #WebKitWebView would affect other
#WebKitWebView&lt;!-- --&gt;s using the same #WebKitSettings.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the #WebKitSettings attached to @web_view</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebView</doc>
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_snapshot" c:identifier="webkit_web_view_get_snapshot">
<doc xml:space="preserve">Asynchronously retrieves a snapshot of @web_view for @region.
@options specifies how the snapshot should be rendered.
When the operation is finished, @callback will be called. You must
call webkit_web_view_get_snapshot_finish() to get the result of the
operation.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebView</doc>
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
<parameter name="region" transfer-ownership="none">
<doc xml:space="preserve">the #WebKitSnapshotRegion for this snapshot</doc>
<type name="SnapshotRegion" c:type="WebKitSnapshotRegion"/>
</parameter>
<parameter name="options" transfer-ownership="none">
<doc xml:space="preserve">#WebKitSnapshotOptions for the snapshot</doc>
<type name="SnapshotOptions" c:type="WebKitSnapshotOptions"/>
</parameter>
<parameter name="cancellable" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">a #GCancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
<parameter name="callback" transfer-ownership="none" nullable="1" allow-none="1" scope="async" closure="4">
<doc xml:space="preserve">a #GAsyncReadyCallback</doc>
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
</parameter>
<parameter name="user_data" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">user data</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
</method>
<method name="get_snapshot_finish" c:identifier="webkit_web_view_get_snapshot_finish" throws="1">
<doc xml:space="preserve">Finishes an asynchronous operation started with webkit_web_view_get_snapshot().</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">a #cairo_surface_t with the retrieved snapshot or %NULL in error.</doc>
<type name="cairo.Surface" c:type="cairo_surface_t*"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebView</doc>
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
<parameter name="result" transfer-ownership="none">
<doc xml:space="preserve">a #GAsyncResult</doc>
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
</parameter>
</parameters>
</method>
<method name="get_title" c:identifier="webkit_web_view_get_title" glib:get-property="title">
<doc xml:space="preserve">Gets the value of the #WebKitWebView:title property.
You can connect to notify::title signal of @web_view to
be notified when the title has been received.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">The main frame document title of @web_view.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebView</doc>
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_tls_info" c:identifier="webkit_web_view_get_tls_info">
<doc xml:space="preserve">Retrieves the #GTlsCertificate associated with the main resource of @web_view,
and the #GTlsCertificateFlags showing what problems, if any, have been found
with that certificate.
If the connection is not HTTPS, this function returns %FALSE.
This function should be called after a response has been received from the
server, so you can connect to #WebKitWebView::load-changed and call this function
when it's emitted with %WEBKIT_LOAD_COMMITTED event.
Note that this function provides no information about the security of the web
page if the current #WebKitTLSErrorsPolicy is %WEBKIT_TLS_ERRORS_POLICY_IGNORE,
as subresources of the page may be controlled by an attacker. This function
may safely be used to determine the security status of the current page only
if the current #WebKitTLSErrorsPolicy is %WEBKIT_TLS_ERRORS_POLICY_FAIL, in
which case subresources that fail certificate verification will be blocked.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if the @web_view connection uses HTTPS and a response has been received
from the server, or %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebView</doc>
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
<parameter name="certificate" direction="out" caller-allocates="0" transfer-ownership="none">
<doc xml:space="preserve">return location for a #GTlsCertificate</doc>
<type name="Gio.TlsCertificate" c:type="GTlsCertificate**"/>
</parameter>
<parameter name="errors" direction="out" caller-allocates="0" transfer-ownership="full">
<doc xml:space="preserve">return location for a #GTlsCertificateFlags the verification status of @certificate</doc>
<type name="Gio.TlsCertificateFlags" c:type="GTlsCertificateFlags*"/>
</parameter>
</parameters>
</method>
<method name="get_uri" c:identifier="webkit_web_view_get_uri" glib:get-property="uri">
<doc xml:space="preserve">Returns the current active URI of @web_view. The active URI might change during
a load operation:
&lt;orderedlist&gt;
&lt;listitem&gt;&lt;para&gt;
When nothing has been loaded yet on @web_view the active URI is %NULL.
&lt;/para&gt;&lt;/listitem&gt;
&lt;listitem&gt;&lt;para&gt;
When a new load operation starts the active URI is the requested URI:
&lt;itemizedlist&gt;
&lt;listitem&gt;&lt;para&gt;
If the load operation was started by webkit_web_view_load_uri(),
the requested URI is the given one.
&lt;/para&gt;&lt;/listitem&gt;
&lt;listitem&gt;&lt;para&gt;
If the load operation was started by webkit_web_view_load_html(),
the requested URI is "about:blank".
&lt;/para&gt;&lt;/listitem&gt;
&lt;listitem&gt;&lt;para&gt;
If the load operation was started by webkit_web_view_load_alternate_html(),
the requested URI is content URI provided.
&lt;/para&gt;&lt;/listitem&gt;
&lt;listitem&gt;&lt;para&gt;
If the load operation was started by webkit_web_view_go_back() or
webkit_web_view_go_forward(), the requested URI is the original URI
of the previous/next item in the #WebKitBackForwardList of @web_view.
&lt;/para&gt;&lt;/listitem&gt;
&lt;listitem&gt;&lt;para&gt;
If the load operation was started by
webkit_web_view_go_to_back_forward_list_item(), the requested URI
is the opriginal URI of the given #WebKitBackForwardListItem.
&lt;/para&gt;&lt;/listitem&gt;
&lt;/itemizedlist&gt;
&lt;/para&gt;&lt;/listitem&gt;
&lt;listitem&gt;&lt;para&gt;
If there is a server redirection during the load operation,
the active URI is the redirected URI. When the signal
#WebKitWebView::load-changed is emitted with %WEBKIT_LOAD_REDIRECTED
event, the active URI is already updated to the redirected URI.
&lt;/para&gt;&lt;/listitem&gt;
&lt;listitem&gt;&lt;para&gt;
When the signal #WebKitWebView::load-changed is emitted
with %WEBKIT_LOAD_COMMITTED event, the active URI is the final
one and it will not change unless a new load operation is started
or a navigation action within the same page is performed.
&lt;/para&gt;&lt;/listitem&gt;
&lt;/orderedlist&gt;
You can monitor the active URI by connecting to the notify::uri
signal of @web_view.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the current active URI of @web_view or %NULL
if nothing has been loaded yet.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebView</doc>
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_user_content_manager" c:identifier="webkit_web_view_get_user_content_manager" glib:get-property="user-content-manager" version="2.6">
<doc xml:space="preserve">Gets the user content manager associated to @web_view.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the #WebKitUserContentManager associated with the view</doc>
<type name="UserContentManager" c:type="WebKitUserContentManager*"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebView</doc>
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_website_data_manager" c:identifier="webkit_web_view_get_website_data_manager" version="2.16">
<doc xml:space="preserve">Get the #WebKitWebsiteDataManager associated to @web_view. If @web_view is not ephemeral,
the returned #WebKitWebsiteDataManager will be the same as the #WebKitWebsiteDataManager
of @web_view's #WebKitWebContext.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebsiteDataManager</doc>
<type name="WebsiteDataManager" c:type="WebKitWebsiteDataManager*"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebView</doc>
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_website_policies" c:identifier="webkit_web_view_get_website_policies" glib:get-property="website-policies" version="2.30">
<doc xml:space="preserve">Gets the default website policies set on construction in the
@web_view. These can be overridden on a per-origin basis via the
#WebKitWebView::decide-policy signal handler.
See also webkit_policy_decision_use_with_policies().</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the default #WebKitWebsitePolicies
associated with the view.</doc>
<type name="WebsitePolicies" c:type="WebKitWebsitePolicies*"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebView</doc>
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_window_properties" c:identifier="webkit_web_view_get_window_properties">
<doc xml:space="preserve">Get the #WebKitWindowProperties object containing the properties
that the window containing @web_view should have.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the #WebKitWindowProperties of @web_view</doc>
<type name="WindowProperties" c:type="WebKitWindowProperties*"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebView</doc>
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_zoom_level" c:identifier="webkit_web_view_get_zoom_level" glib:get-property="zoom-level">
<doc xml:space="preserve">Get the zoom level of @web_view, i.e. the factor by which the
view contents are scaled with respect to their original size.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the current zoom level of @web_view</doc>
<type name="gdouble" c:type="gdouble"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebView</doc>
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
</parameters>
</method>
<method name="go_back" c:identifier="webkit_web_view_go_back">
<doc xml:space="preserve">Loads the previous history item.
You can monitor the load operation by connecting to
#WebKitWebView::load-changed signal.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebView</doc>
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
</parameters>
</method>
<method name="go_forward" c:identifier="webkit_web_view_go_forward">
<doc xml:space="preserve">Loads the next history item.
You can monitor the load operation by connecting to
#WebKitWebView::load-changed signal.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebView</doc>
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
</parameters>
</method>
<method name="go_to_back_forward_list_item" c:identifier="webkit_web_view_go_to_back_forward_list_item">
<doc xml:space="preserve">Loads the specific history item @list_item.
You can monitor the load operation by connecting to
#WebKitWebView::load-changed signal.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebView</doc>
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
<parameter name="list_item" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitBackForwardListItem</doc>
<type name="BackForwardListItem" c:type="WebKitBackForwardListItem*"/>
</parameter>
</parameters>
</method>
<method name="is_controlled_by_automation" c:identifier="webkit_web_view_is_controlled_by_automation" version="2.18">
<doc xml:space="preserve">Get whether a #WebKitWebView was created with #WebKitWebView:is-controlled-by-automation
property enabled. Only #WebKitWebView&lt;!-- --&gt;s controlled by automation can be used in an
automation session.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if @web_view is controlled by automation, or %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebView</doc>
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
</parameters>
</method>
<method name="is_editable" c:identifier="webkit_web_view_is_editable">
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
</parameters>
</method>
<method name="is_ephemeral" c:identifier="webkit_web_view_is_ephemeral" version="2.16">
<doc xml:space="preserve">Get whether a #WebKitWebView is ephemeral. To create an ephemeral #WebKitWebView you need to
use g_object_new() and pass is-ephemeral property with %TRUE value. See
#WebKitWebView:is-ephemeral for more details.
If @web_view was created with a ephemeral #WebKitWebView:related-view or an
ephemeral #WebKitWebView:web-context it will also be ephemeral.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if @web_view is ephemeral or %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebView</doc>
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
</parameters>
</method>
<method name="is_loading" c:identifier="webkit_web_view_is_loading" glib:get-property="is-loading">
<doc xml:space="preserve">Gets the value of the #WebKitWebView:is-loading property.
You can monitor when a #WebKitWebView is loading a page by connecting to
notify::is-loading signal of @web_view. This is useful when you are
interesting in knowing when the view is loading something but not in the
details about the status of the load operation, for example to start a spinner
when the view is loading a page and stop it when it finishes.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if @web_view is loading a page or %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebView</doc>
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
</parameters>
</method>
<method name="is_playing_audio" c:identifier="webkit_web_view_is_playing_audio" glib:get-property="is-playing-audio" version="2.8">
<doc xml:space="preserve">Gets the value of the #WebKitWebView:is-playing-audio property.
You can monitor when a page in a #WebKitWebView is playing audio by
connecting to the notify::is-playing-audio signal of @web_view. This
is useful when the application wants to provide visual feedback when a
page is producing sound.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if a page in @web_view is playing audio or %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebView</doc>
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
</parameters>
</method>
<method name="load_alternate_html" c:identifier="webkit_web_view_load_alternate_html">
<doc xml:space="preserve">Load the given @content string for the URI @content_uri.
This allows clients to display page-loading errors in the #WebKitWebView itself.
When this method is called from #WebKitWebView::load-failed signal to show an
error page, then the back-forward list is maintained appropriately.
For everything else this method works the same way as webkit_web_view_load_html().</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebView</doc>
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
<parameter name="content" transfer-ownership="none">
<doc xml:space="preserve">the new content to display as the main page of the @web_view</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="content_uri" transfer-ownership="none">
<doc xml:space="preserve">the URI for the alternate page content</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="base_uri" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">the base URI for relative locations or %NULL</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="load_bytes" c:identifier="webkit_web_view_load_bytes" version="2.6">
<doc xml:space="preserve">Load the specified @bytes into @web_view using the given @mime_type and @encoding.
When @mime_type is %NULL, it defaults to "text/html".
When @encoding is %NULL, it defaults to "UTF-8".
When @base_uri is %NULL, it defaults to "about:blank".
You can monitor the load operation by connecting to #WebKitWebView::load-changed signal.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebView</doc>
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
<parameter name="bytes" transfer-ownership="none">
<doc xml:space="preserve">input data to load</doc>
<type name="GLib.Bytes" c:type="GBytes*"/>
</parameter>
<parameter name="mime_type" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">the MIME type of @bytes, or %NULL</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="encoding" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">the character encoding of @bytes, or %NULL</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="base_uri" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">the base URI for relative locations or %NULL</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="load_html" c:identifier="webkit_web_view_load_html">
<doc xml:space="preserve">Load the given @content string with the specified @base_uri.
If @base_uri is not %NULL, relative URLs in the @content will be
resolved against @base_uri and absolute local paths must be children of the @base_uri.
For security reasons absolute local paths that are not children of @base_uri
will cause the web process to terminate.
If you need to include URLs in @content that are local paths in a different
directory than @base_uri you can build a data URI for them. When @base_uri is %NULL,
it defaults to "about:blank". The mime type of the document will be "text/html".
You can monitor the load operation by connecting to #WebKitWebView::load-changed signal.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebView</doc>
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
<parameter name="content" transfer-ownership="none">
<doc xml:space="preserve">The HTML string to load</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="base_uri" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">The base URI for relative locations or %NULL</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="load_plain_text" c:identifier="webkit_web_view_load_plain_text">
<doc xml:space="preserve">Load the specified @plain_text string into @web_view. The mime type of
document will be "text/plain". You can monitor the load
operation by connecting to #WebKitWebView::load-changed signal.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebView</doc>
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
<parameter name="plain_text" transfer-ownership="none">
<doc xml:space="preserve">The plain text to load</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="load_request" c:identifier="webkit_web_view_load_request">
<doc xml:space="preserve">Requests loading of the specified #WebKitURIRequest.
You can monitor the load operation by connecting to
#WebKitWebView::load-changed signal.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebView</doc>
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
<parameter name="request" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitURIRequest to load</doc>
<type name="URIRequest" c:type="WebKitURIRequest*"/>
</parameter>
</parameters>
</method>
<method name="load_uri" c:identifier="webkit_web_view_load_uri">
<doc xml:space="preserve">Requests loading of the specified URI string.
You can monitor the load operation by connecting to
#WebKitWebView::load-changed signal.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebView</doc>
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
<parameter name="uri" transfer-ownership="none">
<doc xml:space="preserve">an URI string</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="reload" c:identifier="webkit_web_view_reload">
<doc xml:space="preserve">Reloads the current contents of @web_view.
See also webkit_web_view_reload_bypass_cache().</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebView</doc>
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
</parameters>
</method>
<method name="reload_bypass_cache" c:identifier="webkit_web_view_reload_bypass_cache">
<doc xml:space="preserve">Reloads the current contents of @web_view without
using any cached data.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebView</doc>
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
</parameters>
</method>
<method name="restore_session_state" c:identifier="webkit_web_view_restore_session_state" version="2.12">
<doc xml:space="preserve">Restore the @web_view session state from @state</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebView</doc>
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
<parameter name="state" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebViewSessionState</doc>
<type name="WebViewSessionState" c:type="WebKitWebViewSessionState*"/>
</parameter>
</parameters>
</method>
<method name="run_javascript" c:identifier="webkit_web_view_run_javascript">
<doc xml:space="preserve">Asynchronously run @script in the context of the current page in @web_view. If
WebKitSettings:enable-javascript is FALSE, this method will do nothing.
When the operation is finished, @callback will be called. You can then call
webkit_web_view_run_javascript_finish() to get the result of the operation.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebView</doc>
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
<parameter name="script" transfer-ownership="none">
<doc xml:space="preserve">the script to run</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="cancellable" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">a #GCancellable or %NULL to ignore</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
<parameter name="callback" transfer-ownership="none" nullable="1" allow-none="1" scope="async" closure="3">
<doc xml:space="preserve">a #GAsyncReadyCallback to call when the script finished</doc>
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
</parameter>
<parameter name="user_data" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">the data to pass to callback function</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
</method>
<method name="run_javascript_finish" c:identifier="webkit_web_view_run_javascript_finish" throws="1">
<doc xml:space="preserve">Finish an asynchronous operation started with webkit_web_view_run_javascript().
This is an example of using webkit_web_view_run_javascript() with a script returning
a string:
&lt;informalexample&gt;&lt;programlisting&gt;
static void
web_view_javascript_finished (GObject *object,
GAsyncResult *result,
gpointer user_data)
{
WebKitJavascriptResult *js_result;
JSCValue *value;
GError *error = NULL;
js_result = webkit_web_view_run_javascript_finish (WEBKIT_WEB_VIEW (object), result, &amp;error);
if (!js_result) {
g_warning ("Error running javascript: %s", error-&gt;message);
g_error_free (error);
return;
}
value = webkit_javascript_result_get_js_value (js_result);
if (jsc_value_is_string (value)) {
JSCException *exception;
gchar *str_value;
str_value = jsc_value_to_string (value);
exception = jsc_context_get_exception (jsc_value_get_context (value));
if (exception)
g_warning ("Error running javascript: %s", jsc_exception_get_message (exception));
else
g_print ("Script result: %s\n", str_value);
g_free (str_value);
} else {
g_warning ("Error running javascript: unexpected return value");
}
webkit_javascript_result_unref (js_result);
}
static void
web_view_get_link_url (WebKitWebView *web_view,
const gchar *link_id)
{
gchar *script;
script = g_strdup_printf ("window.document.getElementById('%s').href;", link_id);
webkit_web_view_run_javascript (web_view, script, NULL, web_view_javascript_finished, NULL);
g_free (script);
}
&lt;/programlisting&gt;&lt;/informalexample&gt;</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">a #WebKitJavascriptResult with the result of the last executed statement in @script
or %NULL in case of error</doc>
<type name="JavascriptResult" c:type="WebKitJavascriptResult*"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebView</doc>
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
<parameter name="result" transfer-ownership="none">
<doc xml:space="preserve">a #GAsyncResult</doc>
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
</parameter>
</parameters>
</method>
<method name="run_javascript_from_gresource" c:identifier="webkit_web_view_run_javascript_from_gresource">
<doc xml:space="preserve">Asynchronously run the script from @resource in the context of the
current page in @web_view.
When the operation is finished, @callback will be called. You can
then call webkit_web_view_run_javascript_from_gresource_finish() to get the result
of the operation.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebView</doc>
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
<parameter name="resource" transfer-ownership="none">
<doc xml:space="preserve">the location of the resource to load</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="cancellable" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">a #GCancellable or %NULL to ignore</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
<parameter name="callback" transfer-ownership="none" nullable="1" allow-none="1" scope="async" closure="3">
<doc xml:space="preserve">a #GAsyncReadyCallback to call when the script finished</doc>
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
</parameter>
<parameter name="user_data" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">the data to pass to callback function</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
</method>
<method name="run_javascript_from_gresource_finish" c:identifier="webkit_web_view_run_javascript_from_gresource_finish" throws="1">
<doc xml:space="preserve">Finish an asynchronous operation started with webkit_web_view_run_javascript_from_gresource().
Check webkit_web_view_run_javascript_finish() for a usage example.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">a #WebKitJavascriptResult with the result of the last executed statement in @script
or %NULL in case of error</doc>
<type name="JavascriptResult" c:type="WebKitJavascriptResult*"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebView</doc>
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
<parameter name="result" transfer-ownership="none">
<doc xml:space="preserve">a #GAsyncResult</doc>
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
</parameter>
</parameters>
</method>
<method name="run_javascript_in_world" c:identifier="webkit_web_view_run_javascript_in_world" version="2.22">
<doc xml:space="preserve">Asynchronously run @script in the script world with name @world_name of the current page context in @web_view.
If WebKitSettings:enable-javascript is FALSE, this method will do nothing.
When the operation is finished, @callback will be called. You can then call
webkit_web_view_run_javascript_in_world_finish() to get the result of the operation.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebView</doc>
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
<parameter name="script" transfer-ownership="none">
<doc xml:space="preserve">the script to run</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="world_name" transfer-ownership="none">
<doc xml:space="preserve">the name of a #WebKitScriptWorld</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="cancellable" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">a #GCancellable or %NULL to ignore</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
<parameter name="callback" transfer-ownership="none" nullable="1" allow-none="1" scope="async" closure="4">
<doc xml:space="preserve">a #GAsyncReadyCallback to call when the script finished</doc>
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
</parameter>
<parameter name="user_data" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">the data to pass to callback function</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
</method>
<method name="run_javascript_in_world_finish" c:identifier="webkit_web_view_run_javascript_in_world_finish" version="2.22" throws="1">
<doc xml:space="preserve">Finish an asynchronous operation started with webkit_web_view_run_javascript_in_world().</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">a #WebKitJavascriptResult with the result of the last executed statement in @script
or %NULL in case of error</doc>
<type name="JavascriptResult" c:type="WebKitJavascriptResult*"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebView</doc>
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
<parameter name="result" transfer-ownership="none">
<doc xml:space="preserve">a #GAsyncResult</doc>
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
</parameter>
</parameters>
</method>
<method name="save" c:identifier="webkit_web_view_save">
<doc xml:space="preserve">Asynchronously save the current web page associated to the
#WebKitWebView into a self-contained format using the mode
specified in @save_mode.
When the operation is finished, @callback will be called. You can
then call webkit_web_view_save_finish() to get the result of the
operation.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebView</doc>
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
<parameter name="save_mode" transfer-ownership="none">
<doc xml:space="preserve">the #WebKitSaveMode specifying how the web page should be saved.</doc>
<type name="SaveMode" c:type="WebKitSaveMode"/>
</parameter>
<parameter name="cancellable" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">a #GCancellable or %NULL to ignore</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
<parameter name="callback" transfer-ownership="none" nullable="1" allow-none="1" scope="async" closure="3">
<doc xml:space="preserve">a #GAsyncReadyCallback to call when the request is satisfied</doc>
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
</parameter>
<parameter name="user_data" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">the data to pass to callback function</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
</method>
<method name="save_finish" c:identifier="webkit_web_view_save_finish" throws="1">
<doc xml:space="preserve">Finish an asynchronous operation started with webkit_web_view_save().</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">a #GInputStream with the result of saving
the current web page or %NULL in case of error.</doc>
<type name="Gio.InputStream" c:type="GInputStream*"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebView</doc>
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
<parameter name="result" transfer-ownership="none">
<doc xml:space="preserve">a #GAsyncResult</doc>
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
</parameter>
</parameters>
</method>
<method name="save_to_file" c:identifier="webkit_web_view_save_to_file">
<doc xml:space="preserve">Asynchronously save the current web page associated to the
#WebKitWebView into a self-contained format using the mode
specified in @save_mode and writing it to @file.
When the operation is finished, @callback will be called. You can
then call webkit_web_view_save_to_file_finish() to get the result of the
operation.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebView</doc>
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
<parameter name="file" transfer-ownership="none">
<doc xml:space="preserve">the #GFile where the current web page should be saved to.</doc>
<type name="Gio.File" c:type="GFile*"/>
</parameter>
<parameter name="save_mode" transfer-ownership="none">
<doc xml:space="preserve">the #WebKitSaveMode specifying how the web page should be saved.</doc>
<type name="SaveMode" c:type="WebKitSaveMode"/>
</parameter>
<parameter name="cancellable" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">a #GCancellable or %NULL to ignore</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
<parameter name="callback" transfer-ownership="none" nullable="1" allow-none="1" scope="async" closure="4">
<doc xml:space="preserve">a #GAsyncReadyCallback to call when the request is satisfied</doc>
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
</parameter>
<parameter name="user_data" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">the data to pass to callback function</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
</method>
<method name="save_to_file_finish" c:identifier="webkit_web_view_save_to_file_finish" throws="1">
<doc xml:space="preserve">Finish an asynchronous operation started with webkit_web_view_save_to_file().</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if the web page was successfully saved to a file or %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebView</doc>
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
<parameter name="result" transfer-ownership="none">
<doc xml:space="preserve">a #GAsyncResult</doc>
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
</parameter>
</parameters>
</method>
<method name="send_message_to_page" c:identifier="webkit_web_view_send_message_to_page" version="2.28">
<doc xml:space="preserve">Send @message to the #WebKitWebPage corresponding to @web_view. If @message is floating, it's consumed.
If you don't expect any reply, or you simply want to ignore it, you can pass %NULL as @callback.
When the operation is finished, @callback will be called. You can then call
webkit_web_view_send_message_to_page_finish() to get the message reply.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebView</doc>
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
<parameter name="message" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitUserMessage</doc>
<type name="UserMessage" c:type="WebKitUserMessage*"/>
</parameter>
<parameter name="cancellable" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">a #GCancellable or %NULL to ignore</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
<parameter name="callback" transfer-ownership="none" nullable="1" allow-none="1" scope="async" closure="3">
<doc xml:space="preserve">(nullable): A #GAsyncReadyCallback to call when the request is satisfied or %NULL</doc>
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
</parameter>
<parameter name="user_data" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">the data to pass to callback function</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
</method>
<method name="send_message_to_page_finish" c:identifier="webkit_web_view_send_message_to_page_finish" version="2.28" throws="1">
<doc xml:space="preserve">Finish an asynchronous operation started with webkit_web_view_send_message_to_page().</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">a #WebKitUserMessage with the reply or %NULL in case of error.</doc>
<type name="UserMessage" c:type="WebKitUserMessage*"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebView</doc>
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
<parameter name="result" transfer-ownership="none">
<doc xml:space="preserve">a #GAsyncResult</doc>
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
</parameter>
</parameters>
</method>
<method name="set_background_color" c:identifier="webkit_web_view_set_background_color" version="2.8">
<doc xml:space="preserve">Sets the color that will be used to draw the @web_view background before
the actual contents are rendered. Note that if the web page loaded in @web_view
specifies a background color, it will take precedence over the @rgba color.
By default the @web_view background color is opaque white.
Note that the parent window must have a RGBA visual and
#GtkWidget:app-paintable property set to %TRUE for backgrounds colors to work.
&lt;informalexample&gt;&lt;programlisting&gt;
static void browser_window_set_background_color (BrowserWindow *window,
const GdkRGBA *rgba)
{
WebKitWebView *web_view;
GdkScreen *screen = gtk_window_get_screen (GTK_WINDOW (window));
GdkVisual *rgba_visual = gdk_screen_get_rgba_visual (screen);
if (!rgba_visual)
return;
gtk_widget_set_visual (GTK_WIDGET (window), rgba_visual);
gtk_widget_set_app_paintable (GTK_WIDGET (window), TRUE);
web_view = browser_window_get_web_view (window);
webkit_web_view_set_background_color (web_view, rgba);
}
&lt;/programlisting&gt;&lt;/informalexample&gt;</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebView</doc>
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
<parameter name="rgba" transfer-ownership="none">
<doc xml:space="preserve">a #GdkRGBA</doc>
<type name="Gdk.RGBA" c:type="const GdkRGBA*"/>
</parameter>
</parameters>
</method>
<method name="set_camera_capture_state" c:identifier="webkit_web_view_set_camera_capture_state" glib:set-property="camera-capture-state" version="2.34">
<doc xml:space="preserve">Set the camera capture state of a #WebKitWebView.
If #WebKitSettings:enable-mediastream is %FALSE, this method will have no visible effect. Once the
state of the device has been set to %WEBKIT_MEDIA_CAPTURE_STATE_NONE it cannot be changed
anymore. The page can however request capture again using the mediaDevices API.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebView</doc>
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
<parameter name="state" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitMediaCaptureState</doc>
<type name="MediaCaptureState" c:type="WebKitMediaCaptureState"/>
</parameter>
</parameters>
</method>
<method name="set_cors_allowlist" c:identifier="webkit_web_view_set_cors_allowlist" version="2.34">
<doc xml:space="preserve">Sets the @allowlist for which
[Cross-Origin Resource Sharing](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS)
checks are disabled in @web_view. URI patterns must be of the form
`[protocol]://[host]/[path]`, each component may contain the wildcard
character (`*`) to represent zero or more other characters. All three
components are required and must not be omitted from the URI
patterns.
Disabling CORS checks permits resources from other origins to load
allowlisted resources. It does not permit the allowlisted resources
to load resources from other origins.
If this function is called multiple times, only the allowlist set by
the most recent call will be effective.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebView</doc>
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
<parameter name="allowlist" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">an allowlist of URI patterns, or %NULL</doc>
<array c:type="const gchar* const*">
<type name="utf8"/>
</array>
</parameter>
</parameters>
</method>
<method name="set_custom_charset" c:identifier="webkit_web_view_set_custom_charset">
<doc xml:space="preserve">Sets the current custom character encoding override of @web_view. The custom
character encoding will override any text encoding detected via HTTP headers or
META tags. Calling this method will stop any current load operation and reload the
current page. Setting the custom character encoding to %NULL removes the character
encoding override.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebView</doc>
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
<parameter name="charset" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">a character encoding name or %NULL</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="set_display_capture_state" c:identifier="webkit_web_view_set_display_capture_state" glib:set-property="display-capture-state" version="2.34">
<doc xml:space="preserve">Set the display capture state of a #WebKitWebView.
If #WebKitSettings:enable-mediastream is %FALSE, this method will have no visible effect. Once the
state of the device has been set to %WEBKIT_MEDIA_CAPTURE_STATE_NONE it cannot be changed
anymore. The page can however request capture again using the mediaDevices API.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebView</doc>
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
<parameter name="state" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitMediaCaptureState</doc>
<type name="MediaCaptureState" c:type="WebKitMediaCaptureState"/>
</parameter>
</parameters>
</method>
<method name="set_editable" c:identifier="webkit_web_view_set_editable" glib:set-property="editable" version="2.8">
<doc xml:space="preserve">Sets whether the user is allowed to edit the HTML document.
If @editable is %TRUE, @web_view allows the user to edit the HTML document. If
@editable is %FALSE, an element in @web_view's document can only be edited if the
CONTENTEDITABLE attribute has been set on the element or one of its parent
elements. By default a #WebKitWebView is not editable.
Normally, a HTML document is not editable unless the elements within the
document are editable. This function provides a way to make the contents
of a #WebKitWebView editable without altering the document or DOM structure.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebView</doc>
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
<parameter name="editable" transfer-ownership="none">
<doc xml:space="preserve">a #gboolean indicating the editable state</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_input_method_context" c:identifier="webkit_web_view_set_input_method_context" version="2.28">
<doc xml:space="preserve">Set the #WebKitInputMethodContext to be used by @web_view, or %NULL to not use any input method.
Note that the same #WebKitInputMethodContext can't be set on more than one #WebKitWebView at the same time.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebView</doc>
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
<parameter name="context" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">the #WebKitInputMethodContext to set, or %NULL</doc>
<type name="InputMethodContext" c:type="WebKitInputMethodContext*"/>
</parameter>
</parameters>
</method>
<method name="set_is_muted" c:identifier="webkit_web_view_set_is_muted" glib:set-property="is-muted" version="2.30">
<doc xml:space="preserve">Sets the mute state of @web_view.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebView</doc>
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
<parameter name="muted" transfer-ownership="none">
<doc xml:space="preserve">mute flag</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_microphone_capture_state" c:identifier="webkit_web_view_set_microphone_capture_state" glib:set-property="microphone-capture-state" version="2.34">
<doc xml:space="preserve">Set the microphone capture state of a #WebKitWebView.
If #WebKitSettings:enable-mediastream is %FALSE, this method will have no visible effect. Once the
state of the device has been set to %WEBKIT_MEDIA_CAPTURE_STATE_NONE it cannot be changed
anymore. The page can however request capture again using the mediaDevices API.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebView</doc>
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
<parameter name="state" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitMediaCaptureState</doc>
<type name="MediaCaptureState" c:type="WebKitMediaCaptureState"/>
</parameter>
</parameters>
</method>
<method name="set_settings" c:identifier="webkit_web_view_set_settings" glib:set-property="settings">
<doc xml:space="preserve">Sets the #WebKitSettings to be applied to @web_view. The
existing #WebKitSettings of @web_view will be replaced by
@settings. New settings are applied immediately on @web_view.
The same #WebKitSettings object can be shared
by multiple #WebKitWebView&lt;!-- --&gt;s.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebView</doc>
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
<parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</parameter>
</parameters>
</method>
<method name="set_zoom_level" c:identifier="webkit_web_view_set_zoom_level" glib:set-property="zoom-level">
<doc xml:space="preserve">Set the zoom level of @web_view, i.e. the factor by which the
view contents are scaled with respect to their original size.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebView</doc>
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
<parameter name="zoom_level" transfer-ownership="none">
<doc xml:space="preserve">the zoom level</doc>
<type name="gdouble" c:type="gdouble"/>
</parameter>
</parameters>
</method>
<method name="stop_loading" c:identifier="webkit_web_view_stop_loading">
<doc xml:space="preserve">Stops any ongoing loading operation in @web_view.
This method does nothing if no content is being loaded.
If there is a loading operation in progress, it will be cancelled and
#WebKitWebView::load-failed signal will be emitted with
%WEBKIT_NETWORK_ERROR_CANCELLED error.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebView</doc>
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
</parameters>
</method>
<method name="terminate_web_process" c:identifier="webkit_web_view_terminate_web_process" version="2.34">
<doc xml:space="preserve">Terminates the web process associated to @web_view. When the web process gets terminated
using this method, the #WebKitWebView::web-process-terminated signal is emitted with
%WEBKIT_WEB_PROCESS_TERMINATED_BY_API as the reason for termination.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebView</doc>
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
</parameters>
</method>
<method name="try_close" c:identifier="webkit_web_view_try_close" version="2.12">
<doc xml:space="preserve">Tries to close the @web_view. This will fire the onbeforeunload event
to ask the user for confirmation to close the page. If there isn't an
onbeforeunload event handler or the user confirms to close the page,
the #WebKitWebView::close signal is emitted, otherwise nothing happens.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebView</doc>
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
</parameters>
</method>
<property name="automation-presentation-type" version="2.28" writable="1" construct-only="1" transfer-ownership="none" getter="get_automation_presentation_type">
<doc xml:space="preserve">The #WebKitAutomationBrowsingContextPresentation of #WebKitWebView. This should only be used when
creating a new #WebKitWebView as a response to #WebKitAutomationSession::create-web-view
signal request. If the new WebView was added to a new tab of current browsing context window
%WEBKIT_AUTOMATION_BROWSING_CONTEXT_PRESENTATION_TAB should be used.</doc>
<type name="AutomationBrowsingContextPresentation"/>
</property>
<property name="camera-capture-state" version="2.34" writable="1" transfer-ownership="none" setter="set_camera_capture_state" getter="get_camera_capture_state">
<doc xml:space="preserve">Capture state of the camera device. Whenever the user grants a media-request sent by the web
page, requesting video capture capabilities (`navigator.mediaDevices.getUserMedia({video:
true})`) this property will be set to %WEBKIT_MEDIA_CAPTURE_STATE_ACTIVE.
The application can monitor this property and provide a visual indicator allowing to optionally
deactivate or mute the capture device by setting this property respectively to
%WEBKIT_MEDIA_CAPTURE_STATE_NONE or %WEBKIT_MEDIA_CAPTURE_STATE_MUTED.
If the capture state of the device is set to %WEBKIT_MEDIA_CAPTURE_STATE_NONE the web-page
can still re-request the permission to the user. Permission desision caching is left to the
application.</doc>
<type name="MediaCaptureState"/>
</property>
<property name="display-capture-state" version="2.34" writable="1" transfer-ownership="none" setter="set_display_capture_state" getter="get_display_capture_state">
<doc xml:space="preserve">Capture state of the display device. Whenever the user grants a media-request sent by the web
page, requesting screencasting capabilities (`navigator.mediaDevices.getDisplayMedia() this
property will be set to %WEBKIT_MEDIA_CAPTURE_STATE_ACTIVE.
The application can monitor this property and provide a visual indicator allowing to
optionally deactivate or mute the capture device by setting this property respectively to
%WEBKIT_MEDIA_CAPTURE_STATE_NONE or %WEBKIT_MEDIA_CAPTURE_STATE_MUTED.
If the capture state of the device is set to %WEBKIT_MEDIA_CAPTURE_STATE_NONE the web-page
can still re-request the permission to the user. Permission desision caching is left to the
application.</doc>
<type name="MediaCaptureState"/>
</property>
<property name="editable" version="2.8" writable="1" transfer-ownership="none" setter="set_editable">
<doc xml:space="preserve">Whether the pages loaded inside #WebKitWebView are editable. For more
information see webkit_web_view_set_editable().</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="estimated-load-progress" transfer-ownership="none" getter="get_estimated_load_progress">
<doc xml:space="preserve">An estimate of the percent completion for the current loading operation.
This value will range from 0.0 to 1.0 and, once a load completes,
will remain at 1.0 until a new load starts, at which point it
will be reset to 0.0.
The value is an estimate based on the total number of bytes expected
to be received for a document, including all its possible subresources
and child documents.</doc>
<type name="gdouble" c:type="gdouble"/>
</property>
<property name="favicon" transfer-ownership="none" getter="get_favicon">
<doc xml:space="preserve">The favicon currently associated to the #WebKitWebView.
See webkit_web_view_get_favicon() for more details.</doc>
<type name="gpointer" c:type="gpointer"/>
</property>
<property name="is-controlled-by-automation" version="2.18" writable="1" construct-only="1" transfer-ownership="none">
<doc xml:space="preserve">Whether the #WebKitWebView is controlled by automation. This should only be used when
creating a new #WebKitWebView as a response to #WebKitAutomationSession::create-web-view
signal request.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="is-ephemeral" version="2.16" writable="1" construct-only="1" transfer-ownership="none">
<doc xml:space="preserve">Whether the #WebKitWebView is ephemeral. An ephemeral web view never writes
website data to the client storage, no matter what #WebKitWebsiteDataManager
its context is using. This is normally used to implement private browsing mode.
This is a %G_PARAM_CONSTRUCT_ONLY property, so you have to create an ephemeral
#WebKitWebView and it can't be changed. The ephemeral #WebKitWebsiteDataManager
created for the #WebKitWebView will inherit the network settings from the
#WebKitWebContext&lt;!-- --&gt;'s #WebKitWebsiteDataManager. To use different settings
you can get the #WebKitWebsiteDataManager with webkit_web_view_get_website_data_manager()
and set the new ones.
Note that all #WebKitWebView&lt;!-- --&gt;s created with an ephemeral #WebKitWebContext
will be ephemeral automatically.
See also webkit_web_context_new_ephemeral().</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="is-loading" transfer-ownership="none" getter="is_loading">
<doc xml:space="preserve">Whether the #WebKitWebView is currently loading a page. This property becomes
%TRUE as soon as a new load operation is requested and before the
#WebKitWebView::load-changed signal is emitted with %WEBKIT_LOAD_STARTED and
at that point the active URI is the requested one.
When the load operation finishes the property is set to %FALSE before
#WebKitWebView::load-changed is emitted with %WEBKIT_LOAD_FINISHED.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="is-muted" version="2.30" writable="1" transfer-ownership="none" setter="set_is_muted" getter="get_is_muted">
<doc xml:space="preserve">Whether the #WebKitWebView audio is muted. When %TRUE, audio is silenced.
It may still be playing, i.e. #WebKitWebView:is-playing-audio may be %TRUE.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="is-playing-audio" version="2.8" transfer-ownership="none" getter="is_playing_audio">
<doc xml:space="preserve">Whether the #WebKitWebView is currently playing audio from a page.
This property becomes %TRUE as soon as web content starts playing any
kind of audio. When a page is no longer playing any kind of sound,
the property is set back to %FALSE.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="is-web-process-responsive" version="2.34" transfer-ownership="none" getter="get_is_web_process_responsive">
<doc xml:space="preserve">Whether the web process currently associated to the #WebKitWebView is responsive.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="microphone-capture-state" version="2.34" writable="1" transfer-ownership="none" setter="set_microphone_capture_state" getter="get_microphone_capture_state">
<doc xml:space="preserve">Capture state of the microphone device. Whenever the user grants a media-request sent by the web
page, requesting audio capture capabilities (`navigator.mediaDevices.getUserMedia({audio:
true})`) this property will be set to %WEBKIT_MEDIA_CAPTURE_STATE_ACTIVE.
The application can monitor this property and provide a visual indicator allowing to
optionally deactivate or mute the capture device by setting this property respectively to
%WEBKIT_MEDIA_CAPTURE_STATE_NONE or %WEBKIT_MEDIA_CAPTURE_STATE_MUTED.
If the capture state of the device is set to %WEBKIT_MEDIA_CAPTURE_STATE_NONE the web-page
can still re-request the permission to the user. Permission desision caching is left to the
application.</doc>
<type name="MediaCaptureState"/>
</property>
<property name="page-id" version="2.28" transfer-ownership="none" getter="get_page_id">
<doc xml:space="preserve">The identifier of the #WebKitWebPage corresponding to the #WebKitWebView.</doc>
<type name="guint64" c:type="guint64"/>
</property>
<property name="related-view" version="2.4" readable="0" writable="1" construct-only="1" transfer-ownership="none">
<doc xml:space="preserve">The related #WebKitWebView used when creating the view to share the
same web process. This property is not readable because the related
web view is only valid during the object construction.</doc>
<type name="WebView"/>
</property>
<property name="settings" version="2.6" readable="0" writable="1" construct="1" transfer-ownership="none" setter="set_settings">
<doc xml:space="preserve">The #WebKitSettings of the view.</doc>
<type name="Settings"/>
</property>
<property name="title" transfer-ownership="none" getter="get_title">
<doc xml:space="preserve">The main frame document title of this #WebKitWebView. If
the title has not been received yet, it will be %NULL.</doc>
<type name="utf8" c:type="gchar*"/>
</property>
<property name="uri" transfer-ownership="none" getter="get_uri">
<doc xml:space="preserve">The current active URI of the #WebKitWebView.
See webkit_web_view_get_uri() for more details.</doc>
<type name="utf8" c:type="gchar*"/>
</property>
<property name="user-content-manager" version="2.6" writable="1" construct-only="1" transfer-ownership="none" getter="get_user_content_manager">
<doc xml:space="preserve">The #WebKitUserContentManager of the view.</doc>
<type name="UserContentManager"/>
</property>
<property name="web-context" writable="1" construct-only="1" transfer-ownership="none">
<doc xml:space="preserve">The #WebKitWebContext of the view.</doc>
<type name="WebContext"/>
</property>
<property name="website-policies" version="2.30" writable="1" construct-only="1" transfer-ownership="none" getter="get_website_policies">
<doc xml:space="preserve">The #WebKitWebsitePolicies for the view.</doc>
<type name="WebsitePolicies"/>
</property>
<property name="zoom-level" writable="1" transfer-ownership="none" setter="set_zoom_level" getter="get_zoom_level">
<doc xml:space="preserve">The zoom level of the #WebKitWebView content.
See webkit_web_view_set_zoom_level() for more details.</doc>
<type name="gdouble" c:type="gdouble"/>
</property>
<field name="parent">
<type name="WebViewBase" c:type="WebKitWebViewBase"/>
</field>
<field name="priv" readable="0" private="1">
<type name="WebViewPrivate" c:type="WebKitWebViewPrivate*"/>
</field>
<glib:signal name="authenticate" when="last" version="2.2">
<doc xml:space="preserve">This signal is emitted when the user is challenged with HTTP
authentication. To let the application access or supply
the credentials as well as to allow the client application
to either cancel the request or perform the authentication,
the signal will pass an instance of the
#WebKitAuthenticationRequest in the @request argument.
To handle this signal asynchronously you should keep a ref
of the request and return %TRUE. To disable HTTP authentication
entirely, connect to this signal and simply return %TRUE.
The default signal handler will run a default authentication
dialog asynchronously for the user to interact with.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE to stop other handlers from being invoked for the event.
%FALSE to propagate the event further.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="request" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitAuthenticationRequest</doc>
<type name="AuthenticationRequest"/>
</parameter>
</parameters>
</glib:signal>
<glib:signal name="close" when="last">
<doc xml:space="preserve">Emitted when closing a #WebKitWebView is requested. This occurs when a
call is made from JavaScript's &lt;function&gt;window.close&lt;/function&gt; function or
after trying to close the @web_view with webkit_web_view_try_close().
It is the owner's responsibility to handle this signal to hide or
destroy the #WebKitWebView, if necessary.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</glib:signal>
<glib:signal name="context-menu" when="last">
<doc xml:space="preserve">Emitted when a context menu is about to be displayed to give the application
a chance to customize the proposed menu, prevent the menu from being displayed,
or build its own context menu.
&lt;itemizedlist&gt;
&lt;listitem&gt;&lt;para&gt;
To customize the proposed menu you can use webkit_context_menu_prepend(),
webkit_context_menu_append() or webkit_context_menu_insert() to add new
#WebKitContextMenuItem&lt;!-- --&gt;s to @context_menu, webkit_context_menu_move_item()
to reorder existing items, or webkit_context_menu_remove() to remove an
existing item. The signal handler should return %FALSE, and the menu represented
by @context_menu will be shown.
&lt;/para&gt;&lt;/listitem&gt;
&lt;listitem&gt;&lt;para&gt;
To prevent the menu from being displayed you can just connect to this signal
and return %TRUE so that the proposed menu will not be shown.
&lt;/para&gt;&lt;/listitem&gt;
&lt;listitem&gt;&lt;para&gt;
To build your own menu, you can remove all items from the proposed menu with
webkit_context_menu_remove_all(), add your own items and return %FALSE so
that the menu will be shown. You can also ignore the proposed #WebKitContextMenu,
build your own #GtkMenu and return %TRUE to prevent the proposed menu from being shown.
&lt;/para&gt;&lt;/listitem&gt;
&lt;listitem&gt;&lt;para&gt;
If you just want the default menu to be shown always, simply don't connect to this
signal because showing the proposed context menu is the default behaviour.
&lt;/para&gt;&lt;/listitem&gt;
&lt;/itemizedlist&gt;
The @event is expected to be one of the following types:
&lt;itemizedlist&gt;
&lt;listitem&gt;&lt;para&gt;
a #GdkEventButton of type %GDK_BUTTON_PRESS when the context menu
was triggered with mouse.
&lt;/para&gt;&lt;/listitem&gt;
&lt;listitem&gt;&lt;para&gt;
a #GdkEventKey of type %GDK_KEY_PRESS if the keyboard was used to show
the menu.
&lt;/para&gt;&lt;/listitem&gt;
&lt;listitem&gt;&lt;para&gt;
a generic #GdkEvent of type %GDK_NOTHING when the #GtkWidget::popup-menu
signal was used to show the context menu.
&lt;/para&gt;&lt;/listitem&gt;
&lt;/itemizedlist&gt;
If the signal handler returns %FALSE the context menu represented by @context_menu
will be shown, if it return %TRUE the context menu will not be shown.
The proposed #WebKitContextMenu passed in @context_menu argument is only valid
during the signal emission.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE to stop other handlers from being invoked for the event.
%FALSE to propagate the event further.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="context_menu" transfer-ownership="none">
<doc xml:space="preserve">the proposed #WebKitContextMenu</doc>
<type name="ContextMenu"/>
</parameter>
<parameter name="event" transfer-ownership="none">
<doc xml:space="preserve">the #GdkEvent that triggered the context menu</doc>
<type name="Gdk.Event"/>
</parameter>
<parameter name="hit_test_result" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitHitTestResult</doc>
<type name="HitTestResult"/>
</parameter>
</parameters>
</glib:signal>
<glib:signal name="context-menu-dismissed" when="last">
<doc xml:space="preserve">Emitted after #WebKitWebView::context-menu signal, if the context menu is shown,
to notify that the context menu is dismissed.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</glib:signal>
<glib:signal name="create" when="last">
<doc xml:space="preserve">Emitted when the creation of a new #WebKitWebView is requested.
If this signal is handled the signal handler should return the
newly created #WebKitWebView.
The #WebKitNavigationAction parameter contains information about the
navigation action that triggered this signal.
The new #WebKitWebView must be related to @web_view, see
webkit_web_view_new_with_related_view() for more details.
The new #WebKitWebView should not be displayed to the user
until the #WebKitWebView::ready-to-show signal is emitted.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">a newly allocated #WebKitWebView widget
or %NULL to propagate the event further.</doc>
<type name="Gtk.Widget"/>
</return-value>
<parameters>
<parameter name="navigation_action" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitNavigationAction</doc>
<type name="NavigationAction"/>
</parameter>
</parameters>
</glib:signal>
<glib:signal name="decide-policy" when="last">
<doc xml:space="preserve">This signal is emitted when WebKit is requesting the client to decide a policy
decision, such as whether to navigate to a page, open a new window or whether or
not to download a resource. The #WebKitNavigationPolicyDecision passed in the
@decision argument is a generic type, but should be casted to a more
specific type when making the decision. For example:
&lt;informalexample&gt;&lt;programlisting&gt;
static gboolean
decide_policy_cb (WebKitWebView *web_view,
WebKitPolicyDecision *decision,
WebKitPolicyDecisionType type)
{
switch (type) {
case WEBKIT_POLICY_DECISION_TYPE_NAVIGATION_ACTION: {
WebKitNavigationPolicyDecision *navigation_decision = WEBKIT_NAVIGATION_POLICY_DECISION (decision);
/&lt;!-- --&gt;* Make a policy decision here. *&lt;!-- --&gt;/
break;
}
case WEBKIT_POLICY_DECISION_TYPE_NEW_WINDOW_ACTION: {
WebKitNavigationPolicyDecision *navigation_decision = WEBKIT_NAVIGATION_POLICY_DECISION (decision);
/&lt;!-- --&gt;* Make a policy decision here. *&lt;!-- --&gt;/
break;
}
case WEBKIT_POLICY_DECISION_TYPE_RESPONSE:
WebKitResponsePolicyDecision *response = WEBKIT_RESPONSE_POLICY_DECISION (decision);
/&lt;!-- --&gt;* Make a policy decision here. *&lt;!-- --&gt;/
break;
default:
/&lt;!-- --&gt;* Making no decision results in webkit_policy_decision_use(). *&lt;!-- --&gt;/
return FALSE;
}
return TRUE;
}
&lt;/programlisting&gt;&lt;/informalexample&gt;
It is possible to make policy decision asynchronously, by simply calling g_object_ref()
on the @decision argument and returning %TRUE to block the default signal handler.
If the last reference is removed on a #WebKitPolicyDecision and no decision has been
made explicitly, webkit_policy_decision_use() will be the default policy decision. The
default signal handler will simply call webkit_policy_decision_use(). Only the first
policy decision chosen for a given #WebKitPolicyDecision will have any affect.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE to stop other handlers from being invoked for the event.
%FALSE to propagate the event further.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="decision" transfer-ownership="none">
<doc xml:space="preserve">the #WebKitPolicyDecision</doc>
<type name="PolicyDecision"/>
</parameter>
<parameter name="decision_type" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitPolicyDecisionType denoting the type of @decision</doc>
<type name="PolicyDecisionType"/>
</parameter>
</parameters>
</glib:signal>
<glib:signal name="enter-fullscreen" when="last">
<doc xml:space="preserve">Emitted when JavaScript code calls
&lt;function&gt;element.webkitRequestFullScreen&lt;/function&gt;. If the
signal is not handled the #WebKitWebView will proceed to full screen
its top level window. This signal can be used by client code to
request permission to the user prior doing the full screen
transition and eventually prepare the top-level window
(e.g. hide some widgets that would otherwise be part of the
full screen window).</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE to stop other handlers from being invoked for the event.
%FALSE to continue emission of the event.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
</glib:signal>
<glib:signal name="insecure-content-detected" when="last">
<doc xml:space="preserve">This signal is emitted when insecure content has been detected
in a page loaded through a secure connection. This typically
means that a external resource from an unstrusted source has
been run or displayed, resulting in a mix of HTTPS and
non-HTTPS content.
You can check the @event parameter to know exactly which kind
of event has been detected (see #WebKitInsecureContentEvent).</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="event" transfer-ownership="none">
<doc xml:space="preserve">the #WebKitInsecureContentEvent</doc>
<type name="InsecureContentEvent"/>
</parameter>
</parameters>
</glib:signal>
<glib:signal name="leave-fullscreen" when="last">
<doc xml:space="preserve">Emitted when the #WebKitWebView is about to restore its top level
window out of its full screen state. This signal can be used by
client code to restore widgets hidden during the
#WebKitWebView::enter-fullscreen stage for instance.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE to stop other handlers from being invoked for the event.
%FALSE to continue emission of the event.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
</glib:signal>
<glib:signal name="load-changed" when="last">
<doc xml:space="preserve">Emitted when a load operation in @web_view changes.
The signal is always emitted with %WEBKIT_LOAD_STARTED when a
new load request is made and %WEBKIT_LOAD_FINISHED when the load
finishes successfully or due to an error. When the ongoing load
operation fails #WebKitWebView::load-failed signal is emitted
before #WebKitWebView::load-changed is emitted with
%WEBKIT_LOAD_FINISHED.
If a redirection is received from the server, this signal is emitted
with %WEBKIT_LOAD_REDIRECTED after the initial emission with
%WEBKIT_LOAD_STARTED and before %WEBKIT_LOAD_COMMITTED.
When the page content starts arriving the signal is emitted with
%WEBKIT_LOAD_COMMITTED event.
You can handle this signal and use a switch to track any ongoing
load operation.
&lt;informalexample&gt;&lt;programlisting&gt;
static void web_view_load_changed (WebKitWebView *web_view,
WebKitLoadEvent load_event,
gpointer user_data)
{
switch (load_event) {
case WEBKIT_LOAD_STARTED:
/&lt;!-- --&gt;* New load, we have now a provisional URI *&lt;!-- --&gt;/
provisional_uri = webkit_web_view_get_uri (web_view);
/&lt;!-- --&gt;* Here we could start a spinner or update the
&lt;!-- --&gt;* location bar with the provisional URI *&lt;!-- --&gt;/
break;
case WEBKIT_LOAD_REDIRECTED:
redirected_uri = webkit_web_view_get_uri (web_view);
break;
case WEBKIT_LOAD_COMMITTED:
/&lt;!-- --&gt;* The load is being performed. Current URI is
&lt;!-- --&gt;* the final one and it won't change unless a new
&lt;!-- --&gt;* load is requested or a navigation within the
&lt;!-- --&gt;* same page is performed *&lt;!-- --&gt;/
uri = webkit_web_view_get_uri (web_view);
break;
case WEBKIT_LOAD_FINISHED:
/&lt;!-- --&gt;* Load finished, we can now stop the spinner *&lt;!-- --&gt;/
break;
}
}
&lt;/programlisting&gt;&lt;/informalexample&gt;</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="load_event" transfer-ownership="none">
<doc xml:space="preserve">the #WebKitLoadEvent</doc>
<type name="LoadEvent"/>
</parameter>
</parameters>
</glib:signal>
<glib:signal name="load-failed" when="last">
<doc xml:space="preserve">Emitted when an error occurs during a load operation.
If the error happened when starting to load data for a page
@load_event will be %WEBKIT_LOAD_STARTED. If it happened while
loading a committed data source @load_event will be %WEBKIT_LOAD_COMMITTED.
Since a load error causes the load operation to finish, the signal
WebKitWebView::load-changed will always be emitted with
%WEBKIT_LOAD_FINISHED event right after this one.
By default, if the signal is not handled, a stock error page will be displayed.
You need to handle the signal if you want to provide your own error page.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE to stop other handlers from being invoked for the event.
%FALSE to propagate the event further.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="load_event" transfer-ownership="none">
<doc xml:space="preserve">the #WebKitLoadEvent of the load operation</doc>
<type name="LoadEvent"/>
</parameter>
<parameter name="failing_uri" transfer-ownership="none">
<doc xml:space="preserve">the URI that failed to load</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
<parameter name="error" transfer-ownership="none">
<doc xml:space="preserve">the #GError that was triggered</doc>
<type name="GLib.Error"/>
</parameter>
</parameters>
</glib:signal>
<glib:signal name="load-failed-with-tls-errors" when="last" version="2.6">
<doc xml:space="preserve">Emitted when a TLS error occurs during a load operation.
To allow an exception for this @certificate
and the host of @failing_uri use webkit_web_context_allow_tls_certificate_for_host().
To handle this signal asynchronously you should call g_object_ref() on @certificate
and return %TRUE.
If %FALSE is returned, #WebKitWebView::load-failed will be emitted. The load
will finish regardless of the returned value.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE to stop other handlers from being invoked for the event.
%FALSE to propagate the event further.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="failing_uri" transfer-ownership="none">
<doc xml:space="preserve">the URI that failed to load</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
<parameter name="certificate" transfer-ownership="none">
<doc xml:space="preserve">a #GTlsCertificate</doc>
<type name="Gio.TlsCertificate"/>
</parameter>
<parameter name="errors" transfer-ownership="none">
<doc xml:space="preserve">a #GTlsCertificateFlags with the verification status of @certificate</doc>
<type name="Gio.TlsCertificateFlags"/>
</parameter>
</parameters>
</glib:signal>
<glib:signal name="mouse-target-changed" when="last">
<doc xml:space="preserve">This signal is emitted when the mouse cursor moves over an
element such as a link, image or a media element. To determine
what type of element the mouse cursor is over, a Hit Test is performed
on the current mouse coordinates and the result is passed in the
@hit_test_result argument. The @modifiers argument is a bitmask of
#GdkModifierType flags indicating the state of modifier keys.
The signal is emitted again when the mouse is moved out of the
current element with a new @hit_test_result.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="hit_test_result" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitHitTestResult</doc>
<type name="HitTestResult"/>
</parameter>
<parameter name="modifiers" transfer-ownership="none">
<doc xml:space="preserve">a bitmask of #GdkModifierType</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</glib:signal>
<glib:signal name="permission-request" when="last">
<doc xml:space="preserve">This signal is emitted when WebKit is requesting the client to
decide about a permission request, such as allowing the browser
to switch to fullscreen mode, sharing its location or similar
operations.
A possible way to use this signal could be through a dialog
allowing the user decide what to do with the request:
&lt;informalexample&gt;&lt;programlisting&gt;
static gboolean permission_request_cb (WebKitWebView *web_view,
WebKitPermissionRequest *request,
GtkWindow *parent_window)
{
GtkWidget *dialog = gtk_message_dialog_new (parent_window,
GTK_DIALOG_MODAL,
GTK_MESSAGE_QUESTION,
GTK_BUTTONS_YES_NO,
"Allow Permission Request?");
gtk_widget_show (dialog);
gint result = gtk_dialog_run (GTK_DIALOG (dialog));
switch (result) {
case GTK_RESPONSE_YES:
webkit_permission_request_allow (request);
break;
default:
webkit_permission_request_deny (request);
break;
}
gtk_widget_destroy (dialog);
return TRUE;
}
&lt;/programlisting&gt;&lt;/informalexample&gt;
It is possible to handle permission requests asynchronously, by
simply calling g_object_ref() on the @request argument and
returning %TRUE to block the default signal handler. If the
last reference is removed on a #WebKitPermissionRequest and the
request has not been handled, webkit_permission_request_deny()
will be the default action.
If the signal is not handled, the @request will be completed automatically
by the specific #WebKitPermissionRequest that could allow or deny it. Check the
documentation of classes implementing #WebKitPermissionRequest interface to know
their default action.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE to stop other handlers from being invoked for the event.
%FALSE to propagate the event further.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="request" transfer-ownership="none">
<doc xml:space="preserve">the #WebKitPermissionRequest</doc>
<type name="PermissionRequest"/>
</parameter>
</parameters>
</glib:signal>
<glib:signal name="print" when="last">
<doc xml:space="preserve">Emitted when printing is requested on @web_view, usually by a JavaScript call,
before the print dialog is shown. This signal can be used to set the initial
print settings and page setup of @print_operation to be used as default values in
the print dialog. You can call webkit_print_operation_set_print_settings() and
webkit_print_operation_set_page_setup() and then return %FALSE to propagate the
event so that the print dialog is shown.
You can connect to this signal and return %TRUE to cancel the print operation
or implement your own print dialog.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE to stop other handlers from being invoked for the event.
%FALSE to propagate the event further.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="print_operation" transfer-ownership="none">
<doc xml:space="preserve">the #WebKitPrintOperation that will handle the print request</doc>
<type name="PrintOperation"/>
</parameter>
</parameters>
</glib:signal>
<glib:signal name="ready-to-show" when="last">
<doc xml:space="preserve">Emitted after #WebKitWebView::create on the newly created #WebKitWebView
when it should be displayed to the user. When this signal is emitted
all the information about how the window should look, including
size, position, whether the location, status and scrollbars
should be displayed, is already set on the #WebKitWindowProperties
of @web_view. See also webkit_web_view_get_window_properties().</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</glib:signal>
<glib:signal name="resource-load-started" when="last">
<doc xml:space="preserve">Emitted when a new resource is going to be loaded. The @request parameter
contains the #WebKitURIRequest that will be sent to the server.
You can monitor the load operation by connecting to the different signals
of @resource.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="resource" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebResource</doc>
<type name="WebResource"/>
</parameter>
<parameter name="request" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitURIRequest</doc>
<type name="URIRequest"/>
</parameter>
</parameters>
</glib:signal>
<glib:signal name="run-as-modal" when="last">
<doc xml:space="preserve">Emitted after #WebKitWebView::ready-to-show on the newly
created #WebKitWebView when JavaScript code calls
&lt;function&gt;window.showModalDialog&lt;/function&gt;. The purpose of
this signal is to allow the client application to prepare the
new view to behave as modal. Once the signal is emitted a new
main loop will be run to block user interaction in the parent
#WebKitWebView until the new dialog is closed.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</glib:signal>
<glib:signal name="run-color-chooser" when="last" version="2.8">
<doc xml:space="preserve">This signal is emitted when the user interacts with a &amp;lt;input
type='color' /&amp;gt; HTML element, requesting from WebKit to show
a dialog to select a color. To let the application know the details of
the color chooser, as well as to allow the client application to either
cancel the request or perform an actual color selection, the signal will
pass an instance of the #WebKitColorChooserRequest in the @request
argument.
It is possible to handle this request asynchronously by increasing the
reference count of the request.
The default signal handler will asynchronously run a regular
#GtkColorChooser for the user to interact with.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE to stop other handlers from being invoked for the event.
%FALSE to propagate the event further.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="request" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitColorChooserRequest</doc>
<type name="ColorChooserRequest"/>
</parameter>
</parameters>
</glib:signal>
<glib:signal name="run-file-chooser" when="last">
<doc xml:space="preserve">This signal is emitted when the user interacts with a &amp;lt;input
type='file' /&amp;gt; HTML element, requesting from WebKit to show
a dialog to select one or more files to be uploaded. To let the
application know the details of the file chooser, as well as to
allow the client application to either cancel the request or
perform an actual selection of files, the signal will pass an
instance of the #WebKitFileChooserRequest in the @request
argument.
The default signal handler will asynchronously run a regular
#GtkFileChooserDialog for the user to interact with.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE to stop other handlers from being invoked for the event.
%FALSE to propagate the event further.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="request" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitFileChooserRequest</doc>
<type name="FileChooserRequest"/>
</parameter>
</parameters>
</glib:signal>
<glib:signal name="script-dialog" when="last">
<doc xml:space="preserve">Emitted when JavaScript code calls &lt;function&gt;window.alert&lt;/function&gt;,
&lt;function&gt;window.confirm&lt;/function&gt; or &lt;function&gt;window.prompt&lt;/function&gt;,
or when &lt;function&gt;onbeforeunload&lt;/function&gt; event is fired.
The @dialog parameter should be used to build the dialog.
If the signal is not handled a different dialog will be built and shown depending
on the dialog type:
&lt;itemizedlist&gt;
&lt;listitem&gt;&lt;para&gt;
%WEBKIT_SCRIPT_DIALOG_ALERT: message dialog with a single Close button.
&lt;/para&gt;&lt;/listitem&gt;
&lt;listitem&gt;&lt;para&gt;
%WEBKIT_SCRIPT_DIALOG_CONFIRM: message dialog with OK and Cancel buttons.
&lt;/para&gt;&lt;/listitem&gt;
&lt;listitem&gt;&lt;para&gt;
%WEBKIT_SCRIPT_DIALOG_PROMPT: message dialog with OK and Cancel buttons and
a text entry with the default text.
&lt;/para&gt;&lt;/listitem&gt;
&lt;listitem&gt;&lt;para&gt;
%WEBKIT_SCRIPT_DIALOG_BEFORE_UNLOAD_CONFIRM: message dialog with Stay and Leave buttons.
&lt;/para&gt;&lt;/listitem&gt;
&lt;/itemizedlist&gt;
It is possible to handle the script dialog request asynchronously, by simply
caling webkit_script_dialog_ref() on the @dialog argument and calling
webkit_script_dialog_close() when done.
If the last reference is removed on a #WebKitScriptDialog and the dialog has not been
closed, webkit_script_dialog_close() will be called.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE to stop other handlers from being invoked for the event.
%FALSE to propagate the event further.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="dialog" transfer-ownership="none">
<doc xml:space="preserve">the #WebKitScriptDialog to show</doc>
<type name="ScriptDialog"/>
</parameter>
</parameters>
</glib:signal>
<glib:signal name="show-notification" when="last" version="2.8">
<doc xml:space="preserve">This signal is emitted when a notification should be presented to the
user. The @notification is kept alive until either: 1) the web page cancels it
or 2) a navigation happens.
The default handler will emit a notification using libnotify, if built with
support for it.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE to stop other handlers from being invoked. %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="notification" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitNotification</doc>
<type name="Notification"/>
</parameter>
</parameters>
</glib:signal>
<glib:signal name="show-option-menu" when="last" version="2.18">
<doc xml:space="preserve">This signal is emitted when a select element in @web_view needs to display a
dropdown menu. This signal can be used to show a custom menu, using @menu to get
the details of all items that should be displayed. The area of the element in the
#WebKitWebView is given as @rectangle parameter, it can be used to position the
menu. If this was triggered by a user interaction, like a mouse click,
@event parameter provides the #GdkEvent.
To handle this signal asynchronously you should keep a ref of the @menu.
The default signal handler will pop up a #GtkMenu.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE to stop other handlers from being invoked for the event.
%FALSE to propagate the event further.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="menu" transfer-ownership="none">
<doc xml:space="preserve">the #WebKitOptionMenu</doc>
<type name="OptionMenu"/>
</parameter>
<parameter name="event" transfer-ownership="none">
<doc xml:space="preserve">the #GdkEvent that triggered the menu, or %NULL</doc>
<type name="Gdk.Event"/>
</parameter>
<parameter name="rectangle" transfer-ownership="none">
<doc xml:space="preserve">the option element area</doc>
<type name="Gdk.Rectangle"/>
</parameter>
</parameters>
</glib:signal>
<glib:signal name="submit-form" when="last">
<doc xml:space="preserve">This signal is emitted when a form is about to be submitted. The @request
argument passed contains information about the text fields of the form. This
is typically used to store login information that can be used later to
pre-fill the form.
The form will not be submitted until webkit_form_submission_request_submit() is called.
It is possible to handle the form submission request asynchronously, by
simply calling g_object_ref() on the @request argument and calling
webkit_form_submission_request_submit() when done to continue with the form submission.
If the last reference is removed on a #WebKitFormSubmissionRequest and the
form has not been submitted, webkit_form_submission_request_submit() will be called.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="request" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitFormSubmissionRequest</doc>
<type name="FormSubmissionRequest"/>
</parameter>
</parameters>
</glib:signal>
<glib:signal name="user-message-received" when="last" version="2.28">
<doc xml:space="preserve">This signal is emitted when a #WebKitUserMessage is received from the
#WebKitWebPage corresponding to @web_view. You can reply to the message
using webkit_user_message_send_reply().
You can handle the user message asynchronously by calling g_object_ref() on
@message and returning %TRUE. If the last reference of @message is removed
and the message has not been replied to, the operation in the #WebKitWebPage will
finish with error %WEBKIT_USER_MESSAGE_UNHANDLED_MESSAGE.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if the message was handled, or %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="message" transfer-ownership="none">
<doc xml:space="preserve">the #WebKitUserMessage received</doc>
<type name="UserMessage"/>
</parameter>
</parameters>
</glib:signal>
<glib:signal name="web-process-crashed" when="last" deprecated="1" deprecated-version="2.20">
<doc xml:space="preserve">This signal is emitted when the web process crashes.</doc>
<doc-deprecated xml:space="preserve">Use WebKitWebView::web-process-terminated instead.</doc-deprecated>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE to stop other handlers from being invoked for the event.
%FALSE to propagate the event further.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
</glib:signal>
<glib:signal name="web-process-terminated" when="last" version="2.20">
<doc xml:space="preserve">This signal is emitted when the web process terminates abnormally due
to @reason.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="reason" transfer-ownership="none">
<doc xml:space="preserve">the a #WebKitWebProcessTerminationReason</doc>
<type name="WebProcessTerminationReason"/>
</parameter>
</parameters>
</glib:signal>
</class>
<class name="WebViewBase" c:symbol-prefix="web_view_base" c:type="WebKitWebViewBase" parent="Gtk.Container" glib:type-name="WebKitWebViewBase" glib:get-type="webkit_web_view_base_get_type" glib:type-struct="WebViewBaseClass">
<implements name="Atk.ImplementorIface"/>
<implements name="Gtk.Buildable"/>
<field name="parentInstance">
<type name="Gtk.Container" c:type="GtkContainer"/>
</field>
<field name="priv" readable="0" private="1">
<type name="WebViewBasePrivate" c:type="WebKitWebViewBasePrivate*"/>
</field>
</class>
<record name="WebViewBaseClass" c:type="WebKitWebViewBaseClass" glib:is-gtype-struct-for="WebViewBase">
<field name="parentClass">
<type name="Gtk.ContainerClass" c:type="GtkContainerClass"/>
</field>
<field name="_webkit_reserved0" introspectable="0">
<callback name="_webkit_reserved0">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved1" introspectable="0">
<callback name="_webkit_reserved1">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved2" introspectable="0">
<callback name="_webkit_reserved2">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved3" introspectable="0">
<callback name="_webkit_reserved3">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
</record>
<record name="WebViewBasePrivate" c:type="WebKitWebViewBasePrivate" disguised="1"/>
<record name="WebViewClass" c:type="WebKitWebViewClass" glib:is-gtype-struct-for="WebView">
<field name="parent">
<type name="WebViewBaseClass" c:type="WebKitWebViewBaseClass"/>
</field>
<field name="load_changed">
<callback name="load_changed">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="web_view" transfer-ownership="none">
<type name="WebView" c:type="WebKitWebView*"/>
</parameter>
<parameter name="load_event" transfer-ownership="none">
<type name="LoadEvent" c:type="WebKitLoadEvent"/>
</parameter>
</parameters>
</callback>
</field>
<field name="load_failed">
<callback name="load_failed">
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="web_view" transfer-ownership="none">
<type name="WebView" c:type="WebKitWebView*"/>
</parameter>
<parameter name="load_event" transfer-ownership="none">
<type name="LoadEvent" c:type="WebKitLoadEvent"/>
</parameter>
<parameter name="failing_uri" transfer-ownership="none">
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="error" transfer-ownership="none">
<type name="GLib.Error" c:type="GError*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="create" introspectable="0">
<callback name="create" introspectable="0">
<return-value>
<type name="Gtk.Widget" c:type="GtkWidget*"/>
</return-value>
<parameters>
<parameter name="web_view" transfer-ownership="none">
<type name="WebView" c:type="WebKitWebView*"/>
</parameter>
<parameter name="navigation_action" transfer-ownership="none">
<type name="NavigationAction" c:type="WebKitNavigationAction*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="ready_to_show">
<callback name="ready_to_show">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="web_view" transfer-ownership="none">
<type name="WebView" c:type="WebKitWebView*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="run_as_modal">
<callback name="run_as_modal">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="web_view" transfer-ownership="none">
<type name="WebView" c:type="WebKitWebView*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="close">
<callback name="close">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="web_view" transfer-ownership="none">
<type name="WebView" c:type="WebKitWebView*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="script_dialog">
<callback name="script_dialog">
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="web_view" transfer-ownership="none">
<type name="WebView" c:type="WebKitWebView*"/>
</parameter>
<parameter name="dialog" transfer-ownership="none">
<type name="ScriptDialog" c:type="WebKitScriptDialog*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="decide_policy">
<callback name="decide_policy">
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="web_view" transfer-ownership="none">
<type name="WebView" c:type="WebKitWebView*"/>
</parameter>
<parameter name="decision" transfer-ownership="none">
<type name="PolicyDecision" c:type="WebKitPolicyDecision*"/>
</parameter>
<parameter name="type" transfer-ownership="none">
<type name="PolicyDecisionType" c:type="WebKitPolicyDecisionType"/>
</parameter>
</parameters>
</callback>
</field>
<field name="permission_request">
<callback name="permission_request">
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="web_view" transfer-ownership="none">
<type name="WebView" c:type="WebKitWebView*"/>
</parameter>
<parameter name="permission_request" transfer-ownership="none">
<type name="PermissionRequest" c:type="WebKitPermissionRequest*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="mouse_target_changed">
<callback name="mouse_target_changed">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="web_view" transfer-ownership="none">
<type name="WebView" c:type="WebKitWebView*"/>
</parameter>
<parameter name="hit_test_result" transfer-ownership="none">
<type name="HitTestResult" c:type="WebKitHitTestResult*"/>
</parameter>
<parameter name="modifiers" transfer-ownership="none">
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</callback>
</field>
<field name="print">
<callback name="print">
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="web_view" transfer-ownership="none">
<type name="WebView" c:type="WebKitWebView*"/>
</parameter>
<parameter name="print_operation" transfer-ownership="none">
<type name="PrintOperation" c:type="WebKitPrintOperation*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="resource_load_started">
<callback name="resource_load_started">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="web_view" transfer-ownership="none">
<type name="WebView" c:type="WebKitWebView*"/>
</parameter>
<parameter name="resource" transfer-ownership="none">
<type name="WebResource" c:type="WebKitWebResource*"/>
</parameter>
<parameter name="request" transfer-ownership="none">
<type name="URIRequest" c:type="WebKitURIRequest*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="enter_fullscreen">
<callback name="enter_fullscreen">
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="web_view" transfer-ownership="none">
<type name="WebView" c:type="WebKitWebView*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="leave_fullscreen">
<callback name="leave_fullscreen">
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="web_view" transfer-ownership="none">
<type name="WebView" c:type="WebKitWebView*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="run_file_chooser">
<callback name="run_file_chooser">
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="web_view" transfer-ownership="none">
<type name="WebView" c:type="WebKitWebView*"/>
</parameter>
<parameter name="request" transfer-ownership="none">
<type name="FileChooserRequest" c:type="WebKitFileChooserRequest*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="context_menu">
<callback name="context_menu">
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="web_view" transfer-ownership="none">
<type name="WebView" c:type="WebKitWebView*"/>
</parameter>
<parameter name="context_menu" transfer-ownership="none">
<type name="ContextMenu" c:type="WebKitContextMenu*"/>
</parameter>
<parameter name="event" transfer-ownership="none">
<type name="Gdk.Event" c:type="GdkEvent*"/>
</parameter>
<parameter name="hit_test_result" transfer-ownership="none">
<type name="HitTestResult" c:type="WebKitHitTestResult*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="context_menu_dismissed">
<callback name="context_menu_dismissed">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="web_view" transfer-ownership="none">
<type name="WebView" c:type="WebKitWebView*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="submit_form">
<callback name="submit_form">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="web_view" transfer-ownership="none">
<type name="WebView" c:type="WebKitWebView*"/>
</parameter>
<parameter name="request" transfer-ownership="none">
<type name="FormSubmissionRequest" c:type="WebKitFormSubmissionRequest*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="insecure_content_detected">
<callback name="insecure_content_detected">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="web_view" transfer-ownership="none">
<type name="WebView" c:type="WebKitWebView*"/>
</parameter>
<parameter name="event" transfer-ownership="none">
<type name="InsecureContentEvent" c:type="WebKitInsecureContentEvent"/>
</parameter>
</parameters>
</callback>
</field>
<field name="web_process_crashed">
<callback name="web_process_crashed">
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="web_view" transfer-ownership="none">
<type name="WebView" c:type="WebKitWebView*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="authenticate">
<callback name="authenticate">
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="web_view" transfer-ownership="none">
<type name="WebView" c:type="WebKitWebView*"/>
</parameter>
<parameter name="request" transfer-ownership="none">
<type name="AuthenticationRequest" c:type="WebKitAuthenticationRequest*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="load_failed_with_tls_errors">
<callback name="load_failed_with_tls_errors">
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="web_view" transfer-ownership="none">
<type name="WebView" c:type="WebKitWebView*"/>
</parameter>
<parameter name="failing_uri" transfer-ownership="none">
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="certificate" transfer-ownership="none">
<type name="Gio.TlsCertificate" c:type="GTlsCertificate*"/>
</parameter>
<parameter name="errors" transfer-ownership="none">
<type name="Gio.TlsCertificateFlags" c:type="GTlsCertificateFlags"/>
</parameter>
</parameters>
</callback>
</field>
<field name="show_notification">
<callback name="show_notification">
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="web_view" transfer-ownership="none">
<type name="WebView" c:type="WebKitWebView*"/>
</parameter>
<parameter name="notification" transfer-ownership="none">
<type name="Notification" c:type="WebKitNotification*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="run_color_chooser">
<callback name="run_color_chooser">
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="web_view" transfer-ownership="none">
<type name="WebView" c:type="WebKitWebView*"/>
</parameter>
<parameter name="request" transfer-ownership="none">
<type name="ColorChooserRequest" c:type="WebKitColorChooserRequest*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="show_option_menu">
<callback name="show_option_menu">
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="web_view" transfer-ownership="none">
<type name="WebView" c:type="WebKitWebView*"/>
</parameter>
<parameter name="rectangle" transfer-ownership="none">
<type name="Gdk.Rectangle" c:type="GdkRectangle*"/>
</parameter>
<parameter name="menu" transfer-ownership="none">
<type name="OptionMenu" c:type="WebKitOptionMenu*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="web_process_terminated">
<callback name="web_process_terminated">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="web_view" transfer-ownership="none">
<type name="WebView" c:type="WebKitWebView*"/>
</parameter>
<parameter name="reason" transfer-ownership="none">
<type name="WebProcessTerminationReason" c:type="WebKitWebProcessTerminationReason"/>
</parameter>
</parameters>
</callback>
</field>
<field name="user_message_received">
<callback name="user_message_received">
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="web_view" transfer-ownership="none">
<type name="WebView" c:type="WebKitWebView*"/>
</parameter>
<parameter name="message" transfer-ownership="none">
<type name="UserMessage" c:type="WebKitUserMessage*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="_webkit_reserved0" introspectable="0">
<callback name="_webkit_reserved0">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
</record>
<record name="WebViewPrivate" c:type="WebKitWebViewPrivate" disguised="1"/>
<record name="WebViewSessionState" c:type="WebKitWebViewSessionState" glib:type-name="WebKitWebViewSessionState" glib:get-type="webkit_web_view_session_state_get_type" c:symbol-prefix="web_view_session_state">
<constructor name="new" c:identifier="webkit_web_view_session_state_new" version="2.12">
<doc xml:space="preserve">Creates a new #WebKitWebViewSessionState from serialized data.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">a new #WebKitWebViewSessionState, or %NULL if @data doesn't contain a
valid serialized #WebKitWebViewSessionState.</doc>
<type name="WebViewSessionState" c:type="WebKitWebViewSessionState*"/>
</return-value>
<parameters>
<parameter name="data" transfer-ownership="none">
<doc xml:space="preserve">a #GBytes</doc>
<type name="GLib.Bytes" c:type="GBytes*"/>
</parameter>
</parameters>
</constructor>
<method name="ref" c:identifier="webkit_web_view_session_state_ref" version="2.12">
<doc xml:space="preserve">Atomically increments the reference count of @state by one. This
function is MT-safe and may be called from any thread.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">The passed in #WebKitWebViewSessionState</doc>
<type name="WebViewSessionState" c:type="WebKitWebViewSessionState*"/>
</return-value>
<parameters>
<instance-parameter name="state" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebViewSessionState</doc>
<type name="WebViewSessionState" c:type="WebKitWebViewSessionState*"/>
</instance-parameter>
</parameters>
</method>
<method name="serialize" c:identifier="webkit_web_view_session_state_serialize" version="2.12">
<doc xml:space="preserve">Serializes a #WebKitWebViewSessionState.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">a #GBytes containing the @state serialized.</doc>
<type name="GLib.Bytes" c:type="GBytes*"/>
</return-value>
<parameters>
<instance-parameter name="state" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebViewSessionState</doc>
<type name="WebViewSessionState" c:type="WebKitWebViewSessionState*"/>
</instance-parameter>
</parameters>
</method>
<method name="unref" c:identifier="webkit_web_view_session_state_unref" version="2.12">
<doc xml:space="preserve">Atomically decrements the reference count of @state by one. If the
reference count drops to 0, all memory allocated by the #WebKitWebViewSessionState is
released. This function is MT-safe and may be called from any thread.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="state" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebViewSessionState</doc>
<type name="WebViewSessionState" c:type="WebKitWebViewSessionState*"/>
</instance-parameter>
</parameters>
</method>
</record>
<record name="WebsiteData" c:type="WebKitWebsiteData" glib:type-name="WebKitWebsiteData" glib:get-type="webkit_website_data_get_type" c:symbol-prefix="website_data">
<method name="get_name" c:identifier="webkit_website_data_get_name" version="2.16">
<doc xml:space="preserve">Gets the name of #WebKitWebsiteData. This is the website name, normally represented by
a domain or host name. All local documents are grouped in the same #WebKitWebsiteData using
the name "Local files".</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the website name of @website_data.</doc>
<type name="utf8" c:type="const char*"/>
</return-value>
<parameters>
<instance-parameter name="website_data" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebsiteData</doc>
<type name="WebsiteData" c:type="WebKitWebsiteData*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_size" c:identifier="webkit_website_data_get_size" version="2.16">
<doc xml:space="preserve">Gets the size of the data of types @types in a #WebKitWebsiteData.
Note that currently the data size is only known for %WEBKIT_WEBSITE_DATA_DISK_CACHE data type
so for all other types 0 will be returned.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the size of @website_data for the given @types.</doc>
<type name="guint64" c:type="guint64"/>
</return-value>
<parameters>
<instance-parameter name="website_data" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebsiteData</doc>
<type name="WebsiteData" c:type="WebKitWebsiteData*"/>
</instance-parameter>
<parameter name="types" transfer-ownership="none">
<doc xml:space="preserve">a bitmask of #WebKitWebsiteDataTypes</doc>
<type name="WebsiteDataTypes" c:type="WebKitWebsiteDataTypes"/>
</parameter>
</parameters>
</method>
<method name="get_types" c:identifier="webkit_website_data_get_types" version="2.16">
<doc xml:space="preserve">Gets the types of data stored in the client for a #WebKitWebsiteData. These are the
types actually present, not the types queried with webkit_website_data_manager_fetch().</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">a bitmask of #WebKitWebsiteDataTypes in @website_data</doc>
<type name="WebsiteDataTypes" c:type="WebKitWebsiteDataTypes"/>
</return-value>
<parameters>
<instance-parameter name="website_data" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebsiteData</doc>
<type name="WebsiteData" c:type="WebKitWebsiteData*"/>
</instance-parameter>
</parameters>
</method>
<method name="ref" c:identifier="webkit_website_data_ref" version="2.16">
<doc xml:space="preserve">Atomically increments the reference count of @website_data by one.
This function is MT-safe and may be called from any thread.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">The passed #WebKitWebsiteData</doc>
<type name="WebsiteData" c:type="WebKitWebsiteData*"/>
</return-value>
<parameters>
<instance-parameter name="website_data" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebsiteData</doc>
<type name="WebsiteData" c:type="WebKitWebsiteData*"/>
</instance-parameter>
</parameters>
</method>
<method name="unref" c:identifier="webkit_website_data_unref" version="2.16">
<doc xml:space="preserve">Atomically decrements the reference count of @website_data by one.
If the reference count drops to 0, all memory allocated by
#WebKitWebsiteData is released. This function is MT-safe and may be
called from any thread.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="website_data" transfer-ownership="none">
<doc xml:space="preserve">A #WebKitWebsiteData</doc>
<type name="WebsiteData" c:type="WebKitWebsiteData*"/>
</instance-parameter>
</parameters>
</method>
</record>
<class name="WebsiteDataAccessPermissionRequest" c:symbol-prefix="website_data_access_permission_request" c:type="WebKitWebsiteDataAccessPermissionRequest" parent="GObject.Object" glib:type-name="WebKitWebsiteDataAccessPermissionRequest" glib:get-type="webkit_website_data_access_permission_request_get_type" glib:type-struct="WebsiteDataAccessPermissionRequestClass">
<implements name="PermissionRequest"/>
<method name="get_current_domain" c:identifier="webkit_website_data_access_permission_request_get_current_domain" version="2.30">
<doc xml:space="preserve">Get the current domain being browsed.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the current domain name</doc>
<type name="utf8" c:type="const char*"/>
</return-value>
<parameters>
<instance-parameter name="request" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebsiteDataAccessPermissionRequest</doc>
<type name="WebsiteDataAccessPermissionRequest" c:type="WebKitWebsiteDataAccessPermissionRequest*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_requesting_domain" c:identifier="webkit_website_data_access_permission_request_get_requesting_domain" version="2.30">
<doc xml:space="preserve">Get the domain requesting permission to access its cookies while browsing the current domain.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the requesting domain name</doc>
<type name="utf8" c:type="const char*"/>
</return-value>
<parameters>
<instance-parameter name="request" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebsiteDataAccessPermissionRequest</doc>
<type name="WebsiteDataAccessPermissionRequest" c:type="WebKitWebsiteDataAccessPermissionRequest*"/>
</instance-parameter>
</parameters>
</method>
<field name="parent">
<type name="GObject.Object" c:type="GObject"/>
</field>
<field name="priv" readable="0" private="1">
<type name="WebsiteDataAccessPermissionRequestPrivate" c:type="WebKitWebsiteDataAccessPermissionRequestPrivate*"/>
</field>
</class>
<record name="WebsiteDataAccessPermissionRequestClass" c:type="WebKitWebsiteDataAccessPermissionRequestClass" glib:is-gtype-struct-for="WebsiteDataAccessPermissionRequest">
<field name="parent_class">
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
</field>
<field name="_webkit_reserved0" introspectable="0">
<callback name="_webkit_reserved0">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved1" introspectable="0">
<callback name="_webkit_reserved1">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved2" introspectable="0">
<callback name="_webkit_reserved2">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved3" introspectable="0">
<callback name="_webkit_reserved3">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
</record>
<record name="WebsiteDataAccessPermissionRequestPrivate" c:type="WebKitWebsiteDataAccessPermissionRequestPrivate" disguised="1"/>
<class name="WebsiteDataManager" c:symbol-prefix="website_data_manager" c:type="WebKitWebsiteDataManager" parent="GObject.Object" glib:type-name="WebKitWebsiteDataManager" glib:get-type="webkit_website_data_manager_get_type" glib:type-struct="WebsiteDataManagerClass">
<constructor name="new" c:identifier="webkit_website_data_manager_new" version="2.10" introspectable="0">
<doc xml:space="preserve">Creates a new #WebKitWebsiteDataManager with the given options. It must
be passed as construction parameter of a #WebKitWebContext.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">the newly created #WebKitWebsiteDataManager</doc>
<type name="WebsiteDataManager" c:type="WebKitWebsiteDataManager*"/>
</return-value>
<parameters>
<parameter name="first_option_name" transfer-ownership="none">
<doc xml:space="preserve">name of the first option to set</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="..." transfer-ownership="none">
<doc xml:space="preserve">value of first option, followed by more options, %NULL-terminated</doc>
<varargs/>
</parameter>
</parameters>
</constructor>
<constructor name="new_ephemeral" c:identifier="webkit_website_data_manager_new_ephemeral" version="2.16">
<doc xml:space="preserve">Creates an ephemeral #WebKitWebsiteDataManager. See #WebKitWebsiteDataManager:is-ephemeral for more details.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">a new ephemeral #WebKitWebsiteDataManager.</doc>
<type name="WebsiteDataManager" c:type="WebKitWebsiteDataManager*"/>
</return-value>
</constructor>
<function name="set_memory_pressure_settings" c:identifier="webkit_website_data_manager_set_memory_pressure_settings" version="2.34">
<doc xml:space="preserve">Sets @settings as the #WebKitMemoryPressureSettings to be used by all the network
processes created by any instance of #WebKitWebsiteDataManager after this function
is called.
Be sure to call this function before creating any #WebKitWebsiteDataManager, as network
processes of existing instances are not guaranteed to receive the passed settings.
The periodic check for used memory is disabled by default on network processes. This will
be enabled only if custom settings have been set using this function. After that, in order
to remove the custom settings and disable the periodic check, this function must be called
passing %NULL as the value of @settings.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a WebKitMemoryPressureSettings.</doc>
<type name="MemoryPressureSettings" c:type="WebKitMemoryPressureSettings*"/>
</parameter>
</parameters>
</function>
<method name="clear" c:identifier="webkit_website_data_manager_clear" version="2.16">
<doc xml:space="preserve">Asynchronously clear the website data of the given @types modified in the past @timespan.
If @timespan is 0, all website data will be removed.
When the operation is finished, @callback will be called. You can then call
webkit_website_data_manager_clear_finish() to get the result of the operation.
Due to implementation limitations, this function does not currently delete
any stored cookies if @timespan is nonzero. This behavior may change in the
future.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="manager" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebsiteDataManager</doc>
<type name="WebsiteDataManager" c:type="WebKitWebsiteDataManager*"/>
</instance-parameter>
<parameter name="types" transfer-ownership="none">
<doc xml:space="preserve">#WebKitWebsiteDataTypes</doc>
<type name="WebsiteDataTypes" c:type="WebKitWebsiteDataTypes"/>
</parameter>
<parameter name="timespan" transfer-ownership="none">
<doc xml:space="preserve">a #GTimeSpan</doc>
<type name="GLib.TimeSpan" c:type="GTimeSpan"/>
</parameter>
<parameter name="cancellable" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">a #GCancellable or %NULL to ignore</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
<parameter name="callback" transfer-ownership="none" nullable="1" allow-none="1" scope="async" closure="4">
<doc xml:space="preserve">a #GAsyncReadyCallback to call when the request is satisfied</doc>
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
</parameter>
<parameter name="user_data" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">the data to pass to callback function</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
</method>
<method name="clear_finish" c:identifier="webkit_website_data_manager_clear_finish" version="2.16" throws="1">
<doc xml:space="preserve">Finish an asynchronous operation started with webkit_website_data_manager_clear()</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if website data was successfully cleared, or %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="manager" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebsiteDataManager</doc>
<type name="WebsiteDataManager" c:type="WebKitWebsiteDataManager*"/>
</instance-parameter>
<parameter name="result" transfer-ownership="none">
<doc xml:space="preserve">a #GAsyncResult</doc>
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
</parameter>
</parameters>
</method>
<method name="fetch" c:identifier="webkit_website_data_manager_fetch" version="2.16">
<doc xml:space="preserve">Asynchronously get the list of #WebKitWebsiteData for the given @types.
When the operation is finished, @callback will be called. You can then call
webkit_website_data_manager_fetch_finish() to get the result of the operation.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="manager" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebsiteDataManager</doc>
<type name="WebsiteDataManager" c:type="WebKitWebsiteDataManager*"/>
</instance-parameter>
<parameter name="types" transfer-ownership="none">
<doc xml:space="preserve">#WebKitWebsiteDataTypes</doc>
<type name="WebsiteDataTypes" c:type="WebKitWebsiteDataTypes"/>
</parameter>
<parameter name="cancellable" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">a #GCancellable or %NULL to ignore</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
<parameter name="callback" transfer-ownership="none" nullable="1" allow-none="1" scope="async" closure="3">
<doc xml:space="preserve">a #GAsyncReadyCallback to call when the request is satisfied</doc>
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
</parameter>
<parameter name="user_data" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">the data to pass to callback function</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
</method>
<method name="fetch_finish" c:identifier="webkit_website_data_manager_fetch_finish" version="2.16" throws="1">
<doc xml:space="preserve">Finish an asynchronous operation started with webkit_website_data_manager_fetch().</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">a #GList of #WebKitWebsiteData. You must free the #GList with
g_list_free() and unref the #WebKitWebsiteData&lt;!-- --&gt;s with webkit_website_data_unref() when you're done with them.</doc>
<type name="GLib.List" c:type="GList*">
<type name="WebsiteData"/>
</type>
</return-value>
<parameters>
<instance-parameter name="manager" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebsiteDataManager</doc>
<type name="WebsiteDataManager" c:type="WebKitWebsiteDataManager*"/>
</instance-parameter>
<parameter name="result" transfer-ownership="none">
<doc xml:space="preserve">a #GAsyncResult</doc>
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
</parameter>
</parameters>
</method>
<method name="get_base_cache_directory" c:identifier="webkit_website_data_manager_get_base_cache_directory" glib:get-property="base-cache-directory" version="2.10">
<doc xml:space="preserve">Get the #WebKitWebsiteDataManager:base-cache-directory property.</doc>
<return-value transfer-ownership="none" nullable="1">
<doc xml:space="preserve">the base directory for Website cache, or %NULL if
#WebKitWebsiteDataManager:base-cache-directory was not provided or @manager is ephemeral.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="manager" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebsiteDataManager</doc>
<type name="WebsiteDataManager" c:type="WebKitWebsiteDataManager*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_base_data_directory" c:identifier="webkit_website_data_manager_get_base_data_directory" glib:get-property="base-data-directory" version="2.10">
<doc xml:space="preserve">Get the #WebKitWebsiteDataManager:base-data-directory property.</doc>
<return-value transfer-ownership="none" nullable="1">
<doc xml:space="preserve">the base directory for Website data, or %NULL if
#WebKitWebsiteDataManager:base-data-directory was not provided or @manager is ephemeral.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="manager" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebsiteDataManager</doc>
<type name="WebsiteDataManager" c:type="WebKitWebsiteDataManager*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_cookie_manager" c:identifier="webkit_website_data_manager_get_cookie_manager" version="2.16">
<doc xml:space="preserve">Get the #WebKitCookieManager of @manager.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">a #WebKitCookieManager</doc>
<type name="CookieManager" c:type="WebKitCookieManager*"/>
</return-value>
<parameters>
<instance-parameter name="manager" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebsiteDataManager</doc>
<type name="WebsiteDataManager" c:type="WebKitWebsiteDataManager*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_disk_cache_directory" c:identifier="webkit_website_data_manager_get_disk_cache_directory" glib:get-property="disk-cache-directory" version="2.10">
<doc xml:space="preserve">Get the #WebKitWebsiteDataManager:disk-cache-directory property.</doc>
<return-value transfer-ownership="none" nullable="1">
<doc xml:space="preserve">the directory where HTTP disk cache is stored or %NULL if @manager is ephemeral.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="manager" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebsiteDataManager</doc>
<type name="WebsiteDataManager" c:type="WebKitWebsiteDataManager*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_dom_cache_directory" c:identifier="webkit_website_data_manager_get_dom_cache_directory" glib:get-property="dom-cache-directory" version="2.30">
<doc xml:space="preserve">Get the #WebKitWebsiteDataManager:dom-cache-directory property.</doc>
<return-value transfer-ownership="none" nullable="1">
<doc xml:space="preserve">the directory where DOM cache is stored or %NULL if @manager is ephemeral.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="manager" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebsiteDataManager</doc>
<type name="WebsiteDataManager" c:type="WebKitWebsiteDataManager*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_hsts_cache_directory" c:identifier="webkit_website_data_manager_get_hsts_cache_directory" glib:get-property="hsts-cache-directory" version="2.26">
<doc xml:space="preserve">Get the #WebKitWebsiteDataManager:hsts-cache-directory property.</doc>
<return-value transfer-ownership="none" nullable="1">
<doc xml:space="preserve">the directory where the HSTS cache is stored or %NULL if @manager is ephemeral.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="manager" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebsiteDataManager</doc>
<type name="WebsiteDataManager" c:type="WebKitWebsiteDataManager*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_indexeddb_directory" c:identifier="webkit_website_data_manager_get_indexeddb_directory" glib:get-property="indexeddb-directory" version="2.10">
<doc xml:space="preserve">Get the #WebKitWebsiteDataManager:indexeddb-directory property.</doc>
<return-value transfer-ownership="none" nullable="1">
<doc xml:space="preserve">the directory where IndexedDB databases are stored or %NULL if @manager is ephemeral.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="manager" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebsiteDataManager</doc>
<type name="WebsiteDataManager" c:type="WebKitWebsiteDataManager*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_itp_directory" c:identifier="webkit_website_data_manager_get_itp_directory" glib:get-property="itp-directory" version="2.30">
<doc xml:space="preserve">Get the #WebKitWebsiteDataManager:itp-directory property.</doc>
<return-value transfer-ownership="none" nullable="1">
<doc xml:space="preserve">the directory where Intelligent Tracking Prevention data is stored or %NULL if @manager is ephemeral.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="manager" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebsiteDataManager</doc>
<type name="WebsiteDataManager" c:type="WebKitWebsiteDataManager*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_itp_enabled" c:identifier="webkit_website_data_manager_get_itp_enabled" version="2.30">
<doc xml:space="preserve">Get whether Intelligent Tracking Prevention (ITP) is enabled or not.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if ITP is enabled, or %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="manager" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebsiteDataManager</doc>
<type name="WebsiteDataManager" c:type="WebKitWebsiteDataManager*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_itp_summary" c:identifier="webkit_website_data_manager_get_itp_summary" version="2.30">
<doc xml:space="preserve">Asynchronously get the list of #WebKitITPThirdParty seen for @manager. Every #WebKitITPThirdParty
contains the list of #WebKitITPFirstParty under which it has been seen.
When the operation is finished, @callback will be called. You can then call
webkit_website_data_manager_get_itp_summary_finish() to get the result of the operation.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="manager" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebsiteDataManager</doc>
<type name="WebsiteDataManager" c:type="WebKitWebsiteDataManager*"/>
</instance-parameter>
<parameter name="cancellable" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">a #GCancellable or %NULL to ignore</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
<parameter name="callback" transfer-ownership="none" nullable="1" allow-none="1" scope="async" closure="2">
<doc xml:space="preserve">a #GAsyncReadyCallback to call when the request is satisfied</doc>
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
</parameter>
<parameter name="user_data" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">the data to pass to callback function</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
</method>
<method name="get_itp_summary_finish" c:identifier="webkit_website_data_manager_get_itp_summary_finish" version="2.30" throws="1">
<doc xml:space="preserve">Finish an asynchronous operation started with webkit_website_data_manager_get_itp_summary().</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">a #GList of #WebKitITPThirdParty.
You must free the #GList with g_list_free() and unref the #WebKitITPThirdParty&lt;!-- --&gt;s with
webkit_itp_third_party_unref() when you're done with them.</doc>
<type name="GLib.List" c:type="GList*">
<type name="ITPThirdParty"/>
</type>
</return-value>
<parameters>
<instance-parameter name="manager" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebsiteDataManager</doc>
<type name="WebsiteDataManager" c:type="WebKitWebsiteDataManager*"/>
</instance-parameter>
<parameter name="result" transfer-ownership="none">
<doc xml:space="preserve">a #GAsyncResult</doc>
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
</parameter>
</parameters>
</method>
<method name="get_local_storage_directory" c:identifier="webkit_website_data_manager_get_local_storage_directory" glib:get-property="local-storage-directory" version="2.10">
<doc xml:space="preserve">Get the #WebKitWebsiteDataManager:local-storage-directory property.</doc>
<return-value transfer-ownership="none" nullable="1">
<doc xml:space="preserve">the directory where local storage data is stored or %NULL if @manager is ephemeral.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="manager" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebsiteDataManager</doc>
<type name="WebsiteDataManager" c:type="WebKitWebsiteDataManager*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_offline_application_cache_directory" c:identifier="webkit_website_data_manager_get_offline_application_cache_directory" glib:get-property="offline-application-cache-directory" version="2.10">
<doc xml:space="preserve">Get the #WebKitWebsiteDataManager:offline-application-cache-directory property.</doc>
<return-value transfer-ownership="none" nullable="1">
<doc xml:space="preserve">the directory where offline web application cache is stored or %NULL if @manager is ephemeral.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="manager" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebsiteDataManager</doc>
<type name="WebsiteDataManager" c:type="WebKitWebsiteDataManager*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_persistent_credential_storage_enabled" c:identifier="webkit_website_data_manager_get_persistent_credential_storage_enabled" version="2.30">
<doc xml:space="preserve">Get whether persistent credential storage is enabled or not.
See also webkit_website_data_manager_set_persistent_credential_storage_enabled().</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if persistent credential storage is enabled, or %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="manager" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebsiteDataManager</doc>
<type name="WebsiteDataManager" c:type="WebKitWebsiteDataManager*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_service_worker_registrations_directory" c:identifier="webkit_website_data_manager_get_service_worker_registrations_directory" glib:get-property="service-worker-registrations-directory" version="2.30">
<doc xml:space="preserve">Get the #WebKitWebsiteDataManager:service-worker-registrations-directory property.</doc>
<return-value transfer-ownership="none" nullable="1">
<doc xml:space="preserve">the directory where service worker registrations are stored or %NULL if @manager is ephemeral.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="manager" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebsiteDataManager</doc>
<type name="WebsiteDataManager" c:type="WebKitWebsiteDataManager*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_tls_errors_policy" c:identifier="webkit_website_data_manager_get_tls_errors_policy" version="2.32">
<doc xml:space="preserve">Get the TLS errors policy of @manager</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">a #WebKitTLSErrorsPolicy</doc>
<type name="TLSErrorsPolicy" c:type="WebKitTLSErrorsPolicy"/>
</return-value>
<parameters>
<instance-parameter name="manager" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebsiteDataManager</doc>
<type name="WebsiteDataManager" c:type="WebKitWebsiteDataManager*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_websql_directory" c:identifier="webkit_website_data_manager_get_websql_directory" glib:get-property="websql-directory" version="2.10" deprecated="1" deprecated-version="2.24.">
<doc xml:space="preserve">Get the #WebKitWebsiteDataManager:websql-directory property.</doc>
<doc-deprecated xml:space="preserve">WebSQL is no longer supported. Use IndexedDB instead.</doc-deprecated>
<return-value transfer-ownership="none" nullable="1">
<doc xml:space="preserve">the directory where WebSQL databases are stored or %NULL if @manager is ephemeral.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="manager" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebsiteDataManager</doc>
<type name="WebsiteDataManager" c:type="WebKitWebsiteDataManager*"/>
</instance-parameter>
</parameters>
</method>
<method name="is_ephemeral" c:identifier="webkit_website_data_manager_is_ephemeral" version="2.16">
<doc xml:space="preserve">Get whether a #WebKitWebsiteDataManager is ephemeral. See #WebKitWebsiteDataManager:is-ephemeral for more details.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if @manager is ephemeral or %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="manager" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebsiteDataManager</doc>
<type name="WebsiteDataManager" c:type="WebKitWebsiteDataManager*"/>
</instance-parameter>
</parameters>
</method>
<method name="remove" c:identifier="webkit_website_data_manager_remove" version="2.16">
<doc xml:space="preserve">Asynchronously removes the website data of the for the given @types for websites in the given @website_data list.
Use webkit_website_data_manager_clear() if you want to remove the website data for all sites.
When the operation is finished, @callback will be called. You can then call
webkit_website_data_manager_remove_finish() to get the result of the operation.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="manager" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebsiteDataManager</doc>
<type name="WebsiteDataManager" c:type="WebKitWebsiteDataManager*"/>
</instance-parameter>
<parameter name="types" transfer-ownership="none">
<doc xml:space="preserve">#WebKitWebsiteDataTypes</doc>
<type name="WebsiteDataTypes" c:type="WebKitWebsiteDataTypes"/>
</parameter>
<parameter name="website_data" transfer-ownership="none">
<doc xml:space="preserve">a #GList of #WebKitWebsiteData</doc>
<type name="GLib.List" c:type="GList*">
<type name="WebsiteData"/>
</type>
</parameter>
<parameter name="cancellable" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">a #GCancellable or %NULL to ignore</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
<parameter name="callback" transfer-ownership="none" nullable="1" allow-none="1" scope="async" closure="4">
<doc xml:space="preserve">a #GAsyncReadyCallback to call when the request is satisfied</doc>
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
</parameter>
<parameter name="user_data" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">the data to pass to callback function</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
</method>
<method name="remove_finish" c:identifier="webkit_website_data_manager_remove_finish" version="2.16" throws="1">
<doc xml:space="preserve">Finish an asynchronous operation started with webkit_website_data_manager_remove().</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if website data resources were successfully removed, or %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="manager" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebsiteDataManager</doc>
<type name="WebsiteDataManager" c:type="WebKitWebsiteDataManager*"/>
</instance-parameter>
<parameter name="result" transfer-ownership="none">
<doc xml:space="preserve">a #GAsyncResult</doc>
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
</parameter>
</parameters>
</method>
<method name="set_itp_enabled" c:identifier="webkit_website_data_manager_set_itp_enabled" version="2.30">
<doc xml:space="preserve">Enable or disable Intelligent Tracking Prevention (ITP). When ITP is enabled resource load statistics
are collected and used to decide whether to allow or block third-party cookies and prevent user tracking.
Note that while ITP is enabled the accept policy %WEBKIT_COOKIE_POLICY_ACCEPT_NO_THIRD_PARTY is ignored and
%WEBKIT_COOKIE_POLICY_ACCEPT_ALWAYS is used instead. See also webkit_cookie_manager_set_accept_policy().</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="manager" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebsiteDataManager</doc>
<type name="WebsiteDataManager" c:type="WebKitWebsiteDataManager*"/>
</instance-parameter>
<parameter name="enabled" transfer-ownership="none">
<doc xml:space="preserve">value to set</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_network_proxy_settings" c:identifier="webkit_website_data_manager_set_network_proxy_settings" version="2.32">
<doc xml:space="preserve">Set the network proxy settings to be used by connections started in @manager session.
By default %WEBKIT_NETWORK_PROXY_MODE_DEFAULT is used, which means that the
system settings will be used (g_proxy_resolver_get_default()).
If you want to override the system default settings, you can either use
%WEBKIT_NETWORK_PROXY_MODE_NO_PROXY to make sure no proxies are used at all,
or %WEBKIT_NETWORK_PROXY_MODE_CUSTOM to provide your own proxy settings.
When @proxy_mode is %WEBKIT_NETWORK_PROXY_MODE_CUSTOM @proxy_settings must be
a valid #WebKitNetworkProxySettings; otherwise, @proxy_settings must be %NULL.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="manager" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebsiteDataManager</doc>
<type name="WebsiteDataManager" c:type="WebKitWebsiteDataManager*"/>
</instance-parameter>
<parameter name="proxy_mode" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitNetworkProxyMode</doc>
<type name="NetworkProxyMode" c:type="WebKitNetworkProxyMode"/>
</parameter>
<parameter name="proxy_settings" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">a #WebKitNetworkProxySettings, or %NULL</doc>
<type name="NetworkProxySettings" c:type="WebKitNetworkProxySettings*"/>
</parameter>
</parameters>
</method>
<method name="set_persistent_credential_storage_enabled" c:identifier="webkit_website_data_manager_set_persistent_credential_storage_enabled" version="2.30">
<doc xml:space="preserve">Enable or disable persistent credential storage. When enabled, which is the default for
non-ephemeral sessions, the network process will try to read and write HTTP authentiacation
credentials from persistent storage.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="manager" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebsiteDataManager</doc>
<type name="WebsiteDataManager" c:type="WebKitWebsiteDataManager*"/>
</instance-parameter>
<parameter name="enabled" transfer-ownership="none">
<doc xml:space="preserve">value to set</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_tls_errors_policy" c:identifier="webkit_website_data_manager_set_tls_errors_policy" version="2.32">
<doc xml:space="preserve">Set the TLS errors policy of @manager as @policy</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="manager" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebsiteDataManager</doc>
<type name="WebsiteDataManager" c:type="WebKitWebsiteDataManager*"/>
</instance-parameter>
<parameter name="policy" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitTLSErrorsPolicy</doc>
<type name="TLSErrorsPolicy" c:type="WebKitTLSErrorsPolicy"/>
</parameter>
</parameters>
</method>
<property name="base-cache-directory" version="2.10" writable="1" construct-only="1" transfer-ownership="none" getter="get_base_cache_directory">
<doc xml:space="preserve">The base directory for Website cache. This is used as a base directory
for any Website cache when no specific cache directory has been provided.</doc>
<type name="utf8" c:type="gchar*"/>
</property>
<property name="base-data-directory" version="2.10" writable="1" construct-only="1" transfer-ownership="none" getter="get_base_data_directory">
<doc xml:space="preserve">The base directory for Website data. This is used as a base directory
for any Website data when no specific data directory has been provided.</doc>
<type name="utf8" c:type="gchar*"/>
</property>
<property name="disk-cache-directory" version="2.10" writable="1" construct-only="1" transfer-ownership="none" getter="get_disk_cache_directory">
<doc xml:space="preserve">The directory where HTTP disk cache will be stored.</doc>
<type name="utf8" c:type="gchar*"/>
</property>
<property name="dom-cache-directory" version="2.30" writable="1" construct-only="1" transfer-ownership="none" getter="get_dom_cache_directory">
<doc xml:space="preserve">The directory where DOM cache will be stored.</doc>
<type name="utf8" c:type="gchar*"/>
</property>
<property name="hsts-cache-directory" version="2.26" writable="1" construct-only="1" transfer-ownership="none" getter="get_hsts_cache_directory">
<doc xml:space="preserve">The directory where the HTTP Strict-Transport-Security (HSTS) cache will be stored.</doc>
<type name="utf8" c:type="gchar*"/>
</property>
<property name="indexeddb-directory" version="2.10" writable="1" construct-only="1" transfer-ownership="none" getter="get_indexeddb_directory">
<doc xml:space="preserve">The directory where IndexedDB databases will be stored.</doc>
<type name="utf8" c:type="gchar*"/>
</property>
<property name="is-ephemeral" version="2.16" writable="1" construct-only="1" transfer-ownership="none">
<doc xml:space="preserve">Whether the #WebKitWebsiteDataManager is ephemeral. An ephemeral #WebKitWebsiteDataManager
handles all websites data as non-persistent, and nothing will be written to the client
storage. Note that if you create an ephemeral #WebKitWebsiteDataManager all other construction
parameters to configure data directories will be ignored.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="itp-directory" version="2.30" writable="1" construct-only="1" transfer-ownership="none" getter="get_itp_directory">
<doc xml:space="preserve">The directory where Intelligent Tracking Prevention (ITP) data will be stored.</doc>
<type name="utf8" c:type="gchar*"/>
</property>
<property name="local-storage-directory" version="2.10" writable="1" construct-only="1" transfer-ownership="none" getter="get_local_storage_directory">
<doc xml:space="preserve">The directory where local storage data will be stored.</doc>
<type name="utf8" c:type="gchar*"/>
</property>
<property name="offline-application-cache-directory" version="2.10" writable="1" construct-only="1" transfer-ownership="none" getter="get_offline_application_cache_directory">
<doc xml:space="preserve">The directory where offline web application cache will be stored.</doc>
<type name="utf8" c:type="gchar*"/>
</property>
<property name="service-worker-registrations-directory" version="2.30" writable="1" construct-only="1" transfer-ownership="none" getter="get_service_worker_registrations_directory">
<doc xml:space="preserve">The directory where service workers registrations will be stored.</doc>
<type name="utf8" c:type="gchar*"/>
</property>
<property name="websql-directory" version="2.10" deprecated="1" deprecated-version="2.24." writable="1" construct-only="1" transfer-ownership="none" getter="get_websql_directory">
<doc xml:space="preserve">The directory where WebSQL databases will be stored.</doc>
<doc-deprecated xml:space="preserve">WebSQL is no longer supported. Use IndexedDB instead.</doc-deprecated>
<type name="utf8" c:type="gchar*"/>
</property>
<field name="parent">
<type name="GObject.Object" c:type="GObject"/>
</field>
<field name="priv">
<type name="WebsiteDataManagerPrivate" c:type="WebKitWebsiteDataManagerPrivate*"/>
</field>
</class>
<record name="WebsiteDataManagerClass" c:type="WebKitWebsiteDataManagerClass" glib:is-gtype-struct-for="WebsiteDataManager">
<field name="parent_class">
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
</field>
<field name="_webkit_reserved0" introspectable="0">
<callback name="_webkit_reserved0">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved1" introspectable="0">
<callback name="_webkit_reserved1">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved2" introspectable="0">
<callback name="_webkit_reserved2">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved3" introspectable="0">
<callback name="_webkit_reserved3">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
</record>
<record name="WebsiteDataManagerPrivate" c:type="WebKitWebsiteDataManagerPrivate" disguised="1"/>
<bitfield name="WebsiteDataTypes" version="2.16" glib:type-name="WebKitWebsiteDataTypes" glib:get-type="webkit_website_data_types_get_type" c:type="WebKitWebsiteDataTypes">
<doc xml:space="preserve">Enum values with flags representing types of Website data.</doc>
<member name="memory_cache" value="1" c:identifier="WEBKIT_WEBSITE_DATA_MEMORY_CACHE" glib:nick="memory-cache" glib:name="WEBKIT_WEBSITE_DATA_MEMORY_CACHE">
<doc xml:space="preserve">Memory cache.</doc>
</member>
<member name="disk_cache" value="2" c:identifier="WEBKIT_WEBSITE_DATA_DISK_CACHE" glib:nick="disk-cache" glib:name="WEBKIT_WEBSITE_DATA_DISK_CACHE">
<doc xml:space="preserve">HTTP disk cache.</doc>
</member>
<member name="offline_application_cache" value="4" c:identifier="WEBKIT_WEBSITE_DATA_OFFLINE_APPLICATION_CACHE" glib:nick="offline-application-cache" glib:name="WEBKIT_WEBSITE_DATA_OFFLINE_APPLICATION_CACHE">
<doc xml:space="preserve">Offline web application cache.</doc>
</member>
<member name="session_storage" value="8" c:identifier="WEBKIT_WEBSITE_DATA_SESSION_STORAGE" glib:nick="session-storage" glib:name="WEBKIT_WEBSITE_DATA_SESSION_STORAGE">
<doc xml:space="preserve">Session storage data.</doc>
</member>
<member name="local_storage" value="16" c:identifier="WEBKIT_WEBSITE_DATA_LOCAL_STORAGE" glib:nick="local-storage" glib:name="WEBKIT_WEBSITE_DATA_LOCAL_STORAGE">
<doc xml:space="preserve">Local storage data.</doc>
</member>
<member name="websql_databases" value="32" c:identifier="WEBKIT_WEBSITE_DATA_WEBSQL_DATABASES" glib:nick="websql-databases" glib:name="WEBKIT_WEBSITE_DATA_WEBSQL_DATABASES">
<doc xml:space="preserve">WebSQL databases. Deprecated 2.24</doc>
</member>
<member name="indexeddb_databases" value="64" c:identifier="WEBKIT_WEBSITE_DATA_INDEXEDDB_DATABASES" glib:nick="indexeddb-databases" glib:name="WEBKIT_WEBSITE_DATA_INDEXEDDB_DATABASES">
<doc xml:space="preserve">IndexedDB databases.</doc>
</member>
<member name="plugin_data" value="128" c:identifier="WEBKIT_WEBSITE_DATA_PLUGIN_DATA" glib:nick="plugin-data" glib:name="WEBKIT_WEBSITE_DATA_PLUGIN_DATA">
<doc xml:space="preserve">Plugins data. Deprecated 2.32</doc>
</member>
<member name="cookies" value="256" c:identifier="WEBKIT_WEBSITE_DATA_COOKIES" glib:nick="cookies" glib:name="WEBKIT_WEBSITE_DATA_COOKIES">
<doc xml:space="preserve">Cookies.</doc>
</member>
<member name="device_id_hash_salt" value="512" c:identifier="WEBKIT_WEBSITE_DATA_DEVICE_ID_HASH_SALT" glib:nick="device-id-hash-salt" glib:name="WEBKIT_WEBSITE_DATA_DEVICE_ID_HASH_SALT">
<doc xml:space="preserve">Hash salt used to generate the device ids used by webpages. Since 2.24</doc>
</member>
<member name="hsts_cache" value="1024" c:identifier="WEBKIT_WEBSITE_DATA_HSTS_CACHE" glib:nick="hsts-cache" glib:name="WEBKIT_WEBSITE_DATA_HSTS_CACHE">
<doc xml:space="preserve">HSTS cache. Since 2.26</doc>
</member>
<member name="itp" value="2048" c:identifier="WEBKIT_WEBSITE_DATA_ITP" glib:nick="itp" glib:name="WEBKIT_WEBSITE_DATA_ITP">
<doc xml:space="preserve">Intelligent Tracking Prevention data. Since 2.30.</doc>
</member>
<member name="service_worker_registrations" value="4096" c:identifier="WEBKIT_WEBSITE_DATA_SERVICE_WORKER_REGISTRATIONS" glib:nick="service-worker-registrations" glib:name="WEBKIT_WEBSITE_DATA_SERVICE_WORKER_REGISTRATIONS">
<doc xml:space="preserve">Service worker registrations. Since 2.30</doc>
</member>
<member name="dom_cache" value="8192" c:identifier="WEBKIT_WEBSITE_DATA_DOM_CACHE" glib:nick="dom-cache" glib:name="WEBKIT_WEBSITE_DATA_DOM_CACHE">
<doc xml:space="preserve">DOM (CacheStorage) cache. Since 2.30</doc>
</member>
<member name="all" value="16383" c:identifier="WEBKIT_WEBSITE_DATA_ALL" glib:nick="all" glib:name="WEBKIT_WEBSITE_DATA_ALL">
<doc xml:space="preserve">All types.</doc>
</member>
</bitfield>
<class name="WebsitePolicies" c:symbol-prefix="website_policies" c:type="WebKitWebsitePolicies" parent="GObject.Object" glib:type-name="WebKitWebsitePolicies" glib:get-type="webkit_website_policies_get_type" glib:type-struct="WebsitePoliciesClass">
<constructor name="new" c:identifier="webkit_website_policies_new" version="2.30">
<doc xml:space="preserve">Create a new #WebKitWebsitePolicies</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">the newly created #WebKitWebsitePolicies</doc>
<type name="WebsitePolicies" c:type="WebKitWebsitePolicies*"/>
</return-value>
</constructor>
<constructor name="new_with_policies" c:identifier="webkit_website_policies_new_with_policies" version="2.30" introspectable="0">
<doc xml:space="preserve">Create a new #WebKitWebsitePolicies with policies given as variadic
arguments.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">the newly created #WebKitWebsitePolicies
&lt;informalexample&gt;&lt;programlisting&gt;
WebKitWebsitePolicies *default_website_policies = webkit_website_policies_new_with_policies(
"autoplay", WEBKIT_AUTOPLAY_DENY,
NULL);
...
WebKitWebView *view = WEBKIT_WEB_VIEW(g_object_new(WEBKIT_TYPE_WEB_VIEW,
"web-context", ctx,
"settings", settings,
"user-content-manager", content_manager,
"website-policies", default_website_policies,
NULL));
...
&lt;/programlisting&gt;&lt;/informalexample&gt;</doc>
<type name="WebsitePolicies" c:type="WebKitWebsitePolicies*"/>
</return-value>
<parameters>
<parameter name="first_policy_name" transfer-ownership="none">
<doc xml:space="preserve">name of the first policy to set</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="..." transfer-ownership="none">
<doc xml:space="preserve">value of first policy, followed by more policies, %NULL-terminated</doc>
<varargs/>
</parameter>
</parameters>
</constructor>
<method name="get_autoplay_policy" c:identifier="webkit_website_policies_get_autoplay_policy" version="2.30">
<doc xml:space="preserve">Get the #WebKitWebsitePolicies:autoplay property.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">#WebKitAutoplayPolicy</doc>
<type name="AutoplayPolicy" c:type="WebKitAutoplayPolicy"/>
</return-value>
<parameters>
<instance-parameter name="policies" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWebsitePolicies</doc>
<type name="WebsitePolicies" c:type="WebKitWebsitePolicies*"/>
</instance-parameter>
</parameters>
</method>
<property name="autoplay" version="2.30" writable="1" construct-only="1" transfer-ownership="none">
<doc xml:space="preserve">The #WebKitAutoplayPolicy of #WebKitWebsitePolicies.</doc>
<type name="AutoplayPolicy"/>
</property>
<field name="parent">
<type name="GObject.Object" c:type="GObject"/>
</field>
<field name="priv">
<type name="WebsitePoliciesPrivate" c:type="WebKitWebsitePoliciesPrivate*"/>
</field>
</class>
<record name="WebsitePoliciesClass" c:type="WebKitWebsitePoliciesClass" glib:is-gtype-struct-for="WebsitePolicies">
<field name="parent_class">
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
</field>
<field name="_webkit_reserved0" introspectable="0">
<callback name="_webkit_reserved0">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved1" introspectable="0">
<callback name="_webkit_reserved1">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved2" introspectable="0">
<callback name="_webkit_reserved2">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved3" introspectable="0">
<callback name="_webkit_reserved3">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
</record>
<record name="WebsitePoliciesPrivate" c:type="WebKitWebsitePoliciesPrivate" disguised="1"/>
<class name="WindowProperties" c:symbol-prefix="window_properties" c:type="WebKitWindowProperties" parent="GObject.Object" glib:type-name="WebKitWindowProperties" glib:get-type="webkit_window_properties_get_type" glib:type-struct="WindowPropertiesClass">
<method name="get_fullscreen" c:identifier="webkit_window_properties_get_fullscreen" glib:get-property="fullscreen">
<doc xml:space="preserve">Get whether the window should be shown in fullscreen state or not.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if the window should be fullscreen or %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="window_properties" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWindowProperties</doc>
<type name="WindowProperties" c:type="WebKitWindowProperties*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_geometry" c:identifier="webkit_window_properties_get_geometry" glib:get-property="geometry">
<doc xml:space="preserve">Get the geometry the window should have on the screen when shown.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="window_properties" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWindowProperties</doc>
<type name="WindowProperties" c:type="WebKitWindowProperties*"/>
</instance-parameter>
<parameter name="geometry" direction="out" caller-allocates="1" transfer-ownership="none">
<doc xml:space="preserve">return location for the window geometry</doc>
<type name="Gdk.Rectangle" c:type="GdkRectangle*"/>
</parameter>
</parameters>
</method>
<method name="get_locationbar_visible" c:identifier="webkit_window_properties_get_locationbar_visible" glib:get-property="locationbar-visible">
<doc xml:space="preserve">Get whether the window should have the locationbar visible or not.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if locationbar should be visible or %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="window_properties" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWindowProperties</doc>
<type name="WindowProperties" c:type="WebKitWindowProperties*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_menubar_visible" c:identifier="webkit_window_properties_get_menubar_visible" glib:get-property="menubar-visible">
<doc xml:space="preserve">Get whether the window should have the menubar visible or not.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if menubar should be visible or %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="window_properties" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWindowProperties</doc>
<type name="WindowProperties" c:type="WebKitWindowProperties*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_resizable" c:identifier="webkit_window_properties_get_resizable" glib:get-property="resizable">
<doc xml:space="preserve">Get whether the window should be resizable by the user or not.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if the window should be resizable or %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="window_properties" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWindowProperties</doc>
<type name="WindowProperties" c:type="WebKitWindowProperties*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_scrollbars_visible" c:identifier="webkit_window_properties_get_scrollbars_visible" glib:get-property="scrollbars-visible">
<doc xml:space="preserve">Get whether the window should have the scrollbars visible or not.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if scrollbars should be visible or %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="window_properties" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWindowProperties</doc>
<type name="WindowProperties" c:type="WebKitWindowProperties*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_statusbar_visible" c:identifier="webkit_window_properties_get_statusbar_visible" glib:get-property="statusbar-visible">
<doc xml:space="preserve">Get whether the window should have the statusbar visible or not.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if statusbar should be visible or %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="window_properties" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWindowProperties</doc>
<type name="WindowProperties" c:type="WebKitWindowProperties*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_toolbar_visible" c:identifier="webkit_window_properties_get_toolbar_visible" glib:get-property="toolbar-visible">
<doc xml:space="preserve">Get whether the window should have the toolbar visible or not.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if toolbar should be visible or %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="window_properties" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitWindowProperties</doc>
<type name="WindowProperties" c:type="WebKitWindowProperties*"/>
</instance-parameter>
</parameters>
</method>
<property name="fullscreen" writable="1" construct-only="1" transfer-ownership="none" getter="get_fullscreen">
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="geometry" writable="1" construct-only="1" transfer-ownership="none" getter="get_geometry">
<type name="Gdk.Rectangle"/>
</property>
<property name="locationbar-visible" writable="1" construct-only="1" transfer-ownership="none" getter="get_locationbar_visible">
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="menubar-visible" writable="1" construct-only="1" transfer-ownership="none" getter="get_menubar_visible">
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="resizable" writable="1" construct-only="1" transfer-ownership="none" getter="get_resizable">
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="scrollbars-visible" writable="1" construct-only="1" transfer-ownership="none" getter="get_scrollbars_visible">
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="statusbar-visible" writable="1" construct-only="1" transfer-ownership="none" getter="get_statusbar_visible">
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="toolbar-visible" writable="1" construct-only="1" transfer-ownership="none" getter="get_toolbar_visible">
<type name="gboolean" c:type="gboolean"/>
</property>
<field name="parent">
<type name="GObject.Object" c:type="GObject"/>
</field>
<field name="priv" readable="0" private="1">
<type name="WindowPropertiesPrivate" c:type="WebKitWindowPropertiesPrivate*"/>
</field>
</class>
<record name="WindowPropertiesClass" c:type="WebKitWindowPropertiesClass" glib:is-gtype-struct-for="WindowProperties">
<field name="parent_class">
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
</field>
<field name="_webkit_reserved0" introspectable="0">
<callback name="_webkit_reserved0">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved1" introspectable="0">
<callback name="_webkit_reserved1">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved2" introspectable="0">
<callback name="_webkit_reserved2">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_webkit_reserved3" introspectable="0">
<callback name="_webkit_reserved3">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
</record>
<record name="WindowPropertiesPrivate" c:type="WebKitWindowPropertiesPrivate" disguised="1"/>
<function name="download_error_quark" c:identifier="webkit_download_error_quark" moved-to="DownloadError.quark">
<return-value transfer-ownership="none">
<type name="GLib.Quark" c:type="GQuark"/>
</return-value>
</function>
<function name="favicon_database_error_quark" c:identifier="webkit_favicon_database_error_quark" moved-to="FaviconDatabaseError.quark">
<return-value transfer-ownership="none">
<type name="GLib.Quark" c:type="GQuark"/>
</return-value>
</function>
<function name="get_major_version" c:identifier="webkit_get_major_version">
<doc xml:space="preserve">Returns the major version number of the WebKit library.
(e.g. in WebKit version 1.8.3 this is 1.)
This function is in the library, so it represents the WebKit library
your code is running against. Contrast with the #WEBKIT_MAJOR_VERSION
macro, which represents the major version of the WebKit headers you
have included when compiling your code.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the major version number of the WebKit library</doc>
<type name="guint" c:type="guint"/>
</return-value>
</function>
<function name="get_micro_version" c:identifier="webkit_get_micro_version">
<doc xml:space="preserve">Returns the micro version number of the WebKit library.
(e.g. in WebKit version 1.8.3 this is 3.)
This function is in the library, so it represents the WebKit library
your code is running against. Contrast with the #WEBKIT_MICRO_VERSION
macro, which represents the micro version of the WebKit headers you
have included when compiling your code.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the micro version number of the WebKit library</doc>
<type name="guint" c:type="guint"/>
</return-value>
</function>
<function name="get_minor_version" c:identifier="webkit_get_minor_version">
<doc xml:space="preserve">Returns the minor version number of the WebKit library.
(e.g. in WebKit version 1.8.3 this is 8.)
This function is in the library, so it represents the WebKit library
your code is running against. Contrast with the #WEBKIT_MINOR_VERSION
macro, which represents the minor version of the WebKit headers you
have included when compiling your code.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the minor version number of the WebKit library</doc>
<type name="guint" c:type="guint"/>
</return-value>
</function>
<function name="javascript_error_quark" c:identifier="webkit_javascript_error_quark" moved-to="JavascriptError.quark">
<return-value transfer-ownership="none">
<type name="GLib.Quark" c:type="GQuark"/>
</return-value>
</function>
<function name="media_key_system_permission_get_name" c:identifier="webkit_media_key_system_permission_get_name" version="2.32">
<doc xml:space="preserve">Get the key system for which access permission is being requested.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the key system name for @request</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<parameter name="request" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitMediaKeySystemPermissionRequest</doc>
<type name="MediaKeySystemPermissionRequest" c:type="WebKitMediaKeySystemPermissionRequest*"/>
</parameter>
</parameters>
</function>
<function name="network_error_quark" c:identifier="webkit_network_error_quark" moved-to="NetworkError.quark">
<return-value transfer-ownership="none">
<type name="GLib.Quark" c:type="GQuark"/>
</return-value>
</function>
<function name="plugin_error_quark" c:identifier="webkit_plugin_error_quark" moved-to="PluginError.quark">
<return-value transfer-ownership="none">
<type name="GLib.Quark" c:type="GQuark"/>
</return-value>
</function>
<function name="policy_error_quark" c:identifier="webkit_policy_error_quark" moved-to="PolicyError.quark">
<return-value transfer-ownership="none">
<type name="GLib.Quark" c:type="GQuark"/>
</return-value>
</function>
<function name="print_error_quark" c:identifier="webkit_print_error_quark" moved-to="PrintError.quark">
<return-value transfer-ownership="none">
<type name="GLib.Quark" c:type="GQuark"/>
</return-value>
</function>
<function name="snapshot_error_quark" c:identifier="webkit_snapshot_error_quark" moved-to="SnapshotError.quark">
<return-value transfer-ownership="none">
<type name="GLib.Quark" c:type="GQuark"/>
</return-value>
</function>
<function name="uri_for_display" c:identifier="webkit_uri_for_display" version="2.24">
<doc xml:space="preserve">Use this function to format a URI for display. The URIs used internally by
WebKit may contain percent-encoded characters or Punycode, which are not
generally suitable to display to users. This function provides protection
against IDN homograph attacks, so in some cases the host part of the returned
URI may be in Punycode if the safety check fails.</doc>
<return-value transfer-ownership="full" nullable="1">
<doc xml:space="preserve">@uri suitable for display, or %NULL in
case of error.</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
<parameters>
<parameter name="uri" transfer-ownership="none">
<doc xml:space="preserve">the URI to be converted</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</function>
<function name="user_content_filter_error_quark" c:identifier="webkit_user_content_filter_error_quark" moved-to="UserContentFilterError.quark">
<return-value transfer-ownership="none">
<type name="GLib.Quark" c:type="GQuark"/>
</return-value>
</function>
<function name="user_media_permission_is_for_audio_device" c:identifier="webkit_user_media_permission_is_for_audio_device" version="2.8">
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if access to an audio device was requested.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="request" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitUserMediaPermissionRequest</doc>
<type name="UserMediaPermissionRequest" c:type="WebKitUserMediaPermissionRequest*"/>
</parameter>
</parameters>
</function>
<function name="user_media_permission_is_for_display_device" c:identifier="webkit_user_media_permission_is_for_display_device" version="2.34">
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if access to a display device was requested.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="request" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitUserMediaPermissionRequest</doc>
<type name="UserMediaPermissionRequest" c:type="WebKitUserMediaPermissionRequest*"/>
</parameter>
</parameters>
</function>
<function name="user_media_permission_is_for_video_device" c:identifier="webkit_user_media_permission_is_for_video_device" version="2.8">
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if access to a video device was requested.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="request" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitUserMediaPermissionRequest</doc>
<type name="UserMediaPermissionRequest" c:type="WebKitUserMediaPermissionRequest*"/>
</parameter>
</parameters>
</function>
<function name="user_message_error_quark" c:identifier="webkit_user_message_error_quark" moved-to="UserMessageError.quark">
<return-value transfer-ownership="none">
<type name="GLib.Quark" c:type="GQuark"/>
</return-value>
</function>
</namespace>
</repository>