Make bookmark and history views update dynamically (bug 317826 and 317827), r=brettw.

Original committer: bryner%brianryner.com
Original revision: 1.9
Original date: 2005/12/09 23:48:32
This commit is contained in:
benjamin%smedbergs.us 2006-07-18 17:27:06 +00:00
Родитель 937e04b682
Коммит 70af1b05ce
1 изменённых файлов: 12 добавлений и 0 удалений

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

@ -285,6 +285,18 @@ interface nsINavBookmarksService : nsISupports
void getBookmarkCategories(in nsIURI uri, out PRUint32 count,
[array, retval, size_is(count)] out PRInt64 categories);
/**
* Returns the index of the given item in the given folder.
* Returns -1 if the item is not present in the folder.
*/
PRInt32 indexOfItem(in PRInt64 folder, in nsIURI uri);
/**
* Returns the index of the given subfolder in its parent.
* Returns -1 if the subfolder is not present in the parent folder.
*/
PRInt32 indexOfFolder(in PRInt64 parent, in PRInt64 folder);
/**
* Adds a bookmark observer. If ownsWeak is false, the bookmark service will
* keep an owning reference to the observer. If ownsWeak is true, then