aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2005-02-27 22:13:45 +0800
committerChristian Persch <chpe@src.gnome.org>2005-02-27 22:13:45 +0800
commit6fb031c9945eff5102c55776a6898927daede351 (patch)
treea951d63119a7d3e741e9b6a6d895e564a4b94803 /embed/mozilla
parentdbe82af48107b7ed00e21257507dc4e81ce1600c (diff)
downloadgsoc2013-epiphany-6fb031c9945eff5102c55776a6898927daede351.tar
gsoc2013-epiphany-6fb031c9945eff5102c55776a6898927daede351.tar.gz
gsoc2013-epiphany-6fb031c9945eff5102c55776a6898927daede351.tar.bz2
gsoc2013-epiphany-6fb031c9945eff5102c55776a6898927daede351.tar.lz
gsoc2013-epiphany-6fb031c9945eff5102c55776a6898927daede351.tar.xz
gsoc2013-epiphany-6fb031c9945eff5102c55776a6898927daede351.tar.zst
gsoc2013-epiphany-6fb031c9945eff5102c55776a6898927daede351.zip
Check for password inputs too.
2005-02-27 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-event.h: * embed/mozilla/EventContext.cpp: Check for password inputs too.
Diffstat (limited to 'embed/mozilla')
-rw-r--r--embed/mozilla/EventContext.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/embed/mozilla/EventContext.cpp b/embed/mozilla/EventContext.cpp
index 1472ee4d7..da746946d 100644
--- a/embed/mozilla/EventContext.cpp
+++ b/embed/mozilla/EventContext.cpp
@@ -813,6 +813,11 @@ nsresult EventContext::CheckInput (nsIDOMNode *aNode)
g_ascii_strcasecmp (value.get(), "checkbox") != 0)
{
mEmbedEvent->context |= EPHY_EMBED_CONTEXT_INPUT;
+
+ if (g_ascii_strcasecmp (value.get(), "password") == 0)
+ {
+ mEmbedEvent->context |= EPHY_EMBED_CONTEXT_INPUT_PASSWORD;
+ }
}
return NS_OK;