From de704da924ecc315495ae6c027781b3c2508b426 Mon Sep 17 00:00:00 2001 From: "benjamin%smedbergs.us" Date: Tue, 18 Jul 2006 17:25:21 +0000 Subject: [PATCH] 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 --- .../places/public/nsINavBookmarksService.idl | 20 ------------------- 1 file changed, 20 deletions(-) diff --git a/toolkit/components/places/public/nsINavBookmarksService.idl b/toolkit/components/places/public/nsINavBookmarksService.idl index 33c5c1a1308..d1645806261 100644 --- a/toolkit/components/places/public/nsINavBookmarksService.idl +++ b/toolkit/components/places/public/nsINavBookmarksService.idl @@ -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