DescriptionMD Bookmarks: Pull context menu into separate element
This creates a new element, <bookmarks-command-manager>, which is
responsible for showing the context menu, hiding commands which are
unavailable and responding to command clicks. Pulling out the context
menu like this will make it easier to reuse in multiple places, and
make it simpler to add keyboard shortcuts for menu items.
BUG=692827
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation
Review-Url: https://codereview.chromium.org/2834493006
Cr-Commit-Position: refs/heads/master@{#469592}
Committed: https://chromium.googlesource.com/chromium/src/+/77365188782303a17f15571a0f253dcb5cc0e0b9
Patch Set 1 #Patch Set 2 : Simplify #Patch Set 3 : Simplify #Patch Set 4 : Further simplify commands #
Total comments: 16
Patch Set 5 : Review comments #Patch Set 6 : Switch back to using a Command enum #
Total comments: 2
Patch Set 7 : Rebase #Dependent Patchsets: Messages
Total messages: 38 (28 generated)
|