Called by the result when this observer is added.
Readonly
skipWhether the observer is interested into history details changes. Those include visits additions and removals. If the observer doesn't provide this attribute, it will default to false. In practice, the observer won't receive nodeHistoryDetailsChanged. Note: this is only read when the observer is added, it cannot be changed dynamically.
Optional
aInstancePtr: objectA run time mechanism for interface discovery.
NS_OK if the interface is supported by the associated instance, NS_NOINTERFACE if it is not.
aInstancePtr must not be null.
[in] A requested interface IID
[out] A pointer to an interface pointer to receive the result.
This is called to indicate that a batch operation is about to start or end. The observer could want to disable some events or updates during batches, since multiple operations are packed in a short time. For example treeviews could temporarily suppress select notifications.
true if a batch is starting, false if it's ending.
Called after a container changes state.
The container that has changed state.
The state that aContainerNode has transitioned out of.
The state that aContainerNode has transitioned into.
Called when something significant has happened within the container. The contents of the container should be re-built.
the container node to invalidate
Called right after aNode's time property or accessCount property, or both, have changed.
a uri result node
the old visit date
the old access-count
Called when 'aItem' is inserted into 'aParent' at index 'aNewIndex'. The item previously at index (if any) and everything below it will have been shifted down by one. The item may be a container or a leaf.
Called whan 'aItem' is moved from 'aOldParent' at 'aOldIndex' to aNewParent at aNewIndex. The item may be a container or a leaf.
XXX: at the moment, this method is called only when an item is moved within the same container. When an item is moved between containers, a new node is created for the item, and the itemRemoved/itemAdded methods are used.
Called whan 'aItem' is removed from 'aParent' at 'aOldIndex'. The item may be a container or a leaf. This function will be called after the item has been removed from its parent list, but before anything else (including NULLing out the item's parent) has happened.
This is called to indicate to the UI that the sort has changed to the given mode. For trees, for example, this would update the column headers to reflect the sorting. For many other types of views, this won't be applicable.
One of nsINavHistoryQueryOptions.SORT_BY_* that indicates the new sorting mode.
This only is expected to update the sorting UI. invalidateAll() will also get called if the sorting changes to update everything.
Generated using TypeDoc
Allows clients to observe what is happening to a result as it updates itself according to history and bookmark system events. Register this observer on a result using nsINavHistoryResult::addObserver.