From b59ab61dde301128d88778045f502cc30008bf8f Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Sat, 12 Jun 2004 20:25:09 +0000 Subject: Add a way to open new windows passing features and uri. Something like js 2004-06-12 Marco Pesenti Gritti * 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. --- embed/ephy-embed-single.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'embed/ephy-embed-single.c') 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); +} -- cgit v1.2.3