aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
authorGustavo Noronha Silva <gns@gnome.org>2009-01-15 08:52:10 +0800
committerGustavo Noronha Silva <kov@debian.org>2009-05-30 00:15:59 +0800
commitf1785bf92adafcf633a22152c4eb38dcba1ab319 (patch)
tree958c2d75236d84172016efe042f84c5da84fd85d /embed
parent0ce6fe842a2fc4c3155452f69247cdda97ab09d1 (diff)
downloadgsoc2013-epiphany-f1785bf92adafcf633a22152c4eb38dcba1ab319.tar
gsoc2013-epiphany-f1785bf92adafcf633a22152c4eb38dcba1ab319.tar.gz
gsoc2013-epiphany-f1785bf92adafcf633a22152c4eb38dcba1ab319.tar.bz2
gsoc2013-epiphany-f1785bf92adafcf633a22152c4eb38dcba1ab319.tar.lz
gsoc2013-epiphany-f1785bf92adafcf633a22152c4eb38dcba1ab319.tar.xz
gsoc2013-epiphany-f1785bf92adafcf633a22152c4eb38dcba1ab319.tar.zst
gsoc2013-epiphany-f1785bf92adafcf633a22152c4eb38dcba1ab319.zip
Remove LoadFlags
They were used, it seems, to decide whether to allow Gecko to "fix" the URL. WebKit has no such facility, and we are already doing our own handling of URI normalization.
Diffstat (limited to 'embed')
-rw-r--r--embed/ephy-embed.c4
-rw-r--r--embed/ephy-embed.h8
-rw-r--r--embed/webkit/webkit-embed.c1
3 files changed, 1 insertions, 12 deletions
diff --git a/embed/ephy-embed.c b/embed/ephy-embed.c
index bb1cc3bd1..9243075fe 100644
--- a/embed/ephy-embed.c
+++ b/embed/ephy-embed.c
@@ -368,7 +368,6 @@ ephy_embed_load_url (EphyEmbed *embed,
* ephy_embed_load:
* @embed: an #EphyEmbed
* @url: an URL
- * @flags: flags modifying load behaviour
* @previous_embed: the referrer embed or %NULL
*
* Loads a new web page in @embed.
@@ -376,11 +375,10 @@ ephy_embed_load_url (EphyEmbed *embed,
void
ephy_embed_load (EphyEmbed *embed,
const char *url,
- EphyEmbedLoadFlags flags,
EphyEmbed *referring_embed)
{
EphyEmbedIface *iface = EPHY_EMBED_GET_IFACE (embed);
- iface->load (embed, url, flags, referring_embed);
+ iface->load (embed, url, referring_embed);
}
/**
diff --git a/embed/ephy-embed.h b/embed/ephy-embed.h
index 3b6e03cb6..8809bf6f5 100644
--- a/embed/ephy-embed.h
+++ b/embed/ephy-embed.h
@@ -66,12 +66,6 @@ typedef enum
EPHY_EMBED_CHROME_BOOKMARKSBAR = 1 << 3
} EphyEmbedChrome;
-typedef enum
-{
- EPHY_EMBED_LOAD_FLAGS_NONE = 1 << 0,
- EPHY_EMBED_LOAD_FLAGS_ALLOW_THIRD_PARTY_FIXUP = 1 << 1,
-} EphyEmbedLoadFlags;
-
#define EPHY_EMBED_CHROME_ALL (EPHY_EMBED_CHROME_MENUBAR | \
EPHY_EMBED_CHROME_TOOLBAR | \
EPHY_EMBED_CHROME_STATUSBAR | \
@@ -164,7 +158,6 @@ struct _EphyEmbedIface
const char *url);
void (* load) (EphyEmbed *embed,
const char *url,
- EphyEmbedLoadFlags flags,
EphyEmbed *referring_embed);
gboolean (* can_go_up) (EphyEmbed *embed);
GSList * (* get_go_up_list) (EphyEmbed *embed);
@@ -222,7 +215,6 @@ void ephy_embed_load_url (EphyEmbed *embed,
const char *url);
void ephy_embed_load (EphyEmbed *embed,
const char *url,
- EphyEmbedLoadFlags flags,
EphyEmbed *referring_embed);
const char *ephy_embed_get_title (EphyEmbed *embed);
diff --git a/embed/webkit/webkit-embed.c b/embed/webkit/webkit-embed.c
index 27a720576..060b243c3 100644
--- a/embed/webkit/webkit-embed.c
+++ b/embed/webkit/webkit-embed.c
@@ -791,7 +791,6 @@ impl_load_url (EphyEmbed *embed,
static void
impl_load (EphyEmbed *embed,
const char *url,
- EphyEmbedLoadFlags flags,
EphyEmbed *preview_embed)
{
WebKitEmbed *wembed = WEBKIT_EMBED (embed);