[go: nahoru, domu]

Use views::style for buttons, bootstrap ash_typography to do so.

This makes LabelButton::AdjustFontSize() obsolete.

LabelButton::SetFontSize() is also mostly obsolete. Remove it. Two
remaining cases are button subclasses that are never "default" buttons
so they can just set the font list on the button->label() directly.

BUG=691891, 623987
TEST=LabelButtonTest.TextSizeFromContext (replaces AdjustFontSize)

Review-Url: https://codereview.chromium.org/2801583002
Cr-Commit-Position: refs/heads/master@{#472019}
20 files changed