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

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

Issue 1099403005: [AiS] changing mac omnibox suggestions form NSMatrix to NSTableView (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review changes and rounding error fix Created 5 years, 7 months 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_cell.h
diff --git a/chrome/browser/ui/cocoa/omnibox/omnibox_popup_cell.h b/chrome/browser/ui/cocoa/omnibox/omnibox_popup_cell.h
index c1de5a5cef41bb0d958da13bbfdc53004ceaaf2e..230c114915df63239d18dfa3fba912ab5d3de185 100644
--- a/chrome/browser/ui/cocoa/omnibox/omnibox_popup_cell.h
+++ b/chrome/browser/ui/cocoa/omnibox/omnibox_popup_cell.h
@@ -12,10 +12,16 @@
class OmniboxPopupViewMac;
+@interface AutocompleteMatchWrapper : NSObject {
+ @public
+ AutocompleteMatch match_;
+}
+@end
+
// OmniboxPopupCell overrides how backgrounds are displayed to
// handle hover versus selected. So long as we're in there, it also
// provides some default initialization.
-@interface OmniboxPopupCell : NSButtonCell {
+@interface OmniboxPopupCell : NSCell {
@private
// The popup view parent of this cell.
OmniboxPopupViewMac* parent_;
@@ -40,6 +46,8 @@ class OmniboxPopupViewMac;
CGFloat contentsOffset_;
}
+@property(nonatomic, retain) NSAttributedString* attributedTitle;
+
- (void)setMatch:(const AutocompleteMatch&)match;
- (void)setMaxMatchContentsWidth:(CGFloat)maxMatchContentsWidth;

Powered by Google App Engine
This is Rietveld 408576698