diff options
author | portix <portix@gmx.net> | 2011-12-28 23:26:27 +0100 |
---|---|---|
committer | portix <portix@gmx.net> | 2011-12-28 23:26:27 +0100 |
commit | f9df701dc2f391723626584f0aecda2d9de94812 (patch) | |
tree | b5f75ee30226aca8951d889e74e19a6e05b8880d /src/dwb.h | |
parent | db800e12576326d61e192df2bdd911c99442565f (diff) | |
download | dwb-f9df701dc2f391723626584f0aecda2d9de94812.zip |
Removing setting 'cookies', introducing setting 'cookies-store-policy'
--HG--
branch : experimental
Diffstat (limited to 'src/dwb.h')
-rw-r--r-- | src/dwb.h | 12 |
1 files changed, 9 insertions, 3 deletions
@@ -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); |