summaryrefslogtreecommitdiffstats
path: root/chrome/browser/bookmarks/bookmark_utils.cc
diff options
context:
space:
mode:
authorestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-03 17:23:36 +0000
committerestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-03 17:23:36 +0000
commit1e7bab7fc3f214061e216722e7879c7e1580059a (patch)
tree88f2b82fa0d0c2afd3f85b544b650a73a04c5978 /chrome/browser/bookmarks/bookmark_utils.cc
parent0c9ee9904acbfe0766f488edb207ff232635efd3 (diff)
downloadchromium_src-1e7bab7fc3f214061e216722e7879c7e1580059a.zip
chromium_src-1e7bab7fc3f214061e216722e7879c7e1580059a.tar.gz
chromium_src-1e7bab7fc3f214061e216722e7879c7e1580059a.tar.bz2
Linux bookmark manager first cut.
Also add icons to bookmark tree model. Review URL: http://codereview.chromium.org/118150 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17489 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/bookmarks/bookmark_utils.cc')
-rw-r--r--chrome/browser/bookmarks/bookmark_utils.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/chrome/browser/bookmarks/bookmark_utils.cc b/chrome/browser/bookmarks/bookmark_utils.cc
index c3e6dd3..d951df9 100644
--- a/chrome/browser/bookmarks/bookmark_utils.cc
+++ b/chrome/browser/bookmarks/bookmark_utils.cc
@@ -608,6 +608,13 @@ void ToggleWhenVisible(Profile* profile) {
NotificationService::NoDetails());
}
+// static
+void RegisterPrefs(PrefService* prefs) {
+ prefs->RegisterDictionaryPref(prefs::kBookmarkManagerPlacement);
+ prefs->RegisterIntegerPref(prefs::kBookmarkManagerSplitLocation, -1);
+}
+
+// static
void RegisterUserPrefs(PrefService* prefs) {
// Formerly in BookmarkBarView
prefs->RegisterBooleanPref(prefs::kShowBookmarkBar, false);