Descriptionviews: refactor away PlatformStyle::BackgroundColorForMdButton
This change:
1) Introduces color_utils::ImplicitAlphaBlend, which does an alpha
blend using the alpha of the foreground color;
2) Introduces a NativeTheme color ID for the shading of a pressed
button;
3) Uses ImplicitAlphaBlend to blend that shade, instead of calling
into PlatformStyle;
4) Deletes PlatformStyle::BackgroundColorForMdButton
BUG=644543
Committed: https://crrev.com/8275c2644a78419c3c0a4a191314b873a1f694b9
Cr-Commit-Position: refs/heads/master@{#417366}
Patch Set 1 #
Total comments: 6
Patch Set 2 : fix nits #
Total comments: 1
Patch Set 3 : reorder declarations #
Total comments: 1
Patch Set 4 : nits and rename #
Messages
Total messages: 20 (9 generated)
|