]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
webkit2gtk-4.0: Update to 2.29.4
authorRico Tzschichholz <ricotz@ubuntu.com>
Wed, 29 Jul 2020 10:31:40 +0000 (12:31 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Wed, 29 Jul 2020 10:31:40 +0000 (12:31 +0200)
vapi/webkit2gtk-4.0.vapi

index 997a9b574a7298f1688e3eb01d0cb8735c70c599..f5b688e27e6587aeb637f76975fb0e57e723ca15 100644 (file)
@@ -373,6 +373,32 @@ namespace WebKit {
                public string link_uri { get; construct; }
                public string media_uri { get; construct; }
        }
+       [CCode (cheader_filename = "webkit2/webkit2.h", ref_function = "webkit_itp_first_party_ref", type_id = "webkit_itp_first_party_get_type ()", unref_function = "webkit_itp_first_party_unref")]
+       [Compact]
+       public class ITPFirstParty {
+               [Version (since = "2.30")]
+               public unowned string get_domain ();
+               [Version (since = "2.30")]
+               public unowned GLib.DateTime get_last_update_time ();
+               [Version (since = "2.30")]
+               public bool get_website_data_access_allowed ();
+               [Version (since = "2.30")]
+               public unowned WebKit.ITPFirstParty @ref ();
+               [Version (since = "2.30")]
+               public void unref ();
+       }
+       [CCode (cheader_filename = "webkit2/webkit2.h", ref_function = "webkit_itp_third_party_ref", type_id = "webkit_itp_third_party_get_type ()", unref_function = "webkit_itp_third_party_unref")]
+       [Compact]
+       public class ITPThirdParty {
+               [Version (since = "2.30")]
+               public unowned string get_domain ();
+               [Version (since = "2.30")]
+               public unowned GLib.List<WebKit.ITPFirstParty> get_first_parties ();
+               [Version (since = "2.30")]
+               public unowned WebKit.ITPThirdParty @ref ();
+               [Version (since = "2.30")]
+               public void unref ();
+       }
        [CCode (cheader_filename = "webkit2/webkit2.h", type_id = "webkit_input_method_context_get_type ()")]
        public abstract class InputMethodContext : GLib.Object {
                [CCode (has_construct_function = false)]
@@ -1490,6 +1516,8 @@ namespace WebKit {
                public unowned string? get_itp_directory ();
                [Version (since = "2.30")]
                public bool get_itp_enabled ();
+               [Version (since = "2.30")]
+               public async GLib.List<WebKit.ITPThirdParty> get_itp_summary (GLib.Cancellable? cancellable = null) throws GLib.Error;
                [Version (since = "2.10")]
                public unowned string? get_local_storage_directory ();
                [Version (since = "2.10")]