diff options
Diffstat (limited to 'embed/ephy-web-view.h')
-rw-r--r-- | embed/ephy-web-view.h | 10 |
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, |