1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #include "chrome/browser/bookmarks/base_bookmark_model_observer.h" 6 7 void BaseBookmarkModelObserver::Loaded(BookmarkModel* model) { 8 } 9 10 void BaseBookmarkModelObserver::BookmarkModelBeingDeleted( 11 BookmarkModel* model) { 12 BookmarkModelChanged(); 13 } 14 15 void BaseBookmarkModelObserver::BookmarkNodeMoved( 16 BookmarkModel* model, 17 const BookmarkNode* old_parent, 18 int old_index, 19 const BookmarkNode* new_parent, 20 int new_index) { 21 BookmarkModelChanged(); 22 } 23 24 void BaseBookmarkModelObserver::BookmarkNodeAdded(BookmarkModel* model, 25 const BookmarkNode* parent, 26 int index) { 27 BookmarkModelChanged(); 28 } 29 30 void BaseBookmarkModelObserver::BookmarkNodeRemoved(BookmarkModel* model, 31 const BookmarkNode* parent, 32 int old_index, 33 const BookmarkNode* node) { 34 BookmarkModelChanged(); 35 } 36 37 void BaseBookmarkModelObserver::BookmarkNodeChanged(BookmarkModel* model, 38 const BookmarkNode* node) { 39 BookmarkModelChanged(); 40 } 41 42 void BaseBookmarkModelObserver::BookmarkNodeFaviconLoaded( 43 BookmarkModel* model, 44 const BookmarkNode* node) { 45 } 46 47 void BaseBookmarkModelObserver::BookmarkNodeChildrenReordered( 48 BookmarkModel* model, 49 const BookmarkNode* node) { 50 BookmarkModelChanged(); 51 } 52