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

Unified Diff: chrome/browser/ui/cocoa/omnibox/omnibox_popup_cell.mm

Issue 2800853007: Make the answers text color more consistent. (Closed)
Patch Set: Created 3 years, 8 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/omnibox/omnibox_popup_cell.mm
diff --git a/chrome/browser/ui/cocoa/omnibox/omnibox_popup_cell.mm b/chrome/browser/ui/cocoa/omnibox/omnibox_popup_cell.mm
index 449e4f0075a8d94eb51fde4ff1e3fae1b46de0f8..32dfd1fb13bc18d922529766c993aa7c5f28635b 100644
--- a/chrome/browser/ui/cocoa/omnibox/omnibox_popup_cell.mm
+++ b/chrome/browser/ui/cocoa/omnibox/omnibox_popup_cell.mm
@@ -148,13 +148,13 @@ NSAttributedString* CreateAnswerStringHelper(const base::string16& text,
break;
case SuggestionAnswer::ANSWER_TEXT_MEDIUM:
answer_style = @{
- NSForegroundColorAttributeName : ContentTextColor(is_dark_theme),
+ NSForegroundColorAttributeName : DimTextColor(is_dark_theme),
groby-ooo-7-16 2017/04/07 23:54:15 I wish we could get those from our theme manager..
NSFontAttributeName : FieldFont()
};
break;
case SuggestionAnswer::ANSWER_TEXT_LARGE:
answer_style = @{
- NSForegroundColorAttributeName : ContentTextColor(is_dark_theme),
+ NSForegroundColorAttributeName : DimTextColor(is_dark_theme),
NSFontAttributeName : LargeFont()
};
break;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698