aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/EventContext.cpp
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/mozilla/EventContext.cpp
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/mozilla/EventContext.cpp')
-rw-r--r--embed/mozilla/EventContext.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/embed/mozilla/EventContext.cpp b/embed/mozilla/EventContext.cpp
index 5b815a756..656def8c8 100644
--- a/embed/mozilla/EventContext.cpp
+++ b/embed/mozilla/EventContext.cpp
@@ -177,8 +177,6 @@ nsresult EventContext::GetEventContext (nsIDOMEventTarget *EventTarget,
{
nsresult rv;
- const PRUnichar bgLiteral[] = {'b', 'a', 'c', 'k', 'g', 'r', 'o', 'u',
- 'n', 'd', '\0'};
const PRUnichar hrefLiteral[] = {'h', 'r', 'e', 'f', '\0'};
const PRUnichar typeLiteral[] = {'t', 'y', 'p', 'e', '\0'};
const PRUnichar xlinknsLiteral[] = {'h', 't', 't', 'p', ':', '/', '/','w',