aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-web-view.h
diff options
context:
space:
mode:
authorDiego Escalante Urrelo <descalante@igalia.com>2009-09-01 13:05:36 +0800
committerDiego Escalante Urrelo <descalante@igalia.com>2010-12-11 00:53:50 +0800
commite435a10d44dfed0705a5703b406c854a1208821e (patch)
treec379fa7e3b59974f72813868a5cb504b378e1ff1 /embed/ephy-web-view.h
parent3a1e97fbd04ca466535da01e8fdd0bca95560aa4 (diff)
downloadgsoc2013-epiphany-e435a10d44dfed0705a5703b406c854a1208821e.tar
gsoc2013-epiphany-e435a10d44dfed0705a5703b406c854a1208821e.tar.gz
gsoc2013-epiphany-e435a10d44dfed0705a5703b406c854a1208821e.tar.bz2
gsoc2013-epiphany-e435a10d44dfed0705a5703b406c854a1208821e.tar.lz
gsoc2013-epiphany-e435a10d44dfed0705a5703b406c854a1208821e.tar.xz
gsoc2013-epiphany-e435a10d44dfed0705a5703b406c854a1208821e.tar.zst
gsoc2013-epiphany-e435a10d44dfed0705a5703b406c854a1208821e.zip
ephy-web-view: use custom error pages
Show nice error pages instead of WebKitGTK+'s defaults. Bug #592667
Diffstat (limited to 'embed/ephy-web-view.h')
-rw-r--r--embed/ephy-web-view.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/embed/ephy-web-view.h b/embed/ephy-web-view.h
index f4e18a582..7b412bd74 100644
--- a/embed/ephy-web-view.h
+++ b/embed/ephy-web-view.h
@@ -86,6 +86,11 @@ typedef enum
EPHY_WEB_VIEW_DOCUMENT_OTHER
} EphyWebViewDocumentType;
+typedef enum {
+ EPHY_WEB_VIEW_ERROR_PAGE_NETWORK_ERROR,
+ EPHY_WEB_VIEW_ERROR_PAGE_CRASH
+} EphyWebViewErrorPage;
+
struct _EphyWebView
{
WebKitWebView parent;
@@ -173,6 +178,11 @@ gboolean ephy_web_view_can_go_up (EphyWebView
const char * ephy_web_view_get_address (EphyWebView *view);
const char * ephy_web_view_get_title_composite (EphyWebView *view);
+void ephy_web_view_load_error_page (EphyWebView *view,
+ const char *uri,
+ EphyWebViewErrorPage page,
+ GError *error);
+
/* These should be private */
void ephy_web_view_set_address (EphyWebView *view,