Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(281)

Side by Side Diff: chrome/browser/bookmarks/chrome_bookmark_client.h

Issue 302313005: Show the Managed Bookmarks folder in the views UI. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased on model changes Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
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( 62 virtual bool CanRemovePermanentNodeChildren(
63 const BookmarkNode* node) OVERRIDE; 63 const BookmarkNode* node) OVERRIDE;
64 virtual bool CanSetPermanentNodeTitle( 64 virtual bool CanSetPermanentNodeTitle(
65 const BookmarkNode* permanent_node) OVERRIDE; 65 const BookmarkNode* permanent_node) OVERRIDE;
66 virtual bool CanSyncNode(const BookmarkNode* node) OVERRIDE; 66 virtual bool CanSyncNode(const BookmarkNode* node) OVERRIDE;
67 virtual bool CanReorderChildren(const BookmarkNode* parent) OVERRIDE; 67 virtual bool CanReorderChildren(const BookmarkNode* parent) OVERRIDE;
68 virtual bool CanBeEditedByUser(const BookmarkNode* node) OVERRIDE;
68 69
69 // content::NotificationObserver: 70 // content::NotificationObserver:
70 virtual void Observe(int type, 71 virtual void Observe(int type,
71 const content::NotificationSource& source, 72 const content::NotificationSource& source,
72 const content::NotificationDetails& details) OVERRIDE; 73 const content::NotificationDetails& details) OVERRIDE;
73 74
74 // KeyedService: 75 // KeyedService:
75 virtual void Shutdown() OVERRIDE; 76 virtual void Shutdown() OVERRIDE;
76 77
77 private: 78 private:
(...skipping 27 matching lines...) Expand all
105 106
106 scoped_ptr<BookmarkModel> model_; 107 scoped_ptr<BookmarkModel> model_;
107 108
108 policy::ManagedBookmarksTracker managed_bookmarks_tracker_; 109 policy::ManagedBookmarksTracker managed_bookmarks_tracker_;
109 BookmarkPermanentNode* managed_node_; 110 BookmarkPermanentNode* managed_node_;
110 111
111 DISALLOW_COPY_AND_ASSIGN(ChromeBookmarkClient); 112 DISALLOW_COPY_AND_ASSIGN(ChromeBookmarkClient);
112 }; 113 };
113 114
114 #endif // CHROME_BROWSER_BOOKMARKS_CHROME_BOOKMARK_CLIENT_H_ 115 #endif // CHROME_BROWSER_BOOKMARKS_CHROME_BOOKMARK_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698