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