From dc86520e1a7ee0021eea72e8b4d3b7989a5a3abc Mon Sep 17 00:00:00 2001 From: "benjamin%smedbergs.us" Date: Tue, 18 Jul 2006 17:38:48 +0000 Subject: [PATCH] Work-in-progress for places UI. Allow the backend to filter results based on item type, and provide a way to ask for a result rooted at a given bookmark folder. NPOB, will be reviewed by ben/brettw before being turned on. Original committer: bryner%brianryner.com Original revision: 1.4 Original date: 2005/11/19 00:08:59 git-svn-id: svn://10.0.0.236/trunk@202850 18797224-902f-48f8-a5cc-f745e15eee43 --- .../places/public/nsINavHistoryService.idl | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/mozilla/toolkit/components/places/public/nsINavHistoryService.idl b/mozilla/toolkit/components/places/public/nsINavHistoryService.idl index b94d609e8d7..a8c29fd7140 100644 --- a/mozilla/toolkit/components/places/public/nsINavHistoryService.idl +++ b/mozilla/toolkit/components/places/public/nsINavHistoryService.idl @@ -64,6 +64,12 @@ interface nsINavHistoryResultNode : nsISupports */ readonly attribute AUTF8String url; + /** + * ID of the folder corresponding to this node. + * Only valid for RESULT_TYPE_FOLDER nodes, 0 for all other types. + */ + readonly attribute PRInt64 folderId; + /** * Title of the web page, or name of the host. */ @@ -304,6 +310,12 @@ interface nsINavHistoryQuery : nsISupports */ attribute AString domain; readonly attribute boolean hasDomain; + + /** + * Limit results to items that are in all of the given folders. + */ + // void setFolders([const,array, size_is(folderCount)] in PRInt64 folders, + // in PRUint32 folderCount); }; /**