aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
authorXan Lopez <xan@src.gnome.org>2007-12-30 08:36:00 +0800
committerXan Lopez <xan@src.gnome.org>2007-12-30 08:36:00 +0800
commit34ace2ac288b1eaa6c63a7d4966952f245e149b3 (patch)
treed2038b44defd3b3f3029a1dc810e11dbd1a2e6d2 /embed
parente63a085bb01b783057e0cba91725f3af884d3292 (diff)
downloadgsoc2013-epiphany-34ace2ac288b1eaa6c63a7d4966952f245e149b3.tar
gsoc2013-epiphany-34ace2ac288b1eaa6c63a7d4966952f245e149b3.tar.gz
gsoc2013-epiphany-34ace2ac288b1eaa6c63a7d4966952f245e149b3.tar.bz2
gsoc2013-epiphany-34ace2ac288b1eaa6c63a7d4966952f245e149b3.tar.lz
gsoc2013-epiphany-34ace2ac288b1eaa6c63a7d4966952f245e149b3.tar.xz
gsoc2013-epiphany-34ace2ac288b1eaa6c63a7d4966952f245e149b3.tar.zst
gsoc2013-epiphany-34ace2ac288b1eaa6c63a7d4966952f245e149b3.zip
Stub new history interfaces in WebKit until the needed API lands
on trunk. svn path=/trunk/; revision=7837
Diffstat (limited to 'embed')
-rw-r--r--embed/webkit/webkit-embed.c67
1 files changed, 34 insertions, 33 deletions
diff --git a/embed/webkit/webkit-embed.c b/embed/webkit/webkit-embed.c
index 22d3ed0e8..82cb865ae 100644
--- a/embed/webkit/webkit-embed.c
+++ b/embed/webkit/webkit-embed.c
@@ -406,35 +406,6 @@ impl_scroll_pixels (EphyEmbed *embed,
{
}
-static int
-impl_shistory_n_items (EphyEmbed *embed)
-{
- return 0;
-}
-
-static void
-impl_shistory_get_nth (EphyEmbed *embed,
- int nth,
- gboolean is_relative,
- char **url,
- char **title)
-{
- *url = NULL;
- *title = NULL;
-}
-
-static int
-impl_shistory_get_pos (EphyEmbed *embed)
-{
- return 0;
-}
-
-static void
-impl_shistory_go_nth (EphyEmbed *embed,
- int nth)
-{
-}
-
static void
impl_shistory_copy (EphyEmbed *source,
EphyEmbed *dest,
@@ -504,6 +475,35 @@ impl_has_modified_forms (EphyEmbed *embed)
return FALSE;
}
+static GList*
+impl_get_backward_history (EphyEmbed *embed)
+{
+ return NULL;
+}
+
+static GList*
+impl_get_forward_history (EphyEmbed *embed)
+{
+ return NULL;
+}
+
+static EphyHistoryItem*
+impl_get_next_history_item (EphyEmbed *embed)
+{
+ return NULL;
+}
+
+static EphyHistoryItem*
+impl_get_previous_history_item (EphyEmbed *embed)
+{
+ return NULL;
+}
+
+static void
+impl_go_to_history_item (EphyEmbed *embed, EphyHistoryItem *history_item)
+{
+}
+
static void
ephy_embed_iface_init (EphyEmbedIface *iface)
{
@@ -525,10 +525,6 @@ ephy_embed_iface_init (EphyEmbedIface *iface)
iface->scroll_lines = impl_scroll_lines;
iface->scroll_pages = impl_scroll_pages;
iface->scroll_pixels = impl_scroll_pixels;
- iface->shistory_n_items = impl_shistory_n_items;
- iface->shistory_get_nth = impl_shistory_get_nth;
- iface->shistory_get_pos = impl_shistory_get_pos;
- iface->shistory_go_nth = impl_shistory_go_nth;
iface->shistory_copy = impl_shistory_copy;
iface->show_page_certificate = impl_show_page_certificate;
iface->close = impl_close;
@@ -541,4 +537,9 @@ ephy_embed_iface_init (EphyEmbedIface *iface)
iface->print_preview_navigate = impl_print_preview_navigate;
iface->has_modified_forms = impl_has_modified_forms;
iface->get_security_level = impl_get_security_level;
+ iface->get_backward_history = impl_get_backward_history;
+ iface->get_forward_history = impl_get_forward_history;
+ iface->get_next_history_item = impl_get_next_history_item;
+ iface->get_previous_history_item = impl_get_previous_history_item;
+ iface->go_to_history_item = impl_go_to_history_item;
}