Commit 0427c9a2 authored by Alberto Garcia's avatar Alberto Garcia
Browse files

Merge branch 'wk2/experimental' into wk2/unstable

parents 2dde8f66 8e1e2d5d

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.
......@@ -31,6 +31,10 @@ if (NOT DEFINED ENABLE_TOOLS AND EXISTS "${CMAKE_SOURCE_DIR}/Tools")
set(ENABLE_TOOLS ON)
endif ()
if (NOT DEFINED ENABLE_WEBINSPECTORUI)
set(ENABLE_WEBINSPECTORUI ON)
endif ()
# -----------------------------------------------------------------------------
# Determine which port will be built
# -----------------------------------------------------------------------------
......@@ -187,11 +191,7 @@ if (ENABLE_TOOLS)
add_subdirectory(Tools)
endif ()
if ("${PORT}" STREQUAL "GTK" OR "${PORT}" STREQUAL "WPE")
if (DEVELOPER_MODE)
add_subdirectory(PerformanceTests)
endif ()
else ()
if (DEVELOPER_MODE)
add_subdirectory(PerformanceTests)
endif ()
......
......@@ -71,7 +71,7 @@
<div class="refsect1">
<a name="JSCVirtualMachine.description"></a><h2>Description</h2>
<p>JSCVirtualMachine represents a group of JSCContexts. It allows
concurrent JavaScript exeution by creating a different instance of
concurrent JavaScript execution by creating a different instance of
JSCVirtualMachine in each thread.</p>
<p>To create a group of JSCContexts pass the same JSCVirtualMachine
instance to every JSCContext constructor.</p>
......
......@@ -14,7 +14,7 @@
<div class="titlepage">
<div>
<div><table class="navigation" id="top" width="100%" cellpadding="2" cellspacing="0"><tr><th valign="middle"><p class="title">JavaScriptCore GLib Reference Manual</p></th></tr></table></div>
<div><p class="releaseinfo">for JavaScriptCore 2.28.4</p></div>
<div><p class="releaseinfo">for JavaScriptCore 2.30.1</p></div>
</div>
<hr>
</div>
......
......@@ -169,13 +169,13 @@ have included when compiling your code.</p>
<hr>
<div class="refsect2">
<a name="JSC-MINOR-VERSION:CAPS"></a><h3>JSC_MINOR_VERSION</h3>
<pre class="programlisting">#define JSC_MINOR_VERSION (28)
<pre class="programlisting">#define JSC_MINOR_VERSION (30)
</pre>
</div>
<hr>
<div class="refsect2">
<a name="JSC-MICRO-VERSION:CAPS"></a><h3>JSC_MICRO_VERSION</h3>
<pre class="programlisting">#define JSC_MICRO_VERSION (4)
<pre class="programlisting">#define JSC_MICRO_VERSION (1)
</pre>
</div>
</div>
......
......@@ -66,6 +66,14 @@
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="WebKitAuthenticationRequest.html#webkit-authentication-request-set-can-save-credentials" title="webkit_authentication_request_set_can_save_credentials ()">webkit_authentication_request_set_can_save_credentials</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
......@@ -82,6 +90,14 @@
</tr>
<tr>
<td class="function_type">
<a class="link" href="WebKitSecurityOrigin.html" title="WebKitSecurityOrigin"><span class="returnvalue">WebKitSecurityOrigin</span></a> *
</td>
<td class="function_name">
<a class="link" href="WebKitAuthenticationRequest.html#webkit-authentication-request-get-security-origin" title="webkit_authentication_request_get_security_origin ()">webkit_authentication_request_get_security_origin</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">
......@@ -97,6 +113,14 @@
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="WebKitAuthenticationRequest.html#webkit-authentication-request-set-proposed-credential" title="webkit_authentication_request_set_proposed_credential ()">webkit_authentication_request_set_proposed_credential</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
......@@ -184,11 +208,18 @@
<col width="300px" class="signal_proto_name">
<col width="200px" class="signal_proto_flags">
</colgroup>
<tbody><tr>
<tbody>
<tr>
<td class="signal_type"><span class="returnvalue">void</span></td>
<td class="signal_name"><a class="link" href="WebKitAuthenticationRequest.html#WebKitAuthenticationRequest-authenticated" title="The “authenticated” signal">authenticated</a></td>
<td class="signal_flags"><a href="../gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
</tr>
<tr>
<td class="signal_type"><span class="returnvalue">void</span></td>
<td class="signal_name"><a class="link" href="WebKitAuthenticationRequest.html#WebKitAuthenticationRequest-cancelled" title="The “cancelled” signal">cancelled</a></td>
<td class="signal_flags"><a href="../gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
</tr></tbody>
</tr>
</tbody>
</table></div>
</div>
<a name="WebKitCredential"></a><div class="refsect1">
......@@ -307,8 +338,10 @@ webkit_authentication_request_can_save_credentials
(<em class="parameter"><code><a class="link" href="WebKitAuthenticationRequest.html" title="WebKitAuthenticationRequest"><span class="type">WebKitAuthenticationRequest</span></a> *request</code></em>);</pre>
<p>Determine whether the authentication method associated with this
<a class="link" href="WebKitAuthenticationRequest.html" title="WebKitAuthenticationRequest"><span class="type">WebKitAuthenticationRequest</span></a> should allow the storage of credentials.
This will return <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if WebKit doesn't support credential storing
or if private browsing is enabled.</p>
This will return <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if WebKit doesn't support credential storing,
if private browsing is enabled, or if persistent credential storage has been
disabled in <a class="link" href="WebKitWebsiteDataManager.html" title="WebKitWebsiteDataManager"><span class="type">WebKitWebsiteDataManager</span></a>, unless credentials saving has been
explicitly enabled with <a class="link" href="WebKitAuthenticationRequest.html#webkit-authentication-request-set-can-save-credentials" title="webkit_authentication_request_set_can_save_credentials ()"><code class="function">webkit_authentication_request_set_can_save_credentials()</code></a>.</p>
<div class="refsect3">
<a name="webkit-authentication-request-can-save-credentials.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
......@@ -332,6 +365,45 @@ or if private browsing is enabled.</p>
</div>
<hr>
<div class="refsect2">
<a name="webkit-authentication-request-set-can-save-credentials"></a><h3>webkit_authentication_request_set_can_save_credentials ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
webkit_authentication_request_set_can_save_credentials
(<em class="parameter"><code><a class="link" href="WebKitAuthenticationRequest.html" title="WebKitAuthenticationRequest"><span class="type">WebKitAuthenticationRequest</span></a> *request</code></em>,
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> enabled</code></em>);</pre>
<p>Set whether the authentication method associated with <em class="parameter"><code>request</code></em>
should allow the storage of credentials.
This should be used by applications handling their own credentials
storage to indicate that it should be supported even when internal
credential storage is disabled or unsupported.
Note that storing of credentials will not be allowed on ephemeral
sessions in any case.</p>
<div class="refsect3">
<a name="webkit-authentication-request-set-can-save-credentials.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>request</p></td>
<td class="parameter_description"><p>a <a class="link" href="WebKitAuthenticationRequest.html" title="WebKitAuthenticationRequest"><span class="type">WebKitAuthenticationRequest</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 set</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-2-30.html#api-index-2.30">2.30</a></p>
</div>
<hr>
<div class="refsect2">
<a name="webkit-authentication-request-get-host"></a><h3>webkit_authentication_request_get_host ()</h3>
<pre class="programlisting">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
webkit_authentication_request_get_host
......@@ -390,6 +462,35 @@ webkit_authentication_request_get_port
</div>
<hr>
<div class="refsect2">
<a name="webkit-authentication-request-get-security-origin"></a><h3>webkit_authentication_request_get_security_origin ()</h3>
<pre class="programlisting"><a class="link" href="WebKitSecurityOrigin.html" title="WebKitSecurityOrigin"><span class="returnvalue">WebKitSecurityOrigin</span></a> *
webkit_authentication_request_get_security_origin
(<em class="parameter"><code><a class="link" href="WebKitAuthenticationRequest.html" title="WebKitAuthenticationRequest"><span class="type">WebKitAuthenticationRequest</span></a> *request</code></em>);</pre>
<p>Get the <a class="link" href="WebKitSecurityOrigin.html" title="WebKitSecurityOrigin"><span class="type">WebKitSecurityOrigin</span></a> that this authentication challenge is applicable to.</p>
<div class="refsect3">
<a name="webkit-authentication-request-get-security-origin.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>request</p></td>
<td class="parameter_description"><p>a <a class="link" href="WebKitAuthenticationRequest.html" title="WebKitAuthenticationRequest"><span class="type">WebKitAuthenticationRequest</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="webkit-authentication-request-get-security-origin.returns"></a><h4>Returns</h4>
<p>a newly created <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: <a class="link" href="api-index-2-30.html#api-index-2.30">2.30</a></p>
</div>
<hr>
<div class="refsect2">
<a name="webkit-authentication-request-is-retry"></a><h3>webkit_authentication_request_is_retry ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
webkit_authentication_request_is_retry
......@@ -450,6 +551,44 @@ or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">N
</div>
<hr>
<div class="refsect2">
<a name="webkit-authentication-request-set-proposed-credential"></a><h3>webkit_authentication_request_set_proposed_credential ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
webkit_authentication_request_set_proposed_credential
(<em class="parameter"><code><a class="link" href="WebKitAuthenticationRequest.html" title="WebKitAuthenticationRequest"><span class="type">WebKitAuthenticationRequest</span></a> *request</code></em>,
<em class="parameter"><code><a class="link" href="WebKitAuthenticationRequest.html#WebKitCredential"><span class="type">WebKitCredential</span></a> *credential</code></em>);</pre>
<p>Set the <a class="link" href="WebKitAuthenticationRequest.html#WebKitCredential"><span class="type">WebKitCredential</span></a> of the proposed authentication challenge that was
stored from a previous session. This should only be used by applications handling
their own credential storage. (When using the default WebKit credential storage,
<a class="link" href="WebKitAuthenticationRequest.html#webkit-authentication-request-get-proposed-credential" title="webkit_authentication_request_get_proposed_credential ()"><code class="function">webkit_authentication_request_get_proposed_credential()</code></a> already contains previously-stored
credentials.)
Passing a <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> <em class="parameter"><code>credential</code></em>
will clear the proposed credential.</p>
<div class="refsect3">
<a name="webkit-authentication-request-set-proposed-credential.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>request</p></td>
<td class="parameter_description"><p>a <a class="link" href="WebKitAuthenticationRequest.html" title="WebKitAuthenticationRequest"><span class="type">WebKitAuthenticationRequest</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>credential</p></td>
<td class="parameter_description"><p>a <a class="link" href="WebKitAuthenticationRequest.html#WebKitCredential"><span class="type">WebKitCredential</span></a>, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-2-30.html#api-index-2.30">2.30</a></p>
</div>
<hr>
<div class="refsect2">
<a name="webkit-authentication-request-get-realm"></a><h3>webkit_authentication_request_get_realm ()</h3>
<pre class="programlisting">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
webkit_authentication_request_get_realm
......@@ -871,6 +1010,46 @@ webkit_credential_has_password (<em class="parameter"><code><a class="link" href
<div class="refsect1">
<a name="WebKitAuthenticationRequest.signal-details"></a><h2>Signal Details</h2>
<div class="refsect2">
<a name="WebKitAuthenticationRequest-authenticated"></a><h3>The <code class="literal">“authenticated”</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
user_function (<a class="link" href="WebKitAuthenticationRequest.html" title="WebKitAuthenticationRequest"><span class="type">WebKitAuthenticationRequest</span></a> *request,
<a class="link" href="WebKitAuthenticationRequest.html#WebKitCredential"><span class="type">WebKitCredential</span></a> *credential,
<a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
<p>This signal is emitted when the user authentication request succeeded.
Applications handling their own credential storage should connect to
this signal to save the credentials.</p>
<div class="refsect3">
<a name="WebKitAuthenticationRequest-authenticated.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>request</p></td>
<td class="parameter_description"><p>the <a class="link" href="WebKitAuthenticationRequest.html" title="WebKitAuthenticationRequest"><span class="type">WebKitAuthenticationRequest</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>credential</p></td>
<td class="parameter_description"><p>the <a class="link" href="WebKitAuthenticationRequest.html#WebKitCredential"><span class="type">WebKitCredential</span></a> accepted</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p>Flags: <a href="../gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
<p class="since">Since: <a class="link" href="api-index-2-30.html#api-index-2.30">2.30</a></p>
</div>
<hr>
<div class="refsect2">
<a name="WebKitAuthenticationRequest-cancelled"></a><h3>The <code class="literal">“cancelled”</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
user_function (<a class="link" href="WebKitAuthenticationRequest.html" title="WebKitAuthenticationRequest"><span class="type">WebKitAuthenticationRequest</span></a> *request,
......
......@@ -260,10 +260,10 @@ webkit_context_menu_item_new_from_stock_action
Stock actions are handled automatically by WebKit so that, for example,
when a menu item created with a <a class="link" href="WebKitContextMenuItem.html#WEBKIT-CONTEXT-MENU-ACTION-STOP:CAPS"><code class="literal">WEBKIT_CONTEXT_MENU_ACTION_STOP</code></a> is
activated the action associated will be handled by WebKit and the current
load operation will be stopped. You can get the <a href="../gtk3/GtkAction.html#GtkAction-struct"><span class="type">GtkAction</span></a> of a
load operation will be stopped. You can get the <a href="../gio/GAction.html#GAction-struct"><span class="type">GAction</span></a> of a
<a class="link" href="WebKitContextMenuItem.html" title="WebKitContextMenuItem"><span class="type">WebKitContextMenuItem</span></a> created with a <a class="link" href="WebKitContextMenuItem.html#WebKitContextMenuAction" title="enum WebKitContextMenuAction"><span class="type">WebKitContextMenuAction</span></a> with
<a class="link" href="WebKitContextMenuItem.html#webkit-context-menu-item-get-action" title="webkit_context_menu_item_get_action ()"><code class="function">webkit_context_menu_item_get_action()</code></a> and connect to <a href="../gtk3/GtkAction.html#GtkAction-activate"><span class="type">“activate”</span></a> signal
to be notified when the item is activated. But you can't prevent the associated
<a class="link" href="WebKitContextMenuItem.html#webkit-context-menu-item-get-gaction" title="webkit_context_menu_item_get_gaction ()"><code class="function">webkit_context_menu_item_get_gaction()</code></a> and connect to the <a href="../gio/GSimpleAction.html#GSimpleAction-activate"><span class="type">“activate”</span></a> signal
to be notified when the item is activated, but you can't prevent the associated
action from being performed.</p>
<div class="refsect3">
<a name="webkit-context-menu-item-new-from-stock-action.parameters"></a><h4>Parameters</h4>
......@@ -898,6 +898,13 @@ doesn't have a submenu. </p>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WEBKIT-CONTEXT-MENU-ACTION-PASTE-AS-PLAIN-TEXT:CAPS"></a>WEBKIT_CONTEXT_MENU_ACTION_PASTE_AS_PLAIN_TEXT</p></td>
<td class="enum_member_description">
<p>Paste clipboard contents as plain text. Since 2.30</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WEBKIT-CONTEXT-MENU-ACTION-CUSTOM:CAPS"></a>WEBKIT_CONTEXT_MENU_ACTION_CUSTOM</p></td>
<td class="enum_member_description">
<p>Custom action defined by applications.</p>
......
......@@ -267,7 +267,12 @@ webkit_cookie_manager_set_accept_policy
<em class="parameter"><code><a class="link" href="WebKitCookieManager.html#WebKitCookieAcceptPolicy" title="enum WebKitCookieAcceptPolicy"><span class="type">WebKitCookieAcceptPolicy</span></a> policy</code></em>);</pre>
<p>Set the cookie acceptance policy of <em class="parameter"><code>cookie_manager</code></em>
as <em class="parameter"><code>policy</code></em>
.</p>
.
Note that ITP has its own way to handle third-party cookies, so when it's enabled,
and <em class="parameter"><code>policy</code></em>
is set to <a class="link" href="WebKitCookieManager.html#WEBKIT-COOKIE-POLICY-ACCEPT-NO-THIRD-PARTY:CAPS"><code class="literal">WEBKIT_COOKIE_POLICY_ACCEPT_NO_THIRD_PARTY</code></a>, <a class="link" href="WebKitCookieManager.html#WEBKIT-COOKIE-POLICY-ACCEPT-ALWAYS:CAPS"><code class="literal">WEBKIT_COOKIE_POLICY_ACCEPT_ALWAYS</code></a>
will be used instead. Once disabled, the policy will be set back to <a class="link" href="WebKitCookieManager.html#WEBKIT-COOKIE-POLICY-ACCEPT-NO-THIRD-PARTY:CAPS"><code class="literal">WEBKIT_COOKIE_POLICY_ACCEPT_NO_THIRD_PARTY</code></a>.
See also <a class="link" href="WebKitWebsiteDataManager.html#webkit-website-data-manager-set-itp-enabled" title="webkit_website_data_manager_set_itp_enabled ()"><code class="function">webkit_website_data_manager_set_itp_enabled()</code></a>.</p>
<div class="refsect3">
<a name="webkit-cookie-manager-set-accept-policy.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
......@@ -301,7 +306,10 @@ webkit_cookie_manager_get_accept_policy
<em class="parameter"><code><a href="../gio/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
<p>Asynchronously get the cookie acceptance policy of <em class="parameter"><code>cookie_manager</code></em>
.</p>
.
Note that when policy was set to <a class="link" href="WebKitCookieManager.html#WEBKIT-COOKIE-POLICY-ACCEPT-NO-THIRD-PARTY:CAPS"><code class="literal">WEBKIT_COOKIE_POLICY_ACCEPT_NO_THIRD_PARTY</code></a> and
ITP is enabled, this will return <a class="link" href="WebKitCookieManager.html#WEBKIT-COOKIE-POLICY-ACCEPT-ALWAYS:CAPS"><code class="literal">WEBKIT_COOKIE_POLICY_ACCEPT_ALWAYS</code></a>.
See also <a class="link" href="WebKitWebsiteDataManager.html#webkit-website-data-manager-set-itp-enabled" title="webkit_website_data_manager_set_itp_enabled ()"><code class="function">webkit_website_data_manager_set_itp_enabled()</code></a>.</p>
<p>When the operation is finished, <em class="parameter"><code>callback</code></em>
will be called. You can then call
<a class="link" href="WebKitCookieManager.html#webkit-cookie-manager-get-accept-policy-finish" title="webkit_cookie_manager_get_accept_policy_finish ()"><code class="function">webkit_cookie_manager_get_accept_policy_finish()</code></a> to get the result of the operation.</p>
......
......@@ -7,7 +7,7 @@
<link rel="home" href="index.html" title="WebKitGTK Reference Manual">
<link rel="up" href="ch01.html" title="Class Overview">
<link rel="prev" href="WebKitPointerLockPermissionRequest.html" title="WebKitPointerLockPermissionRequest">
<link rel="next" href="ch02.html" title="Web Extensions">
<link rel="next" href="WebKitWebsiteDataAccessPermissionRequest.html" title="WebKitWebsiteDataAccessPermissionRequest">
<meta name="generator" content="GTK-Doc V1.32.1 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
......@@ -23,7 +23,7 @@
<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="WebKitPointerLockPermissionRequest.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>
<td><a accesskey="n" href="WebKitWebsiteDataAccessPermissionRequest.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="WebKitInputMethodContext"></a><div class="titlepage"></div>
......
......@@ -90,7 +90,7 @@ WebKitPermissionRequest requires
<a name="WebKitPermissionRequest.implementations"></a><h2>Known Implementations</h2>
<p>
WebKitPermissionRequest is implemented by
<a class="link" href="WebKitDeviceInfoPermissionRequest.html" title="WebKitDeviceInfoPermissionRequest">WebKitDeviceInfoPermissionRequest</a>, <a class="link" href="WebKitGeolocationPermissionRequest.html" title="WebKitGeolocationPermissionRequest">WebKitGeolocationPermissionRequest</a>, <a class="link" href="WebKitInstallMissingMediaPluginsPermissionRequest.html" title="WebKitInstallMissingMediaPluginsPermissionRequest">WebKitInstallMissingMediaPluginsPermissionRequest</a>, <a class="link" href="WebKitNotificationPermissionRequest.html" title="WebKitNotificationPermissionRequest">WebKitNotificationPermissionRequest</a>, <a class="link" href="WebKitPointerLockPermissionRequest.html" title="WebKitPointerLockPermissionRequest">WebKitPointerLockPermissionRequest</a> and <a class="link" href="WebKitUserMediaPermissionRequest.html" title="WebKitUserMediaPermissionRequest">WebKitUserMediaPermissionRequest</a>.</p>
<a class="link" href="WebKitDeviceInfoPermissionRequest.html" title="WebKitDeviceInfoPermissionRequest">WebKitDeviceInfoPermissionRequest</a>, <a class="link" href="WebKitGeolocationPermissionRequest.html" title="WebKitGeolocationPermissionRequest">WebKitGeolocationPermissionRequest</a>, <a class="link" href="WebKitInstallMissingMediaPluginsPermissionRequest.html" title="WebKitInstallMissingMediaPluginsPermissionRequest">WebKitInstallMissingMediaPluginsPermissionRequest</a>, <a class="link" href="WebKitNotificationPermissionRequest.html" title="WebKitNotificationPermissionRequest">WebKitNotificationPermissionRequest</a>, <a class="link" href="WebKitPointerLockPermissionRequest.html" title="WebKitPointerLockPermissionRequest">WebKitPointerLockPermissionRequest</a>, <a class="link" href="WebKitUserMediaPermissionRequest.html" title="WebKitUserMediaPermissionRequest">WebKitUserMediaPermissionRequest</a> and <a class="link" href="WebKitWebsiteDataAccessPermissionRequest.html" title="WebKitWebsiteDataAccessPermissionRequest">WebKitWebsiteDataAccessPermissionRequest</a>.</p>
</div>
<div class="refsect1">
<a name="WebKitPermissionRequest.description"></a><h2>Description</h2>
......
......@@ -64,6 +64,14 @@
<a class="link" href="WebKitPolicyDecision.html#webkit-policy-decision-use" title="webkit_policy_decision_use ()">webkit_policy_decision_use</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="WebKitPolicyDecision.html#webkit-policy-decision-use-with-policies" title="webkit_policy_decision_use_with_policies ()">webkit_policy_decision_use_with_policies</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
......@@ -168,6 +176,45 @@ webkit_policy_decision_use (<em class="parameter"><code><a class="link" href="We
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="webkit-policy-decision-use-with-policies"></a><h3>webkit_policy_decision_use_with_policies ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
webkit_policy_decision_use_with_policies
(<em class="parameter"><code><a class="link" href="WebKitPolicyDecision.html" title="WebKitPolicyDecision"><span class="type">WebKitPolicyDecision</span></a> *decision</code></em>,
<em class="parameter"><code><span class="type">WebKitWebsitePolicies</span> *policies</code></em>);</pre>
<p>Accept the navigation action which triggered this decision, and
continue with <em class="parameter"><code>policies</code></em>
affecting all subsequent loads of resources
in the origin associated with the accepted navigation action.</p>
<p>For example, a navigation decision to a video sharing website may
be accepted under the priviso no movies are allowed to autoplay. The
autoplay policy in this case would be set in the <em class="parameter"><code>policies</code></em>
.</p>
<div class="refsect3">
<a name="webkit-policy-decision-use-with-policies.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>decision</p></td>
<td class="parameter_description"><p>a <a class="link" href="WebKitPolicyDecision.html" title="WebKitPolicyDecision"><span class="type">WebKitPolicyDecision</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>policies</p></td>
<td class="parameter_description"><p>a <span class="type">WebKitWebsitePolicies</span></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-2-30.html#api-index-2.30">2.30</a></p>
</div>
</div>
<div class="refsect1">
<a name="WebKitPolicyDecision.other_details"></a><h2>Types and Values</h2>
......
......@@ -1000,6 +1000,21 @@
<a class="link" href="WebKitSettings.html#webkit-settings-set-enable-media" title="webkit_settings_set_enable_media ()">webkit_settings_set_enable_media</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="WebKitSettings.html#webkit-settings-get-media-content-types-requiring-hardware-support" title="webkit_settings_get_media_content_types_requiring_hardware_support ()">webkit_settings_get_media_content_types_requiring_hardware_support</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-media-content-types-requiring-hardware-support" title="webkit_settings_set_media_content_types_requiring_hardware_support ()">webkit_settings_set_media_content_types_requiring_hardware_support</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
......@@ -1257,6 +1272,12 @@
<td class="property_flags">Read / Write / Construct</td>
</tr>
<tr>
<td class="property_type">
<a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
<td class="property_name"><a class="link" href="WebKitSettings.html#WebKitSettings--media-content-types-requiring-hardware-support" title="The “media-content-types-requiring-hardware-support” property">media-content-types-requiring-hardware-support</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--media-playback-allows-inline" title="The “media-playback-allows-inline” property">media-playback-allows-inline</a></td>
<td class="property_flags">Read / Write / Construct</td>
......@@ -4866,6 +4887,66 @@ webkit_settings_set_enable_media (<em class="parameter"><code><a class="link" hr
</div>
<p class="since">Since: <a class="link" href="api-index-2-26.html#api-index-2.26">2.26</a></p>
</div>
<hr>
<div class="refsect2">
<a name="webkit-settings-get-media-content-types-requiring-hardware-support"></a><h3>webkit_settings_get_media_content_types_requiring_hardware_support ()</h3>
<pre class="programlisting">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
webkit_settings_get_media_content_types_requiring_hardware_support
(<em class="parameter"><code><a class="link" href="WebKitSettings.html" title="WebKitSettings"><span class="type">WebKitSettings</span></a> *settings</code></em>);</pre>
<p>Gets the <a class="link" href="WebKitSettings.html#WebKitSettings--media-content-types-requiring-hardware-support" title="The “media-content-types-requiring-hardware-support” property"><span class="type">“media-content-types-requiring-hardware-support”</span></a> property.</p>
<div class="refsect3">
<a name="webkit-settings-get-media-content-types-requiring-hardware-support.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>
<div class="refsect3">
<a name="webkit-settings-get-media-content-types-requiring-hardware-support.returns"></a><h4>Returns</h4>
<p> Media content types requiring hardware support, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p>
</div>
<p class="since">Since: <a class="link" href="api-index-2-30.html#api-index-2.30">2.30</a></p>
</div>
<hr>
<div class="refsect2">
<a name="webkit-settings-set-media-content-types-requiring-hardware-support"></a><h3>webkit_settings_set_media_content_types_requiring_hardware_support ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
webkit_settings_set_media_content_types_requiring_hardware_support
(<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>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *content_types</code></em>);</pre>
<p>Set the <a class="link" href="WebKitSettings.html#WebKitSettings--media-content-types-requiring-hardware-support" title="The “media-content-types-requiring-hardware-support” property"><span class="type">“media-content-types-requiring-hardware-support”</span></a> property.</p>
<div class="refsect3">
<a name="webkit-settings-set-media-content-types-requiring-hardware-support.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>