[vala] webkit2gtk-4.0: Update to 2.19.1



commit 486baf98a3f0241f3f84cd0b4ec286940158e81b
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Sat Nov 4 20:09:29 2017 +0100

    webkit2gtk-4.0: Update to 2.19.1

 vapi/webkit2gtk-4.0.vapi               |   21 +++++++++++++++++++++
 vapi/webkit2gtk-web-extension-4.0.vapi |    2 +-
 2 files changed, 22 insertions(+), 1 deletions(-)
---
diff --git a/vapi/webkit2gtk-4.0.vapi b/vapi/webkit2gtk-4.0.vapi
index adf4fc9..07a33de 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<WebKit.WebsiteData> 
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 1c2d4b0..9f8d9f5 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);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]