Chromium Code Reviews
DescriptionChange Views menus to consistently use GetNativeTheme for theming.
Prior to this patch, the menus used a mixture of GetNativeTheme() for most
colors (except the border color) and a passed-in NativeTheme for menu
configs (padding, etc.). This consolidates to the former.
crrev.com/563454636cfe3df6a57 broke menus because the passed-in NativeTheme
was of the NativeThemeDark* variety, and MenuConfig depends on whether it
matches various NativeTheme::instance() instances.
BUG=501377, 415953
Committed: https://crrev.com/99eaa0d2b320691b295ac7d5ab27aae4896a9cba
Cr-Commit-Position: refs/heads/master@{#360168}
Patch Set 1 #Patch Set 2 : dont need it #Patch Set 3 : self review #
Total comments: 2
Patch Set 4 : get menu config from item #Messages
Total messages: 18 (7 generated)
|