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

Unified Diff: chrome/browser/ui/cocoa/omnibox/omnibox_popup_matrix.mm

Issue 2874923002: Omnibox UI Experiments: Port vertical margin experiment to Cocoa. (Closed)
Patch Set: remove a pixel Created 3 years, 7 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_matrix.mm
diff --git a/chrome/browser/ui/cocoa/omnibox/omnibox_popup_matrix.mm b/chrome/browser/ui/cocoa/omnibox/omnibox_popup_matrix.mm
index dd2166485cf30444ff7f9f21d88af4ae5c79b358..ca66db2cf4d6bc966e97f3621cdcd0225630ed8d 100644
--- a/chrome/browser/ui/cocoa/omnibox/omnibox_popup_matrix.mm
+++ b/chrome/browser/ui/cocoa/omnibox/omnibox_popup_matrix.mm
@@ -106,7 +106,7 @@ const NSInteger kMiddleButtonNumber = 2;
}
- (CGFloat)tableView:(NSTableView*)tableView heightOfRow:(NSInteger)row {
- CGFloat height = kContentLineHeight;
+ CGFloat height = [OmniboxPopupCell getContentTextHeight];
if ([[array_ objectAtIndex:row] isAnswer]) {
OmniboxPopupMatrix* matrix =
base::mac::ObjCCastStrict<OmniboxPopupMatrix>(tableView);

Powered by Google App Engine
This is Rietveld 408576698