aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-web-view.h
diff options
context:
space:
mode:
authorAlejandro G. Castro <alex@igalia.com>2010-04-30 01:24:20 +0800
committerAlejandro G. Castro <alex@igalia.com>2010-05-02 23:09:56 +0800
commit4e914078cd832490b1d31804836f3ac2274fdaf0 (patch)
tree1925b670adeedbbab429ad189786b9d503b83919 /embed/ephy-web-view.h
parente355b448ed3f5002ba11e7e76a9de9c0d9630e6f (diff)
downloadgsoc2013-epiphany-4e914078cd832490b1d31804836f3ac2274fdaf0.tar
gsoc2013-epiphany-4e914078cd832490b1d31804836f3ac2274fdaf0.tar.gz
gsoc2013-epiphany-4e914078cd832490b1d31804836f3ac2274fdaf0.tar.bz2
gsoc2013-epiphany-4e914078cd832490b1d31804836f3ac2274fdaf0.tar.lz
gsoc2013-epiphany-4e914078cd832490b1d31804836f3ac2274fdaf0.tar.xz
gsoc2013-epiphany-4e914078cd832490b1d31804836f3ac2274fdaf0.tar.zst
gsoc2013-epiphany-4e914078cd832490b1d31804836f3ac2274fdaf0.zip
Removed the EphyWebViewNetState enum
We can use the webkit load status (WebKitLoadStatus) and avoid defining our own enum to check the net states. Bug #593743
Diffstat (limited to 'embed/ephy-web-view.h')
-rw-r--r--embed/ephy-web-view.h18
1 files changed, 1 insertions, 17 deletions
diff --git a/embed/ephy-web-view.h b/embed/ephy-web-view.h
index 5b6a28d4c..4079ebd4c 100644
--- a/embed/ephy-web-view.h
+++ b/embed/ephy-web-view.h
@@ -54,22 +54,6 @@ typedef enum
typedef enum
{
- EPHY_WEB_VIEW_STATE_UNKNOWN = 0,
- EPHY_WEB_VIEW_STATE_START = 1 << 0,
- EPHY_WEB_VIEW_STATE_REDIRECTING = 1 << 1,
- EPHY_WEB_VIEW_STATE_TRANSFERRING = 1 << 2,
- EPHY_WEB_VIEW_STATE_NEGOTIATING = 1 << 3,
- EPHY_WEB_VIEW_STATE_STOP = 1 << 4,
-
- EPHY_WEB_VIEW_STATE_IS_REQUEST = 1 << 5,
- EPHY_WEB_VIEW_STATE_IS_DOCUMENT = 1 << 6,
- EPHY_WEB_VIEW_STATE_IS_NETWORK = 1 << 7,
- EPHY_WEB_VIEW_STATE_IS_WINDOW = 1 << 8,
- EPHY_WEB_VIEW_STATE_RESTORING = 1 << 9
-} EphyWebViewNetState;
-
-typedef enum
-{
EPHY_WEB_VIEW_CHROME_MENUBAR = 1 << 0,
EPHY_WEB_VIEW_CHROME_TOOLBAR = 1 << 1,
EPHY_WEB_VIEW_CHROME_STATUSBAR = 1 << 2,
@@ -198,7 +182,7 @@ void ephy_web_view_set_address (EphyWebView
const char *address);
void ephy_web_view_update_from_net_state (EphyWebView *view,
const char *uri,
- EphyWebViewNetState state);
+ WebKitLoadStatus state);
void ephy_web_view_location_changed (EphyWebView *view,
const char *location);
void ephy_web_view_set_loading_title (EphyWebView *view,