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

Unified Diff: chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.h

Issue 1819753003: Allow various font weights in gfx. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add a lost comment and modify a render text unittest to not test black because of test env font con… Created 4 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/cocoa/omnibox/omnibox_view_mac.h
diff --git a/chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.h b/chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.h
index 04a9f44710fb84857348a5aec276c0759b9cbfe7..b2fc27a0a59389db1371ab942404a77e53ecfad3 100644
--- a/chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.h
+++ b/chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.h
@@ -125,11 +125,10 @@ class OmniboxViewMac : public OmniboxView,
// Helper to get the font to use in the field, exposed for the
// popup.
- // The style parameter specifies the new style for the font, and is a
- // bitmask of the values: BOLD, ITALIC and UNDERLINE (see ui/gfx/font.h).
- static NSFont* GetFieldFont(int style);
- static NSFont* GetLargeFont(int style);
- static NSFont* GetSmallFont(int style);
+ static NSFont* GetNormalFieldFont();
+ static NSFont* GetBoldFieldFont();
+ static NSFont* GetLargeFont();
+ static NSFont* GetSmallFont();
// If |resource_id| has a PDF image which can be used, return it.
// Otherwise return the PNG image from the resource bundle.
« no previous file with comments | « chrome/browser/ui/cocoa/omnibox/omnibox_popup_matrix.mm ('k') | chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698