summaryrefslogtreecommitdiff
path: root/embed/ephy-web-view.h
diff options
context:
space:
mode:
authorMichael Catanzaro <mcatanzaro@igalia.com>2016-02-08 17:00:32 -0600
committerMichael Catanzaro <mcatanzaro@igalia.com>2016-02-22 08:11:26 -0600
commitbc3579edfcaf73121a2c286a8338acd3ac590f56 (patch)
tree55d08f75c26d4f704b2f88ede9295c22b958f8f1 /embed/ephy-web-view.h
parentecf7e253a75b0c2e51ade8b590911a1435f72c7c (diff)
downloadepiphany-bc3579edfcaf73121a2c286a8338acd3ac590f56.tar.gz
web-view: Add accessor to get current error page
https://bugzilla.gnome.org/show_bug.cgi?id=761735
Diffstat (limited to 'embed/ephy-web-view.h')
-rw-r--r--embed/ephy-web-view.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/embed/ephy-web-view.h b/embed/ephy-web-view.h
index 91480d4ca..4bda784b0 100644
--- a/embed/ephy-web-view.h
+++ b/embed/ephy-web-view.h
@@ -46,6 +46,7 @@ typedef enum
} EphyWebViewDocumentType;
typedef enum {
+ EPHY_WEB_VIEW_ERROR_PAGE_NONE,
EPHY_WEB_VIEW_ERROR_PAGE_NETWORK_ERROR,
EPHY_WEB_VIEW_ERROR_PAGE_CRASH,
EPHY_WEB_VIEW_ERROR_PROCESS_CRASH,
@@ -93,7 +94,7 @@ const char * ephy_web_view_get_display_address (EphyWebView
void ephy_web_view_set_placeholder (EphyWebView *view,
const char *uri,
const char *title);
-
+EphyWebViewErrorPage ephy_web_view_get_error_page (EphyWebView *view);
void ephy_web_view_load_error_page (EphyWebView *view,
const char *uri,
EphyWebViewErrorPage page,