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

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

Issue 98463012: Infinite Suggest for mac (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments, bit rewrite Created 7 years 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..8ed6d77975477f1ef5d80e9d473bac62786251f4 100644
--- a/chrome/browser/ui/cocoa/omnibox/omnibox_popup_cell.h
+++ b/chrome/browser/ui/cocoa/omnibox/omnibox_popup_cell.h
@@ -11,8 +11,22 @@
// handle hover versus selected. So long as we're in there, it also
// provides some default initialization.
@interface OmniboxPopupCell : NSButtonCell {
+
+ @private
+ CGFloat requiredWidth_;
+ CGFloat contentsWidth_;
+ CGFloat maxRequiredWidth_;
+ CGFloat maxContentsWidth_;
}
+- (void)setRequiredWidth:(CGFloat)requiredWidth;
+
+- (void)setContentsWidth:(CGFloat)contentsWidth;
+
+- (void)setMaxRequiredWidth:(CGFloat)maxRequiredWidth;
+
+- (void)setMaxContentsWidth:(CGFloat)maxContentsWidth;
+
@end
#endif // CHROME_BROWSER_UI_COCOA_OMNIBOX_OMNIBOX_POPUP_CELL_H_

Powered by Google App Engine
This is Rietveld 408576698