Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1621)

Unified Diff: chrome/browser/ui/views/harmony/layout_provider_unittest.cc

Issue 2801583002: Use views::style for buttons, bootstrap ash_typography to do so. (Closed)
Patch Set: placate gn check. new_avatar_button now just avatar_button Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/harmony/layout_provider_unittest.cc
diff --git a/chrome/browser/ui/views/harmony/layout_provider_unittest.cc b/chrome/browser/ui/views/harmony/layout_provider_unittest.cc
index 2e9136af69ea8ba4c7ca8a6ff3b2587f4e230d41..0945b90d2b43123a0dacb07a2228c576956c3c5c 100644
--- a/chrome/browser/ui/views/harmony/layout_provider_unittest.cc
+++ b/chrome/browser/ui/views/harmony/layout_provider_unittest.cc
@@ -279,6 +279,8 @@ TEST(LayoutProviderTest, TypographyLineHeight) {
// buttons have flexibility to configure their own spacing.
EXPECT_EQ(0,
views::style::GetLineHeight(views::style::CONTEXT_BUTTON, kStyle));
+ EXPECT_EQ(
+ 0, views::style::GetLineHeight(views::style::CONTEXT_BUTTON_MD, kStyle));
}
// Ensure that line heights reported in a default bot configuration match the

Powered by Google App Engine
This is Rietveld 408576698