<?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 version="1.2"
            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">
  <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">
    <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
or if private browsing is enabled.</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_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="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>
      <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="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">
    </record>
    <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">
        <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">
        <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">
        <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">
        <doc xml:space="preserve">HTML Form authentication.</doc>
      </member>
      <member name="ntlm"
              value="5"
              c:identifier="WEBKIT_AUTHENTICATION_SCHEME_NTLM"
              glib:nick="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">
        <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">
        <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">
        <doc xml:space="preserve">Server Trust Authentication.</doc>
      </member>
      <member name="unknown"
              value="100"
              c:identifier="WEBKIT_AUTHENTICATION_SCHEME_UNKNOWN"
              glib:nick="unknown">
        <doc xml:space="preserve">Authentication scheme unknown.</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"
              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">
        <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" 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. The returned #WebKitWebView could be an existing
web view or a new one created and added to a new tab or window.</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">
    </record>
    <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>
    <record name="BackForwardListPrivate"
            c:type="WebKitBackForwardListPrivate"
            disguised="1">
    </record>
    <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">
        <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">
        <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">
        <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"
              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"
              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">
        <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">
    </record>
    <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">
        <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">
        <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">
        <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">
        <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">
        <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">
        <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">
        <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">
        <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">
        <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">
        <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">
        <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">
        <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">
        <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">
        <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">
        <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">
        <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">
        <doc xml:space="preserve">Paste clipboard contents.</doc>
      </member>
      <member name="delete"
              value="17"
              c:identifier="WEBKIT_CONTEXT_MENU_ACTION_DELETE"
              glib:nick="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">
        <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">
        <doc xml:space="preserve">Input methods menu.</doc>
      </member>
      <member name="unicode"
              value="20"
              c:identifier="WEBKIT_CONTEXT_MENU_ACTION_UNICODE"
              glib:nick="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">
        <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">
        <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">
        <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">
        <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">
        <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">
        <doc xml:space="preserve">Font options menu.</doc>
      </member>
      <member name="bold"
              value="27"
              c:identifier="WEBKIT_CONTEXT_MENU_ACTION_BOLD"
              glib:nick="bold">
        <doc xml:space="preserve">Bold.</doc>
      </member>
      <member name="italic"
              value="28"
              c:identifier="WEBKIT_CONTEXT_MENU_ACTION_ITALIC"
              glib:nick="italic">
        <doc xml:space="preserve">Italic.</doc>
      </member>
      <member name="underline"
              value="29"
              c:identifier="WEBKIT_CONTEXT_MENU_ACTION_UNDERLINE"
              glib:nick="underline">
        <doc xml:space="preserve">Underline.</doc>
      </member>
      <member name="outline"
              value="30"
              c:identifier="WEBKIT_CONTEXT_MENU_ACTION_OUTLINE"
              glib:nick="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">
        <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">
        <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">
        <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">
        <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">
        <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">
        <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">
        <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">
        <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">
        <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">
        <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">
        <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">
        <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">
        <doc xml:space="preserve">Download audio to disk. Since 2.2</doc>
      </member>
      <member name="custom"
              value="10000"
              c:identifier="WEBKIT_CONTEXT_MENU_ACTION_CUSTOM"
              glib:nick="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 #GtkAction of a
#WebKitContextMenuItem created with a #WebKitContextMenuAction with
webkit_context_menu_item_get_action() and connect to #GtkAction::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>
    <record name="ContextMenuPrivate"
            c:type="WebKitContextMenuPrivate"
            disguised="1">
    </record>
    <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">
        <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">
        <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">
        <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.

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.</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">
    </record>
    <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">
        <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">
        <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>
      <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_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">
        <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">
        <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">
        <doc xml:space="preserve">Credential persists permanently</doc>
      </member>
    </enumeration>
    <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"
              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">
        <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">
        <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">
        <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"
              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">
        <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">
        <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">
        <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">
        <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">
        <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">
        <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">
        <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">
    </record>
    <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_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>
    <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"
              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">
        <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">
    </record>
    <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">
        <doc xml:space="preserve">No typing attributes.</doc>
      </member>
      <member name="bold"
              value="4"
              c:identifier="WEBKIT_EDITOR_TYPING_ATTRIBUTE_BOLD"
              glib:nick="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">
        <doc xml:space="preserve">Italic typing attribute.</doc>
      </member>
      <member name="underline"
              value="16"
              c:identifier="WEBKIT_EDITOR_TYPING_ATTRIBUTE_UNDERLINE"
              glib:nick="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">
        <doc xml:space="preserve">Strikethrough typing attribute.</doc>
      </member>
    </bitfield>
    <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">
        <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">
        <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">
        <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">
    </record>
    <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">
        <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">
        <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">
        <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">
        <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">
        <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">
        <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">
    </record>
    <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">
        <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">
        <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">
        <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">
        <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">
        <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">
        <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">
    </record>
    <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">
        <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">
        <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">
        <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">
        <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">
        <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">
        <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">
    </record>
    <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>
    <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">
        <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">
        <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">
        <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">
        <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">
        <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">
        <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">
        <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">
        <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">
        <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">
        <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">
        <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">
        <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">
        <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">
        <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">
        <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">
        <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">
        <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">
        <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">
        <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">
        <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">
        <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">
        <doc xml:space="preserve">a selected element. Since 2.8</doc>
      </member>
    </bitfield>
    <record name="HitTestResultPrivate"
            c:type="WebKitHitTestResultPrivate"
            disguised="1">
    </record>
    <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">
        <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">
        <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">
    </record>
    <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">
        <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"/>
        </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"/>
        </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">
        <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">
        <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">
        <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">
        <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>
    <constant name="MICRO_VERSION" value="2" 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="22" 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>
    <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">
        <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">
        <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">
        <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">
        <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">
        <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>
    <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 navigation #WebKitURIRequest</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">
        <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"
              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"
              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"
              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"
              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"
              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">
        <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">
        <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">
        <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">
        <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">
        <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">
        <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">
    </record>
    <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">
        <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">
        <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">
        <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">
        <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">
        <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">
        <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">
        <doc xml:space="preserve">Generic load failure</doc>
      </member>
      <member name="transport"
              value="300"
              c:identifier="WEBKIT_NETWORK_ERROR_TRANSPORT"
              glib:nick="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">
        <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">
        <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">
        <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">
        <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">
        <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">
        <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"
              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"
              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"
              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"
              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">
        <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">
        <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">
        <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">
        <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>
    <record name="NotificationPrivate"
            c:type="WebKitNotificationPrivate"
            disguised="1">
    </record>
    <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">
    </record>
    <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">
        <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">
        <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">
        <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">
        <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 errors.</doc>
      <member name="failed"
              value="299"
              c:identifier="WEBKIT_PLUGIN_ERROR_FAILED"
              glib:nick="failed">
        <doc xml:space="preserve">Generic plugin load failure</doc>
      </member>
      <member name="cannot_find_plugin"
              value="200"
              c:identifier="WEBKIT_PLUGIN_ERROR_CANNOT_FIND_PLUGIN"
              glib:nick="cannot-find-plugin">
        <doc xml:space="preserve">Load failure due to missing plugin</doc>
      </member>
      <member name="cannot_load_plugin"
              value="201"
              c:identifier="WEBKIT_PLUGIN_ERROR_CANNOT_LOAD_PLUGIN"
              glib:nick="cannot-load-plugin">
        <doc xml:space="preserve">Load failure due to inability to load plugin</doc>
      </member>
      <member name="java_unavailable"
              value="202"
              c:identifier="WEBKIT_PLUGIN_ERROR_JAVA_UNAVAILABLE"
              glib:nick="java-unavailable">
        <doc xml:space="preserve">Load failure due to missing Java support that is required to load plugin</doc>
      </member>
      <member name="connection_cancelled"
              value="203"
              c:identifier="WEBKIT_PLUGIN_ERROR_CONNECTION_CANCELLED"
              glib:nick="connection-cancelled">
        <doc xml:space="preserve">Load failure due to connection cancellation</doc>
      </member>
      <member name="will_handle_load"
              value="204"
              c:identifier="WEBKIT_PLUGIN_ERROR_WILL_HANDLE_LOAD"
              glib:nick="will-handle-load">
        <doc xml:space="preserve">Load failure since plugin handles the 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">
    </record>
    <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>
      <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">
    </record>
    <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">
        <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">
        <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">
        <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">
        <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">
        <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">
        <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">
        <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">
        <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"
              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"
              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">
        <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">
        <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">
    </record>
    <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">
        <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">
        <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">
        <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">
        <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">
        <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">
        <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">
        <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">
        <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">
        <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">
    </record>
    <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">
        <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">
        <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">
        <doc xml:space="preserve">Use a single process to
  perform content rendering. The process is shared among all the
  #WebKitWebView instances created by the application: if the process
  hangs or crashes all the web views in the application will be affected.
  This is the default process model, and it should suffice for most cases.</doc>
      </member>
      <member name="multiple_secondary_processes"
              value="1"
              c:identifier="WEBKIT_PROCESS_MODEL_MULTIPLE_SECONDARY_PROCESSES"
              glib:nick="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 — for example a full-fledged web browser with support for
  multiple tabs.</doc>
      </member>
    </enumeration>
    <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">
        <doc xml:space="preserve">Gets the value of the #WebKitResponsePolicyDecision:request property.</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">
        <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">
        <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">
        <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">
    </record>
    <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">
        <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="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>
    </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">
        <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">
        <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">
        <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">
        <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>
    <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, or %NULL if @origin is opaque or 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. It will also
return 0 if @origin is opaque.</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, or %NULL if @origin is opaque.</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">
        <doc xml:space="preserve">Gets whether @origin is an opaque security origin, which does not
possess an associated protocol, host, or port.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if @origin is opaque.</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. It may
be %NULL, but usually only if @origin is opaque.</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"
              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">
        <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_universal_access_from_file_urls"
              c:identifier="webkit_settings_get_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">
        <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">
        <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">
        <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">
        <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">
        <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">
        <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">
        <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"
              version="2.2">
        <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_caret_browsing"
              c:identifier="webkit_settings_get_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">
        <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">
        <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"
              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">
        <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">
        <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">
        <doc xml:space="preserve">Get the #WebKitSettings:enable-html5-database property.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE If HTML5 database 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">
        <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">
        <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">
        <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">
        <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_media_capabilities"
              c:identifier="webkit_settings_get_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"
              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"
              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_offline_web_application_cache"
              c:identifier="webkit_settings_get_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">
        <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">
        <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"
              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">
        <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">
        <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">
        <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"
              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">
        <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">
        <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">
        <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"
              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">
        <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">
        <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"
              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">
        <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">
        <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">
        <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_playback_allows_inline"
              c:identifier="webkit_settings_get_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">
        <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">
        <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">
        <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">
        <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">
        <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">
        <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">
        <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">
        <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">
        <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"
              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">
        <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_universal_access_from_file_urls"
              c:identifier="webkit_settings_set_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">
        <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">
        <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">
        <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">
        <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">
        <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">
        <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">
        <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"
              version="2.2">
        <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_caret_browsing"
              c:identifier="webkit_settings_set_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">
        <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">
        <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"
              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">
        <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">
        <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">
        <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">
        <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">
        <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">
        <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">
        <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_media_capabilities"
              c:identifier="webkit_settings_set_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"
              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"
              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_offline_web_application_cache"
              c:identifier="webkit_settings_set_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">
        <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">
        <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"
              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">
        <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">
        <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">
        <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"
              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">
        <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">
        <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">
        <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"
              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">
        <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">
        <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"
              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">
        <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">
        <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">
        <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_playback_allows_inline"
              c:identifier="webkit_settings_set_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">
        <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">
        <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">
        <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">
        <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">
        <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">
        <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">
        <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">
        <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">
        <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">
        <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">
        <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-universal-access-from-file-urls"
                version="2.14"
                writable="1"
                construct="1"
                transfer-ownership="none">
        <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">
        <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">
        <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">
        <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">
        <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">
        <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">
        <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">
        <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"
                writable="1"
                construct="1"
                transfer-ownership="none">
        <doc xml:space="preserve">Enable or disable accelerated 2D canvas. Accelerated 2D canvas is only available
if WebKitGTK+ 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-caret-browsing"
                writable="1"
                construct="1"
                transfer-ownership="none">
        <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">
        <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">
        <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">
        <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">
        <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">
        <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">
        <doc xml:space="preserve">Whether to enable HTML5 client-side SQL database support. Client-side
SQL database allows web pages to store structured data and be able to
use SQL to manipulate that data asynchronously.

HTML5 database specification is available at
http://www.w3.org/TR/webdatabase/.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="enable-html5-local-storage"
                writable="1"
                construct="1"
                transfer-ownership="none">
        <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">
        <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">
        <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">
        <doc xml:space="preserve">Determines whether or not JavaScript executes within a page.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="enable-media-capabilities"
                version="2.22"
                writable="1"
                construct="1"
                transfer-ownership="none">
        <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’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">
        <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">
        <doc xml:space="preserve">Enable or disable support for MediaSource on pages. MediaSource is an
experimental proposal which extends HTMLMediaElement to allow
JavaScript to generate media streams for playback.  The standard is
currently a work-in-progress by the W3C HTML Media Task Force.

See also http://www.w3.org/TR/media-source/</doc>
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="enable-offline-web-application-cache"
                writable="1"
                construct="1"
                transfer-ownership="none">
        <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">
        <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"
                writable="1"
                construct="1"
                transfer-ownership="none">
        <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">
        <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">
        <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">
        <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">
        <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">
        <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">
        <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">
        <doc xml:space="preserve">Enable or disable support for WebAudio on pages. WebAudio is an
experimental proposal for allowing web pages to generate Audio
WAVE data from JavaScript. The standard is currently a
work-in-progress by the W3C Audio Working Group.

See also https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html</doc>
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="enable-webgl"
                writable="1"
                construct="1"
                transfer-ownership="none">
        <doc xml:space="preserve">Enable or disable support for WebGL on pages. WebGL is an experimental
proposal for allowing web pages to use OpenGL ES-like calls directly. The
standard is currently a work-in-progress by the Khronos Group.</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">
        <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">
        <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">
        <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">
        <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, disabling it again
when no longer needed. 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">
        <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">
        <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">
        <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-playback-allows-inline"
                writable="1"
                construct="1"
                transfer-ownership="none">
        <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">
        <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">
        <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">
        <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">
        <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">
        <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">
        <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">
        <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">
        <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">
        <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">
    </record>
    <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">
        <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">
        <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">
        <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">
        <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">
        <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">
        <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">
        <doc xml:space="preserve">Ignore TLS errors.</doc>
      </member>
      <member name="fail"
              value="1"
              c:identifier="WEBKIT_TLS_ERRORS_POLICY_FAIL"
              glib:nick="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">
        <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">
        <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">
        <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">
    </record>
    <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">
        <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"
              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">
        <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">
        <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">
        <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">
        <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">
        <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">
        <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">
        <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">
        <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">
        <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">
        <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">
    </record>
    <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="mime_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">
    </record>
    <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">
        <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">
        <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_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_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</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="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">
    </record>
    <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">
    </record>
    <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 @whitelist or @blacklist. Passing a
%NULL whitelist implies that all URIs are on the whitelist. The script
is applied if an URI matches the whitelist and not the blacklist.
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="whitelist"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">A whitelist of URI patterns or %NULL</doc>
            <array c:type="const gchar* const*">
              <type name="utf8" c:type="gchar*"/>
            </array>
          </parameter>
          <parameter name="blacklist"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">A blacklist 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="whitelist"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">A whitelist of URI patterns or %NULL</doc>
            <array c:type="const gchar* const*">
              <type name="utf8" c:type="gchar*"/>
            </array>
          </parameter>
          <parameter name="blacklist"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">A blacklist 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">
        <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">
        <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">
        <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">
        <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 @whitelist or @blacklist. Passing a
%NULL whitelist implies that all URIs are on the whitelist. The style
sheet is applied if an URI matches the whitelist and not the blacklist.
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="whitelist"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">A whitelist of URI patterns or %NULL</doc>
            <array c:type="const gchar* const*">
              <type name="utf8" c:type="gchar*"/>
            </array>
          </parameter>
          <parameter name="blacklist"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">A blacklist 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="whitelist"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">A whitelist of URI patterns or %NULL</doc>
            <array c:type="const gchar* const*">
              <type name="utf8" c:type="gchar*"/>
            </array>
          </parameter>
          <parameter name="blacklist"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">A blacklist 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>
    <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>
      <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_plugins" c:identifier="webkit_web_context_get_plugins">
        <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"
              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_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">
        <doc xml:space="preserve">Get the TLS errors policy of @context</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="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">
        <doc xml:space="preserve">Gets the maximum number of web processes that can be created at the same time for the @context.</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"
              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, "plugins")) {
        /&lt;!-- --&gt;* Create a GInputStream with the contents of plugins about page, and set its length to stream_length *&lt;!-- --&gt;/
    } else 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="set_additional_plugins_directory"
              c:identifier="webkit_web_context_set_additional_plugins_directory">
        <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">
        <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>
        <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. The default setting
(%WEBKIT_PROCESS_MODEL_SHARED_SECONDARY_PROCESS) is suitable for most
applications which embed a small amount of WebViews, or are used to
display documents which are considered safe — like local files.

Applications which may potentially use a large amount of WebViews
—for example a multi-tabbed web browser— may want to use
%WEBKIT_PROCESS_MODEL_MULTIPLE_SECONDARY_PROCESSES, which 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.

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_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">
        <doc xml:space="preserve">Set the TLS errors policy of @context as @policy</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="policy" transfer-ownership="none">
            <doc xml:space="preserve">a #WebKitTLSErrorsPolicy</doc>
            <type name="TLSErrorsPolicy" c:type="WebKitTLSErrorsPolicy"/>
          </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">
        <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 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="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="website-data-manager"
                version="2.10"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <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>
    </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="_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="WebContextPrivate"
            c:type="WebKitWebContextPrivate"
            disguised="1">
    </record>
    <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">
        <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"
              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">
        <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">
        <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">
        <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">
        <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">
    </record>
    <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">
        <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">
        <doc xml:space="preserve">the web process exceeded the memory limit.</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">
        <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">
        <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">
        <doc xml:space="preserve">The #WebKitURIResponse associated with this resource.</doc>
        <type name="URIResponse"/>
      </property>
      <property name="uri" transfer-ownership="none">
        <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">
    </record>
    <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
and #WebKitSettings 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="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_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_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_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">
        <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">
        <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_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_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"/>
        </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_page_id" c:identifier="webkit_web_view_get_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">
        <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">
        <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"
              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_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">
        <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">
        <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"
              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="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_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_editable"
              c:identifier="webkit_web_view_set_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_settings" c:identifier="webkit_web_view_set_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">
        <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="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="editable"
                version="2.8"
                writable="1"
                transfer-ownership="none">
        <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">
        <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">
        <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 a ephemeral
#WebKitWebView and it can't be changed. 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">
        <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-playing-audio"
                version="2.8"
                transfer-ownership="none">
        <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="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">
        <doc xml:space="preserve">The #WebKitSettings of the view.</doc>
        <type name="Settings"/>
      </property>
      <property name="title" transfer-ownership="none">
        <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">
        <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">
        <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="zoom-level" writable="1" transfer-ownership="none">
        <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.

When using %WEBKIT_PROCESS_MODEL_MULTIPLE_SECONDARY_PROCESSES
process model, the new #WebKitWebView should be related to
@web_view to share the same web process, 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;</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="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>
    <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="_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>
    </record>
    <record name="WebViewPrivate" c:type="WebKitWebViewPrivate" disguised="1">
    </record>
    <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="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>
      <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"
              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"
              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"
              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_indexeddb_directory"
              c:identifier="webkit_website_data_manager_get_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_local_storage_directory"
              c:identifier="webkit_website_data_manager_get_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"
              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_websql_directory"
              c:identifier="webkit_website_data_manager_get_websql_directory"
              version="2.10">
        <doc xml:space="preserve">Get the #WebKitWebsiteDataManager:websql-directory property.</doc>
        <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 epheral 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>
      <property name="base-cache-directory"
                version="2.10"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <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">
        <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">
        <doc xml:space="preserve">The directory where HTTP disk 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">
        <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="local-storage-directory"
                version="2.10"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <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">
        <doc xml:space="preserve">The directory where offline web application cache will be stored.</doc>
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="websql-directory"
                version="2.10"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <doc xml:space="preserve">The directory where WebSQL databases will be stored.</doc>
        <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">
    </record>
    <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">
        <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">
        <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">
        <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">
        <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">
        <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">
        <doc xml:space="preserve">WebSQL databases.</doc>
      </member>
      <member name="indexeddb_databases"
              value="64"
              c:identifier="WEBKIT_WEBSITE_DATA_INDEXEDDB_DATABASES"
              glib:nick="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">
        <doc xml:space="preserve">Plugins data.</doc>
      </member>
      <member name="cookies"
              value="256"
              c:identifier="WEBKIT_WEBSITE_DATA_COOKIES"
              glib:nick="cookies">
        <doc xml:space="preserve">Cookies.</doc>
      </member>
      <member name="all"
              value="511"
              c:identifier="WEBKIT_WEBSITE_DATA_ALL"
              glib:nick="all">
        <doc xml:space="preserve">All types.</doc>
      </member>
    </bitfield>
    <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">
        <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">
        <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">
        <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">
        <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">
        <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">
        <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">
        <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">
        <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">
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="geometry"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <type name="Gdk.Rectangle"/>
      </property>
      <property name="locationbar-visible"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="menubar-visible"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="resizable"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="scrollbars-visible"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="statusbar-visible"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="toolbar-visible"
                writable="1"
                construct-only="1"
                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="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">
    </record>
    <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="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="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_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>
  </namespace>
</repository>
