X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=uzbl.h;h=1a2251362a84474be82572c0fd7a06fedf91bbe5;hb=e91f5b5d31aea3436ec0edffb7aab322f189420e;hp=bedefe0eff2e29923b4b00fd00bf5a65b397fd3f;hpb=1e66be3a8635040f7e7d3ab828507ba361523a71;p=uzbl-mobile diff --git a/uzbl.h b/uzbl.h index bedefe0..1a22513 100644 --- a/uzbl.h +++ b/uzbl.h @@ -93,8 +93,6 @@ typedef struct { gchar *socket_path; /* stores (key)"variable name" -> (value)"pointer to this var*/ GHashTable *proto_var; - /* command parsing regexes */ - GRegex *act_regex; gchar *sync_stdout; } Communication; @@ -244,12 +242,15 @@ setup_signal(int signe, sigfunc *shandler); static gboolean set_var_value(gchar *name, gchar *val); -static gboolean -get_var_value(const gchar *name); +static void +print(WebKitWebView *page, GArray *argv); static gboolean new_window_cb (WebKitWebView *web_view, WebKitWebFrame *frame, WebKitNetworkRequest *request, WebKitWebNavigationAction *navigation_action, WebKitWebPolicyDecision *policy_decision, gpointer user_data); +static gboolean +mime_policy_cb(WebKitWebView *web_view, WebKitWebFrame *frame, WebKitNetworkRequest *request, gchar *mime_type, WebKitWebPolicyDecision *policy_decision, gpointer user_data); + WebKitWebView* create_web_view_cb (WebKitWebView *web_view, WebKitWebFrame *frame, gpointer user_data); @@ -339,9 +340,6 @@ static void parse_command(const char *cmd, const char *param); static void -runcmd(WebKitWebView *page, GArray *argv); - -static void parse_cmd_line(const char *ctl_line); static gchar* @@ -430,9 +428,6 @@ static void set_var(WebKitWebView *page, GArray *argv); static void -get_var(WebKitWebView *page, GArray *argv); - -static void act_bind(WebKitWebView *page, GArray *argv); static void