]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
webkit2gtk-4.0: Update to 2.21.2
authorRico Tzschichholz <ricotz@ubuntu.com>
Tue, 22 May 2018 07:42:49 +0000 (09:42 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Tue, 22 May 2018 07:42:49 +0000 (09:42 +0200)
vapi/javascriptcoregtk-4.0.vapi
vapi/webkit2gtk-4.0.vapi

index 39698746fe6080cbf770e37e2551ed1bbd48c837..a7ef92409103fba085985bee2e1d4877f2f16efc 100644 (file)
@@ -155,6 +155,8 @@ namespace JSC {
        public class Class : GLib.Object {
                [CCode (has_construct_function = false)]
                protected Class ();
+               public JSC.Value add_constructorv (string? name, [CCode (delegate_target_pos = 2.33333, destroy_notify_pos = 2.66667)] owned GLib.Callback callback, GLib.Type return_type, [CCode (array_length_cname = "n_parameters", array_length_pos = 3.5, array_length_type = "guint")] GLib.Type[]? parameter_types);
+               public void add_methodv (string name, [CCode (delegate_target_pos = 2.33333, destroy_notify_pos = 2.66667)] owned GLib.Callback callback, GLib.Type return_type, [CCode (array_length_cname = "n_parameters", array_length_pos = 3.5, array_length_type = "guint")] GLib.Type[]? parameter_types);
                public void add_property (string name, GLib.Type property_type, [CCode (scope = "async")] GLib.Callback? getter, [CCode (scope = "async")] GLib.Callback? setter, void* user_data, GLib.DestroyNotify? destroy_notify);
                public unowned string get_name ();
                public unowned JSC.Class get_parent ();
@@ -200,6 +202,10 @@ namespace JSC {
                public Value.array_from_garray (JSC.Context context, GLib.GenericArray<JSC.Value>? array);
                [CCode (has_construct_function = false)]
                public Value.boolean (JSC.Context context, bool value);
+               public JSC.Value constructor_callv ([CCode (array_length_cname = "n_parameters", array_length_pos = 0.5, array_length_type = "guint")] JSC.Value[]? parameters);
+               public JSC.Value function_callv ([CCode (array_length_cname = "n_parameters", array_length_pos = 0.5, array_length_type = "guint")] JSC.Value[]? parameters);
+               [CCode (has_construct_function = false)]
+               public Value.functionv (JSC.Context context, global::string? name, [CCode (delegate_target_pos = 3.33333, destroy_notify_pos = 3.66667)] owned GLib.Callback callback, GLib.Type return_type, [CCode (array_length_cname = "n_parameters", array_length_pos = 4.5, array_length_type = "guint")] GLib.Type[]? parameter_types);
                public unowned JSC.Context get_context ();
                public bool is_array ();
                public bool is_boolean ();
@@ -224,6 +230,7 @@ namespace JSC {
                public JSC.Value object_get_property (global::string name);
                public JSC.Value object_get_property_at_index (uint index);
                public bool object_has_property (global::string name);
+               public JSC.Value object_invoke_methodv (global::string name, [CCode (array_length_cname = "n_parameters", array_length_pos = 1.5, array_length_type = "guint")] JSC.Value[]? parameters);
                public bool object_is_instance_of (global::string name);
                public void object_set_property (global::string name, JSC.Value property);
                public void object_set_property_at_index (uint index, JSC.Value property);
index 8a04595f108f2c704a02d076e31a825755fbc7d5..218830f1dff9ecf1eb43b59bd70370b885cacf02 100644 (file)
@@ -1205,16 +1205,10 @@ namespace WebKit {
                public unowned string? get_local_storage_directory ();
                [Version (since = "2.10")]
                public unowned string? get_offline_application_cache_directory ();
-               [Version (since = "2.22")]
-               public unowned string? get_resource_load_statistics_directory ();
-               [Version (since = "2.22")]
-               public bool get_resource_load_statistics_enabled ();
                [Version (since = "2.10")]
                public unowned string? get_websql_directory ();
                [Version (since = "2.16")]
                public async bool remove (WebKit.WebsiteDataTypes types, GLib.List<WebKit.WebsiteData> website_data, GLib.Cancellable? cancellable) throws GLib.Error;
-               [Version (since = "2.22")]
-               public void set_resource_load_statistics_enabled (bool enabled);
                [Version (since = "2.10")]
                public string base_cache_directory { get; construct; }
                [Version (since = "2.10")]
@@ -1230,8 +1224,6 @@ namespace WebKit {
                public string local_storage_directory { get; construct; }
                [Version (since = "2.10")]
                public string offline_application_cache_directory { get; construct; }
-               [Version (since = "2.22")]
-               public string resource_load_statistics_directory { get; construct; }
                [Version (since = "2.10")]
                public string websql_directory { get; construct; }
        }
@@ -1494,7 +1486,6 @@ namespace WebKit {
                INDEXEDDB_DATABASES,
                PLUGIN_DATA,
                COOKIES,
-               RESOURCE_LOAD_STATISTICS,
                ALL
        }
        [CCode (cheader_filename = "webkit2/webkit2.h", cprefix = "WEBKIT_DOWNLOAD_ERROR_")]