diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2005-05-15 03:33:02 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2005-05-15 03:33:02 +0800 |
commit | 4a770ac2d3e35cfc5a32333001ebef8d45bce77f (patch) | |
tree | 237e05f8bf1ee42553454b048656442766582850 /embed | |
parent | 582f912720d98816c6b818dbb6188e0dd554386b (diff) | |
download | gsoc2013-epiphany-4a770ac2d3e35cfc5a32333001ebef8d45bce77f.tar gsoc2013-epiphany-4a770ac2d3e35cfc5a32333001ebef8d45bce77f.tar.gz gsoc2013-epiphany-4a770ac2d3e35cfc5a32333001ebef8d45bce77f.tar.bz2 gsoc2013-epiphany-4a770ac2d3e35cfc5a32333001ebef8d45bce77f.tar.lz gsoc2013-epiphany-4a770ac2d3e35cfc5a32333001ebef8d45bce77f.tar.xz gsoc2013-epiphany-4a770ac2d3e35cfc5a32333001ebef8d45bce77f.tar.zst gsoc2013-epiphany-4a770ac2d3e35cfc5a32333001ebef8d45bce77f.zip |
Drop support for mozilla < 1.7.5.
2005-05-14 Christian Persch <chpe@cvs.gnome.org>
* configure.ac:
* embed/mozilla/EphyBrowser.cpp:
Drop support for mozilla < 1.7.5.
Diffstat (limited to 'embed')
-rw-r--r-- | embed/mozilla/EphyBrowser.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/embed/mozilla/EphyBrowser.cpp b/embed/mozilla/EphyBrowser.cpp index 85a0a9f8c..819f7269c 100644 --- a/embed/mozilla/EphyBrowser.cpp +++ b/embed/mozilla/EphyBrowser.cpp @@ -134,14 +134,12 @@ EphyEventListener::Init (EphyBrowser *aOwner) NS_IMETHODIMP EphyDOMLinkEventListener::HandleEvent (nsIDOMEvent* aDOMEvent) { -#ifdef MOZ_NSIDOMNSEVENT_GETISTRUSTED /* make sure the event is trusted */ nsCOMPtr<nsIDOMNSEvent> nsEvent (do_QueryInterface (aDOMEvent)); NS_ENSURE_TRUE (nsEvent, NS_ERROR_FAILURE); PRBool isTrusted = PR_FALSE; nsEvent->GetIsTrusted (&isTrusted); if (!isTrusted) return NS_OK; -#endif /* MOZ_NSIDOMNSEVENT_GETISTRUSTED */ nsCOMPtr<nsIDOMEventTarget> eventTarget; aDOMEvent->GetTarget(getter_AddRefs(eventTarget)); @@ -293,14 +291,12 @@ EphyDOMContentLoadedEventListener::HandleEvent (nsIDOMEvent* aDOMEvent) { LOG ("DOMContentLoaded event fired up"); -#ifdef MOZ_NSIDOMNSEVENT_GETISTRUSTED /* make sure the event is trusted */ nsCOMPtr<nsIDOMNSEvent> nsEvent (do_QueryInterface (aDOMEvent)); NS_ENSURE_TRUE (nsEvent, NS_ERROR_FAILURE); PRBool isTrusted = PR_FALSE; nsEvent->GetIsTrusted (&isTrusted); if (!isTrusted) return NS_OK; -#endif /* MOZ_NSIDOMNSEVENT_GETISTRUSTED */ g_signal_emit_by_name (mOwner->mEmbed, "dom_content_loaded", (gpointer)aDOMEvent); @@ -332,14 +328,12 @@ EphyDOMLinkEventListener::GetDocURI (nsIDOMElement *aElement, NS_IMETHODIMP EphyPopupBlockEventListener::HandleEvent (nsIDOMEvent * aDOMEvent) { -#ifdef MOZ_NSIDOMNSEVENT_GETISTRUSTED /* make sure the event is trusted */ nsCOMPtr<nsIDOMNSEvent> nsEvent (do_QueryInterface (aDOMEvent)); NS_ENSURE_TRUE (nsEvent, NS_ERROR_FAILURE); PRBool isTrusted = PR_FALSE; nsEvent->GetIsTrusted (&isTrusted); if (!isTrusted) return NS_OK; -#endif /* MOZ_NSIDOMNSEVENT_GETISTRUSTED */ nsCOMPtr<nsIDOMPopupBlockedEvent> popupEvent = do_QueryInterface (aDOMEvent); @@ -373,7 +367,6 @@ EphyPopupBlockEventListener::HandleEvent (nsIDOMEvent * aDOMEvent) NS_IMETHODIMP EphyModalAlertEventListener::HandleEvent (nsIDOMEvent * aDOMEvent) { -#ifdef MOZ_NSIDOMNSEVENT_GETISTRUSTED NS_ENSURE_TRUE (mOwner, NS_ERROR_FAILURE); /* make sure the event is trusted */ @@ -409,7 +402,6 @@ EphyModalAlertEventListener::HandleEvent (nsIDOMEvent * aDOMEvent) { g_signal_emit_by_name (mOwner->mEmbed, "ge-modal-alert-closed"); } -#endif return NS_OK; } |