From: Rico Tzschichholz Date: Sat, 4 Nov 2017 19:09:29 +0000 (+0100) Subject: webkit2gtk-4.0: Update to 2.19.1 X-Git-Tag: 0.39.1~42 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=486baf98a3f0241f3f84cd0b4ec286940158e81b;p=thirdparty%2Fvala.git webkit2gtk-4.0: Update to 2.19.1 --- diff --git a/vapi/webkit2gtk-4.0.vapi b/vapi/webkit2gtk-4.0.vapi index adf4fc96f..07a33dea8 100644 --- a/vapi/webkit2gtk-4.0.vapi +++ b/vapi/webkit2gtk-4.0.vapi @@ -220,6 +220,16 @@ namespace WebKit { protected EditorState (); [Version (since = "2.10")] public uint get_typing_attributes (); + [Version (since = "2.20")] + public bool is_copy_available (); + [Version (since = "2.20")] + public bool is_cut_available (); + [Version (since = "2.20")] + public bool is_paste_available (); + [Version (since = "2.20")] + public bool is_redo_available (); + [Version (since = "2.20")] + public bool is_undo_available (); [Version (since = "2.10")] public uint typing_attributes { get; } } @@ -350,6 +360,8 @@ namespace WebKit { public WebKit.NavigationType get_navigation_type (); [Version (since = "2.6")] public unowned WebKit.URIRequest get_request (); + [Version (since = "2.20")] + public bool is_redirect (); [Version (since = "2.6")] public bool is_user_gesture (); } @@ -1165,10 +1177,16 @@ namespace WebKit { public unowned string? get_local_storage_directory (); [Version (since = "2.10")] public unowned string? get_offline_application_cache_directory (); + [Version (since = "2.20")] + public unowned string? get_resource_load_statistics_directory (); + [Version (since = "2.20")] + 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 website_data, GLib.Cancellable? cancellable) throws GLib.Error; + [Version (since = "2.20")] + public void set_resource_load_statistics_enabled (bool enabled); [Version (since = "2.10")] public string base_cache_directory { get; construct; } [Version (since = "2.10")] @@ -1184,6 +1202,8 @@ namespace WebKit { public string local_storage_directory { get; construct; } [Version (since = "2.10")] public string offline_application_cache_directory { get; construct; } + [Version (since = "2.20")] + public string resource_load_statistics_directory { get; construct; } [Version (since = "2.10")] public string websql_directory { get; construct; } } @@ -1440,6 +1460,7 @@ namespace WebKit { INDEXEDDB_DATABASES, PLUGIN_DATA, COOKIES, + RESOURCE_LOAD_STATISTICS, ALL } [CCode (cheader_filename = "webkit2/webkit2.h", cprefix = "WEBKIT_DOWNLOAD_ERROR_")] diff --git a/vapi/webkit2gtk-web-extension-4.0.vapi b/vapi/webkit2gtk-web-extension-4.0.vapi index 1c2d4b0dd..9f8d9f53d 100644 --- a/vapi/webkit2gtk-web-extension-4.0.vapi +++ b/vapi/webkit2gtk-web-extension-4.0.vapi @@ -715,7 +715,7 @@ namespace WebKit { public long get_scroll_width (); public WebKit.DOM.CSSStyleDeclaration get_style (); public string get_tag_name (); - [Version (since = "2.16")] + [Version (deprecated = true, deprecated_since = "2.20")] public string get_webkit_region_overset (); public bool has_attribute (string name); public bool has_attribute_ns (string namespaceURI, string localName);