Implemented by
[scriptable, uuid(63fe98e0-6889-4c2c-ac9f-703e4bc25027)]
interface nsIAnnotationObserver : nsISupports
Methods
void
onItemAnnotationRemoved(in long long aItemId, in AUTF8String aName)
void
onItemAnnotationSet(in long long aItemId, in AUTF8String aName)
Called when an annotation is deleted. If aName is empty, then ALL annotations for the given URI have been deleted. This is not called when annotations are expired (normally happens when the app exits).
void
onPageAnnotationRemoved(in nsIURI aURI, in AUTF8String aName)
Called when an annotation value is set. It could be a new annotation, or it could be a new value for an existing annotation.
void
onPageAnnotationSet(in nsIURI aPage, in AUTF8String aName)
Compare to: