aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/EventContext.h
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@it.gnome.org>2003-06-15 23:00:42 +0800
committerMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-06-15 23:00:42 +0800
commitd9dbf128b234992f938c6800f31891800c68626c (patch)
tree1c4d71356cc6cc7c82498a031765277e9182bf72 /embed/mozilla/EventContext.h
parent3af933af0fb76029084541a4ecb0e85d9938e58e (diff)
downloadgsoc2013-epiphany-d9dbf128b234992f938c6800f31891800c68626c.tar
gsoc2013-epiphany-d9dbf128b234992f938c6800f31891800c68626c.tar.gz
gsoc2013-epiphany-d9dbf128b234992f938c6800f31891800c68626c.tar.bz2
gsoc2013-epiphany-d9dbf128b234992f938c6800f31891800c68626c.tar.lz
gsoc2013-epiphany-d9dbf128b234992f938c6800f31891800c68626c.tar.xz
gsoc2013-epiphany-d9dbf128b234992f938c6800f31891800c68626c.tar.zst
gsoc2013-epiphany-d9dbf128b234992f938c6800f31891800c68626c.zip
Use new INIT macros (from galeon).
2003-06-15 Marco Pesenti Gritti <marco@it.gnome.org> * configure.in: Use new INIT macros (from galeon). * embed/ephy-embed-event.c: (ephy_embed_event_get_coords): * embed/ephy-embed-event.h: * embed/mozilla/EventContext.cpp: * embed/mozilla/EventContext.h: * embed/mozilla/mozilla-embed.cpp: mozilla api changes (from galeon). Untested.
Diffstat (limited to 'embed/mozilla/EventContext.h')
-rw-r--r--embed/mozilla/EventContext.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/embed/mozilla/EventContext.h b/embed/mozilla/EventContext.h
index 432bd1f53..8025fb353 100644
--- a/embed/mozilla/EventContext.h
+++ b/embed/mozilla/EventContext.h
@@ -42,16 +42,17 @@ public:
EventContext();
~EventContext();
- nsresult Init (nsIDOMEvent *event, EphyWrapper *wrapper);
+ nsresult Init (EphyWrapper *wrapper);
- nsresult GetMouseEventInfo (EphyEmbedEvent *info);
+ nsresult GetMouseEventInfo (nsIDOMMouseEvent *event, EphyEmbedEvent *info);
nsresult GetTargetDocument (nsIDOMDocument **domDoc);
private:
- nsIDOMEvent *mEvent;
EphyWrapper *mWrapper;
nsCOMPtr<nsIDOMDocument> mDOMDocument;
+ nsresult ResolveBaseURL (nsIDocument *doc, const nsAString &relurl, nsACString &url);
+ nsresult ResolveDocumentURL (nsIDocument *doc, const nsAString &relurl, nsACString &url);
nsresult GetEventContext (nsIDOMEventTarget *EventTarget,
EphyEmbedEvent *info);
nsresult GetCSSBackground (nsIDOMNode *node, nsAutoString& url);