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

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

Issue 1819753003: Allow various font weights in gfx. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Mac fixes Created 4 years, 9 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/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 fdb254f0ec1394aaea307bbad2e75410f7310f19..38eec7410336496d8f5fc4bef3507d83dee90a2c 100644
--- a/chrome/browser/ui/cocoa/omnibox/omnibox_popup_cell.mm
+++ b/chrome/browser/ui/cocoa/omnibox/omnibox_popup_cell.mm
@@ -78,7 +78,8 @@ NSFont* FieldFont() {
return OmniboxViewMac::GetFieldFont(gfx::Font::NORMAL);
}
NSFont* BoldFieldFont() {
- return OmniboxViewMac::GetFieldFont(gfx::Font::BOLD);
+ // TODO(mboc): Get the bold font.
msw 2016/03/25 22:02:14 You'll need to fix this before landing, afaict.
tapted 2016/03/27 23:10:02 Yes - please do this. See my suggestion below.
Mikus 2016/03/29 10:55:38 Done.
+ return OmniboxViewMac::GetFieldFont(gfx::Font::NORMAL);
}
NSFont* LargeFont() {
return OmniboxViewMac::GetLargeFont(gfx::Font::NORMAL);

Powered by Google App Engine
This is Rietveld 408576698