Made IndentBy public

git-svn-id: svn://10.0.0.236/trunk@15845 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
kipp%netscape.com
1998-12-05 16:03:07 +00:00
parent ee6282c56c
commit 0f01e4d9fa
2 changed files with 16 additions and 16 deletions

View File

@@ -280,7 +280,15 @@ public:
fprintf(out, "@%p", this);
}
static void IndentBy(FILE* out, PRInt32 aIndent) {
while (--aIndent >= 0) fputs(" ", out);
}
protected:
// Protected constructor and destructor
nsFrame();
virtual ~nsFrame();
virtual void NewContentIsBefore(nsIPresContext& aPresContext,
nsIRenderingContext * aRendContext,
nsGUIEvent * aEvent,
@@ -309,10 +317,6 @@ protected:
// Style post processing hook
NS_IMETHOD DidSetStyleContext(nsIPresContext* aPresContext);
// Protected constructor and destructor
nsFrame();
virtual ~nsFrame();
void SizeOfWithoutThis(nsISizeOfHandler* aHandler) const;
/**
@@ -326,10 +330,6 @@ protected:
*/
virtual void DumpBaseRegressionData(FILE* out, PRInt32 aIndent);
static void IndentBy(FILE* out, PRInt32 aIndent) {
while (--aIndent >= 0) fputs(" ", out);
}
nsresult MakeFrameName(const char* aKind, nsString& aResult) const;
static void XMLQuote(nsString& aString);

View File

@@ -280,7 +280,15 @@ public:
fprintf(out, "@%p", this);
}
static void IndentBy(FILE* out, PRInt32 aIndent) {
while (--aIndent >= 0) fputs(" ", out);
}
protected:
// Protected constructor and destructor
nsFrame();
virtual ~nsFrame();
virtual void NewContentIsBefore(nsIPresContext& aPresContext,
nsIRenderingContext * aRendContext,
nsGUIEvent * aEvent,
@@ -309,10 +317,6 @@ protected:
// Style post processing hook
NS_IMETHOD DidSetStyleContext(nsIPresContext* aPresContext);
// Protected constructor and destructor
nsFrame();
virtual ~nsFrame();
void SizeOfWithoutThis(nsISizeOfHandler* aHandler) const;
/**
@@ -326,10 +330,6 @@ protected:
*/
virtual void DumpBaseRegressionData(FILE* out, PRInt32 aIndent);
static void IndentBy(FILE* out, PRInt32 aIndent) {
while (--aIndent >= 0) fputs(" ", out);
}
nsresult MakeFrameName(const char* aKind, nsString& aResult) const;
static void XMLQuote(nsString& aString);