Added ListTag() member function

git-svn-id: svn://10.0.0.236/trunk@14568 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
troy%netscape.com
1998-11-13 02:20:31 +00:00
parent 6173d15046
commit fc79083fd3
2 changed files with 28 additions and 0 deletions

View File

@@ -60,6 +60,8 @@ public:
return NS_OK;
}
NS_IMETHOD ListTag(FILE* out) const;
protected:
virtual PRIntn GetSkipSides() const;
};
@@ -233,3 +235,15 @@ RootFrame::HandleEvent(nsIPresContext& aPresContext,
return NS_OK;
}
// Output the frame's tag
NS_IMETHODIMP
RootFrame::ListTag(FILE* out) const
{
if (nsnull == mContent) {
fprintf(out, "*Root(-1)@%p", this);
} else {
return nsFrame::ListTag(out);
}
}