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

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

Issue 2834073004: Refine the layout of omnibox answer suggestions. (Closed)
Patch Set: Respond to comments. 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
« no previous file with comments | « no previous file | chrome/browser/ui/views/omnibox/omnibox_result_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..5fdd30208f83b1dcdac0f44beb08a6b611fdfef9 100644
--- a/chrome/browser/ui/views/omnibox/omnibox_result_view.h
+++ b/chrome/browser/ui/views/omnibox/omnibox_result_view.h
@@ -158,17 +158,17 @@ class OmniboxResultView : public views::View,
bool is_ui_rtl,
bool is_match_contents_rtl) const;
- // Returns the font to use for the description line of answer suggestions.
- const gfx::FontList& GetAnswerLineFont() const;
+ // Returns the font to use for the description section of answer suggestions.
+ const gfx::FontList& GetAnswerFont() const;
- // Returns the height of the the description line of answer suggestions.
- int GetAnswerLineHeight() const;
+ // Returns the height of the the description section of answer suggestions.
+ int GetAnswerHeight() 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(
+ std::unique_ptr<gfx::RenderText> CreateAnswerText(
const SuggestionAnswer::ImageLine& line,
const gfx::FontList& font_list) const;
« no previous file with comments | « no previous file | chrome/browser/ui/views/omnibox/omnibox_result_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698