DescriptionRefactor AddScrollListItem() in system menu detailed views
Most of system menu detailed views have a scrollable list of items with
very similar layouts. This CL adds a few functions in TrayDetailsView to
create such items.
Among different detailed views, network and VPN are not using these
common functions, yet, as they need to be cleaned up first. That will be
done in follow-up CLs.
BUG=686343
TEST=TrayDetailsViewTest.ScrollContentsTest and
*TrayAccessibilityTest.CheckMarksOnDetailMenu* in ash_unittests
Review-Url: https://codereview.chromium.org/2831023003
Cr-Commit-Position: refs/heads/master@{#467147}
Committed: https://chromium.googlesource.com/chromium/src/+/0b6712fcc4a9d0cd07624db4b3fac5c67edb2bac
Patch Set 1 #Patch Set 2 : Fixed padding and test #Patch Set 3 : Cleanup #Patch Set 4 : Cleanup #
Total comments: 29
Patch Set 5 : Addressed review comments #Patch Set 6 : Rebased #
Total comments: 6
Patch Set 7 : Addressed review comments #Patch Set 8 : Used function overloading #Patch Set 9 : Rebased #
Messages
Total messages: 50 (40 generated)
|