diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2004-01-16 02:08:26 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2004-01-16 02:08:26 +0800 |
commit | 216c6fa203c77b1ea3aa21dd822c3688783cac42 (patch) | |
tree | 4fcc01185a3bc213497bfcf90fbdc47b6044becf /embed/mozilla/EventContext.h | |
parent | 5e2c715ab1b0ae755542a02914b2377fd0878d99 (diff) | |
download | gsoc2013-epiphany-216c6fa203c77b1ea3aa21dd822c3688783cac42.tar gsoc2013-epiphany-216c6fa203c77b1ea3aa21dd822c3688783cac42.tar.gz gsoc2013-epiphany-216c6fa203c77b1ea3aa21dd822c3688783cac42.tar.bz2 gsoc2013-epiphany-216c6fa203c77b1ea3aa21dd822c3688783cac42.tar.lz gsoc2013-epiphany-216c6fa203c77b1ea3aa21dd822c3688783cac42.tar.xz gsoc2013-epiphany-216c6fa203c77b1ea3aa21dd822c3688783cac42.tar.zst gsoc2013-epiphany-216c6fa203c77b1ea3aa21dd822c3688783cac42.zip |
Make EphyEmbedEvent abstract, implemented by MozillaEmbedEvent. Port
2004-01-15 Christian Persch <chpe@cvs.gnome.org>
* embed/ephy-embed-event.c: (ephy_embed_event_get_type),
(ephy_embed_event_base_init), (ephy_embed_event_get_event_type),
(ephy_embed_event_get_context), (ephy_embed_event_get_modifier),
(ephy_embed_event_get_coords), (ephy_embed_event_get_property),
(ephy_embed_event_has_property), (ephy_embed_event_get_dom_event):
* embed/ephy-embed-event.h:
* embed/mozilla/EventContext.cpp:
* embed/mozilla/EventContext.h:
* embed/mozilla/Makefile.am:
* embed/mozilla/mozilla-embed-event.cpp:
* embed/mozilla/mozilla-embed-event.h:
* embed/mozilla/mozilla-embed.cpp:
* src/ephy-window.c: (popup_menu_at_coords):
* src/popup-commands.c: (popup_cmd_copy_link_address):
Make EphyEmbedEvent abstract, implemented by MozillaEmbedEvent.
Port callers to the new api.
Fix some callers in src/ which were using private fields of
EphyEmbedEvent struct.
Diffstat (limited to 'embed/mozilla/EventContext.h')
-rw-r--r-- | embed/mozilla/EventContext.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/embed/mozilla/EventContext.h b/embed/mozilla/EventContext.h index 5953e4810..a2deba41b 100644 --- a/embed/mozilla/EventContext.h +++ b/embed/mozilla/EventContext.h @@ -34,7 +34,7 @@ #include "EphyBrowser.h" #include "ephy-embed.h" -#include "ephy-embed-event.h" +#include "mozilla-embed-event.h" class EventContext { @@ -44,8 +44,8 @@ public: nsresult Init (EphyBrowser *wrapper); - nsresult GetMouseEventInfo (nsIDOMMouseEvent *event, EphyEmbedEvent *info); - nsresult GetKeyEventInfo (nsIDOMKeyEvent *event, EphyEmbedEvent *info); + nsresult GetMouseEventInfo (nsIDOMMouseEvent *event, MozillaEmbedEvent *info); + nsresult GetKeyEventInfo (nsIDOMKeyEvent *event, MozillaEmbedEvent *info); nsresult GetTargetDocument (nsIDOMDocument **domDoc); private: @@ -56,14 +56,14 @@ private: nsresult ResolveBaseURL (nsIDocument *doc, const nsAString &relurl, nsACString &url); nsresult ResolveDocumentURL (nsIDocument *doc, const nsAString &relurl, nsACString &url); nsresult GetEventContext (nsIDOMEventTarget *EventTarget, - EphyEmbedEvent *info); + MozillaEmbedEvent *info); nsresult GetCSSBackground (nsIDOMNode *node, nsAutoString& url); nsresult IsPageFramed (nsIDOMNode *node, PRBool *Framed); nsresult CheckLinkScheme (const nsAString &link); nsresult SetIntProperty (const char *name, int value); nsresult SetStringProperty (const char *name, const char *value); nsresult SetStringProperty (const char *name, const nsAString &value); - EphyEmbedEvent *mEmbedEvent; + MozillaEmbedEvent *mEmbedEvent; }; #endif |