Add support for bookmark separators (bug 320261). r=brettw, ben.

Original committer: bryner%brianryner.com
Original revision: 1.36
Original date: 2006/02/08 01:10:05
This commit is contained in:
benjamin%smedbergs.us 2006-07-18 17:51:26 +00:00
Родитель fa3eebdd4e
Коммит b155806a6a
1 изменённых файлов: 5 добавлений и 4 удалений

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

@ -81,6 +81,7 @@ interface nsINavHistoryResultNode : nsISupports
const PRUint32 RESULT_TYPE_REMOTE_CONTAINER = 4; // nsINavHistoryContainerResultNode const PRUint32 RESULT_TYPE_REMOTE_CONTAINER = 4; // nsINavHistoryContainerResultNode
const PRUint32 RESULT_TYPE_QUERY = 5; // nsINavHistoryQueryResultNode const PRUint32 RESULT_TYPE_QUERY = 5; // nsINavHistoryQueryResultNode
const PRUint32 RESULT_TYPE_FOLDER = 6; // nsINavHistoryFolderResultNode const PRUint32 RESULT_TYPE_FOLDER = 6; // nsINavHistoryFolderResultNode
const PRUint32 RESULT_TYPE_SEPARATOR = 7; // nsINavHistoryResultNode
readonly attribute PRUint32 type; readonly attribute PRUint32 type;
/** /**
@ -814,10 +815,10 @@ interface nsINavHistoryQueryOptions : nsISupports
attribute PRUint32 resultType; attribute PRUint32 resultType;
/** /**
* This option excludes all URIs from a bookmarks query. This would be used * This option excludes all URIs and separators from a bookmarks query.
* if you just wanted a list of bookmark folders and queries (such as the left * This would be used if you just wanted a list of bookmark folders and
* pane of the places page). Ignored for queries over history. * queries (such as the left pane of the places page).
* Defaults to false. * Ignored for queries over history. Defaults to false.
*/ */
attribute boolean excludeItems; attribute boolean excludeItems;