Roll src/third_party/WebKit 9f7fb92:f103b33 (svn 202621:202622)
[chromium-blink-merge.git] / components / bookmarks / common / bookmark_pref_names.cc
blobfcf3e8bca3b84f00b45af540473b55dd94ea83b6
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.
5 #include "components/bookmarks/common/bookmark_pref_names.h"
7 namespace bookmarks {
8 namespace prefs {
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";
14 // Modifying bookmarks is completely disabled when this is set to false.
15 const char kEditBookmarksEnabled[] = "bookmarks.editing_enabled";
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";
22 // Boolean which specifies whether the apps shortcut is visible on the bookmark
23 // bar.
24 const char kShowAppsShortcutInBookmarkBar[] = "bookmark_bar.show_apps_shortcut";
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";
31 // Boolean which specifies whether the bookmark bar is visible on all tabs.
32 const char kShowBookmarkBar[] = "bookmark_bar.show_on_all_tabs";
34 // A list of bookmarks to include in a Supervised Bookmarks root node. Behaves
35 // like kManagedBookmarks.
36 const char kSupervisedBookmarks[] = "bookmarks.supervised_bookmarks";
38 } // namespace prefs
39 } // namespace bookmarks