summaryrefslogtreecommitdiff
path: root/src/dwb.h
diff options
context:
space:
mode:
authorportix <portix@gmx.net>2011-12-28 23:26:27 +0100
committerportix <portix@gmx.net>2011-12-28 23:26:27 +0100
commitf9df701dc2f391723626584f0aecda2d9de94812 (patch)
treeb5f75ee30226aca8951d889e74e19a6e05b8880d /src/dwb.h
parentdb800e12576326d61e192df2bdd911c99442565f (diff)
downloaddwb-f9df701dc2f391723626584f0aecda2d9de94812.zip
Removing setting 'cookies', introducing setting 'cookies-store-policy'
--HG-- branch : experimental
Diffstat (limited to 'src/dwb.h')
-rw-r--r--src/dwb.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/dwb.h b/src/dwb.h
index d76bb681..87bd5fcc 100644
--- a/src/dwb.h
+++ b/src/dwb.h
@@ -326,6 +326,13 @@ enum {
CA_URI,
} ClipboardAction;
+typedef enum {
+ COOKIE_STORE_SESSION,
+ COOKIE_STORE_PERSISTENT,
+ COOKIE_STORE_NEVER,
+} CookieStorePolicy;
+
+
enum Signal {
SIG_FIRST = 0,
SIG_BUTTON_PRESS,
@@ -471,9 +478,7 @@ struct _State {
gboolean background_tabs;
SoupCookieJar *cookiejar;
- SoupCookie *last_cookie;
- GSList *last_cookies;
- gboolean cookies_allowed;
+ CookieStorePolicy cookie_store_policy;
gboolean complete_history;
gboolean complete_bookmarks;
@@ -740,6 +745,7 @@ void dwb_save_searchengine(void);
char * dwb_execute_script(WebKitWebFrame *, const char *, gboolean);
void dwb_toggle_tabbar(void);
DwbStatus dwb_history(Arg *a);
+void dwb_reload(void);
DwbStatus dwb_history_back(void);
DwbStatus dwb_history_forward(void);
void dwb_scroll(GList *, double, ScrollDirection);