[vala/0.36] webkit2gtk-4.0: Update to 2.20.0



commit bb6a23f3656d837ed03119ac0d05945b9850e69b
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Sat Nov 4 20:09:29 2017 +0100

    webkit2gtk-4.0: Update to 2.20.0

 vapi/webkit2gtk-4.0.vapi               |   22 ++++++++++++++++++++++
 vapi/webkit2gtk-web-extension-4.0.vapi |    4 ++--
 2 files changed, 24 insertions(+), 2 deletions(-)
---
diff --git a/vapi/webkit2gtk-4.0.vapi b/vapi/webkit2gtk-4.0.vapi
index b1aa588..42c5c1f 100644
--- a/vapi/webkit2gtk-4.0.vapi
+++ b/vapi/webkit2gtk-4.0.vapi
@@ -155,11 +155,17 @@ namespace WebKit {
        public class CookieManager : GLib.Object {
                [CCode (has_construct_function = false)]
                protected CookieManager ();
+               [Version (since = "2.20")]
+               public async bool add_cookie (Soup.Cookie cookie, GLib.Cancellable? cancellable) throws 
GLib.Error;
                [Version (deprecated = true, deprecated_since = "2.16")]
                public void delete_all_cookies ();
+               [Version (since = "2.20")]
+               public async bool delete_cookie (Soup.Cookie cookie, GLib.Cancellable? cancellable) throws 
GLib.Error;
                [Version (deprecated = true, deprecated_since = "2.16")]
                public void delete_cookies_for_domain (string domain);
                public async WebKit.CookieAcceptPolicy get_accept_policy (GLib.Cancellable? cancellable) 
throws GLib.Error;
+               [Version (since = "2.20")]
+               public async GLib.List<Soup.Cookie> get_cookies (string uri, GLib.Cancellable? cancellable) 
throws GLib.Error;
                [CCode (array_length = false, array_null_terminated = true)]
                [Version (deprecated = true, deprecated_since = "2.16")]
                public async string[] get_domains_with_cookies (GLib.Cancellable? cancellable) throws 
GLib.Error;
@@ -220,6 +226,16 @@ namespace WebKit {
                protected EditorState ();
                [Version (since = "2.10")]
                public uint get_typing_attributes ();
+               [Version (since = "2.20")]
+               public bool is_copy_available ();
+               [Version (since = "2.20")]
+               public bool is_cut_available ();
+               [Version (since = "2.20")]
+               public bool is_paste_available ();
+               [Version (since = "2.20")]
+               public bool is_redo_available ();
+               [Version (since = "2.20")]
+               public bool is_undo_available ();
                [Version (since = "2.10")]
                public uint typing_attributes { get; }
        }
@@ -351,6 +367,8 @@ namespace WebKit {
                public WebKit.NavigationType get_navigation_type ();
                [Version (since = "2.6")]
                public unowned WebKit.URIRequest get_request ();
+               [Version (since = "2.20")]
+               public bool is_redirect ();
                [Version (since = "2.6")]
                public bool is_user_gesture ();
        }
@@ -582,6 +600,10 @@ namespace WebKit {
        public class Settings : GLib.Object {
                [CCode (has_construct_function = false)]
                public Settings ();
+               [Version (since = "2.20")]
+               public static uint32 font_size_to_pixels (uint32 points);
+               [Version (since = "2.20")]
+               public static uint32 font_size_to_points (uint32 pixels);
                [Version (since = "2.10")]
                public bool get_allow_file_access_from_file_urls ();
                public bool get_allow_modal_dialogs ();
diff --git a/vapi/webkit2gtk-web-extension-4.0.vapi b/vapi/webkit2gtk-web-extension-4.0.vapi
index 5337301..b7d9917 100644
--- a/vapi/webkit2gtk-web-extension-4.0.vapi
+++ b/vapi/webkit2gtk-web-extension-4.0.vapi
@@ -723,7 +723,7 @@ namespace WebKit {
                        public long get_scroll_width ();
                        public WebKit.DOM.CSSStyleDeclaration get_style ();
                        public string get_tag_name ();
-                       [Version (since = "2.16")]
+                       [Version (deprecated = true, deprecated_since = "2.20")]
                        public string get_webkit_region_overset ();
                        public bool has_attribute (string name);
                        public bool has_attribute_ns (string namespaceURI, string localName);
@@ -3065,7 +3065,7 @@ namespace WebKit {
                public signal void form_controls_associated (GLib.GenericArray<WebKit.DOM.Element> elements);
                public signal bool send_request (WebKit.URIRequest request, WebKit.URIResponse 
redirected_response);
                [Version (since = "2.20")]
-               public signal void will_submit_form (WebKit.DOM.HTMLFormElement form, 
WebKit.FormSubmissionStep step, WebKit.Frame source_frame, WebKit.Frame target_frame, 
GLib.GenericArray<string> text_field_names, GLib.GenericArray<string> text_field_values);
+               public signal void will_submit_form (WebKit.DOM.Element form, WebKit.FormSubmissionStep step, 
WebKit.Frame source_frame, WebKit.Frame target_frame, GLib.GenericArray<string> text_field_names, 
GLib.GenericArray<string> text_field_values);
        }
        [CCode (cheader_filename = "webkit2/webkit-web-extension.h", cprefix = 
"WEBKIT_CONSOLE_MESSAGE_LEVEL_", type_id = "webkit_console_message_level_get_type ()")]
        [Version (since = "2.12")]


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]