Index: chrome/browser/autocomplete/autocomplete_popup_view_mac.h |
diff --git a/chrome/browser/autocomplete/autocomplete_popup_view_mac.h b/chrome/browser/autocomplete/autocomplete_popup_view_mac.h |
index eb00d239270c5afd7e7d22cb77b441047c2b5655..c58328b7c15057240cd7a1cc38e7d26f2f716dc5 100644 |
--- a/chrome/browser/autocomplete/autocomplete_popup_view_mac.h |
+++ b/chrome/browser/autocomplete/autocomplete_popup_view_mac.h |
@@ -71,8 +71,10 @@ class AutocompletePopupViewMac : public AutocompletePopupView { |
void AcceptInput(); |
// Return the text to show for the match, based on the match's |
- // contents and description. |
- static NSMutableAttributedString* MatchText(const AutocompleteMatch& match); |
+ // contents and description. Result will be in |font|, with the |
+ // boldfaced version used for matches. |
+ static NSAttributedString* MatchText(const AutocompleteMatch& match, |
+ NSFont* font); |
// Helper for MatchText() to allow sharing code between the contents |
// and description cases. Returns NSMutableAttributedString as a |
@@ -80,7 +82,7 @@ class AutocompletePopupViewMac : public AutocompletePopupView { |
static NSMutableAttributedString* DecorateMatchedString( |
const std::wstring &matchString, |
const AutocompleteMatch::ACMatchClassifications &classifications, |
- NSColor* textColor); |
+ NSColor* textColor, NSFont* font); |
private: |
// Create the popup_ instance if needed. |