diff options
Diffstat (limited to 'chrome/browser/bookmarks/bookmark_model.h')
-rw-r--r-- | chrome/browser/bookmarks/bookmark_model.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/browser/bookmarks/bookmark_model.h b/chrome/browser/bookmarks/bookmark_model.h index fcea7c7..1ffdcbe 100644 --- a/chrome/browser/bookmarks/bookmark_model.h +++ b/chrome/browser/bookmarks/bookmark_model.h @@ -205,6 +205,12 @@ class BookmarkModel : public NotificationObserver, public BookmarkService { observers_.RemoveObserver(observer); } + // Notify the observes that an import is about to happen, so they can + // delay any expensive UI updates until it is finished. + void BeginImportMode(); + void EndImportMode(); + + // Unstars or deletes the specified entry. Removing a group entry recursively // unstars all nodes. Observers are notified immediately. void Remove(const BookmarkNode* parent, int index); |