summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2018-05-22 09:42:49 +0200
committerRico Tzschichholz <ricotz@ubuntu.com>2018-05-22 09:42:49 +0200
commit6ac8c9ee6e2ac973324263bb22c5c956c0d74608 (patch)
treeaa6ce5c50a08d486d924517354bdd5b256316fbb
parent878980ed048cc368cd02bf4c03e34c9d2bc27b44 (diff)
downloadvala-6ac8c9ee6e2ac973324263bb22c5c956c0d74608.tar.gz
webkit2gtk-4.0: Update to 2.21.2
-rw-r--r--vapi/javascriptcoregtk-4.0.vapi7
-rw-r--r--vapi/webkit2gtk-4.0.vapi9
2 files changed, 7 insertions, 9 deletions
diff --git a/vapi/javascriptcoregtk-4.0.vapi b/vapi/javascriptcoregtk-4.0.vapi
index 39698746f..a7ef92409 100644
--- a/vapi/javascriptcoregtk-4.0.vapi
+++ b/vapi/javascriptcoregtk-4.0.vapi
@@ -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);
diff --git a/vapi/webkit2gtk-4.0.vapi b/vapi/webkit2gtk-4.0.vapi
index 8a04595f1..218830f1d 100644
--- a/vapi/webkit2gtk-4.0.vapi
+++ b/vapi/webkit2gtk-4.0.vapi
@@ -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_")]