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

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

Issue 2904823002: Inactive toast ux changes (Closed)
Patch Set: switch to vector icons. Simplify new button class as a function Created 3 years, 5 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/harmony_typography_provider.cc
diff --git a/chrome/browser/ui/views/harmony/harmony_typography_provider.cc b/chrome/browser/ui/views/harmony/harmony_typography_provider.cc
index 3a58836866acf0f25f10be1f8e20f97bca7e6ce4..0d93dd48247d51aead988a68a39b66b545407bc3 100644
--- a/chrome/browser/ui/views/harmony/harmony_typography_provider.cc
+++ b/chrome/browser/ui/views/harmony/harmony_typography_provider.cc
@@ -96,6 +96,8 @@ const gfx::FontList& HarmonyTypographyProvider::GetFont(int context,
ash::ApplyAshFontStyles(context, style, &size_delta, &font_weight);
#endif
+ ApplyCommonFontStyles(context, style, &size_delta, &font_weight);
+
switch (context) {
case views::style::CONTEXT_BUTTON_MD:
font_weight = WeightNotLighterThanNormal(gfx::Font::Weight::MEDIUM);

Powered by Google App Engine
This is Rietveld 408576698