Commit 2aec12e6 authored by Alberto Garcia's avatar Alberto Garcia
Browse files

New upstream version 2.15.4

parent d0ed3ae3
......@@ -114,6 +114,7 @@ else ()
endif ()
set(JavaScriptCore_LIBRARY_TYPE SHARED)
set(PAL_LIBRARY_TYPE STATIC)
set(WebKit_LIBRARY_TYPE SHARED)
set(WebKit2_LIBRARY_TYPE SHARED)
set(WebCoreTestSupport_LIBRARY_TYPE STATIC)
......
......@@ -6,7 +6,7 @@
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="index.html" title="WebKit2GTK+ Reference Manual">
<link rel="up" href="ch01.html" title="Class Overview">
<link rel="prev" href="WebKitWebsiteDataManager.html" title="WebKitWebsiteDataManager">
<link rel="prev" href="WebKitWebsiteData.html" title="WebKitWebsiteData">
<link rel="next" href="ch02.html" title="Web Extensions">
<meta name="generator" content="GTK-Doc V1.25.1 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
......@@ -20,7 +20,7 @@
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="WebKitWebsiteDataManager.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="p" href="WebKitWebsiteData.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="ch02.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
......@@ -168,7 +168,7 @@ contains only "192.168.1.1", then a connection to "example.com" will use the pro
<p> A new <a class="link" href="WebKitNetworkProxySettings.html" title="WebKitNetworkProxySettings"><span class="type">WebKitNetworkProxySettings</span></a>. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
<p class="since">Since: 2.16</p>
<p class="since">Since: <a class="link" href="api-index-2-16.html#api-index-2.16">2.16</a></p>
</div>
<hr>
<div class="refsect2">
......@@ -196,7 +196,7 @@ webkit_network_proxy_settings_copy (<em class="parameter"><code><a class="link"
<p> A copy of passed in <a class="link" href="WebKitNetworkProxySettings.html" title="WebKitNetworkProxySettings"><span class="type">WebKitNetworkProxySettings</span></a>. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
<p class="since">Since: 2.16</p>
<p class="since">Since: <a class="link" href="api-index-2-16.html#api-index-2.16">2.16</a></p>
</div>
<hr>
<div class="refsect2">
......@@ -219,7 +219,7 @@ webkit_network_proxy_settings_free (<em class="parameter"><code><a class="link"
</tr></tbody>
</table></div>
</div>
<p class="since">Since: 2.16</p>
<p class="since">Since: <a class="link" href="api-index-2-16.html#api-index-2.16">2.16</a></p>
</div>
<hr>
<div class="refsect2">
......@@ -263,7 +263,7 @@ all three of the socks5, socks4a, and socks4 proxy types.</p>
</tbody>
</table></div>
</div>
<p class="since">Since: 2.16</p>
<p class="since">Since: <a class="link" href="api-index-2-16.html#api-index-2.16">2.16</a></p>
</div>
</div>
<div class="refsect1">
......
......@@ -277,7 +277,7 @@ webkit_notification_get_tag (<em class="parameter"><code><a class="link" href="W
<p> the tag for the notification. </p>
<p><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></p>
</div>
<p class="since">Since: 2.16</p>
<p class="since">Since: <a class="link" href="api-index-2-16.html#api-index-2.16">2.16</a></p>
</div>
<hr>
<div class="refsect2">
......@@ -360,7 +360,7 @@ webkit_notification_clicked (<em class="parameter"><code><a class="link" href="W
<p>The tag identifier for the notification.</p>
<p>Flags: Read</p>
<p>Default value: NULL</p>
<p class="since">Since: 2.16</p>
<p class="since">Since: <a class="link" href="api-index-2-16.html#api-index-2.16">2.16</a></p>
</div>
<hr>
<div class="refsect2">
......
......@@ -186,7 +186,7 @@ default port for <em class="parameter"><code>protocol</code></em>
<p> A <a class="link" href="WebKitSecurityOrigin.html" title="WebKitSecurityOrigin"><span class="type">WebKitSecurityOrigin</span></a>. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
<p class="since">Since: 2.16</p>
<p class="since">Since: <a class="link" href="api-index-2-16.html#api-index-2.16">2.16</a></p>
</div>
<hr>
<div class="refsect2">
......@@ -217,7 +217,7 @@ webkit_security_origin_new_for_uri (<em class="parameter"><code>const <a href=".
<p> A <a class="link" href="WebKitSecurityOrigin.html" title="WebKitSecurityOrigin"><span class="type">WebKitSecurityOrigin</span></a>. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
<p class="since">Since: 2.16</p>
<p class="since">Since: <a class="link" href="api-index-2-16.html#api-index-2.16">2.16</a></p>
</div>
<hr>
<div class="refsect2">
......@@ -246,7 +246,7 @@ This function is MT-safe and may be called from any thread.</p>
<a name="webkit-security-origin-ref.returns"></a><h4>Returns</h4>
<p> The passed <a class="link" href="WebKitSecurityOrigin.html" title="WebKitSecurityOrigin"><span class="type">WebKitSecurityOrigin</span></a></p>
</div>
<p class="since">Since: 2.16</p>
<p class="since">Since: <a class="link" href="api-index-2-16.html#api-index-2.16">2.16</a></p>
</div>
<hr>
<div class="refsect2">
......@@ -273,7 +273,7 @@ called from any thread.</p>
</tr></tbody>
</table></div>
</div>
<p class="since">Since: 2.16</p>
<p class="since">Since: <a class="link" href="api-index-2-16.html#api-index-2.16">2.16</a></p>
</div>
<hr>
<div class="refsect2">
......@@ -299,7 +299,7 @@ webkit_security_origin_get_protocol (<em class="parameter"><code><a class="link"
</tr></tbody>
</table></div>
</div>
<p class="since">Since: 2.16</p>
<p class="since">Since: <a class="link" href="api-index-2-16.html#api-index-2.16">2.16</a></p>
</div>
<hr>
<div class="refsect2">
......@@ -330,7 +330,7 @@ protocol does not require a host component.</p>
<p> The host of the <a class="link" href="WebKitSecurityOrigin.html" title="WebKitSecurityOrigin"><span class="type">WebKitSecurityOrigin</span></a>. </p>
<p><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></p>
</div>
<p class="since">Since: 2.16</p>
<p class="since">Since: <a class="link" href="api-index-2-16.html#api-index-2.16">2.16</a></p>
</div>
<hr>
<div class="refsect2">
......@@ -364,7 +364,7 @@ return 0 if <em class="parameter"><code>origin</code></em>
<a name="webkit-security-origin-get-port.returns"></a><h4>Returns</h4>
<p> The port of the <a class="link" href="WebKitSecurityOrigin.html" title="WebKitSecurityOrigin"><span class="type">WebKitSecurityOrigin</span></a>.</p>
</div>
<p class="since">Since: 2.16</p>
<p class="since">Since: <a class="link" href="api-index-2-16.html#api-index-2.16">2.16</a></p>
</div>
<hr>
<div class="refsect2">
......@@ -394,7 +394,7 @@ possess an associated protocol, host, or port.</p>
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>origin</code></em>
is opaque.</p>
</div>
<p class="since">Since: 2.16</p>
<p class="since">Since: <a class="link" href="api-index-2-16.html#api-index-2.16">2.16</a></p>
</div>
<hr>
<div class="refsect2">
......@@ -427,7 +427,7 @@ be <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">N
. </p>
<p><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
<p class="since">Since: 2.16</p>
<p class="since">Since: <a class="link" href="api-index-2-16.html#api-index-2.16">2.16</a></p>
</div>
</div>
<div class="refsect1">
......
......@@ -856,6 +856,22 @@
<a class="link" href="WebKitSettings.html#webkit-settings-set-allow-universal-access-from-file-urls" title="webkit_settings_set_allow_universal_access_from_file_urls ()">webkit_settings_set_allow_universal_access_from_file_urls</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="WebKitSettings.html#WebKitHardwareAccelerationPolicy" title="enum WebKitHardwareAccelerationPolicy"><span class="returnvalue">WebKitHardwareAccelerationPolicy</span></a>
</td>
<td class="function_name">
<a class="link" href="WebKitSettings.html#webkit-settings-get-hardware-acceleration-policy" title="webkit_settings_get_hardware_acceleration_policy ()">webkit_settings_get_hardware_acceleration_policy</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="WebKitSettings.html#webkit-settings-set-hardware-acceleration-policy" title="webkit_settings_set_hardware_acceleration_policy ()">webkit_settings_set_hardware_acceleration_policy</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
......@@ -1058,6 +1074,11 @@
<td class="property_flags">Read / Write / Construct</td>
</tr>
<tr>
<td class="property_type"><a class="link" href="WebKitSettings.html#WebKitHardwareAccelerationPolicy" title="enum WebKitHardwareAccelerationPolicy"><span class="type">WebKitHardwareAccelerationPolicy</span></a></td>
<td class="property_name"><a class="link" href="WebKitSettings.html#WebKitSettings--hardware-acceleration-policy" title="The “hardware-acceleration-policy” property">hardware-acceleration-policy</a></td>
<td class="property_flags">Read / Write / Construct</td>
</tr>
<tr>
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
<td class="property_name"><a class="link" href="WebKitSettings.html#WebKitSettings--javascript-can-access-clipboard" title="The “javascript-can-access-clipboard” property">javascript-can-access-clipboard</a></td>
<td class="property_flags">Read / Write / Construct</td>
......@@ -1137,10 +1158,16 @@
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody><tr>
<tbody>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="WebKitSettings.html#WebKitSettings-struct" title="struct WebKitSettings">WebKitSettings</a></td>
</tr></tbody>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="WebKitSettings.html#WebKitHardwareAccelerationPolicy" title="enum WebKitHardwareAccelerationPolicy">WebKitHardwareAccelerationPolicy</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
......@@ -2525,6 +2552,10 @@ webkit_settings_set_default_charset (<em class="parameter"><code><a class="link"
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
webkit_settings_get_enable_private_browsing
(<em class="parameter"><code><a class="link" href="WebKitSettings.html" title="WebKitSettings"><span class="type">WebKitSettings</span></a> *settings</code></em>);</pre>
<div class="warning">
<p><code class="literal">webkit_settings_get_enable_private_browsing</code> has been deprecated since version 2.16. and should not be used in newly-written code.</p>
<p>Use <a class="link" href="WebKitWebView.html#WebKitWebView--is-ephemeral" title="The “is-ephemeral” property"><span class="type">“is-ephemeral”</span></a> or <span class="type">“is-ephemeral”</span> instead.</p>
</div>
<p>Get the <a class="link" href="WebKitSettings.html#WebKitSettings--enable-private-browsing" title="The “enable-private-browsing” property"><span class="type">“enable-private-browsing”</span></a> property.</p>
<div class="refsect3">
<a name="webkit-settings-get-enable-private-browsing.parameters"></a><h4>Parameters</h4>
......@@ -2553,6 +2584,33 @@ webkit_settings_get_enable_private_browsing
webkit_settings_set_enable_private_browsing
(<em class="parameter"><code><a class="link" href="WebKitSettings.html" title="WebKitSettings"><span class="type">WebKitSettings</span></a> *settings</code></em>,
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> enabled</code></em>);</pre>
<div class="warning">
<p><code class="literal">webkit_settings_set_enable_private_browsing</code> has been deprecated since version 2.16. and should not be used in newly-written code.</p>
<p>Use <a class="link" href="WebKitWebView.html#WebKitWebView--is-ephemeral" title="The “is-ephemeral” property"><span class="type">“is-ephemeral”</span></a> or <span class="type">“is-ephemeral”</span> instead.</p>
</div>
<p>Set the <a class="link" href="WebKitSettings.html#WebKitSettings--enable-private-browsing" title="The “enable-private-browsing” property"><span class="type">“enable-private-browsing”</span></a> property.</p>
<div class="refsect3">
<a name="webkit-settings-set-enable-private-browsing.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>settings</p></td>
<td class="parameter_description"><p>a <a class="link" href="WebKitSettings.html" title="WebKitSettings"><span class="type">WebKitSettings</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>enabled</p></td>
<td class="parameter_description"><p>Value to be set</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
......@@ -4071,7 +4129,7 @@ webkit_settings_get_allow_universal_access_from_file_urls
<a name="webkit-settings-get-allow-universal-access-from-file-urls.returns"></a><h4>Returns</h4>
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> If universal access from file URLs is allowed or <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
</div>
<p class="since">Since: 2.14</p>
<p class="since">Since: <a class="link" href="api-index-2-14.html#api-index-2.14">2.14</a></p>
</div>
<hr>
<div class="refsect2">
......@@ -4103,7 +4161,64 @@ webkit_settings_set_allow_universal_access_from_file_urls
</tbody>
</table></div>
</div>
<p class="since">Since: 2.14</p>
<p class="since">Since: <a class="link" href="api-index-2-14.html#api-index-2.14">2.14</a></p>
</div>
<hr>
<div class="refsect2">
<a name="webkit-settings-get-hardware-acceleration-policy"></a><h3>webkit_settings_get_hardware_acceleration_policy ()</h3>
<pre class="programlisting"><a class="link" href="WebKitSettings.html#WebKitHardwareAccelerationPolicy" title="enum WebKitHardwareAccelerationPolicy"><span class="returnvalue">WebKitHardwareAccelerationPolicy</span></a>
webkit_settings_get_hardware_acceleration_policy
(<em class="parameter"><code><a class="link" href="WebKitSettings.html" title="WebKitSettings"><span class="type">WebKitSettings</span></a> *settings</code></em>);</pre>
<p>Get the <a class="link" href="WebKitSettings.html#WebKitSettings--hardware-acceleration-policy" title="The “hardware-acceleration-policy” property"><span class="type">“hardware-acceleration-policy”</span></a> property.</p>
<p>Return: a <a class="link" href="WebKitSettings.html#WebKitHardwareAccelerationPolicy" title="enum WebKitHardwareAccelerationPolicy"><span class="type">WebKitHardwareAccelerationPolicy</span></a></p>
<div class="refsect3">
<a name="webkit-settings-get-hardware-acceleration-policy.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>settings</p></td>
<td class="parameter_description"><p>a <a class="link" href="WebKitSettings.html" title="WebKitSettings"><span class="type">WebKitSettings</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-2-16.html#api-index-2.16">2.16</a></p>
</div>
<hr>
<div class="refsect2">
<a name="webkit-settings-set-hardware-acceleration-policy"></a><h3>webkit_settings_set_hardware_acceleration_policy ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
webkit_settings_set_hardware_acceleration_policy
(<em class="parameter"><code><a class="link" href="WebKitSettings.html" title="WebKitSettings"><span class="type">WebKitSettings</span></a> *settings</code></em>,
<em class="parameter"><code><a class="link" href="WebKitSettings.html#WebKitHardwareAccelerationPolicy" title="enum WebKitHardwareAccelerationPolicy"><span class="type">WebKitHardwareAccelerationPolicy</span></a> policy</code></em>);</pre>
<p>Set the <a class="link" href="WebKitSettings.html#WebKitSettings--hardware-acceleration-policy" title="The “hardware-acceleration-policy” property"><span class="type">“hardware-acceleration-policy”</span></a> property.</p>
<div class="refsect3">
<a name="webkit-settings-set-hardware-acceleration-policy.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>settings</p></td>
<td class="parameter_description"><p>a <a class="link" href="WebKitSettings.html" title="WebKitSettings"><span class="type">WebKitSettings</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>policy</p></td>
<td class="parameter_description"><p>a <a class="link" href="WebKitSettings.html#WebKitHardwareAccelerationPolicy" title="enum WebKitHardwareAccelerationPolicy"><span class="type">WebKitHardwareAccelerationPolicy</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-2-16.html#api-index-2.16">2.16</a></p>
</div>
</div>
<div class="refsect1">
......@@ -4112,6 +4227,45 @@ webkit_settings_set_allow_universal_access_from_file_urls
<a name="WebKitSettings-struct"></a><h3>struct WebKitSettings</h3>
<pre class="programlisting">struct WebKitSettings;</pre>
</div>
<hr>
<div class="refsect2">
<a name="WebKitHardwareAccelerationPolicy"></a><h3>enum WebKitHardwareAccelerationPolicy</h3>
<p>Enum values used for determining the hardware acceleration policy.</p>
<div class="refsect3">
<a name="WebKitHardwareAccelerationPolicy.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="WEBKIT-HARDWARE-ACCELERATION-POLICY-ON-DEMAND:CAPS"></a>WEBKIT_HARDWARE_ACCELERATION_POLICY_ON_DEMAND</p></td>
<td class="enum_member_description">
<p>Hardware acceleration is enabled/disabled as request by web contents.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WEBKIT-HARDWARE-ACCELERATION-POLICY-ALWAYS:CAPS"></a>WEBKIT_HARDWARE_ACCELERATION_POLICY_ALWAYS</p></td>
<td class="enum_member_description">
<p>Hardware acceleration is always enabled, even for websites not requesting it.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WEBKIT-HARDWARE-ACCELERATION-POLICY-NEVER:CAPS"></a>WEBKIT_HARDWARE_ACCELERATION_POLICY_NEVER</p></td>
<td class="enum_member_description">
<p>Hardware acceleration is always disabled, even for websites requesting it.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-2-16.html#api-index-2.16">2.16</a></p>
</div>
</div>
<div class="refsect1">
<a name="WebKitSettings.property-details"></a><h2>Property Details</h2>
......@@ -4152,7 +4306,7 @@ allowed. This setting allows you to change that behaviour, so that
it would be possible to use local storage, for example.</p>
<p>Flags: Read / Write / Construct</p>
<p>Default value: FALSE</p>
<p class="since">Since: 2.14</p>
<p class="since">Since: <a class="link" href="api-index-2-14.html#api-index-2.14">2.14</a></p>
</div>
<hr>
<div class="refsect2">
......@@ -4390,6 +4544,10 @@ http://webkit.org/blog/427/webkit-page-cache-i-the-basics/</p>
<pre class="programlisting"> “enable-private-browsing” <a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
<p>Determines whether or not private browsing is enabled. Private browsing
will disable history, cache and form auto-fill for any pages visited.</p>
<div class="warning">
<p><code class="literal">WebKitSettings:enable-private-browsing</code> has been deprecated since version 2.16. and should not be used in newly-written code.</p>
<p>Use <a class="link" href="WebKitWebView.html#WebKitWebView--is-ephemeral" title="The “is-ephemeral” property"><span class="type">“is-ephemeral”</span></a> or <span class="type">“is-ephemeral”</span> instead.</p>
</div>
<p>Flags: Read / Write / Construct</p>
<p>Default value: FALSE</p>
</div>
......@@ -4498,6 +4656,24 @@ reflective XSS attacks on vulnerable web sites.</p>
</div>
<hr>
<div class="refsect2">
<a name="WebKitSettings--hardware-acceleration-policy"></a><h3>The <code class="literal">“hardware-acceleration-policy”</code> property</h3>
<pre class="programlisting"> “hardware-acceleration-policy” <a class="link" href="WebKitSettings.html#WebKitHardwareAccelerationPolicy" title="enum WebKitHardwareAccelerationPolicy"><span class="type">WebKitHardwareAccelerationPolicy</span></a></pre>
<p>The <a class="link" href="WebKitSettings.html#WebKitHardwareAccelerationPolicy" title="enum WebKitHardwareAccelerationPolicy"><span class="type">WebKitHardwareAccelerationPolicy</span></a> to decide how to enable and disable
hardware acceleration. The default value <a class="link" href="WebKitSettings.html#WEBKIT-HARDWARE-ACCELERATION-POLICY-ON-DEMAND:CAPS"><code class="literal">WEBKIT_HARDWARE_ACCELERATION_POLICY_ON_DEMAND</code></a>
enables the hardware acceleration when the web contents request it, disabling it again
when no longer needed. It's possible to enfore hardware acceleration to be always enabled
by using <a class="link" href="WebKitSettings.html#WEBKIT-HARDWARE-ACCELERATION-POLICY-ALWAYS:CAPS"><code class="literal">WEBKIT_HARDWARE_ACCELERATION_POLICY_ALWAYS</code></a>. And it's also posible to disable it
completely using <a class="link" href="WebKitSettings.html#WEBKIT-HARDWARE-ACCELERATION-POLICY-NEVER:CAPS"><code class="literal">WEBKIT_HARDWARE_ACCELERATION_POLICY_NEVER</code></a>. Note that disabling hardware
acceleration might cause some websites to not render correctly or consume more CPU.</p>
<p>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.</p>
<p>Flags: Read / Write / Construct</p>
<p>Default value: WEBKIT_HARDWARE_ACCELERATION_POLICY_ON_DEMAND</p>
<p class="since">Since: <a class="link" href="api-index-2-16.html#api-index-2.16">2.16</a></p>
</div>
<hr>
<div class="refsect2">
<a name="WebKitSettings--javascript-can-access-clipboard"></a><h3>The <code class="literal">“javascript-can-access-clipboard”</code> property</h3>
<pre class="programlisting"> “javascript-can-access-clipboard” <a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
<p>Whether JavaScript can access the clipboard. The default value is <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>. If
......
......@@ -63,11 +63,27 @@
<a class="link" href="WebKitWebContext.html" title="WebKitWebContext"><span class="returnvalue">WebKitWebContext</span></a> *
</td>
<td class="function_name">
<a class="link" href="WebKitWebContext.html#webkit-web-context-new-ephemeral" title="webkit_web_context_new_ephemeral ()">webkit_web_context_new_ephemeral</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="WebKitWebContext.html" title="WebKitWebContext"><span class="returnvalue">WebKitWebContext</span></a> *
</td>
<td class="function_name">
<a class="link" href="WebKitWebContext.html#webkit-web-context-new-with-website-data-manager" title="webkit_web_context_new_with_website_data_manager ()">webkit_web_context_new_with_website_data_manager</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="WebKitWebContext.html#webkit-web-context-is-ephemeral" title="webkit_web_context_is_ephemeral ()">webkit_web_context_is_ephemeral</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="WebKitWebsiteDataManager.html" title="WebKitWebsiteDataManager"><span class="returnvalue">WebKitWebsiteDataManager</span></a> *
</td>
<td class="function_name">
......@@ -472,6 +488,24 @@ webkit_web_context_new (<em class="parameter"><code><span class="type">void</spa
</div>
<hr>
<div class="refsect2">
<a name="webkit-web-context-new-ephemeral"></a><h3>webkit_web_context_new_ephemeral ()</h3>
<pre class="programlisting"><a class="link" href="WebKitWebContext.html" title="WebKitWebContext"><span class="returnvalue">WebKitWebContext</span></a> *
webkit_web_context_new_ephemeral (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>Create a new ephemeral <a class="link" href="WebKitWebContext.html" title="WebKitWebContext"><span class="type">WebKitWebContext</span></a>. An ephemeral <a class="link" href="WebKitWebContext.html" title="WebKitWebContext"><span class="type">WebKitWebContext</span></a> is a context
created with an ephemeral <a class="link" href="WebKitWebsiteDataManager.html" title="WebKitWebsiteDataManager"><span class="type">WebKitWebsiteDataManager</span></a>. This is just a convenient method
to create ephemeral contexts without having to create your own <a class="link" href="WebKitWebsiteDataManager.html" title="WebKitWebsiteDataManager"><span class="type">WebKitWebsiteDataManager</span></a>.
All <a class="link" href="WebKitWebView.html" title="WebKitWebView"><span class="type">WebKitWebView</span></a>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.</p>
<div class="refsect3">
<a name="webkit-web-context-new-ephemeral.returns"></a><h4>Returns</h4>
<p> a new ephemeral <a class="link" href="WebKitWebContext.html" title="WebKitWebContext"><span class="type">WebKitWebContext</span></a>. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
<p class="since">Since: <a class="link" href="api-index-2-16.html#api-index-2.16">2.16</a></p>
</div>
<hr>
<div class="refsect2">
<a name="webkit-web-context-new-with-website-data-manager"></a><h3>webkit_web_context_new_with_website_data_manager ()</h3>
<pre class="programlisting"><a class="link" href="WebKitWebContext.html" title="WebKitWebContext"><span class="returnvalue">WebKitWebContext</span></a> *
webkit_web_context_new_with_website_data_manager
......@@ -501,6 +535,34 @@ webkit_web_context_new_with_website_data_manager
</div>
<hr>
<div class="refsect2">
<a name="webkit-web-context-is-ephemeral"></a><h3>webkit_web_context_is_ephemeral ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
webkit_web_context_is_ephemeral (<em class="parameter"><code><a class="link" href="WebKitWebContext.html" title="WebKitWebContext"><span class="type">WebKitWebContext</span></a> *context</code></em>);</pre>
<p>Get whether a <a class="link" href="WebKitWebContext.html" title="WebKitWebContext"><span class="type">WebKitWebContext</span></a> is ephemeral.</p>
<div class="refsect3">
<a name="webkit-web-context-is-ephemeral.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>context</p></td>
<td class="parameter_description"><p>the <a class="link" href="WebKitWebContext.html" title="WebKitWebContext"><span class="type">WebKitWebContext</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="webkit-web-context-is-ephemeral.returns"></a><h4>Returns</h4>
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>context</code></em>
is ephemeral or <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
</div>
<p class="since">Since: <a class="link" href="api-index-2-16.html#api-index-2.16">2.16</a></p>
</div>
<hr>
<div class="refsect2">
<a name="webkit-web-context-get-website-data-manager"></a><h3>webkit_web_context_get_website_data_manager ()</h3>
<pre class="programlisting"><a class="link" href="WebKitWebsiteDataManager.html" title="WebKitWebsiteDataManager"><span class="returnvalue">WebKitWebsiteDataManager</span></a> *
webkit_web_context_get_website_data_manager
......@@ -738,7 +800,7 @@ a valid <a class="link" href="WebKitNetworkProxySettings.html" title="WebKitNetw
</tbody>
</table></div>
</div>
<p class="since">Since: 2.16</p>
<p class="since">Since: <a class="link" href="api-index-2-16.html#api-index-2.16">2.16</a></p>
</div>
<hr>
<div class="refsect2">
......@@ -1605,7 +1667,7 @@ permissions.</p>
</tbody>
</table></div>
</div>
<p class="since">Since: 2.16</p>
<p class="since">Since: <a class="link" href="api-index-2-16.html#api-index-2.16">2.16</a></p>
</div>
<hr>
<div class="refsect2">
......@@ -1936,7 +1998,7 @@ about_uri_scheme_request_cb (WebKitURISchemeRequest *request,
</tbody>
</table></div>
</div>
<p class="since">Since: 2.16</p>
<p class="since">Since: <a class="link" href="api-index-2-16.html#api-index-2.16">2.16</a></p>
</div>
</div>
<div class="refsect1">
......@@ -2037,7 +2099,7 @@ signal was emitted, then there is no need to call
</table></div>
</div>
<p>Flags: <a href="../gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
<p class="since">Since: 2.16</p>
<p class="since">Since: <a class="link" href="api-index-2-16.html#api-index-2.16">2.16</a></p>
</div>
<hr>
<div class="refsect2">
......
......@@ -502,7 +502,7 @@ clients should take a reference to keep them alive.</p>
</table></div>
</div>
<p>Flags: <a href="../gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
<p class="since">Since: 2.16</p>
<p class="since">Since: <a class="link" href="api-index-2-16.html#api-index-2.16">2.16</a></p>
</div>
<hr>
<div class="refsect2">
......
......@@ -85,6 +85,14 @@
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="WebKitWebView.html#webkit-web-view-is-ephemeral" title="webkit_web_view_is_ephemeral ()">webkit_web_view_is_ephemeral</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="WebKitWebContext.html" title="WebKitWebContext"><span class="returnvalue">WebKitWebContext</span></a> *
</td>
<td class="function_name">
......@@ -691,6 +699,11 @@
</tr>
<tr>
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
<td class="property_name"><a class="link" href="WebKitWebView.html#WebKitWebView--is-ephemeral" title="The “is-ephemeral” property">is-ephemeral</a></td>
<td class="property_flags">Read / Write / Construct Only</td>
</tr>