diff options
Diffstat (limited to 'embed')
-rw-r--r-- | embed/mozilla/EphyWrapper.cpp | 15 | ||||
-rw-r--r-- | embed/mozilla/EphyWrapper.h | 4 |
2 files changed, 0 insertions, 19 deletions
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); |