Added ListTag() member function

This commit is contained in:
troy@netscape.com
1998-11-13 02:20:31 +00:00
parent 4b64779562
commit e66b657712
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);
}
}