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

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

Issue 2910153002: Remove views::Label::SetDisabledColor(). Replace with typography colors. (Closed)
Patch Set: rebase for r476345 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/harmony_typography_provider.h
diff --git a/chrome/browser/ui/views/harmony/harmony_typography_provider.h b/chrome/browser/ui/views/harmony/harmony_typography_provider.h
index 7885f2ceed8e30140ce11ee38abdd4cb693f4caa..d3b4a8e953fcc62d36a8ca70b28738e0db623331 100644
--- a/chrome/browser/ui/views/harmony/harmony_typography_provider.h
+++ b/chrome/browser/ui/views/harmony/harmony_typography_provider.h
@@ -14,8 +14,10 @@ class HarmonyTypographyProvider : public views::TypographyProvider {
HarmonyTypographyProvider() = default;
// TypographyProvider:
- const gfx::FontList& GetFont(int text_context, int text_style) const override;
- SkColor GetColor(int context, int style) const override;
+ const gfx::FontList& GetFont(int context, int style) const override;
+ SkColor GetColor(int context,
+ int style,
+ const ui::NativeTheme& theme) const override;
int GetLineHeight(int context, int style) const override;
private:

Powered by Google App Engine
This is Rietveld 408576698