diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-07-28 00:55:01 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-07-28 03:27:13 +0800 |
commit | 26e659aa334cfd17d30697af9efe7656ea5d4ba8 (patch) | |
tree | 3113c934931231535247ea8b41501779d6dc210f /e-util/e-web-view.h | |
parent | 69837f33cc6701043c9bbef2005c3c8281d5980e (diff) | |
download | gsoc2013-evolution-26e659aa334cfd17d30697af9efe7656ea5d4ba8.tar gsoc2013-evolution-26e659aa334cfd17d30697af9efe7656ea5d4ba8.tar.gz gsoc2013-evolution-26e659aa334cfd17d30697af9efe7656ea5d4ba8.tar.bz2 gsoc2013-evolution-26e659aa334cfd17d30697af9efe7656ea5d4ba8.tar.lz gsoc2013-evolution-26e659aa334cfd17d30697af9efe7656ea5d4ba8.tar.xz gsoc2013-evolution-26e659aa334cfd17d30697af9efe7656ea5d4ba8.tar.zst gsoc2013-evolution-26e659aa334cfd17d30697af9efe7656ea5d4ba8.zip |
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()
Diffstat (limited to 'e-util/e-web-view.h')
-rw-r--r-- | e-util/e-web-view.h | 8 |
1 files changed, 8 insertions, 0 deletions
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, |