diff --git a/webshell/public/nsIBrowserWindow.h b/webshell/public/nsIBrowserWindow.h index 34861b5fbbd3..3e6f92c83cf5 100644 --- a/webshell/public/nsIBrowserWindow.h +++ b/webshell/public/nsIBrowserWindow.h @@ -90,16 +90,6 @@ public: NS_IMETHOD GetWebShell(nsIWebShell*& aResult) = 0; - /** - * Finds text in content - */ - NS_IMETHOD FindNext(const nsString &aSearchStr, PRBool aMatchCase, PRBool aSearchDown, PRBool &aIsFound) = 0; - - /** - * Redraws contents of browser window - */ - NS_IMETHOD ForceRefresh() = 0; - // XXX minimize, maximize // XXX event control: enable/disable window close box, stick to glass, modal }; diff --git a/webshell/tests/viewer/nsBrowserWindow.h b/webshell/tests/viewer/nsBrowserWindow.h index 8b1d9ff8c670..cba35b66418c 100644 --- a/webshell/tests/viewer/nsBrowserWindow.h +++ b/webshell/tests/viewer/nsBrowserWindow.h @@ -83,8 +83,6 @@ public: NS_IMETHOD GetStatus(PRUnichar** aResult); NS_IMETHOD SetProgress(PRInt32 aProgress, PRInt32 aProgressMax); NS_IMETHOD GetWebShell(nsIWebShell*& aResult); - NS_IMETHOD FindNext(const nsString &aSearchStr, PRBool aMatchCase, PRBool aSearchDown, PRBool &aIsFound); - NS_IMETHOD ForceRefresh(); // nsIStreamObserver NS_IMETHOD OnStartBinding(nsIURL* aURL, const char *aContentType); @@ -135,6 +133,8 @@ public: void DoFind(); void DoSelectAll(); + NS_IMETHOD FindNext(const nsString &aSearchStr, PRBool aMatchCase, PRBool aSearchDown, PRBool &aIsFound); + NS_IMETHOD ForceRefresh(); void ShowPrintPreview(PRInt32 aID); diff --git a/xpfe/xpviewer/src/nsBrowserWindow.h b/xpfe/xpviewer/src/nsBrowserWindow.h index 98477a57e924..d21b72771ccf 100644 --- a/xpfe/xpviewer/src/nsBrowserWindow.h +++ b/xpfe/xpviewer/src/nsBrowserWindow.h @@ -94,8 +94,6 @@ public: NS_IMETHOD GetStatus(PRUnichar** aResult); NS_IMETHOD SetProgress(PRInt32 aProgress, PRInt32 aProgressMax); NS_IMETHOD GetWebShell(nsIWebShell*& aResult); - NS_IMETHOD FindNext(const nsString &aSearchStr, PRBool aMatchCase, PRBool aSearchDown, PRBool &aIsFound); - NS_IMETHOD ForceRefresh(); NS_IMETHOD HandleEvent(nsGUIEvent * anEvent); @@ -152,6 +150,8 @@ public: void DoFind(); void DoSelectAll(); void DoAppsDialog(); + NS_IMETHOD FindNext(const nsString &aSearchStr, PRBool aMatchCase, PRBool aSearchDown, PRBool &aIsFound); + NS_IMETHOD ForceRefresh(); // nsIToolbarManager Listener Interface NS_IMETHOD NotifyToolbarManagerChangedSize(nsIToolbarManager* aToolbarMgr);