• edchin's avatar
    [ios] Add managed bookmarks to bookmarks UI · 823f71e6
    edchin authored
    This CL allows managed bookmarks to be shown if:
    1) There are managed bookmarks from the ManagedBookmarkService,
    2) The ManagedBookmarks feature flag is enabled. This flag allows
    for a server-side kill switch.
    
    Managed bookmarks are bookmarks that are set by an enterprise policy
    and are available in every device managed by that policy.
    This folder is a sibling of the Bookmarks Bar, Mobile bookmarks,
    and Other bookmarks. The managed bookmarks folder is not editable,
    nor any item within it.
    
    This CL disables swiping to delete and long press gesture for any item
    or folder that is not user-editable (which includes all descendants of
    the managed bookmarks folder). The edit/new folder toolbar is also
    hidden for folders that are not user-editable.
    
    Bug: 1065187
    Change-Id: If63ee2673576dc8a838f05beb8b81fa301f22a16
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2140953
    Commit-Queue: edchin <edchin@chromium.org>
    Reviewed-by: default avatarSergio Collazos <sczs@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#758467}
    823f71e6
BUILD.gn 10.3 KB