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

Unified Diff: chrome/browser/ui/cocoa/omnibox/omnibox_popup_view_mac.h

Issue 98463012: Infinite Suggest for mac (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments, bit rewrite Created 7 years 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_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 c14872b73fe33326a8b7b293bb7b2ce0430229a0..fb5563873c1ac9022bebae29267edb01022ab9b4 100644
--- a/chrome/browser/ui/cocoa/omnibox/omnibox_popup_view_mac.h
+++ b/chrome/browser/ui/cocoa/omnibox/omnibox_popup_view_mac.h
@@ -57,6 +57,11 @@ class OmniboxPopupViewMac : public OmniboxPopupView,
gfx::Font& font,
float cell_width);
+ static NSMutableAttributedString* CreateAttributedString(
+ const base::string16& match_string,
+ NSColor* text_color,
+ gfx::Font& font);
+
// Applies the given font and colors to the match string based on
// classifications.
static NSMutableAttributedString* DecorateMatchedString(

Powered by Google App Engine
This is Rietveld 408576698