diff options
author | 2009-05-26 14:40:01 +0200 | |
---|---|---|
committer | 2009-05-26 14:40:01 +0200 | |
commit | 965c28d14da39210b6f427e5afb07d6f5538920f (patch) | |
tree | 49d47eb09632686cbb9f92a9221c7e6a81248981 /uzbl.h | |
parent | 6c11777067bdb8aac09bba78d54caea04f85e059 (diff) |
added html_mode_timeout and an alrm handler that returns to normal command mode after the timeout
Diffstat (limited to 'uzbl.h')
-rw-r--r-- | uzbl.h | 13 |
1 files changed, 10 insertions, 3 deletions
@@ -172,6 +172,7 @@ typedef struct { gchar* base_url; gchar* html_endmarker; GString* html_buffer; + guint html_timeout; /* command list: name -> Command */ GHashTable* commands; @@ -243,6 +244,9 @@ static sigfunc * setup_signal(int signe, sigfunc *shandler); static gboolean +set_var_value(gchar *name, gchar *val); + +static gboolean new_window_cb (WebKitWebView *web_view, WebKitWebFrame *frame, WebKitNetworkRequest *request, WebKitWebNavigationAction *navigation_action, WebKitWebPolicyDecision *policy_decision, gpointer user_data); WebKitWebView* @@ -409,6 +413,12 @@ save_cookies (SoupMessage *msg, static void set_var(WebKitWebView *page, GArray *argv); +static void +render_html(); + +static void +set_timeout(int seconds); + /* Command callbacks */ static void @@ -495,7 +505,4 @@ cmd_inject_html(); static void cmd_caret_browsing(); -static void -cmd_set_mode(); - /* vi: set et ts=4: */ |