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

Unified Diff: chrome/browser/bookmarks/bookmark_utils.h

Issue 46078: Mac bookmark work. ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/bookmarks/bookmark_context_menu.cc ('k') | chrome/browser/bookmarks/bookmark_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/bookmarks/bookmark_utils.h
===================================================================
--- chrome/browser/bookmarks/bookmark_utils.h (revision 11933)
+++ chrome/browser/bookmarks/bookmark_utils.h (working copy)
@@ -15,6 +15,7 @@
class BookmarkModel;
class BookmarkNode;
class PageNavigator;
+class PrefService;
class Profile;
namespace views {
@@ -141,6 +142,13 @@
// Returns true if |node|'s url or title contains the string |text|.
bool DoesBookmarkContainText(BookmarkNode* node, const std::wstring& text);
+// Toggles whether the bookmark bar is shown only on the new tab page or on
+// all tabs. This is a preference modifier, not a visual modifier.
+void ToggleWhenVisible(Profile* profile);
+
+// Register user prefs for BookmarkBar, BookmarkView, ...
+void RegisterUserPrefs(PrefService* prefs);
+
// Number of bookmarks we'll open before prompting the user to see if they
// really want to open all.
//
« no previous file with comments | « chrome/browser/bookmarks/bookmark_context_menu.cc ('k') | chrome/browser/bookmarks/bookmark_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698