MD Bookmarks: Add right-click context menu to sidebar folders

Desktop / Chromium - tsergeant [chromium.org] - 16 June 2017 01:22 EDT

Right clicking a folder in the sidebar will select that folder and show the menu of edit/open commands for that folder.

BUG=692837 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation

Review-Url: https://codereview.chromium.org/2926233002 Cr-Commit-Position: refs/heads/master@{#479957}

a274e04 MD Bookmarks: Add right-click context menu to sidebar folders
.../resources/md_bookmarks/command_manager.js | 8 +++++---
.../browser/resources/md_bookmarks/folder_node.html | 1 +
.../browser/resources/md_bookmarks/folder_node.js | 19 ++++++++++++++++---
.../data/webui/md_bookmarks/folder_node_test.js | 21 +++++++++++++++++++--
.../data/webui/md_bookmarks/test_command_manager.js | 11 ++++++++++-
5 files changed, 51 insertions(+), 9 deletions(-)

Upstream: git.chromium.org


  • Share