| 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 ebad2c899e662e6171cf1f19dcd2a094010690b9..0a9db9ee59fe444f64966cf0fd2825683216d227 100644
|
| --- a/chrome/browser/ui/cocoa/omnibox/omnibox_popup_cell.h
|
| +++ b/chrome/browser/ui/cocoa/omnibox/omnibox_popup_cell.h
|
| @@ -12,45 +12,32 @@
|
|
|
| class OmniboxPopupViewMac;
|
|
|
| -@interface OmniboxPopupCellData : NSObject<NSCopying> {
|
| - @private
|
| - // Left hand side of the separator (e.g. a hyphen).
|
| - NSAttributedString* contents_;
|
| - // Right hand side of the separator (e.g. a hyphen).
|
| - NSAttributedString* description_;
|
| -
|
| - // NOTE: While |prefix_| is used only for postfix suggestions, it still needs
|
| - // to be a member of the class. This allows the |NSAttributedString| instance
|
| - // to stay alive between the call to |drawTitle| and the actual paint event
|
| - // which accesses the |NSAttributedString| instance.
|
| - NSAttributedString* prefix_;
|
| -
|
| - // Common icon that shows next to most rows in the list.
|
| - NSImage* image_;
|
| - // Uncommon icon that only shows on answer rows (e.g. weather).
|
| - NSImage* answerImage_;
|
| -
|
| - // The offset at which the infinite suggestion contents should be displayed.
|
| - CGFloat contentsOffset_;
|
| -
|
| - BOOL isContentsRTL_;
|
| -
|
| - // Is this suggestion an answer or calculator result.
|
| - bool isAnswer_;
|
| -
|
| - AutocompleteMatch::Type matchType_;
|
| -
|
| - int max_lines_;
|
| -}
|
| +@interface OmniboxPopupCellData : NSObject<NSCopying>
|
|
|
| +// Left hand side of the separator (e.g. a hyphen).
|
| @property(readonly, retain, nonatomic) NSAttributedString* contents;
|
| +
|
| +// Right hand side of the separator (e.g. a hyphen).
|
| @property(readonly, retain, nonatomic) NSAttributedString* description;
|
| +
|
| +// NOTE: While |prefix_| is used only for postfix suggestions, it still needs
|
| +// to be a member of the class. This allows the |NSAttributedString| instance
|
| +// to stay alive between the call to |drawTitle| and the actual paint event
|
| +// which accesses the |NSAttributedString| instance.
|
| @property(readonly, retain, nonatomic) NSAttributedString* prefix;
|
| +
|
| +// Common icon that shows next to most rows in the list.
|
| @property(readonly, retain, nonatomic) NSImage* image;
|
| @property(retain, nonatomic) NSImage* incognitoImage;
|
| +
|
| +// Uncommon icon that only shows on answer rows (e.g. weather).
|
| @property(readonly, retain, nonatomic) NSImage* answerImage;
|
| +
|
| +// The offset at which the infinite suggestion contents should be displayed.
|
| @property(readonly, nonatomic) CGFloat contentsOffset;
|
| @property(readonly, nonatomic) BOOL isContentsRTL;
|
| +
|
| +// Is this suggestion an answer or calculator result.
|
| @property(readonly, nonatomic) bool isAnswer;
|
| @property(readonly, nonatomic) AutocompleteMatch::Type matchType;
|
| @property(readonly, nonatomic) int max_lines;
|
|
|