OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "components/bookmarks/common/bookmark_pref_names.h" | 5 #include "components/bookmarks/common/bookmark_pref_names.h" |
6 | 6 |
7 namespace prefs { | 7 namespace prefs { |
8 | 8 |
9 // Boolean which specifies the ids of the bookmark nodes that are expanded in | 9 // Boolean which specifies the ids of the bookmark nodes that are expanded in |
10 // the bookmark editor. | 10 // the bookmark editor. |
11 const char kBookmarkEditorExpandedNodes[] = "bookmark_editor.expanded_nodes"; | 11 const char kBookmarkEditorExpandedNodes[] = "bookmark_editor.expanded_nodes"; |
12 | 12 |
13 // Boolean which specifies whether the bookmark bar is visible on all tabs. | |
14 const char kShowBookmarkBar[] = "bookmark_bar.show_on_all_tabs"; | |
15 | |
16 // Modifying bookmarks is completely disabled when this is set to false. | 13 // Modifying bookmarks is completely disabled when this is set to false. |
17 const char kEditBookmarksEnabled[] = "bookmarks.editing_enabled"; | 14 const char kEditBookmarksEnabled[] = "bookmarks.editing_enabled"; |
18 | 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 |
19 // Boolean which specifies whether the apps shortcut is visible on the bookmark | 21 // Boolean which specifies whether the apps shortcut is visible on the bookmark |
20 // bar. | 22 // bar. |
21 const char kShowAppsShortcutInBookmarkBar[] = "bookmark_bar.show_apps_shortcut"; | 23 const char kShowAppsShortcutInBookmarkBar[] = "bookmark_bar.show_apps_shortcut"; |
22 | 24 |
| 25 // Boolean which specifies whether the bookmark bar is visible on all tabs. |
| 26 const char kShowBookmarkBar[] = "bookmark_bar.show_on_all_tabs"; |
| 27 |
23 } // namespace prefs | 28 } // namespace prefs |
OLD | NEW |