Lines Matching refs:uri
62 const char *uri) in process_request_starting_uri() argument
66 if (g_str_has_prefix(uri, "osu://")) { in process_request_starting_uri()
67 ctx->success = atoi(uri + 6); in process_request_starting_uri()
69 } else if (g_str_has_prefix(uri, "http://localhost:12345")) { in process_request_starting_uri()
107 const gchar *uri = webkit_uri_request_get_uri(req); in view_cb_resource_load_starting() local
109 wpa_printf(MSG_DEBUG, "BROWSER:%s uri=%s", __func__, uri); in view_cb_resource_load_starting()
110 process_request_starting_uri(ctx, uri); in view_cb_resource_load_starting()
138 const gchar *uri; in view_cb_decide_policy() local
143 uri = webkit_uri_request_get_uri(req); in view_cb_decide_policy()
145 __func__, uri); in view_cb_decide_policy()
146 process_request_starting_uri(ctx, uri); in view_cb_decide_policy()
163 const char *uri = NULL; in view_cb_mouse_target_changed() local
166 uri = webkit_hit_test_result_get_link_uri(h); in view_cb_mouse_target_changed()
168 uri = webkit_hit_test_result_get_image_uri(h); in view_cb_mouse_target_changed()
170 uri = webkit_hit_test_result_get_media_uri(h); in view_cb_mouse_target_changed()
172 wpa_printf(MSG_DEBUG, "BROWSER:%s uri=%s", __func__, uri ? uri : "N/A"); in view_cb_mouse_target_changed()
174 if (uri) in view_cb_mouse_target_changed()
175 ctx->hover_link = os_strdup(uri); in view_cb_mouse_target_changed()
227 const gchar *uri = webkit_network_request_get_uri(req); in view_cb_resource_request_starting() local
229 wpa_printf(MSG_DEBUG, "BROWSER:%s uri=%s", __func__, uri); in view_cb_resource_request_starting()
230 if (g_str_has_suffix(uri, "/favicon.ico")) in view_cb_resource_request_starting()
233 process_request_starting_uri(ctx, uri); in view_cb_resource_request_starting()
257 const gchar *uri; in view_cb_download_requested() local
258 uri = webkit_download_get_uri(dl); in view_cb_download_requested()
259 wpa_printf(MSG_DEBUG, "BROWSER:%s uri=%s", __func__, uri); in view_cb_download_requested()
265 gchar *uri, struct browser_context *ctx) in view_cb_hovering_over_link() argument
268 uri); in view_cb_hovering_over_link()
270 if (uri) in view_cb_hovering_over_link()
271 ctx->hover_link = os_strdup(uri); in view_cb_hovering_over_link()