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

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

Issue 1300843003: Change width of rows in material design omnibox dropdown (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: no changes to PaintMatch() Created 5 years, 4 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_popup_contents_view.h
diff --git a/chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.h b/chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.h
index e1d7f322517b2b018492bfb0e4cd996b29b19a4e..57e92804bb019ae22f5f5f3c3da15dd50e11891f 100644
--- a/chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.h
+++ b/chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.h
@@ -72,6 +72,14 @@ class OmniboxPopupContentsView : public views::View,
return max_match_contents_width_;
}
Peter Kasting 2015/08/24 18:20:00 Nit: I'd probably just do all these getters in a b
tdanderson 2015/08/24 22:39:16 Done.
+ int left_margin() const {
+ return left_margin_;
+ }
+
+ int right_margin() const {
+ return right_margin_;
+ }
+
protected:
OmniboxPopupContentsView(const gfx::FontList& font_list,
OmniboxView* omnibox_view,

Powered by Google App Engine
This is Rietveld 408576698