OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef COMPONENTS_BOOKMARKS_CORE_BROWSER_BOOKMARK_MODEL_OBSERVER_H_ | 5 #ifndef COMPONENTS_BOOKMARKS_BROWSER_BOOKMARK_MODEL_OBSERVER_H_ |
6 #define COMPONENTS_BOOKMARKS_CORE_BROWSER_BOOKMARK_MODEL_OBSERVER_H_ | 6 #define COMPONENTS_BOOKMARKS_BROWSER_BOOKMARK_MODEL_OBSERVER_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 | 9 |
10 class BookmarkModel; | 10 class BookmarkModel; |
11 class BookmarkNode; | 11 class BookmarkNode; |
12 class GURL; | 12 class GURL; |
13 | 13 |
14 // Observer for the BookmarkModel. | 14 // Observer for the BookmarkModel. |
15 class BookmarkModelObserver { | 15 class BookmarkModelObserver { |
16 public: | 16 public: |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 virtual void GroupedBookmarkChangesBeginning(BookmarkModel* model) {} | 114 virtual void GroupedBookmarkChangesBeginning(BookmarkModel* model) {} |
115 | 115 |
116 // Invoked after a set of model changes triggered by a single user action has | 116 // Invoked after a set of model changes triggered by a single user action has |
117 // ended. | 117 // ended. |
118 virtual void GroupedBookmarkChangesEnded(BookmarkModel* model) {} | 118 virtual void GroupedBookmarkChangesEnded(BookmarkModel* model) {} |
119 | 119 |
120 protected: | 120 protected: |
121 virtual ~BookmarkModelObserver() {} | 121 virtual ~BookmarkModelObserver() {} |
122 }; | 122 }; |
123 | 123 |
124 #endif // COMPONENTS_BOOKMARKS_CORE_BROWSER_BOOKMARK_MODEL_OBSERVER_H_ | 124 #endif // COMPONENTS_BOOKMARKS_BROWSER_BOOKMARK_MODEL_OBSERVER_H_ |
OLD | NEW |