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 3 // found in the LICENSE file. 4 5 #include "components/bookmarks/common/bookmark_pref_names.h" 6 7 namespace bookmarks { 8 namespace prefs { 9 10 // Boolean which specifies the ids of the bookmark nodes that are expanded in 11 // the bookmark editor. 12 const char kBookmarkEditorExpandedNodes[] = "bookmark_editor.expanded_nodes"; 13 14 // Modifying bookmarks is completely disabled when this is set to false. 15 const char kEditBookmarksEnabled[] = "bookmarks.editing_enabled"; 16 17 // A list of bookmarks to include in a Managed Bookmarks root node. Each 18 // list item is a dictionary containing a "name" and an "url" entry, detailing 19 // the bookmark name and target URL respectively. 20 const char kManagedBookmarks[] = "bookmarks.managed_bookmarks"; 21 22 // Boolean which specifies whether the apps shortcut is visible on the bookmark 23 // bar. 24 const char kShowAppsShortcutInBookmarkBar[] = "bookmark_bar.show_apps_shortcut"; 25 26 // Boolean which specifies whether the Managed Bookmarks folder is visible on 27 // the bookmark bar. 28 const char kShowManagedBookmarksInBookmarkBar[] = 29 "bookmark_bar.show_managed_bookmarks"; 30 31 // Boolean which specifies whether the bookmark bar is visible on all tabs. 32 const char kShowBookmarkBar[] = "bookmark_bar.show_on_all_tabs"; 33 34 } // namespace prefs 35 } // namespace bookmarks 36