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

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, 4 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 829441bddf6ddc3013309567bb385f94b37d4a54..b51a8cc0e0139ce8d5e0b34f35dbe4b5168ba5c6 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_;
}
+- (void)setContentText:(NSAttributedString*)contentText;
+- (void)setDescriptionText:(NSAttributedString*)descriptionText;
+
@end
#endif // CHROME_BROWSER_UI_COCOA_OMNIBOX_OMNIBOX_POPUP_CELL_H_

Powered by Google App Engine
This is Rietveld 408576698