Bug 322371 r=bryner. Add session grouping to places view.

Original committer: brettw%gmail.com
Original revision: 1.5
Original date: 2006/01/04 19:08:25
This commit is contained in:
benjamin%smedbergs.us 2006-07-18 17:08:19 +00:00
Родитель 3abee5a7d6
Коммит 804b797eb2
1 изменённых файлов: 7 добавлений и 0 удалений

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

@ -131,6 +131,7 @@ protected:
PRTime mTime;
nsString mHost;
nsCString mFaviconURL;
PRInt64 mSessionID;
// Filled in by the result type generator in nsNavHistory
nsCOMArray<nsNavHistoryResultNode> mChildren;
@ -300,6 +301,12 @@ private:
return (nsNavHistoryResultNode*)mVisibleElements[index];
}
// This value indicates whether we should try to compute session boundaries.
// It is cached so we don't have to compute it every time we want to get a
// row style.
PRBool mShowSessions;
void ComputeShowSessions();
void FillTreeStats(nsNavHistoryResultNode* aResult, PRInt32 aLevel);
void InitializeVisibleList();
void RebuildList();