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

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: A tiny fix for the ResourceBundle... 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_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 5640fa94fb4ea70efa761882a8a48e09c1a78a38..805c394ae4423758c386cb99e8ef667f49b4bcff 100644
--- a/chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.h
+++ b/chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.h
@@ -118,11 +118,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