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

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

Issue 17774002: OmniboxPopupViewMac refactoring Part 3 (truncation) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 aab0cff2f964dd4a07c0376ff0d28e594e336840..8737819008f184ca312f7aacb043d1483e6d1189 100644
--- a/chrome/browser/ui/cocoa/omnibox/omnibox_popup_cell.h
+++ b/chrome/browser/ui/cocoa/omnibox/omnibox_popup_cell.h
@@ -7,12 +7,17 @@
#import <Cocoa/Cocoa.h>
-// OmniboxPopupCell overrides how backgrounds are displayed to
-// handle hover versus selected. So long as we're in there, it also
-// provides some default initialization.
+#include "base/mac/scoped_nsobject.h"
+
+// Draws a single row in the omnibox popup.
@interface OmniboxPopupCell : NSButtonCell {
+ base::scoped_nsobject<NSAttributedString> contentText_;
+ base::scoped_nsobject<NSAttributedString> descriptionText_;
}
+@property(nonatomic, retain) NSAttributedString* contentText;
+@property(nonatomic, retain) NSAttributedString* descriptionText;
+
@end
#endif // CHROME_BROWSER_UI_COCOA_OMNIBOX_OMNIBOX_POPUP_CELL_H_

Powered by Google App Engine
This is Rietveld 408576698