Descriptionviews: Add optional overlay image to ImageButton
This allows us to build a single set of normal / hot / pushed images, then overlay a back arrow, forward arrow, etc. on top of them, which reduces the number of new assets we need for the toolbar.
Also added unit tests for ImageButton and added ImageButton to the views examples window.
BUG=124708
TEST=views_unittest, manually checked ash_shell "Views example widgets" for image and behavior
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=133546
Patch Set 1 #
Total comments: 3
Patch Set 2 : remove debugging tweak #
Messages
Total messages: 5 (0 generated)
|