DevTools: Fix small bug where Console shortcuts were only displayed if Console...
DevTools: Fix small bug where Console shortcuts were only displayed if Console had been previously launched The Console shortcuts were only displayed in the shortcuts panel (in Settings) if the Console had been loaded previously, otherwise the Console shortcuts section would be empty. The reason was that the Console's descriptors weren't registered in the same place as all the other shortcut descriptors. The fix was a small refactor to extract descriptors into ShortcutScreen.js. Also did some cleanup in there to improve consistency. Change-Id: Ifee95da25208c6eace4a5be9775432bfb1880138 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1625926Reviewed-by:Joel Einbinder <einbinder@chromium.org> Commit-Queue: Fabio Rocha <fabio.rocha@microsoft.com> Cr-Commit-Position: refs/heads/master@{#663949}
Showing
This diff is collapsed.
Please register or sign in to comment