Make folder nodes just be a type of query node. Make nsNavHistoryResult inherit from QueryNode instead of ResultNode, to get rid of some redundancy. Bug 317878 / 314553, r=brettw.

Original committer: bryner%brianryner.com
Original revision: 1.5
Original date: 2005/11/29 00:35:30
This commit is contained in:
benjamin%smedbergs.us 2006-07-18 17:25:21 +00:00
Родитель 11be1ae749
Коммит de704da924
1 изменённых файлов: 0 добавлений и 20 удалений

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

@ -181,26 +181,6 @@ interface nsINavBookmarksService : nsISupports
*/ */
readonly attribute PRInt64 toolbarRoot; readonly attribute PRInt64 toolbarRoot;
/**
* A query result containing the bookmarks folder tree.
* XXX get rid of me
*/
readonly attribute nsINavHistoryResult bookmarks;
/**
* These flags can be OR'd together and passed to getFolderChildren to
* specify the types of children returned.
*/
const PRUint32 ALL_CHILDREN = 0;
const PRUint32 ITEM_CHILDREN = 1;
const PRUint32 FOLDER_CHILDREN = 2;
const PRUint32 QUERY_CHILDREN = 4;
/**
* A query result containing only the children of the given folder.
*/
nsINavHistoryResult getFolderChildren(in PRInt64 folder, in PRUint32 flags);
/** /**
* Inserts a child item into the given folder. * Inserts a child item into the given folder.
* @param folder The id of the parent folder * @param folder The id of the parent folder