Add a code comment from work on 413027.

This commit is contained in:
dbaron@dbaron.org 2008-03-21 21:50:58 -07:00
Родитель ac0f870141
Коммит 4b87fd803a
1 изменённых файлов: 9 добавлений и 0 удалений

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

@ -68,6 +68,15 @@ public:
void NeedsRebuild(nsBoxLayoutState& aBoxLayoutState);
void RebuildIfNeeded();
// For all the methods taking an aIsHorizontal parameter:
// * When aIsHorizontal is true, the words "rows" and (for
// GetColumnCount) "columns" refer to their normal meanings.
// * When aIsHorizontal is false, the meanings are flipped.
// FIXME: Maybe eliminate GetColumnCount and change aIsHorizontal to
// aIsRows? (Calling it horizontal doesn't really make sense because
// row groups and columns have vertical orientation, whereas column
// groups and rows are horizontal.)
nsSize GetPrefRowSize(nsBoxLayoutState& aBoxLayoutState, PRInt32 aRowIndex, PRBool aIsHorizontal = PR_TRUE);
nsSize GetMinRowSize(nsBoxLayoutState& aBoxLayoutState, PRInt32 aRowIndex, PRBool aIsHorizontal = PR_TRUE);
nsSize GetMaxRowSize(nsBoxLayoutState& aBoxLayoutState, PRInt32 aRowIndex, PRBool aIsHorizontal = PR_TRUE);