diff --git a/content/base/public/nsIDocument.h b/content/base/public/nsIDocument.h index f958decaf80a..be7dfe9e2ad0 100644 --- a/content/base/public/nsIDocument.h +++ b/content/base/public/nsIDocument.h @@ -191,6 +191,11 @@ public: */ virtual void SelectAll() = 0; + /** + * Finds text in content + */ + NS_IMETHOD FindNext(const nsString &aSearchStr, PRBool aMatchCase, PRBool aSearchDown, PRBool &aIsFound) = 0; + /** * Copies all text from the selection */ diff --git a/layout/base/public/nsIDocument.h b/layout/base/public/nsIDocument.h index f958decaf80a..be7dfe9e2ad0 100644 --- a/layout/base/public/nsIDocument.h +++ b/layout/base/public/nsIDocument.h @@ -191,6 +191,11 @@ public: */ virtual void SelectAll() = 0; + /** + * Finds text in content + */ + NS_IMETHOD FindNext(const nsString &aSearchStr, PRBool aMatchCase, PRBool aSearchDown, PRBool &aIsFound) = 0; + /** * Copies all text from the selection */