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

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

Issue 2070733002: Update omnibox dropdown selection/hover background drawing for MD. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@scaled_radius
Patch Set: Use BackgroundWith1PxBorder to do the drawing Created 4 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/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 137f547ae213d78209e551cb7d4431fa02a41342..2d0b3188164b59196f225463bf19a0f376a131e0 100644
--- a/chrome/browser/ui/views/omnibox/omnibox_result_view.h
+++ b/chrome/browser/ui/views/omnibox/omnibox_result_view.h
@@ -143,10 +143,6 @@ class OmniboxResultView : public views::View,
// the keyword match will hide even the icon of the regular match.
bool ShowOnlyKeywordMatch() const;
- // Resets all RenderTexts for contents and description of the |match_| and its
- // associated keyword match.
- void ResetRenderTexts() const;
-
// Initializes |contents_rendertext_| if it is NULL.
void InitContentsRenderTextIfNecessary() const;
@@ -188,13 +184,6 @@ class OmniboxResultView : public views::View,
int text_type,
bool is_bold) const;
- // Returns the necessary margin, if any, at the start and end of the view.
- // This allows us to keep the icon and text in the view aligned with the
- // location bar contents. For a left-to-right language, StartMargin()
- // and EndMargin() correspond to the left and right margins, respectively.
- int StartMargin() const;
- int EndMargin() const;
-
static int default_icon_size_;
// This row's model and model index.
« no previous file with comments | « chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc ('k') | chrome/browser/ui/views/omnibox/omnibox_result_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698