Chromium Code Reviews| Index: chrome/browser/ui/cocoa/omnibox/omnibox_popup_matrix.h |
| diff --git a/chrome/browser/ui/cocoa/omnibox/omnibox_popup_matrix.h b/chrome/browser/ui/cocoa/omnibox/omnibox_popup_matrix.h |
| index 920c8cfc22d60c235ec12d07fca479330126b37e..7666bb0d4c8cc71b6d9f85dfdd43146dcdd66651 100644 |
| --- a/chrome/browser/ui/cocoa/omnibox/omnibox_popup_matrix.h |
| +++ b/chrome/browser/ui/cocoa/omnibox/omnibox_popup_matrix.h |
| @@ -68,14 +68,23 @@ class OmniboxPopupMatrixObserver { |
| CGFloat maxMatchContentsWidth_; |
| CGFloat answerLineHeight_; |
| + |
| + // Left margin padding for the content (i.e. icon and text) in a cell. |
| + CGFloat contentLeftPadding_; |
| + |
| + // true if the OmniboxPopupMatrix should use the dark theme style. |
| + BOOL hasDarkTheme_; |
| } |
| @property(retain, nonatomic) NSAttributedString* separator; |
| @property(nonatomic) CGFloat maxMatchContentsWidth; |
| @property(nonatomic) CGFloat answerLineHeight; |
| +@property(nonatomic) CGFloat contentLeftPadding; |
| +@property(nonatomic) BOOL hasDarkTheme; |
|
tapted
2016/04/28 14:29:44
readonly?
shrike
2016/04/28 21:05:35
Sure.
|
| // Create a zero-size matrix. |
| -- (instancetype)initWithObserver:(OmniboxPopupMatrixObserver*)observer; |
| +- (instancetype)initWithObserver:(OmniboxPopupMatrixObserver*)observer |
| + forDarkTheme:(BOOL)isDarkTheme; |
| // Sets the observer. |
| - (void)setObserver:(OmniboxPopupMatrixObserver*)observer; |