зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
9cc28d9b99
Коммит
fe1fd3b4d3
|
@ -181,26 +181,6 @@ interface nsINavBookmarksService : nsISupports
|
|||
*/
|
||||
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.
|
||||
* @param folder The id of the parent folder
|
||||
|
|
Загрузка…
Ссылка в новой задаче