diff options
| Commit | 762114dcc99d4e70a0472813ff41f77e44277bb8 (patch) | |
|---|---|---|
| Author | 2021-04-19 22:31:58 +0200 | |
| Committer | 2021-04-19 22:31:58 +0200 | |
| Files | 57387ef745ab5022bb34c74d304e9c32dbd7331d /badwolf.h | |
| goodwolf-1.1.0.tar goodwolf-1.1.0.tar.gz goodwolf-1.1.0.zip | ||
| Parent | 680ca3102df72264022babbea5003fb98d8e5189 (diff) | |
| Parent | 4abd7044fda92b4d3dcb4774ff8d5f7772987b6a (diff) | |
Merge branch 'release-1.1' into missy for 1.1.0 v1.1.0
1 files changed, 5 insertions, 1 deletions
| -rw-r--r-- | badwolf.h | 6 |
@@ -2,6 +2,7 @@ #define BADWOLF_H_INCLUDED #include <gtk/gtk.h> +#include <inttypes.h> /* uint64_t */ #include <webkit2/webkit2.h> extern const gchar *homepage; @@ -13,6 +14,8 @@ struct Window GtkWidget *notebook; GtkWidget *new_tab; GtkWidget *downloads_tab; + WebKitUserContentManager *content_manager; + WebKitUserContentFilterStore *content_store; }; struct Client @@ -26,6 +29,7 @@ struct Client GtkWidget *auto_load_images; GtkWidget *location; + uint64_t context_id; WebKitWebView *webView; struct Window *window; @@ -37,7 +41,7 @@ struct Client GtkWidget *badwolf_new_tab_box(const gchar *title, struct Client *browser); void webView_tab_label_change(struct Client *browser, const gchar *title); struct Client * -new_browser(struct Window *window, const gchar *target_url, WebKitWebView *related_web_view); +new_browser(struct Window *window, const gchar *target_url, struct Client *old_browser); int badwolf_new_tab(GtkNotebook *notebook, struct Client *browser, bool auto_switch); gint badwolf_get_tab_position(GtkContainer *notebook, GtkWidget *child); #endif /* BADWOLF_H_INCLUDED */ |