aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-embed-single.c
diff options
context:
space:
mode:
authorAdam Hooper <adamh@src.gnome.org>2004-06-21 19:09:56 +0800
committerAdam Hooper <adamh@src.gnome.org>2004-06-21 19:09:56 +0800
commit234742d9a6c75c8163a47bd1f3b1eeeba15e58cc (patch)
tree8901df253d7052f7d0b157f8dcd38c33a927ddfb /embed/ephy-embed-single.c
parent848ded5f81fc73bafd62c6cbf1e2b9b9814e7263 (diff)
downloadgsoc2013-epiphany-234742d9a6c75c8163a47bd1f3b1eeeba15e58cc.tar
gsoc2013-epiphany-234742d9a6c75c8163a47bd1f3b1eeeba15e58cc.tar.gz
gsoc2013-epiphany-234742d9a6c75c8163a47bd1f3b1eeeba15e58cc.tar.bz2
gsoc2013-epiphany-234742d9a6c75c8163a47bd1f3b1eeeba15e58cc.tar.lz
gsoc2013-epiphany-234742d9a6c75c8163a47bd1f3b1eeeba15e58cc.tar.xz
gsoc2013-epiphany-234742d9a6c75c8163a47bd1f3b1eeeba15e58cc.tar.zst
gsoc2013-epiphany-234742d9a6c75c8163a47bd1f3b1eeeba15e58cc.zip
Implement popup-blocking signals. Part of bug #111930.
Diffstat (limited to 'embed/ephy-embed-single.c')
-rw-r--r--embed/ephy-embed-single.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/embed/ephy-embed-single.c b/embed/ephy-embed-single.c
index 0ea626128..9581883e4 100644
--- a/embed/ephy-embed-single.c
+++ b/embed/ephy-embed-single.c
@@ -170,6 +170,20 @@ ephy_embed_single_get_font_list (EphyEmbedSingle *single,
return iface->get_font_list (single, lang_group);
}
+/**
+ * ephy_embed_single_open_window:
+ * @single: the #EphyEmbedSingle
+ * @parent: the requested window's parent #EphyEmbed
+ * @address: the URL to load
+ * @features: a Javascript features string
+ *
+ * Opens a new window, as if it were opened in @parent using the Javascript
+ * method and arguments: <code>window.open(&quot;@address&quot;,
+ * &quot;_blank&quot;, &quot;@features&quot;);</code>.
+ *
+ * Use ephy_shell_new_tab() unless this handling of the @features string is
+ * required.
+ */
void
ephy_embed_single_open_window (EphyEmbedSingle *single,
EphyEmbed *parent,