summaryrefslogtreecommitdiffstats
path: root/chrome/browser/bookmarks/base_bookmark_model_observer.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/bookmarks/base_bookmark_model_observer.h')
-rw-r--r--chrome/browser/bookmarks/base_bookmark_model_observer.h29
1 files changed, 8 insertions, 21 deletions
diff --git a/chrome/browser/bookmarks/base_bookmark_model_observer.h b/chrome/browser/bookmarks/base_bookmark_model_observer.h
index 5a306aa..ff561af 100644
--- a/chrome/browser/bookmarks/base_bookmark_model_observer.h
+++ b/chrome/browser/bookmarks/base_bookmark_model_observer.h
@@ -18,40 +18,27 @@ class BaseBookmarkModelObserver : public BookmarkModelObserver {
virtual void BookmarkModelChanged() = 0;
- virtual void Loaded(BookmarkModel* model) {}
+ virtual void Loaded(BookmarkModel* model);
- virtual void BookmarkModelBeingDeleted(BookmarkModel* model) {
- BookmarkModelChanged();
- }
+ virtual void BookmarkModelBeingDeleted(BookmarkModel* model);
virtual void BookmarkNodeMoved(BookmarkModel* model,
const BookmarkNode* old_parent,
int old_index,
const BookmarkNode* new_parent,
- int new_index) {
- BookmarkModelChanged();
- }
+ int new_index);
virtual void BookmarkNodeAdded(BookmarkModel* model,
const BookmarkNode* parent,
- int index) {
- BookmarkModelChanged();
- }
+ int index);
virtual void BookmarkNodeRemoved(BookmarkModel* model,
const BookmarkNode* parent,
int old_index,
- const BookmarkNode* node) {
- BookmarkModelChanged();
- }
+ const BookmarkNode* node);
virtual void BookmarkNodeChanged(BookmarkModel* model,
- const BookmarkNode* node) {
- BookmarkModelChanged();
- }
+ const BookmarkNode* node);
virtual void BookmarkNodeFavIconLoaded(BookmarkModel* model,
- const BookmarkNode* node) {
- }
+ const BookmarkNode* node);
virtual void BookmarkNodeChildrenReordered(BookmarkModel* model,
- const BookmarkNode* node) {
- BookmarkModelChanged();
- }
+ const BookmarkNode* node);
private:
DISALLOW_COPY_AND_ASSIGN(BaseBookmarkModelObserver);