DescriptionContext menu is not getting hided in chrome://bookmarks after delete key press.
We are getting context menu by selecting left mouse and by right mouse button
on 'Action icon' in bookmarked item.
'Delete' key is currently not handled by menu.js as their is no selected item in the context menu.
So then we should do preventDefault() and stopPropagation() in menu_button.js similar to context_menu_handler.js file.
So we have same behavior for selecting 'Delete' key when we have context menu on 'Action' button by left/right click of mouse. As as we are stopping propagation of event so no delete will happen, and it will not go in unstable state.
BUG=330587
Committed: https://crrev.com/f3700597c2e357838a8bbf2336fa329038c734e2
Cr-Commit-Position: refs/heads/master@{#325998}
Patch Set 1 #Patch Set 2 : #
Total comments: 2
Patch Set 3 : Changes as per review comments. #
Total comments: 2
Patch Set 4 : Making indentation proper. #Messages
Total messages: 12 (2 generated)
|