Original committer: brettw%gmail.com
Original revision: 1.4
Original date: 2005/12/08 19:44:27
This commit is contained in:
benjamin%smedbergs.us 2006-07-18 17:17:47 +00:00
Родитель ea2774d66c
Коммит ccdf43ff8c
1 изменённых файлов: 11 добавлений и 0 удалений

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

@ -103,6 +103,10 @@ interface nsIAnnotationService : nsISupports
*
* aExpiration is one of EXPIRE_* above. aFlags should be 0 for now, some
* flags will be defined in the future.
*
* The annotation "favicon" is special. favicons are stored in the favicon
* service, but are special cased in the protocol handler so they look like
* annotations. Do not set favicons using this service.
*/
void setAnnotation(in nsIURI aURI, in AUTF8String aName, in nsIVariant aValue,
in PRInt32 aFlags, in PRInt32 aExpiration);
@ -177,6 +181,13 @@ interface nsIAnnotationService : nsISupports
out PRInt32 aFlags, out PRInt32 aExpiration,
out AUTF8String aMimeType, out PRInt32 aStorageType);
/**
* Returns a list of all URIs having a given annotation.
*/
void getPagesWithAnnotation(in AUTF8String name,
out PRUint32 resultCount,
[retval, array, size_is(resultCount)] out nsIURI results);
/**
* Get the names of all annotations for this URI.
*