Commit 6a6c6dc0 authored by Alberto Garcia's avatar Alberto Garcia
Browse files

New upstream version 2.17.5

parent d4d4bb53

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.
cmake_minimum_required(VERSION 2.8.12)
cmake_minimum_required(VERSION 3.3)
project(WebKit)
# This should be removed once we require CMake 3.3.
if (POLICY CMP0058)
cmake_policy(SET CMP0058 NEW)
endif ()
set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/Source/cmake")
set(ENABLE_WEBCORE ON)
......@@ -46,10 +41,20 @@ if (${CMAKE_CXX_COMPILER_ID} STREQUAL "Clang" OR ${CMAKE_CXX_COMPILER_ID} STREQU
set(COMPILER_IS_CLANG ON)
endif ()
if (${CMAKE_CXX_COMPILER_ID} STREQUAL "GNU")
if (${CMAKE_CXX_COMPILER_VERSION} VERSION_LESS "5.0.0")
message(FATAL_ERROR "GCC 5.0.0 is required to build WebKitGTK+, use a newer GCC version or clang")
endif ()
endif ()
if (CMAKE_COMPILER_IS_GNUCXX OR COMPILER_IS_CLANG)
set(COMPILER_IS_GCC_OR_CLANG ON)
endif ()
if (MSVC AND COMPILER_IS_CLANG)
set(COMPILER_IS_CLANG_CL ON)
endif ()
# -----------------------------------------------------------------------------
# Determine the target processor
# -----------------------------------------------------------------------------
......@@ -114,6 +119,7 @@ else ()
set(WebCore_LIBRARY_TYPE STATIC)
endif ()
set(WTF_LIBRARY_TYPE STATIC)
set(JavaScriptCore_LIBRARY_TYPE SHARED)
set(PAL_LIBRARY_TYPE STATIC)
set(WebKit_LIBRARY_TYPE SHARED)
......@@ -144,11 +150,6 @@ if (ENABLE_API_TESTS)
enable_testing()
endif ()
# -----------------------------------------------------------------------------
# Define packaging
# -----------------------------------------------------------------------------
include(WebKitPackaging)
# -----------------------------------------------------------------------------
# Add module directories
# -----------------------------------------------------------------------------
......
......@@ -30,7 +30,7 @@
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="WebKitAutomationSession.top_of_page"></a>WebKitAutomationSession</span></h2>
<p>WebKitAutomationSession — Automation Session</p>
<p>WebKitAutomationSession</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
......@@ -103,12 +103,6 @@
</div>
<div class="refsect1">
<a name="WebKitAutomationSession.description"></a><h2>Description</h2>
<p>WebKitAutomationSession represents an automation session of a WebKitWebContext.
When a new session is requested, a WebKitAutomationSession is created and the signal
WebKitWebContext::automation-started is emitted with the WebKitAutomationSession as
argument. Then, the automation client can request the session to create a new
<a class="link" href="WebKitWebView.html" title="WebKitWebView"><span class="type">WebKitWebView</span></a> to interact with it. When this happens the signal <a class="link" href="WebKitAutomationSession.html#WebKitAutomationSession-create-web-view" title="The “create-web-view” signal"><span class="type">“create-web-view”</span></a>
is emitted.</p>
</div>
<div class="refsect1">
<a name="WebKitAutomationSession.functions_details"></a><h2>Functions</h2>
......@@ -116,28 +110,6 @@ is emitted.</p>
<a name="webkit-automation-session-get-id"></a><h3>webkit_automation_session_get_id ()</h3>
<pre class="programlisting">const <span class="returnvalue">char</span> *
webkit_automation_session_get_id (<em class="parameter"><code><a class="link" href="WebKitAutomationSession.html" title="WebKitAutomationSession"><span class="type">WebKitAutomationSession</span></a> *session</code></em>);</pre>
<p>Get the unique identifier of a <a class="link" href="WebKitAutomationSession.html" title="WebKitAutomationSession"><span class="type">WebKitAutomationSession</span></a></p>
<div class="refsect3">
<a name="webkit-automation-session-get-id.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>session</p></td>
<td class="parameter_description"><p>a <a class="link" href="WebKitAutomationSession.html" title="WebKitAutomationSession"><span class="type">WebKitAutomationSession</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="webkit-automation-session-get-id.returns"></a><h4>Returns</h4>
<p> the unique identifier of <em class="parameter"><code>session</code></em>
</p>
</div>
<p class="since">Since: <a class="link" href="api-index-2-18.html#api-index-2.18">2.18</a></p>
</div>
</div>
<div class="refsect1">
......@@ -152,10 +124,9 @@ webkit_automation_session_get_id (<em class="parameter"><code><a class="link" hr
<div class="refsect2">
<a name="WebKitAutomationSession--id"></a><h3>The <code class="literal">“id”</code> property</h3>
<pre class="programlisting"> “id” <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
<p>The session unique identifier.</p>
<p>The automation session identifier.</p>
<p>Flags: Read / Write / Construct Only</p>
<p>Default value: NULL</p>
<p class="since">Since: <a class="link" href="api-index-2-18.html#api-index-2.18">2.18</a></p>
</div>
</div>
<div class="refsect1">
......@@ -163,42 +134,9 @@ webkit_automation_session_get_id (<em class="parameter"><code><a class="link" hr
<div class="refsect2">
<a name="WebKitAutomationSession-create-web-view"></a><h3>The <code class="literal">“create-web-view”</code> signal</h3>
<pre class="programlisting"><a class="link" href="WebKitWebView.html" title="WebKitWebView"><span class="returnvalue">WebKitWebView</span></a>*
user_function (<a class="link" href="WebKitAutomationSession.html" title="WebKitAutomationSession"><span class="type">WebKitAutomationSession</span></a> *session,
user_function (<a class="link" href="WebKitAutomationSession.html" title="WebKitAutomationSession"><span class="type">WebKitAutomationSession</span></a> *webkitautomationsession,
<a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
<p>This signal is emitted when the automation client requests a new
browsing context to interact with it. The callback handler should
return a <a class="link" href="WebKitWebView.html" title="WebKitWebView"><span class="type">WebKitWebView</span></a> created with <a class="link" href="WebKitWebView.html#WebKitWebView--is-controlled-by-automation" title="The “is-controlled-by-automation” property"><span class="type">“is-controlled-by-automation”</span></a>
construct property enabled. The returned <a class="link" href="WebKitWebView.html" title="WebKitWebView"><span class="type">WebKitWebView</span></a> could be an existing
web view or a new one created and added to a new tab or window.</p>
<div class="refsect3">
<a name="WebKitAutomationSession-create-web-view.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>session</p></td>
<td class="parameter_description"><p>a <a class="link" href="WebKitAutomationSession.html" title="WebKitAutomationSession"><span class="type">WebKitAutomationSession</span></a></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>
<div class="refsect3">
<a name="WebKitAutomationSession-create-web-view.returns"></a><h4>Returns</h4>
<p> a <a class="link" href="WebKitWebView.html" title="WebKitWebView"><span class="type">WebKitWebView</span></a> widget. </p>
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
</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-18.html#api-index-2.18">2.18</a></p>
</div>
</div>
</div>
......
......@@ -28,7 +28,7 @@
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="WebKitBackForwardListItem.top_of_page"></a>WebKitBackForwardListItem</span></h2>
<p>WebKitBackForwardListItem — One item of the <a class="link" href="WebKitBackForwardList.html" title="WebKitBackForwardList"><span class="type">WebKitBackForwardList</span></a></p>
<p>WebKitBackForwardListItem</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
......@@ -86,8 +86,6 @@
</div>
<div class="refsect1">
<a name="WebKitBackForwardListItem.description"></a><h2>Description</h2>
<p>A history item is part of the <a class="link" href="WebKitBackForwardList.html" title="WebKitBackForwardList"><span class="type">WebKitBackForwardList</span></a> and consists
out of a title and a URI.</p>
</div>
<div class="refsect1">
<a name="WebKitBackForwardListItem.functions_details"></a><h2>Functions</h2>
......@@ -96,57 +94,12 @@ out of a title and a URI.</p>
<pre class="programlisting">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
webkit_back_forward_list_item_get_title
(<em class="parameter"><code><a class="link" href="WebKitBackForwardListItem.html" title="WebKitBackForwardListItem"><span class="type">WebKitBackForwardListItem</span></a> *list_item</code></em>);</pre>
<div class="refsect3">
<a name="webkit-back-forward-list-item-get-title.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>list_item</p></td>
<td class="parameter_description"><p>a <a class="link" href="WebKitBackForwardListItem.html" title="WebKitBackForwardListItem"><span class="type">WebKitBackForwardListItem</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="webkit-back-forward-list-item-get-title.returns"></a><h4>Returns</h4>
<p> the page title of <em class="parameter"><code>list_item</code></em>
or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
when the title is empty.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="webkit-back-forward-list-item-get-uri"></a><h3>webkit_back_forward_list_item_get_uri ()</h3>
<pre class="programlisting">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
webkit_back_forward_list_item_get_uri (<em class="parameter"><code><a class="link" href="WebKitBackForwardListItem.html" title="WebKitBackForwardListItem"><span class="type">WebKitBackForwardListItem</span></a> *list_item</code></em>);</pre>
<p>This URI may differ from the original URI if the page was,
for example, redirected to a new location.
See also <a class="link" href="WebKitBackForwardListItem.html#webkit-back-forward-list-item-get-original-uri" title="webkit_back_forward_list_item_get_original_uri ()"><code class="function">webkit_back_forward_list_item_get_original_uri()</code></a>.</p>
<div class="refsect3">
<a name="webkit-back-forward-list-item-get-uri.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>list_item</p></td>
<td class="parameter_description"><p>a <a class="link" href="WebKitBackForwardListItem.html" title="WebKitBackForwardListItem"><span class="type">WebKitBackForwardListItem</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="webkit-back-forward-list-item-get-uri.returns"></a><h4>Returns</h4>
<p> the URI of <em class="parameter"><code>list_item</code></em>
or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
when the URI is empty.</p>
</div>
</div>
<hr>
<div class="refsect2">
......@@ -154,28 +107,6 @@ when the URI is empty.</p>
<pre class="programlisting">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
webkit_back_forward_list_item_get_original_uri
(<em class="parameter"><code><a class="link" href="WebKitBackForwardListItem.html" title="WebKitBackForwardListItem"><span class="type">WebKitBackForwardListItem</span></a> *list_item</code></em>);</pre>
<p>See also <a class="link" href="WebKitBackForwardListItem.html#webkit-back-forward-list-item-get-uri" title="webkit_back_forward_list_item_get_uri ()"><code class="function">webkit_back_forward_list_item_get_uri()</code></a>.</p>
<div class="refsect3">
<a name="webkit-back-forward-list-item-get-original-uri.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>list_item</p></td>
<td class="parameter_description"><p>a <a class="link" href="WebKitBackForwardListItem.html" title="WebKitBackForwardListItem"><span class="type">WebKitBackForwardListItem</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="webkit-back-forward-list-item-get-original-uri.returns"></a><h4>Returns</h4>
<p> the original URI of <em class="parameter"><code>list_item</code></em>
or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
when the original URI is empty.</p>
</div>
</div>
</div>
<div class="refsect1">
......@@ -185,10 +116,6 @@ when the original URI is empty.</p>
<pre class="programlisting">struct WebKitBackForwardListItem;</pre>
</div>
</div>
<div class="refsect1">
<a name="WebKitBackForwardListItem.see-also"></a><h2>See Also</h2>
<p><a class="link" href="WebKitBackForwardList.html" title="WebKitBackForwardList"><span class="type">WebKitBackForwardList</span></a></p>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.25.1</div>
......
......@@ -135,192 +135,42 @@
<a name="webkit-console-message-copy"></a><h3>webkit_console_message_copy ()</h3>
<pre class="programlisting"><a class="link" href="WebKitConsoleMessage.html" title="WebKitConsoleMessage"><span class="returnvalue">WebKitConsoleMessage</span></a> *
webkit_console_message_copy (<em class="parameter"><code><a class="link" href="WebKitConsoleMessage.html" title="WebKitConsoleMessage"><span class="type">WebKitConsoleMessage</span></a> *console_message</code></em>);</pre>
<p>Make a copy of <em class="parameter"><code>console_message</code></em>
.</p>
<div class="refsect3">
<a name="webkit-console-message-copy.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>console_message</p></td>
<td class="parameter_description"><p>a <a class="link" href="WebKitConsoleMessage.html" title="WebKitConsoleMessage"><span class="type">WebKitConsoleMessage</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="webkit-console-message-copy.returns"></a><h4>Returns</h4>
<p> A copy of passed in <a class="link" href="WebKitConsoleMessage.html" title="WebKitConsoleMessage"><span class="type">WebKitConsoleMessage</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-12.html#api-index-2.12">2.12</a></p>
</div>
<hr>
<div class="refsect2">
<a name="webkit-console-message-free"></a><h3>webkit_console_message_free ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
webkit_console_message_free (<em class="parameter"><code><a class="link" href="WebKitConsoleMessage.html" title="WebKitConsoleMessage"><span class="type">WebKitConsoleMessage</span></a> *console_message</code></em>);</pre>
<p>Free the <a class="link" href="WebKitConsoleMessage.html" title="WebKitConsoleMessage"><span class="type">WebKitConsoleMessage</span></a></p>
<div class="refsect3">
<a name="webkit-console-message-free.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>console_message</p></td>
<td class="parameter_description"><p>a <a class="link" href="WebKitConsoleMessage.html" title="WebKitConsoleMessage"><span class="type">WebKitConsoleMessage</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-12.html#api-index-2.12">2.12</a></p>
</div>
<hr>
<div class="refsect2">
<a name="webkit-console-message-get-source"></a><h3>webkit_console_message_get_source ()</h3>
<pre class="programlisting"><a class="link" href="WebKitConsoleMessage.html#WebKitConsoleMessageSource" title="enum WebKitConsoleMessageSource"><span class="returnvalue">WebKitConsoleMessageSource</span></a>
webkit_console_message_get_source (<em class="parameter"><code><a class="link" href="WebKitConsoleMessage.html" title="WebKitConsoleMessage"><span class="type">WebKitConsoleMessage</span></a> *console_message</code></em>);</pre>
<p>Gets the source of a <a class="link" href="WebKitConsoleMessage.html" title="WebKitConsoleMessage"><span class="type">WebKitConsoleMessage</span></a></p>
<div class="refsect3">
<a name="webkit-console-message-get-source.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>console_message</p></td>
<td class="parameter_description"><p>a <a class="link" href="WebKitConsoleMessage.html" title="WebKitConsoleMessage"><span class="type">WebKitConsoleMessage</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="webkit-console-message-get-source.returns"></a><h4>Returns</h4>
<p> a <a class="link" href="WebKitConsoleMessage.html#WebKitConsoleMessageSource" title="enum WebKitConsoleMessageSource"><span class="type">WebKitConsoleMessageSource</span></a> indicating the source of <em class="parameter"><code>console_message</code></em>
</p>
</div>
<p class="since">Since: <a class="link" href="api-index-2-12.html#api-index-2.12">2.12</a></p>
</div>
<hr>
<div class="refsect2">
<a name="webkit-console-message-get-level"></a><h3>webkit_console_message_get_level ()</h3>
<pre class="programlisting"><a class="link" href="WebKitConsoleMessage.html#WebKitConsoleMessageLevel" title="enum WebKitConsoleMessageLevel"><span class="returnvalue">WebKitConsoleMessageLevel</span></a>
webkit_console_message_get_level (<em class="parameter"><code><a class="link" href="WebKitConsoleMessage.html" title="WebKitConsoleMessage"><span class="type">WebKitConsoleMessage</span></a> *console_message</code></em>);</pre>
<p>Gets the log level of a <a class="link" href="WebKitConsoleMessage.html" title="WebKitConsoleMessage"><span class="type">WebKitConsoleMessage</span></a></p>
<div class="refsect3">
<a name="webkit-console-message-get-level.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>console_message</p></td>
<td class="parameter_description"><p>a <a class="link" href="WebKitConsoleMessage.html" title="WebKitConsoleMessage"><span class="type">WebKitConsoleMessage</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="webkit-console-message-get-level.returns"></a><h4>Returns</h4>
<p> a <a class="link" href="WebKitConsoleMessage.html#WebKitConsoleMessageLevel" title="enum WebKitConsoleMessageLevel"><span class="type">WebKitConsoleMessageLevel</span></a> indicating the log level of <em class="parameter"><code>console_message</code></em>
</p>
</div>
<p class="since">Since: <a class="link" href="api-index-2-12.html#api-index-2.12">2.12</a></p>
</div>
<hr>
<div class="refsect2">
<a name="webkit-console-message-get-text"></a><h3>webkit_console_message_get_text ()</h3>
<pre class="programlisting">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
webkit_console_message_get_text (<em class="parameter"><code><a class="link" href="WebKitConsoleMessage.html" title="WebKitConsoleMessage"><span class="type">WebKitConsoleMessage</span></a> *console_message</code></em>);</pre>
<p>Gets the text message of a <a class="link" href="WebKitConsoleMessage.html" title="WebKitConsoleMessage"><span class="type">WebKitConsoleMessage</span></a></p>
<div class="refsect3">
<a name="webkit-console-message-get-text.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>console_message</p></td>
<td class="parameter_description"><p>a <a class="link" href="WebKitConsoleMessage.html" title="WebKitConsoleMessage"><span class="type">WebKitConsoleMessage</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="webkit-console-message-get-text.returns"></a><h4>Returns</h4>
<p> the text message of <em class="parameter"><code>console_message</code></em>
</p>
</div>
<p class="since">Since: <a class="link" href="api-index-2-12.html#api-index-2.12">2.12</a></p>
</div>
<hr>
<div class="refsect2">
<a name="webkit-console-message-get-line"></a><h3>webkit_console_message_get_line ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
webkit_console_message_get_line (<em class="parameter"><code><a class="link" href="WebKitConsoleMessage.html" title="WebKitConsoleMessage"><span class="type">WebKitConsoleMessage</span></a> *console_message</code></em>);</pre>
<p>Gets the line number of a <a class="link" href="WebKitConsoleMessage.html" title="WebKitConsoleMessage"><span class="type">WebKitConsoleMessage</span></a></p>
<div class="refsect3">
<a name="webkit-console-message-get-line.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>console_message</p></td>
<td class="parameter_description"><p>a <a class="link" href="WebKitConsoleMessage.html" title="WebKitConsoleMessage"><span class="type">WebKitConsoleMessage</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="webkit-console-message-get-line.returns"></a><h4>Returns</h4>
<p> the line number of <em class="parameter"><code>console_message</code></em>
</p>
</div>
<p class="since">Since: <a class="link" href="api-index-2-12.html#api-index-2.12">2.12</a></p>
</div>
<hr>
<div class="refsect2">
<a name="webkit-console-message-get-source-id"></a><h3>webkit_console_message_get_source_id ()</h3>
<pre class="programlisting">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
webkit_console_message_get_source_id (<em class="parameter"><code><a class="link" href="WebKitConsoleMessage.html" title="WebKitConsoleMessage"><span class="type">WebKitConsoleMessage</span></a> *console_message</code></em>);</pre>
<p>Gets the source identifier of a <a class="link" href="WebKitConsoleMessage.html" title="WebKitConsoleMessage"><span class="type">WebKitConsoleMessage</span></a></p>
<div class="refsect3">
<a name="webkit-console-message-get-source-id.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>console_message</p></td>
<td class="parameter_description"><p>a <a class="link" href="WebKitConsoleMessage.html" title="WebKitConsoleMessage"><span class="type">WebKitConsoleMessage</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="webkit-console-message-get-source-id.returns"></a><h4>Returns</h4>
<p> the source identifier of <em class="parameter"><code>console_message</code></em>
</p>
</div>
<p class="since">Since: <a class="link" href="api-index-2-12.html#api-index-2.12">2.12</a></p>
</div>
</div>
<div class="refsect1">
......
......@@ -29,7 +29,7 @@
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="WebKitEditorState.top_of_page"></a>WebKitEditorState</span></h2>
<p>WebKitEditorState — Web editor state</p>
<p>WebKitEditorState</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
......@@ -92,9 +92,6 @@
</div>
<div class="refsect1">
<a name="WebKitEditorState.description"></a><h2>Description</h2>
<p>WebKitEditorState represents the state of a <a class="link" href="WebKitWebView.html" title="WebKitWebView"><span class="type">WebKitWebView</span></a> editor.
Use <a class="link" href="WebKitWebView.html#webkit-web-view-get-editor-state" title="webkit_web_view_get_editor_state ()"><code class="function">webkit_web_view_get_editor_state()</code></a> to get WebKitEditorState of
a <a class="link" href="WebKitWebView.html" title="WebKitWebView"><span class="type">WebKitWebView</span></a>.</p>
</div>
<div class="refsect1">
<a name="WebKitEditorState.functions_details"></a><h2>Functions</h2>
......@@ -103,31 +100,6 @@ a <a class="link" href="WebKitWebView.html" title="WebKitWebView"><span class="t
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
webkit_editor_state_get_typing_attributes
(<em class="parameter"><code><a class="link" href="WebKitEditorState.html" title="WebKitEditorState"><span class="type">WebKitEditorState</span></a> *editor_state</code></em>);</pre>
<p>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.</p>
<div class="refsect3">
<a name="webkit-editor-state-get-typing-attributes.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>editor_state</p></td>
<td class="parameter_description"><p>a <a class="link" href="WebKitEditorState.html" title="WebKitEditorState"><span class="type">WebKitEditorState</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="webkit-editor-state-get-typing-attributes.returns"></a><h4>Returns</h4>
<p> a bitmask of <a class="link" href="WebKitEditorState.html#WebKitEditorTypingAttributes" title="enum WebKitEditorTypingAttributes"><span class="type">WebKitEditorTypingAttributes</span></a> flags</p>
</div>
<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p>
</div>
</div>
<div class="refsect1">
......@@ -195,16 +167,10 @@ present throughout the selection.</p>
<div class="refsect2">
<a name="WebKitEditorState--typing-attributes"></a><h3>The <code class="literal">“typing-attributes”</code> property</h3>
<pre class="programlisting"> “typing-attributes” <a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></pre>
<p>Bitmask of <a class="link" href="WebKitEditorState.html#WebKitEditorTypingAttributes" title="enum WebKitEditorTypingAttributes"><span class="type">WebKitEditorTypingAttributes</span></a> flags.
See <a class="link" href="WebKitEditorState.html#webkit-editor-state-get-typing-attributes" title="webkit_editor_state_get_typing_attributes ()"><code class="function">webkit_editor_state_get_typing_attributes()</code></a> for more information.</p>
<p>Flags with the typing attributes.</p>
<p>Flags: Read</p>
<p>Default value: 0</p>
<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p>
</div>
</div>
<div class="refsect1">
<a name="WebKitEditorState.see-also"></a><h2>See Also</h2>
<p><a class="link" href="WebKitWebView.html" title="WebKitWebView"><span class="type">WebKitWebView</span></a></p>
</div>
</div>
<div class="footer">
......