diff options
author | Marco Pesenti Gritti <marco@src.gnome.org> | 2003-08-17 23:29:53 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <marco@src.gnome.org> | 2003-08-17 23:29:53 +0800 |
commit | c59c60dcb8e303eac05a141da34efd9b7b871931 (patch) | |
tree | a7a216473f31f477f41678e2e100326adc67acca | |
parent | 414552ebfcc82109fc58be5f810b5c9ac0cbab83 (diff) | |
download | gsoc2013-epiphany-c59c60dcb8e303eac05a141da34efd9b7b871931.tar gsoc2013-epiphany-c59c60dcb8e303eac05a141da34efd9b7b871931.tar.gz gsoc2013-epiphany-c59c60dcb8e303eac05a141da34efd9b7b871931.tar.bz2 gsoc2013-epiphany-c59c60dcb8e303eac05a141da34efd9b7b871931.tar.lz gsoc2013-epiphany-c59c60dcb8e303eac05a141da34efd9b7b871931.tar.xz gsoc2013-epiphany-c59c60dcb8e303eac05a141da34efd9b7b871931.tar.zst gsoc2013-epiphany-c59c60dcb8e303eac05a141da34efd9b7b871931.zip |
*** empty log message ***
-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); |