From: Rico Tzschichholz Date: Tue, 28 Nov 2017 12:39:46 +0000 (+0100) Subject: webkit2gtk-4.0: Update to 2.19.2 X-Git-Tag: 0.38.4~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1e40fed9e1741a510359b8efa64f046787172f72;p=thirdparty%2Fvala.git webkit2gtk-4.0: Update to 2.19.2 --- diff --git a/vapi/webkit2gtk-4.0.vapi b/vapi/webkit2gtk-4.0.vapi index 07a33dea8..098833151 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 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; @@ -593,6 +599,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 ();