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

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: Address Alexei's issues Created 4 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
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 53e5786a49b6a582fcdaf4f909593ccffb221699..e8c5adce0e624190a1ea413dd8af0b361da73198 100644
--- a/chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.h
+++ b/chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.h
@@ -119,11 +119,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.

Powered by Google App Engine
This is Rietveld 408576698