| 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; | |
| 64 virtual bool CanSetPermanentNodeTitle( | 62 virtual bool CanSetPermanentNodeTitle( |
| 65 const BookmarkNode* permanent_node) OVERRIDE; | 63 const BookmarkNode* permanent_node) OVERRIDE; |
| 66 virtual bool CanSyncNode(const BookmarkNode* node) OVERRIDE; | 64 virtual bool CanSyncNode(const BookmarkNode* node) OVERRIDE; |
| 67 virtual bool CanReorderChildren(const BookmarkNode* parent) OVERRIDE; | 65 virtual bool CanBeEditedByUser(const BookmarkNode* node) OVERRIDE; |
| 68 | 66 |
| 69 // content::NotificationObserver: | 67 // content::NotificationObserver: |
| 70 virtual void Observe(int type, | 68 virtual void Observe(int type, |
| 71 const content::NotificationSource& source, | 69 const content::NotificationSource& source, |
| 72 const content::NotificationDetails& details) OVERRIDE; | 70 const content::NotificationDetails& details) OVERRIDE; |
| 73 | 71 |
| 74 // KeyedService: | 72 // KeyedService: |
| 75 virtual void Shutdown() OVERRIDE; | 73 virtual void Shutdown() OVERRIDE; |
| 76 | 74 |
| 77 private: | 75 private: |
| (...skipping 27 matching lines...) Expand all Loading... |
| 105 | 103 |
| 106 scoped_ptr<BookmarkModel> model_; | 104 scoped_ptr<BookmarkModel> model_; |
| 107 | 105 |
| 108 policy::ManagedBookmarksTracker managed_bookmarks_tracker_; | 106 policy::ManagedBookmarksTracker managed_bookmarks_tracker_; |
| 109 BookmarkPermanentNode* managed_node_; | 107 BookmarkPermanentNode* managed_node_; |
| 110 | 108 |
| 111 DISALLOW_COPY_AND_ASSIGN(ChromeBookmarkClient); | 109 DISALLOW_COPY_AND_ASSIGN(ChromeBookmarkClient); |
| 112 }; | 110 }; |
| 113 | 111 |
| 114 #endif // CHROME_BROWSER_BOOKMARKS_CHROME_BOOKMARK_CLIENT_H_ | 112 #endif // CHROME_BROWSER_BOOKMARKS_CHROME_BOOKMARK_CLIENT_H_ |
| OLD | NEW |