Memory: Deselect Nodes when Filtered Out
Memory: Deselect Nodes when Filtered Out

This CL updates the heap snapshot datagrid nodes to release selection
when filtered out by the class filter.

Previously, they would retain selection even when filtered. This
would prevent keyboard users from being able to use the arrow
keys to navigate the datagrid after a filter, as the now hidden
node would prevent the arrow key event for the grid from correctly
selecting a new node.

Now, when the currently selected node is filtered, it deselects,
allowing users to select and navigate new nodes with arrow keys.

Before: https://imgur.com/m3wSaTI

After: https://imgur.com/L4r4XOn

Bug: 1030462
Change-Id: I510e7740e737384a9c2ee36b5a1a41af3908375c
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/1950808
Reviewed-by: Robert Paveza <7787129de3d0cb4911c68d958db3023863584560@microsoft.com>
Commit-Queue: Brandon Goddard <37b103671c22e8d219b41940d66d3220ab618ae9@microsoft.com>

ChromeDevTools/devtools-frontend,ChromeDevTools/devtools-frontend,ChromeDevTools/devtools-frontend,ChromeDevTools/devtools-frontend,ChromeDevTools/devtools-frontend,ChromeDevTools/devtools-frontend