Enable error indicators on summary panel
Adds support for showing an error indication marker on the summary panel when a display panel contains a mixture of progress panel items and error panel items. Enables a summary panel that shows an error indicator in the case where there are multiple error panel items hosted by the display panel but there are no progress panel items hosted. Adds unit test to cover these cases and implements a convenience function removeAllPanelItems() to clear out all panel items hosted in a display panel. Bug: 1014771 Tests: browser_tests --gtest_filter=FileManagerJsTest.FilesDisplayPanel Change-Id: I86047d47cb666f069cbe9260504f100d4a63e733 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1888233 Commit-Queue: Alex Danilo <adanilo@chromium.org> Reviewed-by:Luciano Pacheco <lucmult@chromium.org> Cr-Commit-Position: refs/heads/master@{#710676}
Showing
Please register or sign in to comment