зеркало из https://github.com/mozilla/pjs.git
Implement ListTag on bullet-frame's so that they dump better
This commit is contained in:
Родитель
01be19c7e9
Коммит
3db423d3db
|
@ -78,6 +78,7 @@ public:
|
|||
NS_IMETHOD Paint(nsIPresContext &aCX,
|
||||
nsIRenderingContext& aRenderingContext,
|
||||
const nsRect& aDirtyRect);
|
||||
NS_IMETHOD ListTag(FILE* out) const;
|
||||
NS_IMETHOD List(FILE* out, PRInt32 aIndent) const;
|
||||
|
||||
// nsIInlineReflow
|
||||
|
@ -220,6 +221,15 @@ BulletFrame::DeleteFrame(nsIPresContext& aPresContext)
|
|||
return nsFrame::DeleteFrame(aPresContext);
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
BulletFrame::ListTag(FILE* out) const
|
||||
{
|
||||
PRInt32 contentIndex;
|
||||
GetContentIndex(contentIndex);
|
||||
fprintf(out, "Bullet(%d)@%p", contentIndex, this);
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_METHOD
|
||||
BulletFrame::List(FILE* out, PRInt32 aIndent) const
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче