Index: chrome/browser/ui/cocoa/omnibox/omnibox_popup_view_mac.h |
diff --git a/chrome/browser/ui/cocoa/omnibox/omnibox_popup_view_mac.h b/chrome/browser/ui/cocoa/omnibox/omnibox_popup_view_mac.h |
index ff90850f5820eff55ffa678d249da5e284f78b22..4c26c26fecd49b6f1c8f8d129bf03e6c36969862 100644 |
--- a/chrome/browser/ui/cocoa/omnibox/omnibox_popup_view_mac.h |
+++ b/chrome/browser/ui/cocoa/omnibox/omnibox_popup_view_mac.h |
@@ -50,13 +50,6 @@ class OmniboxPopupViewMac : public OmniboxPopupView, |
OmniboxPopupMatrix* matrix() { return matrix_; } |
- // Return the text to show for the match, based on the match's |
- // contents and description. Result will be in |font|, with the |
- // boldfaced version used for matches. |
- static NSAttributedString* MatchText(const AutocompleteMatch& match, |
- gfx::Font& font, |
- float cell_width); |
- |
// Applies the given font and colors to the match string based on |
// classifications. |
static NSMutableAttributedString* DecorateMatchedString( |
@@ -66,18 +59,6 @@ class OmniboxPopupViewMac : public OmniboxPopupView, |
NSColor* dim_text_color, |
gfx::Font& font); |
- // Helper for MatchText() to elide a marked-up string using |
- // gfx::ElideText() as a model. Modifies |a_string| in place. |
- // TODO(shess): Consider breaking AutocompleteButtonCell out of this |
- // code, and modifying it to have something like -setMatch:, so that |
- // these convolutions to expose internals for testing can be |
- // cleaner. |
- static NSMutableAttributedString* ElideString( |
- NSMutableAttributedString* a_string, |
- const string16& original_string, |
- const gfx::Font& font, |
- const float cell_width); |
- |
protected: |
// Gets the autocomplete results. This is virtual so that it can be overriden |
// by tests. |