Added a pref to hide the Managed Bookmarks.
commit9283c32f9ea882d0888a69c78403154e4ec88ed0
authorjoaodasilva@chromium.org <joaodasilva@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Sat, 14 Jun 2014 23:49:44 +0000 (14 23:49 +0000)
committerjoaodasilva@chromium.org <joaodasilva@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Sat, 14 Jun 2014 23:49:44 +0000 (14 23:49 +0000)
treef0f5138c88482b2e6e00d4030cc29976652087ac
parent36db0c2847193edc90ffde211d86bcb79e05c1a1
Added a pref to hide the Managed Bookmarks.

If the user has managed bookmarks configured via policy then there is a new
option in the bookmark bar context menu that can be used to hide the
managed bookmarks folders, similar to the option to hide the apps shortcut.
However this option is not present if there is no managed bookmarks policy
present.

BUG=49598

Review URL: https://codereview.chromium.org/328793004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277281 0039d316-1c4b-4281-b951-d872f2087c98
12 files changed:
chrome/app/bookmarks_strings.grdp
chrome/app/chrome_command_ids.h
chrome/browser/ui/bookmarks/bookmark_context_menu_controller.cc
chrome/browser/ui/bookmarks/bookmark_context_menu_controller.h
chrome/browser/ui/cocoa/bookmarks/bookmark_bar_bridge.h
chrome/browser/ui/cocoa/bookmarks/bookmark_bar_bridge.mm
chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.h
chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm
chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc
components/bookmarks/browser/bookmark_utils.cc
components/bookmarks/common/bookmark_pref_names.cc
components/bookmarks/common/bookmark_pref_names.h