Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(463)

Side by Side Diff: components/bookmarks/common/bookmark_pref_names.cc

Issue 490123003: Move bookmark_pref_names.* into bookmarks namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: REBASE Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 bookmarks {
7 namespace prefs { 8 namespace prefs {
8 9
9 // Boolean which specifies the ids of the bookmark nodes that are expanded in 10 // Boolean which specifies the ids of the bookmark nodes that are expanded in
10 // the bookmark editor. 11 // the bookmark editor.
11 const char kBookmarkEditorExpandedNodes[] = "bookmark_editor.expanded_nodes"; 12 const char kBookmarkEditorExpandedNodes[] = "bookmark_editor.expanded_nodes";
12 13
13 // Modifying bookmarks is completely disabled when this is set to false. 14 // Modifying bookmarks is completely disabled when this is set to false.
14 const char kEditBookmarksEnabled[] = "bookmarks.editing_enabled"; 15 const char kEditBookmarksEnabled[] = "bookmarks.editing_enabled";
15 16
16 // A list of bookmarks to include in a Managed Bookmarks root node. Each 17 // 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 // list item is a dictionary containing a "name" and an "url" entry, detailing
18 // the bookmark name and target URL respectively. 19 // the bookmark name and target URL respectively.
19 const char kManagedBookmarks[] = "bookmarks.managed_bookmarks"; 20 const char kManagedBookmarks[] = "bookmarks.managed_bookmarks";
20 21
21 // Boolean which specifies whether the apps shortcut is visible on the bookmark 22 // Boolean which specifies whether the apps shortcut is visible on the bookmark
22 // bar. 23 // bar.
23 const char kShowAppsShortcutInBookmarkBar[] = "bookmark_bar.show_apps_shortcut"; 24 const char kShowAppsShortcutInBookmarkBar[] = "bookmark_bar.show_apps_shortcut";
24 25
25 // Boolean which specifies whether the Managed Bookmarks folder is visible on 26 // Boolean which specifies whether the Managed Bookmarks folder is visible on
26 // the bookmark bar. 27 // the bookmark bar.
27 const char kShowManagedBookmarksInBookmarkBar[] = 28 const char kShowManagedBookmarksInBookmarkBar[] =
28 "bookmark_bar.show_managed_bookmarks"; 29 "bookmark_bar.show_managed_bookmarks";
29 30
30 // Boolean which specifies whether the bookmark bar is visible on all tabs. 31 // Boolean which specifies whether the bookmark bar is visible on all tabs.
31 const char kShowBookmarkBar[] = "bookmark_bar.show_on_all_tabs"; 32 const char kShowBookmarkBar[] = "bookmark_bar.show_on_all_tabs";
32 33
33 } // namespace prefs 34 } // namespace prefs
35 } // namespace bookmarks
OLDNEW
« no previous file with comments | « components/bookmarks/common/bookmark_pref_names.h ('k') | components/policy/core/browser/managed_bookmarks_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698