r+sr=dbaron
This commit is contained in:
caillon%returnzero.com 2004-01-20 22:15:38 +00:00
Родитель 2b9ad8b308
Коммит a2c8dc1fad
3 изменённых файлов: 6 добавлений и 0 удалений

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

@ -326,12 +326,14 @@ public:
// XXX Temporary for Bug #19416 // XXX Temporary for Bug #19416
NS_IMETHOD IgnoreSetPosition(PRBool aShouldIgnore) = 0; NS_IMETHOD IgnoreSetPosition(PRBool aShouldIgnore) = 0;
#ifdef DEBUG
/** /**
* Output debug info to FILE * Output debug info to FILE
* @param out output file handle * @param out output file handle
* @param aIndent indentation depth * @param aIndent indentation depth
*/ */
NS_IMETHOD List(FILE* out, PRInt32 aIndent = 0) const = 0; NS_IMETHOD List(FILE* out, PRInt32 aIndent = 0) const = 0;
#endif // DEBUG
/** /**
* @result true iff this is the root view for its view manager * @result true iff this is the root view for its view manager

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

@ -744,6 +744,7 @@ nsresult nsView::LoadWidget(const nsCID &aClassIID)
return rv; return rv;
} }
#ifdef DEBUG
NS_IMETHODIMP nsView::List(FILE* out, PRInt32 aIndent) const NS_IMETHODIMP nsView::List(FILE* out, PRInt32 aIndent) const
{ {
PRInt32 i; PRInt32 i;
@ -782,6 +783,7 @@ NS_IMETHODIMP nsView::List(FILE* out, PRInt32 aIndent) const
return NS_OK; return NS_OK;
} }
#endif // DEBUG
NS_IMETHODIMP nsView::GetOffsetFromWidget(nscoord *aDx, nscoord *aDy, nsIWidget *&aWidget) NS_IMETHODIMP nsView::GetOffsetFromWidget(nscoord *aDx, nscoord *aDy, nsIWidget *&aWidget)
{ {

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

@ -97,7 +97,9 @@ public:
PRBool aEnableDragDrop = PR_TRUE, PRBool aEnableDragDrop = PR_TRUE,
PRBool aResetVisibility = PR_TRUE, PRBool aResetVisibility = PR_TRUE,
nsContentType aContentType = eContentTypeInherit); nsContentType aContentType = eContentTypeInherit);
#ifdef DEBUG
NS_IMETHOD List(FILE* out = stdout, PRInt32 aIndent = 0) const; NS_IMETHOD List(FILE* out = stdout, PRInt32 aIndent = 0) const;
#endif
NS_IMETHOD Destroy(); NS_IMETHOD Destroy();
/** /**