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

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

Issue 2927193002: Omnibox UI: Create right-margin on Cocoa dropdown (Closed)
Patch Set: merge Created 3 years, 6 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.h
diff --git a/chrome/browser/ui/cocoa/omnibox/omnibox_popup_matrix.h b/chrome/browser/ui/cocoa/omnibox/omnibox_popup_matrix.h
index eeffb43f40e2b29f2ca98face331a3ff6cd20704..9b8bbd45dc6064a22d027afb65dd1f83e12d1e69 100644
--- a/chrome/browser/ui/cocoa/omnibox/omnibox_popup_matrix.h
+++ b/chrome/browser/ui/cocoa/omnibox/omnibox_popup_matrix.h
@@ -72,6 +72,9 @@ class OmniboxPopupMatrixObserver {
// Left margin padding for the content (i.e. icon and text) in a cell.
CGFloat contentLeftPadding_;
+ // Max width for the content in the cell.
+ CGFloat contentMaxWidth_;
+
// true if the OmniboxPopupMatrix should use the dark theme style.
BOOL hasDarkTheme_;
}
@@ -80,6 +83,7 @@ class OmniboxPopupMatrixObserver {
@property(nonatomic) CGFloat maxMatchContentsWidth;
@property(nonatomic) CGFloat answerLineHeight;
@property(nonatomic) CGFloat contentLeftPadding;
+@property(nonatomic) CGFloat contentMaxWidth;
@property(readonly, nonatomic) BOOL hasDarkTheme;
// Create a zero-size matrix.
« no previous file with comments | « chrome/browser/ui/cocoa/omnibox/omnibox_popup_cell.mm ('k') | chrome/browser/ui/cocoa/omnibox/omnibox_popup_matrix.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698