]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
webkit2gtk-4.0: Update to 2.19.2
authorRico Tzschichholz <ricotz@ubuntu.com>
Tue, 28 Nov 2017 12:39:46 +0000 (13:39 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Wed, 29 Nov 2017 16:06:06 +0000 (17:06 +0100)
vapi/webkit2gtk-4.0.vapi

index 07a33dea8b875325af7fbe3c73b5a4914e3774c7..098833151e0794bc1d2ed94cff914cce6a158d36 100644 (file)
@@ -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;
@@ -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 ();