aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-embed-single.c
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@gnome.org>2004-06-13 04:25:09 +0800
committerMarco Pesenti Gritti <marco@src.gnome.org>2004-06-13 04:25:09 +0800
commitb59ab61dde301128d88778045f502cc30008bf8f (patch)
tree57dd181d409b16ca5abe7d2bddac9c3c54219e95 /embed/ephy-embed-single.c
parentdecb30ea6768b634476d351f3d5f5e73e4308326 (diff)
downloadgsoc2013-epiphany-b59ab61dde301128d88778045f502cc30008bf8f.tar
gsoc2013-epiphany-b59ab61dde301128d88778045f502cc30008bf8f.tar.gz
gsoc2013-epiphany-b59ab61dde301128d88778045f502cc30008bf8f.tar.bz2
gsoc2013-epiphany-b59ab61dde301128d88778045f502cc30008bf8f.tar.lz
gsoc2013-epiphany-b59ab61dde301128d88778045f502cc30008bf8f.tar.xz
gsoc2013-epiphany-b59ab61dde301128d88778045f502cc30008bf8f.tar.zst
gsoc2013-epiphany-b59ab61dde301128d88778045f502cc30008bf8f.zip
Add a way to open new windows passing features and uri. Something like js
2004-06-12 Marco Pesenti Gritti <marco@gnome.org> * embed/ephy-embed-single.c: (ephy_embed_single_open_window): * embed/ephy-embed-single.h: * embed/ephy-embed.h: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/EventContext.cpp: * embed/mozilla/mozilla-embed-single.cpp: Add a way to open new windows passing features and uri. Something like js window.open. It's necessary for popup blocker.
Diffstat (limited to 'embed/ephy-embed-single.c')
-rw-r--r--embed/ephy-embed-single.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/embed/ephy-embed-single.c b/embed/ephy-embed-single.c
index 72891edf8..0ea626128 100644
--- a/embed/ephy-embed-single.c
+++ b/embed/ephy-embed-single.c
@@ -169,3 +169,13 @@ ephy_embed_single_get_font_list (EphyEmbedSingle *single,
EphyEmbedSingleIface *iface = EPHY_EMBED_SINGLE_GET_IFACE (single);
return iface->get_font_list (single, lang_group);
}
+
+void
+ephy_embed_single_open_window (EphyEmbedSingle *single,
+ EphyEmbed *parent,
+ const char *address,
+ const char *features)
+{
+ EphyEmbedSingleIface *iface = EPHY_EMBED_SINGLE_GET_IFACE (single);
+ return iface->open_window (single, parent, address, features);
+}