diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | embed/mozilla/EphyWrapper.cpp | 15 | ||||
-rw-r--r-- | embed/mozilla/EphyWrapper.h | 4 |
3 files changed, 7 insertions, 19 deletions
@@ -1,3 +1,10 @@ +2003-08-17 Marco Pesenti Gritti <marco@.gnome.org> + + * embed/mozilla/EphyWrapper.cpp: + * embed/mozilla/EphyWrapper.h: + + Remove unused code + 2003-08-17 Christian Persch <chpe@cvs.gnome.org> * lib/egg/egg-menu-merge.c: (update_node): diff --git a/embed/mozilla/EphyWrapper.cpp b/embed/mozilla/EphyWrapper.cpp index d9de1d54d..03514d21d 100644 --- a/embed/mozilla/EphyWrapper.cpp +++ b/embed/mozilla/EphyWrapper.cpp @@ -539,21 +539,6 @@ nsresult EphyWrapper::GetWebNavigation(nsIWebNavigation **aWebNavigation) return NS_OK; } -nsresult EphyWrapper::ReloadDocument () -{ - nsresult result; - - nsCOMPtr<nsIWebNavigation> wn; - result = GetWebNavigation(getter_AddRefs(wn)); - if (!wn || !NS_SUCCEEDED (result)) return NS_ERROR_FAILURE; - - result = wn->Reload (nsIWebNavigation::LOAD_FLAGS_BYPASS_CACHE | - nsIWebNavigation::LOAD_FLAGS_BYPASS_PROXY); - if (!NS_SUCCEEDED (result)) return NS_ERROR_FAILURE; - - return NS_OK; -} - nsresult EphyWrapper::LoadDocument(nsISupports *aPageDescriptor, PRUint32 aDisplayType) { diff --git a/embed/mozilla/EphyWrapper.h b/embed/mozilla/EphyWrapper.h index a210cdbfd..2f5131ee6 100644 --- a/embed/mozilla/EphyWrapper.h +++ b/embed/mozilla/EphyWrapper.h @@ -63,7 +63,6 @@ public: nsresult GetMainDocumentUrl (nsCString &url); nsresult GetDocumentUrl (nsCString &url); - nsresult ReloadDocument (); nsresult LoadDocument(nsISupports *aPageDescriptor, PRUint32 aDisplayType); nsresult GetPageDescriptor(nsISupports **aPageDescriptor); @@ -89,9 +88,6 @@ public: nsresult Paste(void); - nsresult Activate (); - nsresult Deactivate (); - nsresult GetMainDOMDocument (nsIDOMDocument **aDOMDocument); nsresult SelectAll (void); |