Commit 6ac8c9ee authored by Rico Tzschichholz's avatar Rico Tzschichholz

webkit2gtk-4.0: Update to 2.21.2

parent 878980ed
......@@ -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);
......
......@@ -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_")]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment