diff --git a/content/base/public/nsContentUtils.h b/content/base/public/nsContentUtils.h index 71ea297e619..a317ed084c6 100644 --- a/content/base/public/nsContentUtils.h +++ b/content/base/public/nsContentUtils.h @@ -117,6 +117,7 @@ struct nsIntMargin; class nsPIDOMWindow; class nsIDocumentLoaderFactory; class nsIDOMHTMLInputElement; +class nsTypedSelection; namespace mozilla { @@ -2027,6 +2028,22 @@ public: */ static nsresult IsOnPrefWhitelist(nsPIDOMWindow* aWindow, const char* aPrefURL, bool *aAllowed); + + /** + * Takes a selection, and a text control element ( or