diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2005-07-29 01:52:51 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2005-07-29 01:52:51 +0800 |
commit | 90586b820dea7fdb2588b24939ae72514f87c73d (patch) | |
tree | 8388e597298991275745bcb53908ad39b740dfbf /embed/mozilla/EphyBrowser.h | |
parent | a6467707fdbf7e67dbea0ba685dd0ba5c0ffbfdb (diff) | |
download | gsoc2013-epiphany-90586b820dea7fdb2588b24939ae72514f87c73d.tar gsoc2013-epiphany-90586b820dea7fdb2588b24939ae72514f87c73d.tar.gz gsoc2013-epiphany-90586b820dea7fdb2588b24939ae72514f87c73d.tar.bz2 gsoc2013-epiphany-90586b820dea7fdb2588b24939ae72514f87c73d.tar.lz gsoc2013-epiphany-90586b820dea7fdb2588b24939ae72514f87c73d.tar.xz gsoc2013-epiphany-90586b820dea7fdb2588b24939ae72514f87c73d.tar.zst gsoc2013-epiphany-90586b820dea7fdb2588b24939ae72514f87c73d.zip |
Work around gtkmozembed focus bug. Fixes bug #105153.
2005-07-28 Christian Persch <chpe@cvs.gnome.org>
* configure.ac:
* embed/mozilla/EphyBrowser.cpp:
* embed/mozilla/EphyBrowser.h:
* embed/mozilla/mozilla-embed.cpp:
* src/ephy-shell.c: (url_is_empty), (load_homepage),
(ephy_shell_new_tab_full):
Work around gtkmozembed focus bug. Fixes bug #105153.
Diffstat (limited to 'embed/mozilla/EphyBrowser.h')
-rw-r--r-- | embed/mozilla/EphyBrowser.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/embed/mozilla/EphyBrowser.h b/embed/mozilla/EphyBrowser.h index 279578e02..a4a0de502 100644 --- a/embed/mozilla/EphyBrowser.h +++ b/embed/mozilla/EphyBrowser.h @@ -34,6 +34,7 @@ #include <nsIWebNavigation.h> #include <nsISHistory.h> #include <nsIWebBrowser.h> +#include <nsIWebBrowserFocus.h> #include <nsIDOMDocument.h> #include <nsIDOMWindow.h> #include <nsIPrintSettings.h> @@ -178,10 +179,16 @@ public: EphyEmbedDocumentType GetDocumentType (); +#ifdef GTKMOZEMBED_BROKEN_FOCUS + nsresult FocusActivate (); + nsresult FocusDeactivate (); +#endif + nsCOMPtr<nsIWebBrowser> mWebBrowser; private: GtkWidget *mEmbed; + nsCOMPtr<nsIWebBrowserFocus> mWebBrowserFocus; nsCOMPtr<nsIDOMDocument> mTargetDocument; nsCOMPtr<nsIDOMEventTarget> mEventTarget; nsCOMPtr<nsIDOMWindow> mDOMWindow; |