Chromium Code Reviews| 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 9824e1081230ad6371fea41d01417893d23f49e5..ac95476c64e35b69969c2af562b9fc236104e0cd 100644 |
| --- a/chrome/browser/ui/views/omnibox/omnibox_result_view.h |
| +++ b/chrome/browser/ui/views/omnibox/omnibox_result_view.h |
| @@ -172,6 +172,14 @@ class OmniboxResultView : public views::View, |
| int text_type, |
| bool is_bold); |
| + // Returns the |left_margin_| and |right_margin_| members of |
| + // OmniboxPopupContentsView if browser material design is enabled, and |
| + // returns 0 otherwise. Used when laying out elements inside this view |
| + // to ensure they are rendered within the region directly below the |
| + // location bar. |
|
Peter Kasting
2015/08/18 19:55:37
Nit: How about:
Returns the necessary margin, if
tdanderson
2015/08/19 17:22:35
Done.
|
| + int LeftOffset() const; |
| + int RightOffset() const; |
|
Peter Kasting
2015/08/18 19:55:37
I'd use "Margin" instead of "Offset" here, as a ma
tdanderson
2015/08/19 17:22:35
Done.
|
| + |
| static int default_icon_size_; |
| // This row's model and model index. |