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 CHROME_BROWSER_BOOKMARKS_CHROME_BOOKMARK_CLIENT_H_ | 5 #ifndef CHROME_BROWSER_BOOKMARKS_CHROME_BOOKMARK_CLIENT_H_ |
6 #define CHROME_BROWSER_BOOKMARKS_CHROME_BOOKMARK_CLIENT_H_ | 6 #define CHROME_BROWSER_BOOKMARKS_CHROME_BOOKMARK_CLIENT_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 const favicon_base::FaviconImageCallback& callback, | 52 const favicon_base::FaviconImageCallback& callback, |
53 base::CancelableTaskTracker* tracker) OVERRIDE; | 53 base::CancelableTaskTracker* tracker) OVERRIDE; |
54 virtual bool SupportsTypedCountForNodes() OVERRIDE; | 54 virtual bool SupportsTypedCountForNodes() OVERRIDE; |
55 virtual void GetTypedCountForNodes( | 55 virtual void GetTypedCountForNodes( |
56 const NodeSet& nodes, | 56 const NodeSet& nodes, |
57 NodeTypedCountPairs* node_typed_count_pairs) OVERRIDE; | 57 NodeTypedCountPairs* node_typed_count_pairs) OVERRIDE; |
58 virtual bool IsPermanentNodeVisible( | 58 virtual bool IsPermanentNodeVisible( |
59 const BookmarkPermanentNode* node) OVERRIDE; | 59 const BookmarkPermanentNode* node) OVERRIDE; |
60 virtual void RecordAction(const base::UserMetricsAction& action) OVERRIDE; | 60 virtual void RecordAction(const base::UserMetricsAction& action) OVERRIDE; |
61 virtual bookmarks::LoadExtraCallback GetLoadExtraNodesCallback() OVERRIDE; | 61 virtual bookmarks::LoadExtraCallback GetLoadExtraNodesCallback() OVERRIDE; |
| 62 virtual bool CanRemovePermanentNodeChildren( |
| 63 const BookmarkNode* node) OVERRIDE; |
62 virtual bool CanSetPermanentNodeTitle( | 64 virtual bool CanSetPermanentNodeTitle( |
63 const BookmarkNode* permanent_node) OVERRIDE; | 65 const BookmarkNode* permanent_node) OVERRIDE; |
64 virtual bool CanSyncNode(const BookmarkNode* node) OVERRIDE; | 66 virtual bool CanSyncNode(const BookmarkNode* node) OVERRIDE; |
65 virtual bool CanBeEditedByUser(const BookmarkNode* node) OVERRIDE; | 67 virtual bool CanReorderChildren(const BookmarkNode* parent) OVERRIDE; |
66 | 68 |
67 // content::NotificationObserver: | 69 // content::NotificationObserver: |
68 virtual void Observe(int type, | 70 virtual void Observe(int type, |
69 const content::NotificationSource& source, | 71 const content::NotificationSource& source, |
70 const content::NotificationDetails& details) OVERRIDE; | 72 const content::NotificationDetails& details) OVERRIDE; |
71 | 73 |
72 // KeyedService: | 74 // KeyedService: |
73 virtual void Shutdown() OVERRIDE; | 75 virtual void Shutdown() OVERRIDE; |
74 | 76 |
75 private: | 77 private: |
(...skipping 27 matching lines...) Expand all Loading... |
103 | 105 |
104 scoped_ptr<BookmarkModel> model_; | 106 scoped_ptr<BookmarkModel> model_; |
105 | 107 |
106 policy::ManagedBookmarksTracker managed_bookmarks_tracker_; | 108 policy::ManagedBookmarksTracker managed_bookmarks_tracker_; |
107 BookmarkPermanentNode* managed_node_; | 109 BookmarkPermanentNode* managed_node_; |
108 | 110 |
109 DISALLOW_COPY_AND_ASSIGN(ChromeBookmarkClient); | 111 DISALLOW_COPY_AND_ASSIGN(ChromeBookmarkClient); |
110 }; | 112 }; |
111 | 113 |
112 #endif // CHROME_BROWSER_BOOKMARKS_CHROME_BOOKMARK_CLIENT_H_ | 114 #endif // CHROME_BROWSER_BOOKMARKS_CHROME_BOOKMARK_CLIENT_H_ |
OLD | NEW |