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

Unified Diff: chrome/browser/ui/views/omnibox/omnibox_result_view.h

Issue 2834073004: Refine the layout of omnibox answer suggestions. (Closed)
Patch Set: Created 3 years, 8 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/views/omnibox/omnibox_result_view.h
diff --git a/chrome/browser/ui/views/omnibox/omnibox_result_view.h b/chrome/browser/ui/views/omnibox/omnibox_result_view.h
index 56c47b3f1a6adf948e2c15fe62063b29be18b57b..514f2cfaf44c3015b638304b0918c9630d7a2276 100644
--- a/chrome/browser/ui/views/omnibox/omnibox_result_view.h
+++ b/chrome/browser/ui/views/omnibox/omnibox_result_view.h
@@ -159,13 +159,13 @@ class OmniboxResultView : public views::View,
bool is_match_contents_rtl) const;
// Returns the font to use for the description line of answer suggestions.
- const gfx::FontList& GetAnswerLineFont() const;
+ const gfx::FontList& GetAnswerFont() const;
// Returns the height of the the description line of answer suggestions.
int GetAnswerLineHeight() const;
- // Returns the height of the content line.
- int GetContentLineHeight() const;
+ // Returns the margin that should appear at the top and bottom of the result.
+ int GetVerticalMargin() const;
// Creates a RenderText with text and styling from the image line.
std::unique_ptr<gfx::RenderText> CreateAnswerLine(

Powered by Google App Engine
This is Rietveld 408576698