diff options
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 b61a88ec1..0e693f43d 100644 --- a/embed/mozilla/EphyBrowser.h +++ b/embed/mozilla/EphyBrowser.h @@ -35,6 +35,7 @@ #include <nsIWebNavigation.h> #include <nsISHistory.h> #include <nsIWebBrowser.h> +#include <nsIWebBrowserFocus.h> #include <nsIDOMDocument.h> #include <nsIDOMWindow.h> #include <nsIPrintSettings.h> @@ -149,10 +150,16 @@ public: nsresult GetSecurityInfo (PRUint32 *aState, nsACString &aDescription); nsresult ShowCertificate (); +#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; |