diff options
author | Marco Pesenti Gritti <marco@gnome.org> | 2003-10-28 00:39:50 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <marco@src.gnome.org> | 2003-10-28 00:39:50 +0800 |
commit | 03518bcc5c5aa9a9149315e932f84a0aee2d44ce (patch) | |
tree | ee8ca665c481ecfa6c3e59a68a3abf59e4e91523 /embed/mozilla/EventContext.h | |
parent | 971cc4759cceb6a5842bf4d2016eb5c8e71896a8 (diff) | |
download | gsoc2013-epiphany-03518bcc5c5aa9a9149315e932f84a0aee2d44ce.tar gsoc2013-epiphany-03518bcc5c5aa9a9149315e932f84a0aee2d44ce.tar.gz gsoc2013-epiphany-03518bcc5c5aa9a9149315e932f84a0aee2d44ce.tar.bz2 gsoc2013-epiphany-03518bcc5c5aa9a9149315e932f84a0aee2d44ce.tar.lz gsoc2013-epiphany-03518bcc5c5aa9a9149315e932f84a0aee2d44ce.tar.xz gsoc2013-epiphany-03518bcc5c5aa9a9149315e932f84a0aee2d44ce.tar.zst gsoc2013-epiphany-03518bcc5c5aa9a9149315e932f84a0aee2d44ce.zip |
Solving the wrapper mess Episode 3. Rename to EphyBrowser and add sanity
2003-10-27 Marco Pesenti Gritti <marco@gnome.org>
* embed/mozilla/EphyBrowser.cpp:
* embed/mozilla/EphyBrowser.h:
* embed/mozilla/EphyWrapper.cpp:
* embed/mozilla/EphyWrapper.h:
* embed/mozilla/EventContext.cpp:
* embed/mozilla/EventContext.h:
* embed/mozilla/Makefile.am:
* embed/mozilla/mozilla-embed-persist.cpp:
* embed/mozilla/mozilla-embed.cpp:
* embed/mozilla/mozilla-embed.h:
Solving the wrapper mess Episode 3.
Rename to EphyBrowser and add sanity checks.
GtkMozEmbed initialize the browser on realize, that
means until that we shouldnt use most of the EphyBrowser
methods. I'm quite sure there are not such cases in
current implementation, otherwise we would have had
problems also before. Though better avoid problems
in the future.
Diffstat (limited to 'embed/mozilla/EventContext.h')
-rw-r--r-- | embed/mozilla/EventContext.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/embed/mozilla/EventContext.h b/embed/mozilla/EventContext.h index ca59d16dd..44dc37483 100644 --- a/embed/mozilla/EventContext.h +++ b/embed/mozilla/EventContext.h @@ -31,7 +31,7 @@ #include "nsIDOMElementCSSInlineStyle.h" #include "nsIDOMCSSStyleDeclaration.h" #include "nsIDOMDocument.h" -#include "EphyWrapper.h" +#include "EphyBrowser.h" #include "ephy-embed.h" #include "ephy-embed-event.h" @@ -42,14 +42,14 @@ public: EventContext(); ~EventContext(); - nsresult Init (EphyWrapper *wrapper); + nsresult Init (EphyBrowser *wrapper); nsresult GetMouseEventInfo (nsIDOMMouseEvent *event, EphyEmbedEvent *info); nsresult GetKeyEventInfo (nsIDOMKeyEvent *event, EphyEmbedEvent *info); nsresult GetTargetDocument (nsIDOMDocument **domDoc); private: - EphyWrapper *mWrapper; + EphyBrowser *mBrowser; nsCOMPtr<nsIDOMDocument> mDOMDocument; nsresult GatherTextUnder (nsIDOMNode* aNode, nsString& aResult); |