[vala] webkit-1.0: Update to WebKitGTK+ 1.1.10
- From: Jürg Billeter <juergbi src gnome org>
- To: svn-commits-list gnome org
- Subject: [vala] webkit-1.0: Update to WebKitGTK+ 1.1.10
- Date: Sun, 28 Jun 2009 19:42:11 +0000 (UTC)
commit f1b90f8487cfa63c18871f7786b288b72ac2d3c0
Author: Jürg Billeter <j bitron ch>
Date: Sun Jun 28 21:40:46 2009 +0200
webkit-1.0: Update to WebKitGTK+ 1.1.10
vapi/packages/webkit-1.0/webkit-1.0.deps | 1 +
vapi/packages/webkit-1.0/webkit-1.0.gi | 667 ++++++++++++++++++++++++--
vapi/packages/webkit-1.0/webkit-1.0.metadata | 1 +
vapi/webkit-1.0.deps | 1 +
vapi/webkit-1.0.vapi | 265 ++++++++++-
5 files changed, 893 insertions(+), 42 deletions(-)
---
diff --git a/vapi/packages/webkit-1.0/webkit-1.0.deps b/vapi/packages/webkit-1.0/webkit-1.0.deps
index 4dc3754..e959068 100644
--- a/vapi/packages/webkit-1.0/webkit-1.0.deps
+++ b/vapi/packages/webkit-1.0/webkit-1.0.deps
@@ -5,3 +5,4 @@ pango
gdk-pixbuf-2.0
gdk-2.0
gtk+-2.0
+libsoup-2.4
diff --git a/vapi/packages/webkit-1.0/webkit-1.0.gi b/vapi/packages/webkit-1.0/webkit-1.0.gi
index b958e73..d32a40b 100644
--- a/vapi/packages/webkit-1.0/webkit-1.0.gi
+++ b/vapi/packages/webkit-1.0/webkit-1.0.gi
@@ -1,16 +1,195 @@
<?xml version="1.0"?>
<api version="1.0">
<namespace name="WebKit">
- <enum name="WebKitNavigationResponse">
+ <function name="check_version" symbol="webkit_check_version">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="major" type="guint"/>
+ <parameter name="minor" type="guint"/>
+ <parameter name="micro" type="guint"/>
+ </parameters>
+ </function>
+ <function name="get_default_session" symbol="webkit_get_default_session">
+ <return-type type="SoupSession*"/>
+ </function>
+ <function name="major_version" symbol="webkit_major_version">
+ <return-type type="guint"/>
+ </function>
+ <function name="micro_version" symbol="webkit_micro_version">
+ <return-type type="guint"/>
+ </function>
+ <function name="minor_version" symbol="webkit_minor_version">
+ <return-type type="guint"/>
+ </function>
+ <function name="network_error_quark" symbol="webkit_network_error_quark">
+ <return-type type="GQuark"/>
+ </function>
+ <function name="plugin_error_quark" symbol="webkit_plugin_error_quark">
+ <return-type type="GQuark"/>
+ </function>
+ <function name="policy_error_quark" symbol="webkit_policy_error_quark">
+ <return-type type="GQuark"/>
+ </function>
+ <enum name="WebKitDownloadError" type-name="WebKitDownloadError" get-type="webkit_download_error_get_type">
+ <member name="WEBKIT_DOWNLOAD_ERROR_CANCELLED_BY_USER" value="0"/>
+ <member name="WEBKIT_DOWNLOAD_ERROR_DESTINATION" value="1"/>
+ <member name="WEBKIT_DOWNLOAD_ERROR_NETWORK" value="2"/>
+ </enum>
+ <enum name="WebKitDownloadStatus" type-name="WebKitDownloadStatus" get-type="webkit_download_status_get_type">
+ <member name="WEBKIT_DOWNLOAD_STATUS_ERROR" value="-1"/>
+ <member name="WEBKIT_DOWNLOAD_STATUS_CREATED" value="0"/>
+ <member name="WEBKIT_DOWNLOAD_STATUS_STARTED" value="1"/>
+ <member name="WEBKIT_DOWNLOAD_STATUS_CANCELLED" value="2"/>
+ <member name="WEBKIT_DOWNLOAD_STATUS_FINISHED" value="3"/>
+ </enum>
+ <enum name="WebKitLoadStatus" type-name="WebKitLoadStatus" get-type="webkit_load_status_get_type">
+ <member name="WEBKIT_LOAD_PROVISIONAL" value="0"/>
+ <member name="WEBKIT_LOAD_COMMITTED" value="1"/>
+ <member name="WEBKIT_LOAD_FINISHED" value="2"/>
+ </enum>
+ <enum name="WebKitNavigationResponse" type-name="WebKitNavigationResponse" get-type="webkit_navigation_response_get_type">
<member name="WEBKIT_NAVIGATION_RESPONSE_ACCEPT" value="0"/>
<member name="WEBKIT_NAVIGATION_RESPONSE_IGNORE" value="1"/>
<member name="WEBKIT_NAVIGATION_RESPONSE_DOWNLOAD" value="2"/>
</enum>
- <enum name="WebKitWebViewTargetInfo">
- <member name="WEBKIT_WEB_VIEW_TARGET_INFO_HTML" value="-1"/>
- <member name="WEBKIT_WEB_VIEW_TARGET_INFO_TEXT" value="-2"/>
+ <enum name="WebKitNetworkError" type-name="WebKitNetworkError" get-type="webkit_network_error_get_type">
+ <member name="WEBKIT_NETWORK_ERROR_FAILED" value="399"/>
+ <member name="WEBKIT_NETWORK_ERROR_TRANSPORT" value="300"/>
+ <member name="WEBKIT_NETWORK_ERROR_UNKNOWN_PROTOCOL" value="301"/>
+ <member name="WEBKIT_NETWORK_ERROR_CANCELLED" value="302"/>
+ <member name="WEBKIT_NETWORK_ERROR_FILE_DOES_NOT_EXIST" value="303"/>
+ </enum>
+ <enum name="WebKitPluginError" type-name="WebKitPluginError" get-type="webkit_plugin_error_get_type">
+ <member name="WEBKIT_PLUGIN_ERROR_FAILED" value="299"/>
+ <member name="WEBKIT_PLUGIN_ERROR_CANNOT_FIND_PLUGIN" value="200"/>
+ <member name="WEBKIT_PLUGIN_ERROR_CANNOT_LOAD_PLUGIN" value="201"/>
+ <member name="WEBKIT_PLUGIN_ERROR_JAVA_UNAVAILABLE" value="202"/>
+ <member name="WEBKIT_PLUGIN_ERROR_CONNECTION_CANCELLED" value="203"/>
+ <member name="WEBKIT_PLUGIN_ERROR_WILL_HANDLE_LOAD" value="204"/>
+ </enum>
+ <enum name="WebKitPolicyError" type-name="WebKitPolicyError" get-type="webkit_policy_error_get_type">
+ <member name="WEBKIT_POLICY_ERROR_FAILED" value="199"/>
+ <member name="WEBKIT_POLICY_ERROR_CANNOT_SHOW_MIME_TYPE" value="100"/>
+ <member name="WEBKIT_POLICY_ERROR_CANNOT_SHOW_URL" value="101"/>
+ <member name="WEBKIT_POLICY_ERROR_FRAME_LOAD_INTERRUPTED_BY_POLICY_CHANGE" value="102"/>
+ <member name="WEBKIT_POLICY_ERROR_CANNOT_USE_RESTRICTED_PORT" value="103"/>
+ </enum>
+ <enum name="WebKitWebNavigationReason" type-name="WebKitWebNavigationReason" get-type="webkit_web_navigation_reason_get_type">
+ <member name="WEBKIT_WEB_NAVIGATION_REASON_LINK_CLICKED" value="0"/>
+ <member name="WEBKIT_WEB_NAVIGATION_REASON_FORM_SUBMITTED" value="1"/>
+ <member name="WEBKIT_WEB_NAVIGATION_REASON_BACK_FORWARD" value="2"/>
+ <member name="WEBKIT_WEB_NAVIGATION_REASON_RELOAD" value="3"/>
+ <member name="WEBKIT_WEB_NAVIGATION_REASON_FORM_RESUBMITTED" value="4"/>
+ <member name="WEBKIT_WEB_NAVIGATION_REASON_OTHER" value="5"/>
</enum>
+ <enum name="WebKitWebViewTargetInfo" type-name="WebKitWebViewTargetInfo" get-type="webkit_web_view_target_info_get_type">
+ <member name="WEBKIT_WEB_VIEW_TARGET_INFO_HTML" value="0"/>
+ <member name="WEBKIT_WEB_VIEW_TARGET_INFO_TEXT" value="1"/>
+ </enum>
+ <object name="WebKitDownload" parent="GObject" type-name="WebKitDownload" get-type="webkit_download_get_type">
+ <method name="cancel" symbol="webkit_download_cancel">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="download" type="WebKitDownload*"/>
+ </parameters>
+ </method>
+ <method name="get_current_size" symbol="webkit_download_get_current_size">
+ <return-type type="guint64"/>
+ <parameters>
+ <parameter name="download" type="WebKitDownload*"/>
+ </parameters>
+ </method>
+ <method name="get_destination_uri" symbol="webkit_download_get_destination_uri">
+ <return-type type="gchar*"/>
+ <parameters>
+ <parameter name="download" type="WebKitDownload*"/>
+ </parameters>
+ </method>
+ <method name="get_elapsed_time" symbol="webkit_download_get_elapsed_time">
+ <return-type type="gdouble"/>
+ <parameters>
+ <parameter name="download" type="WebKitDownload*"/>
+ </parameters>
+ </method>
+ <method name="get_network_request" symbol="webkit_download_get_network_request">
+ <return-type type="WebKitNetworkRequest*"/>
+ <parameters>
+ <parameter name="download" type="WebKitDownload*"/>
+ </parameters>
+ </method>
+ <method name="get_progress" symbol="webkit_download_get_progress">
+ <return-type type="gdouble"/>
+ <parameters>
+ <parameter name="download" type="WebKitDownload*"/>
+ </parameters>
+ </method>
+ <method name="get_status" symbol="webkit_download_get_status">
+ <return-type type="WebKitDownloadStatus"/>
+ <parameters>
+ <parameter name="download" type="WebKitDownload*"/>
+ </parameters>
+ </method>
+ <method name="get_suggested_filename" symbol="webkit_download_get_suggested_filename">
+ <return-type type="gchar*"/>
+ <parameters>
+ <parameter name="download" type="WebKitDownload*"/>
+ </parameters>
+ </method>
+ <method name="get_total_size" symbol="webkit_download_get_total_size">
+ <return-type type="guint64"/>
+ <parameters>
+ <parameter name="download" type="WebKitDownload*"/>
+ </parameters>
+ </method>
+ <method name="get_uri" symbol="webkit_download_get_uri">
+ <return-type type="gchar*"/>
+ <parameters>
+ <parameter name="download" type="WebKitDownload*"/>
+ </parameters>
+ </method>
+ <constructor name="new" symbol="webkit_download_new">
+ <return-type type="WebKitDownload*"/>
+ <parameters>
+ <parameter name="request" type="WebKitNetworkRequest*"/>
+ </parameters>
+ </constructor>
+ <method name="set_destination_uri" symbol="webkit_download_set_destination_uri">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="download" type="WebKitDownload*"/>
+ <parameter name="destination_uri" type="gchar*"/>
+ </parameters>
+ </method>
+ <method name="start" symbol="webkit_download_start">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="download" type="WebKitDownload*"/>
+ </parameters>
+ </method>
+ <property name="current-size" type="guint64" readable="1" writable="0" construct="0" construct-only="0"/>
+ <property name="destination-uri" type="char*" readable="1" writable="1" construct="0" construct-only="0"/>
+ <property name="network-request" type="WebKitNetworkRequest*" readable="1" writable="1" construct="0" construct-only="1"/>
+ <property name="progress" type="gdouble" readable="1" writable="0" construct="0" construct-only="0"/>
+ <property name="status" type="WebKitDownloadStatus" readable="1" writable="0" construct="0" construct-only="0"/>
+ <property name="suggested-filename" type="char*" readable="1" writable="0" construct="0" construct-only="0"/>
+ <property name="total-size" type="guint64" readable="1" writable="0" construct="0" construct-only="0"/>
+ <signal name="error" when="LAST">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="object" type="WebKitDownload*"/>
+ <parameter name="p0" type="gint"/>
+ <parameter name="p1" type="gint"/>
+ <parameter name="p2" type="char*"/>
+ </parameters>
+ </signal>
+ </object>
<object name="WebKitNetworkRequest" parent="GObject" type-name="WebKitNetworkRequest" get-type="webkit_network_request_get_type">
+ <method name="get_message" symbol="webkit_network_request_get_message">
+ <return-type type="SoupMessage*"/>
+ <parameters>
+ <parameter name="request" type="WebKitNetworkRequest*"/>
+ </parameters>
+ </method>
<method name="get_uri" symbol="webkit_network_request_get_uri">
<return-type type="gchar*"/>
<parameters>
@@ -30,8 +209,29 @@
<parameter name="uri" type="gchar*"/>
</parameters>
</method>
+ <property name="message" type="SoupMessage*" readable="1" writable="1" construct="0" construct-only="1"/>
+ <property name="uri" type="char*" readable="1" writable="1" construct="0" construct-only="0"/>
+ </object>
+ <object name="WebKitSoupAuthDialog" parent="GObject" type-name="WebKitSoupAuthDialog" get-type="webkit_soup_auth_dialog_get_type">
+ <implements>
+ <interface name="SoupSessionFeature"/>
+ </implements>
+ <signal name="current-toplevel" when="LAST">
+ <return-type type="GtkWidget*"/>
+ <parameters>
+ <parameter name="feature" type="WebKitSoupAuthDialog*"/>
+ <parameter name="message" type="SoupMessage*"/>
+ </parameters>
+ </signal>
</object>
<object name="WebKitWebBackForwardList" parent="GObject" type-name="WebKitWebBackForwardList" get-type="webkit_web_back_forward_list_get_type">
+ <method name="add_item" symbol="webkit_web_back_forward_list_add_item">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="web_back_forward_list" type="WebKitWebBackForwardList*"/>
+ <parameter name="history_item" type="WebKitWebHistoryItem*"/>
+ </parameters>
+ </method>
<method name="contains_item" symbol="webkit_web_back_forward_list_contains_item">
<return-type type="gboolean"/>
<parameters>
@@ -143,6 +343,12 @@
<parameter name="frame" type="WebKitWebFrame*"/>
</parameters>
</method>
+ <method name="get_load_status" symbol="webkit_web_frame_get_load_status">
+ <return-type type="WebKitLoadStatus"/>
+ <parameters>
+ <parameter name="frame" type="WebKitWebFrame*"/>
+ </parameters>
+ </method>
<method name="get_name" symbol="webkit_web_frame_get_name">
<return-type type="gchar*"/>
<parameters>
@@ -173,6 +379,15 @@
<parameter name="frame" type="WebKitWebFrame*"/>
</parameters>
</method>
+ <method name="load_alternate_string" symbol="webkit_web_frame_load_alternate_string">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="frame" type="WebKitWebFrame*"/>
+ <parameter name="content" type="gchar*"/>
+ <parameter name="base_url" type="gchar*"/>
+ <parameter name="unreachable_url" type="gchar*"/>
+ </parameters>
+ </method>
<method name="load_request" symbol="webkit_web_frame_load_request">
<return-type type="void"/>
<parameters>
@@ -180,12 +395,44 @@
<parameter name="request" type="WebKitNetworkRequest*"/>
</parameters>
</method>
+ <method name="load_string" symbol="webkit_web_frame_load_string">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="frame" type="WebKitWebFrame*"/>
+ <parameter name="content" type="gchar*"/>
+ <parameter name="mime_type" type="gchar*"/>
+ <parameter name="encoding" type="gchar*"/>
+ <parameter name="base_uri" type="gchar*"/>
+ </parameters>
+ </method>
+ <method name="load_uri" symbol="webkit_web_frame_load_uri">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="frame" type="WebKitWebFrame*"/>
+ <parameter name="uri" type="gchar*"/>
+ </parameters>
+ </method>
<constructor name="new" symbol="webkit_web_frame_new">
<return-type type="WebKitWebFrame*"/>
<parameters>
<parameter name="web_view" type="WebKitWebView*"/>
</parameters>
</constructor>
+ <method name="print" symbol="webkit_web_frame_print">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="frame" type="WebKitWebFrame*"/>
+ </parameters>
+ </method>
+ <method name="print_full" symbol="webkit_web_frame_print_full">
+ <return-type type="GtkPrintOperationResult"/>
+ <parameters>
+ <parameter name="frame" type="WebKitWebFrame*"/>
+ <parameter name="operation" type="GtkPrintOperation*"/>
+ <parameter name="action" type="GtkPrintOperationAction"/>
+ <parameter name="error" type="GError**"/>
+ </parameters>
+ </method>
<method name="reload" symbol="webkit_web_frame_reload">
<return-type type="void"/>
<parameters>
@@ -198,6 +445,7 @@
<parameter name="frame" type="WebKitWebFrame*"/>
</parameters>
</method>
+ <property name="load-status" type="WebKitLoadStatus" readable="1" writable="0" construct="0" construct-only="0"/>
<property name="name" type="char*" readable="1" writable="0" construct="0" construct-only="0"/>
<property name="title" type="char*" readable="1" writable="0" construct="0" construct-only="0"/>
<property name="uri" type="char*" readable="1" writable="0" construct="0" construct-only="0"/>
@@ -284,6 +532,129 @@
<parameter name="title" type="gchar*"/>
</parameters>
</method>
+ <property name="alternate-title" type="char*" readable="1" writable="1" construct="0" construct-only="0"/>
+ <property name="last-visited-time" type="gdouble" readable="1" writable="0" construct="0" construct-only="0"/>
+ <property name="original-uri" type="char*" readable="1" writable="0" construct="0" construct-only="0"/>
+ <property name="title" type="char*" readable="1" writable="0" construct="0" construct-only="0"/>
+ <property name="uri" type="char*" readable="1" writable="0" construct="0" construct-only="0"/>
+ </object>
+ <object name="WebKitWebInspector" parent="GObject" type-name="WebKitWebInspector" get-type="webkit_web_inspector_get_type">
+ <method name="get_inspected_uri" symbol="webkit_web_inspector_get_inspected_uri">
+ <return-type type="gchar*"/>
+ <parameters>
+ <parameter name="web_inspector" type="WebKitWebInspector*"/>
+ </parameters>
+ </method>
+ <method name="get_web_view" symbol="webkit_web_inspector_get_web_view">
+ <return-type type="WebKitWebView*"/>
+ <parameters>
+ <parameter name="web_inspector" type="WebKitWebInspector*"/>
+ </parameters>
+ </method>
+ <property name="inspected-uri" type="char*" readable="1" writable="0" construct="0" construct-only="0"/>
+ <property name="javascript-profiling-enabled" type="gboolean" readable="1" writable="1" construct="0" construct-only="0"/>
+ <property name="web-view" type="WebKitWebView*" readable="1" writable="0" construct="0" construct-only="0"/>
+ <signal name="attach-window" when="LAST">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="object" type="WebKitWebInspector*"/>
+ </parameters>
+ </signal>
+ <signal name="close-window" when="LAST">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="object" type="WebKitWebInspector*"/>
+ </parameters>
+ </signal>
+ <signal name="detach-window" when="LAST">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="object" type="WebKitWebInspector*"/>
+ </parameters>
+ </signal>
+ <signal name="finished" when="LAST">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="object" type="WebKitWebInspector*"/>
+ </parameters>
+ </signal>
+ <signal name="inspect-web-view" when="LAST">
+ <return-type type="WebKitWebView*"/>
+ <parameters>
+ <parameter name="object" type="WebKitWebInspector*"/>
+ <parameter name="p0" type="WebKitWebView*"/>
+ </parameters>
+ </signal>
+ <signal name="show-window" when="LAST">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="object" type="WebKitWebInspector*"/>
+ </parameters>
+ </signal>
+ </object>
+ <object name="WebKitWebNavigationAction" parent="GObject" type-name="WebKitWebNavigationAction" get-type="webkit_web_navigation_action_get_type">
+ <method name="get_button" symbol="webkit_web_navigation_action_get_button">
+ <return-type type="gint"/>
+ <parameters>
+ <parameter name="navigationAction" type="WebKitWebNavigationAction*"/>
+ </parameters>
+ </method>
+ <method name="get_modifier_state" symbol="webkit_web_navigation_action_get_modifier_state">
+ <return-type type="gint"/>
+ <parameters>
+ <parameter name="navigationAction" type="WebKitWebNavigationAction*"/>
+ </parameters>
+ </method>
+ <method name="get_original_uri" symbol="webkit_web_navigation_action_get_original_uri">
+ <return-type type="gchar*"/>
+ <parameters>
+ <parameter name="navigationAction" type="WebKitWebNavigationAction*"/>
+ </parameters>
+ </method>
+ <method name="get_reason" symbol="webkit_web_navigation_action_get_reason">
+ <return-type type="WebKitWebNavigationReason"/>
+ <parameters>
+ <parameter name="navigationAction" type="WebKitWebNavigationAction*"/>
+ </parameters>
+ </method>
+ <method name="set_original_uri" symbol="webkit_web_navigation_action_set_original_uri">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="navigationAction" type="WebKitWebNavigationAction*"/>
+ <parameter name="originalUri" type="gchar*"/>
+ </parameters>
+ </method>
+ <method name="set_reason" symbol="webkit_web_navigation_action_set_reason">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="navigationAction" type="WebKitWebNavigationAction*"/>
+ <parameter name="reason" type="WebKitWebNavigationReason"/>
+ </parameters>
+ </method>
+ <property name="button" type="gint" readable="1" writable="1" construct="0" construct-only="1"/>
+ <property name="modifier-state" type="gint" readable="1" writable="1" construct="0" construct-only="1"/>
+ <property name="original-uri" type="char*" readable="1" writable="1" construct="1" construct-only="0"/>
+ <property name="reason" type="WebKitWebNavigationReason" readable="1" writable="1" construct="1" construct-only="0"/>
+ </object>
+ <object name="WebKitWebPolicyDecision" parent="GObject" type-name="WebKitWebPolicyDecision" get-type="webkit_web_policy_decision_get_type">
+ <method name="download" symbol="webkit_web_policy_decision_download">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="decision" type="WebKitWebPolicyDecision*"/>
+ </parameters>
+ </method>
+ <method name="ignore" symbol="webkit_web_policy_decision_ignore">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="decision" type="WebKitWebPolicyDecision*"/>
+ </parameters>
+ </method>
+ <method name="use" symbol="webkit_web_policy_decision_use">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="decision" type="WebKitWebPolicyDecision*"/>
+ </parameters>
+ </method>
</object>
<object name="WebKitWebSettings" parent="GObject" type-name="WebKitWebSettings" get-type="webkit_web_settings_get_type">
<method name="copy" symbol="webkit_web_settings_copy">
@@ -302,8 +673,15 @@
<property name="default-font-family" type="char*" readable="1" writable="1" construct="1" construct-only="0"/>
<property name="default-font-size" type="gint" readable="1" writable="1" construct="1" construct-only="0"/>
<property name="default-monospace-font-size" type="gint" readable="1" writable="1" construct="1" construct-only="0"/>
+ <property name="enable-caret-browsing" type="gboolean" readable="1" writable="1" construct="1" construct-only="0"/>
+ <property name="enable-developer-extras" type="gboolean" readable="1" writable="1" construct="1" construct-only="0"/>
+ <property name="enable-html5-database" type="gboolean" readable="1" writable="1" construct="1" construct-only="0"/>
+ <property name="enable-html5-local-storage" type="gboolean" readable="1" writable="1" construct="1" construct-only="0"/>
<property name="enable-plugins" type="gboolean" readable="1" writable="1" construct="1" construct-only="0"/>
+ <property name="enable-private-browsing" type="gboolean" readable="1" writable="1" construct="1" construct-only="0"/>
<property name="enable-scripts" type="gboolean" readable="1" writable="1" construct="1" construct-only="0"/>
+ <property name="enable-spell-checking" type="gboolean" readable="1" writable="1" construct="1" construct-only="0"/>
+ <property name="enforce-96-dpi" type="gboolean" readable="1" writable="1" construct="1" construct-only="0"/>
<property name="fantasy-font-family" type="char*" readable="1" writable="1" construct="1" construct-only="0"/>
<property name="minimum-font-size" type="gint" readable="1" writable="1" construct="1" construct-only="0"/>
<property name="minimum-logical-font-size" type="gint" readable="1" writable="1" construct="1" construct-only="0"/>
@@ -312,7 +690,9 @@
<property name="resizable-text-areas" type="gboolean" readable="1" writable="1" construct="1" construct-only="0"/>
<property name="sans-serif-font-family" type="char*" readable="1" writable="1" construct="1" construct-only="0"/>
<property name="serif-font-family" type="char*" readable="1" writable="1" construct="1" construct-only="0"/>
+ <property name="spell-checking-languages" type="char*" readable="1" writable="1" construct="1" construct-only="0"/>
<property name="user-stylesheet-uri" type="char*" readable="1" writable="1" construct="1" construct-only="0"/>
+ <property name="zoom-step" type="gfloat" readable="1" writable="1" construct="1" construct-only="0"/>
</object>
<object name="WebKitWebView" parent="GtkContainer" type-name="WebKitWebView" get-type="webkit_web_view_get_type">
<implements>
@@ -344,22 +724,23 @@
<parameter name="steps" type="gint"/>
</parameters>
</method>
- <method name="can_go_backward" symbol="webkit_web_view_can_go_backward">
+ <method name="can_go_forward" symbol="webkit_web_view_can_go_forward">
<return-type type="gboolean"/>
<parameters>
<parameter name="web_view" type="WebKitWebView*"/>
</parameters>
</method>
- <method name="can_go_forward" symbol="webkit_web_view_can_go_forward">
+ <method name="can_paste_clipboard" symbol="webkit_web_view_can_paste_clipboard">
<return-type type="gboolean"/>
<parameters>
<parameter name="web_view" type="WebKitWebView*"/>
</parameters>
</method>
- <method name="can_paste_clipboard" symbol="webkit_web_view_can_paste_clipboard">
+ <method name="can_show_mime_type" symbol="webkit_web_view_can_show_mime_type">
<return-type type="gboolean"/>
<parameters>
<parameter name="web_view" type="WebKitWebView*"/>
+ <parameter name="mime_type" type="gchar*"/>
</parameters>
</method>
<method name="copy_clipboard" symbol="webkit_web_view_copy_clipboard">
@@ -399,18 +780,48 @@
<parameter name="web_view" type="WebKitWebView*"/>
</parameters>
</method>
+ <method name="get_custom_encoding" symbol="webkit_web_view_get_custom_encoding">
+ <return-type type="char*"/>
+ <parameters>
+ <parameter name="webView" type="WebKitWebView*"/>
+ </parameters>
+ </method>
<method name="get_editable" symbol="webkit_web_view_get_editable">
<return-type type="gboolean"/>
<parameters>
<parameter name="web_view" type="WebKitWebView*"/>
</parameters>
</method>
+ <method name="get_encoding" symbol="webkit_web_view_get_encoding">
+ <return-type type="gchar*"/>
+ <parameters>
+ <parameter name="webView" type="WebKitWebView*"/>
+ </parameters>
+ </method>
<method name="get_focused_frame" symbol="webkit_web_view_get_focused_frame">
<return-type type="WebKitWebFrame*"/>
<parameters>
<parameter name="web_view" type="WebKitWebView*"/>
</parameters>
</method>
+ <method name="get_full_content_zoom" symbol="webkit_web_view_get_full_content_zoom">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="web_view" type="WebKitWebView*"/>
+ </parameters>
+ </method>
+ <method name="get_inspector" symbol="webkit_web_view_get_inspector">
+ <return-type type="WebKitWebInspector*"/>
+ <parameters>
+ <parameter name="web_view" type="WebKitWebView*"/>
+ </parameters>
+ </method>
+ <method name="get_load_status" symbol="webkit_web_view_get_load_status">
+ <return-type type="WebKitLoadStatus"/>
+ <parameters>
+ <parameter name="web_view" type="WebKitWebView*"/>
+ </parameters>
+ </method>
<method name="get_main_frame" symbol="webkit_web_view_get_main_frame">
<return-type type="WebKitWebFrame*"/>
<parameters>
@@ -423,35 +834,59 @@
<parameter name="web_view" type="WebKitWebView*"/>
</parameters>
</method>
+ <method name="get_progress" symbol="webkit_web_view_get_progress">
+ <return-type type="gdouble"/>
+ <parameters>
+ <parameter name="web_view" type="WebKitWebView*"/>
+ </parameters>
+ </method>
<method name="get_settings" symbol="webkit_web_view_get_settings">
<return-type type="WebKitWebSettings*"/>
<parameters>
<parameter name="web_view" type="WebKitWebView*"/>
</parameters>
</method>
+ <method name="get_title" symbol="webkit_web_view_get_title">
+ <return-type type="gchar*"/>
+ <parameters>
+ <parameter name="web_view" type="WebKitWebView*"/>
+ </parameters>
+ </method>
<method name="get_transparent" symbol="webkit_web_view_get_transparent">
<return-type type="gboolean"/>
<parameters>
<parameter name="web_view" type="WebKitWebView*"/>
</parameters>
</method>
- <method name="go_back" symbol="webkit_web_view_go_back">
- <return-type type="void"/>
+ <method name="get_uri" symbol="webkit_web_view_get_uri">
+ <return-type type="gchar*"/>
<parameters>
<parameter name="web_view" type="WebKitWebView*"/>
</parameters>
</method>
- <method name="go_back_or_forward" symbol="webkit_web_view_go_back_or_forward">
+ <method name="get_window_features" symbol="webkit_web_view_get_window_features">
+ <return-type type="WebKitWebWindowFeatures*"/>
+ <parameters>
+ <parameter name="web_view" type="WebKitWebView*"/>
+ </parameters>
+ </method>
+ <method name="get_zoom_level" symbol="webkit_web_view_get_zoom_level">
+ <return-type type="gfloat"/>
+ <parameters>
+ <parameter name="web_view" type="WebKitWebView*"/>
+ </parameters>
+ </method>
+ <method name="go_back" symbol="webkit_web_view_go_back">
<return-type type="void"/>
<parameters>
<parameter name="web_view" type="WebKitWebView*"/>
- <parameter name="steps" type="gint"/>
</parameters>
</method>
- <method name="go_backward" symbol="webkit_web_view_go_backward">
+ <method name="go_back_or_forward" symbol="webkit_web_view_go_back_or_forward">
<return-type type="void"/>
<parameters>
<parameter name="web_view" type="WebKitWebView*"/>
+ <parameter name="steps" type="gint"/>
</parameters>
</method>
<method name="go_forward" symbol="webkit_web_view_go_forward">
@@ -481,16 +916,30 @@
<parameter name="base_uri" type="gchar*"/>
</parameters>
</method>
+ <method name="load_request" symbol="webkit_web_view_load_request">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="web_view" type="WebKitWebView*"/>
+ <parameter name="request" type="WebKitNetworkRequest*"/>
+ </parameters>
+ </method>
<method name="load_string" symbol="webkit_web_view_load_string">
<return-type type="void"/>
<parameters>
<parameter name="web_view" type="WebKitWebView*"/>
<parameter name="content" type="gchar*"/>
- <parameter name="content_mime_type" type="gchar*"/>
- <parameter name="content_encoding" type="gchar*"/>
+ <parameter name="mime_type" type="gchar*"/>
+ <parameter name="encoding" type="gchar*"/>
<parameter name="base_uri" type="gchar*"/>
</parameters>
</method>
+ <method name="load_uri" symbol="webkit_web_view_load_uri">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="web_view" type="WebKitWebView*"/>
+ <parameter name="uri" type="gchar*"/>
+ </parameters>
+ </method>
<method name="mark_text_matches" symbol="webkit_web_view_mark_text_matches">
<return-type type="guint"/>
<parameters>
@@ -500,6 +949,14 @@
<parameter name="limit" type="guint"/>
</parameters>
</method>
+ <method name="move_cursor" symbol="webkit_web_view_move_cursor">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="webView" type="WebKitWebView*"/>
+ <parameter name="step" type="GtkMovementStep"/>
+ <parameter name="count" type="gint"/>
+ </parameters>
+ </method>
<constructor name="new" symbol="webkit_web_view_new">
<return-type type="GtkWidget*"/>
</constructor>
@@ -522,11 +979,17 @@
<parameter name="web_view" type="WebKitWebView*"/>
</parameters>
</method>
+ <method name="reload_bypass_cache" symbol="webkit_web_view_reload_bypass_cache">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="web_view" type="WebKitWebView*"/>
+ </parameters>
+ </method>
<method name="search_text" symbol="webkit_web_view_search_text">
<return-type type="gboolean"/>
<parameters>
<parameter name="web_view" type="WebKitWebView*"/>
- <parameter name="string" type="gchar*"/>
+ <parameter name="text" type="gchar*"/>
<parameter name="case_sensitive" type="gboolean"/>
<parameter name="forward" type="gboolean"/>
<parameter name="wrap" type="gboolean"/>
@@ -538,6 +1001,13 @@
<parameter name="web_view" type="WebKitWebView*"/>
</parameters>
</method>
+ <method name="set_custom_encoding" symbol="webkit_web_view_set_custom_encoding">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="webView" type="WebKitWebView*"/>
+ <parameter name="encoding" type="gchar*"/>
+ </parameters>
+ </method>
<method name="set_editable" symbol="webkit_web_view_set_editable">
<return-type type="void"/>
<parameters>
@@ -545,6 +1015,13 @@
<parameter name="flag" type="gboolean"/>
</parameters>
</method>
+ <method name="set_full_content_zoom" symbol="webkit_web_view_set_full_content_zoom">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="web_view" type="WebKitWebView*"/>
+ <parameter name="full_content_zoom" type="gboolean"/>
+ </parameters>
+ </method>
<method name="set_highlight_text_matches" symbol="webkit_web_view_set_highlight_text_matches">
<return-type type="void"/>
<parameters>
@@ -573,6 +1050,13 @@
<parameter name="flag" type="gboolean"/>
</parameters>
</method>
+ <method name="set_zoom_level" symbol="webkit_web_view_set_zoom_level">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="web_view" type="WebKitWebView*"/>
+ <parameter name="zoom_level" type="gfloat"/>
+ </parameters>
+ </method>
<method name="stop_loading" symbol="webkit_web_view_stop_loading">
<return-type type="void"/>
<parameters>
@@ -585,11 +1069,33 @@
<parameter name="web_view" type="WebKitWebView*"/>
</parameters>
</method>
+ <method name="zoom_in" symbol="webkit_web_view_zoom_in">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="web_view" type="WebKitWebView*"/>
+ </parameters>
+ </method>
+ <method name="zoom_out" symbol="webkit_web_view_zoom_out">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="web_view" type="WebKitWebView*"/>
+ </parameters>
+ </method>
<property name="copy-target-list" type="GtkTargetList*" readable="1" writable="0" construct="0" construct-only="0"/>
+ <property name="custom-encoding" type="char*" readable="1" writable="1" construct="0" construct-only="0"/>
<property name="editable" type="gboolean" readable="1" writable="1" construct="0" construct-only="0"/>
+ <property name="encoding" type="char*" readable="1" writable="0" construct="0" construct-only="0"/>
+ <property name="full-content-zoom" type="gboolean" readable="1" writable="1" construct="0" construct-only="0"/>
+ <property name="load-status" type="WebKitLoadStatus" readable="1" writable="0" construct="0" construct-only="0"/>
<property name="paste-target-list" type="GtkTargetList*" readable="1" writable="0" construct="0" construct-only="0"/>
+ <property name="progress" type="gdouble" readable="1" writable="0" construct="0" construct-only="0"/>
<property name="settings" type="WebKitWebSettings*" readable="1" writable="1" construct="0" construct-only="0"/>
+ <property name="title" type="char*" readable="1" writable="0" construct="0" construct-only="0"/>
<property name="transparent" type="gboolean" readable="1" writable="1" construct="0" construct-only="0"/>
+ <property name="uri" type="char*" readable="1" writable="0" construct="0" construct-only="0"/>
+ <property name="web-inspector" type="WebKitWebInspector*" readable="1" writable="0" construct="0" construct-only="0"/>
+ <property name="window-features" type="WebKitWebWindowFeatures*" readable="1" writable="1" construct="0" construct-only="0"/>
+ <property name="zoom-level" type="gfloat" readable="1" writable="1" construct="0" construct-only="0"/>
<signal name="console-message" when="LAST">
<return-type type="gboolean"/>
<parameters>
@@ -605,12 +1111,35 @@
<parameter name="web_view" type="WebKitWebView*"/>
</parameters>
</signal>
+ <signal name="create-plugin-widget" when="LAST">
+ <return-type type="GtkWidget*"/>
+ <parameters>
+ <parameter name="object" type="WebKitWebView*"/>
+ <parameter name="p0" type="char*"/>
+ <parameter name="p1" type="char*"/>
+ <parameter name="p2" type="GHashTable*"/>
+ </parameters>
+ </signal>
+ <signal name="create-web-view" when="LAST">
+ <return-type type="WebKitWebView*"/>
+ <parameters>
+ <parameter name="web_view" type="WebKitWebView*"/>
+ <parameter name="web_frame" type="WebKitWebFrame*"/>
+ </parameters>
+ </signal>
<signal name="cut-clipboard" when="LAST">
<return-type type="void"/>
<parameters>
<parameter name="web_view" type="WebKitWebView*"/>
</parameters>
</signal>
+ <signal name="download-requested" when="LAST">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="object" type="WebKitWebView*"/>
+ <parameter name="p0" type="GObject*"/>
+ </parameters>
+ </signal>
<signal name="hovering-over-link" when="LAST">
<return-type type="void"/>
<parameters>
@@ -632,6 +1161,15 @@
<parameter name="p0" type="WebKitWebFrame*"/>
</parameters>
</signal>
+ <signal name="load-error" when="LAST">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="object" type="WebKitWebView*"/>
+ <parameter name="p0" type="WebKitWebFrame*"/>
+ <parameter name="p1" type="char*"/>
+ <parameter name="p2" type="gpointer"/>
+ </parameters>
+ </signal>
<signal name="load-finished" when="LAST">
<return-type type="void"/>
<parameters>
@@ -653,12 +1191,50 @@
<parameter name="p0" type="WebKitWebFrame*"/>
</parameters>
</signal>
+ <signal name="mime-type-policy-decision-requested" when="LAST">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="object" type="WebKitWebView*"/>
+ <parameter name="p0" type="WebKitWebFrame*"/>
+ <parameter name="p1" type="WebKitNetworkRequest*"/>
+ <parameter name="p2" type="char*"/>
+ <parameter name="p3" type="WebKitWebPolicyDecision*"/>
+ </parameters>
+ </signal>
+ <signal name="move-cursor" when="LAST">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="web_view" type="WebKitWebView*"/>
+ <parameter name="step" type="GtkMovementStep"/>
+ <parameter name="count" type="gint"/>
+ </parameters>
+ </signal>
+ <signal name="navigation-policy-decision-requested" when="LAST">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="object" type="WebKitWebView*"/>
+ <parameter name="p0" type="WebKitWebFrame*"/>
+ <parameter name="p1" type="WebKitNetworkRequest*"/>
+ <parameter name="p2" type="WebKitWebNavigationAction*"/>
+ <parameter name="p3" type="WebKitWebPolicyDecision*"/>
+ </parameters>
+ </signal>
<signal name="navigation-requested" when="LAST">
- <return-type type="gint"/>
+ <return-type type="WebKitNavigationResponse"/>
<parameters>
<parameter name="web_view" type="WebKitWebView*"/>
- <parameter name="frame" type="GObject*"/>
- <parameter name="request" type="GObject*"/>
+ <parameter name="frame" type="WebKitWebFrame*"/>
+ <parameter name="request" type="WebKitNetworkRequest*"/>
+ </parameters>
+ </signal>
+ <signal name="new-window-policy-decision-requested" when="LAST">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="object" type="WebKitWebView*"/>
+ <parameter name="p0" type="WebKitWebFrame*"/>
+ <parameter name="p1" type="WebKitNetworkRequest*"/>
+ <parameter name="p2" type="WebKitWebNavigationAction*"/>
+ <parameter name="p3" type="WebKitWebPolicyDecision*"/>
</parameters>
</signal>
<signal name="paste-clipboard" when="LAST">
@@ -674,11 +1250,18 @@
<parameter name="p0" type="GtkMenu*"/>
</parameters>
</signal>
+ <signal name="print-requested" when="LAST">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="object" type="WebKitWebView*"/>
+ <parameter name="p0" type="WebKitWebFrame*"/>
+ </parameters>
+ </signal>
<signal name="script-alert" when="LAST">
<return-type type="gboolean"/>
<parameters>
<parameter name="web_view" type="WebKitWebView*"/>
- <parameter name="frame" type="GObject*"/>
+ <parameter name="frame" type="WebKitWebFrame*"/>
<parameter name="alert_message" type="char*"/>
</parameters>
</signal>
@@ -686,16 +1269,16 @@
<return-type type="gboolean"/>
<parameters>
<parameter name="web_view" type="WebKitWebView*"/>
- <parameter name="frame" type="GObject*"/>
+ <parameter name="frame" type="WebKitWebFrame*"/>
<parameter name="confirm_message" type="char*"/>
- <parameter name="did_confirm" type="gboolean"/>
+ <parameter name="did_confirm" type="gpointer"/>
</parameters>
</signal>
<signal name="script-prompt" when="LAST">
<return-type type="gboolean"/>
<parameters>
<parameter name="web_view" type="WebKitWebView*"/>
- <parameter name="frame" type="GObject*"/>
+ <parameter name="frame" type="WebKitWebFrame*"/>
<parameter name="message" type="char*"/>
<parameter name="default_value" type="char*"/>
<parameter name="value" type="gpointer"/>
@@ -716,9 +1299,9 @@
<signal name="set-scroll-adjustments" when="LAST">
<return-type type="void"/>
<parameters>
- <parameter name="object" type="WebKitWebView*"/>
- <parameter name="p0" type="GtkAdjustment*"/>
- <parameter name="p1" type="GtkAdjustment*"/>
+ <parameter name="web_view" type="WebKitWebView*"/>
+ <parameter name="hadjustment" type="GtkAdjustment*"/>
+ <parameter name="vadjustment" type="GtkAdjustment*"/>
</parameters>
</signal>
<signal name="status-bar-text-changed" when="LAST">
@@ -736,6 +1319,12 @@
<parameter name="p1" type="char*"/>
</parameters>
</signal>
+ <signal name="web-view-ready" when="LAST">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="web_view" type="WebKitWebView*"/>
+ </parameters>
+ </signal>
<signal name="window-object-cleared" when="LAST">
<return-type type="void"/>
<parameters>
@@ -753,12 +1342,32 @@
<parameter name="old_file" type="gchar*"/>
</parameters>
</vfunc>
- <vfunc name="create_web_view">
- <return-type type="WebKitWebView*"/>
+ </object>
+ <object name="WebKitWebWindowFeatures" parent="GObject" type-name="WebKitWebWindowFeatures" get-type="webkit_web_window_features_get_type">
+ <method name="equal" symbol="webkit_web_window_features_equal">
+ <return-type type="gboolean"/>
<parameters>
- <parameter name="web_view" type="WebKitWebView*"/>
+ <parameter name="features1" type="WebKitWebWindowFeatures*"/>
+ <parameter name="features2" type="WebKitWebWindowFeatures*"/>
</parameters>
- </vfunc>
+ </method>
+ <constructor name="new" symbol="webkit_web_window_features_new">
+ <return-type type="WebKitWebWindowFeatures*"/>
+ </constructor>
+ <property name="fullscreen" type="gboolean" readable="1" writable="1" construct="1" construct-only="0"/>
+ <property name="height" type="gint" readable="1" writable="1" construct="1" construct-only="0"/>
+ <property name="locationbar-visible" type="gboolean" readable="1" writable="1" construct="1" construct-only="0"/>
+ <property name="menubar-visible" type="gboolean" readable="1" writable="1" construct="1" construct-only="0"/>
+ <property name="scrollbar-visible" type="gboolean" readable="1" writable="1" construct="1" construct-only="0"/>
+ <property name="statusbar-visible" type="gboolean" readable="1" writable="1" construct="1" construct-only="0"/>
+ <property name="toolbar-visible" type="gboolean" readable="1" writable="1" construct="1" construct-only="0"/>
+ <property name="width" type="gint" readable="1" writable="1" construct="1" construct-only="0"/>
+ <property name="x" type="gint" readable="1" writable="1" construct="1" construct-only="0"/>
+ <property name="y" type="gint" readable="1" writable="1" construct="1" construct-only="0"/>
</object>
+ <constant name="WEBKIT_MAJOR_VERSION" type="int" value="1"/>
+ <constant name="WEBKIT_MICRO_VERSION" type="int" value="10"/>
+ <constant name="WEBKIT_MINOR_VERSION" type="int" value="1"/>
+ <constant name="WEBKIT_SOUP_AUTH_DIALOG_H" type="int" value="1"/>
</namespace>
</api>
diff --git a/vapi/packages/webkit-1.0/webkit-1.0.metadata b/vapi/packages/webkit-1.0/webkit-1.0.metadata
index 0a921ea..a6c2cec 100644
--- a/vapi/packages/webkit-1.0/webkit-1.0.metadata
+++ b/vapi/packages/webkit-1.0/webkit-1.0.metadata
@@ -3,6 +3,7 @@ webkit_web_frame_get_global_context hidden="1"
WebKitWebView::copy_clipboard has_emitter="1"
WebKitWebView::cut_clipboard has_emitter="1"
WebKitWebView::hovering_over_link.p0 nullable="1"
+WebKitWebView::move_cursor has_emitter="1"
WebKitWebView::paste_clipboard has_emitter="1"
WebKitWebView::select_all has_emitter="1"
diff --git a/vapi/webkit-1.0.deps b/vapi/webkit-1.0.deps
index 4dc3754..e959068 100644
--- a/vapi/webkit-1.0.deps
+++ b/vapi/webkit-1.0.deps
@@ -5,3 +5,4 @@ pango
gdk-pixbuf-2.0
gdk-2.0
gtk+-2.0
+libsoup-2.4
diff --git a/vapi/webkit-1.0.vapi b/vapi/webkit-1.0.vapi
index 895d88c..5a013a8 100644
--- a/vapi/webkit-1.0.vapi
+++ b/vapi/webkit-1.0.vapi
@@ -3,14 +3,47 @@
[CCode (cprefix = "WebKit", lower_case_cprefix = "webkit_")]
namespace WebKit {
[CCode (cheader_filename = "webkit/webkit.h")]
+ public class Download : GLib.Object {
+ public void cancel ();
+ public uint64 get_current_size ();
+ public unowned string get_destination_uri ();
+ public double get_elapsed_time ();
+ public unowned WebKit.NetworkRequest get_network_request ();
+ public double get_progress ();
+ public WebKit.DownloadStatus get_status ();
+ public unowned string get_suggested_filename ();
+ public uint64 get_total_size ();
+ public unowned string get_uri ();
+ [CCode (has_construct_function = false)]
+ public Download (WebKit.NetworkRequest request);
+ public void set_destination_uri (string destination_uri);
+ public void start ();
+ public uint64 current_size { get; }
+ public string destination_uri { get; set; }
+ public WebKit.NetworkRequest network_request { get; construct; }
+ public double progress { get; }
+ public WebKit.DownloadStatus status { get; }
+ public string suggested_filename { get; }
+ public uint64 total_size { get; }
+ public virtual signal bool error (int p0, int p1, string p2);
+ }
+ [CCode (cheader_filename = "webkit/webkit.h")]
public class NetworkRequest : GLib.Object {
+ public unowned Soup.Message get_message ();
public unowned string get_uri ();
[CCode (has_construct_function = false)]
public NetworkRequest (string uri);
public void set_uri (string uri);
+ public Soup.Message message { get; construct; }
+ public string uri { get; set; }
+ }
+ [CCode (cheader_filename = "webkit/webkit.h")]
+ public class SoupAuthDialog : GLib.Object, Soup.SessionFeature {
+ public virtual signal unowned Gtk.Widget current_toplevel (Soup.Message message);
}
[CCode (cheader_filename = "webkit/webkit.h")]
public class WebBackForwardList : GLib.Object {
+ public void add_item (WebKit.WebHistoryItem history_item);
public bool contains_item (WebKit.WebHistoryItem history_item);
public unowned WebKit.WebHistoryItem get_back_item ();
public int get_back_length ();
@@ -31,16 +64,23 @@ namespace WebKit {
[CCode (cheader_filename = "webkit/webkit.h")]
public class WebFrame : GLib.Object {
public unowned WebKit.WebFrame find_frame (string name);
+ public WebKit.LoadStatus get_load_status ();
public unowned string get_name ();
public unowned WebKit.WebFrame get_parent ();
public unowned string get_title ();
public unowned string get_uri ();
public unowned WebKit.WebView get_web_view ();
+ public void load_alternate_string (string content, string base_url, string unreachable_url);
public void load_request (WebKit.NetworkRequest request);
+ public void load_string (string content, string mime_type, string encoding, string base_uri);
+ public void load_uri (string uri);
[CCode (has_construct_function = false)]
public WebFrame (WebKit.WebView web_view);
+ public void print ();
+ public Gtk.PrintOperationResult print_full (Gtk.PrintOperation operation, Gtk.PrintOperationAction action) throws GLib.Error;
public void reload ();
public void stop_loading ();
+ public WebKit.LoadStatus load_status { get; }
public string name { get; }
public string title { get; }
public string uri { get; }
@@ -62,6 +102,45 @@ namespace WebKit {
public void set_alternate_title (string title);
[CCode (has_construct_function = false)]
public WebHistoryItem.with_data (string uri, string title);
+ public string alternate_title { get; set; }
+ public double last_visited_time { get; }
+ public string original_uri { get; }
+ public string title { get; }
+ public string uri { get; }
+ }
+ [CCode (cheader_filename = "webkit/webkit.h")]
+ public class WebInspector : GLib.Object {
+ public unowned string get_inspected_uri ();
+ public unowned WebKit.WebView get_web_view ();
+ public string inspected_uri { get; }
+ [NoAccessorMethod]
+ public bool javascript_profiling_enabled { get; set; }
+ public WebKit.WebView web_view { get; }
+ public virtual signal bool attach_window ();
+ public virtual signal bool close_window ();
+ public virtual signal bool detach_window ();
+ public virtual signal void finished ();
+ public virtual signal unowned WebKit.WebView inspect_web_view (WebKit.WebView p0);
+ public virtual signal bool show_window ();
+ }
+ [CCode (cheader_filename = "webkit/webkit.h")]
+ public class WebNavigationAction : GLib.Object {
+ public int get_button ();
+ public int get_modifier_state ();
+ public unowned string get_original_uri ();
+ public WebKit.WebNavigationReason get_reason ();
+ public void set_original_uri (string originalUri);
+ public void set_reason (WebKit.WebNavigationReason reason);
+ public int button { get; construct; }
+ public int modifier_state { get; construct; }
+ public string original_uri { get; set construct; }
+ public WebKit.WebNavigationReason reason { get; set construct; }
+ }
+ [CCode (cheader_filename = "webkit/webkit.h")]
+ public class WebPolicyDecision : GLib.Object {
+ public void download ();
+ public void ignore ();
+ public void use ();
}
[CCode (cheader_filename = "webkit/webkit.h")]
public class WebSettings : GLib.Object {
@@ -83,10 +162,24 @@ namespace WebKit {
[NoAccessorMethod]
public int default_monospace_font_size { get; set construct; }
[NoAccessorMethod]
+ public bool enable_caret_browsing { get; set construct; }
+ [NoAccessorMethod]
+ public bool enable_developer_extras { get; set construct; }
+ [NoAccessorMethod]
+ public bool enable_html5_database { get; set construct; }
+ [NoAccessorMethod]
+ public bool enable_html5_local_storage { get; set construct; }
+ [NoAccessorMethod]
public bool enable_plugins { get; set construct; }
[NoAccessorMethod]
+ public bool enable_private_browsing { get; set construct; }
+ [NoAccessorMethod]
public bool enable_scripts { get; set construct; }
[NoAccessorMethod]
+ public bool enable_spell_checking { get; set construct; }
+ [NoAccessorMethod]
+ public bool enforce_96_dpi { get; set construct; }
+ [NoAccessorMethod]
public string fantasy_font_family { owned get; set construct; }
[NoAccessorMethod]
public int minimum_font_size { get; set construct; }
@@ -103,7 +196,11 @@ namespace WebKit {
[NoAccessorMethod]
public string serif_font_family { owned get; set construct; }
[NoAccessorMethod]
+ public string spell_checking_languages { owned get; set construct; }
+ [NoAccessorMethod]
public string user_stylesheet_uri { owned get; set construct; }
+ [NoAccessorMethod]
+ public float zoom_step { get; set construct; }
}
[CCode (cheader_filename = "webkit/webkit.h")]
public class WebView : Gtk.Container, Atk.Implementor, Gtk.Buildable {
@@ -111,84 +208,226 @@ namespace WebKit {
public bool can_cut_clipboard ();
public bool can_go_back ();
public bool can_go_back_or_forward (int steps);
- public bool can_go_backward ();
public bool can_go_forward ();
public bool can_paste_clipboard ();
+ public bool can_show_mime_type (string mime_type);
[NoWrapper]
public virtual unowned string choose_file (WebKit.WebFrame frame, string old_file);
- [NoWrapper]
- public virtual unowned WebKit.WebView create_web_view ();
public void delete_selection ();
public void execute_script (string script);
public unowned WebKit.WebBackForwardList get_back_forward_list ();
public unowned Gtk.TargetList get_copy_target_list ();
+ public unowned string get_custom_encoding ();
public bool get_editable ();
+ public unowned string get_encoding ();
public unowned WebKit.WebFrame get_focused_frame ();
+ public bool get_full_content_zoom ();
+ public unowned WebKit.WebInspector get_inspector ();
+ public WebKit.LoadStatus get_load_status ();
public unowned WebKit.WebFrame get_main_frame ();
public unowned Gtk.TargetList get_paste_target_list ();
+ public double get_progress ();
public unowned WebKit.WebSettings get_settings ();
+ public unowned string get_title ();
public bool get_transparent ();
+ public unowned string get_uri ();
+ public unowned WebKit.WebWindowFeatures get_window_features ();
+ public float get_zoom_level ();
public void go_back ();
public void go_back_or_forward (int steps);
- public void go_backward ();
public void go_forward ();
public bool go_to_back_forward_item (WebKit.WebHistoryItem item);
public bool has_selection ();
public void load_html_string (string content, string base_uri);
- public void load_string (string content, string content_mime_type, string content_encoding, string base_uri);
+ public void load_request (WebKit.NetworkRequest request);
+ public void load_string (string content, string mime_type, string encoding, string base_uri);
+ public void load_uri (string uri);
public uint mark_text_matches (string str, bool case_sensitive, uint limit);
[CCode (type = "GtkWidget*", has_construct_function = false)]
public WebView ();
public void open (string uri);
public void reload ();
- public bool search_text (string str, bool case_sensitive, bool forward, bool wrap);
+ public void reload_bypass_cache ();
+ public bool search_text (string text, bool case_sensitive, bool forward, bool wrap);
+ public void set_custom_encoding (string encoding);
public void set_editable (bool flag);
+ public void set_full_content_zoom (bool full_content_zoom);
public void set_highlight_text_matches (bool highlight);
public void set_maintains_back_forward_list (bool flag);
public void set_settings (WebKit.WebSettings settings);
public void set_transparent (bool flag);
+ public void set_zoom_level (float zoom_level);
public void stop_loading ();
public void unmark_text_matches ();
+ public void zoom_in ();
+ public void zoom_out ();
public Gtk.TargetList copy_target_list { get; }
+ public string custom_encoding { get; set; }
public bool editable { get; set; }
+ public string encoding { get; }
+ public bool full_content_zoom { get; set; }
+ public WebKit.LoadStatus load_status { get; }
public Gtk.TargetList paste_target_list { get; }
+ public double progress { get; }
public WebKit.WebSettings settings { get; set; }
+ public string title { get; }
public bool transparent { get; set; }
+ public string uri { get; }
+ [NoAccessorMethod]
+ public WebKit.WebInspector web_inspector { owned get; }
+ [NoAccessorMethod]
+ public WebKit.WebWindowFeatures window_features { owned get; set; }
+ public float zoom_level { get; set; }
public virtual signal bool console_message (string message, int line_number, string source_id);
[HasEmitter]
public virtual signal void copy_clipboard ();
+ public virtual signal unowned Gtk.Widget create_plugin_widget (string p0, string p1, GLib.HashTable p2);
+ public virtual signal unowned WebKit.WebView create_web_view (WebKit.WebFrame web_frame);
[HasEmitter]
public virtual signal void cut_clipboard ();
+ public virtual signal bool download_requested (GLib.Object p0);
public virtual signal void hovering_over_link (string? p0, string p1);
public virtual signal void icon_loaded ();
public virtual signal void load_committed (WebKit.WebFrame p0);
+ public virtual signal bool load_error (WebKit.WebFrame p0, string p1, void* p2);
public virtual signal void load_finished (WebKit.WebFrame p0);
public virtual signal void load_progress_changed (int p0);
public virtual signal void load_started (WebKit.WebFrame p0);
- public virtual signal int navigation_requested (GLib.Object frame, GLib.Object request);
+ public virtual signal bool mime_type_policy_decision_requested (WebKit.WebFrame p0, WebKit.NetworkRequest p1, string p2, WebKit.WebPolicyDecision p3);
+ [HasEmitter]
+ public virtual signal bool move_cursor (Gtk.MovementStep step, int count);
+ public virtual signal bool navigation_policy_decision_requested (WebKit.WebFrame p0, WebKit.NetworkRequest p1, WebKit.WebNavigationAction p2, WebKit.WebPolicyDecision p3);
+ public virtual signal WebKit.NavigationResponse navigation_requested (WebKit.WebFrame frame, WebKit.NetworkRequest request);
+ public virtual signal bool new_window_policy_decision_requested (WebKit.WebFrame p0, WebKit.NetworkRequest p1, WebKit.WebNavigationAction p2, WebKit.WebPolicyDecision p3);
[HasEmitter]
public virtual signal void paste_clipboard ();
public virtual signal void populate_popup (Gtk.Menu p0);
- public virtual signal bool script_alert (GLib.Object frame, string alert_message);
- public virtual signal bool script_confirm (GLib.Object frame, string confirm_message, bool did_confirm);
- public virtual signal bool script_prompt (GLib.Object frame, string message, string default_value, void* value);
+ public virtual signal bool print_requested (WebKit.WebFrame p0);
+ public virtual signal bool script_alert (WebKit.WebFrame frame, string alert_message);
+ public virtual signal bool script_confirm (WebKit.WebFrame frame, string confirm_message, void* did_confirm);
+ public virtual signal bool script_prompt (WebKit.WebFrame frame, string message, string default_value, void* value);
[HasEmitter]
public virtual signal void select_all ();
public virtual signal void selection_changed ();
- public virtual signal void set_scroll_adjustments (Gtk.Adjustment p0, Gtk.Adjustment p1);
+ public virtual signal void set_scroll_adjustments (Gtk.Adjustment hadjustment, Gtk.Adjustment vadjustment);
public virtual signal void status_bar_text_changed (string p0);
public virtual signal void title_changed (WebKit.WebFrame p0, string p1);
+ public virtual signal bool web_view_ready ();
public virtual signal void window_object_cleared (WebKit.WebFrame frame, void* context, void* window_object);
}
- [CCode (cprefix = "WEBKIT_NAVIGATION_RESPONSE_", has_type_id = "0", cheader_filename = "webkit/webkit.h")]
+ [CCode (cheader_filename = "webkit/webkit.h")]
+ public class WebWindowFeatures : GLib.Object {
+ public bool equal (WebKit.WebWindowFeatures features2);
+ [CCode (has_construct_function = false)]
+ public WebWindowFeatures ();
+ [NoAccessorMethod]
+ public bool fullscreen { get; set construct; }
+ [NoAccessorMethod]
+ public int height { get; set construct; }
+ [NoAccessorMethod]
+ public bool locationbar_visible { get; set construct; }
+ [NoAccessorMethod]
+ public bool menubar_visible { get; set construct; }
+ [NoAccessorMethod]
+ public bool scrollbar_visible { get; set construct; }
+ [NoAccessorMethod]
+ public bool statusbar_visible { get; set construct; }
+ [NoAccessorMethod]
+ public bool toolbar_visible { get; set construct; }
+ [NoAccessorMethod]
+ public int width { get; set construct; }
+ [NoAccessorMethod]
+ public int x { get; set construct; }
+ [NoAccessorMethod]
+ public int y { get; set construct; }
+ }
+ [CCode (cprefix = "WEBKIT_DOWNLOAD_ERROR_", cheader_filename = "webkit/webkit.h")]
+ public enum DownloadError {
+ CANCELLED_BY_USER,
+ DESTINATION,
+ NETWORK
+ }
+ [CCode (cprefix = "WEBKIT_DOWNLOAD_STATUS_", cheader_filename = "webkit/webkit.h")]
+ public enum DownloadStatus {
+ ERROR,
+ CREATED,
+ STARTED,
+ CANCELLED,
+ FINISHED
+ }
+ [CCode (cprefix = "WEBKIT_LOAD_", cheader_filename = "webkit/webkit.h")]
+ public enum LoadStatus {
+ PROVISIONAL,
+ COMMITTED,
+ FINISHED
+ }
+ [CCode (cprefix = "WEBKIT_NAVIGATION_RESPONSE_", cheader_filename = "webkit/webkit.h")]
public enum NavigationResponse {
ACCEPT,
IGNORE,
DOWNLOAD
}
- [CCode (cprefix = "WEBKIT_WEB_VIEW_TARGET_INFO_", has_type_id = "0", cheader_filename = "webkit/webkit.h")]
+ [CCode (cprefix = "WEBKIT_NETWORK_ERROR_", cheader_filename = "webkit/webkit.h")]
+ public enum NetworkError {
+ FAILED,
+ TRANSPORT,
+ UNKNOWN_PROTOCOL,
+ CANCELLED,
+ FILE_DOES_NOT_EXIST
+ }
+ [CCode (cprefix = "WEBKIT_PLUGIN_ERROR_", cheader_filename = "webkit/webkit.h")]
+ public enum PluginError {
+ FAILED,
+ CANNOT_FIND_PLUGIN,
+ CANNOT_LOAD_PLUGIN,
+ JAVA_UNAVAILABLE,
+ CONNECTION_CANCELLED,
+ WILL_HANDLE_LOAD
+ }
+ [CCode (cprefix = "WEBKIT_POLICY_ERROR_", cheader_filename = "webkit/webkit.h")]
+ public enum PolicyError {
+ FAILED,
+ CANNOT_SHOW_MIME_TYPE,
+ CANNOT_SHOW_URL,
+ FRAME_LOAD_INTERRUPTED_BY_POLICY_CHANGE,
+ CANNOT_USE_RESTRICTED_PORT
+ }
+ [CCode (cprefix = "WEBKIT_WEB_NAVIGATION_REASON_", cheader_filename = "webkit/webkit.h")]
+ public enum WebNavigationReason {
+ LINK_CLICKED,
+ FORM_SUBMITTED,
+ BACK_FORWARD,
+ RELOAD,
+ FORM_RESUBMITTED,
+ OTHER
+ }
+ [CCode (cprefix = "WEBKIT_WEB_VIEW_TARGET_INFO_", cheader_filename = "webkit/webkit.h")]
public enum WebViewTargetInfo {
HTML,
TEXT
}
+ [CCode (cheader_filename = "webkit/webkit.h")]
+ public const int MAJOR_VERSION;
+ [CCode (cheader_filename = "webkit/webkit.h")]
+ public const int MICRO_VERSION;
+ [CCode (cheader_filename = "webkit/webkit.h")]
+ public const int MINOR_VERSION;
+ [CCode (cheader_filename = "webkit/webkit.h")]
+ public const int SOUP_AUTH_DIALOG_H;
+ [CCode (cheader_filename = "webkit/webkit.h")]
+ public static bool check_version (uint major, uint minor, uint micro);
+ [CCode (cheader_filename = "webkit/webkit.h")]
+ public static unowned Soup.Session get_default_session ();
+ [CCode (cheader_filename = "webkit/webkit.h")]
+ public static uint major_version ();
+ [CCode (cheader_filename = "webkit/webkit.h")]
+ public static uint micro_version ();
+ [CCode (cheader_filename = "webkit/webkit.h")]
+ public static uint minor_version ();
+ [CCode (cheader_filename = "webkit/webkit.h")]
+ public static GLib.Quark network_error_quark ();
+ [CCode (cheader_filename = "webkit/webkit.h")]
+ public static GLib.Quark plugin_error_quark ();
+ [CCode (cheader_filename = "webkit/webkit.h")]
+ public static GLib.Quark policy_error_quark ();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]