Chromium Code Reviews
DescriptionCreate c/b/ui/views/layout_constants.*.
This becomes a global place to get views layout constants which need some kind
of parametrized getter, in these cases because of Material Design. Previously
these were accessible from ThemeService, but that required having an instance of
a ThemeProvider (infeasible in some contexts) and implied these were
theme-related in some way, which isn't true.
BUG=531544
TEST=none
Committed: https://crrev.com/903dceff91f3fb0a3f48343f3366eb715b4698d8
Cr-Commit-Position: refs/heads/master@{#348967}
Patch Set 1 #
Total comments: 19
Patch Set 2 : Review comments #Messages
Total messages: 22 (5 generated)
|