From 26e659aa334cfd17d30697af9efe7656ea5d4ba8 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Sat, 27 Jul 2013 12:55:01 -0400 Subject: Add e_web_view_request(). Asynchronously requests data at a URI by way of a SoupRequest to WebKit's default SoupSession, incorporating both e_web_view_redirect_uri() and the custom request handlers installed via e_web_view_install_request_handler(). New functions: e_web_view_request() e_web_view_request_finish() --- e-util/e-web-view.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'e-util/e-web-view.h') diff --git a/e-util/e-web-view.h b/e-util/e-web-view.h index df338abd71..5071e3681d 100644 --- a/e-util/e-web-view.h +++ b/e-util/e-web-view.h @@ -185,6 +185,14 @@ void e_web_view_stop_loading (EWebView *web_view); void e_web_view_update_actions (EWebView *web_view); gchar * e_web_view_get_selection_html (EWebView *web_view); void e_web_view_update_fonts (EWebView *web_view); +void e_web_view_request (EWebView *web_view, + const gchar *uri, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); +GInputStream * e_web_view_request_finish (EWebView *web_view, + GAsyncResult *result, + GError **error); void e_web_view_install_request_handler (EWebView *web_view, -- cgit v1.2.3