]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
webkit2gtk-4.0: Update to 2.19.1
authorRico Tzschichholz <ricotz@ubuntu.com>
Sat, 4 Nov 2017 19:09:29 +0000 (20:09 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Sat, 4 Nov 2017 19:09:58 +0000 (20:09 +0100)
vapi/webkit2gtk-4.0.vapi
vapi/webkit2gtk-web-extension-4.0.vapi

index adf4fc96f01e1083be66b8326a7893f023b777ab..07a33dea8b875325af7fbe3c73b5a4914e3774c7 100644 (file)
@@ -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_")]
index 1c2d4b0dd609bfe29d8c99eb56b1ecbc49b1ab59..9f8d9f53dc84eaadf56ea2dc87c86bb1e4e38a29 100644 (file)
@@ -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);