diff options
author | dschuyler <dschuyler@chromium.org> | 2015-05-28 14:41:57 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-05-28 21:42:25 +0000 |
commit | 330027c8db08545748e034bced2a3962d08759a3 (patch) | |
tree | bbcba781ea5d4beb5e5f70d2d8eaa0c61dbf208f /chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.h | |
parent | db4d433ae7ce4cd1a0770798328db86f933bcc03 (diff) | |
download | chromium_src-330027c8db08545748e034bced2a3962d08759a3.zip chromium_src-330027c8db08545748e034bced2a3962d08759a3.tar.gz chromium_src-330027c8db08545748e034bced2a3962d08759a3.tar.bz2 |
[AiS] answer font styling
Answers in Suggest calls for mixed font styling. This CL allows for font size, color, and baseline to be controlled via the downloaded answer test style types.
BUG=449593
Review URL: https://codereview.chromium.org/1125513002
Cr-Commit-Position: refs/heads/master@{#331858}
Diffstat (limited to 'chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.h')
-rw-r--r-- | chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.h b/chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.h index ec0d2c13..385b79ed 100644 --- a/chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.h +++ b/chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.h @@ -102,6 +102,8 @@ class OmniboxViewMac : public OmniboxView, // 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); // If |resource_id| has a PDF image which can be used, return it. // Otherwise return the PNG image from the resource bundle. |