Search completed in 1.42 seconds.
2 results for "nsinavbookmarksbatchcallback":
nsINavBookmarksService
Mozilla › Tech › XPCOM › Reference › Interface › nsINavBookmarksService
number of bookmark items. Calls can be nested. Observers are notified when batches begin and end, via nsINavBookmarkObserver.onBeginUpdateBatch() and nsINavBookmarkObserver.onEndUpdateBatch(). void runInBatchMode( in nsINavHistoryBatchCallback aCallback, in nsISupports aUserData ); Parameters aCallback nsINavHistoryBatchCallback interface to call. aUserData Opaque parameter passed to nsINavBookmarksBatchCallback. setFolderReadonly() This method sets or unsets the readonly flag from a folder. If this is set to true, UI will not allow the user to add, remove, or reorder children in this folder. The default for all folders is false. Note: This does not restrict API calls, only UI actions. void setFolderReadonly( in long long aFolder, in boolean aReadOnly ); Parameters aFolder The item-id of t...
nsINavHistoryService
Mozilla › Tech › XPCOM › Reference › Interface › nsINavHistoryService
tchMode() This method runs the passed callback in batch mode. Use this when a lot of things are about to change. Calls can be nested, observers will only be notified when all batches begin/end. void runInBatchMode( in nsINavHistoryBatchCallback aCallback, in nsISupports aClosure ); Parameters aCallback nsINavHistoryBatchCallback interface to call. aClosure Opaque parameter passed to nsINavBookmarksBatchCallback. importHistory() This method imports the given Mork history file. void importHistory( in nsIFile file ); Parameters file The Mork history file to import. getCharsetForURI() Gets the stored character-set for an URI. void getCharsetForURI( in nsIURI aURI ); Parameters aURI URI to retrieve character-set for Returns Returns the character-set, empty string if not found se...