aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-embed-utils.h
diff options
context:
space:
mode:
authorXan Lopez <xan@src.gnome.org>2008-06-30 02:15:38 +0800
committerXan Lopez <xan@src.gnome.org>2008-06-30 02:15:38 +0800
commit898961c9a4cacc9379a3fe871a5f173baf69b866 (patch)
tree17c704ca5a714398814496158a27c3d0b7d933cc /embed/ephy-embed-utils.h
parent42bc2e2079a240286b5f3e3891ec942f341a88f7 (diff)
downloadgsoc2013-epiphany-898961c9a4cacc9379a3fe871a5f173baf69b866.tar.gz
gsoc2013-epiphany-898961c9a4cacc9379a3fe871a5f173baf69b866.tar.zst
gsoc2013-epiphany-898961c9a4cacc9379a3fe871a5f173baf69b866.zip
ephy-embed-utils: add macro to get webkitwebview from embed.
Will be used in the process to get rid of the embedding abstraction. svn path=/trunk/; revision=8301
Diffstat (limited to 'embed/ephy-embed-utils.h')
-rw-r--r--embed/ephy-embed-utils.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/embed/ephy-embed-utils.h b/embed/ephy-embed-utils.h
index 7de058f53..a5c64bb7d 100644
--- a/embed/ephy-embed-utils.h
+++ b/embed/ephy-embed-utils.h
@@ -31,8 +31,12 @@
#include "ephy-embed.h"
+#include <webkit/webkit.h>
+
G_BEGIN_DECLS
+#define EPHY_GET_WEBKIT_WEB_VIEW_FROM_EMBED(embed) (WEBKIT_WEB_VIEW (gtk_bin_get_child (GTK_BIN (gtk_bin_get_child (GTK_BIN (embed))))))
+
char * ephy_embed_utils_link_message_parse (char *message);
const char * ephy_embed_utils_get_title_composite (EphyEmbed *embed);
gboolean ephy_embed_utils_address_has_web_scheme (const char *address);