Removed List code now that base class dumps all child lists

This commit is contained in:
kipp%netscape.com 1999-01-16 00:19:30 +00:00
Родитель 10f24c7ebf
Коммит 418cd0251c
4 изменённых файлов: 0 добавлений и 58 удалений

Просмотреть файл

@ -692,30 +692,3 @@ nsAreaFrame::GetFrameName(nsString& aResult) const
{
return MakeFrameName("Area", aResult);
}
// XXX The base class implementation should handle listing all of
// the additional named child lists...
NS_IMETHODIMP
nsAreaFrame::List(FILE* out, PRInt32 aIndent) const
{
nsresult rv = nsBlockFrame::List(out, aIndent);
// Output absolutely positioned frames
if (mAbsoluteFrames.NotEmpty()) {
IndentBy(out, aIndent);
fprintf(out, "absolute-items <\n");
nsIFrame* f = mAbsoluteFrames.FirstChild();
while (nsnull != f) {
f->List(out, aIndent+1);
f->GetNextSibling(f);
}
IndentBy(out, aIndent);
fputs(">\n", out);
}
return rv;
}

Просмотреть файл

@ -72,8 +72,6 @@ public:
nsIFrame* aParent,
nsIStyleContext* aStyleContext,
nsIFrame*& aContinuingFrame);
NS_IMETHOD List(FILE* out, PRInt32 aIndent) const;
NS_IMETHOD GetFrameName(nsString& aResult) const;
protected:

Просмотреть файл

@ -692,30 +692,3 @@ nsAreaFrame::GetFrameName(nsString& aResult) const
{
return MakeFrameName("Area", aResult);
}
// XXX The base class implementation should handle listing all of
// the additional named child lists...
NS_IMETHODIMP
nsAreaFrame::List(FILE* out, PRInt32 aIndent) const
{
nsresult rv = nsBlockFrame::List(out, aIndent);
// Output absolutely positioned frames
if (mAbsoluteFrames.NotEmpty()) {
IndentBy(out, aIndent);
fprintf(out, "absolute-items <\n");
nsIFrame* f = mAbsoluteFrames.FirstChild();
while (nsnull != f) {
f->List(out, aIndent+1);
f->GetNextSibling(f);
}
IndentBy(out, aIndent);
fputs(">\n", out);
}
return rv;
}

Просмотреть файл

@ -72,8 +72,6 @@ public:
nsIFrame* aParent,
nsIStyleContext* aStyleContext,
nsIFrame*& aContinuingFrame);
NS_IMETHOD List(FILE* out, PRInt32 aIndent) const;
NS_IMETHOD GetFrameName(nsString& aResult) const;
protected: