MD History: Replace last usage of cr-shared-menu with cr-action-menu.
- Remove logic to close menu when scrolling (no longer possible since
cr-action-menu is a modal <dialog>).
- Replace "toggle" logic with simpler "open" logic (the menu button can't
be clicked when the menu is open.
- Simplify tests that were testing impossible scenarios (open-menu event
can't fire for a different history entry, while the menu is already open).
BUG=
658821
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation
Committed:
https://crrev.com/8630d3b2a1d2039ec3b2734bc5bebc2d91ec1407
Cr-Commit-Position: refs/heads/master@{#440308}