| 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 b4cc9d4aa32d3b41d021f1daac49e53b322e0edb..cb311de3e3273b7e009348193a8be72d0302da90 100644
|
| --- a/chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.h
|
| +++ b/chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.h
|
| @@ -16,6 +16,7 @@
|
| #include "components/omnibox/browser/omnibox_view.h"
|
| #include "components/security_state/security_state_model.h"
|
| #include "third_party/skia/include/core/SkColor.h"
|
| +#include "ui/gfx/font.h"
|
|
|
| class CommandUpdater;
|
| class OmniboxPopupView;
|
| @@ -126,10 +127,11 @@ class OmniboxViewMac : public OmniboxView,
|
|
|
| // Helper to get the font to use in the field, exposed for the
|
| // popup.
|
| - static NSFont* GetNormalFieldFont();
|
| - static NSFont* GetBoldFieldFont();
|
| - static NSFont* GetLargeFont();
|
| - static NSFont* GetSmallFont();
|
| + // The |style| parameter specifies the new style for the font, and is a
|
| + // bitmask of the values ITALIC and UNDERLINE (see ui/gfx/font.h).
|
| + static NSFont* GetFieldFont(int style, gfx::Font::Weight weight);
|
| + static NSFont* GetLargeFont(int style, gfx::Font::Weight weight);
|
| + static NSFont* GetSmallFont(int style, gfx::Font::Weight weight);
|
|
|
| // If |resource_id| has a PDF image which can be used, return it.
|
| // Otherwise return the PNG image from the resource bundle.
|
|
|