From cde51e3c4f6f0be6c76d5ecbd72bed2d9e760512 Mon Sep 17 00:00:00 2001 From: "kipp%netscape.com" Date: Sat, 27 Mar 1999 01:20:02 +0000 Subject: [PATCH] Added a new method git-svn-id: svn://10.0.0.236/trunk@25288 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/content/base/public/nsITextContent.h | 5 +++++ mozilla/layout/base/public/nsITextContent.h | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/mozilla/content/base/public/nsITextContent.h b/mozilla/content/base/public/nsITextContent.h index d698ae08453..c85487cc709 100644 --- a/mozilla/content/base/public/nsITextContent.h +++ b/mozilla/content/base/public/nsITextContent.h @@ -54,6 +54,11 @@ public: NS_IMETHOD SetText(const char* aBuffer, PRInt32 aLength, PRBool aNotify) = 0; + + /** + * Query method to see if the frame is nothing but whitespace + */ + NS_IMETHOD IsOnlyWhitespace(PRBool* aResult) = 0; }; // XXX These belong elsewhere diff --git a/mozilla/layout/base/public/nsITextContent.h b/mozilla/layout/base/public/nsITextContent.h index d698ae08453..c85487cc709 100644 --- a/mozilla/layout/base/public/nsITextContent.h +++ b/mozilla/layout/base/public/nsITextContent.h @@ -54,6 +54,11 @@ public: NS_IMETHOD SetText(const char* aBuffer, PRInt32 aLength, PRBool aNotify) = 0; + + /** + * Query method to see if the frame is nothing but whitespace + */ + NS_IMETHOD IsOnlyWhitespace(PRBool* aResult) = 0; }; // XXX These belong elsewhere